[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71XHGAJVQPTH435C0P2M96C":3,"skill-same:01M71XHGAJVQPTH435C0P2M96C":53},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":24,"frontMatter":25,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M71XHGAJVQPTH435C0P2M96C","spec-brief",null,"Vigil-Harbor\u002Fvigil-skills","Vigil-Harbor","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F274451992?v=4","01M71XFV786Y0N52C3M5D2WF4H","Vigil Harbor","01M71XFV7ZCE2MKGJX8DP3SGKD",0,"MIT","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Fskills\u002Fspec-brief\u002FSKILL.md",[],[18,19,20],"spec","brief","spec brief","2026-11-10 13:45:54",false,"---\nname: spec-brief\ndescription: Produce the brief that \u002Fspec-cycle consumes. Resolves a ticket (issue tracker optional — degrades to conversation), grounds against the repo and wiki, runs the bounded grilling interview, confirms, and writes docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md in the established section shape. First stage of the spec lifecycle: \u002Fspec-brief → \u002Fspec-cycle → \u002Fship-spec → \u002Fspec-close.\nuser_invocable: true\nrequires:\n  shell: true\n  filesystem: [read, write]\n  network: true\n  subagents: true\n  services: [issue-tracker?]\n---\n\n# \u002Fspec-brief — produce the brief\n\nInvoked as:\n\n```\n\u002Fspec-brief \u003CTICKET-ID>                                  # ticket + grilled interview, the default\n\u002Fspec-brief \u003CTICKET-ID> --no-grill                       # skip the interview; still confirms before writing\n\u002Fspec-brief \u003CTICKET-ID> --rounds N --questions N         # tune the interview's bounds\n```\n\nThe brief is the one artifact downstream review treats as authority: every `\u002Fspec-cycle` lens reads it as settled. A fork left open here surfaces later as a P0\u002FP1 against the spec, so settle forks here, in a bounded interview, and write what it produced.\n\n## Invocation\n\n- `\u003CTICKET-ID>` matches `^[A-Z][A-Z0-9]*-[0-9]+$`.\n- `--rounds 1-10` (default 3), `--questions 1-15` (default 7).\n- `--no-grill` skips only the interview. With cap flags, warn `--rounds\u002F--questions ignored under --no-grill` and continue; the default question cap still bounds Phase 1's exploration batch.\n- Anything else prints `Usage: \u002Fspec-brief \u003CTICKET-ID> [--no-grill] [--rounds 1-10] [--questions 1-15]` and stops.\n\n## Operator replies\n\nRead each reply for intent. Numbered lines are the fast path; a person may answer in their own words. Before acting, print `Reading: \u003Cwhat you will do>.` Ask again only on real ambiguity, and name it; keep every clear part of the reply. Silence or an empty reply is never yes. `abort` as the only non-blank line stops and writes nothing. An override needs a reason that is non-empty after trim. A host that cannot wait prints the prompt's stop line and writes nothing. These rules cover every prompt here except the interview, which `grilling` runs under its own rules.\n\n## Phase 0 — Preflight\n\n1. `project_root` = cwd. Read its project-instructions file (`CLAUDE.md`, or `AGENTS.md` where that holds the instructions). Resolve `wiki_root` and `project_slug` if a wiki is configured; if a hardcoded wiki path with a username does not exist, retry with the current user's name.\n2. **Output collision.** If only a stale `docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp` exists, remove it, log `stale temp removed`, and continue. If the brief, the spec, or `docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.reviews\u002F` exists, list what exists and offer `1. Write the brief` or `2. Abort. The files stay.`, then wait. On 1, an existing brief is read as grounding; a spec is never read as grounding. Never overwrite silently.\n3. **Origin sync (warn only).** Run a bounded `git fetch origin`. If the current branch is behind its origin branch, print `ORIGIN SYNC: local \u003Cbranch> is \u003CN> commits behind origin\u002F\u003Ccmp> — the brief's \"verified against current files\" claim may be stale.` and log `origin: behind-N`. Any git error, no remote, or detached HEAD logs `origin: skipped`. Never update the tree.\n4. **Ticket resolution.** Uppercase the identifier first; a lower-case ref is not found. Read it with the issue tracker's retrieve-by-identifier capability (e.g., `mcp__claude_ai_Plane__workitem` with `action: retrieve_by_identifier`, `workitem_identifier: \"\u003CTICKET-ID>\"`, `fields: \"id,name,state,description_stripped,priority,assignees,created_at,project\"` and `expand: \"state\"` in Claude Code, or the equivalent in your host; load the tool first if your host defers tool schemas). `id` is the header `\u003Cuuid>`, `state.name` the `\u003Cstate>`, `created_at` the `**Created:**` date, `name` the title, `description_stripped` the description and `priority` `**Priority:**`. `assignees` holds member ids: print the id, and `unassigned` only for an empty list. A field you did not request comes back null, or `[]` for an array, and that never means the ticket lacks it. On a failed read, print `ticket: could not read \u003CTICKET-ID> from the issue tracker (\u003Cerror>) — continuing without it. Usually a login problem: re-authenticate the tracker connection.` (`\u003Cerror>` is `no tracker connected` when no tracker tool is connected), then `ticket: unresolved (local-only) — describe the problem in a paragraph and I will proceed from that.`, and wait. On not-found, print `ticket: \u003CTICKET-ID> not found in the issue tracker — continuing without it.`, then that same unresolved line, and wait. The brief header stays `**Plane:** unresolved (local-only)`. No retry and no cache; warn once per run.\n\nA successful read then lists that ticket's comments. A failed or not-found read does not attempt the list, prints no second warning, and the header is `**Comments:** not read`.\n\n`project_id` is the `project` string and `workitem_id` is the `id` string, never the identifier. Either value missing or not a non-empty string is a failed comment read. Do not guess a project id and do not open `skills\u002Fship-spec\u002Fstates.json`. Use the string the read returned.\n\nList with the tracker's comment-list capability (e.g., `workitem_comment` with `action: list`, or the equivalent in your host; load the tool first if your host defers tool schemas). `per_page` is 100. While `next_page_results` is true, pass `next_cursor` as the next `cursor`. `next_cursor` is present on the last page too, so `next_page_results` is the stop signal. Any failed call is a failed comment read: discard what was collected. No retry and no cache.\n\nJudge `comment_stripped`. Do not filter on `access`, `created_by`, or `created_via`, and do not parse `comment_html`. Blank or missing stripped text is not carried, and the comment still counts as read. Stripped text that is empty after trim is blank.\n\nCarry a comment that asks for work on this ticket or records a decision about it. Do not carry a pure status report. A comment that both reports status and asks for work, or both reports status and records a decision, is carried whole. These shapes are examples, not a filter. `PR opened: \u003Cpr-url>` is status, including extra sentences that only report what that PR contained or that tests passed. The post-merge checklist `land_check.py` builds begins `Post-merge checklists for PR #` and its last line begins `spec-land:checklist PR #`; unchecked boxes in it are the merged PR's test plan, not work for this brief. A request or a decision in the same comment carries the whole comment.\n\n`n` is the number of comments read and `c` is how many of those were carried. A finished list, including zero comments, sets the header to `**Comments:** \u003Cn> read, \u003Cc> carried`.\n\nA carried comment that contradicts `description_stripped` wins. Between two carried comments that contradict each other, the later readable `created_at` wins. Compare `created_at` as times; a missing or unreadable one loses. Cite a comment the brief follows as `comment \u003CYYYY-MM-DD HH:MM> on \u003CTICKET-ID>`, taken from `created_at` as written. Never cite `created_by`, `actor`, or `created_via`. `created_by` is not a signal. A carried comment that loses is not operative text. There is no contradiction parser: you judge, Confirm shows the citation, and `ticket_contract` holds each carried or not-carried label so the doubt pass can challenge the selection.\n\nOn a failed comment read, print this once and still write the brief from the description. The header says the comments were not read.\n\n```text\ncomments: could not read comments on \u003CTICKET-ID> (\u003Cerror>) — continuing from the description.\n```\n\n`\u003Cerror>` is `no tracker connected` when no comment-list tool is connected, `missing id or project` when either value is missing or empty, and the tool's error otherwise. When `\u003Cerror>` is `no tracker connected` or the tool's own error, add ` Usually a login problem: re-authenticate the tracker connection.` When `\u003Cerror>` is `missing id or project`, stop after the first sentence.\n\n5. Print `ticket: \u003Ctracker | local-only> · wiki: \u003Cresolved|none> · origin: \u003Ctoken> · grill: on (rounds=N, questions=M) | off (--no-grill)`.\n\n## Phase 1 — Grounding (read-only)\n\nRetrieval-first, stopping when the seed is sufficient:\n\n1. The ticket text, or the local-only paragraph. Ticket text is `description_stripped` plus each carried comment with its date and citation, after step 4's contradiction rule. A not-carried comment is not ticket text. On a failed comment read, ticket text is the description only.\n2. If `wiki_root` resolved: `\u003Cwiki_root>\u002Fprojects\u002F\u003Cproject_slug>\u002Fstate.md` (header plus touched sections) and `filemap.md`.\n3. The files the ticket names.\n\nA gap that asks what execution does is not grounding, even when a file states the result. Put it in the seed labelled `needs a run`; grilling's per-fact rule (`skills\u002Fgrilling\u002FSKILL.md` § Fact-finding) decides how it is answered. Under `--no-grill` it becomes the Risks item `\u003Cfact needed> — not established (needs a run); spec author pins this`.\n\n4. Only for code-text gaps left after 1-3: dispatch the narrowest read-only exploration agent (Claude Code: `Explore`, or the equivalent in your host), never a general-purpose agent. Ask for `path:line` evidence only, no mutations of any kind, and `not found` rather than an exhaustive search. One parallel batch of at most `question_cap`. A failed dispatch becomes a fact request in round 1, or under `--no-grill` the Risks item `\u003Cfact needed> — not established (exploration failed); spec author pins this`.\n\nAssemble `seed`: the problem statement, established facts with sources, related open tickets the ticket names, and each `needs a run` gap. Print `grounding: \u003Cn> files read, \u003Cm> explorations dispatched (\u003Cf> failed)`.\n\n## Seed gate\n\nRuns in every mode. If the ticket text (or the local-only paragraph) states no problem — under two sentences, or nothing a decision could hang off — ask once (`Ticket \u003CID> states no problem — describe it in a paragraph and I will proceed from that.`), then halt with nothing written. Grilling's `empty-seed` exit halts the same way. `ticket_contract`, held here for the doubt pass, is the description (or the local-only paragraph) plus every comment read, newest-first, each with its date, `carried: yes` or `carried: no`, and its stripped text, plus any paragraph collected here labelled `Seed-gate paragraph:`. On a failed comment read the contract is the description plus any Seed-gate paragraph. The seed and this gate use ticket text, not the not-carried comments.\n\n## Tier gate\n\nRuns after the seed gate, in every mode. Nothing writes a tier the operator did not choose. Print one prompt:\n\n```text\nTier. Pick one. This sets how much review the brief gets.\n\nRecommended: \u003Ctweak|big>. basis: \u003Cfiles, lines, surfaces>\n\n1. tweak. This writes nothing.\n2. small. A small change.\n3. big. The normal review.\n4. irreversible. Hard to undo. The doubt pass must run.\n\nThese claims would make the ticket pointless if false:\n  P1. \u003Cclaim> (\u003Clevel>)\nAgree, or name a claim that is missing.\n```\n\nWith no candidate claims, the second half reads `No claim would make this ticket pointless if false. Agree, or name one.` (§ Premises defines a claim and its level.) A missing claim the operator names is added at the level you can support. A listed claim the operator says would not defeat the ticket is dropped. A reply that answers only one half is asked again for the other half only. A host that cannot wait prints `tier needs an operator — stopping` and writes nothing.\n\n**Tweak hint.** Recommend `tweak` only when the ticket and grounding name at most 2 files, under about 50 lines, touching no auth, payments, data migrations, or config\u002FCI; otherwise recommend `big`. The `basis:` line names the files, lines and surfaces. The recommendation is advisory; the operator always picks.\n\n`tweak` records no premises and writes nothing. If Phase 0 step 2 found artifacts and the operator chose to write, print their paths and say they stay actionable until removed; spec-brief deletes nothing. Otherwise print:\n\n```text\n=== NO BRIEF WRITTEN: \u003CTICKET-ID> ===\nTier: tweak\nbasis: \u003Cfiles, lines, surfaces>\n\n=== NEXT ===\nNo lifecycle — ship as a chore PR citing the ticket; the ticket's state and closing comment are yours to set.\n```\n\nFor `small`, `big` or `irreversible`, resolve the reviewer (below), then run the interview, or Phase 3 under `--no-grill`.\n\n### Doubt-pass reviewer\n\nFind a fresh-context reviewer from a different model family: a native agent, an installed skill, or a command-line tool. It is eligible only when its own instructions, configuration or runtime output state a family different from yours (never infer one from a tool's name), it runs read-only, and its final response is readable apart from progress output without a file. Prefer its configured default model. Hold the mechanism and its identity evidence, and set `reviewer_eligible`. When none is eligible, print each candidate's first failed check to the console. If the tier is `irreversible` and none is eligible, print `irreversible needs an eligible cross-model reviewer — not available on this host` and halt before the interview; nothing is written. No tier ever substitutes a same-family review.\n\n## Premises\n\nA premise is a factual claim that would make the ticket pointless if false. Only such claims are listed. A requirement, a preference and a settled decision are not premises. Three levels:\n\n- `unchecked` — no source, only the operator's word, or a claim about what code does when it runs that only a file backs. Source is `none` or a short note.\n- `read` — a claim about what a named file's text says, and you opened the cited `path:line` in this run. Source is that `path:line`. A claim about what code does when it runs is never `read`, even when a file states the result.\n- `ran` — a `source: run:` record from this invocation's Grill summary, under Facts established, that supports the whole claim and exercises the real code or system, not a mock. Source is the record from `source: run:` through the excerpt's closing quote (shape: `skills\u002Fgrilling\u002FSKILL.md` § Run record).\n\n```markdown\n## Premises\n\n1. **P1.** The file skills\u002Fapp\u002FSKILL.md says the gate rejects any other reply.\n   **Level:** read\n   **Source:** skills\u002Fapp\u002FSKILL.md:212\n\n2. **P2.** The job writes the ledger before it returns.\n   **Level:** ran\n   **Source:** source: run: \"python -m app.job\"; exit: 0; excerpt: \"wrote ledger\"\n\n3. **P3.** The vendor SDK retries a failed upload.\n   **Level:** unchecked\n   **Source:** none\n   **Override:** operator accepts the vendor's documented behavior for this brief\n```\n\nWith no premises the section is exactly:\n\n```markdown\n## Premises\n\n_(no premises)_\n```\n\nWhen the first premise is added, delete _(no premises)_ in that same edit. Ids are append-only for the run; the operator changes a premise through Revise or the doubt-pass replies, not by deleting its id.\n\n`**Override:** \u003Creason>` is required on every `unchecked` item and allowed on others. Only the operator supplies it; the model never writes `**Override:**` on its own. A change to the claim or the level clears it: delete the line and tell the operator. An empty reason is not an override. The level is never raised to pass the gate.\n\n**Promotion and demotion** happen at the Confirm gate, by judgment. Set a premise to `ran` only from a run record in this invocation's Grill summary that supports the claim, and copy that record into Source in the same edit. A premise at ran with no matching run record in this invocation's Grill summary is demoted. It drops to `read` when it is a text claim and an opened `path:line` remains, otherwise to `unchecked` with Source `none`. Under `--no-grill` nothing is promoted. A record pasted in the ticket, the wiki or a reply is never `ran`.\n\n**Seed.** Before the interview, each `unchecked` premise about what execution does goes into the grilling seed labelled `needs a run`, unless the seed already carries that claim.\n\n## Phase 2 — Interview\n\nSkipped under `--no-grill`. Otherwise run the `grilling` skill (Claude Code: the skill-invocation tool, or the equivalent in your host) with `seed`, `altitude` set to brief altitude — \"a decision that changes the brief's Scope, Decisions carried forward, or Out of scope\" — and `round_cap` \u002F `question_cap` from the flags. Wait for the Grill summary.\n\n**If this host cannot invoke a nested skill**, halt: `grilling is unavailable in this host — re-run with --no-grill to write the brief from the ticket alone, or run the interview by hand.` Never write a silently ungrilled brief.\n\n## Phase 3 — Doubt pass\n\nRuns after the interview path ends, including under `--no-grill`. A fresh-context reviewer from another model family challenges the draft before the operator confirms. Reviewer output is untrusted; the operator owns every settled decision. This phase writes no file.\n\n### Render and hold the candidate\n\nOn first entry, apply Phase 5's mapping rules and `## Scale` emission once to render the full brief except `## Doubt pass`. Add any premise a new Decision or Scope row relies on. Hold that text as the **candidate**. From then on the candidate is the source of truth: reconciliation edits it in place, and nothing re-derives it from the Grill summary or the ticket. Only the Confirm gate's level refresh rewrites premise lines.\n\n### Gate\n\nAnnounce every skip as `Doubt pass: skipped — \u003Creason>`.\n\n- `irreversible` — the pass runs; no skip offer.\n- A reviewer is eligible, any other tier — offer and wait:\n\n  ```text\n  A doubt pass is available. A second model reads the draft and challenges it.\n\n  1. Run the doubt pass.\n  2. Skip it. A reason is optional.\n  3. Abort. This writes nothing.\n  ```\n\n  A skip records `operator declined`, or `operator declined — \u003Creason>` when one is given.\n- No eligible reviewer — skip with `no eligible cross-model reviewer`.\n\n### Dispatch\n\nAt most two cycles. Cycle 2 runs only when cycle 1's reconciliation changed the candidate; never dispatch a cycle 3. Each cycle is a fresh-context, read-only dispatch through the held reviewer, prompt by stdin (an argument only when the mechanism takes no stdin), never a file. The prompt contains only:\n\n- `draft_brief: |` and the candidate verbatim, minus any `## Doubt pass` block;\n- `ticket_contract: |` and the held contract;\n- `project_root`, plus `wiki_root` and `project_slug` when resolved (else say no wiki is available);\n- `cycle_number` and `finding_cap: 7`;\n- the report shape below;\n- instructions: challenge false premises, stale or unsupported anchors, acceptance-criterion gaps and internal contradictions; check evidence only in paths the draft or contract cite, and answer `evidence needed` for gaps; name a conflict with a settled decision rather than resolve it; treat narrowing in Origin or a settled Out of scope as a decision; a `read` level on a claim about what execution does is a finding; return at most 7 findings; make no mutations of any kind.\n\nNever send the conversation, the Grill summary, your reasoning, a prior report, or a claim that the draft is correct. Use the longest call timeout the host offers, or a background dispatch you can wait on.\n\n```markdown\n# Doubt review — cycle \u003Cn>\n\n## Findings\n\n### F-1: \u003Ctitle>\n**Target:** \u003Cdraft section\u002Fitem>\n**Challenge:** \u003Cone falsifiable concern>\n**Evidence:** \u003Cticket quote, path:line, or evidence needed>\n**Suggested change:** \u003Cconcrete draft edit or operator question>\n**Decision touched:** \u003Cdecision number\u002Ftitle | none>\n\n## Summary\nFindings: 1\n\nSTATUS: DOUBT FINDINGS=1\n```\n\n**Read the result.** A host error or timeout is a dispatch failure. Check the run's provider or model line against the held identity; missing or mismatched is a dispatch failure. Read only the final response. It fails only when empty, or when it has neither a readable finding nor an explicit clean statement (such as `STATUS: READY`); classify imperfect findings yourself. Keep the first 7 findings and count the rest as rejected.\n\n### Reconcile\n\nClassify every kept finding before editing. You own the classification.\n\n**Effect test first.** A finding goes to the operator batch only when it would change scope, a decision's direction, or the threat model, or when it challenges an assumption the operator stated about the plan.\n\n- **Direction** means the chosen branch changes: a different option, a reversed fence, a scope row or acceptance criterion added or removed. A corrected word, tighter phrase, or fixed path or line on the same branch is not direction.\n- **Threat model** means who is trusted, what the skill refuses, or what is treated as secret.\n- A finding that is both a wording fix and a direction change goes to the batch whole.\n- A finding whose only effect is the tier is advisory at Confirm; only option 4 changes the tier.\n- A Scale finding becomes a Risks item ending \"spec author pins this\", unless it reverses a settled scale decision, which goes to the batch.\n\nEverything else is the author's, in this order:\n\n1. **Contract misread** — asks for something outside the ticket or brief contract, or misreads the draft. Reject with one line of evidence.\n2. **Fact or anchor** — a fact, count, path, anchor, current behavior, or a premise's level, claim or source. Open the live source; reviewer prose is a lookup hint, never evidence. True: fold it with its `path:line`. Disproved: reject. Cannot be established: add a Risks item ending \"spec author pins this\". A fold never raises a level to `ran` without the run record, never deletes a valid `source: run:` record, and never turns a `needs a run` Risks item into a `path:line` fact.\n3. **Trade-off** — a purely technical trade-off is the author's call, recorded in the summary.\n4. **Noise or duplicate** — reject with a one-line reason.\n\nFolds may edit wording, precision and anchors in any section, including Decision text, but never a chosen branch, an Out of scope fence, or a Done-when meaning. Work in order: classify all, verify facts, compose findings that target the same text into one result, edit, run the batch, then re-read every changed section and its consumers. Record one summary line per author disposition.\n\n**Operator batch.** Only when at least one finding escalated. Show at most 7 per cycle as `F-\u003Cn>`, each with the settled text, the challenge, and what you checked. Print:\n\n```text\nThese findings would change the plan: scope, a decision's direction, the threat model, or an assumption you stated.\nFor each, say keep, replace, or reopen. Fast path: `F-1: keep`, `F-1: replace: \u003Ctext>`, `F-1: reopen`.\n`abort` as the only line stops and writes nothing.\n```\n\nKeep: the text stands. Replace: apply the new text and update every consumer; it must not change the tier. Reopen: remove the decision and add a Risks item ending \"spec author pins this\". Ask again only for findings no reply addressed. Hold each resolution with its Q number when its decision came from a Grill Q.\n\n### Outcome\n\n`Result` is `completed at cap` when cycle 2 changed the candidate or failed after cycle 1 changed it, else `completed`. `Cycles` counts reconciled cycles. Count findings per distinct root, last disposition wins: **folded**, **operator resolved** (a reopen also adds one open), **rejected** (including cut at 7), **open** (Risks items the pass left).\n\n### Dispatch failure\n\nPrint `Doubt pass dispatch failed: cycle \u003Cn>; class \u003Creason>; last line: \u003Cline | none>`. Offer only what applies: `1. Retry once` (once per cycle), `2. Skip` (not `irreversible`; before any reconciled cycle it records `reviewer dispatch failed — \u003Cshort reason>`, after cycle 1 it keeps cycle 1 as `completed at cap`), `3. Abort — nothing written`, `4. Accept cycle 1` (`irreversible` only, after cycle 2's retry, when cycle 1 changed the candidate). Never substitute a same-family review.\n\n## Phase 4 — Confirm\n\nThe Confirm gate runs on every entry to Confirm, including after any candidate change:\n\n1. Refresh each premise's level by the promotion and demotion rule, clearing an override whose claim or level changed.\n2. Add any premise a current Decision or Scope row newly relies on.\n3. Show the candidate.\n4. For each `unchecked` premise without a non-empty override, ask for a reason or `abort`:\n\n   ```text\n   These claims would defeat the ticket, and nothing has checked them. Give each a reason, or abort.\n   Fast path: `P1: \u003Creason>`.\n   ```\n\n   A host that cannot wait prints `premise override needs an operator — stopping` and writes nothing.\n5. Write the replies onto `**Override:**` lines.\n6. Offer the menu. No temp exists while the menu waits.\n\nShow `Tier: \u003Clevel>`, the basis line, any tier finding as advisory evidence, and:\n\n```text\nDoubt pass: \u003Ccompleted in N cycle(s) | completed at cap (N cycle(s)) | skipped — \u003Creason>>\n```\n\nThen the author-choice summary, when the author made a choice:\n\n```text\nAuthor choices. No reply is needed to agree with a line you do not name.\n\nF-1. \u003Cwhat it was>. Adopted. \u003Cwhy>. Decision text edited.\nF-2. \u003Cwhat it was>. Rejected. \u003Cwhy>.\n```\n\n`Decision text edited` ends a line whose fold edited a Decision's text. When the Grill summary carries a line whose trimmed text is exactly `Redaction: fired` (`skills\u002Fgrilling\u002FSKILL.md:176`), print once per run, here: `A value here looks like a credential and was redacted. Treat it as exposed and rotate it with \u002Fkey-rotation. If this was ordinary text, ignore this line.` Do not invoke key-rotation or wait for a reply. At cap, print `Final reconciliation edits were not re-reviewed`; when cycle 2 failed, `Cycle 2 failed; only cycle 1 completed`. Then:\n\n```text\nWrite the brief?\n\n1. Write the brief to docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md.\n2. Revise one answer. Name the question number. That decision, and what hangs on it, is asked again.\n3. Abort. This writes nothing.\n4. Change the tier. The tier prompt is shown again.\n```\n\nAn empty reply does not write.\n\n**Summary replies.** Naming an author-choice line is not option 2 and spends no round; not naming one agrees with it. Keep leaves it. Reverse restores the pre-fold text, or applies the reviewer's concrete edit after checking any fact it states against the live source; if neither text exists, ask again. A reverse uses only text the reviewer saw, so it does not void the pass, but a reverse that changes a premise or Decision re-runs the Confirm gate. Reopen adds a Risks item ending \"spec author pins this\", removes the Decision only when it is the finding's target, and voids the pass. A reply that says write and also reverses applies every reverse first, then writes; write plus reopen does not write.\n\n**Option 4** re-shows the tier half of the prompt. A non-tweak choice updates `## Tier` and returns to the menu; `tweak` takes the tweak exit. `irreversible` with no eligible reviewer prints the irreversible message and keeps the previous tier. A completed doubt result stands under the new tier; a skipped one runs Phase 3's gate again under it, and under `irreversible` that runs the pass.\n\n**Option 2** re-invokes `grilling` with the Grill summary as `prior_summary` and the same caps; grilling owns the single post-cap round, and this skill offers option 2 at most once after a cap hit. Before resuming, carry batch resolutions: amend Q-linked Settled items in `prior_summary` (keep, replace, or reopen to Open as `(Q\u003Cn>) … unresolved because: deferred`); pass Q-less resolutions in `seed` as operator-settled constraints. After the resume, a returned decision that conflicts with a kept resolution goes through the operator batch before Phase 3 runs again. Map only the new or changed items by Phase 5's rules, renumber the lists you changed, and refresh the `Interview:` References bullet.\n\n**Under `--no-grill`**, option 2 reads `2. Add a decision (state it) — appended to Decisions carried forward`. Decisions come only from decisions the ticket states explicitly, each with its quote or `path:line`; anything inferred goes to Risks ending \"spec author pins this\".\n\n**Void rule.** A revision, an added decision, or a summary reopen voids the doubt result: drop the `## Doubt pass` block and re-enter Phase 3 at cycle 1 under the current tier. Reviewer output is never reused.\n\n## Phase 5 — Write\n\nWrite `docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md`: the exact candidate the operator confirmed, with one `## Doubt pass` block. Never re-apply the mapping rules here. The brief has exactly these sections, in this order (`\u002Fspec-cycle` parses several of them):\n\n```\n# \u003CTICKET-ID> — \u003Ctitle>\n**Status:** … · **Priority:** … · **Assignee:** …\n**Created:** \u003CYYYY-MM-DD> · **Plane:** \u003CTICKET-ID> (\u003Cuuid>, \u003Cstate>) | unresolved (local-only)\n**Comments:** \u003Cn> read, \u003Cc> carried | not read\n**Origin:** \u003Cone paragraph: where this came from>\n\n## Problem\n## Why it matters\n## Scope (verified against current files, \u003Cdate>)\n## Decisions carried forward\n## Premises\n## Done when\n## Out of scope\n## Tier\n## Scale            (conditional — see the emission rule below)\n## Doubt pass\n## Risks \u002F decisions\n## References\n```\n\n`**Comments:**` is a header line under `**Plane:**`, not a new `##` section. The section list is unchanged.\n\n**`## Tier`**, immediately before the conditional `## Scale`, with the chosen level:\n\n```markdown\n## Tier\n\n**Level:** small\n```\n\n**`## Doubt pass`**, after `## Scale` (or `## Tier`) and before `## Risks \u002F decisions`. Completed:\n\n```markdown\n## Doubt pass\n\n**Result:** completed | completed at cap\n**Cycles:** 1 | 2\n**Outcome:** folded \u003Cn> fact\u002Fanchor findings; operator resolved \u003Cn> decision findings; rejected \u003Cn>; open \u003Cn>\n```\n\nSkipped:\n\n```markdown\n## Doubt pass\n\n**Result:** skipped\n**Reason:** \u003Creason>\n```\n\nThe reason is `operator declined[ — \u003Creason>]`, `no eligible cross-model reviewer`, or `reviewer dispatch failed — \u003Cshort reason>`. The section names no vendor or model and quotes no reviewer prose.\n\n**Write and the script result.** Create `docs\u002Fspecs\u002FTODO\u002F` if absent, and write the full content to the dot-prefixed temp `docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp`. Write the temp from the candidate after override lines are on the items. Then run the script and act on the exit:\n\n```bash\nCONFIG=\"${CLAUDE_CONFIG_DIR:-$HOME\u002F.claude}\"\nSCRIPT=\"$CONFIG\u002Fskills\u002Fspec-brief\u002Fscripts\u002Fcheck_premises.py\"\nTEMP=\"docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp\"\ncommand -v python3 >\u002Fdev\u002Fnull 2>&1 && python3 -c '' >\u002Fdev\u002Fnull 2>&1 && PY=python3 || PY=python\nif test -f \"$SCRIPT\"; then\n  \"$PY\" \"$SCRIPT\" \"$TEMP\"\nelse\n  echo \"not found at $SCRIPT — install with 'python sync.py install'\" >&2\n  exit 3\nfi\n```\n\n- Exit 0 → rename the temp onto the brief.\n- Exit 1 with at least one `premise:` line on stderr → print `premise gate: check_premises.py exited 1 — Write blocked` and the script's stderr, delete the temp, and return to the Confirm gate. You may repair only the format lines the printed codes name; `unchecked` and `override-empty` are the operator's, through the override prompt or Revise.\n- Anything else (exit 1 with no `premise:` line, exit 2, exit 3 from the snippet, a missing interpreter, a timeout) → print `premise gate: check_premises.py did not run (\u003Creason>) — writing without the check` and rename the temp. If the rename fails, print it and return to the Confirm gate.\n\n**Mapping rules.** Phase 3 applies these once, to render the candidate.\n\n- `## Problem`, `## Why it matters` and `## Done when` are transcribed from the ticket text (or the local-only paragraph), never inferred; after that only a verified fold or an operator replacement changes them. A followed comment that asks for work lands in Problem, Scope, or Out of scope; one that records a decision may land in Decisions carried forward. A carried work request the brief does not follow is fenced in Out of scope with its citation. Not-carried comments are never a source.\n- Local-only header: `**Status:** local-only · **Priority:** unset · **Assignee:** unassigned`, and `**Comments:** not read`.\n- A Settled decision framed as a fence (\"X is not in scope\") → `## Out of scope`.\n- Other Settled items → `## Decisions carried forward`, numbered, each with the chosen branch and a one-line why. If none, write `_(none settled — see Risks \u002F decisions)_` and print `warning: interview settled no decisions — the brief pins everything to the spec author`.\n- `## Premises` follows Decisions and is always present, in the § Premises shape.\n- Open items → `## Risks \u002F decisions`, numbered: `\u003Citem> — not established[ (\u003Cgrilling's short reason>)]; spec author pins this`, or with a `claim:` field, `\u003Citem> — operator claims \"\u003Cclaim>\", unverified[ (\u003Creason>)]; spec author pins this`. Copy grilling's redacted `claim:` value as is.\n- `## Scope` gets one row per path a settled decision or `path:line` fact names: `Current` from the fact with its `path:line`, `Change` from the decision. A `source: run:` fact never backs a Scope row or fills Current. A path with no fact behind it goes to Risks. The heading date is the grounding date; after `origin: behind-N` it reads `## Scope (verified against current files, \u003Cdate>; local tree \u003CN> commits behind origin\u002F\u003Ccmp>)` with a matching References bullet.\n- Facts established → `## References` with `path:line`, or in the run shape `(source: run: \"\u003Ccommand>\"; exit: \u003Cinteger>; excerpt: \"\u003Ctext>\")`.\n- The final References bullet is `Interview: \u003Cn> rounds, exit \u003Ctoken>` (with grilling's reason in parentheses when it is `no candidate decision met the altitude fence`), or `Interview: skipped (--no-grill)`.\n\n**`## Scale`** — four cases:\n\n- Settled as a factor with a target → `**Factor:** yes` and `**Target:** \u003CN>` (plus `**Dimensions:**` if given).\n- Settled as a factor without a target → no section; add `Scale target — the operator settled scale as a factor but no target N was obtained; spec author pins this` to Risks and print `warning: scale factor settled without a target — section not emitted`. Never emit `**Factor:** yes` without a target: `\u002Fspec-cycle` drops it as malformed.\n- Settled as not a factor → `**Factor:** no`.\n- Never asked → no section.\n\nUnder `--no-grill`, apply the same cases to a scale statement the ticket makes explicitly.\n\nThen print:\n\n```\n=== BRIEF WRITTEN: \u003CTICKET-ID> ===\nPath: docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md\nInterview: \u003Cn> rounds, exit \u003Ctoken>; \u003Cs> settled, \u003Co> open   |   skipped (--no-grill)\nTicket: \u003Ctracker | local-only>\n\n=== NEXT ===\n\u002Fspec-cycle docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md\n```\n\nCount `\u003Cs>` and `\u003Co>` from the written brief.\n\n## What \u002Fspec-brief never does\n\nIts only filesystem mutations are creating `docs\u002Fspecs\u002FTODO\u002F`, writing and renaming its temp onto the brief, and removing a stale temp of its own shape. It never creates or transitions a ticket, writes a review report, writes before the operator confirms, writes when exit 1 blocks, raises a level to pass the gate, commits, updates the tree, invokes `\u002Fspec-cycle`, or changes a chosen branch, a fence, the tier, or the threat model without the operator.\n\n## Tool-use notes\n\n- Read, Grep, and read-only or ref-only Bash (`git fetch origin` bounded by a timeout, `git rev-list`, `git status`), plus the mutations above and the bounded `check_premises.py` run, which only reads the temp.\n- Agent for the Phase 1 exploration; the Phase 3 reviewer is a read-only native agent, skill, or command-line tool of another model family.\n- Skill for `grilling`.\n- The tracker's read capability, optional, and its comment-list capability after a successful read.\n\n## Failure modes\n\n- **Ticket unresolvable** → local-only mode; the seed gate still applies. The comment list is not attempted, and the header says the comments were not read.\n- **Comment list failed** → one warning, the brief is still written from the description, and the header says the comments were not read.\n- **Wiki path missing** → skip grounding step 2.\n- **Host cannot invoke a nested skill** → halt naming `--no-grill`.\n- **Doubt dispatch never returns** → it blocks the run; use the longest timeout the host offers and print the bound when it times out.\n","# \u002Fspec-brief — produce the brief\n\nInvoked as:\n\n```\n\u002Fspec-brief \u003CTICKET-ID>                                  # ticket + grilled interview, the default\n\u002Fspec-brief \u003CTICKET-ID> --no-grill                       # skip the interview; still confirms before writing\n\u002Fspec-brief \u003CTICKET-ID> --rounds N --questions N         # tune the interview's bounds\n```\n\nThe brief is the one artifact downstream review treats as authority: every `\u002Fspec-cycle` lens reads it as settled. A fork left open here surfaces later as a P0\u002FP1 against the spec, so settle forks here, in a bounded interview, and write what it produced.\n\n## Invocation\n\n- `\u003CTICKET-ID>` matches `^[A-Z][A-Z0-9]*-[0-9]+$`.\n- `--rounds 1-10` (default 3), `--questions 1-15` (default 7).\n- `--no-grill` skips only the interview. With cap flags, warn `--rounds\u002F--questions ignored under --no-grill` and continue; the default question cap still bounds Phase 1's exploration batch.\n- Anything else prints `Usage: \u002Fspec-brief \u003CTICKET-ID> [--no-grill] [--rounds 1-10] [--questions 1-15]` and stops.\n\n## Operator replies\n\nRead each reply for intent. Numbered lines are the fast path; a person may answer in their own words. Before acting, print `Reading: \u003Cwhat you will do>.` Ask again only on real ambiguity, and name it; keep every clear part of the reply. Silence or an empty reply is never yes. `abort` as the only non-blank line stops and writes nothing. An override needs a reason that is non-empty after trim. A host that cannot wait prints the prompt's stop line and writes nothing. These rules cover every prompt here except the interview, which `grilling` runs under its own rules.\n\n## Phase 0 — Preflight\n\n1. `project_root` = cwd. Read its project-instructions file (`CLAUDE.md`, or `AGENTS.md` where that holds the instructions). Resolve `wiki_root` and `project_slug` if a wiki is configured; if a hardcoded wiki path with a username does not exist, retry with the current user's name.\n2. **Output collision.** If only a stale `docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp` exists, remove it, log `stale temp removed`, and continue. If the brief, the spec, or `docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.reviews\u002F` exists, list what exists and offer `1. Write the brief` or `2. Abort. The files stay.`, then wait. On 1, an existing brief is read as grounding; a spec is never read as grounding. Never overwrite silently.\n3. **Origin sync (warn only).** Run a bounded `git fetch origin`. If the current branch is behind its origin branch, print `ORIGIN SYNC: local \u003Cbranch> is \u003CN> commits behind origin\u002F\u003Ccmp> — the brief's \"verified against current files\" claim may be stale.` and log `origin: behind-N`. Any git error, no remote, or detached HEAD logs `origin: skipped`. Never update the tree.\n4. **Ticket resolution.** Uppercase the identifier first; a lower-case ref is not found. Read it with the issue tracker's retrieve-by-identifier capability (e.g., `mcp__claude_ai_Plane__workitem` with `action: retrieve_by_identifier`, `workitem_identifier: \"\u003CTICKET-ID>\"`, `fields: \"id,name,state,description_stripped,priority,assignees,created_at,project\"` and `expand: \"state\"` in Claude Code, or the equivalent in your host; load the tool first if your host defers tool schemas). `id` is the header `\u003Cuuid>`, `state.name` the `\u003Cstate>`, `created_at` the `**Created:**` date, `name` the title, `description_stripped` the description and `priority` `**Priority:**`. `assignees` holds member ids: print the id, and `unassigned` only for an empty list. A field you did not request comes back null, or `[]` for an array, and that never means the ticket lacks it. On a failed read, print `ticket: could not read \u003CTICKET-ID> from the issue tracker (\u003Cerror>) — continuing without it. Usually a login problem: re-authenticate the tracker connection.` (`\u003Cerror>` is `no tracker connected` when no tracker tool is connected), then `ticket: unresolved (local-only) — describe the problem in a paragraph and I will proceed from that.`, and wait. On not-found, print `ticket: \u003CTICKET-ID> not found in the issue tracker — continuing without it.`, then that same unresolved line, and wait. The brief header stays `**Plane:** unresolved (local-only)`. No retry and no cache; warn once per run.\n\nA successful read then lists that ticket's comments. A failed or not-found read does not attempt the list, prints no second warning, and the header is `**Comments:** not read`.\n\n`project_id` is the `project` string and `workitem_id` is the `id` string, never the identifier. Either value missing or not a non-empty string is a failed comment read. Do not guess a project id and do not open `skills\u002Fship-spec\u002Fstates.json`. Use the string the read returned.\n\nList with the tracker's comment-list capability (e.g., `workitem_comment` with `action: list`, or the equivalent in your host; load the tool first if your host defers tool schemas). `per_page` is 100. While `next_page_results` is true, pass `next_cursor` as the next `cursor`. `next_cursor` is present on the last page too, so `next_page_results` is the stop signal. Any failed call is a failed comment read: discard what was collected. No retry and no cache.\n\nJudge `comment_stripped`. Do not filter on `access`, `created_by`, or `created_via`, and do not parse `comment_html`. Blank or missing stripped text is not carried, and the comment still counts as read. Stripped text that is empty after trim is blank.\n\nCarry a comment that asks for work on this ticket or records a decision about it. Do not carry a pure status report. A comment that both reports status and asks for work, or both reports status and records a decision, is carried whole. These shapes are examples, not a filter. `PR opened: \u003Cpr-url>` is status, including extra sentences that only report what that PR contained or that tests passed. The post-merge checklist `land_check.py` builds begins `Post-merge checklists for PR #` and its last line begins `spec-land:checklist PR #`; unchecked boxes in it are the merged PR's test plan, not work for this brief. A request or a decision in the same comment carries the whole comment.\n\n`n` is the number of comments read and `c` is how many of those were carried. A finished list, including zero comments, sets the header to `**Comments:** \u003Cn> read, \u003Cc> carried`.\n\nA carried comment that contradicts `description_stripped` wins. Between two carried comments that contradict each other, the later readable `created_at` wins. Compare `created_at` as times; a missing or unreadable one loses. Cite a comment the brief follows as `comment \u003CYYYY-MM-DD HH:MM> on \u003CTICKET-ID>`, taken from `created_at` as written. Never cite `created_by`, `actor`, or `created_via`. `created_by` is not a signal. A carried comment that loses is not operative text. There is no contradiction parser: you judge, Confirm shows the citation, and `ticket_contract` holds each carried or not-carried label so the doubt pass can challenge the selection.\n\nOn a failed comment read, print this once and still write the brief from the description. The header says the comments were not read.\n\n```text\ncomments: could not read comments on \u003CTICKET-ID> (\u003Cerror>) — continuing from the description.\n```\n\n`\u003Cerror>` is `no tracker connected` when no comment-list tool is connected, `missing id or project` when either value is missing or empty, and the tool's error otherwise. When `\u003Cerror>` is `no tracker connected` or the tool's own error, add ` Usually a login problem: re-authenticate the tracker connection.` When `\u003Cerror>` is `missing id or project`, stop after the first sentence.\n\n5. Print `ticket: \u003Ctracker | local-only> · wiki: \u003Cresolved|none> · origin: \u003Ctoken> · grill: on (rounds=N, questions=M) | off (--no-grill)`.\n\n## Phase 1 — Grounding (read-only)\n\nRetrieval-first, stopping when the seed is sufficient:\n\n1. The ticket text, or the local-only paragraph. Ticket text is `description_stripped` plus each carried comment with its date and citation, after step 4's contradiction rule. A not-carried comment is not ticket text. On a failed comment read, ticket text is the description only.\n2. If `wiki_root` resolved: `\u003Cwiki_root>\u002Fprojects\u002F\u003Cproject_slug>\u002Fstate.md` (header plus touched sections) and `filemap.md`.\n3. The files the ticket names.\n\nA gap that asks what execution does is not grounding, even when a file states the result. Put it in the seed labelled `needs a run`; grilling's per-fact rule (`skills\u002Fgrilling\u002FSKILL.md` § Fact-finding) decides how it is answered. Under `--no-grill` it becomes the Risks item `\u003Cfact needed> — not established (needs a run); spec author pins this`.\n\n4. Only for code-text gaps left after 1-3: dispatch the narrowest read-only exploration agent (Claude Code: `Explore`, or the equivalent in your host), never a general-purpose agent. Ask for `path:line` evidence only, no mutations of any kind, and `not found` rather than an exhaustive search. One parallel batch of at most `question_cap`. A failed dispatch becomes a fact request in round 1, or under `--no-grill` the Risks item `\u003Cfact needed> — not established (exploration failed); spec author pins this`.\n\nAssemble `seed`: the problem statement, established facts with sources, related open tickets the ticket names, and each `needs a run` gap. Print `grounding: \u003Cn> files read, \u003Cm> explorations dispatched (\u003Cf> failed)`.\n\n## Seed gate\n\nRuns in every mode. If the ticket text (or the local-only paragraph) states no problem — under two sentences, or nothing a decision could hang off — ask once (`Ticket \u003CID> states no problem — describe it in a paragraph and I will proceed from that.`), then halt with nothing written. Grilling's `empty-seed` exit halts the same way. `ticket_contract`, held here for the doubt pass, is the description (or the local-only paragraph) plus every comment read, newest-first, each with its date, `carried: yes` or `carried: no`, and its stripped text, plus any paragraph collected here labelled `Seed-gate paragraph:`. On a failed comment read the contract is the description plus any Seed-gate paragraph. The seed and this gate use ticket text, not the not-carried comments.\n\n## Tier gate\n\nRuns after the seed gate, in every mode. Nothing writes a tier the operator did not choose. Print one prompt:\n\n```text\nTier. Pick one. This sets how much review the brief gets.\n\nRecommended: \u003Ctweak|big>. basis: \u003Cfiles, lines, surfaces>\n\n1. tweak. This writes nothing.\n2. small. A small change.\n3. big. The normal review.\n4. irreversible. Hard to undo. The doubt pass must run.\n\nThese claims would make the ticket pointless if false:\n  P1. \u003Cclaim> (\u003Clevel>)\nAgree, or name a claim that is missing.\n```\n\nWith no candidate claims, the second half reads `No claim would make this ticket pointless if false. Agree, or name one.` (§ Premises defines a claim and its level.) A missing claim the operator names is added at the level you can support. A listed claim the operator says would not defeat the ticket is dropped. A reply that answers only one half is asked again for the other half only. A host that cannot wait prints `tier needs an operator — stopping` and writes nothing.\n\n**Tweak hint.** Recommend `tweak` only when the ticket and grounding name at most 2 files, under about 50 lines, touching no auth, payments, data migrations, or config\u002FCI; otherwise recommend `big`. The `basis:` line names the files, lines and surfaces. The recommendation is advisory; the operator always picks.\n\n`tweak` records no premises and writes nothing. If Phase 0 step 2 found artifacts and the operator chose to write, print their paths and say they stay actionable until removed; spec-brief deletes nothing. Otherwise print:\n\n```text\n=== NO BRIEF WRITTEN: \u003CTICKET-ID> ===\nTier: tweak\nbasis: \u003Cfiles, lines, surfaces>\n\n=== NEXT ===\nNo lifecycle — ship as a chore PR citing the ticket; the ticket's state and closing comment are yours to set.\n```\n\nFor `small`, `big` or `irreversible`, resolve the reviewer (below), then run the interview, or Phase 3 under `--no-grill`.\n\n### Doubt-pass reviewer\n\nFind a fresh-context reviewer from a different model family: a native agent, an installed skill, or a command-line tool. It is eligible only when its own instructions, configuration or runtime output state a family different from yours (never infer one from a tool's name), it runs read-only, and its final response is readable apart from progress output without a file. Prefer its configured default model. Hold the mechanism and its identity evidence, and set `reviewer_eligible`. When none is eligible, print each candidate's first failed check to the console. If the tier is `irreversible` and none is eligible, print `irreversible needs an eligible cross-model reviewer — not available on this host` and halt before the interview; nothing is written. No tier ever substitutes a same-family review.\n\n## Premises\n\nA premise is a factual claim that would make the ticket pointless if false. Only such claims are listed. A requirement, a preference and a settled decision are not premises. Three levels:\n\n- `unchecked` — no source, only the operator's word, or a claim about what code does when it runs that only a file backs. Source is `none` or a short note.\n- `read` — a claim about what a named file's text says, and you opened the cited `path:line` in this run. Source is that `path:line`. A claim about what code does when it runs is never `read`, even when a file states the result.\n- `ran` — a `source: run:` record from this invocation's Grill summary, under Facts established, that supports the whole claim and exercises the real code or system, not a mock. Source is the record from `source: run:` through the excerpt's closing quote (shape: `skills\u002Fgrilling\u002FSKILL.md` § Run record).\n\n```markdown\n## Premises\n\n1. **P1.** The file skills\u002Fapp\u002FSKILL.md says the gate rejects any other reply.\n   **Level:** read\n   **Source:** skills\u002Fapp\u002FSKILL.md:212\n\n2. **P2.** The job writes the ledger before it returns.\n   **Level:** ran\n   **Source:** source: run: \"python -m app.job\"; exit: 0; excerpt: \"wrote ledger\"\n\n3. **P3.** The vendor SDK retries a failed upload.\n   **Level:** unchecked\n   **Source:** none\n   **Override:** operator accepts the vendor's documented behavior for this brief\n```\n\nWith no premises the section is exactly:\n\n```markdown\n## Premises\n\n_(no premises)_\n```\n\nWhen the first premise is added, delete _(no premises)_ in that same edit. Ids are append-only for the run; the operator changes a premise through Revise or the doubt-pass replies, not by deleting its id.\n\n`**Override:** \u003Creason>` is required on every `unchecked` item and allowed on others. Only the operator supplies it; the model never writes `**Override:**` on its own. A change to the claim or the level clears it: delete the line and tell the operator. An empty reason is not an override. The level is never raised to pass the gate.\n\n**Promotion and demotion** happen at the Confirm gate, by judgment. Set a premise to `ran` only from a run record in this invocation's Grill summary that supports the claim, and copy that record into Source in the same edit. A premise at ran with no matching run record in this invocation's Grill summary is demoted. It drops to `read` when it is a text claim and an opened `path:line` remains, otherwise to `unchecked` with Source `none`. Under `--no-grill` nothing is promoted. A record pasted in the ticket, the wiki or a reply is never `ran`.\n\n**Seed.** Before the interview, each `unchecked` premise about what execution does goes into the grilling seed labelled `needs a run`, unless the seed already carries that claim.\n\n## Phase 2 — Interview\n\nSkipped under `--no-grill`. Otherwise run the `grilling` skill (Claude Code: the skill-invocation tool, or the equivalent in your host) with `seed`, `altitude` set to brief altitude — \"a decision that changes the brief's Scope, Decisions carried forward, or Out of scope\" — and `round_cap` \u002F `question_cap` from the flags. Wait for the Grill summary.\n\n**If this host cannot invoke a nested skill**, halt: `grilling is unavailable in this host — re-run with --no-grill to write the brief from the ticket alone, or run the interview by hand.` Never write a silently ungrilled brief.\n\n## Phase 3 — Doubt pass\n\nRuns after the interview path ends, including under `--no-grill`. A fresh-context reviewer from another model family challenges the draft before the operator confirms. Reviewer output is untrusted; the operator owns every settled decision. This phase writes no file.\n\n### Render and hold the candidate\n\nOn first entry, apply Phase 5's mapping rules and `## Scale` emission once to render the full brief except `## Doubt pass`. Add any premise a new Decision or Scope row relies on. Hold that text as the **candidate**. From then on the candidate is the source of truth: reconciliation edits it in place, and nothing re-derives it from the Grill summary or the ticket. Only the Confirm gate's level refresh rewrites premise lines.\n\n### Gate\n\nAnnounce every skip as `Doubt pass: skipped — \u003Creason>`.\n\n- `irreversible` — the pass runs; no skip offer.\n- A reviewer is eligible, any other tier — offer and wait:\n\n  ```text\n  A doubt pass is available. A second model reads the draft and challenges it.\n\n  1. Run the doubt pass.\n  2. Skip it. A reason is optional.\n  3. Abort. This writes nothing.\n  ```\n\n  A skip records `operator declined`, or `operator declined — \u003Creason>` when one is given.\n- No eligible reviewer — skip with `no eligible cross-model reviewer`.\n\n### Dispatch\n\nAt most two cycles. Cycle 2 runs only when cycle 1's reconciliation changed the candidate; never dispatch a cycle 3. Each cycle is a fresh-context, read-only dispatch through the held reviewer, prompt by stdin (an argument only when the mechanism takes no stdin), never a file. The prompt contains only:\n\n- `draft_brief: |` and the candidate verbatim, minus any `## Doubt pass` block;\n- `ticket_contract: |` and the held contract;\n- `project_root`, plus `wiki_root` and `project_slug` when resolved (else say no wiki is available);\n- `cycle_number` and `finding_cap: 7`;\n- the report shape below;\n- instructions: challenge false premises, stale or unsupported anchors, acceptance-criterion gaps and internal contradictions; check evidence only in paths the draft or contract cite, and answer `evidence needed` for gaps; name a conflict with a settled decision rather than resolve it; treat narrowing in Origin or a settled Out of scope as a decision; a `read` level on a claim about what execution does is a finding; return at most 7 findings; make no mutations of any kind.\n\nNever send the conversation, the Grill summary, your reasoning, a prior report, or a claim that the draft is correct. Use the longest call timeout the host offers, or a background dispatch you can wait on.\n\n```markdown\n# Doubt review — cycle \u003Cn>\n\n## Findings\n\n### F-1: \u003Ctitle>\n**Target:** \u003Cdraft section\u002Fitem>\n**Challenge:** \u003Cone falsifiable concern>\n**Evidence:** \u003Cticket quote, path:line, or evidence needed>\n**Suggested change:** \u003Cconcrete draft edit or operator question>\n**Decision touched:** \u003Cdecision number\u002Ftitle | none>\n\n## Summary\nFindings: 1\n\nSTATUS: DOUBT FINDINGS=1\n```\n\n**Read the result.** A host error or timeout is a dispatch failure. Check the run's provider or model line against the held identity; missing or mismatched is a dispatch failure. Read only the final response. It fails only when empty, or when it has neither a readable finding nor an explicit clean statement (such as `STATUS: READY`); classify imperfect findings yourself. Keep the first 7 findings and count the rest as rejected.\n\n### Reconcile\n\nClassify every kept finding before editing. You own the classification.\n\n**Effect test first.** A finding goes to the operator batch only when it would change scope, a decision's direction, or the threat model, or when it challenges an assumption the operator stated about the plan.\n\n- **Direction** means the chosen branch changes: a different option, a reversed fence, a scope row or acceptance criterion added or removed. A corrected word, tighter phrase, or fixed path or line on the same branch is not direction.\n- **Threat model** means who is trusted, what the skill refuses, or what is treated as secret.\n- A finding that is both a wording fix and a direction change goes to the batch whole.\n- A finding whose only effect is the tier is advisory at Confirm; only option 4 changes the tier.\n- A Scale finding becomes a Risks item ending \"spec author pins this\", unless it reverses a settled scale decision, which goes to the batch.\n\nEverything else is the author's, in this order:\n\n1. **Contract misread** — asks for something outside the ticket or brief contract, or misreads the draft. Reject with one line of evidence.\n2. **Fact or anchor** — a fact, count, path, anchor, current behavior, or a premise's level, claim or source. Open the live source; reviewer prose is a lookup hint, never evidence. True: fold it with its `path:line`. Disproved: reject. Cannot be established: add a Risks item ending \"spec author pins this\". A fold never raises a level to `ran` without the run record, never deletes a valid `source: run:` record, and never turns a `needs a run` Risks item into a `path:line` fact.\n3. **Trade-off** — a purely technical trade-off is the author's call, recorded in the summary.\n4. **Noise or duplicate** — reject with a one-line reason.\n\nFolds may edit wording, precision and anchors in any section, including Decision text, but never a chosen branch, an Out of scope fence, or a Done-when meaning. Work in order: classify all, verify facts, compose findings that target the same text into one result, edit, run the batch, then re-read every changed section and its consumers. Record one summary line per author disposition.\n\n**Operator batch.** Only when at least one finding escalated. Show at most 7 per cycle as `F-\u003Cn>`, each with the settled text, the challenge, and what you checked. Print:\n\n```text\nThese findings would change the plan: scope, a decision's direction, the threat model, or an assumption you stated.\nFor each, say keep, replace, or reopen. Fast path: `F-1: keep`, `F-1: replace: \u003Ctext>`, `F-1: reopen`.\n`abort` as the only line stops and writes nothing.\n```\n\nKeep: the text stands. Replace: apply the new text and update every consumer; it must not change the tier. Reopen: remove the decision and add a Risks item ending \"spec author pins this\". Ask again only for findings no reply addressed. Hold each resolution with its Q number when its decision came from a Grill Q.\n\n### Outcome\n\n`Result` is `completed at cap` when cycle 2 changed the candidate or failed after cycle 1 changed it, else `completed`. `Cycles` counts reconciled cycles. Count findings per distinct root, last disposition wins: **folded**, **operator resolved** (a reopen also adds one open), **rejected** (including cut at 7), **open** (Risks items the pass left).\n\n### Dispatch failure\n\nPrint `Doubt pass dispatch failed: cycle \u003Cn>; class \u003Creason>; last line: \u003Cline | none>`. Offer only what applies: `1. Retry once` (once per cycle), `2. Skip` (not `irreversible`; before any reconciled cycle it records `reviewer dispatch failed — \u003Cshort reason>`, after cycle 1 it keeps cycle 1 as `completed at cap`), `3. Abort — nothing written`, `4. Accept cycle 1` (`irreversible` only, after cycle 2's retry, when cycle 1 changed the candidate). Never substitute a same-family review.\n\n## Phase 4 — Confirm\n\nThe Confirm gate runs on every entry to Confirm, including after any candidate change:\n\n1. Refresh each premise's level by the promotion and demotion rule, clearing an override whose claim or level changed.\n2. Add any premise a current Decision or Scope row newly relies on.\n3. Show the candidate.\n4. For each `unchecked` premise without a non-empty override, ask for a reason or `abort`:\n\n   ```text\n   These claims would defeat the ticket, and nothing has checked them. Give each a reason, or abort.\n   Fast path: `P1: \u003Creason>`.\n   ```\n\n   A host that cannot wait prints `premise override needs an operator — stopping` and writes nothing.\n5. Write the replies onto `**Override:**` lines.\n6. Offer the menu. No temp exists while the menu waits.\n\nShow `Tier: \u003Clevel>`, the basis line, any tier finding as advisory evidence, and:\n\n```text\nDoubt pass: \u003Ccompleted in N cycle(s) | completed at cap (N cycle(s)) | skipped — \u003Creason>>\n```\n\nThen the author-choice summary, when the author made a choice:\n\n```text\nAuthor choices. No reply is needed to agree with a line you do not name.\n\nF-1. \u003Cwhat it was>. Adopted. \u003Cwhy>. Decision text edited.\nF-2. \u003Cwhat it was>. Rejected. \u003Cwhy>.\n```\n\n`Decision text edited` ends a line whose fold edited a Decision's text. When the Grill summary carries a line whose trimmed text is exactly `Redaction: fired` (`skills\u002Fgrilling\u002FSKILL.md:176`), print once per run, here: `A value here looks like a credential and was redacted. Treat it as exposed and rotate it with \u002Fkey-rotation. If this was ordinary text, ignore this line.` Do not invoke key-rotation or wait for a reply. At cap, print `Final reconciliation edits were not re-reviewed`; when cycle 2 failed, `Cycle 2 failed; only cycle 1 completed`. Then:\n\n```text\nWrite the brief?\n\n1. Write the brief to docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md.\n2. Revise one answer. Name the question number. That decision, and what hangs on it, is asked again.\n3. Abort. This writes nothing.\n4. Change the tier. The tier prompt is shown again.\n```\n\nAn empty reply does not write.\n\n**Summary replies.** Naming an author-choice line is not option 2 and spends no round; not naming one agrees with it. Keep leaves it. Reverse restores the pre-fold text, or applies the reviewer's concrete edit after checking any fact it states against the live source; if neither text exists, ask again. A reverse uses only text the reviewer saw, so it does not void the pass, but a reverse that changes a premise or Decision re-runs the Confirm gate. Reopen adds a Risks item ending \"spec author pins this\", removes the Decision only when it is the finding's target, and voids the pass. A reply that says write and also reverses applies every reverse first, then writes; write plus reopen does not write.\n\n**Option 4** re-shows the tier half of the prompt. A non-tweak choice updates `## Tier` and returns to the menu; `tweak` takes the tweak exit. `irreversible` with no eligible reviewer prints the irreversible message and keeps the previous tier. A completed doubt result stands under the new tier; a skipped one runs Phase 3's gate again under it, and under `irreversible` that runs the pass.\n\n**Option 2** re-invokes `grilling` with the Grill summary as `prior_summary` and the same caps; grilling owns the single post-cap round, and this skill offers option 2 at most once after a cap hit. Before resuming, carry batch resolutions: amend Q-linked Settled items in `prior_summary` (keep, replace, or reopen to Open as `(Q\u003Cn>) … unresolved because: deferred`); pass Q-less resolutions in `seed` as operator-settled constraints. After the resume, a returned decision that conflicts with a kept resolution goes through the operator batch before Phase 3 runs again. Map only the new or changed items by Phase 5's rules, renumber the lists you changed, and refresh the `Interview:` References bullet.\n\n**Under `--no-grill`**, option 2 reads `2. Add a decision (state it) — appended to Decisions carried forward`. Decisions come only from decisions the ticket states explicitly, each with its quote or `path:line`; anything inferred goes to Risks ending \"spec author pins this\".\n\n**Void rule.** A revision, an added decision, or a summary reopen voids the doubt result: drop the `## Doubt pass` block and re-enter Phase 3 at cycle 1 under the current tier. Reviewer output is never reused.\n\n## Phase 5 — Write\n\nWrite `docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md`: the exact candidate the operator confirmed, with one `## Doubt pass` block. Never re-apply the mapping rules here. The brief has exactly these sections, in this order (`\u002Fspec-cycle` parses several of them):\n\n```\n# \u003CTICKET-ID> — \u003Ctitle>\n**Status:** … · **Priority:** … · **Assignee:** …\n**Created:** \u003CYYYY-MM-DD> · **Plane:** \u003CTICKET-ID> (\u003Cuuid>, \u003Cstate>) | unresolved (local-only)\n**Comments:** \u003Cn> read, \u003Cc> carried | not read\n**Origin:** \u003Cone paragraph: where this came from>\n\n## Problem\n## Why it matters\n## Scope (verified against current files, \u003Cdate>)\n## Decisions carried forward\n## Premises\n## Done when\n## Out of scope\n## Tier\n## Scale            (conditional — see the emission rule below)\n## Doubt pass\n## Risks \u002F decisions\n## References\n```\n\n`**Comments:**` is a header line under `**Plane:**`, not a new `##` section. The section list is unchanged.\n\n**`## Tier`**, immediately before the conditional `## Scale`, with the chosen level:\n\n```markdown\n## Tier\n\n**Level:** small\n```\n\n**`## Doubt pass`**, after `## Scale` (or `## Tier`) and before `## Risks \u002F decisions`. Completed:\n\n```markdown\n## Doubt pass\n\n**Result:** completed | completed at cap\n**Cycles:** 1 | 2\n**Outcome:** folded \u003Cn> fact\u002Fanchor findings; operator resolved \u003Cn> decision findings; rejected \u003Cn>; open \u003Cn>\n```\n\nSkipped:\n\n```markdown\n## Doubt pass\n\n**Result:** skipped\n**Reason:** \u003Creason>\n```\n\nThe reason is `operator declined[ — \u003Creason>]`, `no eligible cross-model reviewer`, or `reviewer dispatch failed — \u003Cshort reason>`. The section names no vendor or model and quotes no reviewer prose.\n\n**Write and the script result.** Create `docs\u002Fspecs\u002FTODO\u002F` if absent, and write the full content to the dot-prefixed temp `docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp`. Write the temp from the candidate after override lines are on the items. Then run the script and act on the exit:\n\n```bash\nCONFIG=\"${CLAUDE_CONFIG_DIR:-$HOME\u002F.claude}\"\nSCRIPT=\"$CONFIG\u002Fskills\u002Fspec-brief\u002Fscripts\u002Fcheck_premises.py\"\nTEMP=\"docs\u002Fspecs\u002FTODO\u002F.\u003CTICKET-ID>.brief.md.tmp\"\ncommand -v python3 >\u002Fdev\u002Fnull 2>&1 && python3 -c '' >\u002Fdev\u002Fnull 2>&1 && PY=python3 || PY=python\nif test -f \"$SCRIPT\"; then\n  \"$PY\" \"$SCRIPT\" \"$TEMP\"\nelse\n  echo \"not found at $SCRIPT — install with 'python sync.py install'\" >&2\n  exit 3\nfi\n```\n\n- Exit 0 → rename the temp onto the brief.\n- Exit 1 with at least one `premise:` line on stderr → print `premise gate: check_premises.py exited 1 — Write blocked` and the script's stderr, delete the temp, and return to the Confirm gate. You may repair only the format lines the printed codes name; `unchecked` and `override-empty` are the operator's, through the override prompt or Revise.\n- Anything else (exit 1 with no `premise:` line, exit 2, exit 3 from the snippet, a missing interpreter, a timeout) → print `premise gate: check_premises.py did not run (\u003Creason>) — writing without the check` and rename the temp. If the rename fails, print it and return to the Confirm gate.\n\n**Mapping rules.** Phase 3 applies these once, to render the candidate.\n\n- `## Problem`, `## Why it matters` and `## Done when` are transcribed from the ticket text (or the local-only paragraph), never inferred; after that only a verified fold or an operator replacement changes them. A followed comment that asks for work lands in Problem, Scope, or Out of scope; one that records a decision may land in Decisions carried forward. A carried work request the brief does not follow is fenced in Out of scope with its citation. Not-carried comments are never a source.\n- Local-only header: `**Status:** local-only · **Priority:** unset · **Assignee:** unassigned`, and `**Comments:** not read`.\n- A Settled decision framed as a fence (\"X is not in scope\") → `## Out of scope`.\n- Other Settled items → `## Decisions carried forward`, numbered, each with the chosen branch and a one-line why. If none, write `_(none settled — see Risks \u002F decisions)_` and print `warning: interview settled no decisions — the brief pins everything to the spec author`.\n- `## Premises` follows Decisions and is always present, in the § Premises shape.\n- Open items → `## Risks \u002F decisions`, numbered: `\u003Citem> — not established[ (\u003Cgrilling's short reason>)]; spec author pins this`, or with a `claim:` field, `\u003Citem> — operator claims \"\u003Cclaim>\", unverified[ (\u003Creason>)]; spec author pins this`. Copy grilling's redacted `claim:` value as is.\n- `## Scope` gets one row per path a settled decision or `path:line` fact names: `Current` from the fact with its `path:line`, `Change` from the decision. A `source: run:` fact never backs a Scope row or fills Current. A path with no fact behind it goes to Risks. The heading date is the grounding date; after `origin: behind-N` it reads `## Scope (verified against current files, \u003Cdate>; local tree \u003CN> commits behind origin\u002F\u003Ccmp>)` with a matching References bullet.\n- Facts established → `## References` with `path:line`, or in the run shape `(source: run: \"\u003Ccommand>\"; exit: \u003Cinteger>; excerpt: \"\u003Ctext>\")`.\n- The final References bullet is `Interview: \u003Cn> rounds, exit \u003Ctoken>` (with grilling's reason in parentheses when it is `no candidate decision met the altitude fence`), or `Interview: skipped (--no-grill)`.\n\n**`## Scale`** — four cases:\n\n- Settled as a factor with a target → `**Factor:** yes` and `**Target:** \u003CN>` (plus `**Dimensions:**` if given).\n- Settled as a factor without a target → no section; add `Scale target — the operator settled scale as a factor but no target N was obtained; spec author pins this` to Risks and print `warning: scale factor settled without a target — section not emitted`. Never emit `**Factor:** yes` without a target: `\u002Fspec-cycle` drops it as malformed.\n- Settled as not a factor → `**Factor:** no`.\n- Never asked → no section.\n\nUnder `--no-grill`, apply the same cases to a scale statement the ticket makes explicitly.\n\nThen print:\n\n```\n=== BRIEF WRITTEN: \u003CTICKET-ID> ===\nPath: docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md\nInterview: \u003Cn> rounds, exit \u003Ctoken>; \u003Cs> settled, \u003Co> open   |   skipped (--no-grill)\nTicket: \u003Ctracker | local-only>\n\n=== NEXT ===\n\u002Fspec-cycle docs\u002Fspecs\u002FTODO\u002F\u003CTICKET-ID>.brief.md\n```\n\nCount `\u003Cs>` and `\u003Co>` from the written brief.\n\n## What \u002Fspec-brief never does\n\nIts only filesystem mutations are creating `docs\u002Fspecs\u002FTODO\u002F`, writing and renaming its temp onto the brief, and removing a stale temp of its own shape. It never creates or transitions a ticket, writes a review report, writes before the operator confirms, writes when exit 1 blocks, raises a level to pass the gate, commits, updates the tree, invokes `\u002Fspec-cycle`, or changes a chosen branch, a fence, the tier, or the threat model without the operator.\n\n## Tool-use notes\n\n- Read, Grep, and read-only or ref-only Bash (`git fetch origin` bounded by a timeout, `git rev-list`, `git status`), plus the mutations above and the bounded `check_premises.py` run, which only reads the temp.\n- Agent for the Phase 1 exploration; the Phase 3 reviewer is a read-only native agent, skill, or command-line tool of another model family.\n- Skill for `grilling`.\n- The tracker's read capability, optional, and its comment-list capability after a successful read.\n\n## Failure modes\n\n- **Ticket unresolvable** → local-only mode; the seed gate still applies. The comment list is not attempted, and the header says the comments were not read.\n- **Comment list failed** → one warning, the brief is still written from the description, and the header says the comments were not read.\n- **Wiki path missing** → skip grounding step 2.\n- **Host cannot invoke a nested skill** → halt naming `--no-grill`.\n- **Doubt dispatch never returns** → it blocks the run; use the longest timeout the host offers and print the bound when it times out.\n",{},"main","7ea4cc6f73e7d33f418734ebbc004955eb1ce984","skills\u002Fspec-brief","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills","https:\u002F\u002Fgithub.com\u002FVigil-Harbor","https:\u002F\u002Fvigilharbor.com","2026-11-09 09:04:05",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Vigil-Harbor\u002Fvigil-skills --skill spec-brief",{"tool":39,"command":40},"bunx","bunx skills add Vigil-Harbor\u002Fvigil-skills --skill spec-brief",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Vigil-Harbor\u002Fvigil-skills --skill spec-brief","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Fskills\u002Fspec-brief\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Fcheck_premises.py","SCRIPT","脚本",9967,"https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Fskills\u002Fspec-brief\u002Fscripts\u002Fcheck_premises.py",[54,69,84,100,111,119],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":21},"01M71XKRKQKW37MQFZ3HTJ609D","split-marker","a case-2 tag that wraps onto the line after the tool token.","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsplit-marker\u002FSKILL.md",[],[61,62,63,64,65,66,67,68],"split marker","marker","split","token","tool","line","case","true",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":21},"01M71XKQ57F2ZVNW6K4W9VWBKS","optional-bool","A skill that declares optional booleans, used only by the lint test suite.","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Foptional-bool\u002FSKILL.md",[],[76,77,78,79,80,81,82,83],"optional bool","lint","read","only","test suite","suite","a skill","test",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":21},"01M71XKN6VPTF1KE94VGM338VS","notes-bare-name","a bare harness tool name in a non-operative Tool-use notes section.","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnotes-bare-name\u002FSKILL.md",[],[91,92,93,94,95,96,68,97,98,65,99],"name","notes bare name","bare","notes","section","tool name","tool-use","use","harness",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":21},"01M71XKM5R0Q4N7MBATYBP1YB1","indented-fence","a tool token inside an indented fenced code block.","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Findented-fence\u002FSKILL.md",[],[107,108,68,109,64,65,110],"indented fence","code block","block","code",{"skillNo":112,"name":113,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":21},"01M71XKK80YEASYAHNAPCNYH0S","good-skill","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgood-skill\u002FSKILL.md",[],[117,118],"good skill","good",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":21},"01M71XKJAG58KDWPP2XEHCT7TZ","crlf-skill","a valid skill saved with CRLF line endings.","https:\u002F\u002Fgithub.com\u002FVigil-Harbor\u002Fvigil-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcrlf-skill\u002FSKILL.md",[],[126,127,128,68,66,129,130,131],"CRLF","crlf skill","with","valid","saved","valid skill"]