to-tickets skill should emit the #1940 close-report fields (binds / unproven_by_seam / mirrors) #1942
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1942
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The
to-ticketsdesign-tier section (~/.claude/skills/to-tickets/SKILL.md) should emit the three fields #1940 introduced so future manifests carry them:binds[](symbol →defined_innon-test path ORowed_byopen issue),unproven_by_seam(prose), and a note about the repo-level.sandcastle/mirrors.tsvregistry + the optionalmirror_waiverenvelope field.Why this is a separate ticket: the skill is a GLOBAL skill outside this repo (
~/.claude/skills/), and that directory was absent from the session-runner host on which #1940 landed — so the edit could not be made from that run. #1940 documented the fields in-repo (docs/slices/README.md,.sandcastle/prompt-enrichments/workflow-verify.md→ rendered.sandcastle/prompt.md) and the close-report gates enforce them; this ticket only closes the authoring loop soto-ticketsactively suggests them.This is exactly the
unproven_by_seamresidue #1940 named for itself: "that future to-tickets runs actually EMIT the new fields — the skill lives outside this repo, so only a later ticket's manifest proves it took."Advances the #1929-retro line. Ref #1940.
Ruled by agent under ADR 0174 — veto anytime.
Category:
enhancement· State:ready-for-sessionRuling: ready to build — but for an interactive agent session, not the swarm.
Why
ready-for-session, notready-for-agent: the change is to~/.claude/skills/to-tickets/SKILL.md, a global skill outside this repo. It produces no repodiff, so it cannot land through the swarm's push/PR rail (close-report gates on
changed_filesinthe repo — there are none here). Editing a host's
~/.claude/skills/needs an interactivesession's standing. The skill directory was absent on the host #1940 ran on (per the body); it is
present on this host, so a session here can make the edit.
Why this is a two-way door: the edit is an additive design-tier enrichment to a markdown skill
file — it only activates when the design-tier artifacts are present, and it is fully revertible
(version-diffable). Not personal credentials, security-posture, a member-facing trust surface,
data destruction, or spend — not on the one-way-door list. Provable by reading the edited file and
by a later
to-ticketsmanifest actually carrying the fields (theunproven_by_seamresidue #1940named).
Brief
What: teach
to-ticketsto emit the three fields #1940 added to the close-report envelope, sofuture task manifests carry them:
binds[]— each declared symbol maps to a non-testdefined_inpath or anowed_byopenissue.
unproven_by_seam— prose residue (what the seam can't prove)..sandcastle/mirrors.tsvregistry and the optionalmirror_waiverenvelope field (mirrored contracts move together).Where: the design-tier section of
~/.claude/skills/to-tickets/SKILL.md(the conditionalenrichment that activates when the design tier is present). In-repo docs already describe the
fields —
docs/slices/README.mdand.sandcastle/prompt.md(rendered from.sandcastle/prompt-enrichments/workflow-verify.md); mirror that vocabulary, don't restate thegates.
Acceptance:
to-ticketsrun over a design-tier repo emitsbinds[],unproven_by_seam, and themirrors.tsv/mirror_waivernote in each manifest.Ref: #1940, STATUS.md 2026-09-27 #1940 entry. Advances the #1929-retro line.
Attempt 1 — blocked: the
to-ticketsskill is not present on this host. (bens-mac-04, this session's drainer)The triage brief ruled
ready-for-sessionon the premise that the global skill "is present on this host, so a session here can make the edit." On the host that actually drained the ticket that premise does not hold:~/.claude/skills/does not exist at all ($HOME=/home/swarm).to-ticketsdirectory and noto-tickets/SKILL.mdanywhere (find / -type d -name to-tickets,find / -name SKILL.md— only the repo-localclan-lab/lab-dns/trial-resetskills and vendored playwright skills turn up).to-ticketsis not offered to this session's Skill tool either.dev-factorycheckout (/home/swarm/swarm/Matou/dev-factory— noSKILL.md, noskills/dir, noto-ticketstext), so there is no in-fleet, diffable place to land the edit as a proxy.So this is the same wall #1940 hit (its
unproven_by_seamresidue): the Pocockto-ticketsskill lives in~/.claude/skills/on authoring machines and is simply not installed on the session-runner fleet, nor vendored anywhere a session here can reach. There is no two-way, provable action on this host that edits it, and I will not fabricate a stub skill from scratch (I don't hold the Pocock v1.1to-ticketsSKILL.md content).No repo change is warranted — #1940 already landed the in-repo half (
docs/slices/README.md,.sandcastle/prompt-enrichments/workflow-verify.md→ renderedprompt.md, plus close-report gates 6/7). This ticket's whole scope is the out-of-repo skill edit.Routing: left
ready-for-sessionper ADR 0174 rule 8 (missing artifact → fail loud, let the runner count the attempt). A re-queue via the multi-host claim may reach a host that genuinely carries the global skill. If a second attempt on another host also findsto-ticketsabsent, that confirms it is structural — the global skills are not on the fleet — and it should go to a human to either edit~/.claude/skills/to-tickets/SKILL.mdon the authoring machine or decide the emission guidance should be vendored somewhere reachable.Ready-to-paste for whoever/whatever finally edits the skill. The exact fields #1940 added (verbatim from the in-repo spec —
docs/slices/README.mdand.sandcastle/prompt-enrichments/workflow-verify.md), so the design-tier section ofto-ticketscan emit them:binds[]— for every symbol a task declares on itsinterface, emit an entry that either DEFINES it under a non-test path (defined_in, which must appear in the close'schanged_files) or names anowed_bystill-open issue that provides it. Neither → the close-report gate 6 refuses. YAML shape:unproven_by_seam— prose (not gated): name what the seam/tests cannot exercise, carried from the manifest into the close-report. e.g.unproven_by_seam: the bundle's real sealing crypto — only #1936's live leg exercises it.mirror registry note — do not emit a per-ticket field for this.
.sandcastle/mirrors.tsvis a repo-leveltrigger<TAB>mirrortable (gate 7): achanged_filesentry matching a trigger must ship its mirror in the same close, waivable only by a non-emptymirror_waiverstring in the close-report envelope (a human reads it).to-ticketsshould just remind authors that mirrored contracts move together and point at.sandcastle/mirrors.tsv+ the optionalmirror_waiverenvelope field.Advances the #1929-retro line. Ref #1940.
Ruled by agent under ADR 0174 — veto anytime. Proof of the blocker: the filesystem searches above (reproducible on this host); proof of the field spec: quoted verbatim from
docs/slices/README.mdand.sandcastle/prompt-enrichments/workflow-verify.mdat HEAD (84b58522).Attempt 2 — structurally confirmed blocked; routing
ready-for-human.Attempt 1 set the escalation condition explicitly: "If a second attempt on another host also finds
to-ticketsabsent, that confirms it is structural — the global skills are not on the fleet — and it should go to a human." This second drain re-runs the same three checks and hits the same three walls (host bens-mac-04, HEAD40f970e2):~/.claude/skills/— ABSENT ($HOME=/home/swarm); no global-skills dir at all.find / -type d -name to-tickets— NONE. NoSKILL.mdanywhere containsto-tickets.to-ticketsis not offered to this session's Skill tool, and it is not vendored in any reachabledev-factorycheckout.There is no two-way, provable action on any session-runner host that edits
~/.claude/skills/to-tickets/SKILL.md, because that file does not exist on the fleet and has no in-repo/vendored proxy. The whole scope of this ticket is that out-of-repo edit, so no repo change is warranted (#1940 already landed the in-repo half:docs/slices/README.md,.sandcastle/prompt-enrichments/workflow-verify.md→ rendered.sandcastle/prompt.md, plus close-report gates 6/7/8). I will not fabricate ato-ticketsSKILL.md from scratch — I don't hold the Pocock v1.1 source and a stub would silently diverge from the real skill.Why human
Ben's hands (ADR 0174 rule 4). One of, Ben's call:
~/.claude/skills/to-tickets/SKILL.mdon an authoring machine that carries the Pocock skills, adding the design-tier emission guidance (ready-to-paste field spec is in Attempt 1's comment above —binds[],unproven_by_seam, and the.sandcastle/mirrors.tsv+mirror_waivernote); orready-for-session; orto-ticketsis missing.No proposed-default ruling to adopt here: the residue is genuinely hands (edit a file that isn't on the fleet) or a fleet-topology decision, neither of which is a two-way door a session can take.
Ruled by agent under ADR 0174 — veto anytime. Proof of blocker: the filesystem checks above (reproducible on this host). Advances the #1929-retro line. Ref #1940.