feat(stagecraft): read records with swamp data query --single (swamp-club #2978) #456

Merged
seth merged 1 commit from cue/2978-stagecraft-read-records into main 2026-10-06 01:10:39 +00:00
Owner

Follow-up to swamp-club #2974. Every stagecraft record read now passes --single to swamp data query, so swamp itself fails on zero or several matches and prints the one payload as an object.

  • dispatch.ts buildSubagentPrompts: the read line is --select content --single --json; the note says each command prints the product's payload as one JSON object and, on a non-zero exit, the subagent stops and reports rather than guessing. dispatch_test.ts asserts both.
  • integration/harness.ts data(): drops its own zero-or-several count check; swamp's failure, which names the predicate, surfaces through the helper's exit check.
  • integration/extension/skill_commands.ts checkCommand: accepts exactly the new form.
  • Docs: the stagecraft skill (driving.md and the worked example), REFERENCE.md and DESIGN.md. The metrics dashboard query in REFERENCE.md stays a multi-record query on purpose.
  • Studio bundle rebuilt: only the source digest changed, the page does not embed the prompt text.
  • manifest.yaml 2026.10.02.1 -> 2026.10.05.1 (manifest only, no model version bumps, as in #446).

Requires swamp 20261005.144604 or newer, which has --single. The manifest has no field to declare that.

Verification: verify-build and verify-reviews both passed on fcc1ff7 (925 unit tests, 58 integration tests against the installed swamp; code-review and adversarial-review verdict pass). Attestation posted.

Closes swamp-club #2978.

🤖 Generated with Claude Code

Follow-up to swamp-club #2974. Every stagecraft record read now passes `--single` to `swamp data query`, so swamp itself fails on zero or several matches and prints the one payload as an object. - `dispatch.ts` `buildSubagentPrompts`: the read line is `--select content --single --json`; the note says each command prints the product's payload as one JSON object and, on a non-zero exit, the subagent stops and reports rather than guessing. `dispatch_test.ts` asserts both. - `integration/harness.ts` `data()`: drops its own zero-or-several count check; swamp's failure, which names the predicate, surfaces through the helper's exit check. - `integration/extension/skill_commands.ts` `checkCommand`: accepts exactly the new form. - Docs: the stagecraft skill (driving.md and the worked example), REFERENCE.md and DESIGN.md. The metrics dashboard query in REFERENCE.md stays a multi-record query on purpose. - Studio bundle rebuilt: only the source digest changed, the page does not embed the prompt text. - `manifest.yaml` 2026.10.02.1 -> 2026.10.05.1 (manifest only, no model version bumps, as in #446). Requires swamp 20261005.144604 or newer, which has `--single`. The manifest has no field to declare that. Verification: verify-build and verify-reviews both passed on fcc1ff7 (925 unit tests, 58 integration tests against the installed swamp; code-review and adversarial-review verdict pass). Attestation posted. Closes swamp-club #2978. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(stagecraft): read records with swamp data query --single (swamp-club #2978)
All checks were successful
CI / Review Integrity (pull_request) Successful in 41s
CI / Validate Attestation (pull_request) Successful in 45s
fcc1ff764b
Every stagecraft record read now passes --single, so swamp itself fails
on zero or several matches and prints the one payload as an object:
the subagent prompt text in buildSubagentPrompts (its note tells the
subagent to stop on a non-zero exit, never guess the product), the
integration harness data() helper (its own count check is gone), the
skill command checker, the skill docs, REFERENCE.md and DESIGN.md.
The studio source digest is rebuilt and the manifest bumped to
2026.10.05.1.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
seth merged commit c556ae1149 into main 2026-10-06 01:10:39 +00:00
seth deleted branch cue/2978-stagecraft-read-records 2026-10-06 01:10:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
swamp-club/swamp-extensions!456
No description provided.