@rasensio/aidlc-content 2.4.0 → 2.5.2
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 +5 -3
- package/docs/state-and-concurrency.md +10 -0
- package/package.json +1 -1
- package/skills/04-roadmap.md +10 -5
package/docs/roadmap.md
CHANGED
|
@@ -285,7 +285,8 @@ Each item goes through these steps:
|
|
|
285
285
|
conflict: it halts the queue as a failed update with git's message, and `aidlc autopilot run`
|
|
286
286
|
resumes it once you have dealt with the change. A pull request with no checks that GitHub reports
|
|
287
287
|
as conflicting is handled the same way: GitHub runs no checks on a conflicting PR, so waiting for
|
|
288
|
-
them would wait forever.
|
|
288
|
+
them would wait forever. A branch that already contains main but whose head never reached the
|
|
289
|
+
remote is pushed and waits for CI too, so the commit GitHub is asked to merge is one it has seen.
|
|
289
290
|
7. **Merge and release**, one at a time, never while a release workflow is running: merge the exact
|
|
290
291
|
commit CI passed (`--match-head-commit`), pull `main`, run the release step when the item's stop
|
|
291
292
|
is `release`, then `aidlc transition` to close the instance. A failure halts the queue. Running
|
|
@@ -414,8 +415,9 @@ for closing a laptop, whose sleep would otherwise cut the agents' network and ge
|
|
|
414
415
|
and `aidlc autopilot resume` carries on; a pause waits for a pass in progress rather than freeze a merge or
|
|
415
416
|
release halfway. `aidlc autopilot forget <instance>` stops tracking an item you finished or
|
|
416
417
|
abandoned by hand; a pull request merged by hand is noticed and dropped on its own. A rate limit
|
|
417
|
-
from `gh` or the agent backs off five minutes, doubling to at most
|
|
418
|
-
two hours.
|
|
418
|
+
from `gh`, `glab`, a `git push` or `fetch`, or the agent backs off five minutes, doubling to at most
|
|
419
|
+
two hours. Only those are read for one, and only for the host's own words — a `429` in a file list,
|
|
420
|
+
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
|
|
419
421
|
reads.
|
|
420
422
|
|
|
421
423
|
## Repositories not on GitHub
|
|
@@ -66,6 +66,16 @@ using the same helper as `aidlc doctor`; a real worktree test keeps the raw, una
|
|
|
66
66
|
negative control. If you create the worktree with `git worktree add` yourself, run `aidlc doctor`
|
|
67
67
|
inside it before starting the agent session.
|
|
68
68
|
|
|
69
|
+
Inside herdr (`HERDR_ENV=1` and `herdr` on `PATH`), `aidlc start --worktree` goes one step further:
|
|
70
|
+
it opens the new worktree as a background herdr workspace labelled with the instance name, and
|
|
71
|
+
types `cd '<worktree>' && claude "/aidlc-continue <name>"` (or `codex`, per the platform) into its
|
|
72
|
+
root pane. It prints one `Herdr:` line saying what it opened. When herdr fails, takes more than ten
|
|
73
|
+
seconds, or finds the workspace already open, the line carries the command to run instead, and the
|
|
74
|
+
start succeeds as it would have without herdr — failing it would undo a good worktree because a
|
|
75
|
+
terminal multiplexer did not answer. `--no-open` turns it off. Autopilot always passes `--no-open`,
|
|
76
|
+
and `AIDLC_UNATTENDED=1` suppresses it too, because autopilot launches the item's one agent itself
|
|
77
|
+
and a second one in a herdr pane would collide with it. The code is `concurrency/herdr.ts`.
|
|
78
|
+
|
|
69
79
|
## Where the code lives
|
|
70
80
|
|
|
71
81
|
- `packages/cli/src/concurrency` — the claim store, staleness logic, and worktree helpers.
|
package/package.json
CHANGED
package/skills/04-roadmap.md
CHANGED
|
@@ -201,11 +201,16 @@ When the user asks for a worktree ("create a new worktree for roadmap `<file>`")
|
|
|
201
201
|
1. **Find the item** by file name, `id`, or title, in `backlog/` or `inbox/`. Asking for a worktree counts as choosing to skip triage. When more than one item matches, list them and ask which one.
|
|
202
202
|
2. **Instance name**: the item's file name without its date prefix and extension (the item filed as `20260929-say-what-to-do-next` becomes `say-what-to-do-next`). Template and scope come from the config defaults, unless the item or the user names them.
|
|
203
203
|
3. **Create the instance with** `aidlc start <template> --name <name> --scope <scope> --worktree --non-interactive --roadmap-item <item-file>`. Take the worktree path from the `Worktree:` line it prints. That one command creates the branch and the worktree, fires `on-instance-start`, sets the item's `promoted_to`, moves it to `in-progress/` in the primary checkout, and copies it into the instance as `roadmap-item.md` — which is the seeding step 5 above asks for. Do none of it by hand: a hand-made move is the step that got skipped. The move is left uncommitted in the primary checkout; committing it is yours.
|
|
204
|
-
4. **Hand off. Do not start the phase in this session** — unless the user's own message asks you to continue here, in which case `cd` into the worktree and follow **aidlc-continue** there. Otherwise the work belongs to the new session.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
204
|
+
4. **Hand off. Do not start the phase in this session** — unless the user's own message asks you to continue here, in which case `cd` into the worktree and follow **aidlc-continue** there. Otherwise the work belongs to the new session.
|
|
205
|
+
- **`aidlc start` printed `Herdr: opened workspace …`** — it ran inside herdr, opened the worktree as a herdr workspace and already started the agent there on `/aidlc-continue <name>`. The hand-off is done: say which workspace it opened and stop. Do not print a command to paste.
|
|
206
|
+
- **`aidlc start` printed `Herdr: could not open a workspace (…) — run: …`** — give the user that command as printed, with the reason.
|
|
207
|
+
- **No `Herdr:` line** — end with the exact command that opens the new session:
|
|
208
|
+
```
|
|
209
|
+
cd <worktree> && claude "/aidlc-continue <name>"
|
|
210
|
+
```
|
|
211
|
+
For Codex, swap `claude` for `codex`. If the user names a session manager, give them the worktree path to point it at.
|
|
212
|
+
|
|
213
|
+
A user who does not want herdr to open anything passes `--no-open` to `aidlc start`.
|
|
209
214
|
|
|
210
215
|
When the instance completes, the `roadmap-done` lifecycle action moves every item whose `promoted_to` names it to `done/` on its own, and says how many it moved — do not do it by hand, and do not remove that action to do it manually.
|
|
211
216
|
|