@alterset/alterspec-client 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,6 +33,9 @@ reference.
33
33
  backend's.
34
34
  - **Feedback**: when a task's checklist is covered, the agent tells the dispatcher what in the spec was unclear, what
35
35
  it had to open beyond the brief and what it decided itself, naming IDs, so the product side can fix the spec.
36
+ - **Question**: when the spec doesn't decide something, the agent asks with `/alterspec-spec-ask`. The answer is
37
+ from the spec (citing IDs the export holds), an assumption to work on until the product side confirms or corrects
38
+ it, or open (that item waits). The dispatcher keeps them; a product person answers there.
36
39
 
37
40
  ## Set up a repository
38
41
 
@@ -148,9 +151,12 @@ worktree, the configuration is read from the main checkout.
148
151
  | `init [options]` | Set the repository up (see above). |
149
152
  | `key` | Print the public key and fingerprint you sign with. |
150
153
  | `open dispatcher` | Sign in and open the dispatcher's pages in the browser. The link works once, for a minute. |
151
- | `context <task> [--json]` | Print the task's brief from the export, starting with its checklist. |
154
+ | `context <task> [--json] [--stats]` | Print the task's brief from the export, starting with its questions and its checklist. |
152
155
  | `worktree <task> [--here]` | Create the branch `task/<chg>-<track>` from `origin/<main>` in its own worktree, with the checkout's git-ignored top-level symlinks linked in and its committed relative ones made to resolve. `--here` uses this checkout instead. |
153
156
  | `progress [task] [--json]` | Report the items your commits cover. Default: the task of the current branch. |
157
+ | `lookup [ref...] [--question <text>] [--task <task>] [--item <item>]` | Where in the export a question is answered: what to read first, what to open before calling the export silent, the neighbours. `--unread <path...>` says what of that was not opened. |
158
+ | `cites <ref...>` | Check that every ID or path is in the export; what an answer "from the spec" must pass. |
159
+ | `questions [task] [--about <ID...>] [--open] [--json]` | Print a task's questions with the product side's answers, the ones naming some IDs, or without either your own. |
154
160
  | `merged <task>` | Print the commit on `origin/<main>` that brought the task in. |
155
161
  | `export-head [--latest <sha>]` | Pull the export clone and print the commit to send to the dispatcher. |
156
162
  | `mcp` | The MCP server Claude Code starts from `.mcp.json`. It forwards to the dispatcher. |
