Summary
The 2026-06-14 codex-skills rollout-friction audit found recurring git/worktree safety prompt friction. The prompts protect user work, which is correct, but the current flow can force repeated retries instead of making the safe path obvious before command execution.
Evidence
Source audit: cbusillo/codex-skills #339, run .local/rollout-friction/2026-06-14-audit-339/.
Relevant clusters from clusters-latest80.json:
blocked_git_safety_prompt (resolved_after_retries): 12 episodes, cost score 999, destination investigate-repo-workflow.
blocked_git_safety_prompt, repeated_command_failure (resolved_after_retries): 3 episodes, cost score 363, destination fix-script-or-helper.
- A high-cost auto-review loop cluster also included
blocked_git_safety_prompt together with repeated GitHub/git command failures.
The outcome mix was mostly resolved_after_retries, which means the guard eventually worked but added avoidable churn.
Desired Direction
Keep the safety model, but make the guarded path more deliberate and less retry-driven.
Possible improvements:
- Preflight git/worktree status before risky commands and provide a concrete next safe action.
- Distinguish protected default/shared branches from already-isolated task worktrees.
- Make the confirmation wording point to branch/worktree creation or the exact blocked risk.
- Avoid repeated prompts for the same safe branch/worktree decision within a single task where the state has not changed.
- Surface a structured event/tag so rollout-friction can tell branch-protection safety from stale checkout, dirty worktree, detached worktree, or command misuse.
Acceptance Criteria
Relationships
Related to cbusillo/codex-skills #339 rollout-friction audit.
Related to #416 for stale auto-review scope/baseline behavior; this issue is specifically about git/worktree guard-loop ergonomics.
Summary
The 2026-06-14 codex-skills rollout-friction audit found recurring git/worktree safety prompt friction. The prompts protect user work, which is correct, but the current flow can force repeated retries instead of making the safe path obvious before command execution.
Evidence
Source audit:
cbusillo/codex-skills#339, run.local/rollout-friction/2026-06-14-audit-339/.Relevant clusters from
clusters-latest80.json:blocked_git_safety_prompt (resolved_after_retries): 12 episodes, cost score 999, destinationinvestigate-repo-workflow.blocked_git_safety_prompt, repeated_command_failure (resolved_after_retries): 3 episodes, cost score 363, destinationfix-script-or-helper.blocked_git_safety_prompttogether with repeated GitHub/git command failures.The outcome mix was mostly
resolved_after_retries, which means the guard eventually worked but added avoidable churn.Desired Direction
Keep the safety model, but make the guarded path more deliberate and less retry-driven.
Possible improvements:
Acceptance Criteria
Relationships
Related to
cbusillo/codex-skills#339 rollout-friction audit.Related to #416 for stale auto-review scope/baseline behavior; this issue is specifically about git/worktree guard-loop ergonomics.