Skip to content

refactor: declare cancellation receipts for every session owner - #289

Merged
SaladDay merged 1 commit into
mainfrom
refactor/declared-cancellation
Sep 30, 2026
Merged

SaladDay merged 1 commit into
mainfrom
refactor/declared-cancellation

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Dispatch could omit cancellation receipts because it discovered the outcome method through a private optional interface. The Runtime–Harness Session contract now requires the observed outcome snapshot for every cancellation owner, including Turns and executable preparations. Dispatch reads the same captured owner it cancelled; the protocol documents request, observed evidence and confirmed settlement separately.

A fresh independent review found no blocking issues. Focused agent/adapter, dispatch and wire contract tests, cancellation/settlement race tests, full Go build, affected vet and name guard passed. Relevant tests passed again after rebasing onto current main. Native adapter behavior and settlement waits are unchanged; no full gate or live-model qualification was run.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit 8fe0bc0 into main Sep 30, 2026
9 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.

1 participant