Conversation
This change finishes the remaining workflow-regression cleanup around doctor sandbox repair sync, agent role naming, and codex-agent auto-finish gating. Doctor no longer treats its own .omx/agent-worktrees sandbox path as unrelated protected-branch drift, finish runs now allocate unique integration refs, and the focused install regressions were updated to the current protected-main and local-remote behavior. The OpenSpec change docs were also backfilled so the branch is reviewable instead of carrying placeholder scaffolding. Constraint: Doctor and auto-finish can invoke multiple finish flows inside the same repo within one timestamp window Rejected: Keep the stale install expectations and only patch runtime output | that would leave real doctor sync and integration-ref collisions hidden Confidence: high Scope-risk: moderate Directive: Treat doctor sandbox worktrees as internal workflow state during protected-base repair sync, and keep temporary integration refs unique across consecutive finish runs Tested: node --test test/install.test.js; bash scripts/test-agent-naming.sh; openspec validate fix-regression-finish-flows --type change --strict; openspec validate --specs Not-tested: Live GitHub merge behavior outside the scripted harness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated by scripts/agent-branch-finish.sh (PR flow).