@rasensio/aidlc-content 2.14.0 → 2.15.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/hygiene-and-compliance.md +6 -0
- package/docs/index.yaml +6 -0
- package/docs/roadmap.md +23 -1
- package/package.json +1 -1
- package/skills/04-roadmap.md +24 -0
- package/skills/90-retrospective.md +1 -1
|
@@ -150,6 +150,12 @@ re-triage it; re-parking it with a new `hold` entry clears the finding. All thre
|
|
|
150
150
|
for the reason `roadmap-item-summary` is: each fix is a decision, and an invented decision reads
|
|
151
151
|
exactly like a real one. They read the primary checkout's roadmap and skip items that will not parse.
|
|
152
152
|
|
|
153
|
+
**`roadmap-milestones`** runs only when `.aidlc/roadmap/milestones.yaml` exists. It names a
|
|
154
|
+
milestones file that will not parse or breaks a rule, and every open item — inbox, backlog, in
|
|
155
|
+
progress or hold — whose `milestone` field is missing or names an id the file does not list. It is
|
|
156
|
+
report tier for the same reason: which goal an item serves is a decision. The fix it names is
|
|
157
|
+
`aidlc roadmap assign-milestones`.
|
|
158
|
+
|
|
153
159
|
**`roadmap-merged-done`** and **`roadmap-merged-unrecorded`** clear `hold/` of items merged into a
|
|
154
160
|
carrier that has finished. A `hold/` item is merged when its last `hold` reason says "merged into"
|
|
155
161
|
an item id — or, with no reason, when its body opens with that line — and the merge is recorded when
|
package/docs/index.yaml
CHANGED
|
@@ -120,3 +120,9 @@ historical_paths:
|
|
|
120
120
|
(hooks-carry-lifecycle-state/AC-18, AC-20), and nobody has agreed for this
|
|
121
121
|
repository, so it does not exist here — an unattended session cannot give that
|
|
122
122
|
consent on the user's behalf.
|
|
123
|
+
- path: .aidlc/roadmap/milestones.yaml
|
|
124
|
+
reason: >-
|
|
125
|
+
The optional milestones file, named in roadmap.md and hygiene-and-compliance.md as
|
|
126
|
+
where milestones are declared (roadmap-milestones/AC-1). This repository has not
|
|
127
|
+
adopted milestones, and creating the file would change how its own roadmap ranks,
|
|
128
|
+
so it does not exist here.
|
package/docs/roadmap.md
CHANGED
|
@@ -138,7 +138,7 @@ progress, with done and hold folded into rails you click to reopen; Dependencies
|
|
|
138
138
|
but hides clusters that are entirely done ("Open chains only"), and dims what its filters exclude rather
|
|
139
139
|
than removing it. The tab, both tabs' filters and the hide-done switch live in the URL hash, so a reload
|
|
140
140
|
or a shared link reopens the same view. `/` focuses search, `j` and `k` move to the next and previous
|
|
141
|
-
item (the open panel follows), `1`, `2` and `3` switch tabs, `Esc` closes the panel or clears the
|
|
141
|
+
item (the open panel follows), `1`, `2` and `3` switch tabs (`1` to `4` with milestones), `Esc` closes the panel or clears the
|
|
142
142
|
search. The page opens light; the header button switches to dark, and the browser remembers it across
|
|
143
143
|
regenerations. The page is written to `<git-common-dir>/aidlc/roadmap.html` — outside every working tree, so
|
|
144
144
|
it is never committed and every worktree shares one copy — or wherever `--out` says; `--no-open` only
|
|
@@ -183,6 +183,28 @@ hand leaves the link set, and `aidlc start --roadmap-item` refuses an item that
|
|
|
183
183
|
and lists it under `skipped` in `--explain` and `--json`, naming the instance. Clear the
|
|
184
184
|
`promoted_to` line to make it ready again.
|
|
185
185
|
|
|
186
|
+
**Milestones** group items by the goal they serve. Add `.aidlc/roadmap/milestones.yaml` — an ordered
|
|
187
|
+
`milestones:` list whose entries each have an `id` (lowercase letters, digits and hyphens), a `title`
|
|
188
|
+
and a one-line `exit` test — and give every item a `milestone:` line naming one of the ids, or `none`
|
|
189
|
+
for Unassigned. Without the file nothing changes: the page, `roadmap next` and every item read exactly
|
|
190
|
+
as before. With it, a milestone's status is worked out on every read and never stored: *not started*
|
|
191
|
+
with no items, *done* once it has items and every one is done or declined (a parked item keeps it open),
|
|
192
|
+
and the first one in order that is not done is *current*, even with nothing in it yet. `roadmap next`,
|
|
193
|
+
`--autopilot` and autopilot pick from the current milestone's ready items first and fall back to the
|
|
194
|
+
usual order when it has none; `--explain` names it. `aidlc roadmap view` opens on a **Milestones** tab
|
|
195
|
+
— a track of every milestone and its status, then each milestone's exit test and its items as done, in
|
|
196
|
+
flight, next, parked, open and dropped, then Unassigned — and with milestones the tabs are numbered `1`
|
|
197
|
+
to `4`, Milestones first. A hold card names the milestone it is parked for, so the hold reason can carry
|
|
198
|
+
the trigger rather than the goal. **`aidlc roadmap status`** prints the same thing as text, for chat;
|
|
199
|
+
`--milestone <id>` prints one milestone and `--milestone none` the Unassigned items. It exits 1, after
|
|
200
|
+
printing, when an open item has no `milestone:` line or names an id the file does not list — `aidlc
|
|
201
|
+
doctor` reports the same under `roadmap-milestones` — and done items are not required to carry the
|
|
202
|
+
line. **`aidlc roadmap assign-milestones`** lists the milestones and every Unassigned open item; with
|
|
203
|
+
`--set <item>=<id|none>`, repeated, it writes those lines and nothing else, checking every pair before
|
|
204
|
+
writing any, and commits nothing. The roadmap skill uses it to draft a milestone for every open item as
|
|
205
|
+
one diff that a person reviews and commits. While the file exists, the portable authoring skill asks for
|
|
206
|
+
a `milestone` line too — run `aidlc update` after adding it.
|
|
207
|
+
|
|
186
208
|
Keep the raw idea count around a dozen. At the cap, promote or drop before capturing anything new. A
|
|
187
209
|
completed instance queues **at most two** follow-up items and records the rest in its own
|
|
188
210
|
`retrospective.md` as observed, not queued — the same cap, in the same shape, as the one on lessons.
|
package/package.json
CHANGED
package/skills/04-roadmap.md
CHANGED
|
@@ -184,6 +184,30 @@ When the project declares `run` in `roadmap.item_fields`, the same moment also s
|
|
|
184
184
|
|
|
185
185
|
Never write `run:` without the person's answer, for the reason the rank is never written without one. An item with no `run:` is one autopilot may build, so leaving it unset is a choice, not a neutral default. Projects that do not declare `run` triage exactly as before.
|
|
186
186
|
|
|
187
|
+
## Milestones
|
|
188
|
+
|
|
189
|
+
A milestone is a goal a set of items serves — "Stage 1", "first-customer readiness". A roadmap has them when **`.aidlc/roadmap/milestones.yaml`** exists: an ordered `milestones:` list, each entry with an `id` (lowercase letters, digits and hyphens), a `title` and a one-line `exit` test. Without that file nothing in this section applies, and the roadmap reads and ranks exactly as it would otherwise.
|
|
190
|
+
|
|
191
|
+
```yaml
|
|
192
|
+
milestones:
|
|
193
|
+
- id: stage-1
|
|
194
|
+
title: Stage 1
|
|
195
|
+
exit: a customer runs one region end to end
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
- **Every new item names one.** When the file exists, set `milestone:` to a milestone id or `none` in every item you write — a captured idea, a follow-up from a retrospective, an item an instance writes. `none` means Unassigned on purpose. A missing field, or an id the file does not list, is what `aidlc roadmap status` and `aidlc doctor` report.
|
|
199
|
+
- **Status is derived, never written.** A milestone with no items is *not started*; one whose items are all done or declined is *done*, and any parked item keeps it open; the first one in order that is not done is *current*, even when it has no items yet.
|
|
200
|
+
- **What next prefers it.** `aidlc roadmap next`, `--autopilot` and autopilot put the current milestone's ready items first, then fall back to the usual order across the rest. `--explain` names the current milestone.
|
|
201
|
+
- **"What is still missing?"** Run **`aidlc roadmap status`** and quote it: each milestone and its status, then per milestone what is done, in flight, next, parked, open and dropped, then Unassigned. `--milestone <id>` prints one; `--milestone none` prints Unassigned. `aidlc roadmap view` shows the same as its first tab.
|
|
202
|
+
- **Parking.** A parked item keeps its `milestone:` — that is the goal it waits for. Write the trigger in the hold reason, not the goal.
|
|
203
|
+
|
|
204
|
+
**Assigning milestones to an existing roadmap.**
|
|
205
|
+
|
|
206
|
+
1. Run `aidlc roadmap assign-milestones`. It prints the milestones with their exit tests and every open item that is Unassigned, and writes nothing.
|
|
207
|
+
2. For each item, draft one milestone from its executive summary and the exit tests: the earliest milestone whose exit test the item is needed for. When no milestone fits, use `none` and say why in your reply.
|
|
208
|
+
3. Write them with `aidlc roadmap assign-milestones --set <item>=<id> --set <item>=<id> …`. It checks every pair before writing any, and edits only each item's `milestone:` line.
|
|
209
|
+
4. Do not commit. Tell the person to review `git diff`, change what they disagree with, and commit it themselves. An item left out stays Unassigned and keeps being reported.
|
|
210
|
+
|
|
187
211
|
## Promote
|
|
188
212
|
|
|
189
213
|
Promotion is where the roadmap meets the lifecycle:
|
|
@@ -32,7 +32,7 @@ Run the retro **before** any completion cleanup (worktree removal, claim release
|
|
|
32
32
|
3. **Draft, then ask — one round-trip.** Draft your own answers to the three questions — what surprised us? what would we do differently? what took longer than expected? — from the record: `transitions.log`, the question files, `.aidlc/state/<instance>/unattended-stops.md`, `test-results.md` and the cost summary. Cite what each answer rests on. Show the three drafts in a single message and ask the user to correct them; a reply that changes nothing keeps them. For **Micro scope**, compress to one drafted answer covering all three. Unattended (`AIDLC_UNATTENDED=1`), write the drafts into `retrospective.md` under the line "Drafted by the agent from the record; not reviewed by a person." Declining the retro is fine: remove the marker, write nothing.
|
|
33
33
|
4. **Write `retrospective.md`** in the instance state dir: the answers, as the user corrected the drafts; instance metadata (template, scope); per-phase durations (pair each transitions.log `to: X` with the next `from: X`; fall back to the phase YAML's `entered_at`/`completed_at`; note inconsistencies rather than guessing); and the cost summary when available.
|
|
34
34
|
5. **Distill lessons — 0 to 3.** A lesson is a durable, project-general observation ("NDJSON merge=union false-dedups identical same-second events"), not an instance anecdote ("we finished late"). If nothing generalizes, write no lesson — an empty distillation is a valid outcome.
|
|
35
|
-
6. **Cap the follow-ups — 0 to 2 queued roadmap items.** Rank what the work turned up and queue at most the top two into `.aidlc/roadmap/inbox/`, each with its six-line executive summary (see **aidlc-roadmap**). **Zero is a valid outcome**, and often the right one. This is the same cap, in the same shape, as the 0–3 on lessons, and it exists because the lessons cap alone was half a brake: the framework capped what an instance *learned* and capped nothing about what it *queued*, so closing an instance reliably grew the backlog. One measured project emitted five to nine items per close; triage kept three of eighteen.
|
|
35
|
+
6. **Cap the follow-ups — 0 to 2 queued roadmap items.** Rank what the work turned up and queue at most the top two into `.aidlc/roadmap/inbox/`, each with its six-line executive summary (see **aidlc-roadmap**) and, when `.aidlc/roadmap/milestones.yaml` exists, a `milestone:` line naming a milestone id or `none`. **Zero is a valid outcome**, and often the right one. This is the same cap, in the same shape, as the 0–3 on lessons, and it exists because the lessons cap alone was half a brake: the framework capped what an instance *learned* and capped nothing about what it *queued*, so closing an instance reliably grew the backlog. One measured project emitted five to nine items per close; triage kept three of eighteen.
|
|
36
36
|
7. **Record the rest as observed, not queued.** Everything past the cap goes into `retrospective.md` under `## Observed, not queued`, one line each. **The cap is on queued items, not on observations** — a retro that noticed nine things writes nine and queues two. Findable, attributable, and costing nobody a triage decision. If one of them matters later, it is already written down; promote it then, with the same summary rule.
|
|
37
37
|
8. **Confirm, then append.** Show the distilled entry verbatim and get one confirmation for the whole entry. Never append unconfirmed text — lessons are auto-loaded into every future session, so this confirmation is the injection gate. Redact anything resembling credentials or secrets. On confirm, append to the lessons layer per the write rules below.
|
|
38
38
|
9. **Commit** `retrospective.md` and the lessons append to the **current branch** now, before any worktree cleanup runs.
|