Skip to content

fix(supervise): refuse in-doubt replacement dispatch - #1097

Merged
drewstone merged 1 commit into
mainfrom
fix/in-doubt-duplicate-dispatch
Sep 5, 2026
Merged

fix(supervise): refuse in-doubt replacement dispatch#1097
drewstone merged 1 commit into
mainfrom
fix/in-doubt-duplicate-dispatch

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • Refuse a keyed replacement when a durable start has no terminal receipt.
  • Preserve the charged reservation and require recovery of that exact prior execution.
  • Prove a SIGKILL/restart starts zero replacements and returns two explicit in-doubt refusals.

Verification

  • pnpm test — 3,501 passed, 9 skipped
  • pnpm run verify:package — pass
  • pnpm run lint, pnpm run typecheck, pnpm run docs:check — pass
  • Focused restart suite — 157 passed

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent restart-safety review: keyed in-doubt work refuses before factory construction or budget reservation; terminal down work remains retryable; completed work remains replayed. Focused local tests: 7/7. Required CI: 4/4 green. No blocking findings.

@drewstone
drewstone merged commit 46913f0 into main Sep 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants