@rasensio/aidlc-content 2.9.0 → 2.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.
@@ -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
- question text opens with the one-line what it is and its example, then the
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
@@ -2,14 +2,19 @@ platform: codex
2
2
  questions:
3
3
  mechanism: request_user_input
4
4
  directive: >-
5
- Render each question spec through the structured user-input request when the
6
- running Codex build exposes one — the one-line what it is with its example,
7
- then the interrogative, as the prompt; one entry per option carrying its
8
- observable effect; the recommendation named as such. When it is not available,
9
- fall back to numbered prose in the message and do not pretend a picker exists.
10
- Either way the question file is written first and its path named in one line,
11
- because a sandboxed turn can end before an answer arrives and the file is what
12
- survives it.
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).
package/docs/roadmap.md CHANGED
@@ -388,7 +388,10 @@ fills only what is missing with the recommended choice.
388
388
 
389
389
  **Watching and stopping.** `aidlc autopilot status` shows the active run and each item's step, pull
390
390
  request, CI failure count and last error, and for an item waiting on you: the phase, its worktree and
391
- the `aidlc autopilot approve` command, or the pull request number to merge.
391
+ the `aidlc autopilot approve` command, or the pull request number to merge. Under a waiting item it
392
+ prints each decision left open in the item's question files — a question whose `[Answer]:` is
393
+ blank — with why it matters, the options (the recommended one marked) and the absolute path of the
394
+ file to answer in, each field cut to one line. The review notification names the first decision.
392
395
  `aidlc autopilot status --watch` follows the run live: every 2 seconds it redraws each item's
393
396
  roadmap title, step, lifecycle phase, tasks done, how long it has been in its step, pull request and
394
397
  CI state, and the last thing autopilot said about it, with its age — until the run ends. It has three
@@ -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 five directives spell out the prompt's contents in
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
@@ -49,8 +49,11 @@ before anything ships. You can pause or stop the run at any time.
49
49
  aidlc autopilot status --watch
50
50
  ```
51
51
 
52
- 5. When an item waits for your review, read its artifact in the item's worktree. Then approve
53
- it. Only a person can run this command; an agent is refused:
52
+ 5. When an item waits for your review, `aidlc autopilot status` prints each decision it left
53
+ open under it: the question, why it matters, the options with the recommended one marked, and
54
+ the file to answer in. Write your choice after that question's `[Answer]:`, or read the
55
+ artifact in the item's worktree. Then approve it. Only a person can run this command; an agent
56
+ is refused:
54
57
 
55
58
  ```bash
56
59
  aidlc autopilot approve <instance>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "2.9.0",
3
+ "version": "2.11.0",
4
4
  "bugs": "https://github.com/rasensio/aidlc-feedback/issues",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,7 +42,7 @@ The CLI does the work. This skill starts it and says how to watch and stop it. D
42
42
 
43
43
  One run can change both without touching the saved setup: `aidlc autopilot run --items 3 --stop-at merge` or `--pause-after design` (`--pause-after none` for no pauses, `--stop-at release` for the old merge-and-release). The flags apply to the items that run starts; an item already in flight keeps the stops it started with. A config saved before stops existed keeps today's behaviour — no pauses, merge and release — until somebody sets them.
44
44
 
45
- When the user asks what is waiting for them, run `aidlc autopilot status`: it names the phase, the worktree and the exact approve command for each waiting item. When they ask how the items are getting on, run `aidlc autopilot status --watch`: called from here it prints each item's phase, tasks done, time in its step and last event once, and returns.
45
+ When the user asks what is waiting for them, run `aidlc autopilot status`: it names the phase, the worktree and the exact approve command for each waiting item, and under it each open decision — the question, why it matters, the options with the recommended one marked, and the file to answer in. Answering is writing the chosen option after that question's `[Answer]:`, then the approve command. When they ask how the items are getting on, run `aidlc autopilot status --watch`: called from here it prints each item's phase, tasks done, time in its step and last event once, and returns.
46
46
 
47
47
  7. **Pause and resume.** When the user is stepping away or closing the laptop, run `aidlc autopilot pause`; when they are back, `aidlc autopilot resume`. Report what each printed. If pause says a pass is in progress — a merge or a release — run it again a minute later rather than stopping the run.
48
48