@vibecompass/vibecompass 0.10.0 → 0.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.2 - 2026-06-19
4
+
5
+ - Add a package-owned docs-review source inventory scanner that writes `state/docs-review-source-inventory.json`, includes scanned subsystem inventory in the review prompt, and records `scanned_unaccounted` / `source_unavailable` reconciliation warnings without changing the primary coverage score basis.
6
+ - Add an accepted docs-review documentation-plan projection at `state/docs-review-documentation-plan.json`, preserving plan titles, purposes, parent groups, baseline/deepening scope, linked inventory ids, evidence, anchors, and producer stamps as derived state.
7
+ - Add `docs-review --source-root <id=path>` so Git-backed repos can be scanned from local checkouts for a run without committing machine-local paths to `project.yaml`.
8
+ - Add a source-inventory concurrency stress test script and run it during `prepublishOnly` to guard symlink root-containment regressions.
9
+ - Ignore common OS metadata files such as `.DS_Store` during source inventory scans so package evidence does not create false route/API items.
10
+ - Collapse nested `config/<group>/**` source-inventory evidence into one platform subsystem per config group instead of fragmenting every leaf config file into its own item.
11
+ - Report all dangling `completeness_inventory[].coverage_area_ids[]` references in one docs-review apply error and prompt agents to fix them at the plan gate.
12
+ - Clarify docs-review coverage reporting so scores are described as evidence/completeness-inventory accounting when present, not doc-count accounting.
13
+
14
+ ## 0.10.1 - 2026-06-14
15
+
16
+ - Add completeness-inventory guidance to docs-review so coverage plans account for accepted, deferred, and missing subsystems instead of silently omitting large areas.
17
+ - Score accepted coverage against the optional completeness inventory denominator when present, with a backwards-compatible fallback for older coverage plans.
18
+ - Add soft parser warnings for modern coverage plans that omit completeness inventory or under-explain accepted/deferred/missing inventory items.
19
+ - Add prose-only surface matrix guidance for feature docs while keeping `systems[]` as derived overview metadata rather than a second projected graph.
20
+
3
21
  ## 0.10.0 - 2026-06-14
4
22
 
5
23
  - Make docs-review prompts mode-aware: interactive AI sessions stop at the coverage-plan approval gate, while `--run-local` and hosted single-turn runs emit fenced proposal material for later apply/proposal review.
package/README.md CHANGED
@@ -134,6 +134,7 @@ npx -y @vibecompass/vibecompass@latest sync-agents --root .compass
134
134
 
135
135
  # Architecture docs review
136
136
  npx -y @vibecompass/vibecompass@latest docs-review --root .compass --guided
137
+ npx -y @vibecompass/vibecompass@latest docs-review --root .compass --guided --source-root app=../app
137
138
  npx -y @vibecompass/vibecompass@latest docs-review --root .compass --apply-output
138
139
 
139
140
  # Rerun docs review from an archived architecture-doc slate
@@ -153,6 +154,9 @@ npx -y @vibecompass/vibecompass@latest docs-review --root .compass --rebuild --a
153
154
  state/
154
155
  ```
155
156
 
157
+ Docs review writes derived state under `state/`, including scanned source
158
+ inventory, accepted coverage, and the accepted documentation-plan projection.
159
+
156
160
  Generated agent files can also include managed VibeCompass blocks:
157
161
 
158
162
  ```text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibecompass/vibecompass",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Local-first project-memory core for VibeCompass",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,7 +18,8 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "test": "node --test src/tests/*.test.js",
21
- "prepublishOnly": "npm test"
21
+ "test:source-inventory-stress": "node --test --test-concurrency=8 src/tests/source-inventory.test.js",
22
+ "prepublishOnly": "npm test && npm run test:source-inventory-stress"
22
23
  },
23
24
  "keywords": [
24
25
  "vibecompass",
package/src/cli.js CHANGED
@@ -286,6 +286,13 @@ export async function runCli(argv, io = createDefaultIo(), runtime = {}) {
286
286
  if (result.localReview) {
287
287
  io.stdout.write(`Local review output: ${result.localReview.output_path}\n`);
288
288
  }
289
+ if (result.sourceInventory) {
290
+ io.stdout.write(`Source inventory: ${result.sourceInventory.summary.item_count} items`);
291
+ if (result.sourceInventory.summary.warning_count > 0) {
292
+ io.stdout.write(` (${result.sourceInventory.summary.warning_count} warnings)`);
293
+ }
294
+ io.stdout.write('\n');
295
+ }
289
296
  if (result.rebuild) {
290
297
  io.stdout.write(`Rebuild scope: ${result.rebuild.scope_path}\n`);
291
298
  io.stdout.write(`Stale policy: ${result.rebuild.stale_policy}\n`);
@@ -1170,6 +1177,14 @@ function parseDocsReviewArgs(argv) {
1170
1177
  case '--sync-target':
1171
1178
  parsed.syncTarget = value;
1172
1179
  break;
1180
+ case '--source-root': {
1181
+ const [repoId, sourceRootPath] = splitAssignment(value, '--source-root');
1182
+ parsed.sourceRootOverrides = [
1183
+ ...(parsed.sourceRootOverrides ?? []),
1184
+ { repoId, path: sourceRootPath },
1185
+ ];
1186
+ break;
1187
+ }
1173
1188
  case '--max-tokens':
1174
1189
  parsed.maxTokens = value;
1175
1190
  break;
@@ -1605,6 +1620,7 @@ function usageText() {
1605
1620
  ' --poll-hosted Poll hosted docs-review run status and update state/docs-review.json',
1606
1621
  ' --complete Mark accepted docs-review changes as completed locally',
1607
1622
  ' --run-local Run the generated review request with a local provider',
1623
+ ' --source-root <id=path> Repeatable run-local source root override for Git-backed repos',
1608
1624
  ' --provider <name> Local provider for --run-local. Currently: anthropic',
1609
1625
  ' --run-local-anthropic Compatibility alias for --run-local --provider anthropic',
1610
1626
  ' --apply-output Apply accepted architecture doc blocks from review output',