@rasensio/aidlc-content 1.72.0 → 1.74.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 +6 -2
- package/docs/state-and-concurrency.md +10 -1
- package/package.json +1 -1
package/docs/roadmap.md
CHANGED
|
@@ -481,8 +481,12 @@ the two differ.
|
|
|
481
481
|
not-asked, yes, and an explicit no are three different answers, and collapsing any two of them
|
|
482
482
|
makes a re-run of `init` delete somebody's configuration.
|
|
483
483
|
- `packages/cli/src/doctor/migrations/roadmap-sync-gh-missing.ts` — the report-tier check. It
|
|
484
|
-
spawns nothing at all: the primary checkout comes from `ctx.
|
|
485
|
-
from `primaryCheckout()`, which shells out to `git rev-parse`.
|
|
484
|
+
spawns nothing at all: the primary checkout comes from `ctx.primaryProjectRoot`, resolved once by
|
|
485
|
+
doctor, not from `primaryCheckout()`, which shells out to `git rev-parse`. It used to derive the
|
|
486
|
+
directory itself from the git common dir, which gave the repository's top — and for a project
|
|
487
|
+
below the top, a config with no `roadmap.sync`, so the check stayed silent. Every roadmap read and
|
|
488
|
+
write resolves the primary checkout's copy of the *project*, not of the repository, for the same
|
|
489
|
+
reason.
|
|
486
490
|
- `packages/content/resources` — a portable version of the item-authoring skill, loadable into any
|
|
487
491
|
agent, so a contributor with no checkout can write an item and commit it to `inbox/`.
|
|
488
492
|
- `packages/cli/src/operational` — the `roadmap-done` completion action. Its history is instructive:
|
|
@@ -65,7 +65,16 @@ inside it before starting the agent session.
|
|
|
65
65
|
## Where the code lives
|
|
66
66
|
|
|
67
67
|
- `packages/cli/src/concurrency` — the claim store, staleness logic, and worktree helpers.
|
|
68
|
-
`claim-store.ts` is the single place a claim is written or read.
|
|
68
|
+
`claim-store.ts` is the single place a claim is written or read. `common-dir.ts`
|
|
69
|
+
`primaryProjectRoot` is the one answer to "the primary checkout's copy of this project", which
|
|
70
|
+
the roadmap, the `aidlc start` concurrency check, autopilot and doctor all use. It is the
|
|
71
|
+
repository's top *joined with the project's path inside it*, because a project can sit below the
|
|
72
|
+
top — a monorepo package. Its predecessor returned the top alone, and for such a project the
|
|
73
|
+
concurrency check told a second session in the same checkout it had "nothing to collide on",
|
|
74
|
+
while the roadmap read a `.aidlc/` that did not exist. It was deleted rather than kept beside the
|
|
75
|
+
new one: a helper answering the wrong question is how one mistake reached five callers.
|
|
76
|
+
`aidlc start --worktree` in a nested project still writes to the new worktree's top; that is
|
|
77
|
+
item-20261009-worktree-start-in-nested-project.
|
|
69
78
|
- `packages/cli/src/state` — instance folders, `phase-<name>.yaml`, and the append-only
|
|
70
79
|
`transitions.log`.
|
|
71
80
|
- `packages/cli/src/commands/claim.ts` — the `claim` and `release` commands, which also write the
|