fix: stop API task recovery and revoke exact child authority durably #377

Merged
karsten merged 3 commits from fix/cancel-revokes-task-continuation into main 2026-11-13 01:12:15 +00:00
Owner

Live #372 parallel probe exposed a cancellation bug: API run cancelled but retained Main task active, autonomously resumed and delegated workers after stop. Fix durably revokes exact task/turn/known children before interruption, preserves sibling tasks, fences failed/retried save paths, handles queued occurrence identity and retained followups, reconciles startup crash gaps and exact old cancelled API receipts. Unknown legacy child ancestry is held without guessed cancellation; completed effects/results remain preserved and delivery-fenced. Includes upstream #375 bounded-recovery fix.

Validation before upstream merge: build, full 2064 passed / 1 skipped / 0 failed, ten new cancellation regressions. Independent supplied-diff review APPROVE, including queued retry, legacy completed-result and startup crash concerns addressed. Full CI must run on this exact integrated head before merge. No installed-agent development test gate.

Evidence: development-evidence/api-stop-continuation-revocation-2026-11-12.md. Activation and clean native cancellation/parallelism proofs follow CI.

Live #372 parallel probe exposed a cancellation bug: API run cancelled but retained Main task active, autonomously resumed and delegated workers after stop. Fix durably revokes exact task/turn/known children before interruption, preserves sibling tasks, fences failed/retried save paths, handles queued occurrence identity and retained followups, reconciles startup crash gaps and exact old cancelled API receipts. Unknown legacy child ancestry is held without guessed cancellation; completed effects/results remain preserved and delivery-fenced. Includes upstream #375 bounded-recovery fix. Validation before upstream merge: build, full **2064 passed / 1 skipped / 0 failed**, ten new cancellation regressions. Independent supplied-diff review **APPROVE**, including queued retry, legacy completed-result and startup crash concerns addressed. Full CI must run on this exact integrated head before merge. No installed-agent development test gate. Evidence: development-evidence/api-stop-continuation-revocation-2026-11-12.md. Activation and clean native cancellation/parallelism proofs follow CI.
Merge remote-tracking branch 'origin/main' into fix/cancel-revokes-task-continuation
All checks were successful
decision-interface-ci / full-validation (pull_request) Successful in 2m27s
3a45d98243
# Conflicts:
#	src/cli.ts
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!377
No description provided.