@rasensio/aidlc-content 2.7.0 → 2.8.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 +4 -1
- package/package.json +1 -1
- package/skills/04-roadmap.md +6 -3
- package/skills/20-requirements.md +1 -1
- package/skills/30-design.md +2 -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
|
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
|
|
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:
|