docguard-cli 0.15.2 → 0.15.3
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/cli/commands/upgrade.mjs +1 -1
- package/cli/scanners/memory-plan.mjs +1 -1
- package/cli/validators/freshness.mjs +1 -1
- package/extensions/spec-kit-docguard/extension.yml +1 -1
- package/extensions/spec-kit-docguard/skills/docguard-fix/SKILL.md +2 -2
- package/extensions/spec-kit-docguard/skills/docguard-guard/SKILL.md +2 -2
- package/extensions/spec-kit-docguard/skills/docguard-review/SKILL.md +2 -2
- package/extensions/spec-kit-docguard/skills/docguard-score/SKILL.md +2 -2
- package/extensions/spec-kit-docguard/skills/docguard-sync/SKILL.md +1 -1
- package/package.json +1 -1
package/cli/commands/upgrade.mjs
CHANGED
|
@@ -63,7 +63,7 @@ function readProjectSchemaVersion(projectDir) {
|
|
|
63
63
|
if (!existsSync(p)) return null;
|
|
64
64
|
try {
|
|
65
65
|
const cfg = JSON.parse(readFileSync(p, 'utf-8'));
|
|
66
|
-
// Pre-0.4 schemas (e.g.
|
|
66
|
+
// Pre-0.4 schemas (e.g. an enterprise client project's original config from 2024)
|
|
67
67
|
// have no `version` field. Treat as 0.0 so the migration runs end-to-end.
|
|
68
68
|
return cfg.version || '0.0';
|
|
69
69
|
} catch {
|
|
@@ -31,7 +31,7 @@ const md = {
|
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* v0.15-P1: in-process cache. buildMemoryPlan is expensive (~400ms on
|
|
34
|
-
*
|
|
34
|
+
* an enterprise client project, 33% of total guard validator time) because it triggers
|
|
35
35
|
* routes/schemas/screens/frontend scanners — all of which walk the source
|
|
36
36
|
* tree. Within a single guard run, sync, generate, and the Generated-
|
|
37
37
|
* Staleness validator all ask for the SAME plan; without caching they each
|
|
@@ -15,7 +15,7 @@ import { execSync, execFileSync } from 'node:child_process';
|
|
|
15
15
|
// upgrade, package corruption, weird module resolution), we fall back to
|
|
16
16
|
// the original inline implementation below. The worst-case outcome is
|
|
17
17
|
// "rename detection doesn't work", NOT "validator crashes with a useless
|
|
18
|
-
// ReferenceError". Reported by
|
|
18
|
+
// ReferenceError". Reported by an enterprise client project v0.13.x feedback.
|
|
19
19
|
let _sharedGetLastCommitDate = null;
|
|
20
20
|
try {
|
|
21
21
|
const mod = await import('../shared-git.mjs');
|
|
@@ -3,7 +3,7 @@ schema_version: "1.0"
|
|
|
3
3
|
extension:
|
|
4
4
|
id: "docguard"
|
|
5
5
|
name: "DocGuard — CDD Enforcement"
|
|
6
|
-
version: "0.15.
|
|
6
|
+
version: "0.15.3"
|
|
7
7
|
description: "Canonical-Driven Development enforcement as a true spec-kit extension. LLM-first design with 19 automated validators, 4 AI behavior skills, spec-kit skill chaining, and workflow hooks. Zero NPM runtime dependencies."
|
|
8
8
|
author: "Ricardo Accioly"
|
|
9
9
|
repository: "https://github.com/raccioly/docguard"
|
|
@@ -6,10 +6,10 @@ description: AI-driven documentation repair with structured research workflow, t
|
|
|
6
6
|
compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli)
|
|
7
7
|
metadata:
|
|
8
8
|
author: docguard
|
|
9
|
-
version: 0.15.
|
|
9
|
+
version: 0.15.3
|
|
10
10
|
source: extensions/spec-kit-docguard/skills/docguard-fix
|
|
11
11
|
---
|
|
12
|
-
<!-- docguard:version: 0.15.
|
|
12
|
+
<!-- docguard:version: 0.15.3 -->
|
|
13
13
|
|
|
14
14
|
# DocGuard Fix Skill
|
|
15
15
|
|
|
@@ -7,10 +7,10 @@ description: Run DocGuard guard validation against Canonical-Driven Development
|
|
|
7
7
|
compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli)
|
|
8
8
|
metadata:
|
|
9
9
|
author: docguard
|
|
10
|
-
version: 0.15.
|
|
10
|
+
version: 0.15.3
|
|
11
11
|
source: extensions/spec-kit-docguard/skills/docguard-guard
|
|
12
12
|
---
|
|
13
|
-
<!-- docguard:version: 0.15.
|
|
13
|
+
<!-- docguard:version: 0.15.3 -->
|
|
14
14
|
|
|
15
15
|
# DocGuard Guard Skill
|
|
16
16
|
|
|
@@ -6,10 +6,10 @@ description: Cross-document consistency analysis and quality assessment. Perform
|
|
|
6
6
|
compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli)
|
|
7
7
|
metadata:
|
|
8
8
|
author: docguard
|
|
9
|
-
version: 0.15.
|
|
9
|
+
version: 0.15.3
|
|
10
10
|
source: extensions/spec-kit-docguard/skills/docguard-review
|
|
11
11
|
---
|
|
12
|
-
<!-- docguard:version: 0.15.
|
|
12
|
+
<!-- docguard:version: 0.15.3 -->
|
|
13
13
|
|
|
14
14
|
# DocGuard Review Skill
|
|
15
15
|
|
|
@@ -6,10 +6,10 @@ description: CDD maturity assessment with category-aware improvement roadmap. Ru
|
|
|
6
6
|
compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli)
|
|
7
7
|
metadata:
|
|
8
8
|
author: docguard
|
|
9
|
-
version: 0.15.
|
|
9
|
+
version: 0.15.3
|
|
10
10
|
source: extensions/spec-kit-docguard/skills/docguard-score
|
|
11
11
|
---
|
|
12
|
-
<!-- docguard:version: 0.15.
|
|
12
|
+
<!-- docguard:version: 0.15.3 -->
|
|
13
13
|
|
|
14
14
|
# DocGuard Score Skill
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@ description: Keep canonical documentation ALWAYS UP TO DATE. Refreshes code-trut
|
|
|
4
4
|
compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli)
|
|
5
5
|
metadata:
|
|
6
6
|
author: docguard
|
|
7
|
-
version: 0.15.
|
|
7
|
+
version: 0.15.3
|
|
8
8
|
source: extensions/spec-kit-docguard/skills/docguard-sync
|
|
9
9
|
---
|
|
10
10
|
|
package/package.json
CHANGED