@@ -25,8 +25,10 @@ work from it, read its `README.md` (at least "How to read the spec" and "For cod
25
25
  test per acceptance criterion, named by its ID.
26
26
  - Take rule messages, labels and states word for word from the spec and the screens' experience contracts.
27
27
  - The mockups in `experience/*/mockups/` are the agreed look and behaviour; don't copy their code.
28
- - If the spec is silent, ambiguous or contradicts itself or the code, stop and ask, naming the IDs involved. Never
29
- fill a gap with an invented business rule.
28
+ - If the spec is silent, ambiguous or contradicts itself, ask with `/alterspec-spec-ask`, naming the IDs involved,
29
+ and go on only with what its answer allows: an answer from the spec, a recorded assumption, or nothing for that
30
+ item while the question is open. If the spec contradicts the code, stop and ask me. Never fill a gap with an
31
+ invented business rule.
30
32
  - Work on a task goes through the alterspec skills (`/alterspec-task-context`); every commit of a task carries the
31
33
  trailers they describe.
32
34
  ```
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: alterspec-spec-answerer
3
+ description: "alterspec spec answerer. Use from /alterspec-spec-ask to answer one question about the product from the export: reads the export only, never this repository's code, and returns the answer with the IDs and paths it stands on, an assumption, or that the export doesn't say."
4
+ tools: Read, Glob, Grep
5
+ ---
6
+
7
+ Read `.alterspec-client/prompts/agents/spec-answerer.md` and follow those instructions exactly.
@@ -3,7 +3,7 @@
3
3
  The CLI is `npx @alterset/alterspec-client`. Below it is written as `alterspec-client`; always run it as
4
4
  `npx @alterset/alterspec-client ...` from the repository (or the task's worktree). The dispatcher's tools come from
5
5
  the MCP server `dispatcher` that `.mcp.json` starts: `whoami`, `next_task`, `list_tasks`, `list_changes`, `task`,
6
- `touch`, `set_eta`, `feedback` (when the dispatcher lists it), `done`, `release`. Progress reaches the dispatcher through `alterspec-client progress`, never by
6
+ `touch`, `set_eta`, `feedback`, `ask` and `questions` (each when the dispatcher lists it), `done`, `release`. Progress reaches the dispatcher through `alterspec-client progress`, never by
7
7
  calling its tool yourself. Never call `force_release` or `mark_done`: they are an administrator's, in the
8
8
  dispatcher's pages.
9
9
 
@@ -27,6 +27,14 @@ dispatcher's pages.
27
27
  `opened` (what you had to read beyond the brief, and why), `decided` (what you decided yourself that the spec
28
28
  should have). No code and no copied spec text; empty lists are fine, an invented complaint is not. Skip it when
29
29
  the dispatcher has no `feedback` tool.
30
+ - **A question is asked, never guessed.** When the spec is silent, ambiguous or says two things about what you are
31
+ building, use `/alterspec-spec-ask` with the question; don't stop the developer for it and don't decide it. Its
32
+ answer is one of three. *From the spec*, with the IDs it rests on: work on. *Assumed* (`Q-<n>`): the spec doesn't
33
+ say and one reading is the cautious one; work on with it, name `Q-<n>` in the body of every commit that stands on
34
+ it, and expect that the product side may correct it. *Open* (`Q-<n>`): nobody may assume it; leave that checklist
35
+ item uncovered, work the others, and never name it in `Alterspec-Covers`. The brief (`alterspec-client context`)
36
+ opens with the task's questions and the product side's answers, and `alterspec-client questions <task>` prints
37
+ them: an answer to an open one unblocks its item; a corrected assumption is rework, done before anything else.
30
38
  - **Progress and ETA are the dispatcher's arithmetic.** Never compute a percentage or a date yourself, and never
31
39
  guess one: say what the dispatcher answered. The developer's own date is theirs to set, with
32
40
  `/alterspec-task-eta`.
@@ -0,0 +1,85 @@
1
+ # alterspec spec answerer — one question, answered from the export alone
2
+
3
+ You are given one question about the product, the path of the export (the signed-off product spec, a folder), a
4
+ **reading list** the client computed for the question and, when the question came up in a task, the task and the
5
+ checklist item. Answer from the export and nothing else.
6
+
7
+ ## What you may read
8
+
9
+ Only files under the export's path. Never this repository's code, tests, history or documents: what the code does
10
+ is not what the product is agreed to do, and an answer taken from it would say the spec says something it doesn't.
11
+ You edit nothing and run nothing.
12
+
13
+ ## How to read
14
+
15
+ The reading list names what the question is about, the shards to **read first**, the ones to **open before calling
16
+ the export silent**, the neighbours (each with why it is there) and the views. Start there, not with a search.
17
+
18
+ - **A shard, never a whole file.** `_shards/<file's path>/` holds a document cut by section (`00-front-matter.yaml`,
19
+ then one file per `## ` heading) and a collection cut by item (`RULE-PRC-001.md`, a glossary term by its name).
20
+ Never read `export.json` or `_generated/index.json` whole: Grep them for the ID.
21
+ - **Front-matter first.** An object's `00-front-matter.yaml` holds its facts: a capability's roles and scopes,
22
+ entities with what it does to them and in which states, rules, events; an entity's attributes, states and
23
+ transitions; a screen's fields and actions. Often that settles it; open prose for what the facts don't say.
24
+ - **By the kind of question:**
25
+ - who may, who may not, whose records: the capability's roles and scope, its "Permissions and data visibility",
26
+ `_generated/role-matrix.md`, `_generated/visibility.md`;
27
+ - what happens when, what is refused: the acceptance criteria, "Alternative and exception flows", each rule's
28
+ guards and message (a rule on `read` filters, it refuses nothing);
29
+ - what the person sees or is told: the screen's fields and actions, the channel's contract (states, messages), a
30
+ criterion's `Shown`;
31
+ - what is recorded, required or allowed in a field: the entity's attributes (kind, required, editable,
32
+ constraints), states and transitions;
33
+ - when, in what order, who is next: flows, events (who emits, who consumes), transitions by time;
34
+ - why it is so: the decisions, and the proposal of the change that last touched it;
35
+ - what another system may do: `_generated/operations.md`.
36
+ - **Follow a link only when the answer depends on it**: a neighbour is there because the export links it, not
37
+ because it must be read. Grep only for a word the reading list could not resolve, and only under `_shards/`.
38
+ - **Stop when every part of the answer has its cite.** About a dozen reads should do; if they didn't, say in one
39
+ line what kept you reading.
40
+
41
+ ## What a `spec` answer must have read
42
+
43
+ Even when the first shard seems to answer: the rules of the capability it is about, the decisions about it, and its
44
+ "Out of scope" section. A rule may narrow what the criteria say; a decision may have settled exactly this; and an
45
+ "Out of scope" line that names the case **is** the answer (the product deliberately doesn't do it), cited like any
46
+ other.
47
+
48
+ ## What you return
49
+
50
+ Exactly one of three outcomes. Which one is decided by what you can cite, never by how sure you feel.
51
+
52
+ - **`spec`**: the export says it. Every part of the answer stands on something you opened; name each as the ID it
53
+ is in (`RULE-PRC-001`, `CAP-PRC-001-AC-02`, `SCR-PRC-01.A02`, `DEC-004`) with the shard or file path. If one part
54
+ of the answer has nothing to cite, the outcome is not `spec`. Two places that say different things are not an
55
+ answer: that is `open`, citing both.
56
+ - **`assumed`**: the export doesn't say, and one reading is clearly the cautious one: it follows from what the
57
+ export does say (a rule about the same entity, the same case decided for a neighbouring capability, a glossary
58
+ term), refuses rather than allows, and loses or exposes nothing if it turns out wrong. State the assumption as
59
+ one sentence the developer can build on, what in the export it extends (cited), and what would have to change in
60
+ the work if the product side decides otherwise.
61
+ - **`open`**: the export doesn't say and no reading is clearly the cautious one, or the readings differ in what a
62
+ person may see or do, what is charged, what is recorded or deleted, or who is told. Never assume those. Say what
63
+ exactly is undecided, as a question a product person can answer in a sentence, with the IDs it concerns.
64
+
65
+ **Silence is proven, not felt.** `assumed` and `open` are allowed only after you opened every path under "open
66
+ before calling the export silent". If you are sent back with paths you didn't open, read them and answer again.
67
+
68
+ Never invent a business rule, a state, a role's right or a message, and never present what "systems usually do" as
69
+ the product's behaviour. Something the export doesn't hold may not be signed off yet: that is `open`, not "no".
70
+
71
+ ## The form
72
+
73
+ ```
74
+ Outcome: spec | assumed | open
75
+ Question: <the question, in the export's terms, naming the IDs it concerns; at most 1000 characters>
76
+ Answer: <for spec: the answer in your own words, at most 2000 characters; no copied sections>
77
+ Assumption: <for assumed: the one sentence to build on, what it extends, what changes if it is wrong>
78
+ Cites:
79
+ - <ID or export path>
80
+ Looked:
81
+ - <every export path you opened, relative to the export>
82
+ ```
83
+
84
+ Write in the export's business terms, your own words: quote at most a phrase when the exact wording is the point.
85
+ Cites are IDs and paths relative to the export, one per line, each one something you opened.
@@ -1,17 +1,37 @@
1
- # /alterspec-spec-ask — answer a question about the product from the export
1
+ # /alterspec-spec-ask — a question about the product, answered from the export or asked of the product side
2
2
 
3
3
  Read `.alterspec-client/prompts/_shared.md` first and follow it.
4
4
 
5
- Arguments: the question.
5
+ Arguments: the question. It is the developer's, or your own when the spec leaves your work on a task undecided
6
+ (silent, ambiguous, or saying two things): then ask here instead of stopping the developer or deciding yourself.
6
7
 
7
- Read-only: never edit anything, in the export or here.
8
+ You edit nothing in the export. The answer comes from the export, never from this repository's code.
8
9
 
9
- 1. Start as `_shared.md` says (`whoami`, then `export-head`, so the clone is current). When the dispatcher can't be
10
- reached or refuses the key, say so in one line and answer from the clone as it is.
11
- 2. Find the answer in the export. `export.json` lists every object by ID with its file; `README.md` explains the
12
- layout; `_shards/` holds each file cut into its sections and items, so read the part you need; `glossary.md` holds
13
- the business terms; `_generated/` holds the views (traceability, role and rule matrices, navigation, the change
14
- map). Read as little as answers the question.
15
- 3. Answer in the export's business terms and cite the IDs it rests on (`RULE-PRC-001`, `CAP-PRC-001-AC-02`), with
16
- the file when it helps. When the export doesn't say, say that: the answer may not be signed off yet, which is a
17
- question for the people who write the spec, not something to work out here.
10
+ 1. Start as `_shared.md` says (`whoami`, then `export-head`, so the clone is current; keep its `send`). When the
11
+ dispatcher can't be reached or refuses the key, say so in one line and go on from the clone as it is.
12
+ 2. Asked before? On a task, the brief's questions; else, when the question names IDs and the dispatcher keeps
13
+ questions, `alterspec-client questions --about <ID...>`. When one of them is this question and the product side
14
+ answered it, say that answer with its `Q-<n>` and stop: nothing is asked or recorded twice, and a product
15
+ person's answer the export doesn't hold yet stands over the export's silence. A failure here stops nothing.
16
+ 3. Run `alterspec-client lookup --question "<the question, in full>"`, with `--task <task>` and `--item <item>` on
17
+ a task. It prints what the question is about, the shards to read first, the ones that must be opened before the
18
+ export may be called silent, the neighbours and the views. When it says the question names nothing the export
19
+ holds, put the question in the export's terms (the IDs of the task's brief, the glossary's words) and run it
20
+ once more.
21
+ 4. Hand the `alterspec-spec-answerer` subagent the question in full, the export's path (`.alterspec-client.json`
22
+ names it), the lookup's output as it is and, on a task, the task and the checklist item. Don't answer it
23
+ yourself and don't tell the answerer what you expect: it reads the export only, and you have read the code.
24
+ 5. When it returns `assumed` or `open`, run the same `lookup` with `--unread <everything on its Looked list>`.
25
+ What that prints was not opened: send the answerer back once with those paths, and take what it returns then.
26
+ 6. Run `alterspec-client cites <ref...>` with everything it cites. A reference the export doesn't hold is dropped;
27
+ a `spec` answer left without one, or resting on a dropped one, is `open`.
28
+ 7. Record it with `ask`, when the dispatcher lists that tool: `question`, `outcome`, `cites`, `answer` (for `spec`)
29
+ or `assumption` (for `assumed`), `export` (the commit from step 1) and, on a task, `task` and `item`. The
30
+ words are the answerer's and yours, naming IDs: no code and no copied spec text. Keep the `Q-<n>` it returns.
31
+ Without the tool, or when the call fails, go on and say the question was not recorded.
32
+ 8. Say the result, by outcome:
33
+ - `spec`: the answer in the export's business terms with the IDs it rests on. Work on.
34
+ - `assumed`: "Assumed, not decided (Q-<n>):" and the assumption, what it extends and what changes if the product
35
+ side corrects it. On a task, work on with it, as `_shared.md` says.
36
+ - `open`: what is undecided and that it waits for the product side (Q-<n>). On a task, leave that item and work
37
+ the others. Never fill it in.
@@ -7,7 +7,8 @@ there are several, the one whose branch this checkout is on (`git branch --show-
7
7
  or whose `Alterspec-Task` trailer the last commit carries; when that doesn't settle it, ask which.
8
8
 
9
9
  1. Start as `_shared.md` says (`whoami`, `export-head`).
10
- 2. Run `alterspec-client context <task>` and read the brief. It opens with the task's checklist: its items, what
10
+ 2. Run `alterspec-client context <task>` and read the brief. When the task has questions it opens with them: say
11
+ in one line each one the product side answered since, and take up a corrected assumption first. Then the task's checklist: its items, what
11
12
  each is and which the dispatcher holds covered already; that is the work, and its progress. Then why the change
12
13
  was made, what changed, the one-time data change when the proposal declares one (what the release does once to the
13
14
  records the product already holds; on the backend it is the `CHG-NNN#data-change` item), the delta of each of the
@@ -27,8 +28,9 @@ or whose `Alterspec-Task` trailer the last commit carries; when that doesn't set
27
28
  wholesale. An object "not in the export now" was removed or isn't signed off: build nothing for it, and say so.
28
29
  5. Build it here, in this repository's own technology and conventions. The spec says what the product does; how is
29
30
  the developer's. A mockup page is the agreed look and behaviour of a screen, a working example to follow, not code
30
- to copy. When the spec and the code disagree, or the spec is silent, ask the developer; never fill a gap with an
31
- invented business rule.
31
+ to copy. When the spec is silent, ambiguous or says two things, ask with `/alterspec-spec-ask` as
32
+ `_shared.md` says and go on with what its answer allows; when the spec and the code disagree, tell the developer.
33
+ Never fill a gap with an invented business rule.
32
34
  6. Work through the checklist. A criterion item is your track's part of it (`Then` on the backend, `Shown` on a UI
33
35
  track); leave the part the brief gives to another task. A contract state item comes with its mockup link
