Skip to content

Fix owner-gate Composer continuation recovery - #71

Merged
IUnknown404I merged 4 commits into
mainfrom
threadcells/owner-gate-composer-alpha2
Aug 26, 2026
Merged

Fix owner-gate Composer continuation recovery#71
IUnknown404I merged 4 commits into
mainfrom
threadcells/owner-gate-composer-alpha2

Conversation

@IUnknown404I

Copy link
Copy Markdown
Owner

Summary

  • atomically promote an already-queued explicit Composer successor when its predecessor exhausts transport retries
  • reconcile the same stranded successor after restart without creating a replacement turn
  • persist truthful resource/runtime queue reasons and keep admission deferrals out of the transport-failure budget
  • retain narrow, provenance-bound disk-only RED recovery for an explicit resident owner-gate continuation
  • expose resource/runtime recovery waits in the API/UI and update all supported public docs

Safety

  • provider capacity and non-disk RED remain fail-closed
  • owner-gate recovery requires same-terminal durable provenance
  • Inbox callbacks and Exited terminals are never reopened by successor reconciliation
  • logical turn, receipt, provider lease, and workflow-effect exactly-once fences are unchanged

Checks

  • 288 focused lifecycle/capacity/API/UI-read-model/terminal tests passed
  • 43 operations tests passed; the host-RED-only wrapper exit-status test was excluded because its subprocess intentionally uses ordinary RED admission
  • 51 Web status tests passed
  • TypeScript tsc --noEmit passed
  • focused mypy passed
  • Black and diff checks passed
  • localization validation passed for 7 locales / 192 translations
  • docs bundle check and public-surface audit passed
  • isolated migration/reconciliation rehearsal against a backup of the affected durable state promoted the exact queued successor without creating a turn; SQLite integrity remained ok

Closes #64

@IUnknown404I
IUnknown404I merged commit 6f8d9bb into main Aug 26, 2026
13 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.

[Bug] Make Workflow Composer delivery truthful across lifecycle boundaries

1 participant