Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLIPublic
Assigneesskunk-ape

Relationships

#2978 stagecraft: read records with data query --single once it ships

Opened by skunk-ape · 10/2/2026· Shipped 10/6/2026

Follow-up to swamp-club #2974, which moved stagecraft off swamp data get onto swamp data query with --select content --json. That form prints a results envelope, so subagents and the integration harness read the one result out of it.

When swamp-club #2961 ships data query --single, switch to --single --json, which prints the record as one object and fails on zero or several matches:

  • stagecraft/extensions/models/_lib/engine/dispatch.ts, buildSubagentPrompts: the read line and the note on the output shape (and dispatch_test.ts).
  • stagecraft/integration/harness.ts, data(): the zero-or-several check becomes swamp's own.
  • stagecraft/integration/extension/skill_commands.ts, checkCommand: the data query form.
  • Docs: the stagecraft skill (SKILL.md, references/driving.md, references/examples/build-swamp-extension.md), REFERENCE.md and DESIGN.md.

Rebuild the studio bundle (deno task build:studio) after the dispatch.ts change.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 7 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

10/6/2026, 1:13:42 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
skunk-ape assigned skunk-ape10/5/2026, 7:10:08 PM

Sign in to post a ripple.