mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-09 10:18:32 +01:00
Garry, 2026-10-25: use the gstack ship skill before merging PRs. ready printed SHIP_RECEIPT: none as information and returned ok, so the pool was READY'd without /ship. Now ready, train build (dry run included) and verify --train refuse with QUEUE_RECEIPT_MISSING or QUEUE_RECEIPT_STALE from the PR body alone; verify accepts the receipt written for the pinned head when the current head is its stamp commit. gstack-ship-receipt result is /ship's terminal step (GSTACK_RESULT: skill=ship, run dir with the head and receipt), unattended /ship may update an existing PR's body, and INSTALL_UNVERIFIED with no verdict names the project directory to install from (GSTA-85). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
1.6 KiB
1.6 KiB
Step 18-H: Handoff without a PR (automation lanes)
Replaces the pr-body section when the run must not open a PR (--no-pr, an
automation lane, an unattended parent said so). Nothing here publishes.
- Verify-only checks: write Step 16's per-lane pass/fail/skip counts, naming
requires-remotelanes, to.gstack/tmp/ship-gate.jsonas the pr-body section does, then (with its Issue links flags; ask nothing):~/.claude/skills/gstack/bin/gstack-issue-links --base <base> --out .gstack/tmp/issues.json ~/.claude/skills/gstack/bin/gstack-ship-receipt write --base <base> --gate @.gstack/tmp/ship-gate.json --issues @.gstack/tmp/issues.json --out .gstack/tmp/ship-receipt.md - Send the completion message, identifiers first, in this order: the
SHIP_RECEIPT:line and receipt block;branch:andsha:(git rev-parse HEAD), pushed ornot pushed;inputs:the plan or issue, the base SHA and the spend cap;before/after:one row per claimed metric, measured on base and on this SHA with the command used;escalation:the one condition that stops the merge (arequires-remotelane, an open gate finding, an unverified claim) ornone.issues:its lines, unpromoted candidates and lookup failures. Full thread ids (jam_…) cross-thread. - Skip Steps 19 and 21. Run Step 20 with
"version":nullwhen NO_VERSION applied, then Step 22 with--body .gstack/tmp/ship-receipt.md.
Multi-lane runs
Lanes push a WIP commit after each step and gate a pushed SHA.