to-tickets skill should emit the #1940 close-report fields (binds / unproven_by_seam / mirrors) #1942

Open
opened 2026-09-27 23:02:17 +00:00 by matou-build-agent · 3 comments

The to-tickets design-tier section (~/.claude/skills/to-tickets/SKILL.md) should emit the three fields #1940 introduced so future manifests carry them: binds[] (symbol → defined_in non-test path OR owed_by open issue), unproven_by_seam (prose), and a note about the repo-level .sandcastle/mirrors.tsv registry + the optional mirror_waiver envelope 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 so to-tickets actively suggests them.

This is exactly the unproven_by_seam residue #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.

The `to-tickets` design-tier section (`~/.claude/skills/to-tickets/SKILL.md`) should emit the three fields #1940 introduced so future manifests carry them: `binds[]` (symbol → `defined_in` non-test path OR `owed_by` open issue), `unproven_by_seam` (prose), and a note about the repo-level `.sandcastle/mirrors.tsv` registry + the optional `mirror_waiver` envelope 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 so `to-tickets` actively suggests them. This is exactly the `unproven_by_seam` residue #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.
Author
Member

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Category: enhancement · State: ready-for-session

Ruling: ready to build — but for an interactive agent session, not the swarm.

Why ready-for-session, not ready-for-agent: the change is to
~/.claude/skills/to-tickets/SKILL.md, a global skill outside this repo. It produces no repo
diff, so it cannot land through the swarm's push/PR rail (close-report gates on changed_files in
the repo — there are none here). Editing a host's ~/.claude/skills/ needs an interactive
session'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-tickets manifest actually carrying the fields (the unproven_by_seam residue #1940
named).

Brief

