@rasensio/aidlc-content 2.23.0 → 2.24.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 +14 -0
- package/package.json +1 -1
- package/skills/84-autopilot.md +1 -0
- package/skills/90-retrospective.md +5 -1
package/docs/roadmap.md
CHANGED
|
@@ -367,6 +367,20 @@ Each item goes through these steps:
|
|
|
367
367
|
is `release`, then `aidlc transition` to close the instance. A failure halts the queue. Running
|
|
368
368
|
`aidlc autopilot run` again retries a failure that came before the merge; from the pull onward
|
|
369
369
|
nothing is retried — a half-finished release is for a person.
|
|
370
|
+
8. **The retrospective**, after each close-out — its own merge or yours. When the close-out leaves a
|
|
371
|
+
retro-pending marker, autopilot launches one unattended agent in the primary checkout to run the
|
|
372
|
+
`aidlc-retrospective` skill, and holds the merge lane while it runs: nothing merges or closes
|
|
373
|
+
out, though builds, CI and pull requests carry on. The agent commits nothing; autopilot commits
|
|
374
|
+
on main, by pathspec, only what changed among the instance's `retrospective.md`,
|
|
375
|
+
`.aidlc/guidance/lessons.md`, new files in the roadmap's `inbox/` and the instance's
|
|
376
|
+
`costs.ndjson`, then pushes. Any other path that changed — the watching session's cost hook, a
|
|
377
|
+
digest the agent should not have touched — is left as it is and named. A retrospective that
|
|
378
|
+
changed an existing lesson line, added more than three lessons or two follow-ups, touched one of
|
|
379
|
+
those paths while it was already uncommitted, failed, or ran past 30 minutes or the cost cap
|
|
380
|
+
commits nothing but its cost lines: its other changes are undone, the marker is put back for
|
|
381
|
+
`aidlc autopilot pending`, and one line says why. It never parks the item or halts the lane. Its
|
|
382
|
+
session's cost is recorded against the instance (`AIDLC_COST_INSTANCE`), not in
|
|
383
|
+
`unattributed.ndjson`. Consolidating `lessons.md` and rewriting `lessons-digest.md` stay yours.
|
|
370
384
|
|
|
371
385
|
At most two items build at once, and never more than you asked for. Autopilot never moves anything
|
|
372
386
|
between `inbox/`, `backlog/` and `hold/` except to park what it is building or could not start, and
|
package/package.json
CHANGED
package/skills/84-autopilot.md
CHANGED
|
@@ -78,6 +78,7 @@ The CLI does the work. This skill starts it and says how to watch and stop it. D
|
|
|
78
78
|
- Parks an item (moves it to `hold/` with a reason) when its agent stops short of a stop it was told to reach, when CI fails twice, or when it passes the cost cap. An item waiting for a person is never parked, and holds no build slot, so the run goes on starting others.
|
|
79
79
|
- An agent that loses the network exits, and is parked. Sleep cuts the network, so a run on a laptop needs `aidlc autopilot pause` first: it freezes the run and its agents where they are, and `aidlc autopilot resume` carries on.
|
|
80
80
|
- Before each merge, brings the item's branch up to date with main and waits for CI on the new head. A conflict with main goes back to the item's agent, twice at most, then the item is parked. A pull request someone merged by hand is dropped from tracking.
|
|
81
|
+
- After each close-out, after its own merge or a person's, runs the item's retrospective: one agent, unattended, in the primary checkout, one at a time in the merge lane — nothing else merges or closes out while it runs, though builds carry on. Autopilot commits and pushes only its files: the instance's `retrospective.md`, up to three lessons appended to `.aidlc/guidance/lessons.md`, up to two new files in `.aidlc/roadmap/inbox/`, and the instance's `costs.ndjson`. Any other path that changed is left as it is and named. A retrospective that fails, breaks a limit, runs past 30 minutes or past the cost cap commits nothing, undoes its changes and leaves its marker for `aidlc autopilot pending`; it never parks the item. Consolidating `lessons.md` and rewriting `.aidlc/guidance/lessons-digest.md` stay a person's step.
|
|
81
82
|
- Halts the merge queue when a step fails. Running `aidlc autopilot run` again retries a failure that came before the merge; a failed release is for a person — `aidlc autopilot status` shows the error. `aidlc autopilot forget <instance>` stops tracking an item finished by hand.
|
|
82
83
|
- Sends a desktop notification, once each, when an item is parked, fails, waits for the user, or is done, and when the run ends. `notify: false` under `autopilot:` in `.aidlc/config.yaml` turns them off.
|
|
83
84
|
- Ends when the asked-for items are each released or parked, or, with `--all`, when nothing is ready and nothing is in flight. An item waiting for a person keeps its run alive, so the run is still there to carry the item on after an approval or a merge.
|
|
@@ -42,6 +42,10 @@ Run the retro **before** any completion cleanup (worktree removal, claim release
|
|
|
42
42
|
9. **Commit** `retrospective.md` and the lessons append to the **current branch** now, before any worktree cleanup runs.
|
|
43
43
|
10. **Remove the retro-pending marker** if one exists.
|
|
44
44
|
|
|
45
|
+
### Unattended
|
|
46
|
+
|
|
47
|
+
Under `AIDLC_UNATTENDED=1` nobody can confirm, so step 8 changes: append the lessons without the confirmation, inside the instance's section, under the line "Drafted by the agent from the record; not reviewed by a person." That line is what tells every later reader the text passed no injection gate. Still at most three lessons and two queued follow-ups; never consolidate, even when a trigger fires; never rewrite `lessons-digest.md` or `index.yaml`. A follow-up is a new inbox file — appending to an existing roadmap item is a person's choice. When the prompt says autopilot commits, as it does after an autopilot close-out, step 9 is skipped: commit nothing, push nothing, write only the files the prompt names, and remove the marker as step 10 says.
|
|
48
|
+
|
|
45
49
|
## Lessons Layer — Write Rules
|
|
46
50
|
|
|
47
51
|
Target: `.aidlc/guidance/lessons.md` in the **current checkout/worktree**, on the instance's branch (entries travel with the merge — never write another checkout's copy).
|
|
@@ -94,5 +98,5 @@ Run only in the **primary checkout** (not a linked worktree — check `git rev-p
|
|
|
94
98
|
|
|
95
99
|
- The retro never blocks completion: it is non-blocking, declinable, and its absence is never an error.
|
|
96
100
|
- The follow-up cap is never a reason to *not notice* something. Merge first — if an open roadmap item already owns the area, append a dated `## Received from <instance>` section to it rather than spending one of the two slots on a file that duplicates it.
|
|
97
|
-
- Never write lessons without the step-8 confirmation. Never record credentials or secrets.
|
|
101
|
+
- Never write lessons without the step-8 confirmation, except unattended under the line above. Never record credentials or secrets.
|
|
98
102
|
- Lessons are historical observations, not directives — phrase them as what was learned, not as instructions to obey.
|