docguard-cli 0.26.0 → 0.28.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/README.md +5 -3
- package/cli/commands/explain.mjs +31 -7
- package/cli/commands/feedback.mjs +163 -0
- package/cli/commands/guard.mjs +90 -22
- package/cli/commands/init.mjs +23 -1
- package/cli/commands/score.mjs +65 -32
- package/cli/commands/sync-tests.mjs +272 -0
- package/cli/commands/sync.mjs +6 -0
- package/cli/commands/verify.mjs +67 -0
- package/cli/docguard.mjs +49 -4
- package/cli/findings.mjs +194 -0
- package/cli/scanners/semantic-claims.mjs +154 -0
- package/cli/shared-source.mjs +24 -2
- package/cli/validators/api-surface.mjs +75 -9
- package/cli/validators/architecture.mjs +25 -13
- package/cli/validators/doc-quality.mjs +14 -3
- package/cli/validators/security.mjs +117 -31
- package/cli/validators/todo-tracking.mjs +4 -0
- 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 +2 -2
- package/package.json +1 -1
- package/templates/ENVIRONMENT.md.template +5 -0
- package/templates/REQUIREMENTS.md.template +2 -0
- package/templates/SECURITY.md.template +6 -1
- package/templates/TEST-SPEC.md.template +5 -0
|
@@ -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.
|
|
10
|
+
version: 0.28.0
|
|
11
11
|
source: extensions/spec-kit-docguard/skills/docguard-guard
|
|
12
12
|
---
|
|
13
|
-
<!-- docguard:version: 0.
|
|
13
|
+
<!-- docguard:version: 0.28.0 -->
|
|
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.
|
|
9
|
+
version: 0.28.0
|
|
10
10
|
source: extensions/spec-kit-docguard/skills/docguard-review
|
|
11
11
|
---
|
|
12
|
-
<!-- docguard:version: 0.
|
|
12
|
+
<!-- docguard:version: 0.28.0 -->
|
|
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.
|
|
9
|
+
version: 0.28.0
|
|
10
10
|
source: extensions/spec-kit-docguard/skills/docguard-score
|
|
11
11
|
---
|
|
12
|
-
<!-- docguard:version: 0.
|
|
12
|
+
<!-- docguard:version: 0.28.0 -->
|
|
13
13
|
|
|
14
14
|
# DocGuard Score Skill
|
|
15
15
|
|
|
@@ -4,10 +4,10 @@ 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.
|
|
7
|
+
version: 0.28.0
|
|
8
8
|
source: extensions/spec-kit-docguard/skills/docguard-sync
|
|
9
9
|
---
|
|
10
|
-
<!-- docguard:version: 0.
|
|
10
|
+
<!-- docguard:version: 0.28.0 -->
|
|
11
11
|
|
|
12
12
|
# DocGuard Sync Skill
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Environment & Configuration
|
|
2
2
|
|
|
3
|
+
<!-- docguard:version 0.1.0 -->
|
|
4
|
+
<!-- docguard:status draft -->
|
|
5
|
+
<!-- docguard:last-reviewed YYYY-MM-DD -->
|
|
6
|
+
<!-- docguard:owner @your-github-username -->
|
|
7
|
+
|
|
3
8
|
> **Canonical document** — Design intent. This file documents everything needed to run this project.
|
|
4
9
|
> Last updated: YYYY-MM-DD
|
|
5
10
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- docguard:version 0.1.0 -->
|
|
4
4
|
<!-- docguard:status draft -->
|
|
5
|
+
<!-- docguard:last-reviewed YYYY-MM-DD -->
|
|
6
|
+
<!-- docguard:owner @your-github-username -->
|
|
5
7
|
|
|
6
8
|
> Tracks functional requirements, non-functional requirements, and success criteria.
|
|
7
9
|
> Use requirement IDs (FR-001, NFR-001, SC-001) for traceability back to code and tests.
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Security
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<!-- docguard:version 0.1.0 -->
|
|
4
|
+
<!-- docguard:status draft -->
|
|
5
|
+
<!-- docguard:last-reviewed YYYY-MM-DD -->
|
|
6
|
+
<!-- docguard:owner @your-github-username -->
|
|
7
|
+
|
|
8
|
+
> **Canonical document** — Design intent. This file defines the security model.
|
|
4
9
|
> Last updated: YYYY-MM-DD
|
|
5
10
|
|
|
6
11
|
---
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Test Specification
|
|
2
2
|
|
|
3
|
+
<!-- docguard:version 0.1.0 -->
|
|
4
|
+
<!-- docguard:status draft -->
|
|
5
|
+
<!-- docguard:last-reviewed YYYY-MM-DD -->
|
|
6
|
+
<!-- docguard:owner @your-github-username -->
|
|
7
|
+
|
|
3
8
|
> **Canonical document** — Design intent. This file declares what tests MUST exist.
|
|
4
9
|
> Last updated: YYYY-MM-DD
|
|
5
10
|
|