Use when requirements are fuzzy, contested, or worth debating before any change exists — records the exchange as a discussion document that can later be promoted into a change.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Speclink Discuss?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/momochenisme-speclink-discuss)
---
name: speclink-discuss
description: "Use when requirements are fuzzy, contested, or worth debating before any change exists — records the exchange as a discussion document that can later be promoted into a change."
license: MIT
compatibility: Requires speclink CLI.
metadata:
author: speclink
version: "v1.59.0"
generatedBy: "Speclink"
---
**Conversation language**: write to the user in the language they use with you — progress updates, questions, and summaries. This skill is written in English, and its example messages show structure, not language: translate their prose, and keep commands, file paths, code, and fixed tokens (severity labels, status words) as they are. When a step sets the language of its own output — a document, a report, or the way it presents results and asks about them (for example through `locale`) — that step decides for that output. When you edit a document that already exists and no step sets its language, keep the language it is written in. When you run in a forked context that cannot see the conversation, use the language of the request you were given.
Have a focused discussion about a topic and reach a conclusion. Every discussion has a topic, works toward a goal, and ends with a clear conclusion — unlike open-ended exploration, discuss mode converges.
**Discuss mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you NEVER write application code or implement features. If the user asks you to implement something, remind them to leave discuss mode first (e.g., start a change with `$speclink-propose`). Writing the discussion record, and creating Speclink artifacts (proposals, designs, specs) when the user asks, is capturing thinking — that is allowed.
**Input**: The argument after `$speclink-discuss` is the topic. It can be:
- A design question: "should we use WebSockets or SSE?"
- A problem to solve: "the auth system is getting unwieldy"
- A change name: "add-dark-mode" (discuss in context of that change)
- An architecture decision: "how to structure the plugin system"
- A vague idea that needs sharpening: "real-time collaboration"
- A document path: `docs/plans/realtime.md` — a plan you wrote by hand, a plan-mode output, a doc under the repo, or any readable path (see "Document input" in Step 3)
**Not every topic is a discussion.** If the request is really a question — the user wants to understand how something works or whether something is feasible, and no decision hangs on the answer — answer it directly in the conversation and do not open a discussion record. A discussion exists to settle something; understanding-seeking without a verdict is ask-shaped, not discuss-shaped. When in doubt, start talking without a record: the record is created only at the first substantive round (Step 5), so nothing is lost by waiting.
---
## The discussion record
Every speclink discussion is persisted to a record, so the conversation keeps its thread across turns and sessions, and a later `$speclink-propose --from-discussion <slug>` can seed a proposal directly from it. Drive the record through the `speclink discuss` verbs — NEVER hand-write or edit it.
The record's file is `speclink/discussions/<slug>.md`.
Every record has the same fixed skeleton:
```
## Context ← the framing, set once when the record is created (discuss context)
## Rounds ← ### Round N entries, appended per exchange (discuss add-round)
## Conclusion ← the decision, written at convergence (discuss conclude)
```
**Document rules** (the record is a Socratic ledger, not a transcript):
1. **One focus per round.** Each recorded round distills exactly one question examined and what it settled — never a dump of everything said.
2. **Rounds are append-only.** Never rewrite an earlier round. When a position changes, a new round names what changed and why — the reasoning trail is the point.
3. **Record what was ruled out, with the reason.** Rejected options are the most valuable part of the record: they stop future readers (and future you) from re-litigating settled ground.
4. **Keep an open-questions ledger.** Each round ends with the questions still unresolved; the next round picks one of them up. The conclusion must resolve or explicitly defer every remaining one.
5. **Position bullets over prose.** When a Position exceeds one sentence it SHALL be bulleted — a one-sentence verdict first, then `- ` points one per line. A single-line wall-of-text Position is unreadable in every viewer. Focus / Ruled out / Open stay single-line.
6. **The rounds trace the decision tree.** The first round's Position lays out the initial decision space (an ASCII tree is welcome); each later round resolves one node; branches discovered mid-round are recorded in that round's Open. The Open ledger is thus always the exact frontier of the unexplored tree.
7. **Multi-requirement backlog.** When one discussion carries several requirements (say 5-10 at once), the first round's Open lays out the full requirement list; every later round's Open restates the items still open; and where a settled item went (decided, promoted, dropped) is carried by the first sentence of that round's Position. Open and Position as they already exist — no new section, no format change. These are the same fields the resume ritual ("At the start" below) reads back.
8. **Conclusion bullets over prose.** The Conclusion's field shape is stated once, in Step 8, next to the conclude template.
---
## At the start (before Step 0)
1. Check for an existing discussion on this topic and for the changes in flight:
```bash
speclink discuss list --json
speclink list --json
```
2. Act on what the discussion list shows:
- **A record matches the topic and is still live** — `status` `open`, or `promoted` mid-way through a spin-out (Step 9) → resume it (reuse its `slug`): the record already exists; every later `add-round`/`conclude` call uses it. Only `concluded` and archived records are past resuming. **Resume ritual**: before continuing, present a recap derived from the record — one line per round (its Focus → the first sentence of its Position), then the last round's Open ledger as the current frontier — and only then pick the discussion back up. The recap is mechanically derived from fields the record already has; it introduces no new format and existing records need no migration. Rounds you add to a resumed record follow **Record language** (Step 5).
- **No live record matches** → do not create one yet. Derive an English kebab-case slug from the topic (translate when the topic is not English — e.g. 「看板搜尋列」 → `board-search-bar`), announce it ("This discussion will be recorded as `<slug>` once it has substance."), and proceed — scout, judge requirement clarity, present your first assumptions or question with nothing on disk. A mis-invocation or a topic answered in one exchange leaves no file behind. Step 5 says when the record is created.
3. If the user mentioned a specific change name, read its artifacts for context: `speclink show <name> --json` lists them, and `speclink artifact cat <artifact> --change <name>` prints each one — a delta spec is `specs/<capability>`, which `deltaSpecs` lists as `<capability>/spec.md`. When that change's `speclink list --json` entry carries a `worktree` object, run both from its `worktree.path`: the worktree copy is the one being worked on.
---
## Before you speak
Before asking anything, load the shared vocabulary, then do a quick codebase scout to decide how to run this discussion.
### Step 0: Load shared vocabulary
Run `speclink language show`. It prints the project's canonical vocabulary — terms with `definition`, `avoid`, and `why` notes, plus principles for when legacy terminology may remain.
- **The command succeeds** → scan the canonical terms and their avoided synonyms. Prefer the canonical term when you summarize, capture conclusions, or update artifacts. If you notice a relevant `avoid` synonym in the user's topic or in the artifacts you read, plan to surface that as vocabulary drift in the conclusion (Step 7).
- **The command fails (no vocabulary document)** → continue silently with the normal flow. A missing vocabulary is not an error; do not announce it, do not block, and do not stop to ask the user to create it.
This step runs before the scout, the assumptions list, any question to the user, and the conclusion capture.
### Step 1: Extract search terms
Pull 2-5 keywords from the user's topic. For "search should support fuzzy matching", that's `search`, `fuzzy`, `match`. For "should we add a plugin system", that's `plugin`, `extension`, `module`. These keywords are in the user's language — Step 2 translates them into the system's language before scanning code.
### Step 2: Scout — canon, then prior discussions, then code
The scout is a funnel: the canon, plus the in-flight deltas about to change it, narrows the vocabulary, the prior-discussion check tells you what is already settled, then the code scan runs on the narrowed terms.
1. **Canon pass** — run `speclink list --specs --json` and match the keywords against capability names. Keep at most 5 candidates in **candidate order** — the names that match the most keywords first, ties in the order the command lists them. Read the Purpose of at most 3 of them in that order: run `speclink show <capability> --item-type spec` for each and read the Purpose at the top of its output (naming the type keeps a same-named active change from answering instead). Each hit's `path` only identifies the capability — do not open it as a file: in remote mode it is a storage key, not a location on disk. Read a spec in full only when the topic directly targets that capability; the same `speclink show <capability> --item-type spec` output is the whole spec. Zero hits → skip silently: don't mention specs at all and run the code pass with the original keywords.
**In-flight deltas belong to this pass.** Every change `speclink list --json` returned ("At the start", item 1) is still active: whatever its `status`, its delta specs have not landed in the canon yet. Each change entry's `deltaCapabilities` field names the capabilities those deltas rewrite (the field is absent when the change has none), so that list already holds the answer — no further call. Every change whose `deltaCapabilities` holds a capability the canon pass hit is an **in-flight delta hit** — note it as `<name>: <capability>`. Time-box: read at most 3 hits — the first 3 in candidate order, several changes on one capability in the order `speclink list --json` returned them — with `speclink artifact cat specs/<capability> --change <name>`, and keep only its `## ADDED` / `MODIFIED` / `REMOVED` / `RENAMED` section markers and `### Requirement:` headings, never the delta's full text. When that change's list entry carries a `worktree` object, run the command from its `worktree.path`: the list took that change's deltas from the worktree copy, so the headings have to come from there too. Zero canon hits, no active changes, or no `deltaCapabilities` holding a hit capability → skip silently: say nothing about in-flight deltas. Both verbs work in remote mode, so the check runs the same way there. The hits feed the in-flight marker on the first two triage rows (Step 3) and the Context's "related changes/specs" line (Step 5); they never open a stage of their own.
2. **Translate** — rewrite the search terms using the capability names and canonical vocabulary the canon pass surfaced (on top of Step 0's vocabulary), so the code scan speaks the system's language instead of the user's.
3. **Prior-discussion check** — run one search with the Step 1 keywords plus the English terms the translation produced:
```bash
speclink discuss search <keyword>... --json
```
It covers live and archived records alike and matches only the topic, the slug and the decision lines — each round's `Ruled out` and the Conclusion's `Decision` / `Rejected alternatives` / `Deferred`; any one keyword matching counts. **List every matching decision line the hits return** — they are one-line verdicts, and the point is to see them all. Then read the full Conclusion of **at most 3** records with `speclink discuss show <slug>`, **topic hits first**. Do not filter by `kind`: an `improve` record's rejections weigh the same as a plain discussion's. Zero hits → skip silently. What this pass surfaces feeds the fourth triage row ("Settled by a prior discussion", Step 3) and the Context's `Prior discussions:` line (Step 5).
4. **Code pass** — Grep/Glob with the translated terms; read up to 5 of the most relevant files.
**Shortcut**: when the topic already names a concrete file or symbol, start the code pass immediately — don't wait for the canon pass. Run the canon pass afterwards anyway: the shortcut reorders the funnel, it doesn't skip a stage (the canon triage and the Context's related-specs line still need it).
The scout exists to ground the discussion and judge requirement clarity (Step 3) — it is not the investigation. Deeper verification happens later, node by node along the decision tree ("How to discuss").
### Step 3: Judge requirement clarity
Assumptions is the only default posture — every discussion arrives there. The only fork is whether the requirement needs sharpening first:
- **Dull requirement** (no verifiable goal, no threshold, "improve / better / cleaner"-style wording) → run a **grill stage** first: sharpen the requirement one question per exchange — goal, scope, threshold, success criteria (see "How to discuss" for the question rules). The moment the requirement is sharp, stop grilling and present assumptions.
- **Sharp requirement** (a verifiable goal and its boundaries are already stated) → the grill stage collapses to zero questions: go straight to assumptions.
- **The topic is a document path** → **Document input** (below): the document supplies the tree already filled in, so skip the "list 3-5 assumptions" opening and triage its claims instead. The scout still runs — it is what you triage the claims against.
How much code the scout found never decides the posture — there is no file-count fork. Inside assumptions, a node whose Evidence cannot support a stance becomes a single question carrying your best guess (the node fallback — see "How to discuss").
Announce the posture and why: "The goal here is verifiable — here are my assumptions." or "'Make it better' isn't a testable goal yet — one question first."
The user can redirect at any time: **"ask me questions instead"** / **"one at a time"** walks the remaining nodes as questions, one per exchange, under the "How to discuss" rules; **"just list your assumptions"** / **"what do you think?"** runs the scout if not done yet and presents assumptions.
#### Presenting assumptions
A single-requirement topic gets 3-5 assumptions; a multi-requirement discussion covers every requirement on its backlog instead of trimming to that cap — one assumption per decision, the canon triage below included. Each one includes:
1. **Approach**: what you'd do and why
2. **Evidence**: file path(s) that informed this assumption
3. **If wrong**: concrete consequence of getting this wrong
Example:
```
### My assumptions
1. **New IPC command goes in `commands/search.rs`**
Evidence: existing search commands are in `src-tauri/src/commands/search.rs`
If wrong: we'd need to create a new module and register it
2. **Use the existing `SearchStore` for state**
Evidence: `src/lib/stores/search-store.ts` already manages search state
If wrong: parallel state would cause sync bugs
3. **Fuzzy matching runs in Rust, not frontend**
Evidence: current search scoring is in `search.rs:calculate_score()`
If wrong: moving to frontend means rewriting the scoring logic in TypeScript
```
**Canon triage** — when the scout's canon pass hit relevant specs or the prior-discussion check returned hits, triage each of the user's requirements four ways in the assumptions list:
| Triage | Meaning | What you do with it |
| --------------------------------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Covered by canon** | an existing spec already promises it | record it with the spec as Evidence. In-flight delta hit on that capability → add the in-flight marker (below) |
| **Conflicts with canon** | the requirement contradicts an existing promise | present the conflict as an assumption, spec evidence attached — the user decides whether the canon or the requirement changes. Never block or veto the direction over it. In-flight delta hit on that capability → add the in-flight marker (below) too: the delta may already resolve or deepen the conflict |
| **Canon is silent** | new ground | say so, and check the intended capability name against neighbouring specs while you're there |
| **Settled by a prior discussion** | a past discussion already ruled on it | three cases, the record's slug as Evidence — **ruled out**: record it with the reason it lost at the time; reopening that direction requires stating why that reason no longer holds. **Deferred**: it can be picked up now — say so. **Already landed**: the canon shows it, so do not list it again. Never block or veto the direction over a prior verdict |
**In-flight marker** — on the first two rows, when the canon pass found an in-flight delta hit on that capability, write `(in-flight change <name> will change: <Requirement names>)` right after the triage label, one marker per change. `<Requirement names>` is the `### Requirement:` headings you kept from that delta, comma-separated. A hit past the time-box was never read: write `(in-flight change <name> will change it)` for it, and never guess its Requirement names. The Evidence names the delta next to the spec — e.g. `Covered by canon (in-flight change add-change-plan-remote will change: 討論資訊 payload)`, with Evidence: the `client-protocol` spec plus the delta `add-change-plan-remote: client-protocol`. The marker tells the user that this assumption stands on ground someone is rewriting. It never blocks or vetoes the direction, and it is not a fifth triage row: the assumption stays covered or conflicting.
The discipline: **the user's requirement is the goal; the canon and the prior discussions are evidence, not a verdict.** Departing from the canon, or reopening a direction an earlier discussion rejected, is a legitimate direction — it just goes into the record as a conscious decision, with the old reason and why it no longer holds.
After presenting, ask: **"Which of these are wrong?"** Then stop and wait for the user's reply. When it arrives:
- **The user says all are fine** → create the record (Step 5), then proceed to convergence (Step 7) with these as established context.
- **The user flags corrections** → create the record (Step 5); for each correction, ask ONE focused follow-up question to understand their intent, then proceed to convergence with the corrected understanding.
#### Document input
When the topic names a **file path** rather than a sentence — a plan the user wrote by hand, a plan-mode output, a doc under the repo, or any readable path — read that file and treat it as **someone else's assumptions list**: a decision tree that arrives pre-filled and now has to be stress-tested. The document is not read once as background material and then set aside; it is not colour for opinions you form independently.
Extract every claim the document makes as a tree node, then triage each claim against the codebase:
| Triage | Meaning | What you do with it |
| ----------------- | ---------------------------------------- | -------------------------------------------------------------------------------------- |
| **Confirmed** | The codebase backs the claim | Record it with the code evidence — file path, symbol, or probe result |
| **Contradicted** | The document says X, the code does Y | Name the difference for that claim — doc says X, code does Y — with the evidence for Y |
| **Real decision** | Nothing in the environment can settle it | Send it to the user, carrying your proposed answer and its Evidence |
- **Contradictions are itemized, one claim at a time.** For each contradicted claim, state what the document asserts, what the code actually does, and the evidence for the latter. Summarizing the document, or a blanket "parts of this are out of date", is not triage.
- **Confirmed nodes do not need a user round.** They are settled facts — say so and move on.
- **Only real decisions reach the user**, one at a time, in dependency order (see "How to discuss").
- The triage IS the first round's Position, and it replaces the "list 3-5 assumptions" opening — the document already listed them.
Recording follows the **Source doc convention** in Step 5.
### Step 4: Interface depth check (conditional)
After the codebase scout, evaluate whether the topic introduces a new architectural seam. Run this check **only** when the topic involves at least one of:
- A **new module** (a new Rust crate, file under `src-tauri/src/commands/`, or a new top-level Svelte module).
- A **new IPC command** (a new `#[tauri::command]` exposed to the frontend, or a new front-to-back message shape).
- A **cross-layer Rust ↔ Tauri ↔ Svelte flow** that did not exist before.
- A **new storage abstraction** (new on-disk format, new database table, new file-system layout, new adapter over existing storage).
If none of those conditions apply, **skip this check**. Topics that only change static UI copy, visual styling, documentation wording, or other non-architectural surfaces skip the depth check entirely. The vocabulary load from Step 0 still happens; nothing else from this step runs.
When the check is triggered, work through these four questions before you finalize assumptions or proposed answers:
1. **Seam location** — where does the boundary belong? Name the module, file, or store that owns the new contract.
2. **Adapter count** — is there exactly one adapter on this path, or are several thin wrappers stacked on each other?
3. **Depth** — what behaviour is hidden behind the interface? If the answer is "nothing — it just forwards calls", the seam is too shallow.
4. **Deletion test** — if you deleted this module today, what would break? If nothing meaningful breaks, the module is a pass-through and probably should not exist.
Surface the answers in the conclusion (or the assumptions list) so the depth question is part of the captured decision, not an internal note.
---
## How to discuss
_This section governs every question you ask the user — the grill stage questions that sharpen a dull requirement, and the node fallback questions that arise inside assumptions._
**Open by laying out the decision space.** Before asking anything, map the decision tree: the root node is "what is this topic actually deciding?", expanded into its sub-decisions with the dependency edges between them. Present the map up front (an ASCII tree works well) so the user sees the shape of the whole problem before the first question. When the assumptions list already laid that space out, the list IS the map — a lone node fallback question mid-assumptions names its node instead of re-drawing the tree.
**Traverse in dependency order — one question at a time.** Don't dump a list of 10 questions. Ask exactly one question per exchange, picked by dependency order: resolve upstream decisions first, because the shape of downstream questions depends on the upstream answers. Listen, then move to the next node. If the user's initial description or previous answers already settle a node, mark it resolved and skip it — don't ask what you already know.
**No blank questions — every question carries its evidence.** This is a hard rule with two shapes, one per question class:
- **Grill intent questions** (goal, scope, threshold, success criteria — sharpening a dull requirement): frame the question with context — the current state or canon evidence — or attach your best-guess suggestion. "What's the performance target?" alone is a blank question; "Scoring runs in `search.rs:calculate_score()` today — is sub-100ms the bar?" is a framed one.
- **Node fallback questions** (an assumptions node whose Evidence cannot support a stance): attach your proposed answer AND its Evidence — file path(s) or probe results.
Either way the user only needs to agree or correct. Never hand the user a bare open question that evidence could have grounded first. (This is the same Evidence convention the assumptions list already uses, applied per question.)
**Triage every node: fact or decision.** Before resolving a node, classify it. A **fact** is anything the environment can answer — code, file system, tool output; a **decision** is a judgment call only the user can make. Verify facts yourself with Grep/Read at the node where they arise — never ask the user for a fact, and never answer one from memory. Only genuine decisions go to the user. Verification depth follows the tree: spend deep reads on branches you will actually traverse, and don't pre-read branches that get pruned.
**Propose concrete options.** When exploring approaches, present 2-3 specific options with trade-offs — not abstract possibilities. Use comparison tables when helpful:
```
| Approach | Pros | Cons |
|---------------|-------------------|-------------------|
| WebSockets | Real-time, bidir | Complex, stateful |
| SSE | Simple, HTTP | One-way only |
| Polling | Simplest | Latency, waste |
```
**Visualize freely.** Use ASCII diagrams when they clarify thinking:
```
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Client │────▶│ Server │────▶│ DB │
└──────────┘ └──────────┘ └──────────┘
```
System diagrams, state machines, data flows, dependency graphs — whatever helps.
**Don't fake understanding.** If something is unclear, dig deeper.
**Challenge assumptions.** Including the user's and your own. Ask "do we actually need this?" Apply YAGNI — the simplest solution that works is often the best.
**Be direct.** If you have a recommendation, say it. Don't hedge endlessly. "I'd go with option B because..." is more useful than "all options have merit."
**No empty validation.** Never pad responses with hollow affirmations. These add nothing and erode trust:
- ~~"That's an interesting approach"~~ → State what specifically is interesting and why
- ~~"There are many ways to think about this"~~ → Name the 2-3 concrete ways and their trade-offs
- ~~"That could work"~~ → Explain why it would or wouldn't work, and under what conditions
- ~~"Great question"~~ → Just answer the question
- ~~"You raise a good point"~~ → Engage with the point directly
If you agree, say why. If you disagree, say why. Empty agreement is worse than honest pushback.
**Push for specifics — the grill questions in action.** When the user gives a vague answer — or the topic itself arrived vague — don't accept it: dig along the grill dimensions (Step 3) until decisions are concrete enough to implement.
Bad vs. good:
```
User: "We should make it more modular"
Bad: "That sounds good. How would you like to proceed?"
Good: "What would you split out? Are we talking separate crates,
feature flags, or a plugin interface? Each has very different
cost."
```
```
User: "Performance might be an issue"
Bad: "Good point, we should keep performance in mind."
Good: "What's the threshold? Are we talking sub-100ms response time,
handling 1000 concurrent users, or keeping memory under a
budget? The answer changes the architecture."
```
```
User: "We need better error handling"
Bad: "Agreed, error handling is important."
Good: "Which errors are causing problems now? Are users seeing
crashes, silent failures, or unhelpful messages? Let's look
at the actual error paths."
```
---
## Step 5: Create the record at the first substantive round
"Substantive" is defined by the user's reply, never by your own output: the trigger is the moment the user's response moves the topic (they confirmed or corrected your assumptions list, their answer to a question settled something). Your own research, however deep, and your first assumptions list do not count as substance — NEVER run `speclink discuss new` before the user has replied. Right before recording that first round, run:
```bash
speclink discuss new "<topic>" --slug <english-kebab-slug>
```
Always pass `--slug` with the English kebab-case slug you derived — the slug names the record file; the topic stays in the user's language verbatim. Without `--slug` the filename falls back to deriving from the topic, so non-English topics produce non-English filenames.
**Record language**: run `speclink workflow-config show --json` and write the record's prose — the Context, every round and the conclusion — in the language of its `locale` field (`tw` Traditional Chinese, `ja` Japanese, `en` or null English; English when the command fails). The topic is the exception: it keeps the user's words, as above. These stay in English: the field labels (`**Focus**:`, `**Position**:`, `**Ruled out**:`, `**Open**:` and the conclusion's labels), the fixed markers (`Prior discussions:`, `Source doc:`, the word `none`, the ``**cut N `change-name`**:`` heads, the **Capture to** values), the slug, command lines and code. When you resume an existing record, keep the language it is written in.
Then fill the Context section once — the framing a future reader (or `propose`) needs before the rounds make sense:
```bash
speclink discuss context <slug> --stdin <<'CTX_EOF'
What prompted this discussion, whether a grill stage (Step 3) was needed and why,
and the related changes/specs the scout (Step 2) surfaced, its in-flight delta hits
written as <name>: <capability>, comma-separated.
Prior discussions: <slug list>
CTX_EOF
```
The `Prior discussions:` line is mandatory: it names the records the prior-discussion check (Step 2) hit, comma-separated; when the check hit nothing, write `Prior discussions: none`.
The related changes/specs sentence names the canon hits and in-flight delta hits from Step 2 together with the change hits from `speclink list --json`. The in-flight delta hits go inside that sentence, in the form the template shows (e.g. `add-change-plan-remote: client-protocol`). With zero delta hits the sentence names only the canon hits and the change names, with no empty marker. Never add a separate line for deltas (no `In-flight deltas:` line): the sentence carries them, and the `Prior discussions:` line stays exactly as specified above.
**Source doc convention** — when the topic named a document (Step 3, "Document input"), the Context carries one line naming it:
```
Source doc: <path>
```
That line is the mechanical marker a later `$speclink-propose --from-discussion <slug>` looks for to know there is an underlying document to read. Three rules travel with it:
- **Evidence cites the document by reference, not by transcription.** When a round's Evidence points at the document, name the section heading or quote a short phrase from it.
- **The record stores the outcome of the discussion only.** It never embeds the planning document in full — the document stays where it is, and the record holds the decision diff against it.
- **Never modify the user's original document.** Corrections live in the record; merging document and decisions is `propose`'s job, not yours.
When the topic named no document, none of this applies: the Context has no `Source doc:` line, there is no extra file-reading step, and recording proceeds as usual.
From here on the record is live: record the first round (Step 6), and every later exchange is persisted the same way.
## Step 6: Append a round after each exchange
After each round — each Assumptions list you present, or each question-and-answer that moves the topic forward — persist a concise summary so the record shows how the thinking evolved:
```bash
speclink discuss add-round <slug> --mode assumptions --stdin <<'ROUND_EOF'
**Focus**: the one question this round examined
**Position**: one-sentence verdict of the direction taken, expanded as bullets:
- one point per line — the decision detail and the evidence (files, probe results) behind it
- keep bulleting until the position is fully stated; never fold it back into one long line
**Ruled out**: options eliminated this round — each with the reason it lost
**Open**: questions still unresolved, for the next round to pick up
ROUND_EOF
```
Use `--mode assumptions` for rounds that presented an assumptions list and `--mode interview` for question-driven rounds (grill stage or node fallback). Omit a line rather than pad it (e.g. no `**Ruled out**` when nothing was eliminated). Keep each round terse — it is a durable summary following the Document rules, not a transcript. This is the mechanism that keeps a long discussion from drifting off-topic: each round is anchored to the record.
## Step 7: Converge
Discussions must converge. As the conversation progresses:
1. **Narrow the options** — eliminate approaches that don't fit
2. **Surface the key trade-off** — most decisions come down to one fundamental tension
3. **Make a recommendation** — or help the user make one
4. **State the conclusion clearly** — what was decided, and why
The conclusion should be one of:
- **Design decision**: "We'll use SSE because one-way is sufficient and it's simpler"
- **Direction consensus**: "The auth refactor should split into gateway + provider"
- **Next-step recommendation**: "We need to spike the plugin API first to validate the approach"
- **Explicit deferral**: "We don't have enough info yet. Specifically, we need to know X before deciding"
**Example elicitation**: When the discussion converges on a specific requirement or behavior, propose a concrete example before capturing the decision. Instead of concluding "search should sort by relevance", propose: "So if we have items scored 0.9, 0.3, 0.7, the result order would be 0.9, 0.7, 0.3 — is that right?" This naturally produces `##### Example:` content for the spec and confirms shared understanding with real values.
**If the user wants to move faster.** Sometimes the user signals impatience — "let's just go with X", "I don't want to overthink this", "can we move on?". The user owns the stopping point: the decision tree is a map, not a contract, and convergence never requires every branch to be resolved. Respect their pace:
1. **First time** → briefly flag an important unresolved question, if there is one — one sentence, not a lecture. "Before we commit to X, worth noting that Y could affect Z. Want to address it or move forward?"
2. **They push again** → respect it. Skip remaining questions, go straight to convergence with the best conclusion you can form from what's been discussed, and record the branches left untraversed under **Deferred** in the conclusion. Don't push back a second time.
The goal is thoroughness, not interrogation. One nudge maximum.
**Leaving without a conclusion**: if the user tries to end without a conclusion, summarize where things stand and state what's unresolved.
### Capture decisions
When the discussion converges, proactively present a conclusion summary — don't wait to be asked; propose it, and let the user opt out. The summary uses the Conclusion shape and template in Step 8.
Where to capture:
| Insight Type | Where to Capture |
| -------------------------- | ---------------------------- |
| New requirement discovered | `specs/<capability>/spec.md` |
| Design decision made | `design.md` |
| Scope changed | `proposal.md` |
| New work identified | `tasks.md` |
| Vocabulary drift | `LANGUAGE.md` |
**Vocabulary drift** means the discussion surfaced a recurring concept that is missing, ambiguous, or pulling away from the shared vocabulary loaded in Step 0. Examples: the topic uses a term that the vocabulary lists as an `avoid` synonym, or the discussion repeatedly names a concept that has no entry yet. When this happens, name it as vocabulary drift in the conclusion summary and direct the capture to `LANGUAGE.md`, the shared vocabulary document. The conclusion summary preserves this contract — do not silently rewrite the term in the artifacts without recording the drift.
To record the drift, read the whole document with `speclink language show`, add or change the entry, and write the whole document back at once. When `speclink language show` fails because the project has no LANGUAGE document yet, start from an empty one. Any other failure of that command (the Server cannot be reached, access is refused) ends this capture: report the error and write nothing, because a write then replaces a document you did not read.
```bash
speclink language replace --stdin <<'LANGUAGE_EOF'
<the whole document, with the new or changed entry>
LANGUAGE_EOF
```
The document is replaced whole, so do the read, the edit and the write back with no other step in between. This capture follows the rule below like every other one: when the user declines it, write nothing.
Present the summary and say something like "I'll capture this to design.md unless you'd rather not." Default to capturing — the user can decline.
## Step 8: Write the conclusion
Write the conclusion into the record with `speclink discuss conclude`; it flips the record's `status` to `concluded`.
**Conclusion bullets over prose.** When the Conclusion's Decision, Rejected alternatives or Deferred exceeds one sentence it SHALL be bulleted — `- ` points one per line: the Decision opens with a one-sentence verdict and bullets the rest, while Rejected alternatives and Deferred keep the `**Field**:` header bare and carry one `- ` line per item. Rationale / Capture to / Next stay a single paragraph. The Decision keeps every settled detail — never trim it to shorten the record — and none of its points refers back to a round ("see Round 3"); when the conclusion plans several cuts to spin out, the Decision carries one bullet per cut, headed ``**cut N `change-name`**: one-sentence scope``, with that cut's details as indented sub-points, one item each. A Rejected alternatives line reads `option — why it lost`; a Deferred line reads `question — why not now`, or the field holds the single word `none`. The rule binds new conclusions only; existing records are not rewritten.
```bash
speclink discuss conclude <slug> --stdin <<'CONCLUSION_EOF'
**Decision**: ... (a one-sentence verdict; beyond one sentence, bullet it)
- ... (one settled point per line — keep every detail, never trim)
- **cut N `change-name`**: ... (one bullet per cut when several changes spin out)
- ... (that cut's details, one item each)
**Rationale**: ... (the key trade-off that drove it — a single paragraph)
**Rejected alternatives**:
- ... — ... (option — why it lost, one per line)
**Deferred**: none (or `- question — why not now`, one per line)
**Capture to**: proposal | design | spec | tasks | LANGUAGE.md
**Next**: $speclink-propose --from-discussion <slug>
CONCLUSION_EOF
```
**`--hold`**: add it (`speclink discuss conclude <slug> --hold --stdin`) when the conclusion plans further changes to spin out from this same record later — "Staged cuts" in Step 9 says how the flag is released.
## Step 9: Hand off
Pick the exit that matches the conclusion:
- **The conclusion warrants its own change** → hand off through propose: "Ready to formalize this? `$speclink-propose --from-discussion <slug>`" — propose seeds the proposal from the recorded Decision and rounds and builds every artifact in one pass; it is the single next step once the conclusion is written.
- **The conclusion belongs in a change already in flight** (its **Capture to** points at an existing change) → run link first, then hand off to ingest:
```bash
speclink discuss link <slug> <existing-change>
```
`link` forges the change-side chain (`from_discussion` in the change metadata) without scaffolding anything, so drawer links and auto-archive engage — the discussion is archived automatically when the last linked change is archived and its conclusion is written. Unlike promote, `link` does not mark the discussion 已轉出 (`promoted`): that reflection is sealed by `$speclink-ingest`, which folds the decision into the change's artifacts and then runs `speclink discuss seal` — so the discussion flips to promoted only once its content has actually landed, never at link time. Then run `$speclink-ingest <existing-change>` to fold the decision in and seal. Without the link, a concluded-then-ingested discussion sits on the board forever with nothing to archive it.
- **The conclusion is "don't do this"** (a valid outcome) → conclude anyway (Step 8), then close the record out:
```bash
speclink discuss archive <slug> # → discussions/archive/<created>-<slug>.md
```
Archived discussions stay readable — `speclink discuss show <slug>` falls back to the archive, and `speclink discuss list --archived` lists them. The slug becomes free for a future discussion.
- **The discussion turns out not to be needed at all** — the user abandons it mid-way, or the topic proved ask-shaped after all → discard it, do not archive it:
```bash
speclink discuss discard <slug> # refuses once rounds exist
speclink discuss discard <slug> --force # delete despite recorded rounds
```
`discard` deletes the live record (archived records are never touched). Once rounds exist it refuses without `--force` — a discussion that examined real trade-offs should keep its reasoning through `conclude` + `archive`, even when the conclusion is "don't do this". Use `discard` freely for records that settled nothing; never leave an abandoned discussion sitting `open`.
### Mid-discussion spin-out
In a multi-requirement discussion, one item can be filed the moment it is settled, while the record is still open; don't hold it hostage to the rest:
1. **Promote now**: run `speclink discuss promote <slug> --name <change-name>` (`--name` is optional — the change name defaults to the slug). The engine scaffolds the change, prefills the proposal's Why (from the conclusion when one exists, otherwise from the topic), and links both sides (`from_discussion` in the change metadata, `status: promoted` + `promoted_to` in the record). One discussion can fan out into several changes — spin out again and `promoted_to` accumulates each name; the discussion is archived automatically when the last of its changes is archived and its conclusion is written — an unconcluded record stays live for more rounds (a later `conclude` closes it once every spun-out change is archived). For a series of staged cuts, see "Staged cuts" below. The remaining artifacts are still created via `$speclink-propose`.
2. **Keep discussing**: `add-round` continues as normal for the remaining items; promotion does not close the record.
3. **Conclude as usual at the end**: the record keeps its `promoted` status, the conclusion is written in, and the engine flags the already-promoted changes as needing the conclusion re-reflected. When the conclusion is unrelated to a spun-out change, that flag needs a single confirmation — no rework.
Never require a conclusion before a mid-discussion promote, and never conclude the whole discussion early just to free one item.
**Staged cuts — `--hold`.** When the conclusion plans further changes to spin out from this same record later (cut A now, cut B once A lands, cut C after that), run `conclude` with `--hold` **once** — an ordinary spin-out never clears the flag, so the single call covers the whole series. The record stays live past its conclusion and past every middle cut's archive. The **last cut is spun out with `--last`** (`$speclink-propose --from-discussion <slug>` decides this from the conclusion's cut list and the record's `promoted_to`; on the raw verbs it is `speclink discuss promote <slug> --last`, `speclink new change <name> --from-discussion <slug> --last`, or `speclink discuss seal <slug> <change> --last`): that spin-out drops the flag in the same write, and when the last spun-out change is archived the record is co-archived automatically — there is nothing to close by hand. Besides `--last`, only a `conclude` without `--hold` or a manual `speclink discuss archive <slug>` releases the flag. Forgot `--last`? The record simply stays live (the board labels it "promoted · on hold"); run `speclink discuss archive <slug>` once to close the series. Without `--hold` the record is archived along with the last of its changes, and any later cut needs a new discussion.
**Archived by mistake?** (For example, `--last` went on a cut that was not the last one, and the record was co-archived with it.) Run `speclink discuss restore <slug>`: the record is live again with its content unchanged, and every verb works on it. The engine's error for spinning out from an archived record names the same verb. Then do the step that was blocked — spin out the next cut, or continue the discussion.
---
## Guardrails
Check these before you end each turn:
- [ ] No application code was written ("Discuss mode is for thinking").
- [ ] The record exists only if the user has replied with substance (Step 5); every exchange since then has its round (Step 6).
- [ ] The record was touched only through `speclink discuss` verbs.
- [ ] The record's prose follows **Record language**, its labels and markers in English (Step 5).
- [ ] One question per exchange, and every question carries its evidence ("How to discuss").
- [ ] Facts were verified with Grep/Read, not asked or guessed ("How to discuss").
- [ ] A recommendation was given — the user can disagree ("Be direct").
- [ ] The conclusion follows the Step 8 shape, and an abandoned discussion was discarded instead of left `open` (Step 9).
## Next steps
Suggestions only. This skill NEVER invokes any of them — report where things stand and stop; the user decides what runs next.
- The conclusion warrants its own change → `$speclink-propose --from-discussion <slug>` — one pass from the recorded conclusion to a full artifact set
- It belongs in a change that already exists → `speclink discuss link <slug> <change>`, then `$speclink-ingest <change>` to fold it in and seal
- The conclusion is "don't do it" → conclude anyway, then `speclink discuss archive <slug>`
- Nothing of substance was recorded → `speclink discuss discard <slug>`