@rasensio/aidlc-content 2.19.0 → 2.21.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.
@@ -126,8 +126,18 @@ worktree removed, an instance abandoned.
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
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`, `bare-ac-in-tests`, and
130
- the three misfiled-item checks below.
129
+ `gh` on `PATH`, `knowledge-stale-sources`, `roadmap-item-summary`, `bare-ac-in-tests`,
130
+ `tracked-nested-ignored`, and the three misfiled-item checks below.
131
+
132
+ **The nested ignore files are committed.** `.aidlc/cost/.gitignore` and
133
+ `.aidlc/knowledge/.gitignore` ignore the cost session files and the knowledge index, and neither
134
+ lists itself. They used to: each held a `.gitignore` line, so `git add -A` never committed them and
135
+ a new worktree started without them — and in a project with no root `.gitignore`, the next
136
+ `git add -A` there committed the binary index. Committed, they reach every worktree through git
137
+ before any `aidlc` command runs, which is what autopilot needs. `doctor` removes the old line (only
138
+ an exact `.gitignore`; a `/.gitignore` you wrote is yours), and opening the knowledge index writes
139
+ its ignore file first. An ignore line does nothing for a file git already tracks, so
140
+ `tracked-nested-ignored` names any such file and leaves untracking it to you.
131
141
 
132
142
  **`roadmap-item-summary`** names every `inbox/` item with no complete six-line executive summary, and
133
143
  the labels each one is missing. Two paths write into the inbox — the capture flow, which has always
@@ -222,7 +232,7 @@ and read what it says the second time. Steady-state bugs are invisible on the fi
222
232
  ## Where the code lives
223
233
 
224
234
  - `packages/cli/src/doctor` — the checks and repairs. `migrations` holds the one-off repairs, including
225
- the nested-`.gitignore` coverage fix.
235
+ the nested-`.gitignore` coverage fix and the self-ignore line removal (`nested-gitignore.ts`).
226
236
  - `packages/cli/src/compliance` — pack loading, control evaluation, and the evidence report.
227
237
  - `packages/content/packs` — the shipped packs, `soc2` and `iso27001`. A new directory there is a new
228
238
  pack; nothing else registers it.
package/docs/roadmap.md CHANGED
@@ -189,6 +189,20 @@ Declare `run` in `roadmap.item_fields` and triage proposes the value with the ra
189
189
  in one question. With only attended items ready, `aidlc autopilot run --all` finds nothing ready and
190
190
  ends.
191
191
 
192
+ **Autopilot also leaves out an item that is not ready to build.** An item is ready when it has at
193
+ least one `- AC-n:` line, at least one of those lines names a file path in backticks, and every path
194
+ they name exists — or its parent folder does, since an AC may name a file it creates. A path is a
195
+ backticked token with no spaces that contains `/` or ends in a file extension. Of a path with a
196
+ `*`, `?`, `<…>` or `{…}` segment, only the folders before that segment must exist. A criterion
197
+ reference (`<instance>/AC-<n>`), a URL, and a path that is absolute, starts with `~` or has a `..`
198
+ segment are not paths. `aidlc roadmap next --autopilot` lists an unready item under `skipped` with
199
+ the reason `not-ready` and the first failing rule — `not ready: no AC-n lines`,
200
+ `not ready: no AC names a file path`, or `not ready: AC-<n> names <path>, which does not exist` —
201
+ and autopilot says `not ready: <file>: <reason>` once a pass. The check runs after every other
202
+ reason, and a plain `aidlc roadmap next` does not run it. `aidlc roadmap triage <item> backlog` with
203
+ `--run autopilot`, or for an item already marked `run: autopilot`, prints the same reason as
204
+ `warning: <file>: not ready: …` on stderr and still moves the item.
205
+
192
206
  **Parking from an instance** is `aidlc roadmap park <instance> --reason "<why>"`: it moves the item
193
207
  promoted to that instance into `hold/` with a `parked — ` reason. It exists for unattended mode's hard
194
208
  stops — see [Skills and platforms](skills-and-platforms.md) — where the agent works in a worktree but
@@ -248,10 +262,14 @@ resumes.
248
262
  Each item goes through these steps:
249
263
 
250
264
  1. **Pick.** `aidlc roadmap next --autopilot` names the next ready backlog item, leaving items
251
- marked `run: attended` for a person.
265
+ marked `run: attended` for a person and skipping items that are not ready to build — no
266
+ `AC-n` lines, or an AC naming a path that does not exist — with the reason.
252
267
  2. **Build.** `aidlc start … --worktree --roadmap-item <item>` creates the instance in its own
253
268
  worktree, then the configured agent runs there with `AIDLC_UNATTENDED=1` and `AIDLC_PAUSE_AFTER`
254
- set to the phases it must stop after. The agent follows the unattended rule and stops at a review
269
+ set to the phases it must stop after. Its prompt states both values too, an empty pause list in
270
+ words, and the agent reads them there first: the `claude-scoped` preset refuses `printenv`, and a
271
+ refused read once let an agent carry on past a pause. A pause list it can read from neither makes
272
+ every completed phase a review boundary. The agent follows the unattended rule and stops at a review
255
273
  boundary or the release boundary, or parks the item on a hard stop. A start that
256
274
  fails parks the item with `parked — could not start: <error>` and autopilot goes straight on to
257
275
  the next ready item; the parked one does not count toward `--items`. Retrying the same item every
@@ -318,7 +336,10 @@ Each item goes through these steps:
318
336
  5. **Your merge, where the stop is the pull request** (the default). Green CI leaves the item as
319
337
  `awaiting-merge` and autopilot neither merges nor releases. When you merge, it closes the instance
320
338
  out on main — pull, mark the deployment record complete, `aidlc transition`, commit, push — and
321
- runs no release; if the instance is already closed there, it just stops tracking it. Close the
339
+ runs no release; if the instance is already closed there, it just stops tracking it. The
340
+ close-out commits only what it wrote, with the cost records and review verdicts the worktree
341
+ gained after its last commit; any other uncommitted file under `.aidlc` stays out and is named
342
+ in the closing notice. Close the
322
343
  pull request without merging and it stops tracking it too. That pull request is yours while it
323
344
  waits: autopilot does not bring it up to date with main or chase its CI.
324
345
  6. **Up to date with main**, for an item autopilot merges itself. Before merging, it merges
@@ -355,15 +376,17 @@ six questions on its own. Each is a list with one choice marked recommended:
355
376
  like, but never `autopilot`, `start`, `update` or `roadmap sync`) and read-only `gh pr checks` /
356
377
  `gh run view` (recommended). A machine set up with the older scoped command is moved to this one
357
378
  the next time autopilot reads its config; Claude Code with full access; Codex editing and
358
- running commands inside its `workspace-write` sandbox; or a command you type. This decides what an unattended agent may do on your machine, so
379
+ running commands inside its `workspace-write` sandbox, which may also write the repository's git
380
+ directory so it can commit from a worktree; or a command you type. This decides what an unattended agent may do on your machine, so
359
381
  it is never picked for you: with no terminal, setup needs `--agent <preset>` or
360
382
  `--non-interactive`.
361
383
  - **How many items build at once** — two (recommended) or one.
362
384
  - **A cost cap per item, in tokens** — 40M (recommended), 15M, 80M, or no cap. An item past it is
363
385
  stopped and parked. Before each launch, an item whose sessions have used the cap less a 10% margin
364
386
  is parked instead. A Codex run is stopped as it runs, at the cap less the same margin, from the
365
- tokens it reports — no rate needed. Claude Code has no token budget flag, so during a Claude run
366
- `aidlc cost` holds it to the cap.
387
+ tokens it reports — no rate needed. A resumed Codex run reports its whole thread's total, so only
388
+ what it adds to the thread counts, live and when it ends. Claude Code has no token budget flag, so
389
+ during a Claude run `aidlc cost` holds it to the cap.
367
390
 
368
391
  A dollar cap saved before tokens (`cost_cap_usd`) keeps working until you set a new cap. Claude
369
392
  Code is given the cap as its budget (`--max-budget-usd`), less what the item already spent and a
@@ -493,8 +516,13 @@ and `aidlc autopilot resume` carries on; a pause waits for a pass in progress ra
493
516
  release halfway. `aidlc autopilot forget <instance>` stops tracking an item you finished or
494
517
  abandoned by hand; a pull request merged by hand is noticed and dropped on its own. A rate limit
495
518
  from `gh`, `glab`, a `git push` or `fetch`, or the agent backs off five minutes, doubling to at most
496
- two hours. Only those are read for one, and only for the host's own words — a `429` in a file list,
497
- a branch name or an item's title is not a rate limit. `aidlc autopilot tick --dry-run` prints every command one pass would run and runs only the
519
+ two hours. Only those, and the `aidlc` commands that reach a host (`roadmap sync`, `roadmap import`,
520
+ `init`, `cost rates update`), are read for one, and only for the host's own words — a `429` in a file
521
+ list, a branch name, an item's title or a requirement named in a close-out is not a rate limit. A rate limit on the merge is retried after the
522
+ back-off, since nothing has changed yet. One on any step after the merge also stops the item for you,
523
+ as a failed step there does: the pull request is merged, so autopilot neither merges it again nor
524
+ drops it as merged by hand, and the release and close-out are yours to finish before
525
+ `aidlc autopilot forget`. `aidlc autopilot tick --dry-run` prints every command one pass would run and runs only the
498
526
  reads.
499
527
 
500
528
  ## Repositories not on GitHub
@@ -222,7 +222,14 @@ naming which instance caused a bug), which parks the item and ends the session.
222
222
  A situation no stop covers is decided and logged when the choice lies inside the item's "What success
223
223
  looks like", as an `interpretation`, a `deviation` or an `open-question`; an open question keeps
224
224
  autopilot from merging the pull request until a person has answered, and `aidlc autopilot review`
225
- walks a person through every logged call.
225
+ walks a person through every logged call: one instance, every instance with an unreviewed call
226
+ (`--pending`), or an agent's proposal (`--from <file>`), which the CLI checks whole before it asks
227
+ anything and then stops only on the calls that need the person. Each verdict line says who decided:
228
+ `(accepted from the agent's proposal)` or `(judged by the person)`. Why: a person who copied an
229
+ agent's advice prompt by prompt was recorded as having judged every call. Promoting a good call and rejecting a bad one both feed
230
+ `.aidlc/guidance/decisions.md`, which every later item reads: a rejection asks what the call should
231
+ have been, and a non-empty answer is written there as a `Correction:` entry beside the original
232
+ decision. Why: before, a rejection kept nothing, so the next run could make the same call again.
226
233
  Completing testing is the normal end: the agent writes the release plan and stops, and whatever runs
227
234
  it owns the push, merge and release. The list of stops came from two dry runs on 2026-10-02 that
228
235
  logged the same thirteen on two machines. The mode is a rule the agent reads, not a switch the CLI
@@ -69,6 +69,23 @@ before anything ships. You can pause or stop the run at any time.
69
69
  Keep a call, reject it (then reopen the phase with `aidlc amend <instance> --impact`), or
70
70
  promote it into `.aidlc/guidance/decisions.md`, which every later item reads.
71
71
 
72
+ With several items to review, walk all of them in one go:
73
+
74
+ ```bash
75
+ aidlc autopilot review --pending
76
+ ```
77
+
78
+ Or ask your agent to prepare the review. It writes a proposal file with a verdict for each
79
+ call and a plain-words explanation for each one that needs you. Accept it in one step:
80
+
81
+ ```bash
82
+ aidlc autopilot review --from <file>
83
+ ```
84
+
85
+ The command checks the whole proposal before it writes anything. It keeps the routine calls
86
+ at once, marked as accepted from the agent's proposal, and stops only on open questions and
87
+ proposed rejects or promotes. What you answer there is marked as judged by you.
88
+
72
89
  6. To freeze the run, for example before you close the laptop, pause it. Resume it later:
73
90
 
74
91
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "2.19.0",
3
+ "version": "2.21.0",
4
4
  "bugs": "https://github.com/rasensio/aidlc-feedback/issues",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2,7 +2,7 @@
2
2
 
3
3
  This file is the only statement of the rule. Skills point here instead of restating it, so there is no second copy to drift.
4
4
 
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:
5
+ Unattended mode is on exactly when the environment variable `AIDLC_UNATTENDED` is `1`. The launch prompt says so (`AIDLC_UNATTENDED=1`); run `printenv AIDLC_UNATTENDED` only when the prompt does not say, since a preset may refuse it. 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
8
  - **Decide and log** — choose inside the item's scope, log a typed entry, carry on.
@@ -44,7 +44,7 @@ When testing completes, write the deployment record's release plan and end the s
44
44
 
45
45
  ## The review boundary
46
46
 
47
- `AIDLC_PAUSE_AFTER` (`printenv AIDLC_PAUSE_AFTER`) is a comma-separated list of phase names, set by whatever runs the agent. Empty or unset names none, and every phase boundary is the `phase-end-turn` default: carry on.
47
+ `AIDLC_PAUSE_AFTER` is a comma-separated list of phase names, set by whatever runs the agent and stated in its launch prompt: `AIDLC_PAUSE_AFTER=<list>`, or in words when empty. Run `printenv AIDLC_PAUSE_AFTER` only when the prompt does not state it. Empty, or unset when `printenv` runs, names none, and every phase boundary is the `phase-end-turn` default: carry on. A list read from neither — the prompt is silent and `printenv` is refused — names every phase: each completed phase is a review boundary. A wait costs less than a skipped review.
48
48
 
49
49
  When it names the phase that just completed, that boundary is a **review boundary**. A person reads the artifact and approves it; the run carries the work on afterwards, in a later session. So:
50
50
 
@@ -163,9 +163,9 @@ List each status directory, reading **only frontmatter and the containing direct
163
163
 
164
164
  For a `hold/` item, show whether it is **parked or declined**, with its reason, from the last `history` entry — that entry is in the frontmatter, so this costs nothing extra. An item with no reason recorded is reported as `hold — reason not recorded`, never guessed at: parked and declined are opposite answers, and a wrong one either revives work somebody killed or buries work somebody agreed to.
165
165
 
166
- **`aidlc roadmap next`** is the deterministic answer to "what next?": the `backlog/` item with the lowest `priority` among those whose `depends_on` are all `done`, unranked items last, ties by file name (`--explain` shows the order and what was skipped and why; `--json` for scripts). It is read-only and never promotes — promoting stays a person's decision. `priority` is an ordinary extension field a project declares in `roadmap.item_fields`; a rank, where 1 is first. Where it is declared, `--explain` also lists every unranked backlog item, so one sitting last is visible rather than silently last. `--autopilot` picks as autopilot does: it leaves out items marked `run: attended`, and items whose `run` is neither value, listing each as skipped. **`aidlc roadmap rank <item> <n>`** is the one way to change a rank: it puts the item at `n` and renumbers every ranked backlog item 1…k, so ranks stay unique and gap-free.
166
+ **`aidlc roadmap next`** is the deterministic answer to "what next?": the `backlog/` item with the lowest `priority` among those whose `depends_on` are all `done`, unranked items last, ties by file name (`--explain` shows the order and what was skipped and why; `--json` for scripts). It is read-only and never promotes — promoting stays a person's decision. `priority` is an ordinary extension field a project declares in `roadmap.item_fields`; a rank, where 1 is first. Where it is declared, `--explain` also lists every unranked backlog item, so one sitting last is visible rather than silently last. `--autopilot` picks as autopilot does: it leaves out items marked `run: attended`, items whose `run` is neither value, and items that are not ready to build, listing each as skipped. Ready means at least one `- AC-n:` line, at least one of those lines naming a file path in backticks, and every named path existing or having an existing parent folder (of a path with a `*`, `?`, `<…>` or `{…}` segment, the folders before it); the skip reason `not-ready` names the first failing rule. **`aidlc roadmap rank <item> <n>`** is the one way to change a rank: it puts the item at `n` and renumbers every ranked backlog item 1…k, so ranks stay unique and gap-free.
167
167
 
168
- **Seeing the roadmap.** When someone asks to see the roadmap or its dependencies, run **`aidlc roadmap view`** rather than drawing a graph. It writes one self-contained HTML page — a kanban board of every item by status, and a zoomable map of the `depends_on` chains with blocked items and unknown ids marked — and opens it in the browser (`--no-open` only writes it; `--out <path>` writes it elsewhere). The page lives in the git common dir, outside every working tree, so it is never committed and nothing rebuilds it on a move; run the command again for a fresh one. `aidlc roadmap graph` is the same command.
168
+ **Seeing the roadmap.** When someone asks to see the roadmap or its dependencies, run **`aidlc roadmap view`** rather than drawing a graph. It writes one self-contained HTML page — Board, a kanban board of every item by status; Dependencies, each item's `depends_on` needs with blocked items and unknown ids marked; and Shipped, what is done — plus a Milestones tab, first, when the roadmap has a milestones file — and opens it in the browser (`--no-open` only writes it; `--out <path>` writes it elsewhere). The page lives in the git common dir, outside every working tree, so it is never committed and nothing rebuilds it on a move; run the command again for a fresh one. `aidlc roadmap graph` is the same command.
169
169
 
170
170
  The frontmatter-only rule holds for browsing, which is a list and must stay cheap enough to run over the whole roadmap. **Triage** below is the one flow allowed into the body, and only as far as the executive summary.
171
171
 
@@ -195,7 +195,7 @@ The proposed rank is never written without the person's answer: a rank nobody lo
195
195
 
196
196
  ### Run mode on the way in
197
197
 
198
- When the project declares `run` in `roadmap.item_fields`, the same moment also settles whether autopilot may build the item alone: `run: autopilot` or `run: attended`. Autopilot picks with `aidlc roadmap next --autopilot`, which leaves `attended` items for a person; a person's `aidlc roadmap next` still offers them.
198
+ When the project declares `run` in `roadmap.item_fields`, the same moment also settles whether autopilot may build the item alone: `run: autopilot` or `run: attended`. Autopilot picks with `aidlc roadmap next --autopilot`, which leaves `attended` items for a person; a person's `aidlc roadmap next` still offers them. When an item goes to `backlog` with `run: autopilot` and is not ready to build, `aidlc roadmap triage` prints `warning: <file>: not ready: …` and still moves it: pass the warning to the author, since autopilot will skip the item until its acceptance criteria name paths that exist.
199
199
 
200
200
  1. **Propose** `autopilot` or `attended` with a one-line reason, alongside the proposed rank. `attended` fits an item that changes what a gate trusts, or needs a decision before any code; `autopilot` fits hours of work with a clear reproduction and a clear fix.
201
201
  2. Ask it **in the same question as the rank** — one answer gives both, for example "rank 3, attended". Never a second question.
@@ -64,8 +64,8 @@ deployment checklist.
64
64
  4. **Update the affected topic page in `docs/`.** If this instance changed how a documented topic
65
65
  behaves — its interface, its failure modes, or the reason it is built the way it is — update that
66
66
  topic's page before releasing, and say in the deployment artifact which page you touched or that
67
- none applied. The manifest at `docs/index.yaml` maps each topic to the code it documents, so
68
- start there to find the page. A design reason bought with a bugfix belongs in the page's "why"
67
+ none applied. If the project keeps a docs manifest that maps each topic to the code it
68
+ documents, start there to find the page. A design reason bought with a bugfix belongs in the page's "why"
69
69
  section: the knowledge graph records what the code looks like and cannot afford to record why, so
70
70
  a reason that lives nowhere else is one the next agent will simplify away. This is a checklist
71
71
  step, not a gate — no phase is blocked on it.
@@ -38,7 +38,22 @@ 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.** Three stops. The first two are set in `aidlc autopilot setup` or `aidlc init` and on by default; the third needs no setting:
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. 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
- - **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
+ - **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, and rejecting one asks what the call should have been and adds that answer there as a correction (Enter skips) — then merges.
42
+
43
+ **Preparing that review.** When the person asks for help with the logged calls, write a proposal for them; never run `aidlc autopilot review` yourself. Write it to `<git common dir>/aidlc/review-proposal.yaml` (`git rev-parse --git-common-dir`), outside every working tree, so no commit picks it up. It is YAML with one key, `instances`, mapping each instance to its entries by number. Give every entry without a `**Review:**` line, in each instance you name, a verdict: `keep`, `reject` or `promote` — the CLI refuses a proposal that leaves one out. Promote only an `interpretation`, a `deviation` or an entry with no `**Type:**` line. An entry needs the person when it is an `open-question` or you propose reject or promote: write it as a mapping with `verdict` and three parts in plain words, each under 1,000 characters — `what_happened`, `example` (one concrete case), and `what_changes` (what each answer would change):
44
+
45
+ ```yaml
46
+ instances:
47
+ cost-in-tokens:
48
+ 1: keep
49
+ 3:
50
+ verdict: promote
51
+ what_happened: The run had to pick a unit for the cost cap and chose tokens.
52
+ example: A cap of 2,000,000 stops a run after about two hours of work.
53
+ what_changes: Keep leaves tokens. Promote makes it the call every later item reads. Reject sends it back to be built in dollars.
54
+ ```
55
+
56
+ Then give the person the command to run in their own terminal: `aidlc autopilot review --from <file>`. It checks the whole proposal against the logs first and names every problem, writes the routine keeps at once as accepted from the agent's proposal, and stops only on the entries that need the person, showing your explanation and your answer first. `aidlc autopilot review --pending` walks every instance with an unreviewed entry when there is no proposal.
42
57
 
43
58
  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.
44
59
 
@@ -56,7 +71,7 @@ The CLI does the work. This skill starts it and says how to watch and stop it. D
56
71
 
57
72
  ## What the run does on its own
58
73
 
59
- - Takes items in `aidlc roadmap next --autopilot` order, which leaves out items marked `run: attended`. Builds at most two at once, and never more than the count asked for.
74
+ - Takes items in `aidlc roadmap next --autopilot` order, which leaves out items marked `run: attended` and items not ready to build — no `AC-n` lines, or an AC naming a path that does not exist; the run says `not ready: <file>: <reason>` for each, once a pass. Builds at most two at once, and never more than the count asked for.
60
75
  - 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.
61
76
  - 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.
62
77
  - 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.