fix(stagecraft): read records with swamp data query, not the deprecated data get (swamp-club #2974) #446
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2974-stagecraft-stop-relying"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes swamp-club #2974.
swamp data getis being deprecated in favor ofswamp data query. This moves stagecraft off it.dispatch.ts,buildSubagentPrompts): each injected product is read withswamp data query 'modelName == "<key>" && name == "<record>"' --select content --json. The prompt says each read prints{"results": [...]}with one result, the payload.harness.ts,data()): reads the same way, withversion == Nadded for an earlier version.data querysucceeds with no results, so the harness fails unless exactly one record matches. The skill test and the example runner, which randata getthemselves, now read through it.skill_commands.ts): accepts thedata queryform in place ofdata get.SKILL.md,references/driving.md, the worked example),REFERENCE.mdandDESIGN.md.dispatch.ts.This ships without
data query --single(swamp-club #2961), which hasn't been released yet. swamp-club #2978 tracks switching to it.No files are added, so the held manifest (
cue/2947-stagecraft-manifest) needs nothing new.Verification
Attestation
be6b5be8-64b2-4cba-b3e4-2140114fea8bfor78e03b5d6:🤖 Generated with Claude Code
78e03b5d6287ee23d5d2