@whitehatd/crag 0.2.8 → 0.2.9

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": "@whitehatd/crag",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "The bedrock layer for AI coding agents. One governance.md. Any project. Never stale.",
5
5
  "bin": {
6
6
  "crag": "bin/crag.js"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: post-start-validation
3
- version: 0.2.2
3
+ version: 0.2.9
4
4
  source_hash: 5a64dfe68b13577dff818fa63ddb6185be360c80b100f205bc586aac39e19e80
5
5
  description: Universal validation and knowledge capture. Detects what changed, runs governance gates, captures knowledge, verifies deployment. Works for any project.
6
6
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: pre-start-context
3
- version: 0.2.2
4
- source_hash: b7be8434b99d5b189c904263e783d573c82109218725cc31fbd4fa1bf81538b6
3
+ version: 0.2.9
4
+ source_hash: 4ace3388804f528a7e7a446466a506ca5f0da4c23e42b540b9ae8923eaf35e4e
5
5
  description: Universal context loader. Discovers any project's stack, architecture, and state at runtime. Reads governance.md for project-specific rules. Works for any language, framework, or deployment target.
6
6
  ---
7
7
 
@@ -54,17 +54,20 @@ Detect OS and shell. Use appropriate syntax (Unix forward slashes if Git Bash on
54
54
 
55
55
  ## 0.05. Skill Currency Check
56
56
 
57
- Check installed skill version:
57
+ Check whether installed skills are behind the crag CLI:
58
58
 
59
+ // turbo
59
60
  ```
60
- Read .claude/skills/pre-start-context/SKILL.md
61
+ crag upgrade --check
61
62
  ```
62
63
 
63
- If the file has a `version:` frontmatter field, compare it to the expected version (0.2.0). If outdated:
64
- - Report: `"Pre-start skill vX.Y.Z is outdated (v0.2.0 available). Run: crag upgrade"`
65
- - Continue with current version — never block startup.
64
+ If the output lists any skill as needing an upgrade (e.g. `0.2.x 0.2.y`):
65
+ - Report: `"Skills outdated run: crag upgrade"`
66
+ - Continue with the current version — never block startup.
66
67
 
67
- > This check costs one Read call. If skills are current, no action needed.
68
+ > This check uses `crag upgrade --check` so the skill never has to hard-code
69
+ > its own version number; it asks the CLI, which is always in lockstep with
70
+ > the package. If `crag` is not on PATH (bare CI runner), skip silently.
68
71
 
69
72
  ---
70
73