@alterset/alterspec-client 0.12.0 → 0.12.1

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.
@@ -10,19 +10,28 @@ export, and when the export is silent it is what gets recorded as the assumption
10
10
 
11
11
  You edit nothing in the export. The answer comes from the export, never from this repository's code.
12
12
 
13
+ **The task the question concerns.** A question is recorded with its task whenever it has one, taken or not: the
14
+ task the developer names, else the one the work is about (the change and track you are building: the brief's, the
15
+ branch's `task/<chg>-<track>`, the last commit's `Alterspec-Task`, or the task in the export's `work.json` for the
16
+ change you are reading). It need not be assigned to anyone: a developer reading ahead of a blocked task asks about
17
+ that task. When it concerns one of the task's checklist items (`alterspec-client context <task>` lists them), name
18
+ the item too. Without one, a question about the product as a whole is asked without a task. Never make a task up:
19
+ `_shared.md` says how one is written.
20
+
13
21
  1. Start as `_shared.md` says (`whoami`, then `export-head`, so the clone is current; keep its `send`). When the
14
22
  dispatcher can't be reached or refuses the key, say so in one line and go on from the clone as it is.
15
- 2. Asked before? On a task, the brief's questions; else, when the question names IDs and the dispatcher keeps
16
- questions, `alterspec-client questions --about <ID...>`. When one of them is this question and the product side
23
+ 2. Asked before? With a task, `alterspec-client questions <task>` (the brief's questions, on a task you hold);
24
+ else, when the question names IDs and the dispatcher keeps questions, `alterspec-client questions --about
25
+ <ID...>`. When one of them is this question and the product side
17
26
  answered it, say that answer with its `Q-<n>` and stop: nothing is asked or recorded twice, and a product
18
27
  person's answer the export doesn't hold yet stands over the export's silence. A failure here stops nothing.
19
- 3. Run `alterspec-client lookup --question "<the question, in full>"`, with `--task <task>` and `--item <item>` on
20
- a task. It prints what the question is about, the shards to read first, the ones that must be opened before the
21
- export may be called silent, the neighbours and the views. When it says the question names nothing the export
22
- holds, put the question in the export's terms (the IDs of the task's brief, the glossary's words) and run it
23
- once more.
28
+ 3. Run `alterspec-client lookup --question "<the question, in full>"`, with `--task <task>` and `--item <item>`
29
+ whenever the question concerns one. It prints what the question is about, the shards to read first, the ones
30
+ that must be opened before the export may be called silent, the neighbours and the views. When it says the
31
+ question names nothing the export holds, put the question in the export's terms (the IDs of the task's brief,
32
+ the glossary's words) and run it once more.
24
33
  4. Hand the `alterspec-spec-answerer` subagent the question in full, the export's path (`.alterspec-client.json`
25
- names it), the lookup's output as it is and, on a task, the task and the checklist item. Don't answer it
34
+ names it), the lookup's output as it is and, with a task, the task and the checklist item. Don't answer it
26
35
  yourself and don't tell the answerer what you expect: it reads the export only, and you have read the code.
27
36
  5. When it returns `assumed` or `open`, run the same `lookup` with `--unread <everything on its Looked list>`.
28
37
  What that prints was not opened: send the answerer back once with those paths, and take what it returns then.
@@ -31,12 +40,12 @@ You edit nothing in the export. The answer comes from the export, never from thi
31
40
  7. An answer from the spec is not sent to the dispatcher: nothing was decided, so there is nothing for the product
32
41
  side to read. Record it with `ask` only when the outcome is `assumed` or `open`, and when the dispatcher lists
33
42
  that tool: `question`, `outcome`, `cites` (what the question concerns, what the assumption extends),
34
- `assumption` (for `assumed`), `export` (the commit from step 1) and, on a task, `task` and `item`. The words are
35
- the answerer's and yours, naming IDs: no code and no copied spec text. Keep the `Q-<n>` it returns. Without the
43
+ `assumption` (for `assumed`), `export` (the commit from step 1) and, with a task, `task` and `item`. The words
44
+ are the answerer's and yours, naming IDs: no code and no copied spec text. Keep the `Q-<n>` it returns. Without the
36
45
  tool, or when the call fails, go on and say the question was not recorded.
37
46
  8. Say the result, by outcome:
38
47
  - `spec`: the answer in the export's business terms with the IDs it rests on. Work on.
39
48
  - `assumed`: "Assumed, not decided (Q-<n>):" and the assumption, what it extends and what changes if the product
40
- side corrects it. On a task, work on with it, as `_shared.md` says.
41
- - `open`: what is undecided and that it waits for the product side (Q-<n>). On a task, leave that item and work
42
- the others. Never fill it in.
49
+ side corrects it. On a task you hold, work on with it, as `_shared.md` says.
50
+ - `open`: what is undecided and that it waits for the product side (Q-<n>). On a task you hold, leave that item
51
+ and work the others. Never fill it in.
@@ -229,6 +229,11 @@ either the spec already says, or the choice is recorded at once as an assumption
229
229
  hour. Nothing about the product is decided silently and found out at the end of the task. How the code is built is
230
230
  yours and is never asked.
231
231
 
232
+ A question is recorded with the task it concerns, and the checklist item when it concerns one, whether or not the
233
+ task is yours yet: ask about `CHG-028/BE` while it waits behind another task and it lands on that task's page and in
234
+ its next holder's brief, not among the questions about no task. Name the task, or Claude takes the one the work is
235
+ about.
236
+
232
237
  How an answer is found: the client first looks whether the question was asked before, then computes where the spec
233
238
  would answer it (`lookup`: what the question names, by ID, by the glossary's words and their synonyms, by title; the
234
239
  sections to read first; the rules, decisions and "out of scope" lines about it) and gives that reading list to the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alterset/alterspec-client",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "The alterspec client: takes tasks of an alterspec export from the dispatcher into a developer's repository.",
5
5
  "license": "MIT",
6
6
  "author": "Alterset d.o.o.",