Skip to content

Keep doctor repairs safe on protected main even before setup bootstrap#48

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/20260412-021408-webubusiness-gmail-com-doctor-protected-main-pr-flow
Apr 12, 2026
Merged

Keep doctor repairs safe on protected main even before setup bootstrap#48
NagyVikt merged 1 commit intomainfrom
agent/codex/20260412-021408-webubusiness-gmail-com-doctor-protected-main-pr-flow

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by scripts/agent-branch-finish.sh (PR flow).

@NagyVikt NagyVikt force-pushed the agent/codex/20260412-021408-webubusiness-gmail-com-doctor-protected-main-pr-flow branch 2 times, most recently from 832674a to cae6f26 Compare April 12, 2026 00:48
Doctor now guarantees sandbox execution on protected branches, including pre-setup repositories, then auto-commits sandbox repairs and attempts PR finish when origin+gh are available. This preserves protected-main safety while reducing manual recovery steps after doctor fixes.

Constraint: Protected base branches must remain read-only during repair workflows

Rejected: Fail when agent-branch-start tooling is missing | blocks recovery in exactly the drift cases doctor should heal

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Keep doctor sandbox fallback/start logic and install template expectations aligned

Tested: npm test
@NagyVikt NagyVikt force-pushed the agent/codex/20260412-021408-webubusiness-gmail-com-doctor-protected-main-pr-flow branch from cae6f26 to ffa9325 Compare April 12, 2026 00:50
@NagyVikt NagyVikt merged commit bdc78a3 into main Apr 12, 2026
7 checks passed
@NagyVikt NagyVikt deleted the agent/codex/20260412-021408-webubusiness-gmail-com-doctor-protected-main-pr-flow branch April 12, 2026 00: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