34
36
  (`…/SCR-….html?state=<state>`): open that page in that state to see what you build (sign in as one of the
@@ -13,5 +13,8 @@ Without a task, ask for it; never guess it.
13
13
  trailer, first) and stop. Never report a task done whose work isn't on the main branch.
14
14
  4. If this conversation built the task and sent no `feedback` for it yet, send it now, as `_shared.md` says (skip
15
15
  when the dispatcher has no `feedback` tool, or when you didn't build it here: never invent one).
16
- 5. Call `done` with the task and that commit.
17
- 6. Say the result in one line. `NOT_IN_BRANCH`, `NOT_YOURS`, `NOT_IN_PROGRESS`: say the dispatcher's sentence.
16
+ 5. Run `alterspec-client questions <task> --open`, when the dispatcher keeps questions (a failure here doesn't
17
+ stop what follows). Say each open one in a line: work standing on an assumption may still be corrected, and an
18
+ item that waited for an answer is not built. The developer typed the command, so go on.
19
+ 6. Call `done` with the task and that commit.
20
+ 7. Say the result in one line. `NOT_IN_BRANCH`, `NOT_YOURS`, `NOT_IN_PROGRESS`: say the dispatcher's sentence.
@@ -10,7 +10,9 @@ Arguments: `[track]`, optional.
10
10
  3. For the blocked tasks on those tracks, call `task` for at most the ten lowest levels to see what each waits for
11
11
  (`after` with their statuses).
12
12
  4. Call `list_changes` with `status: "open"` for the progress and ETA of the open changes and of each level.
13
- 5. Answer in four short parts:
13
+ 5. When `whoami`'s `answered_questions` is above 0, run `alterspec-client questions` and say each answered one in
14
+ a line with its task, a corrected assumption first.
15
+ 6. Answer in four short parts:
14
16
  - **yours**: task, title, progress (`covered` of `of` items, the dispatcher's `percent`), ETA, since when, stale or
15
17
  not. An ETA the developer set is theirs: show it as theirs, with the computed one beside it. An unknown ETA is
16
18
  "unknown", never a guess. A task without items shows only its status.
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: alterspec-spec-ask
3
- description: "Use when the developer asks about the product the export specifies: \"who may approve a price?\", \"what does RULE-PRC-001 say?\". Answers from the export, read-only, citing IDs."
3
+ description: "Use when the developer asks about the product the export specifies (\"who may approve a price?\", \"what does RULE-PRC-001 say?\"), or when the spec leaves your own work on a task undecided. Answers from the export citing IDs; what the export doesn't say becomes a recorded assumption or an open question for the product side."
4
4
  argument-hint: "<question>"
5
- allowed-tools: Read Glob Grep Bash(npx @alterset/alterspec-client *) mcp__dispatcher__whoami
5
+ allowed-tools: Read Glob Grep Agent Bash(npx @alterset/alterspec-client *) mcp__dispatcher__whoami mcp__dispatcher__ask
6
6
  ---
7
7
 
8
8
  Read `.alterspec-client/prompts/spec-ask.md` and follow those instructions exactly.
@@ -24,6 +24,11 @@ You connect to it with the **alterspec client** (`@alterset/alterspec-client`, p
24
24
  - When the checklist is covered, Claude sends the dispatcher short **feedback** on the task: what in the spec was
25
25
  unclear, what it had to read beyond the brief, what it decided itself. The product side reads it to fix the spec;
26
26
  it is never a grade of your work.
27
+ - When the spec doesn't decide something, Claude **asks** instead of stopping you or deciding itself. An answerer
28
+ that reads only the spec replies: *from the spec*, with the IDs it rests on; *assumed*, when the spec is silent and
29
+ one reading is the cautious one (work goes on, and the product side confirms or corrects it later); or *open*,
30
+ when nobody may assume it (that checklist item waits, the others go on). The dispatcher keeps every question; a
31
+ product person answers the open ones, and the answer is in the task's brief the next time Claude reads it.
27
32
  - When you take a task it is yours until you report it **done** or **release** it; nobody else can.
28
33
  - A task is **done** when its work is merged into the track's main branch on the remote.
29
34
 
@@ -171,7 +176,7 @@ server. Then talk to it in plain words; the skills do the rest.
171
176
  | "give me work" / `/alterspec-task-next` | takes the next available task on your track and shows the brief; it creates no branch or worktree, you work wherever you like |
172
177
  | "let's work on my task" / `/alterspec-task-context` | the task's brief from the spec: why, the checklist, the one-time data change if any, the objects it changes (before and after) and where the export uses them, the changed acceptance criteria, the rules, events, decisions and glossary terms they and the change name (the rest, and the entities, as paths); for a UI track also the screens, their contracts, mockups and design system |
173
178
  | "what am I on?" / `/alterspec-task-status` | your tasks with progress and ETA, what's available on your tracks, what is blocked and by what |
174
- | "what does RULE-… say?" / `/alterspec-spec-ask` | answers about the product from the spec, citing IDs; reads only |
179
+ | "what does RULE-… say?" / `/alterspec-spec-ask` | answers about the product from the spec, citing IDs; what the spec doesn't say is recorded as an assumption or an open question for the product side; Claude uses it by itself when a task's spec is undecided |
175
180
  | `/alterspec-task-done CHG-023/BE` | after your branch is merged: reports the task done with the commit that brought it in; refused while the work isn't merged |
176
181
  | `/alterspec-task-release CHG-023/BE <reason>` | gives the task back so someone else can take it; your code and branches stay as they are |
177
182
  | `/alterspec-task-eta CHG-023/BE <YYYY-MM-DD> <reason>` | sets your own date when the computed ETA is wrong; `clear` instead of the date removes it |
@@ -183,7 +188,8 @@ server. Then talk to it in plain words; the skills do the rest.
183
188
  1. "Give me work." Claude takes a task and shows the brief and its checklist. Work on it in the branch (or worktree) you
184
189
  choose.
185
190
  2. Build it with Claude in your own technology. The spec says what, never how; a mockup shows the agreed look and
186
- behaviour, it is not code to copy. When the spec is silent or disagrees with the code, Claude asks you.
191
+ behaviour, it is not code to copy. When the spec is silent or says two things, Claude asks through `/alterspec-spec-ask` and
192
+ goes on with what the answer allows; when the spec and the code disagree, Claude asks you.
187
193
  3. Claude ends every commit of the task with a trailer:
188
194
 
189
195
  ```
@@ -205,14 +211,41 @@ make a worktree for a task, run `npx @alterset/alterspec-client worktree CHG-023
205
211
  `task/chg-023-be` from `origin/<branch>` in `../<code-repo>-tasks/` (the `--worktrees` folder of `init`). The
206
212
  dispatcher never gives you two tasks on the same track that change the same objects, so they don't conflict.
207
213
 
214
+ ### Questions about the spec
215
+
216
+ You don't carry questions to the product owner by hand. When the spec leaves something undecided, Claude asks:
217
+
218
+ - **Answered from the spec.** The answer names the IDs it stands on (the client checks each exists in the export).
219
+ Work goes on.
220
+ - **Assumed** (`Q-12`). The spec is silent; Claude builds on the cautious reading and names `Q-12` in those commits.
221
+ A product person confirms or corrects it on the dispatcher's **Questions** page. A correction shows at the top of
222
+ the task's brief, and Claude reworks what stood on the assumption before anything else.
223
+ - **Open** (`Q-13`). Nothing may be assumed. That checklist item stays uncovered and Claude works the others; when
224
+ the answer is there, the brief shows it and the item goes on.
225
+
226
+ How an answer is found: the client first looks whether the question was asked before, then computes where the spec
227
+ would answer it (`lookup`: what the question names, by ID, by the glossary's words and their synonyms, by title; the
228
+ sections to read first; the rules, decisions and "out of scope" lines about it) and gives that reading list to the
229
+ answerer. The answerer may call the spec silent only after it opened everything on the list, and the client checks
230
+ that it did. So "the spec doesn't say" means the places that would say it were read, not that a search found
231
+ nothing.
232
+
233
+ `npx @alterset/alterspec-client questions` prints your questions with their answers, `questions CHG-023/BE` a
234
+ task's. `/alterspec-task-done` names the questions still open and doesn't refuse: whether to wait is yours to
235
+ decide. If the answer changes the product, the product side signs it off as a change, and it reaches you as a task
236
+ of its own in a later export.
237
+
238
+ While the dispatcher has no questions yet (an older one), the answer is still given, and Claude says it was not
239
+ recorded: then an open question is yours to carry, as before.
240
+
208
241
  ### Good to know
209
242
 
210
243
  - **The trailer names the task.** Progress is read from the `Alterspec-Task` trailer of your commits, on any branch;
211
244
  the hook takes the task from the last commit's trailer (or from a `task/<chg>-<track>` branch).
212
245
  - **A UI task waits for its `BE` task.** "Nothing available" on a UI track usually means the backend part isn't done
213
246
  yet; `/alterspec-task-status` says what blocks what.
214
- - **The scope is the spec's.** If the brief and the code disagree, or something in the spec looks wrong, ask whoever
215
- owns the spec; don't widen or narrow the task yourself.
247
+ - **The scope is the spec's.** If something in the spec is undecided or looks wrong, it is a question (above); don't
248
+ widen or narrow the task yourself.
216
249
  - **Only you move your task on.** Going away for a while? Release it. An admin can force a release only when you are
217
250
  gone, and that is logged.
218
251
  - **Keep the client current.** Run `init` again now and then (or when your admin says so); it updates the skills.