ship: fix fence placeholders and register claude-usage fixture (GSTA-152 PR A)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-29 06:21:43 +00:00
1 parent f557ba36dc
commit 9b718196b9
4 files changed
+13 -6

No files matched your search

+4 -3
View File
@@ -17,11 +17,12 @@ Field-by-field reference: docs/ship-budget.md. Exit 0 continue or delegate, 3 st
- Elsewhere: `--meter estimate` (printed `meter=estimate`), only when the owner accepts it.
**Every boundary.** `gstack-ship-budget check --run <id> --step <done> --next <step> --reading <n>`.
Before each dispatch batch, reserve the batch as one sum, then pass the printed id once:
Before each dispatch batch, reserve the batch as one sum, then pass the printed id once
(`READING` is the current counter reading; `RESERVATION_ID` is the id the check prints):
```bash
~/.claude/skills/gstack/bin/gstack-ship-budget check --run <id> --step 9 --next dispatch:specialist,red-team --reading <n>
~/.claude/skills/gstack/bin/gstack-review-log --start review --reservation <RESERVATION id>
~/.claude/skills/gstack/bin/gstack-ship-budget check --run <id> --step 9 --next dispatch:specialist,red-team --reading "$READING"
~/.claude/skills/gstack/bin/gstack-review-log --start review --reservation "$RESERVATION_ID"
```
`--finish` settles it. A dispatch with no `review-log --start` settles with
+4 -3
View File
@@ -15,11 +15,12 @@ Field-by-field reference: docs/ship-budget.md. Exit 0 continue or delegate, 3 st
- Elsewhere: `--meter estimate` (printed `meter=estimate`), only when the owner accepts it.
**Every boundary.** `gstack-ship-budget check --run <id> --step <done> --next <step> --reading <n>`.
Before each dispatch batch, reserve the batch as one sum, then pass the printed id once:
Before each dispatch batch, reserve the batch as one sum, then pass the printed id once
(`READING` is the current counter reading; `RESERVATION_ID` is the id the check prints):
```bash
~/.claude/skills/gstack/bin/gstack-ship-budget check --run <id> --step 9 --next dispatch:specialist,red-team --reading <n>
~/.claude/skills/gstack/bin/gstack-review-log --start review --reservation <RESERVATION id>
~/.claude/skills/gstack/bin/gstack-ship-budget check --run <id> --step 9 --next dispatch:specialist,red-team --reading "$READING"
~/.claude/skills/gstack/bin/gstack-review-log --start review --reservation "$RESERVATION_ID"
```
`--finish` settles it. A dispatch with no `review-log --start` settles with
+1
View File
@@ -32,6 +32,7 @@ export const FREE_FIXTURES: Readonly<Record<string, readonly string[]>> = {
'test/fixtures/autoplan-with-result-au.json': ['test/autoplan-phase-observer.test.ts'],
'test/fixtures/browse-judge/**': ['test/workflow-judge-cache.test.ts'],
'test/fixtures/ceo-completion-handoff-m-call.json': ['test/plan-count-completion.test.ts'],
'test/fixtures/claude-usage-2.1.292.json': ['test/claude-usage.test.ts'],
'test/fixtures/context-restore-transcript.jsonl': ['test/context-restore-transcripts.test.ts'],
'test/fixtures/ceo-completion-handoff-o-call.json': ['test/plan-count-completion.test.ts'],
'test/fixtures/ceo-completion-handoff-q-call.json': ['test/plan-count-completion.test.ts'],
@@ -0,0 +1,4 @@
{
"bytes": 96,
"why": "fence placeholders become shell variables (GSTA-152 PR A pregate fix)"
}