Skip to content

Accept blocked external operation receipts - #71

Merged
areshand merged 2 commits into
mainfrom
codex/fix-external-completion-ux
Aug 30, 2026
Merged

Accept blocked external operation receipts#71
areshand merged 2 commits into
mainfrom
codex/fix-external-completion-ux

Conversation

@areshand

@areshand areshand commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • treat terminal blocked ops receipts as consistently classified non-successful operations
  • allow external-only workflows with earlier successful evidence to return a partial caller result instead of retrying indefinitely
  • route the existing clarification completion modes through the typed supervisor authority channel, restricted to the orchestrator UID
  • cover receipt classification and authority routing in lifecycle and unit tests

Production UX evidence

A real request for the latest open PR successfully fetched the PR, then received a terminal blocked/blocked receipt when CI status was unavailable. The completion gate incorrectly rejected that valid receipt as mismatched, so the client never received the partial result. A separate clarification attempt bypassed the supervisor authority channel and was rejected by the lifecycle gate.

Security boundary

Clarification routes retain their existing validation and completion behavior. The change only allows the supervisor to execute them after typed socket authorization; callers remain restricted to the orchestrator UID and gain no repository or ops write authority.

Validation

  • cargo fmt --check
  • cargo test authority::tests
  • cargo build
  • bash tests/lifecycle.sh

@areshand
areshand merged commit 0838626 into main Aug 30, 2026
4 checks passed
@areshand
areshand deleted the codex/fix-external-completion-ux branch August 30, 2026 13:51
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