Skip to content

Automatically route post-publication failures into corrective delivery - #112

Merged
bigboateng merged 2 commits into
mainfrom
codex/post-publication-recovery
Jul 22, 2026
Merged

Automatically route post-publication failures into corrective delivery#112
bigboateng merged 2 commits into
mainfrom
codex/post-publication-recovery

Conversation

@bigboateng

Copy link
Copy Markdown
Contributor

Summary

  • add a read-only recovery resolver for active and published deliveries
  • distinguish open, merged, closed, and unverified PR lifecycle from feature completion
  • preserve published parent authority while preparing independently approved corrective children
  • attach branch-aware recovery context to publication denials across supported hosts
  • update generated guidance, public documentation, troubleshooting, and release notes

Root cause

Published PRs were projected as FEATURE_COMPLETE with no next operation, while automatic conversational repair only matched active deliveries. The explicit repair path understood corrective children, but the supervisor could not select it from ordinary CI or review failures. Generic publication denials also omitted the blocking delivery and could lead an agent to ask the user to repeat a denied push manually.

Developer impact

Ordinary reports such as “CI failed” or “review requested a change” now resolve against the current branch and recorded PR. The system drafts a corrective child and pauses at the existing human approval boundary; users no longer need to remember an internal repair command. Open PRs can be updated after fresh gates, while merged or closed work uses a new branch and PR.

Validation

  • go test ./...
  • go vet ./...
  • python3 -m unittest discover -s labs/12-product-engineering-loop/tests -p 'test_*.py'
  • release-note validation and base-aware preflight
  • git diff --check

@bigboateng
bigboateng marked this pull request as ready for review July 22, 2026 16:02
@bigboateng
bigboateng merged commit 0e9c746 into main Jul 22, 2026
4 checks passed
@bigboateng
bigboateng deleted the codex/post-publication-recovery branch July 22, 2026 16:24
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