doctrina-cli 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doctrina-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Doctrina CLI — spec-driven, AGENTS.md-native framework for multi-agent AI development.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -164,7 +164,7 @@ export async function run(_positional, _flags) {
164
164
 
165
165
  // 10. Orphan detection — files on disk not referenced in index.json.
166
166
  if (index?.artifacts) {
167
- const indexedSpecIds = new Set((index.artifacts.specs ?? []).map((s) => s.id));
167
+ const indexedSpecIds = new Set((index.artifacts.specs ?? []).map((s) => s.id ?? s.capability));
168
168
  if (isDir(specsDir)) {
169
169
  const { readdirSync } = await import("node:fs");
170
170
  for (const cap of readdirSync(specsDir)) {