Handle process signals through cooperative cancellation

This commit is contained in:
2026-11-26 02:23:48 +00:00
parent add2811a64
commit 383b43ab08
7 changed files with 277 additions and 4 deletions

View File

@@ -266,6 +266,12 @@ the selected single failure-finalization boundary preserves genuine causes.
### CAT-010 — Process Signals Do Not Reach Cooperative Cancellation
**Status:** Resolved. The executable routes the first SIGINT/SIGTERM to its
application context and restores ordinary signal handling during cleanup.
Offline subprocess tests observe provider cancellation, joined work, terminal
evidence, no retry/fallback, and subsequent-signal termination with held delivery.
Embedded callers retain their contexts; no cleanup deadline is introduced.
**Assessment:** Static executable integration weakness; original P3.
**Source:** [CONC-001](04-concurrency.md#conc-001--process-signals-bypass-cooperative-cancellation-and-cleanup).
@@ -281,7 +287,7 @@ does not imply SIGKILL handling or a new shutdown deadline guarantee.
**Subsequent decision:** [Discussion Item 3](discussion.md#3-process-signals-and-cooperative-cancellation)
selects cooperative cancellation on the first SIGINT/SIGTERM and ordinary
termination on a subsequent signal, with no application shutdown deadline.
Signal handling stays at the executable boundary; implementation remains pending.
Signal handling stays at the executable boundary.
### CAT-011 — Extreme Accepted Context Radius Can Empty Evidence