@rasensio/aidlc-content 2.10.0 → 2.12.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.
|
@@ -3,7 +3,8 @@ questions:
|
|
|
3
3
|
mechanism: AskUserQuestion
|
|
4
4
|
directive: >-
|
|
5
5
|
Render each question spec as one question in an AskUserQuestion call. The
|
|
6
|
-
|
|
6
|
+
call returns the user's answer: wait for it and never go on with an assumed
|
|
7
|
+
one. The question text opens with the one-line what it is and its example, then the
|
|
7
8
|
interrogative sentence; each option's label is its choice and its description
|
|
8
9
|
is its observable effect on that example — who would see what, what would be
|
|
9
10
|
rejected — never the mechanism, because the description is all the user sees
|
package/capabilities/codex.yaml
CHANGED
|
@@ -2,14 +2,19 @@ platform: codex
|
|
|
2
2
|
questions:
|
|
3
3
|
mechanism: request_user_input
|
|
4
4
|
directive: >-
|
|
5
|
-
Render each question spec through
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
Render each question spec through request_user_input when the running Codex
|
|
6
|
+
build exposes it — the one-line what it is with its example, then the
|
|
7
|
+
interrogative, as the prompt; one entry per option, its label the choice and
|
|
8
|
+
its text the observable effect on that example. Wait for the answer the
|
|
9
|
+
request returns and never go on with an assumed one. When it is not
|
|
10
|
+
available, ask in numbered prose in the message as the fallback above says,
|
|
11
|
+
and do not pretend a picker exists; then end the turn, and do nothing that
|
|
12
|
+
depends on the answer until the user replies. In both branches: at most four
|
|
13
|
+
options per question and at least two — a spec with more must be split or
|
|
14
|
+
narrowed; mark the recommendation by putting it first and appending
|
|
15
|
+
"(Recommended)" to its label. Either way the question file is written first
|
|
16
|
+
and its path named in one line, because a sandboxed turn can end before an
|
|
17
|
+
answer arrives and the file is what survives it.
|
|
13
18
|
# Order is load-bearing: the Codex adapter writes every entry covering a phase,
|
|
14
19
|
# in this order, above the skill body, and the task-agents rule reads the line at
|
|
15
20
|
# the top of the skill file (native-reviewer-agent/AC-14).
|
|
@@ -160,7 +160,7 @@ writes every entry covering a phase; that is how its two implementation entries
|
|
|
160
160
|
Every question opens with **what it is**: the thing being decided, in plain words, on one concrete
|
|
161
161
|
example. The emitted rendering file states this once, under `## Every platform`, and every directive
|
|
162
162
|
names the line again where it lists what a prompt contains. That looks like duplication and is not. An
|
|
163
|
-
agent follows the most specific list it has, and
|
|
163
|
+
agent follows the most specific list it has, and both directives spell out the prompt's contents in
|
|
164
164
|
order, so a rule stated only in the shared section would be dropped exactly where it is needed. The
|
|
165
165
|
option half of the rule exists because Claude Code shows an option's consequence as its whole
|
|
166
166
|
description: written in schema terms, the prompt was unreadable even when the question file was fine.
|
|
@@ -168,6 +168,14 @@ The first real test (fieldmodel-apps, 2026-09-26) had all four questions decline
|
|
|
168
168
|
rewritten with a primer and one running example, all four were answered, three against the
|
|
169
169
|
recommendation.
|
|
170
170
|
|
|
171
|
+
The same reasoning keeps the option rules in each directive. Claude Code's and Codex's both say two to
|
|
172
|
+
four options, the recommendation first with "(Recommended)" on its label, and what to do until the
|
|
173
|
+
answer arrives: Claude Code waits for the answer its call returns; Codex waits for the answer
|
|
174
|
+
`request_user_input` returns or, with no picker, asks in numbered prose and ends the turn. A test reads
|
|
175
|
+
every registered platform's directive for those rules, so a new platform cannot ship without them.
|
|
176
|
+
Because the file carries every configured platform, it says under `## Which section is yours` that an
|
|
177
|
+
agent follows only the section headed with its own platform, which `AIDLC_AGENT` names under autopilot.
|
|
178
|
+
|
|
171
179
|
**Not everything that emits a file is an adapter.** Two emitters sit beside the adapter pass rather than
|
|
172
180
|
inside it — the roadmap authoring skill and the per-platform question rendering. Both are excluded for the
|
|
173
181
|
same two reasons. Adapters re-serialize frontmatter from a fixed key whitelist, so any key they do not
|