@alterset/alterspec-client 0.13.0 → 0.15.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 +24 -20
- package/assets/prompts/_shared.md +7 -6
- package/assets/prompts/agents/spec-answerer.md +8 -2
- package/assets/prompts/spec-ask.md +16 -1
- package/assets/prompts/task-context.md +2 -2
- package/assets/prompts/task-next.md +2 -2
- package/developer-guide.md +22 -13
- package/dist/cli.js +291 -160
- package/dist/cli.js.map +1 -1
- package/dist/work.js +5 -1
- package/dist/work.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,8 +26,10 @@ reference.
|
|
|
26
26
|
- **Track**: a stream of build work. It is not a channel. `BE` is the backend (every API channel included). Every
|
|
27
27
|
other track is one design, named by the code of the channel that owns it (`BO`, `MOB`). A channel that shares
|
|
28
28
|
another's design is built in that channel's track.
|
|
29
|
-
- **Checklist**: a task's items, such as acceptance criteria (`CAP-CAT-001-AC-03`), screen actions (`SCR-PRC-01.A02`)
|
|
30
|
-
|
|
29
|
+
- **Checklist**: a task's items, such as acceptance criteria (`CAP-CAT-001-AC-03`), screen actions (`SCR-PRC-01.A02`),
|
|
30
|
+
experience states (`UX-SCR-PRC-01-WEB#error`) and, of an object changed as a whole, the parts of its text that
|
|
31
|
+
changed (`ENT-USER#lifecycle`, `NFR-019#sign-in-succeeded`, `RULE-056#front-matter`). Progress counts the items
|
|
32
|
+
your commits cover.
|
|
31
33
|
- **Then and Shown**: a criterion's `Then` is what the system guarantees (the backend's), its `Shown` what the screen
|
|
32
34
|
shows (a UI track's). A task's checklist holds a criterion for its own part only; one without `Shown` is all the
|
|
33
35
|
backend's.
|
|
@@ -51,7 +53,6 @@ npx @alterset/alterspec-client init --dispatcher https://<dispatcher> --export .
|
|
|
51
53
|
| `--dispatcher <url>` | The dispatcher's URL. |
|
|
52
54
|
| `--export <path>` | Your clone of the export repository, relative to this repository or absolute. |
|
|
53
55
|
| `--track <code...>` | The tracks this repository builds (`BE`, `BO`, …). Several are allowed: `--track BE BO`. |
|
|
54
|
-
| `--worktrees <path>` | Where task worktrees go. Default: `../<repo>-tasks`. |
|
|
55
56
|
| `--key <key>` | The public key to sign with, as a `.pub` path or the key line. Default: the first `ssh-ed25519` key in ssh-agent, then `~/.ssh/id_ed25519.pub`. |
|
|
56
57
|
| `--branch <name>` | The track's main branch. Default: the remote's `HEAD`, else `main`. |
|
|
57
58
|
| `--force` | Replace skills you modified. |
|
|
@@ -70,12 +71,11 @@ npx @alterset/alterspec-client init --dispatcher https://<dispatcher> --export .
|
|
|
70
71
|
|
|
71
72
|
It is safe to run again. Running it again also updates the client: it adds the skills of the new version, removes
|
|
72
73
|
the ones it dropped, and keeps any skill you edited unless you pass `--force`. Commit everything it writes except
|
|
73
|
-
`.claude/settings.local.json`, so
|
|
74
|
-
|
|
75
|
-
`.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
no change.
|
|
74
|
+
`.claude/settings.local.json`, so a worktree you make has it too. The client never makes a branch, a worktree or a
|
|
75
|
+
commit in your repository; in a worktree of yours, the first `export-head` or `context` run writes the approval
|
|
76
|
+
into that worktree's `.claude/settings.local.json` (where `.mcp.json` is present and `.claude` is not a link that
|
|
77
|
+
points nowhere), and nothing else. If you keep the setup out of git, as top-level symlinks into another repository
|
|
78
|
+
(`.claude`, `.mcp.json`, `.alterspec-client`), link them into each worktree yourself.
|
|
79
79
|
|
|
80
80
|
When `.claude` is a symlink to another repository, git can't tell whether the file is ignored there: `init` says so,
|
|
81
81
|
and you add `.claude/settings.local.json` to that repository's `.gitignore`.
|
|
@@ -99,15 +99,19 @@ You talk to Claude Code; the skills call the dispatcher and the CLI for you.
|
|
|
99
99
|
|
|
100
100
|
1. **Take work.** `/alterspec-task-next`, or just "give me the next task". Name a track or ask for several at once:
|
|
101
101
|
`/alterspec-task-next BE 2`. It only assigns: with one task it continues with the brief, with several it lists
|
|
102
|
-
them; type `/alterspec-task-context <task>` wherever you work on each. It creates no branch or worktree; where
|
|
103
|
-
work is yours
|
|
102
|
+
them; type `/alterspec-task-context <task>` wherever you work on each. It creates no branch or worktree; where
|
|
103
|
+
and how you work is yours.
|
|
104
104
|
2. **Build from the brief.** `/alterspec-task-context [task]` reads the task's brief from the export:
|
|
105
105
|
- the checklist, with the items the dispatcher already holds covered and what changed in each;
|
|
106
106
|
- why the change was made;
|
|
107
|
-
- the before and after of each object
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
- the before and after of each object, and what moved since the sign-off: the later changes that touched it and
|
|
108
|
+
whether the export's current text is still this delta's after (when not, build to the current file);
|
|
109
|
+
- for `BE`: the changed acceptance criteria on the checklist and the operations, whole; the rules, events,
|
|
110
|
+
quality requirements and integrations the checklist's criteria or the change's text name, whole; the others
|
|
111
|
+
the capabilities name, as paths;
|
|
112
|
+
- for `BE`: the entities the capabilities work with, as paths, each with its lifecycle in one line;
|
|
113
|
+
- the reach of the rules it carries whole and the roles it touches: which capabilities enforce or hold them,
|
|
114
|
+
which criteria cover them, which screens they are on;
|
|
111
115
|
- the decisions and glossary terms the change's text names, whole; the other decisions its objects name, as
|
|
112
116
|
paths;
|
|
113
117
|
- for a UI track: the screens, their experience contracts, the mockup pages and the design system.
|
|
@@ -130,7 +134,7 @@ You talk to Claude Code; the skills call the dispatcher and the CLI for you.
|
|
|
130
134
|
the last progress and reports the task done with the branch's head commit and the branch (or, once merged, with
|
|
131
135
|
the commit on the main branch that brought it in). It refuses while nothing is pushed. The tasks waiting for yours
|
|
132
136
|
start from your branch; the dispatcher learns of the merge from the repository's pushes. When the brief says
|
|
133
|
-
"Start from `task/…`",
|
|
137
|
+
"Start from `task/…`", fetch that branch and base yours on `origin/<branch>`, not on main.
|
|
134
138
|
|
|
135
139
|
Other skills:
|
|
136
140
|
|
|
@@ -146,8 +150,9 @@ the others from plain language as well.
|
|
|
146
150
|
|
|
147
151
|
## Commands
|
|
148
152
|
|
|
149
|
-
The skills run these; you rarely need them yourself. Run them in the repository or in a
|
|
150
|
-
|
|
153
|
+
The skills run these; you rarely need them yourself. Run them in the repository or in a worktree of it; there the
|
|
154
|
+
configuration is read from the main checkout. None of them writes to your repository's git: no branch, worktree,
|
|
155
|
+
switch or commit (`merged` fetches `origin/<main>` and the task branch, to read them).
|
|
151
156
|
|
|
152
157
|
| Command | What it does |
|
|
153
158
|
| ----------------------------------------- | ----------------------------------------------------------------------------- |
|
|
@@ -155,8 +160,7 @@ worktree, the configuration is read from the main checkout.
|
|
|
155
160
|
| `key` | Print the public key and fingerprint you sign with. |
|
|
156
161
|
| `open dispatcher` | Sign in and open the dispatcher's pages in the browser. The link works once, for a minute. |
|
|
157
162
|
| `context <task> [--json] [--stats]` | Print the task's brief from the export, starting with its questions and its checklist. |
|
|
158
|
-
| `
|
|
159
|
-
| `progress [task] [--json]` | Report the items your commits cover. Default: the task of the current branch. |
|
|
163
|
+
| `progress [task] [--json]` | Report the items your commits cover. Default: the task of the branch `task/<chg>-<track>`, else of the last commit's `Alterspec-Task` trailer. |
|
|
160
164
|
| `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. |
|
|
161
165
|
| `cites <ref...>` | Check that every ID or path is in the export; what an answer "from the spec" must pass. |
|
|
162
166
|
| `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. |
|
|
@@ -61,8 +61,9 @@ dispatcher's pages.
|
|
|
61
61
|
that follow (the public key and its fingerprint) exactly, for the developer to send to an admin. Stop.
|
|
62
62
|
- There is no `whoami` tool: the `dispatcher` MCP server isn't loaded. Tell the developer to run
|
|
63
63
|
`npx @alterset/alterspec-client init` here (it writes the server to `.mcp.json` and approves it in the
|
|
64
|
-
git-ignored `.claude/settings.local.json`; in a worktree `
|
|
65
|
-
it with `/mcp` in an interactive `claude` terminal, and
|
|
64
|
+
git-ignored `.claude/settings.local.json`; in a worktree of the developer's, `export-head` and `context` write that
|
|
65
|
+
approval the first time they run there), or to approve it with `/mcp` in an interactive `claude` terminal, and
|
|
66
|
+
then to start a new session. Stop.
|
|
66
67
|
2. Run `alterspec-client export-head --latest <latest_export.commit>` (without `--latest` while it is null). Its JSON
|
|
67
68
|
has `send`, the commit to give the dispatcher as `export`, and `behind`:
|
|
68
69
|
- `behind` above 0: say in one line "The export is <behind> commits behind the dispatcher; working with what is
|
|
@@ -80,10 +81,10 @@ dispatcher's pages.
|
|
|
80
81
|
|
|
81
82
|
## Commits of a task
|
|
82
83
|
|
|
83
|
-
Work where the developer works: the client makes no branch or
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
Work where the developer works: the client makes no branch, worktree or commit in their repository, ever, and you
|
|
85
|
+
make no branch or worktree and switch none unless the developer asks you to, with plain git. The branch name is
|
|
86
|
+
theirs; `task/<chg>-<track>` is what the client recognises by itself, any other name works through the commits'
|
|
87
|
+
trailer. Every commit of the task ends with a trailer block, after a blank line:
|
|
87
88
|
|
|
88
89
|
```
|
|
89
90
|
Alterspec-Task: CHG-012/BE
|
|
@@ -31,7 +31,11 @@ the export silent**, the neighbours (each with why it is there) and the views. S
|
|
|
31
31
|
- what is recorded, required or allowed in a field: the entity's attributes (kind, required, editable,
|
|
32
32
|
constraints), states and transitions;
|
|
33
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
|
|
34
|
+
- why it is so: the decisions, and the proposal of the change that last touched it. An archived proposal
|
|
35
|
+
(`changes/archive/<CHG>/proposal.md`, or `modules/<mod>/changes/archive/<CHG>/proposal.md` for a module's change; its "What changes" rows and examples) is the record of why and what moved;
|
|
36
|
+
it is not the spec. It never makes an outcome `spec` on its own, and where it and an object differ, the object
|
|
37
|
+
(the rule, the criterion, the entity) is what the product does: answer from the object and say in one line that
|
|
38
|
+
the proposal reads otherwise. Two **objects** that differ are still `open`;
|
|
35
39
|
- what another system may do: `_generated/operations.md`.
|
|
36
40
|
- **Follow a link only when the answer depends on it**: a neighbour is there because the export links it, not
|
|
37
41
|
because it must be read. Grep only for a word the reading list could not resolve, and only under `_shards/`.
|
|
@@ -61,7 +65,9 @@ Exactly one of three outcomes. Which one is decided by what you can cite, never
|
|
|
61
65
|
the work if the product side decides otherwise.
|
|
62
66
|
- **`open`**: the export doesn't say and no reading is clearly the cautious one, or the readings differ in what a
|
|
63
67
|
person may see or do, what is charged, what is recorded or deleted, or who is told. Never assume those. Say what
|
|
64
|
-
exactly is undecided, as a question a product person can answer in a sentence, with the IDs it concerns.
|
|
68
|
+
exactly is undecided, as a question a product person can answer in a sentence, with the IDs it concerns. When
|
|
69
|
+
the question has several parts, keep them numbered in the question and answer each part with its own outcome's
|
|
70
|
+
words, so a product person can confirm part (1) and decide part (2) in one answer.
|
|
65
71
|
|
|
66
72
|
**Silence is proven, not felt.** `assumed` and `open` are allowed only after you opened every path under "open
|
|
67
73
|
before calling the export silent". If you are sent back with paths you didn't open, read them and answer again.
|
|
@@ -6,7 +6,12 @@ Arguments: the question. It is the developer's, or your own when the spec leaves
|
|
|
6
6
|
(silent, ambiguous, or saying two things), or when you are about to decide something about the product's behaviour
|
|
7
7
|
that the brief doesn't state: then ask here instead of stopping the developer or deciding silently. For a decision
|
|
8
8
|
you are about to take, say in the question which way you would go and why; the answerer weighs it against the
|
|
9
|
-
export, and when the export is silent it is what gets recorded as the assumption.
|
|
9
|
+
export, and when the export is silent it is what gets recorded as the assumption. A question is about one
|
|
10
|
+
matter and carries every case of it you can see as numbered parts (the moment a limit counts from, what happens to
|
|
11
|
+
a thing in flight when it ends, what is recorded then): one question the product side answers once, not one per
|
|
12
|
+
case asked as each comes up. A wish of the developer's about how the product should behave or look, with no spec
|
|
13
|
+
text it reads two ways and no item waiting on it, is not a question: say so, and the developer brings it to the
|
|
14
|
+
product side as a proposal.
|
|
10
15
|
|
|
11
16
|
You edit nothing in the export. The answer comes from the export, never from this repository's code.
|
|
12
17
|
|
|
@@ -25,6 +30,16 @@ the item too. Without one, a question about the product as a whole is asked with
|
|
|
25
30
|
<ID...>`. When one of them is this question and the product side
|
|
26
31
|
answered it, say that answer with its `Q-<n>` and stop: nothing is asked or recorded twice, and a product
|
|
27
32
|
person's answer the export doesn't hold yet stands over the export's silence. A failure here stops nothing.
|
|
33
|
+
**One question per matter.** When one of them is still open, cites the same object (the same rule, entity,
|
|
34
|
+
integration or moment) and this question is the next case of it (a follow-up to your own question, an edge the
|
|
35
|
+
first one didn't name), this is not a new question: it is a new numbered part of that one. Go on through steps
|
|
36
|
+
3 to 6 for the new part alone and, at step 7, record it as one question that restates the open one with its
|
|
37
|
+
parts numbered, naming the earlier `Q-<n>` first in its text ("Extends Q-124: (1) … (2) …") and passing
|
|
38
|
+
`extends: Q-<n>` when the dispatcher's `ask` takes it; the product side then answers the matter once. And a
|
|
39
|
+
limit: once three of your questions about one cited object are open on the task, ask nothing more about that
|
|
40
|
+
object. Write the cases still undecided into one consolidated question the same way, build everything else on the
|
|
41
|
+
assumptions already recorded, and leave the items those cases hold uncovered. Fifty questions on one task about
|
|
42
|
+
one e-mail's five moments were answered by nobody; one question with five parts would have been.
|
|
28
43
|
3. Run `alterspec-client lookup --question "<the question, in full>"`, with `--task <task>` and `--item <item>`
|
|
29
44
|
whenever the question concerns one. It prints what the question is about, the shards to read first, the ones
|
|
30
45
|
that must be opened before the export may be called silent, the neighbours and the views. When it says the
|
|
@@ -8,8 +8,8 @@ or whose `Alterspec-Task` trailer the last commit carries; when that doesn't set
|
|
|
8
8
|
|
|
9
9
|
1. Start as `_shared.md` says (`whoami`, `export-head`).
|
|
10
10
|
2. Run `alterspec-client context <task>` and read the brief. When it says "Start from `task/…`", a done predecessor
|
|
11
|
-
of this track is pushed there and not in the main branch yet: the task's
|
|
12
|
-
main (
|
|
11
|
+
of this track is pushed there and not in the main branch yet: the task's work is based on that branch, not on
|
|
12
|
+
main (the developer fetches it and bases their branch on `origin/<branch>`); say so in one line before any commit.
|
|
13
13
|
When the change has questions it opens with them, on
|
|
14
14
|
every track (each names the task it was asked on): say in one line each one the product side answered since, and
|
|
15
15
|
take up a corrected assumption first. When the dispatcher says this change carries answers this track built
|
|
@@ -13,8 +13,8 @@ the developer wants in progress at once (default 1).
|
|
|
13
13
|
5. Each assigned task's `after` lists the done tasks it waited for, each with its `commit` and `branch`. When an
|
|
14
14
|
entry of the same track names a `branch` (not null), that predecessor's work is pushed there and not in the main
|
|
15
15
|
branch yet: say in one line which branch to start from, e.g. "CHG-013/BE starts from `task/chg-012-be`, where
|
|
16
|
-
CHG-012/BE was done; not from main"
|
|
17
|
-
`
|
|
16
|
+
CHG-012/BE was done; not from main": the developer fetches it and bases their branch on `origin/<branch>`
|
|
17
|
+
(`git fetch origin <branch>` first). A null `branch` means the main branch, as usual.
|
|
18
18
|
6. The tasks it assigned:
|
|
19
19
|
- **One**: continue with `.alterspec-client/prompts/task-context.md` for that task, here, on whatever branch the
|
|
20
20
|
developer is on (when it starts from a predecessor's branch, say so before any commit is made).
|
package/developer-guide.md
CHANGED
|
@@ -154,8 +154,7 @@ shared repository next to it and link them in with symlinks. That works:
|
|
|
154
154
|
- If `init` reports skills or `.claude/settings.json` as created or updated, the shared repository is behind the
|
|
155
155
|
client: tell whoever maintains it rather than committing there yourself.
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
relative target is made to resolve there. This needs client 0.4.4 or later.
|
|
157
|
+
A worktree you make holds only what git tracks: link these into it yourself when you want the skills there.
|
|
159
158
|
|
|
160
159
|
## Step 5: Check that you can sign in
|
|
161
160
|
|
|
@@ -176,7 +175,7 @@ server. Then talk to it in plain words; the skills do the rest.
|
|
|
176
175
|
| You say or type | What happens |
|
|
177
176
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
|
178
177
|
| "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 |
|
|
179
|
-
| "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 |
|
|
178
|
+
| "let's work on my task" / `/alterspec-task-context` | the task's brief from the spec: why, the checklist (each part of an object named by its section or line), the one-time data change if any, the objects it changes (before and after), what moved since the sign-off and where the export uses them, the reach of its rules and roles, the changed acceptance criteria, the rules, events, quality requirements, integrations, decisions and glossary terms they and the change name (the rest, and the entities with their lifecycles, as paths); for a UI track also the screens, their contracts, mockups and design system |
|
|
180
179
|
| "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 |
|
|
181
180
|
| "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 |
|
|
182
181
|
| `/alterspec-task-done CHG-023/BE` | after your branch is pushed: reports the task done with its head commit and the branch (or, once merged, the commit on the main branch); refused while nothing is pushed |
|
|
@@ -188,7 +187,7 @@ server. Then talk to it in plain words; the skills do the rest.
|
|
|
188
187
|
### A task, start to finish
|
|
189
188
|
|
|
190
189
|
1. "Give me work." Claude takes a task and shows the brief and its checklist. Work on it in the branch (or worktree) you
|
|
191
|
-
choose.
|
|
190
|
+
choose, made the way you make them: the client creates no branch, no worktree and no commit in your repository.
|
|
192
191
|
2. Build it with Claude in your own technology. The spec says what, never how; a mockup shows the agreed look and
|
|
193
192
|
behaviour, it is not code to copy. When the spec is silent or says two things, Claude asks through `/alterspec-spec-ask` and
|
|
194
193
|
goes on with what the answer allows; when the spec and the code disagree, Claude asks you.
|
|
@@ -207,17 +206,18 @@ server. Then talk to it in plain words; the skills do the rest.
|
|
|
207
206
|
notices the merge by itself.
|
|
208
207
|
|
|
209
208
|
When the brief says "Start from `task/chg-012-be`", a task yours waited for was done on that branch and isn't merged
|
|
210
|
-
yet: base your branch on it, not on main (`
|
|
211
|
-
|
|
209
|
+
yet: fetch it and base your branch on it, not on main (`git fetch origin task/chg-012-be`, then branch from
|
|
210
|
+
`origin/task/chg-012-be`). The teams merge a change's branches together once every track is done.
|
|
212
211
|
|
|
213
212
|
### Several tasks at once
|
|
214
213
|
|
|
215
214
|
Ask for more than one: `/alterspec-task-next BE 2`. Claude lists them and works on none; type
|
|
216
|
-
`/alterspec-task-context <task>` wherever you work on each, e.g. a session per worktree
|
|
217
|
-
|
|
218
|
-
`
|
|
219
|
-
|
|
220
|
-
dispatcher never gives you two tasks on the same track that change the same
|
|
215
|
+
`/alterspec-task-context <task>` wherever you work on each, e.g. a session per worktree you made (`git worktree add
|
|
216
|
+
../<code-repo>-tasks/chg-023-be -b task/chg-023-be origin/main`). In a worktree the client reads the configuration
|
|
217
|
+
from your main checkout, and the first `export-head` or `context` run there approves the dispatcher server in that
|
|
218
|
+
worktree's git-ignored `.claude/settings.local.json`, since a worktree holds only what git tracks; start a new Claude
|
|
219
|
+
Code session there after that. The dispatcher never gives you two tasks on the same track that change the same
|
|
220
|
+
objects, so they don't conflict.
|
|
221
221
|
|
|
222
222
|
### Questions about the spec
|
|
223
223
|
|
|
@@ -242,6 +242,14 @@ task is yours yet: ask about `CHG-028/BE` while it waits behind another task and
|
|
|
242
242
|
its next holder's brief, not among the questions about no task. Name the task, or Claude takes the one the work is
|
|
243
243
|
about.
|
|
244
244
|
|
|
245
|
+
One question per matter. A question carries every case of its matter as numbered parts (the moment a limit counts
|
|
246
|
+
from, what happens to a thing in flight when it ends, what is recorded then), and a follow-up to Claude's own open
|
|
247
|
+
question extends that question instead of adding a new one, so the product side answers the matter once. After
|
|
248
|
+
three open questions about one object on a task, Claude asks nothing more about it: it writes the cases still
|
|
249
|
+
undecided into one question and builds everything else on the assumptions already recorded. A wish about how the
|
|
250
|
+
product should behave or look, with nothing in the spec read two ways and no item waiting on it, is not a question:
|
|
251
|
+
bring it to the product side as a proposal.
|
|
252
|
+
|
|
245
253
|
How an answer is found: the client first looks whether the question was asked before, then computes where the spec
|
|
246
254
|
would answer it (`lookup`: what the question names, by ID, by the glossary's words and their synonyms, by title; the
|
|
247
255
|
sections to read first; the rules, decisions and "out of scope" lines about it) and gives that reading list to the
|
|
@@ -266,7 +274,9 @@ recorded: then an open question is yours to carry, as before.
|
|
|
266
274
|
- **The trailer names the task.** Progress is read from the `Alterspec-Task` trailer of your commits, on any branch;
|
|
267
275
|
the hook takes the task from the last commit's trailer (or from a `task/<chg>-<track>` branch).
|
|
268
276
|
- **A UI task waits for its `BE` task.** "Nothing available" on a UI track usually means the backend part isn't done
|
|
269
|
-
yet; `/alterspec-task-status` says what blocks what.
|
|
277
|
+
yet; `/alterspec-task-status` says what blocks what. On a track, a task waits only for the earlier tasks that
|
|
278
|
+
changed an item of its checklist, wrote what it changes again, or added an object it names; the rest of the
|
|
279
|
+
lineage runs beside it.
|
|
270
280
|
- **The scope is the spec's.** If something in the spec is undecided or looks wrong, it is a question (above); don't
|
|
271
281
|
widen or narrow the task yourself.
|
|
272
282
|
- **Only you move your task on.** Going away for a while? Release it. An admin can force a release only when you are
|
|
@@ -290,5 +300,4 @@ recorded: then an open question is yours to carry, as before.
|
|
|
290
300
|
| "The export is N commits behind the dispatcher" | your export clone couldn't be pulled: `git -C ../<product>-export pull`, and check its remote if it keeps happening |
|
|
291
301
|
| an item reported as unknown | a commit's `Alterspec-Covers` named something the checklist lacks. A pushed commit can't be corrected; name the right item on a later commit |
|
|
292
302
|
| `task-done` refused: not pushed | push the task's branch `task/<chg>-<track>` first, then run it again |
|
|
293
|
-
| a worktree link "points nowhere", or `worktree` refuses | a symlink in your repository doesn't resolve from the task worktree; the message says which and what to do. Update the client to 0.4.4 or later first |
|
|
294
303
|
| anything else | send your admin the message exactly as it appears |
|