@antoneeo/agentic-sdlc-skill 1.36.0 → 1.37.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.
@@ -1,216 +1,216 @@
1
- # Spec Elicitation
2
-
3
- `## The question discipline` below governs EVERY doubt and EVERY question to the
4
- user — any phase, any level, inside or outside the round. The rest of the file is
5
- the spec elicitation round: it applies when an L3 request enters phase 3 (Request
6
- Analysis), BEFORE drafting the ANALYSIS document (Standalone) or the D-UC/E-ISP
7
- (Hybrid).
8
-
9
- Skip path: if the spec is already complete — an approved Vision, explicit user
10
- requirements or an earlier reply already answer goal, scope, and constraints, and
11
- any remainder is settled as §When a doubt emerges allows — skip the round and add
12
- a one-line note in the analysis stating why it was skipped and naming the
13
- sources. Do not run the round as a formality when the answers are already on
14
- record.
15
-
16
- Unattended path: when the user is not reachable (a scheduled or autonomous run)
17
- and a real doubt remains, do not stall and do not invent consensus. Write it as a
18
- **declared assumption** (§Ask before the write) in the artifact it touches. At L3,
19
- mark the ANALYSIS `BLOCKED on the user` and stop before implementation; below L3,
20
- proceed and list the assumption in the reply. An assumption on the record is
21
- reviewable; a guess folded silently into a design is not.
22
-
23
- ## The question discipline
24
-
25
- A doubt kept silent is decided by the agent alone and reaches the documents
26
- looking settled; a useless question wastes the user's attention. This section
27
- rules on both.
28
-
29
- ### When a doubt emerges
30
-
31
- A **candidate doubt** is an open point whose answer changes what you build or
32
- write. The usual signals — they illustrate, they do not close the definition:
33
-
34
- | Thought | What it means |
35
- |---|---|
36
- | "They probably mean…", "I'll assume…" | you are choosing between readings of the request |
37
- | "The request doesn't say, so I'll fill it in" | a gap in scope, a non-goal, an acceptance criterion or a priority |
38
- | "Either would work, I'll pick one" | equivalent in effect: yours, pick and do not ask; different in effect: weigh them below |
39
- | "I'll note it as an assumption and move on" | with the user reachable, that note is where doubts go to be forgotten |
40
- | "It's reversible, it can be fixed later" | later is after the documents built on it exist |
41
-
42
- Settle it by kind:
43
-
44
- - **A fact, or information only the user holds** (a deadline, a price, a
45
- constraint): settled only by evidence, cited — never settled by a weighing. Left
46
- open by the search and changing the work, it is a real doubt.
47
- - **A choice** — a reading of intent, a design trade-off: cite the user's statement
48
- that settles it (the request, an APPROVED Vision, an earlier reply); failing one,
49
- weigh the pros and cons of each option, stating each rejected option
50
- at its strongest — the need it serves best; a weighing won against a weak
51
- version of the alternative is not a weighing. One clearly outweighs: take it and
52
- write the weighing with the choice — "I take X over Z: pro …, contro …".
53
- Balanced, or turning on a user priority not on record: a **real doubt** — and it
54
- turns on one whenever the options serve different needs of the actor, each better
55
- at one the actor would notice in using the result (reading in a spreadsheet
56
- against processing by a program, a quick answer against a complete one) and
57
- none good enough at both, and nothing the user wrote ranks those needs — however
58
- clear your own ranking feels. "The more natural reading" with no pros and cons
59
- written is not a weighing. Design is yours until it trades off something the
60
- user owns. Reserved approvals never enter this test (§The form of a question).
61
-
62
- ### Ask before the write
63
-
64
- A real doubt that passes the legality test below is **owed**, not merely allowed:
65
- the test separates a doubt from a search not yet run, it never licenses silence.
66
- Ask it before the first write that would embed its answer — in an analysis, plan,
67
- guide or code — grouped with every doubt open at that point, in one numbered set,
68
- with the client's structured-question facility where it has one. Never defer a
69
- doubt to the deliverable, where the user must find it inside the document; never
70
- drip one question per turn. The round below is this rule's planned occasion. Fold
71
- every answer into the artifact, citing the reply (§Reflect); an intent choice with
72
- neither a source nor a weighing is a finding (`review.md` §Reviewing).
73
-
74
- **Declared assumptions exist only where no question can be asked:**
75
-
76
- - **Unattended** — the user is not reachable (the Unattended path above).
77
- - **Delegated** — the user's own words handed you this choice ("your call"); quote
78
- them. A general "go ahead" is not a delegation.
79
-
80
- Each states **what it is taken from** and **the alternative it excludes**, and is
81
- listed where the user will read it: an assumption recorded alone is a decision
82
- wearing an assumption's clothes, and one nobody is shown is a silent decision. A
83
- dispatched subagent returns its open points in its final output (`dispatch.md`);
84
- the orchestrator treats them as its own candidate doubts (§When a doubt emerges).
85
-
86
- ### The legality test
87
-
88
- Everywhere, a question is legal only when BOTH hold:
89
-
90
- 1. **Searched first, and the search is named — with its result.** The answer is
91
- not on record and not derivable from the repo, `ai_docs/`, the Vision or the
92
- conversation — and the question states the terms, tools and areas you searched
93
- **and what they returned**. Same standard as a router verdict or an
94
- architect-pass MISSING, and it carries their floors, not only their vocabulary
95
- (`architect.md`, `guides.md`): a search whose scope does not cover the question
96
- is not a search; a hit you did not open does not narrow anything; and **never
97
- fake the search** — "I looked and found nothing" that names no terms and no
98
- areas is a search not run. A question the repo can answer is a search
99
- outsourced to the user.
100
- 2. **It names what is blocked.** The question states the specific decision or
101
- fact that cannot be resolved without the reply — what you will do differently
102
- depending on the answer. If nothing downstream changes with the answer, there
103
- is no question.
104
-
105
- Never legal:
106
-
107
- - **Generic confirmation** — "shall I proceed?", "is this OK?". The process
108
- authorizes proceeding; if a real risk motivates the ask, name the risk and the
109
- fork — that is a blocking question and carries the form below.
110
- - **Preference-fishing** — asking the user to pick among options that are
111
- equivalent **in their effect on the benefit** and already decided by the
112
- project's conventions. Cheapness to undo is NOT the test.
113
- - **Re-asking the record** — goal, scope or constraints that an APPROVED Vision,
114
- an earlier reply, or the request itself already states.
115
-
116
- What questions are FOR — what the user uniquely owns: the benefit, priorities
117
- between conflicting goods, non-goals, acceptance, and the approvals doctrine
118
- reserves to them (Vision promotion and amendment, scope changes, proposal
119
- acceptance, merge decisions). Facts about intent come from the user; facts about
120
- the system come from search.
121
-
122
- **Precedence, because both halves can fire at once:** this paragraph wins over
123
- the "never legal" list above it. A choice the user uniquely owns is never
124
- preference-fishing, however cheap it is to undo; the list reaches choices that
125
- are *not* theirs.
126
-
127
- ### The form of a question
128
-
129
- The approvals reserved above and every stop the doctrine mandates are asked
130
- whatever you expect the answer: **legal by mandate**, never weighed, never
131
- re-argued here. Unattended, they are never assumed: the work holds, unless the
132
- mandating rule prescribes its own unattended handling (`review.md`'s gated rung
133
- does).
134
-
135
- **Exactly two mandating files prescribe their own hand-over, and there the form
136
- below does not apply** (two forms over one moment is the duplicate `review.md`
137
- §Reviewing forbids): `debugging.md`'s circuit breaker — the minimal reproduction,
138
- what was ruled out, the current best hypothesis; and `review.md`'s round cap —
139
- the artifact plus the open findings. That list is closed. **Every other mandated
140
- stop carries the form**, including one that names only its options and not its
141
- evidence (`SKILL.md`'s Vision-Gate conflict names the two choices — the evidence
142
- is still owed, and for a Vision conflict the quoted line IS the substance) and
143
- one that prescribes nothing (`guides.md`'s guide proposal and its ingestion
144
- bound). "The file mentions the moment" is not a prescription; only a stated
145
- hand-over is.
146
-
147
- A question outside the planned occasions carries the **blocking form**, one line
148
- per element — surface both sides with their evidence, never silently pick one:
149
-
150
- - the fork: the options, each with its pros and cons, and what each implies for
151
- the work;
152
- - the evidence: what you searched, read or tried, and what it leaves undecided;
153
- - why no assumption survives — why the weighing does not settle it, and what a
154
- wrong pick costs; a reserved approval or a mandated stop cites the approval or
155
- the mandate instead;
156
- - why it is the user's call — what makes the remainder intent, priority or
157
- approval rather than a derivable fact;
158
- - what stays blocked until answered.
159
-
160
- ## The round
161
-
162
- **Derive before asking.** Answer each of the six from the record first — the
163
- Vision, `ai_docs/`, the conversation; the code answers facts and constraints,
164
- never the goal, scope or acceptance. Ask only the real doubts, and carry the
165
- derived answers into the round with their source or weighing ("I take X from Y;
166
- the questions below are what no source settles"), not re-confirmed one by one.
167
-
168
- Ask ONE structured set of questions, not a drip of follow-ups. Keep each
169
- question short and numbered; offer concrete options where a real choice
170
- exists, each with its pros and cons (this narrows the reply and speeds up the
171
- round). Cover:
172
-
173
- 1. **Goal / benefit** — what problem this closes and why now. The answer must
174
- name what the actor *obtains*, not a mechanism: "a dashboard" is not an
175
- answer to "never lose the thread" — ask again until it is a benefit
176
- (`vision.md`: the Vision is the distilled benefit; solutions and preferences
177
- are what gets filtered out).
178
- 2. **Actors** — who interacts with this: their role, primary goal, what
179
- "good UX" means to them, and the surfaces they use today for this job
180
- (the screens, commands or endpoints they operate — the Interface
181
- Contract's as-is starts here; skip the surface half when no actor-facing
182
- surface is in scope) and, at responsibility level, what happens when they
183
- act (which components respond) — the Interface Contract's flow starts here. These become the Vision's `## Actors`; each
184
- use-case below attaches to one (actor = who they are, use-case = what
185
- they do). Skip only when an approved Vision already names them.
186
- 3. **Scope boundaries** — what is explicitly included in this unit of work.
187
- 4. **Non-goals** — what is explicitly excluded, so scope does not silently
188
- creep in later.
189
- 5. **Constraints** — technical, compatibility, and security constraints that
190
- bound the solution space.
191
- 6. **Acceptance signals** — how you and the user will both recognize the
192
- work is done and correct.
193
-
194
- ## Reflect
195
-
196
- Fold the answers into the ANALYSIS `## Objective` / `## Vision-Alignment`
197
- sections (Standalone) or into the D-UC/E-ISP (Hybrid) — do not leave them
198
- sitting only in the chat transcript. The written document, not the
199
- conversation, is what the next session and the next reviewer will read.
200
-
201
- Run a second round only when an answer opens a real fork in the design (a
202
- genuinely new question the first round could not have anticipated). Do not
203
- run a second round to double-check answers that were already clear.
204
-
205
- ## Anti-patterns
206
-
207
- - **Interrogation**: an endless list of questions, or drip-feeding one
208
- question at a time across many turns instead of one structured round.
209
- - **Deferring a doubt into the document**: writing a guess into the artifact
210
- and leaving the user to find it there.
211
- - **Collecting answers without folding them in**: getting replies in chat
212
- and proceeding to design without writing them into the analysis document —
213
- the next reader has no record of why the scope is what it is.
214
-
215
- (The illegal question forms — generic confirmation, preference-fishing,
216
- re-asking the record — are defined once, in `## The question discipline`.)
1
+ # Spec Elicitation
2
+
3
+ `## The question discipline` below governs EVERY doubt and EVERY question to the
4
+ user — any phase, any level, inside or outside the round. The rest of the file is
5
+ the spec elicitation round: it applies when an L3 request enters phase 3 (Request
6
+ Analysis), BEFORE drafting the ANALYSIS document (Standalone) or the D-UC/E-ISP
7
+ (Hybrid).
8
+
9
+ Skip path: if the spec is already complete — an approved Vision, explicit user
10
+ requirements or an earlier reply already answer goal, scope, and constraints, and
11
+ any remainder is settled as §When a doubt emerges allows — skip the round and add
12
+ a one-line note in the analysis stating why it was skipped and naming the
13
+ sources. Do not run the round as a formality when the answers are already on
14
+ record.
15
+
16
+ Unattended path: when the user is not reachable (a scheduled or autonomous run)
17
+ and a real doubt remains, do not stall and do not invent consensus. Write it as a
18
+ **declared assumption** (§Ask before the write) in the artifact it touches. At L3,
19
+ mark the ANALYSIS `BLOCKED on the user` and stop before implementation; below L3,
20
+ proceed and list the assumption in the reply. An assumption on the record is
21
+ reviewable; a guess folded silently into a design is not.
22
+
23
+ ## The question discipline
24
+
25
+ A doubt kept silent is decided by the agent alone and reaches the documents
26
+ looking settled; a useless question wastes the user's attention. This section
27
+ rules on both.
28
+
29
+ ### When a doubt emerges
30
+
31
+ A **candidate doubt** is an open point whose answer changes what you build or
32
+ write. The usual signals — they illustrate, they do not close the definition:
33
+
34
+ | Thought | What it means |
35
+ |---|---|
36
+ | "They probably mean…", "I'll assume…" | you are choosing between readings of the request |
37
+ | "The request doesn't say, so I'll fill it in" | a gap in scope, a non-goal, an acceptance criterion or a priority |
38
+ | "Either would work, I'll pick one" | equivalent in effect: yours, pick and do not ask; different in effect: weigh them below |
39
+ | "I'll note it as an assumption and move on" | with the user reachable, that note is where doubts go to be forgotten |
40
+ | "It's reversible, it can be fixed later" | later is after the documents built on it exist |
41
+
42
+ Settle it by kind:
43
+
44
+ - **A fact, or information only the user holds** (a deadline, a price, a
45
+ constraint): settled only by evidence, cited — never settled by a weighing. Left
46
+ open by the search and changing the work, it is a real doubt.
47
+ - **A choice** — a reading of intent, a design trade-off: cite the user's statement
48
+ that settles it (the request, an APPROVED Vision, an earlier reply); failing one,
49
+ weigh the pros and cons of each option, stating each rejected option
50
+ at its strongest — the need it serves best; a weighing won against a weak
51
+ version of the alternative is not a weighing. One clearly outweighs: take it and
52
+ write the weighing with the choice — "I take X over Z: pro …, contro …".
53
+ Balanced, or turning on a user priority not on record: a **real doubt** — and it
54
+ turns on one whenever the options serve different needs of the actor, each better
55
+ at one the actor would notice in using the result (reading in a spreadsheet
56
+ against processing by a program, a quick answer against a complete one) and
57
+ none good enough at both, and nothing the user wrote ranks those needs — however
58
+ clear your own ranking feels. "The more natural reading" with no pros and cons
59
+ written is not a weighing. Design is yours until it trades off something the
60
+ user owns. Reserved approvals never enter this test (§The form of a question).
61
+
62
+ ### Ask before the write
63
+
64
+ A real doubt that passes the legality test below is **owed**, not merely allowed:
65
+ the test separates a doubt from a search not yet run, it never licenses silence.
66
+ Ask it before the first write that would embed its answer — in an analysis, plan,
67
+ guide or code — grouped with every doubt open at that point, in one numbered set,
68
+ with the client's structured-question facility where it has one. Never defer a
69
+ doubt to the deliverable, where the user must find it inside the document; never
70
+ drip one question per turn. The round below is this rule's planned occasion. Fold
71
+ every answer into the artifact, citing the reply (§Reflect); an intent choice with
72
+ neither a source nor a weighing is a finding (`review.md` §Reviewing).
73
+
74
+ **Declared assumptions exist only where no question can be asked:**
75
+
76
+ - **Unattended** — the user is not reachable (the Unattended path above).
77
+ - **Delegated** — the user's own words handed you this choice ("your call"); quote
78
+ them. A general "go ahead" is not a delegation.
79
+
80
+ Each states **what it is taken from** and **the alternative it excludes**, and is
81
+ listed where the user will read it: an assumption recorded alone is a decision
82
+ wearing an assumption's clothes, and one nobody is shown is a silent decision. A
83
+ dispatched subagent returns its open points in its final output (`dispatch.md`);
84
+ the orchestrator treats them as its own candidate doubts (§When a doubt emerges).
85
+
86
+ ### The legality test
87
+
88
+ Everywhere, a question is legal only when BOTH hold:
89
+
90
+ 1. **Searched first, and the search is named — with its result.** The answer is
91
+ not on record and not derivable from the repo, `ai_docs/`, the Vision or the
92
+ conversation — and the question states the terms, tools and areas you searched
93
+ **and what they returned**. Same standard as a router verdict or an
94
+ architect-pass MISSING, and it carries their floors, not only their vocabulary
95
+ (`architect.md`, `guides.md`): a search whose scope does not cover the question
96
+ is not a search; a hit you did not open does not narrow anything; and **never
97
+ fake the search** — "I looked and found nothing" that names no terms and no
98
+ areas is a search not run. A question the repo can answer is a search
99
+ outsourced to the user.
100
+ 2. **It names what is blocked.** The question states the specific decision or
101
+ fact that cannot be resolved without the reply — what you will do differently
102
+ depending on the answer. If nothing downstream changes with the answer, there
103
+ is no question.
104
+
105
+ Never legal:
106
+
107
+ - **Generic confirmation** — "shall I proceed?", "is this OK?". The process
108
+ authorizes proceeding; if a real risk motivates the ask, name the risk and the
109
+ fork — that is a blocking question and carries the form below.
110
+ - **Preference-fishing** — asking the user to pick among options that are
111
+ equivalent **in their effect on the benefit** and already decided by the
112
+ project's conventions. Cheapness to undo is NOT the test.
113
+ - **Re-asking the record** — goal, scope or constraints that an APPROVED Vision,
114
+ an earlier reply, or the request itself already states.
115
+
116
+ What questions are FOR — what the user uniquely owns: the benefit, priorities
117
+ between conflicting goods, non-goals, acceptance, and the approvals doctrine
118
+ reserves to them (Vision promotion and amendment, scope changes, proposal
119
+ acceptance, merge decisions). Facts about intent come from the user; facts about
120
+ the system come from search.
121
+
122
+ **Precedence, because both halves can fire at once:** this paragraph wins over
123
+ the "never legal" list above it. A choice the user uniquely owns is never
124
+ preference-fishing, however cheap it is to undo; the list reaches choices that
125
+ are *not* theirs.
126
+
127
+ ### The form of a question
128
+
129
+ The approvals reserved above and every stop the doctrine mandates are asked
130
+ whatever you expect the answer: **legal by mandate**, never weighed, never
131
+ re-argued here. Unattended, they are never assumed: the work holds, unless the
132
+ mandating rule prescribes its own unattended handling (`review.md`'s gated rung
133
+ does).
134
+
135
+ **Exactly two mandating files prescribe their own hand-over, and there the form
136
+ below does not apply** (two forms over one moment is the duplicate `review.md`
137
+ §Reviewing forbids): `debugging.md`'s circuit breaker — the minimal reproduction,
138
+ what was ruled out, the current best hypothesis; and `review.md`'s round cap —
139
+ the artifact plus the open findings. That list is closed. **Every other mandated
140
+ stop carries the form**, including one that names only its options and not its
141
+ evidence (`SKILL.md`'s Vision-Gate conflict names the two choices — the evidence
142
+ is still owed, and for a Vision conflict the quoted line IS the substance) and
143
+ one that prescribes nothing (`guides.md`'s guide proposal and its ingestion
144
+ bound). "The file mentions the moment" is not a prescription; only a stated
145
+ hand-over is.
146
+
147
+ A question outside the planned occasions carries the **blocking form**, one line
148
+ per element — surface both sides with their evidence, never silently pick one:
149
+
150
+ - the fork: the options, each with its pros and cons, and what each implies for
151
+ the work;
152
+ - the evidence: what you searched, read or tried, and what it leaves undecided;
153
+ - why no assumption survives — why the weighing does not settle it, and what a
154
+ wrong pick costs; a reserved approval or a mandated stop cites the approval or
155
+ the mandate instead;
156
+ - why it is the user's call — what makes the remainder intent, priority or
157
+ approval rather than a derivable fact;
158
+ - what stays blocked until answered.
159
+
160
+ ## The round
161
+
162
+ **Derive before asking.** Answer each of the six from the record first — the
163
+ Vision, `ai_docs/`, the conversation; the code answers facts and constraints,
164
+ never the goal, scope or acceptance. Ask only the real doubts, and carry the
165
+ derived answers into the round with their source or weighing ("I take X from Y;
166
+ the questions below are what no source settles"), not re-confirmed one by one.
167
+
168
+ Ask ONE structured set of questions, not a drip of follow-ups. Keep each
169
+ question short and numbered; offer concrete options where a real choice
170
+ exists, each with its pros and cons (this narrows the reply and speeds up the
171
+ round). Cover:
172
+
173
+ 1. **Goal / benefit** — what problem this closes and why now. The answer must
174
+ name what the actor *obtains*, not a mechanism: "a dashboard" is not an
175
+ answer to "never lose the thread" — ask again until it is a benefit
176
+ (`vision.md`: the Vision is the distilled benefit; solutions and preferences
177
+ are what gets filtered out).
178
+ 2. **Actors** — who interacts with this: their role, primary goal, what
179
+ "good UX" means to them, and the surfaces they use today for this job
180
+ (the screens, commands or endpoints they operate — the Interface
181
+ Contract's as-is starts here; skip the surface half when no actor-facing
182
+ surface is in scope) and, at responsibility level, what happens when they
183
+ act (which components respond) — the Interface Contract's flow starts here. These become the Vision's `## Actors`; each
184
+ use-case below attaches to one (actor = who they are, use-case = what
185
+ they do). Skip only when an approved Vision already names them.
186
+ 3. **Scope boundaries** — what is explicitly included in this unit of work.
187
+ 4. **Non-goals** — what is explicitly excluded, so scope does not silently
188
+ creep in later.
189
+ 5. **Constraints** — technical, compatibility, and security constraints that
190
+ bound the solution space.
191
+ 6. **Acceptance signals** — how you and the user will both recognize the
192
+ work is done and correct.
193
+
194
+ ## Reflect
195
+
196
+ Fold the answers into the ANALYSIS `## Objective` / `## Vision-Alignment`
197
+ sections (Standalone) or into the D-UC/E-ISP (Hybrid) — do not leave them
198
+ sitting only in the chat transcript. The written document, not the
199
+ conversation, is what the next session and the next reviewer will read.
200
+
201
+ Run a second round only when an answer opens a real fork in the design (a
202
+ genuinely new question the first round could not have anticipated). Do not
203
+ run a second round to double-check answers that were already clear.
204
+
205
+ ## Anti-patterns
206
+
207
+ - **Interrogation**: an endless list of questions, or drip-feeding one
208
+ question at a time across many turns instead of one structured round.
209
+ - **Deferring a doubt into the document**: writing a guess into the artifact
210
+ and leaving the user to find it there.
211
+ - **Collecting answers without folding them in**: getting replies in chat
212
+ and proceeding to design without writing them into the analysis document —
213
+ the next reader has no record of why the scope is what it is.
214
+
215
+ (The illegal question forms — generic confirmation, preference-fishing,
216
+ re-asking the record — are defined once, in `## The question discipline`.)