What: teach to-tickets to emit the three fields #1940 added to the close-report envelope, so
future task manifests carry them:

  • binds[] — each declared symbol maps to a non-test defined_in path or an owed_by open
    issue.
  • unproven_by_seam — prose residue (what the seam can't prove).
  • a note pointing at the repo-level .sandcastle/mirrors.tsv registry and the optional
    mirror_waiver envelope field (mirrored contracts move together).

Where: the design-tier section of ~/.claude/skills/to-tickets/SKILL.md (the conditional
enrichment that activates when the design tier is present). In-repo docs already describe the
fields — docs/slices/README.md and .sandcastle/prompt.md (rendered from
.sandcastle/prompt-enrichments/workflow-verify.md); mirror that vocabulary, don't restate the
gates.

Acceptance:

  • A to-tickets run over a design-tier repo emits binds[], unproven_by_seam, and the
    mirrors.tsv / mirror_waiver note in each manifest.
  • The enrichment is conditional — a non-design-tier repo's manifest is unchanged.
  • Proof is a later manifest carrying the fields (the residue #1940 named for itself).

Ref: #1940, STATUS.md 2026-09-27 #1940 entry. Advances the #1929-retro line.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Category:** `enhancement` · **State:** `ready-for-session` **Ruling:** ready to build — but for an interactive agent session, not the swarm. **Why `ready-for-session`, not `ready-for-agent`:** the change is to `~/.claude/skills/to-tickets/SKILL.md`, a **global skill outside this repo**. It produces no repo diff, so it cannot land through the swarm's push/PR rail (close-report gates on `changed_files` in the repo — there are none here). Editing a host's `~/.claude/skills/` needs an interactive session'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-tickets` manifest actually carrying the fields (the `unproven_by_seam` residue #1940 named). ## Brief **What:** teach `to-tickets` to emit the three fields #1940 added to the close-report envelope, so future task manifests carry them: - `binds[]` — each declared symbol maps to a non-test `defined_in` path **or** an `owed_by` open issue. - `unproven_by_seam` — prose residue (what the seam can't prove). - a note pointing at the repo-level `.sandcastle/mirrors.tsv` registry and the optional `mirror_waiver` envelope field (mirrored contracts move together). **Where:** the design-tier section of `~/.claude/skills/to-tickets/SKILL.md` (the conditional enrichment that activates when the design tier is present). In-repo docs already describe the fields — `docs/slices/README.md` and `.sandcastle/prompt.md` (rendered from `.sandcastle/prompt-enrichments/workflow-verify.md`); mirror that vocabulary, don't restate the gates. **Acceptance:** - A `to-tickets` run over a design-tier repo emits `binds[]`, `unproven_by_seam`, and the `mirrors.tsv` / `mirror_waiver` note in each manifest. - The enrichment is conditional — a non-design-tier repo's manifest is unchanged. - Proof is a later manifest carrying the fields (the residue #1940 named for itself). **Ref:** #1940, STATUS.md 2026-09-27 #1940 entry. Advances the #1929-retro line.
Author
Member

Attempt 1 — blocked: the to-tickets skill is not present on this host. (bens-mac-04, this session's drainer)

The triage brief ruled ready-for-session on 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).
  • A filesystem-wide search finds no to-tickets directory and no to-tickets/SKILL.md anywhere (find / -type d -name to-tickets, find / -name SKILL.md — only the repo-local clan-lab/lab-dns/trial-reset skills and vendored playwright skills turn up).
  • to-tickets is not offered to this session's Skill tool either.
  • The skill's source is not vendored in the dev-factory checkout (/home/swarm/swarm/Matou/dev-factory — no SKILL.md, no skills/ dir, no to-tickets text), 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_seam residue): the Pocock to-tickets skill 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.1 to-tickets SKILL.md content).

No repo change is warranted — #1940 already landed the in-repo half (docs/slices/README.md, .sandcastle/prompt-enrichments/workflow-verify.md → rendered prompt.md, plus close-report gates 6/7). This ticket's whole scope is the out-of-repo skill edit.

Routing: left ready-for-session per 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 finds to-tickets absent, 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.md on 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.md and .sandcastle/prompt-enrichments/workflow-verify.md), so the design-tier section of to-tickets can emit them:

  • binds[] — for every symbol a task declares on its interface, emit an entry that either DEFINES it under a non-test path (defined_in, which must appear in the close's changed_files) or names an owed_by still-open issue that provides it. Neither → the close-report gate 6 refuses. YAML shape:

    binds:
      - symbol: sealBundle
        defined_in: app/src/keriweb/sealing.ts   # a NON-TEST path that must be in changed_files
      - symbol: verifySeal
        owed_by: 1938                             # or any OPEN issue that provides it
    
  • 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.tsv is a repo-level trigger<TAB>mirror table (gate 7): a changed_files entry matching a trigger must ship its mirror in the same close, waivable only by a non-empty mirror_waiver string in the close-report envelope (a human reads it). to-tickets should just remind authors that mirrored contracts move together and point at .sandcastle/mirrors.tsv + the optional mirror_waiver envelope 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.md and .sandcastle/prompt-enrichments/workflow-verify.md at HEAD (84b58522).

**Attempt 1 — blocked: the `to-tickets` skill is not present on this host.** (bens-mac-04, this session's drainer) The triage brief ruled `ready-for-session` on 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`). - A filesystem-wide search finds **no `to-tickets` directory and no `to-tickets/SKILL.md` anywhere** (`find / -type d -name to-tickets`, `find / -name SKILL.md` — only the repo-local `clan-lab`/`lab-dns`/`trial-reset` skills and vendored playwright skills turn up). - `to-tickets` is **not** offered to this session's Skill tool either. - The skill's source is **not vendored** in the `dev-factory` checkout (`/home/swarm/swarm/Matou/dev-factory` — no `SKILL.md`, no `skills/` dir, no `to-tickets` text), 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_seam` residue): the Pocock `to-tickets` skill 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.1 `to-tickets` SKILL.md content). No repo change is warranted — #1940 already landed the in-repo half (`docs/slices/README.md`, `.sandcastle/prompt-enrichments/workflow-verify.md` → rendered `prompt.md`, plus close-report gates 6/7). This ticket's whole scope is the out-of-repo skill edit. **Routing:** left `ready-for-session` per 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 finds `to-tickets` absent, 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.md` on 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.md` and `.sandcastle/prompt-enrichments/workflow-verify.md`), so the design-tier section of `to-tickets` can emit them: - **`binds[]`** — for every symbol a task declares on its `interface`, emit an entry that either DEFINES it under a **non-test** path (`defined_in`, which must appear in the close's `changed_files`) **or** names an `owed_by` **still-open** issue that provides it. Neither → the close-report gate 6 refuses. YAML shape: ```yaml binds: - symbol: sealBundle defined_in: app/src/keriweb/sealing.ts # a NON-TEST path that must be in changed_files - symbol: verifySeal owed_by: 1938 # or any OPEN issue that provides it ``` - **`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.tsv` is a repo-level `trigger<TAB>mirror` table (gate 7): a `changed_files` entry matching a trigger must ship its mirror in the same close, waivable **only** by a non-empty `mirror_waiver` string in the close-report envelope (a human reads it). `to-tickets` should just remind authors that mirrored contracts move together and point at `.sandcastle/mirrors.tsv` + the optional `mirror_waiver` envelope 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.md` and `.sandcastle/prompt-enrichments/workflow-verify.md` at HEAD (84b58522).
Author
Member

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-tickets absent, 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, HEAD 40f970e2):

  • ~/.claude/skills/ — ABSENT ($HOME=/home/swarm); no global-skills dir at all.
  • find / -type d -name to-tickets — NONE. No SKILL.md anywhere contains to-tickets.
  • to-tickets is not offered to this session's Skill tool, and it is not vendored in any reachable dev-factory checkout.

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 a to-tickets SKILL.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:

  1. Edit ~/.claude/skills/to-tickets/SKILL.md on 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_waiver note); or
  2. Rule that the Pocock global skills should be vendored somewhere the fleet can reach (so future edits are landable from a session), then this can re-open as ready-for-session; or
  3. Rule the authoring-loop closure out of scope for the fleet and close it — the in-repo docs + close-report gates already enforce the fields; only the proactive suggestion by to-tickets is 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.

**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-tickets` absent, 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, HEAD `40f970e2`): - `~/.claude/skills/` — **ABSENT** (`$HOME=/home/swarm`); no global-skills dir at all. - `find / -type d -name to-tickets` — **NONE**. No `SKILL.md` anywhere contains `to-tickets`. - `to-tickets` is **not** offered to this session's Skill tool, and it is **not vendored** in any reachable `dev-factory` checkout. 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 a `to-tickets` SKILL.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: 1. Edit `~/.claude/skills/to-tickets/SKILL.md` on 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_waiver` note); **or** 2. Rule that the Pocock global skills should be vendored somewhere the fleet can reach (so future edits are landable from a session), then this can re-open as `ready-for-session`; **or** 3. Rule the authoring-loop closure out of scope for the fleet and close it — the in-repo docs + close-report gates already enforce the fields; only the *proactive suggestion* by `to-tickets` is 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.
Sign in to join this conversation.
No milestone
No project
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
Matou/idss#1942
No description provided.