Skip to content

v1.91.73.0 feat(ship): repo ship policy, gstack-restamp stamp-at-merge, tree receipt, evidence bundle, ship receipt (multi-agent wave C-stamp) - #3118

Merged
capy-ai[bot] merged 7 commits into
mainfrom
capy/v191730-feat-c-stamp
Oct 11, 2026
Merged

capy-ai[bot] merged 7 commits into
mainfrom
capy/v191730-feat-c-stamp

Conversation

@garrytan

Copy link
Copy Markdown
Owner

Multi-agent wave C-stamp (plan: docs/designs/MULTI_AGENT_WAVE_2026_10_10.md, items C1, C2, C3, C5, C7). Built on main after B-core (#3115) and PR A (#3116); independent of B-runner (#3117) apart from appended blocks in lib/result-codes.ts, docs/troubleshooting.md and the ratchet fixture, which merge cleanly either way. C-pregate (C4, C6, C8) stacks on this.

What a coordinator gets

  • C1 .gstack/ship-policy.json (lib/ship-policy.ts, schema v1: bump, queue_mode, release_tool + release_outputs, stamp_paths, changelog, mirror, history, preregistration_shas, stamp_sensitive_gates, pr_count, maintainers) read from origin/<base>, never the working tree silently (POLICY_SOURCE_UNAVAILABLE on shallow checkouts); bin/gstack-ship-policy init|validate|show-effective|check-history; branch-only policy labeled head (unreviewed); repo commands only under --allow-repo-commands or /ship; refusals before any write say nothing written; containment checks on every repo-controlled input. show-effective prints ship: consequence lines so the skill prose points at them instead of carrying them. gstack's own policy committed (bump ask, claim-at-open, release_tool: bun scripts/gen-agents-digest.ts). docs/ship-policy.md, .gstack/ship-policy.example.json.
  • C2 bin/gstack-restamp (lib/restamp.ts, lib/changelog-check.ts): --version | --next | --after <pr>; under stamp-at-merge --next is the base's configured version source (lib/version-source.ts) + policy bump with claims: ignored; --expect-base/--expect-order → structured QUEUE_STALE + recompute command; --after gate-ahead in a throwaway worktree with .gstack/tmp/gate-ahead.json carrying predecessor head and evidence branch key, PR history untouched; release-tool contract (staging worktree, enumerated allowed outputs → RESTAMP_OUTPUT_OUTSIDE_ALLOWED, pre/postimages, RESTAMP_CONFLICT on a later user edit); journal at .gstack/tmp/restamp-journal.json with resume/rollback and injected failures after every stage; --dry-run, --json, --queue-mode defaulted from policy; MERGE_CONDITION: sha= and a next: line for /ship. Stamp rewriting is line-provenance based so a dependency pin equal to the old version is never touched.
  • C3 bin/gstack-tree-receipt (lib/tree-receipt.ts): committed heads only; hunk-level classification with per-file-type rules (version file, manifest version, lockfile root version keys only, CHANGELOG heading move, exact (was X)/since: X/vX); stamp-sensitive lanes always rerun; TREE: and gate-reuse: verdicts with fix clauses; PREDECESSOR MOVED … (RESTAMP_PREDECESSOR_MOVED). gstack-evidence bundle (lib/evidence-bundle.ts): comparison material, required-lane manifest, executed selections, run URLs, outcomes, hashes, execution identity (runtime, normalized lockfile hashes, CI workflow tree, runtime pins, runner image), verified vs imported lanes, refuses reuse on unknown identity, readable from a fresh clone with an empty state root. gstack-evidence ancestor for preregistration SHAs.
  • C5 bin/gstack-ship-receipt write|read --pr|census (lib/ship-receipt.ts): fenced schema-versioned receipt first in the PR body, validated by gstack-artifact validate --as ship-receipt; census dedups by run/thread against a cohort file → adoption=n/m.
  • C7 check-history --plan merge|squash|rebase refuses rewrite plans under history: merge-only; the receipt records preregistration and history.
  • /ship Step 3 (policy + history lines), Step 12 (stamp-at-merge replaces the manual items; bump patch never asks), Step 16 stage 4 (receipt decides reuse per lane; --force-gate <reason> is the coordinator's), pr-body opens with the receipt. Ship union bytes +462 (1,937 headroom), skeleton +1 (4 under cap); four ship goldens regenerated.

Validation

typecheck, typecheck:test (no new), gen:skill-docs --host all idempotent, parity, module-size/state-root/spawnsync/troubleshooting-anchors/headless-artifacts/egress-wiring/free-fixtures/prune-stale ratchets, ship-*, host-config goldens, skill-e2e-ship-section-loading, evidence and doctor suites: green (1,166 + 836 in the two final batches). New: gstack-ship-policy 12, gstack-restamp-queue 19 (three PRs reordered twice with zero manual edits, injected failure after every stage, concurrent-edit conflict, squash-history gate-ahead, QUEUE_STALE, release tool outside its allowed set, metadata-only lockfile, version-source shapes), restamp-command-boundary 9, tree-receipt-stamp-sensitive 10 (dependency-pin negative fixture), evidence-bundle-portability 7, gstack-ship-receipt 5. test:quick leftovers (Chromium, PTY, CSO core, one Bun 1.3.14 probe) reproduce on the unmodified merge base.

Deferred / plan corrections

mirror is parsed and validated but its stage prints skipped (no mirror in policy) (tier 2). Plan C3's gstack-wtree fingerprints are redundant with committed-heads-only comparison (receipt reports tree ids). Plan C1's gstack-version-bump classify → bumpPolicy would grow a frozen bin; the bump reaches Step 12 via the ship: bump … line. The stamp_paths exact-pattern rule needed line provenance to survive reorders (documented in docs/ship-policy.md).

Version 1.91.73.0 (PATCH; bumped past #3117's 1.91.72.0).

Open in Capy

garrytan and others added 4 commits October 10, 2026 22:59
…nd, findings-derived review log, gate list

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…tended-artifact

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	lib/review-evidence.ts
#	test/fixtures/module-size-ratchet.json
#	test/helpers/carve-guards.ts
…e, tree receipt, evidence bundle, ship receipt

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 3 commits October 11, 2026 00:23
…es, C-stamp tests leave the Windows subset

- scripts/pr-dependencies.ts: lib/result-codes.ts joins SELECTION_DATA_MODULES; its fix: prose names commands a person reruns, not files the module consumes (test/pr-dependencies.test.ts traced review cases through it to bin/gstack-next-version)
- ship/sections/pr-body.md.tmpl: gstack-ship-receipt write reads --gate/--ci from agent-written .gstack/tmp/ship-*.json files and --spend-usd from the allowlisted <spend-usd> placeholder (generated-bash lint: no free text in commands)
- scripts/lib/windows-curation.ts: the five C-stamp test files spawn bin/ shebang scripts through test/helpers/restamp-fixture.ts, which the source scan misses

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…tamp

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
#	VERSION
#	agents-digest/gstack-AGENTS.md
#	bin/gstack-doctor-components.sh
#	docs/troubleshooting.md
#	lib/result-codes.ts
#	package.json
#	test/fixtures/module-size-ratchet.json
The workflow judge (eval-slices 3, median 3/4) found pr-body's gstack-ship-receipt command demanding a tree receipt, CI counts and a spend figure no earlier step produces, with RECEIPT_INVALID halting publication. The command now takes only Step 16 stage 4's lane counts (file-written JSON); --receipt is added only when Step 16 wrote .gstack/tmp/tree-receipt.json; RECEIPT_INVALID says to fix the named input file and rerun. The unused <spend-usd> allowlist entry is removed.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 108/108 · behavior 0/0 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 8m26s · cost $91.76 known + 54 of 132 trial(s) cost unknown

106 executed, 15 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $91.76 rule/judge cost | reconcile exit: 0

Profile: pr / mode full-fallback; selected behaviors: 108, judges: 24. Deferred to scheduled/release coverage: 136 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Full gate restored by:

  • .gstack/ship-policy.example.json (real unknown dependency): register .gstack/ship-policy.example.json under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers
  • .gstack/ship-policy.json (real unknown dependency): register .gstack/ship-policy.json under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers

Derived dependents (scripts/pr-dependencies.ts):

  • bin/gstack-doctor-components.sh: 19 case(s), 0 judge(s)
  • bin/gstack-restamp: 49 case(s), 2 judge(s)
  • bin/gstack-ship-policy: 49 case(s), 2 judge(s)
  • bin/gstack-ship-receipt: 30 case(s), 1 judge(s)
  • bin/gstack-tree-receipt: 49 case(s), 2 judge(s)
  • lib/changelog-check.ts: 49 case(s), 2 judge(s)
  • lib/evidence-bundle.ts: 79 case(s), 4 judge(s)
  • lib/headless-artifacts.ts: 171 case(s), 11 judge(s)
  • lib/restamp.ts: 49 case(s), 2 judge(s)
  • lib/result-codes.ts: 227 case(s), 24 judge(s)
  • lib/ship-policy.ts: 49 case(s), 2 judge(s)
  • lib/ship-receipt.ts: 30 case(s), 1 judge(s)
  • lib/tree-receipt.ts: 49 case(s), 2 judge(s)
Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
e2e/skill-e2e-workflow 4/4 0 4 0 ✅ $2.98
e2e-deploy/skill-e2e-deploy--land-and-deploy-workflow 1/1 0 1 0 ✅ $1.66
e2e-safety-codex-consult/skill-e2e-safety-codex-consult 1/1 0 1 0 ✅ $0.81
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $1.31
e2e-review-attribution/skill-e2e-review-attribution 3/3 0 3 0 ✅ $0.96
e2e/skill-e2e-shared-libs--shared-libs-review-lifecycle 1/1 0 1 0 ✅ $2.88
e2e-qa-workflow/skill-e2e-qa-workflow--qa-quick 1/1 0 1 0 ✅ $1.79
e2e/skill-e2e-shared-libs-paths--shared-libs-review-prior-coverage 1/1 0 1 0 ✅ $2.34
e2e/skill-e2e-ship-skip 1/1 0 1 0 ✅ $0.62
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $1.93
e2e/skill-e2e-test-value 3/3 0 3 0 ✅ $2.64
e2e-qa-workflow/skill-e2e-qa-workflow--qa-only-no-fix 1/1 0 1 0 ✅ $1.72
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $1.65
e2e/skill-e2e-shared-libs--shared-libs-review-revalidation 1/1 0 1 0 ✅ $4.83
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.94
e2e-review/skill-e2e-review 2/2 0 2 0 ✅ $1.15
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $1.99
e2e-skillify/skill-e2e-skillify 3/3 0 3 0 ✅ $2.7
e2e/skill-e2e-shared-libs-paths--shared-libs-review-path-eligibility 1/1 0 1 0 ✅ $3.96
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $2.99
llm-judge/skill-llm-eval 24/24 0 9 15 ✅ $0.54
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.86
e2e-deploy/skill-e2e-deploy--setup-deploy-workflow 1/1 0 1 0 ✅ $0.35
e2e-review-army/skill-e2e-review-army--review-army-perf-n-plus-one 1/1 0 1 0 ✅ $0.98
e2e/skill-e2e-shared-libs-paths--shared-libs-review-index-flags 1/1 0 1 0 ✅ $2.46
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.2
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.87
e2e-review-army/skill-e2e-review-army--review-army-json-findings 1/1 0 1 0 ✅ $0.25
e2e-deploy/skill-e2e-deploy--benchmark-workflow 1/1 0 1 0 ✅ $0.59
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $1.82
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.37
e2e-deploy/skill-e2e-deploy--land-and-deploy-review-gate 1/1 0 1 0 ✅ $1.14
e2e-review-army/skill-e2e-review-army--review-army-migration-safety 1/1 0 1 0 ✅ $1.37
e2e/skill-e2e-shared-libs--shared-libs-read-only 1/1 0 1 0 ✅ $0.71
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $1.17
e2e-deploy/skill-e2e-deploy--land-and-deploy-first-run 1/1 0 1 0 ✅ $1.03
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $1.28
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $2.68
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.21
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $1.89
e2e-retro/skill-e2e-retro 1/1 0 1 0 ✅ $1.16
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $2.42
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $2.27
e2e-cso/skill-e2e-cso 1/1 0 1 0 ✅ $1.7
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $3.74
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $3.65
e2e-design/skill-e2e-design--design-review-detector-shim-dom 1/1 0 1 0 ✅ $0.65
e2e/skill-e2e-shared-libs--shared-libs-unsupported-git 1/1 0 1 0 ✅ $0.62
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $1.32
e2e-review-army/skill-e2e-review-army--review-army-quality-score 1/1 0 1 0 ✅ $0.35
e2e-safety-ship-evidence/skill-e2e-safety-ship-evidence 1/1 0 1 0 ✅ $0.68
e2e-hermetic/skill-e2e-hermetic-canary 2/2 0 2 0 ✅ $0.02
e2e-design/skill-e2e-design--design-review-plugin-handoff 1/1 0 1 0 ✅ $0.52
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.55
e2e-browse/skill-e2e-bws 6/6 0 6 0 ✅ $0.85
e2e-third-party-actions/skill-e2e-third-party-actions 5/5 0 5 0 ✅ $1.22
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.5
e2e-session-intelligence/skill-e2e-session-intelligence 4/4 0 4 0 ✅ $0.79
e2e-safety-pair-agent/skill-e2e-safety-pair-agent 1/1 0 1 0 ✅ $0.33
e2e-design/skill-e2e-design--design-review-detector-shim 1/1 0 1 0 ✅ $0.38
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.25
e2e-triage/skill-e2e-triage 1/1 0 1 0 ✅ $0.4
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.7
e2e-review-army/skill-e2e-review-army--review-army-delivery-audit 1/1 0 1 0 ✅ $0.35
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.53
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.27
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.53
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.45
e2e-deploy/skill-e2e-deploy--canary-workflow 1/1 0 1 0 ✅ $0.36
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.58
Fail-closed reconciliation
s  test/skill-e2e-qa-callers.test.ts#ship-exploratory-small-cli
  slice 12  passed            162s  test/skill-e2e-shared-libs-paths.test.ts#shared-libs-review-index-flags
  slice 12  passed            119s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-late-result
  slice 12  passed             75s  test/skill-e2e-deploy.test.ts#benchmark-workflow
  slice 12  passed            101s  test/skill-e2e-review-army.test.ts#review-army-perf-n-plus-one
  slice 12  passed            172s  test/skill-e2e-plan-ceo-plan-mode.test.ts
  slice 12  passed             40s  test/skill-e2e-investigate-owned-completion.test.ts
  slice 12  passed             30s  test/skill-e2e-review-army.test.ts#review-army-json-findings
  slice 13  passed            118s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-missing-asset
  slice 13  passed             82s  test/skill-e2e-plan-devex-plan-mode.test.ts
  slice 13  passed            122s  test/skill-e2e-safety-ship-evidence.test.ts
  slice 13  passed             93s  test/skill-e2e-design.test.ts#design-review-detector-shim-dom
  slice 13  passed            101s  test/skill-e2e-shared-libs.test.ts#shared-libs-unsupported-git
  slice 13  passed             63s  test/skill-e2e-office-hours-auto-mode.test.ts
  slice 13  passed             79s  test/skill-e2e-design.test.ts#design-review-plugin-handoff
  slice 13  passed             63s  test/skill-e2e-bws.test.ts
  slice 13  passed             69s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-missing-marker
  slice 13  passed             43s  test/skill-e2e-review-army.test.ts#review-army-quality-score
  slice 13  passed              5s  test/skill-e2e-hermetic-canary.test.ts
  slice 14  passed             82s  test/skill-e2e-third-party-actions.test.ts
  slice 14  passed             58s  test/skill-e2e-plan-tune.test.ts
  slice 14  passed             47s  test/skill-e2e-triage.test.ts
  slice 14  passed             70s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-timeout-unsettled
  slice 14  passed             55s  test/skill-e2e-ask-user-question-format-compliance.test.ts
  slice 14  passed             51s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-launch-failure
  slice 14  passed             49s  test/skill-e2e-session-intelligence.test.ts
  slice 14  passed             45s  test/skill-e2e-ship-hook-consent.test.ts
  slice 14  passed             35s  test/skill-e2e-investigate-owned-termination.test.ts
  slice 14  passed             46s  test/skill-e2e-design.test.ts#design-review-detector-shim
  slice 14  passed             39s  test/skill-e2e-deploy.test.ts#canary-workflow
  slice 14  passed             37s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 14  passed             49s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 14  passed             35s  test/skill-e2e-review-army.test.ts#review-army-delivery-audit
  slice 14  passed             41s  test/skill-e2e-safety-pair-agent.test.ts
  slice 14  passed             43s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 15  passed             31s  test/skill-e2e-learnings.test.ts
  slice 15  passed             29s  test/skill-e2e-diagram.test.ts
[test:paid] collector final outcomes: 106 executed, 15 reused; 121 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (121 attempt records from 70 collectors; every record counts)
[test:paid] deselected testcases, zero credit (307):
[test:paid]    293  sibling case of a case shard (its own shard runs it)
[test:paid]      8  periodic-tier case (this lane runs gate)
[test:paid]      6  Bun hook placeholder of a skipped describe block (not a test)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 108/108 · behavior 0/0 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 8m26s · cost $91.76 known + 54 of 132 trial(s) cost unknown
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

@capy-ai
capy-ai Bot merged commit 7552362 into main Oct 11, 2026
67 checks passed
@capy-ai
capy-ai Bot deleted the capy/v191730-feat-c-stamp branch October 11, 2026 01:01
levi85 pushed a commit to levi85/gstack that referenced this pull request Oct 14, 2026
…rge, tree receipt, evidence bundle, ship receipt (multi-agent wave C-stamp) (garrytan#3118)

* v1.91.70.0 feat(unattended): artifact contract, unattended session kind, findings-derived review log, gate list

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* v1.91.73.0 feat(ship): repo ship policy, gstack-restamp stamp-at-merge, tree receipt, evidence bundle, ship receipt

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(ci): result-codes is selection data, receipt counts come from files, C-stamp tests leave the Windows subset

- scripts/pr-dependencies.ts: lib/result-codes.ts joins SELECTION_DATA_MODULES; its fix: prose names commands a person reruns, not files the module consumes (test/pr-dependencies.test.ts traced review cases through it to bin/gstack-next-version)
- ship/sections/pr-body.md.tmpl: gstack-ship-receipt write reads --gate/--ci from agent-written .gstack/tmp/ship-*.json files and --spend-usd from the allowlisted <spend-usd> placeholder (generated-bash lint: no free text in commands)
- scripts/lib/windows-curation.ts: the five C-stamp test files spawn bin/ shebang scripts through test/helpers/restamp-fixture.ts, which the source scan misses

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(ship): the receipt step names where each input comes from

The workflow judge (eval-slices 3, median 3/4) found pr-body's gstack-ship-receipt command demanding a tree receipt, CI counts and a spend figure no earlier step produces, with RECEIPT_INVALID halting publication. The command now takes only Step 16 stage 4's lane counts (file-written JSON); --receipt is added only when Step 16 wrote .gstack/tmp/tree-receipt.json; RECEIPT_INVALID says to fix the named input file and rerun. The unused <spend-usd> allowlist entry is removed.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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