You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sc-gh-stack): resolve Opus guidelines-review findings F1,F3-F12
- F1: gh_stack_shared.run() returns a synthetic rc-127 CompletedProcess when a
binary is missing/unexecutable, so every script still emits its fenced JSON
envelope instead of a traceback; tests pin run() and an empty-PATH preflight
- F3+F6: convert and sync agents promoted to the Standard envelope (canceled,
aborted_by, metadata.duration_ms/tool_calls/retry_count); a risky-conflict
stop is canceled:true aborted_by:policy with CONVERT/SYNC.CONFLICT_RISKY and
recoverable:false; mirrored in both playbooks and SKILL.md report contract
- F4: pushed flag sourcing disambiguated — script SHAs are pre-submit; agents
re-derive pushed after gh stack submit per step 7
- F5: agent sections renamed to '## Output Format' per the Agent Template
- F7: delegation guardrails completed: correlation_id per stack, spec
aggregation object ordered by correlation_id, summary.failed surfaced,
timeout departure recorded as intentional
- F8: install-doc Validation expects both normal warns
- F9: worktree slug examples fixed (no case folding); rule restated in sync
agent inputs
- F10: convert agent error boundary now a catch-all (forward any unlisted
script envelope unchanged) with codes as illustrations
- F11: Step 1 and install-doc PATH probes iterate gh/git/python3 incl. pyenv
shims
- F12: gh_stack_convert.py --dry-run/--validate previews the per-layer plan
mutating nothing (dry_run agent input added; SKILL.md records preflight +
dry-run as the --validate surface and the trivial-conflict rubric as the
bounded --auto-fix); GIT.FETCH now recoverable:false per the package rule
F2 (registry entries for the agents in repo .claude) is REJECTED per user
directive: no installed copies in this repo's .claude — packages/ is the
single source of truth. 58 tests green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments