@rasensio/aidlc-content 1.74.0 → 1.76.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.
@@ -150,3 +150,27 @@ deliberate:
150
150
 
151
151
  The same shape guards the coverage cache in `src/traceability/cache.ts`, which is where the pattern
152
152
  came from.
153
+
154
+ ## When a source file breaks
155
+
156
+ A merge that leaves conflict markers in `modules.yaml`, or a hand edit that makes one document
157
+ unparseable, takes that document out of the index. That part is right: the YAML is the source of
158
+ truth, and keeping the old rows would be serving stale facts again. What was wrong is that nobody
159
+ was told. The parser named the file in a warning that nothing printed, and when no entity was left
160
+ the `# Codebase Knowledge` block simply disappeared from `CLAUDE.md` — a shrinking diff in a
161
+ generated file, the exact shape of thing six instances had already filed as noise.
162
+
163
+ So `aidlc update` and `aidlc init` now print `knowledge graph: <file>: …` for every broken source,
164
+ and say so when the block is left out. Three choices behind that:
165
+
166
+ - **The warning is read from the files on every run**, not only on the run that rebuilt the index.
167
+ Whichever command opens the index first after a merge does the rebuild; if that was `aidlc gate`,
168
+ the warning used to be gone before `aidlc update` ever saw it. That costs one extra parse on those
169
+ two commands — 70–160 ms here — and nothing anywhere else.
170
+ - **A document the index cannot store is skipped and named, not thrown.** A `description:` holding a
171
+ map used to fail the whole rebuild with "cannot be bound to SQLite parameter 4", which names
172
+ neither the file nor the field. The rule is what the index actually refuses, measured against it,
173
+ rather than the stricter rules `aidlc knowledge add` enforces — applying those on read would drop
174
+ facts that index fine today.
175
+ - **`compact` is the exception.** It rewrites the YAML from what it read, so skipping a document there
176
+ would delete it from the source of truth rather than from a cache. It still reads everything.
package/docs/roadmap.md CHANGED
@@ -167,7 +167,9 @@ Each item goes through these steps:
167
167
  pass is what held a whole `--all` run on one item for five hours. An agent that exits with an
168
168
  error within 30 seconds of launch parks the item with `agent failed to launch (exit <code>):`
169
169
  and the first line it printed, so a flag the agent no longer accepts names itself instead of
170
- reading as a failed build.
170
+ reading as a failed build. An agent command that cannot be started at all — not installed, or
171
+ not on the background run's `PATH` — parks the item at the next pass with
172
+ `agent failed to launch: spawn <command> ENOENT`, and the run carries on.
171
173
 
172
174
  **The agent reports a typed result.** With one of the Claude Code or Codex presets, autopilot
173
175
  asks the agent how it ended: Claude Code runs with `--output-format json` and an outcome schema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc-content",
3
- "version": "1.74.0",
3
+ "version": "1.76.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",