@rasensio/aidlc-content 2.7.0 → 2.9.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/docs/roadmap.md +8 -1
- package/package.json +1 -1
- package/skills/04-roadmap.md +6 -3
- package/skills/20-requirements.md +2 -2
- package/skills/30-design.md +3 -2
- package/skills/84-autopilot.md +1 -1
package/docs/roadmap.md
CHANGED
|
@@ -73,7 +73,10 @@ on something that does not exist yet makes every count of what is ready wrong.
|
|
|
73
73
|
|
|
74
74
|
Three flows: **capture** writes to `inbox/`, after checking whether an open item already owns the area
|
|
75
75
|
— if one does, the finding is appended there as a dated `## Received from <source>` section instead of
|
|
76
|
-
becoming a new file.
|
|
76
|
+
becoming a new file. Before writing, capture asks at most three decisions the build would otherwise
|
|
77
|
+
stop on — a scope edge, a name, a default — each with a recommendation and each skippable, and writes
|
|
78
|
+
the answers one line each under `## Decisions`, which requirements and design read before they ask.
|
|
79
|
+
**Triage** moves to `backlog/` or `hold/`, and is the one flow allowed to read
|
|
77
80
|
into an item's body — as far as the executive summary and no further. **Promote** creates an instance,
|
|
78
81
|
sets `promoted_to`, and moves the file to `in-progress/`. When the instance completes, the
|
|
79
82
|
`roadmap-done` action moves every item whose `promoted_to` names it to `done/` by itself; do not do
|
|
@@ -246,6 +249,10 @@ Each item goes through these steps:
|
|
|
246
249
|
worktree, then `aidlc autopilot approve <instance>`; the next pass waits at the next paused
|
|
247
250
|
phase, opens the pull request, or relaunches the agent to carry on. Autopilot reads the phase
|
|
248
251
|
files, not the agent's word, so an agent that runs past a pause still cannot reach a pull request.
|
|
252
|
+
A requirements or design phase that left nothing open — its artifact has a line reading
|
|
253
|
+
"Nothing open" and its question file is absent or has every `[Answer]:` filled — is not waited
|
|
254
|
+
on: the item carries on as if approved, and the run log and the item's `unattended-stops.md` say
|
|
255
|
+
which files were read. Anything else, and every implementation or testing pause, waits.
|
|
249
256
|
A waiting item holds no build slot, so the run keeps starting others, and it keeps the run alive
|
|
250
257
|
so there is something to carry it on after you approve.
|
|
251
258
|
4. **PR and CI.** Autopilot pushes the branch and opens the pull request. Green checks queue it;
|
package/package.json
CHANGED
package/skills/04-roadmap.md
CHANGED
|
@@ -127,9 +127,12 @@ Older items may predate this section. Add it when you next touch such an item
|
|
|
127
127
|
2. **Name the file.** `YYYYMMDD-<slug>.md` — today's date plus a short (2–4 word) slug.
|
|
128
128
|
3. **Handle collisions.** If the filename already exists in *any* status directory, ask one question — extend the existing item or new item? On extend, append a dated `## Update (YYYY-MM-DD)` section to it where it is; on new, suffix the slug (`-2`). Never silently overwrite.
|
|
129
129
|
4. **Merge first.** Before writing a new file, check whether an open item — anything in `inbox/`, `backlog/` or `in-progress/` — already owns the area this is about. If one does, append a dated `## Received from <source>` section to **that** item and stop; say which item it went to. This is about *subject*, where step 3 is about *filename*: four of those eighteen items were findings about areas an existing item already owned, one of them literally asking somebody to triage another item. Merging them took minutes and removed four files. A new file is the right answer when no open item owns the area — which is most of the time, and the check costs one read of a list you are already looking at.
|
|
130
|
-
5. **
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
5. **Ask the decisions the build will need.** Name at most three choices requirements or design would otherwise stop on — a scope edge, a user-visible name or flag, a default — each with a recommendation, and ask them in one message, together with step 7's one question when it asks one. Any or all may be answered "skip". No follow-up round. A choice the braindump already settles is not asked. When nobody is there to answer — an item an instance writes, an unattended run — ask nothing.
|
|
131
|
+
|
|
132
|
+
This is the moment the person still has the context. Requirements and design read the item's `## Decisions` section before they ask, so a choice answered here is not asked again hours later, when nobody remembers why.
|
|
133
|
+
6. **Write the file** into `inbox/`, with `source: human`, `promoted_to: null`, and one `history` entry dated today. Record `depends_on` only if the braindump itself names other items; never ask for dependencies. Write each answered decision as one line under `## Decisions`, after the item's other sections: `- <decision> — <answer>`. A skipped decision is not written; with none answered, there is no `## Decisions` section. Beyond step 5's decisions, do not interrogate the user for structure — capture friction kills inboxes; one braindump in, one file out.
|
|
134
|
+
7. **Draft the executive summary from the braindump, do not extract it by interview.** You write those six lines; the user does not. Ask at most one question, in step 5's message, and only when the braindump says nothing about who wants this or why — a good one is "would this make money, save money, or is it just something that needs doing?". Anything still unknown is `Not yet decided.`, which is the point of having the label.
|
|
135
|
+
8. **Confirm and return.** Report the file path and the `Recommendation` line, then return to whatever was happening. Showing the recommendation lets the user correct a wrong read immediately, while the context is still in front of them.
|
|
133
136
|
|
|
134
137
|
**Hard rule:** capture never reads or writes anything under `.aidlc/state/` — no claims, no phase files, no transitions log. Two sessions capturing simultaneously just produce two files; no locking exists or is needed. Do not auto-commit; staging is the user's.
|
|
135
138
|
|
|
@@ -59,7 +59,7 @@ See **The context rule** (`.aidlc/resources/rules/context.md`).
|
|
|
59
59
|
4. **Set scope boundaries.** Explicitly state what is NOT included.
|
|
60
60
|
5. **Non-functional requirements.** Address performance, security, accessibility, and compatibility where relevant.
|
|
61
61
|
6. **Write the change as a spec delta.** `.aidlc/specs/<capability>.md` says what the system does today. Read the files your change touches, then end `requirements.md` with a `## Spec delta` section: one `### ADDED <capability>: <requirement name>`, `### MODIFIED …` or `### REMOVED …` block per change. ADDED and MODIFIED blocks hold the requirement's full new text, written as what the system does. MODIFIED and REMOVED blocks start with `Base: <revision>`, copied from `aidlc spec show <capability>`. Capabilities are lowercase kebab-case names; a new one is created by its first ADDED block. Run `aidlc spec fold <instance> --dry-run` before the phase closes — it reports every error and conflict, and the same fold runs at completion, where a conflict blocks it. Skip the section when the change alters no lasting behaviour, as most bugfixes do not.
|
|
62
|
-
7. **For open decisions**: When a decision would change what `requirements.md` says, ask it through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) — questions for this phase go to `.aidlc/state/<instance>/requirements-questions.md`. Prefer drafting `requirements.md` early with the unresolved points marked as explicit decision blocks: users decide better reacting to a concrete draft than answering abstract questions. Fold each answer into the draft and leave the question file as the record of what was decided and why.
|
|
62
|
+
7. **For open decisions**: When a decision would change what `requirements.md` says, ask it through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) — questions for this phase go to `.aidlc/state/<instance>/requirements-questions.md`. Prefer drafting `requirements.md` early with the unresolved points marked as explicit decision blocks: users decide better reacting to a concrete draft than answering abstract questions. Fold each answer into the draft and leave the question file as the record of what was decided and why. A question the roadmap item's `## Decisions` section answers is not asked — its author answered it at capture: write the answer into `requirements.md`, citing `roadmap-item.md` `## Decisions`.
|
|
63
63
|
|
|
64
64
|
## Bugfix Reproduction (bugfix template)
|
|
65
65
|
|
|
@@ -82,7 +82,7 @@ When the instance uses the `bugfix` template, this phase produces `reproduction.
|
|
|
82
82
|
|
|
83
83
|
- `requirements.md` exists with at least one user story and corresponding acceptance criteria
|
|
84
84
|
- Each acceptance criterion is testable (has an observable pass/fail condition)
|
|
85
|
-
- The phase ends by naming each open decision — asked through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) in `.aidlc/state/<instance>/requirements-questions.md` — or by saying "Nothing open". Do not ask the user to confirm the whole document. Unattended (`AIDLC_UNATTENDED=1`): nothing is confirmed or logged; hard-stop when the requirements reach beyond the roadmap item, per `.aidlc/resources/rules/unattended.md`.
|
|
85
|
+
- The phase ends by naming each open decision — asked through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) in `.aidlc/state/<instance>/requirements-questions.md` — or by saying "Nothing open", written into `requirements.md` as a line of its own: autopilot reads that line to skip a pause with nothing to decide. Do not ask the user to confirm the whole document. Unattended (`AIDLC_UNATTENDED=1`): nothing is confirmed or logged; hard-stop when the requirements reach beyond the roadmap item, per `.aidlc/resources/rules/unattended.md`.
|
|
86
86
|
|
|
87
87
|
## Guidance
|
|
88
88
|
|
package/skills/30-design.md
CHANGED
|
@@ -28,6 +28,7 @@ Read only:
|
|
|
28
28
|
- the always-read guidance layers named in `.aidlc/guidance/index.yaml` (see **The always-read rule** (`.aidlc/resources/rules/always-read.md`))
|
|
29
29
|
- `.aidlc/context/architecture.md` and `style-guide.md`
|
|
30
30
|
- `.aidlc/context/constitution.md`, when it exists
|
|
31
|
+
- the `## Decisions` section of `roadmap-item.md`, when the item has one — answers its author gave at capture
|
|
31
32
|
- the spec corpus files in `.aidlc/specs/` named by `requirements.md`'s `## Spec delta` section —
|
|
32
33
|
the current spec, which is what the design is built against. Not a past instance's
|
|
33
34
|
`requirements.md`: it describes a change, and later instances may have changed it again.
|
|
@@ -50,7 +51,7 @@ transcript. See **The context rule** (`.aidlc/resources/rules/context.md`).
|
|
|
50
51
|
4. **Define architecture.** Describe the high-level structure: components, their responsibilities, and how they communicate. Say for each one whether it extends a seam found in step 3 or is new.
|
|
51
52
|
5. **Specify interfaces.** For each component boundary, define the contract (function signatures, API shapes, data types).
|
|
52
53
|
6. **Data flow.** Document how data moves through the system — inputs, transformations, storage, outputs.
|
|
53
|
-
7. **Design decisions.** Record each significant decision with rationale and alternatives considered. Persist accepted decisions as `decision` entities: `aidlc knowledge add --type decision --id <slug> --name "<title>" --description "<rationale>"`. A decision that would build other than what was agreed — in `requirements.md`, the roadmap item or a person's answer — is asked before it is recorded, as **The departure rule** (`.aidlc/resources/rules/departures.md`) says.
|
|
54
|
+
7. **Design decisions.** Record each significant decision with rationale and alternatives considered. Persist accepted decisions as `decision` entities: `aidlc knowledge add --type decision --id <slug> --name "<title>" --description "<rationale>"`. A decision that would build other than what was agreed — in `requirements.md`, the roadmap item or a person's answer — is asked before it is recorded, as **The departure rule** (`.aidlc/resources/rules/departures.md`) says. A design question the roadmap item's `## Decisions` section answers is not asked: write the answer into `design.md`, citing `roadmap-item.md` `## Decisions`.
|
|
54
55
|
8. **Address non-functional concerns.** Map performance, security, and accessibility requirements to design choices.
|
|
55
56
|
9. **Identify risks.** Note technical risks and mitigation strategies.
|
|
56
57
|
10. **Produce the task breakdown.** For templates that require it (full-feature, quick-feature), write `tasks.md` in the instance state directory as the final design step — the design is not done until it is actionable. Decompose the design into commit-sized tasks: each one reviewable in one sitting and independently verifiable. One task per line, in this exact grammar:
|
|
@@ -74,7 +75,7 @@ transcript. See **The context rule** (`.aidlc/resources/rules/context.md`).
|
|
|
74
75
|
- Every knowledge-graph symbol the design builds on was checked against the source
|
|
75
76
|
- The design addresses all acceptance criteria from `requirements.md`
|
|
76
77
|
- For templates requiring it: `tasks.md` exists and every active acceptance criterion is claimed by at least one task, or the gap is deliberate
|
|
77
|
-
- The phase ends by naming each open design decision — asked through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) in `.aidlc/state/<instance>/design-questions.md` — or by saying "Nothing open". Do not ask the user to confirm the design as a whole. Unattended (`AIDLC_UNATTENDED=1`): nothing is confirmed or logged; hard-stop when the design reaches beyond the roadmap item, per `.aidlc/resources/rules/unattended.md`.
|
|
78
|
+
- The phase ends by naming each open design decision — asked through the **Question Protocol** (`.aidlc/resources/rules/question-protocol.md`) in `.aidlc/state/<instance>/design-questions.md` — or by saying "Nothing open", written into `design.md` as a line of its own: autopilot reads that line to skip a pause with nothing to decide. Do not ask the user to confirm the design as a whole. Unattended (`AIDLC_UNATTENDED=1`): nothing is confirmed or logged; hard-stop when the design reaches beyond the roadmap item, per `.aidlc/resources/rules/unattended.md`.
|
|
78
79
|
|
|
79
80
|
## Guidance
|
|
80
81
|
|
package/skills/84-autopilot.md
CHANGED
|
@@ -36,7 +36,7 @@ The CLI does the work. This skill starts it and says how to watch and stop it. D
|
|
|
36
36
|
5. **Report**, in six short lines: what it is doing (how many items), the `stops:` line `run` printed verbatim, the log file, `aidlc autopilot status --watch` to watch (cards per item, live, until the run ends; `v` switches to a table or lanes, `q` leaves), `aidlc autopilot pause` before the machine sleeps (`aidlc autopilot resume` after), and `/aidlc-autopilot-stop` (or `aidlc autopilot stop`) to stop. When the stops line says none are set, say plainly that every item will be merged and released with no review, and name `aidlc autopilot setup` as what changes that.
|
|
37
37
|
|
|
38
38
|
6. **Where it stops for a person.** Three stops. The first two are set in `aidlc autopilot setup` or `aidlc init` and on by default; the third needs no setting:
|
|
39
|
-
- **After a phase** — the agent stops when a phase in `pause_after` completes (requirements and design by default). The item waits as `awaiting-review`; it is *not* parked. The user reads the artifact in the item's worktree, then `aidlc autopilot approve <instance>` carries it on.
|
|
39
|
+
- **After a phase** — the agent stops when a phase in `pause_after` completes (requirements and design by default). The item waits as `awaiting-review`; it is *not* parked. The user reads the artifact in the item's worktree, then `aidlc autopilot approve <instance>` carries it on. A requirements or design phase that wrote "Nothing open" into its artifact, with no unanswered question, is not waited on: the item carries on, and the run log says so.
|
|
40
40
|
- **At the pull request** — autopilot opens it and waits for the user to merge. Merging is the approval: autopilot then closes the instance out on main and runs no release.
|
|
41
41
|
- **At an open question** — an unattended agent decides calls inside the item's scope and logs each in the instance's state directory; one it marks `open-question` needs the user. Whatever `stop_at` says, that item waits at its pull request like the stop above. The user runs `aidlc autopilot review <instance>` in the item's worktree to keep, reject or promote each logged decision — promoting adds it to `.aidlc/guidance/decisions.md`, which every later item reads — then merges.
|
|
42
42
|
|