@whitehatd/crag 0.0.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/LICENSE +21 -0
- package/README.md +32 -0
- package/cli.js +15 -0
- package/package.json +30 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alexandru Cioc (WhitehatD)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# crag
|
|
2
|
+
|
|
3
|
+
**The bedrock layer for AI coding agents. One `governance.md`. Any project. Never stale.**
|
|
4
|
+
|
|
5
|
+
> This is a name-reservation placeholder. The full tool is in active development and will ship shortly.
|
|
6
|
+
|
|
7
|
+
## What crag will be
|
|
8
|
+
|
|
9
|
+
crag inverts how AI coding setups work. Every AI agent today reads static config files — CLAUDE.md, AGENTS.md, Cursor rules, Gemini docs. They hardcode facts about your project. Facts change. Instructions rot.
|
|
10
|
+
|
|
11
|
+
crag ships **universal skills** that discover any project at runtime — any language, any framework, any deployment target — and reads your rules from a single `governance.md` file. The skills are the engine. The governance is the crag — the ancient landmark that doesn't drift while everything else changes.
|
|
12
|
+
|
|
13
|
+
## What's shipping
|
|
14
|
+
|
|
15
|
+
- `crag init` — interview-driven setup
|
|
16
|
+
- `crag analyze` — zero-interview governance generation from existing CI/scripts/git
|
|
17
|
+
- `crag diff` — drift detection
|
|
18
|
+
- `crag upgrade` — version-tracked skill updates
|
|
19
|
+
- `crag workspace` — 11+ workspace type detection (pnpm, Cargo, Go, Gradle, Nx, Turbo, Bazel, submodules, nested repos)
|
|
20
|
+
- `crag compile` — compile one governance.md to 6 targets: GitHub Actions, husky, pre-commit, AGENTS.md, Cursor, Gemini
|
|
21
|
+
|
|
22
|
+
Proven in production on 4 projects (StructuAI, Leyoda, MetricHost, crag itself). 117 tests. Zero dependencies.
|
|
23
|
+
|
|
24
|
+
## Status
|
|
25
|
+
|
|
26
|
+
Name reserved on npm. Full release coming soon.
|
|
27
|
+
|
|
28
|
+
**Follow:** https://github.com/WhitehatD/crag
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT
|
package/cli.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
console.log(`
|
|
6
|
+
crag — the bedrock layer for AI coding agents
|
|
7
|
+
|
|
8
|
+
This is a name-reservation placeholder. The full tool is in active development.
|
|
9
|
+
|
|
10
|
+
Visit: https://github.com/WhitehatD/crag
|
|
11
|
+
Follow: https://github.com/WhitehatD
|
|
12
|
+
|
|
13
|
+
When the full release ships, run:
|
|
14
|
+
npm install -g crag@latest
|
|
15
|
+
`);
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@whitehatd/crag",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "The bedrock layer for AI coding agents. One governance.md. Any project. Never stale. (Name reservation — full release coming soon.)",
|
|
5
|
+
"bin": {
|
|
6
|
+
"crag": "cli.js"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"claude-code",
|
|
10
|
+
"ai-agents",
|
|
11
|
+
"ai-coding",
|
|
12
|
+
"agent-governance",
|
|
13
|
+
"developer-tools",
|
|
14
|
+
"meta-framework",
|
|
15
|
+
"monorepo"
|
|
16
|
+
],
|
|
17
|
+
"author": "Alexandru Cioc (WhitehatD)",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/WhitehatD/crag.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/WhitehatD/crag",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/WhitehatD/crag/issues"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
}
|
|
30
|
+
}
|