@rasensio/aidlc-content 2.2.0 → 2.4.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 +14 -2
- package/docs/lifecycle.md +3 -0
- package/docs/roadmap.md +9 -0
- package/docs/skills-and-platforms.md +7 -2
- package/howto/let-autopilot-work-the-backlog.md +10 -0
- package/package.json +1 -1
- package/resources/rules/unattended.md +3 -2
- package/skills/84-autopilot.md +1 -0
|
@@ -125,8 +125,9 @@ worktree removed, an instance abandoned.
|
|
|
125
125
|
|
|
126
126
|
Some checks report and repair nothing, on purpose. A `report`-tier migration states a condition whose
|
|
127
127
|
only remedy is a decision, and it never touches `doctor`'s exit code, so `--yes` cannot
|
|
128
|
-
make it write.
|
|
129
|
-
|
|
128
|
+
make it write. Among them: an out-of-date compliance pack, a configured roadmap projection with no
|
|
129
|
+
`gh` on `PATH`, `knowledge-stale-sources`, `roadmap-item-summary`, and the three misfiled-item checks
|
|
130
|
+
below.
|
|
130
131
|
|
|
131
132
|
**`roadmap-item-summary`** names every `inbox/` item with no complete six-line executive summary, and
|
|
132
133
|
the labels each one is missing. Two paths write into the inbox — the capture flow, which has always
|
|
@@ -138,6 +139,17 @@ no-op repair at confirm tier would make `doctor` exit 1 forever over one thin it
|
|
|
138
139
|
`inbox/` only — the other statuses have already been decided about — and skips items whose
|
|
139
140
|
frontmatter will not parse, because `roadmap-item-titles` already reports those by name.
|
|
140
141
|
|
|
142
|
+
**`roadmap-hold-reason`**, **`roadmap-backlog-not-now`** and **`roadmap-parked-deps-done`** report
|
|
143
|
+
items filed in the wrong status, because `aidlc roadmap next --autopilot` offers whatever sits in
|
|
144
|
+
`backlog/`. The first names every `hold/` item whose last `hold` history entry has no reason starting
|
|
145
|
+
with the word `parked` or `declined`, in any case. The second names every `backlog/` item whose
|
|
146
|
+
executive summary Recommendation opens with "Do later", "Not now" or "Don't do", with the
|
|
147
|
+
`aidlc roadmap park --item` command that moves it. The third names every parked item whose
|
|
148
|
+
`depends_on` are all in `done/`, at least one finished after the item was parked, and says to
|
|
149
|
+
re-triage it; re-parking it with a new `hold` entry clears the finding. All three are report tier
|
|
150
|
+
for the reason `roadmap-item-summary` is: each fix is a decision, and an invented decision reads
|
|
151
|
+
exactly like a real one. They read the primary checkout's roadmap and skip items that will not parse.
|
|
152
|
+
|
|
141
153
|
**`knowledge-stale-sources`** resolves every knowledge-graph entity's `source` against the disk, and
|
|
142
154
|
every relationship endpoint against the entity set, and names what does not resolve. It is the check
|
|
143
155
|
that was missing when 15 graph entities described `packages/web` for 17 days after the website cutover
|
package/docs/lifecycle.md
CHANGED
|
@@ -111,6 +111,9 @@ ran one would be approving its own work, so each refuses — exit code 2, before
|
|
|
111
111
|
anything — when stdin is not a terminal or `AIDLC_UNATTENDED=1`, and names the reason. No agent
|
|
112
112
|
harness gives its shell a terminal, so that check covers every harness. At a terminal they work as
|
|
113
113
|
they always did; `transition` without `--override` and `amend` without `--confirm` are unaffected.
|
|
114
|
+
`aidlc autopilot review` refuses the same way, by the same terminal check: keeping or promoting the
|
|
115
|
+
calls an unattended run made is a person's verdict on that run. It is not in the approval guard's
|
|
116
|
+
list.
|
|
114
117
|
In Claude Code the approval guard (`.claude/hooks/aidlc-approval-guard.mjs`, written by
|
|
115
118
|
`aidlc hook install` and `aidlc init`) blocks the same commands earlier, and blocks file edits to the
|
|
116
119
|
autopilot approval record. It fails closed: a missing script, a missing `node` or a crash blocks the
|
package/docs/roadmap.md
CHANGED
|
@@ -258,6 +258,15 @@ Each item goes through these steps:
|
|
|
258
258
|
Re-run the job when a runner is back and autopilot carries on. Counting these cost two items a
|
|
259
259
|
CI try each on 2026-10-10, and parked one, for tests that never ran. A check whose job cannot
|
|
260
260
|
be read counts as before, so this can only ever remove a false failure.
|
|
261
|
+
|
|
262
|
+
**On GitLab** (`host: gitlab` in `.aidlc/config.yaml`) the same steps run with `glab` in place
|
|
263
|
+
of `gh`: autopilot opens a merge request with `glab mr create`, reads it, its head pipeline's
|
|
264
|
+
jobs and the latest tag pipeline through `glab api`, and merges only the head CI passed on.
|
|
265
|
+
A job cancelled or failed for a runner reason (`runner_system_failure`,
|
|
266
|
+
`stuck_or_timeout_failure` and the like) is the never-ran case above; the pipeline is retried
|
|
267
|
+
once. `glab` must be installed and logged in to the GitLab the `origin` remote points at —
|
|
268
|
+
self-hosted works the same way. Without `glab`, and on a plain git host (`host: git`), autopilot
|
|
269
|
+
pushes the branch, says so, and leaves opening and merging to you.
|
|
261
270
|
5. **Your merge, where the stop is the pull request** (the default). Green CI leaves the item as
|
|
262
271
|
`awaiting-merge` and autopilot neither merges nor releases. When you merge, it closes the instance
|
|
263
272
|
out on main — pull, mark the deployment record complete, `aidlc transition`, commit, push — and
|
|
@@ -210,11 +210,16 @@ agent follows `.aidlc/resources/rules/unattended.md` instead: each place a skill
|
|
|
210
210
|
confirm has one written outcome — take the named default and log it to the instance's
|
|
211
211
|
`unattended-stops.md`, or hard-stop (constitution, deleting data the session did not create,
|
|
212
212
|
credentials and permissions, scope beyond the roadmap item), which parks the item and ends the session.
|
|
213
|
+
A situation no stop covers is decided and logged when the choice lies inside the item's "What success
|
|
214
|
+
looks like", as an `interpretation`, a `deviation` or an `open-question`; an open question keeps
|
|
215
|
+
autopilot from merging the pull request until a person has answered, and `aidlc autopilot review`
|
|
216
|
+
walks a person through every logged call.
|
|
213
217
|
Completing testing is the normal end: the agent writes the release plan and stops, and whatever runs
|
|
214
218
|
it owns the push, merge and release. The list of stops came from two dry runs on 2026-10-02 that
|
|
215
219
|
logged the same thirteen on two machines. The mode is a rule the agent reads, not a switch the CLI
|
|
216
|
-
reads. Only
|
|
217
|
-
`transition --override` and `amend --confirm` refuse, because only a person may
|
|
220
|
+
reads. Only four commands behave differently when the variable is set: `autopilot approve`,
|
|
221
|
+
`autopilot review`, `transition --override` and `amend --confirm` refuse, because only a person may
|
|
222
|
+
run them. A branch in
|
|
218
223
|
any other command would be a cost every future change pays.
|
|
219
224
|
|
|
220
225
|
## Where the code lives
|
|
@@ -56,6 +56,16 @@ before anything ships. You can pause or stop the run at any time.
|
|
|
56
56
|
aidlc autopilot approve <instance>
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
When an item waits at its pull request with open questions, the agent made calls it
|
|
60
|
+
thinks are yours. In the item's worktree, walk through every call it logged, then merge:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
aidlc autopilot review <instance>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Keep a call, reject it (then reopen the phase with `aidlc amend <instance> --impact`), or
|
|
67
|
+
promote it into `.aidlc/guidance/decisions.md`, which every later item reads.
|
|
68
|
+
|
|
59
69
|
6. To freeze the run, for example before you close the laptop, pause it. Resume it later:
|
|
60
70
|
|
|
61
71
|
```bash
|
package/package.json
CHANGED
|
@@ -5,15 +5,16 @@ This file is the only statement of the rule. Skills point here instead of restat
|
|
|
5
5
|
Unattended mode is on exactly when the environment variable `AIDLC_UNATTENDED` is `1` (`printenv AIDLC_UNATTENDED`). Otherwise every skill behaves as written. Nobody answers in this mode, so every place a skill would stop for a person has one outcome:
|
|
6
6
|
|
|
7
7
|
- **Default and log** — take the named default, log it, carry on.
|
|
8
|
+
- **Decide and log** — choose inside the item's scope, log a typed entry, carry on.
|
|
8
9
|
- **Hard stop** — log it, park the item, release the claim, end the session.
|
|
9
10
|
- **Release boundary** — the normal end of an unattended run. Not a hard stop, and the item is not parked.
|
|
10
11
|
- **Review boundary** — a planned stop for a person's review, part way through. Not a hard stop, and the item is not parked.
|
|
11
12
|
|
|
12
|
-
A situation no
|
|
13
|
+
A situation no stop below covers is decided and logged when its choice lies inside the roadmap item's "What success looks like". Outside it, or in a hard-stop class, it is a hard stop: guessing about scope is what this mode exists to prevent.
|
|
13
14
|
|
|
14
15
|
## The log
|
|
15
16
|
|
|
16
|
-
Append one entry per default or hard stop to `.aidlc/state/<instance>/unattended-stops.md`: a `## <n>. <title> — <slug>` heading, then **Source:** (skill and section, or rule), **Instruction:** (the exact text), **Decided:** (the default, or "hard stop"), **Why:** (why it is safe, or which hard-stop class). A Question Protocol answer also carries `(unattended default)` in its `[Answer]:` — how a reviewer finds every choice nobody made.
|
|
17
|
+
Append one entry per default, decision or hard stop to `.aidlc/state/<instance>/unattended-stops.md`: a `## <n>. <title> — <slug>` heading, then **Source:** (skill and section, or rule), **Instruction:** (the exact text), **Decided:** (the default, the choice, or "hard stop"), **Type:** (`default` for a listed stop or a hard stop; for a decision, `interpretation` — how an unclear requirement was read, `deviation` — where the design was not followed, or `open-question` — needs a person), **Why:** (why it is safe, or which hard-stop class). A Question Protocol answer also carries `(unattended default)` in its `[Answer]:` — how a reviewer finds every choice nobody made. An `open-question` builds the option easiest to undo, says how to switch, and still reaches a pull request, which autopilot does not merge until a person has answered.
|
|
17
18
|
|
|
18
19
|
## Waiting for a command
|
|
19
20
|
|
package/skills/84-autopilot.md
CHANGED
|
@@ -38,6 +38,7 @@ The CLI does the work. This skill starts it and says how to watch and stop it. D
|
|
|
38
38
|
6. **Where it stops for a person.** Two stops, both set in `aidlc autopilot setup` or `aidlc init` and on by default:
|
|
39
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.
|
|
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
|
+
- **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.
|
|
41
42
|
|
|
42
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.
|
|
43
44
|
|