@nerviq/cli 0.0.1 → 0.9.0-beta.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.
Files changed (148) hide show
  1. package/CHANGELOG.md +181 -0
  2. package/LICENSE +21 -0
  3. package/README.md +447 -0
  4. package/bin/cli.js +749 -0
  5. package/content/case-study-template.md +91 -0
  6. package/content/claims-governance.md +37 -0
  7. package/content/claude-code/audit-repo/SKILL.md +20 -0
  8. package/content/claude-native-integration.md +60 -0
  9. package/content/devto-article.json +9 -0
  10. package/content/launch-posts.md +226 -0
  11. package/content/pilot-rollout-kit.md +30 -0
  12. package/content/release-checklist.md +31 -0
  13. package/package.json +53 -4
  14. package/src/activity.js +529 -0
  15. package/src/aider/activity.js +226 -0
  16. package/src/aider/config-parser.js +166 -0
  17. package/src/aider/context.js +158 -0
  18. package/src/aider/deep-review.js +316 -0
  19. package/src/aider/domain-packs.js +278 -0
  20. package/src/aider/freshness.js +168 -0
  21. package/src/aider/governance.js +253 -0
  22. package/src/aider/interactive.js +334 -0
  23. package/src/aider/mcp-packs.js +98 -0
  24. package/src/aider/patch.js +214 -0
  25. package/src/aider/plans.js +186 -0
  26. package/src/aider/premium.js +360 -0
  27. package/src/aider/setup.js +404 -0
  28. package/src/aider/techniques.js +1323 -0
  29. package/src/analyze.js +821 -0
  30. package/src/audit.js +1003 -0
  31. package/src/badge.js +13 -0
  32. package/src/benchmark.js +339 -0
  33. package/src/claudex-sync.json +7 -0
  34. package/src/codex/activity.js +324 -0
  35. package/src/codex/config-parser.js +183 -0
  36. package/src/codex/context.js +221 -0
  37. package/src/codex/deep-review.js +493 -0
  38. package/src/codex/domain-packs.js +372 -0
  39. package/src/codex/freshness.js +167 -0
  40. package/src/codex/governance.js +192 -0
  41. package/src/codex/interactive.js +618 -0
  42. package/src/codex/mcp-packs.js +660 -0
  43. package/src/codex/patch.js +209 -0
  44. package/src/codex/plans.js +251 -0
  45. package/src/codex/premium.js +614 -0
  46. package/src/codex/setup.js +603 -0
  47. package/src/codex/techniques.js +2649 -0
  48. package/src/context.js +272 -0
  49. package/src/copilot/activity.js +309 -0
  50. package/src/copilot/config-parser.js +226 -0
  51. package/src/copilot/context.js +197 -0
  52. package/src/copilot/deep-review.js +346 -0
  53. package/src/copilot/domain-packs.js +350 -0
  54. package/src/copilot/freshness.js +197 -0
  55. package/src/copilot/governance.js +222 -0
  56. package/src/copilot/interactive.js +406 -0
  57. package/src/copilot/mcp-packs.js +572 -0
  58. package/src/copilot/patch.js +238 -0
  59. package/src/copilot/plans.js +253 -0
  60. package/src/copilot/premium.js +450 -0
  61. package/src/copilot/setup.js +488 -0
  62. package/src/copilot/techniques.js +1822 -0
  63. package/src/cursor/activity.js +301 -0
  64. package/src/cursor/config-parser.js +265 -0
  65. package/src/cursor/context.js +236 -0
  66. package/src/cursor/deep-review.js +334 -0
  67. package/src/cursor/domain-packs.js +346 -0
  68. package/src/cursor/freshness.js +214 -0
  69. package/src/cursor/governance.js +229 -0
  70. package/src/cursor/interactive.js +391 -0
  71. package/src/cursor/mcp-packs.js +571 -0
  72. package/src/cursor/patch.js +243 -0
  73. package/src/cursor/plans.js +254 -0
  74. package/src/cursor/premium.js +468 -0
  75. package/src/cursor/setup.js +488 -0
  76. package/src/cursor/techniques.js +1786 -0
  77. package/src/deep-review.js +345 -0
  78. package/src/domain-packs.js +364 -0
  79. package/src/formatters/sarif.js +115 -0
  80. package/src/gemini/activity.js +402 -0
  81. package/src/gemini/config-parser.js +275 -0
  82. package/src/gemini/context.js +221 -0
  83. package/src/gemini/deep-review.js +559 -0
  84. package/src/gemini/domain-packs.js +371 -0
  85. package/src/gemini/freshness.js +204 -0
  86. package/src/gemini/governance.js +201 -0
  87. package/src/gemini/interactive.js +860 -0
  88. package/src/gemini/mcp-packs.js +658 -0
  89. package/src/gemini/patch.js +229 -0
  90. package/src/gemini/plans.js +269 -0
  91. package/src/gemini/premium.js +759 -0
  92. package/src/gemini/setup.js +692 -0
  93. package/src/gemini/techniques.js +2084 -0
  94. package/src/governance.js +523 -0
  95. package/src/harmony/advisor.js +383 -0
  96. package/src/harmony/audit.js +303 -0
  97. package/src/harmony/canon.js +444 -0
  98. package/src/harmony/cli.js +331 -0
  99. package/src/harmony/drift.js +401 -0
  100. package/src/harmony/governance.js +313 -0
  101. package/src/harmony/memory.js +238 -0
  102. package/src/harmony/sync.js +458 -0
  103. package/src/harmony/watch.js +336 -0
  104. package/src/index.js +256 -0
  105. package/src/insights.js +119 -0
  106. package/src/interactive.js +118 -0
  107. package/src/mcp-packs.js +597 -0
  108. package/src/opencode/activity.js +286 -0
  109. package/src/opencode/config-parser.js +109 -0
  110. package/src/opencode/context.js +247 -0
  111. package/src/opencode/deep-review.js +313 -0
  112. package/src/opencode/domain-packs.js +240 -0
  113. package/src/opencode/freshness.js +158 -0
  114. package/src/opencode/governance.js +159 -0
  115. package/src/opencode/interactive.js +392 -0
  116. package/src/opencode/mcp-packs.js +474 -0
  117. package/src/opencode/patch.js +184 -0
  118. package/src/opencode/plans.js +231 -0
  119. package/src/opencode/premium.js +413 -0
  120. package/src/opencode/setup.js +449 -0
  121. package/src/opencode/techniques.js +1713 -0
  122. package/src/plans.js +655 -0
  123. package/src/secret-patterns.js +30 -0
  124. package/src/setup.js +1274 -0
  125. package/src/synergy/adaptive.js +261 -0
  126. package/src/synergy/compensation.js +156 -0
  127. package/src/synergy/evidence.js +193 -0
  128. package/src/synergy/learning.js +184 -0
  129. package/src/synergy/patterns.js +227 -0
  130. package/src/synergy/ranking.js +83 -0
  131. package/src/synergy/report.js +163 -0
  132. package/src/synergy/routing.js +152 -0
  133. package/src/techniques.js +1354 -0
  134. package/src/watch.js +229 -0
  135. package/src/windsurf/activity.js +302 -0
  136. package/src/windsurf/config-parser.js +267 -0
  137. package/src/windsurf/context.js +249 -0
  138. package/src/windsurf/deep-review.js +337 -0
  139. package/src/windsurf/domain-packs.js +348 -0
  140. package/src/windsurf/freshness.js +215 -0
  141. package/src/windsurf/governance.js +231 -0
  142. package/src/windsurf/interactive.js +388 -0
  143. package/src/windsurf/mcp-packs.js +535 -0
  144. package/src/windsurf/patch.js +231 -0
  145. package/src/windsurf/plans.js +247 -0
  146. package/src/windsurf/premium.js +467 -0
  147. package/src/windsurf/setup.js +471 -0
  148. package/src/windsurf/techniques.js +1758 -0
@@ -0,0 +1,91 @@
1
+ # Case Study: [Project Name]
2
+
3
+ ## Overview
4
+
5
+ | Field | Value |
6
+ |-------|-------|
7
+ | Project | [name] |
8
+ | Repo type | [e.g., backend API, frontend SPA, monorepo, data pipeline] |
9
+ | Team size | [e.g., solo, 3 developers, 15-person team] |
10
+ | Prior Claude setup | [none / basic CLAUDE.md / mature .claude/ config] |
11
+ | Claudex Setup version | [e.g., 1.9.0] |
12
+ | Date | [YYYY-MM-DD] |
13
+
14
+ ## Before State
15
+
16
+ **Audit score:** [X/100]
17
+ **Organic score:** [X/100]
18
+
19
+ What existed before running claudex-setup:
20
+ - [ ] CLAUDE.md
21
+ - [ ] .claude/settings.json
22
+ - [ ] Custom commands
23
+ - [ ] Rules
24
+ - [ ] Hooks
25
+ - [ ] Agents
26
+ - [ ] MCP servers
27
+
28
+ Key observations:
29
+ - [What was good already]
30
+ - [What was missing]
31
+ - [What was risky or misconfigured]
32
+
33
+ ## What We Did
34
+
35
+ **Mode used:** [discover / starter / augment / plan+apply / suggest-only]
36
+
37
+ **Steps:**
38
+ 1. Ran `npx claudex-setup discover` to understand current state
39
+ 2. [Next step]
40
+ 3. [Next step]
41
+
42
+ **Domain pack matched:** [e.g., backend-api]
43
+ **MCP packs recommended:** [e.g., context7-docs, postgres-mcp]
44
+
45
+ ## Changes Applied
46
+
47
+ | Change | Type | Risk | Applied? |
48
+ |--------|------|------|----------|
49
+ | [e.g., Created CLAUDE.md with architecture] | new file | low | yes |
50
+ | [e.g., Added hooks for auto-lint] | new config | medium | yes |
51
+ | [e.g., Added permission deny rules] | security | low | yes |
52
+
53
+ **Strengths preserved:**
54
+ - [What we explicitly kept unchanged]
55
+
56
+ ## After State
57
+
58
+ **Audit score:** [X/100] (was [X/100])
59
+ **Organic score:** [X/100] (was [X/100])
60
+ **Score improvement:** +[X] points
61
+
62
+ ## Measured Impact
63
+
64
+ | Metric | Before | After | Change |
65
+ |--------|--------|-------|--------|
66
+ | Audit score | X | X | +X |
67
+ | Checks passing | X/84 | X/84 | +X |
68
+ | Time to first productive session | Xm | Xm | -Xm |
69
+ | [Other metric] | | | |
70
+
71
+ ## What Worked Well
72
+
73
+ - [Specific thing that added clear value]
74
+ - [Another]
75
+
76
+ ## What Could Be Better
77
+
78
+ - [Specific improvement suggestion for the tool]
79
+ - [Another]
80
+
81
+ ## Verdict
82
+
83
+ **Would recommend:** [Yes / Yes with caveats / Not yet]
84
+
85
+ **Best for:** [Who should try this based on our experience]
86
+
87
+ **One-line summary:** [e.g., "Took our Claude setup from basic to production-ready in 15 minutes with zero breakage."]
88
+
89
+ ---
90
+
91
+ *Generated with claudex-setup v[version]. Case study template from CLAUDEX.*
@@ -0,0 +1,37 @@
1
+ # Claims Governance
2
+
3
+ Use this checklist before publishing product-facing claims about Claudex Setup.
4
+
5
+ ## Allowed only with evidence
6
+
7
+ - score delta claims
8
+ - organic score delta claims
9
+ - time-to-value claims
10
+ - recommendation acceptance rate claims
11
+ - reduction in manual corrections
12
+ - benchmark outcomes on named repo types
13
+
14
+ ## Evidence standard
15
+
16
+ Every claim should have:
17
+
18
+ - a benchmark run or pilot report
19
+ - the repo type or cohort it applies to
20
+ - the date the evidence was collected
21
+ - the exact metric definition
22
+ - the comparison method (`before/after`, `control/pilot`, or `observed over time`)
23
+
24
+ ## Avoid
25
+
26
+ - universal productivity multipliers
27
+ - unsupported token savings claims
28
+ - “works for every repo” language
29
+ - suspiciously precise numbers without a method section
30
+ - implying quality scores are objective truth rather than framework coverage
31
+
32
+ ## Safer phrasing
33
+
34
+ - "In benchmark mode, this repo improved from 41/100 to 60/100."
35
+ - "Starter-safe artifacts improved readiness on an isolated temp copy."
36
+ - "Suggest-only mode gives mature teams a zero-write review path."
37
+ - "Use governance mode to select permission profiles and inspect shipped hooks."
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: audit-repo
3
+ description: Run claudex-setup on the current repo and summarize the score, top gaps, and next command
4
+ ---
5
+
6
+ Run `npx claudex-setup --json` in the current project directory and summarize the result.
7
+
8
+ Your output should include:
9
+
10
+ 1. The overall score and organic score
11
+ 2. The top 3 next actions from `topNextActions`
12
+ 3. The suggested next command from `suggestedNextCommand`
13
+ 4. A short explanation of what the repo already does well if there are notable strengths
14
+
15
+ Behavior rules:
16
+
17
+ - If the user asks for the shortest version, run `npx claudex-setup --lite`
18
+ - If the user wants deeper no-write analysis, run `npx claudex-setup augment --json`
19
+ - If the score is below 50, explicitly recommend `npx claudex-setup setup`
20
+ - Never apply changes automatically from this skill
@@ -0,0 +1,60 @@
1
+ # Using claudex-setup from inside Claude Code
2
+
3
+ ## Skill: Audit Repo
4
+
5
+ Add this to `.claude/skills/audit-repo.md` in any project:
6
+
7
+ ```markdown
8
+ ---
9
+ name: audit-repo
10
+ description: Run claudex-setup audit on the current project and show score + top gaps
11
+ ---
12
+
13
+ Run `npx claudex-setup --json` on the current project directory.
14
+ Parse the JSON output and present:
15
+ 1. Score X/100
16
+ 2. Top 3 critical/high gaps with fix descriptions
17
+ 3. Suggest next command based on score
18
+
19
+ $ARGUMENTS — optional: --lite for quick scan
20
+ ```
21
+
22
+ ## Hook: Auto-audit on SessionStart
23
+
24
+ Add to `.claude/settings.json`:
25
+
26
+ ```json
27
+ {
28
+ "hooks": {
29
+ "SessionStart": [
30
+ {
31
+ "type": "command",
32
+ "command": "node -e \"try{const r=require('child_process').execSync('npx claudex-setup --json 2>/dev/null',{timeout:15000}).toString();const d=JSON.parse(r);if(d.score<50)console.log(JSON.stringify({systemMessage:'⚠️ Claude Code setup score: '+d.score+'/100. Consider running: npx claudex-setup --lite'}))}catch(e){console.log('{}')}\"",
33
+ "timeout": 20,
34
+ "statusMessage": "Checking Claude Code setup..."
35
+ }
36
+ ]
37
+ }
38
+ }
39
+ ```
40
+
41
+ ## Agent: Setup Advisor
42
+
43
+ Add to `.claude/agents/setup-advisor.md`:
44
+
45
+ ```markdown
46
+ ---
47
+ name: setup-advisor
48
+ description: Analyzes Claude Code setup and recommends improvements
49
+ tools: [Bash, Read, Glob, Grep]
50
+ model: haiku
51
+ maxTurns: 10
52
+ ---
53
+
54
+ You are a Claude Code setup advisor.
55
+
56
+ 1. Run `npx claudex-setup augment --json` on the current project
57
+ 2. Analyze gaps and strengths
58
+ 3. Recommend top 5 improvements with rationale
59
+ 4. If user approves, guide them through applying changes
60
+ ```
@@ -0,0 +1,9 @@
1
+ {
2
+ "article": {
3
+ "title": "Your Claude Code project scores 10/100. Here's how to fix it in 60 seconds.",
4
+ "published": false,
5
+ "tags": ["claude", "ai", "productivity", "devtools"],
6
+ "series": "Claude Code Optimization",
7
+ "body_markdown": "After cataloging **1,107 Claude Code entries** and verifying **948 with real evidence**, I found that most projects use barely 10% of what's available.\n\nI built a CLI that scores your project:\n\n```bash\nnpx claudex-setup\n```\n\nMost projects score **10-20 out of 100**. After running setup, they jump to **70+**.\n\n## The Top 10 Things You're Missing\n\n### 1. CLAUDE.md (Critical)\n\nClaude reads this file at the start of every session. Without it, Claude doesn't know your build commands, code style, or project rules.\n\nOur tool generates a smart CLAUDE.md that detects your framework, TypeScript config, and creates a Mermaid architecture diagram automatically.\n\n### 2. Mermaid Architecture Diagrams (73% Token Savings)\n\nA Mermaid diagram in CLAUDE.md gives Claude your project structure in a fraction of the tokens that prose requires.\n\n### 3. Hooks > CLAUDE.md Rules (100% vs 80%)\n\nCLAUDE.md instructions are advisory (~80% compliance). Hooks are deterministic (100%). Auto-lint after every edit. Every time.\n\n### 4. Custom Commands\n\nStop typing the same prompts. Create `/test`, `/deploy`, `/review` in `.claude/commands/`.\n\n### 5. Verification Loops (The #1 Best Practice)\n\n> *This is the single highest-leverage thing you can do.* — Anthropic Best Practices\n\nClaude performs dramatically better when it can verify its own work.\n\n### 6. XML Tags (30% Quality Boost)\n\nUse `<constraints>`, `<validation>` in CLAUDE.md for unambiguous instructions.\n\n### 7. Secrets Protection\n\nClaude Code loads `.env` automatically. Add deny rules to prevent reading sensitive files.\n\n### 8. /security-review\n\nBuilt-in OWASP Top 10 scanning. Most people don't know this command exists.\n\n### 9. Custom Agents\n\nSpecialized subagents: security-reviewer, test-writer in `.claude/agents/`.\n\n### 10. Skills (On-Demand Knowledge)\n\nReusable skills package expertise that Claude can load on demand.\n\n## Try It Now\n\n```bash\nnpx claudex-setup --lite # Quick scan\nnpx claudex-setup # Full audit\nnpx claudex-setup --snapshot # Save evidence artifact\nnpx claudex-setup governance --out governance.md\n```\n\nFree, open source, zero dependencies.\n\n**GitHub:** [github.com/DnaFin/claudex-setup](https://github.com/DnaFin/claudex-setup)\n**npm:** [npmjs.com/package/claudex-setup](https://www.npmjs.com/package/claudex-setup)\n\n---\n\n*Built from a research catalog of 1,107 Claude Code entries, 948 verified with evidence.*"
8
+ }
9
+ }
@@ -0,0 +1,226 @@
1
+ # Launch Posts — Proof-Backed Distribution Assets
2
+
3
+ **Status:** Complete — every asset below is anchored in measured proof, a canonical artifact, or a verified runtime surface
4
+ **Date:** 2026-04-03
5
+
6
+ ## Shared Proof Anchors
7
+
8
+ Use these links as the canonical sources behind public claims:
9
+
10
+ - Proof artifact index: https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
11
+ - CLAUDEX self-dogfood trace: https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/claudex-self-dogfood-proof-trace-2026-04-03.md
12
+ - VTCLE case study: https://github.com/DnaFin/claudex/blob/main/research/case-study-vtcle-2026-04-03.md
13
+ - Social case study: https://github.com/DnaFin/claudex/blob/main/research/case-study-social-2026-04-03.md
14
+ - Polymiro case study: https://github.com/DnaFin/claudex/blob/main/research/case-study-polymiro-2026-04-03.md
15
+ - Public proof metrics source: https://github.com/DnaFin/claudex/blob/main/research/claudex-proof-metrics-source-2026-04-03.md
16
+
17
+ Measured-result boundary to preserve:
18
+
19
+ - before/after scores were measured with `claudex-setup@1.10.3` on `2026-04-03`
20
+ - current npm latest is `1.16.1`
21
+ - current product surface is `85 checks`
22
+
23
+ ## Post 1: Reddit r/ClaudeAI
24
+
25
+ **Title:** I built a CLI that audits your Claude Code setup — 85 checks, measured on 4 real repos
26
+
27
+ **Body:**
28
+ I built a zero-dependency CLI that audits how well a repo is set up for Claude Code.
29
+
30
+ It checks `85` things across `CLAUDE.md`, hooks, commands, agents, skills, MCP config, permissions, diagrams, and verification loops.
31
+
32
+ Measured on `2026-04-03` with `claudex-setup@1.10.3`:
33
+ - CLAUDEX: `62 -> 90`
34
+ - VTCLE: `46 -> 64`
35
+ - Social: `40 -> 48`
36
+ - Polymiro: `35 -> 48`
37
+
38
+ ```bash
39
+ npx claudex-setup
40
+ ```
41
+
42
+ It starts trust-first:
43
+ - audit first
44
+ - plan / suggest-only before writes
45
+ - apply only what you approve
46
+ - rollback artifacts for every applied batch
47
+
48
+ Zero dependencies. No API keys. Runs local.
49
+
50
+ GitHub: https://github.com/DnaFin/claudex-setup
51
+
52
+ Proof and case studies:
53
+ - https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
54
+ - https://github.com/DnaFin/claudex/blob/main/research/case-study-vtcle-2026-04-03.md
55
+ - https://github.com/DnaFin/claudex/blob/main/research/case-study-social-2026-04-03.md
56
+ - https://github.com/DnaFin/claudex/blob/main/research/case-study-polymiro-2026-04-03.md
57
+
58
+ Would love feedback on what checks or rollout surfaces are still missing.
59
+
60
+ **Evidence anchor:** proof artifact index + 3 external case studies + current proof source
61
+
62
+ ---
63
+
64
+ ## Post 2: Reddit r/ChatGPTCoding
65
+
66
+ **Title:** Most Claude Code repos are missing the safety layer, not the model
67
+
68
+ **Body:**
69
+ The interesting problem with Claude Code is not "can it write code?".
70
+ It's "is the repo actually set up so Claude can work safely and predictably?".
71
+
72
+ I built `claudex-setup` to audit that surface:
73
+ - `85` checks
74
+ - zero dependencies
75
+ - local-only by default
76
+ - trust-first flow: audit -> plan -> apply -> rollback
77
+
78
+ Measured on 4 real repos:
79
+ - FastAPI repo: `46 -> 64`
80
+ - React Native repo: `40 -> 48`
81
+ - Python/Docker repo: `35 -> 48`
82
+ - research engine repo: `62 -> 90`
83
+
84
+ ```bash
85
+ npx claudex-setup
86
+ ```
87
+
88
+ The most common misses were not exotic:
89
+ - no deny rules
90
+ - no secrets protection
91
+ - no mermaid architecture
92
+ - no hooks registered in settings
93
+
94
+ Proof:
95
+ https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
96
+
97
+ **Evidence anchor:** measured before/after traces + common gap summary from public proof set
98
+
99
+ ---
100
+
101
+ ## Post 3: Dev.to Article
102
+
103
+ **Title:** What 4 Real Repos Taught Me About Claude Code Readiness
104
+
105
+ **Body (excerpt):**
106
+ I tested `claudex-setup` on 4 real repos and the pattern was clear:
107
+
108
+ - the best teams still miss permission deny rules
109
+ - mature repos often have hooks in files but not actually registered
110
+ - non-standard settings formats are a real adoption trap
111
+ - shared `settings.json` matters more than personal local overrides
112
+
113
+ Measured on `2026-04-03` with `claudex-setup@1.10.3`:
114
+ - CLAUDEX: `62 -> 90`
115
+ - VTCLE: `46 -> 64`
116
+ - Social: `40 -> 48`
117
+ - Polymiro: `35 -> 48`
118
+
119
+ The product today is strongest as:
120
+
121
+ `audit -> plan -> safe apply -> governance -> benchmark`
122
+
123
+ Not a code generator. Not an MCP installer. A trust layer for Claude Code repos.
124
+
125
+ Proof packet:
126
+ https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
127
+
128
+ **Evidence anchor:** proof artifact index + case-study docs + current proof source
129
+
130
+ ---
131
+
132
+ ## Post 4: Twitter/X Thread
133
+
134
+ **Tweet 1:**
135
+ I built a zero-dependency CLI that audits Claude Code readiness across `85` checks.
136
+
137
+ Measured on 4 real repos:
138
+ - `62 -> 90`
139
+ - `46 -> 64`
140
+ - `40 -> 48`
141
+ - `35 -> 48`
142
+
143
+ `npx claudex-setup`
144
+
145
+ Proof: github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
146
+
147
+ **Tweet 2:**
148
+ The most common misses were boring and important:
149
+ - no deny rules
150
+ - no secrets protection
151
+ - no mermaid diagram
152
+ - no hooks registered in settings
153
+
154
+ It is much more "trust layer" than "AI magic".
155
+
156
+ **Tweet 3:**
157
+ What it does well today:
158
+ - audit first
159
+ - suggest / plan before writes
160
+ - apply selectively
161
+ - emit rollback artifacts
162
+ - benchmark on isolated copy
163
+
164
+ **Tweet 4:**
165
+ Best result so far:
166
+ - CLAUDEX self-dogfood: `62 -> 90`
167
+
168
+ Best external proof:
169
+ - VTCLE: `46 -> 64`
170
+
171
+ Case studies:
172
+ - github.com/DnaFin/claudex/blob/main/research/case-study-vtcle-2026-04-03.md
173
+ - github.com/DnaFin/claudex/blob/main/research/case-study-social-2026-04-03.md
174
+ - github.com/DnaFin/claudex/blob/main/research/case-study-polymiro-2026-04-03.md
175
+
176
+ **Tweet 5:**
177
+ Measured results were captured on `claudex-setup@1.10.3` on `2026-04-03`.
178
+ Current npm latest is `1.16.1`, so exact scores can move slightly, but the proof packet is explicit about that boundary.
179
+
180
+ **Evidence anchor:** proof artifact index + per-repo traces
181
+
182
+ ---
183
+
184
+ ## Post 5: Hacker News (Show HN)
185
+
186
+ **Title:** Show HN: claudex-setup — audit Claude Code readiness with 85 checks
187
+
188
+ **Body:**
189
+ I built a CLI that audits how well a repo is set up for Claude Code.
190
+
191
+ This is not a code-quality linter and not an MCP installer.
192
+ It focuses on Claude workflow quality:
193
+ - `CLAUDE.md`
194
+ - hooks
195
+ - commands
196
+ - agents
197
+ - skills
198
+ - MCP config
199
+ - permissions / deny rules
200
+ - diagrams
201
+ - verification loops
202
+
203
+ Core workflow:
204
+ - `npx claudex-setup`
205
+ - `npx claudex-setup suggest-only`
206
+ - `npx claudex-setup plan`
207
+ - `npx claudex-setup apply`
208
+ - `npx claudex-setup benchmark`
209
+
210
+ Measured on 4 real repos on `2026-04-03` with `claudex-setup@1.10.3`:
211
+ - CLAUDEX: `62 -> 90`
212
+ - VTCLE: `46 -> 64`
213
+ - Social: `40 -> 48`
214
+ - Polymiro: `35 -> 48`
215
+
216
+ Trust decisions that mattered:
217
+ - zero dependencies
218
+ - audit before write
219
+ - rollback artifacts
220
+ - cross-platform Node hooks
221
+ - explicit proof packets instead of vague claims
222
+
223
+ Proof packet:
224
+ https://github.com/DnaFin/claudex/blob/main/research/proof-artifacts/README.md
225
+
226
+ **Evidence anchor:** proof artifact index + current npm proof source
@@ -0,0 +1,30 @@
1
+ # Pilot Rollout Kit
2
+
3
+ ## Suggested pilot shape
4
+
5
+ 1. Choose 1-2 repos with active owners and low blast radius.
6
+ 2. Run `discover`, `suggest-only`, and `governance` before any write flow.
7
+ 3. Pick one permission profile and document why it fits the pilot.
8
+ 4. Run `benchmark` to capture a baseline and expected value.
9
+ 5. Use `plan` and selective `apply` for the first write batch.
10
+
11
+ ## Approval checklist
12
+
13
+ - Engineering owner approves scope.
14
+ - Security owner approves permission profile and hooks.
15
+ - Pilot owner records success metrics.
16
+ - Rollback expectations are documented before apply.
17
+
18
+ ## Success metrics
19
+
20
+ - readiness score delta
21
+ - organic score delta
22
+ - number of proposal bundles accepted
23
+ - rollback-free apply rate
24
+ - time to first useful Claude workflow
25
+
26
+ ## Rollback expectations
27
+
28
+ - every apply run must produce a rollback artifact
29
+ - rejected starter artifacts are deleted using the rollback manifest
30
+ - rollback decisions are logged in the activity trail
@@ -0,0 +1,31 @@
1
+ # claudex-setup Release Checklist
2
+
3
+ Use this before tagging or publishing a release.
4
+
5
+ ## Code And Packaging
6
+
7
+ - bump `package.json` version intentionally
8
+ - update `CHANGELOG.md` with the shipped changes
9
+ - run `npm test`
10
+ - run `npm pack --dry-run`
11
+
12
+ ## Product Surface Consistency
13
+
14
+ - verify `README.md` reflects the current CLI surface
15
+ - verify `docs/index.html` reflects the current CLI surface
16
+ - verify new flags and commands appear in `--help`
17
+ - verify proof numbers and public claims match the current state
18
+
19
+ ## Trust And Governance
20
+
21
+ - run `npx claudex-setup --snapshot` on the repo itself
22
+ - run `npx claudex-setup governance --out governance.md`
23
+ - verify MCP package names and env preflight behavior for changed packs
24
+ - verify no recommendation regressions on known scenarios
25
+
26
+ ## Release Readiness
27
+
28
+ - confirm npm publish target and account are correct
29
+ - confirm git branch / commit matches the intended release
30
+ - confirm any new templates or content files are included in the package
31
+ - capture one final note about what changed and what still remains intentionally deferred
package/package.json CHANGED
@@ -1,8 +1,57 @@
1
1
  {
2
2
  "name": "@nerviq/cli",
3
- "version": "0.0.1",
4
- "description": "The intelligent nervous system for AI coding agents — audit, align, amplify",
5
- "keywords": ["ai", "agent", "governance", "harmony", "audit", "nerviq"],
3
+ "version": "0.9.0-beta.1",
4
+ "description": "The intelligent nervous system for AI coding agents — audit, align, and amplify every platform on every project.",
5
+ "main": "src/index.js",
6
+ "bin": {
7
+ "nerviq": "bin/cli.js"
8
+ },
9
+ "files": [
10
+ "bin",
11
+ "content",
12
+ "src",
13
+ "README.md",
14
+ "CHANGELOG.md"
15
+ ],
16
+ "scripts": {
17
+ "start": "node bin/cli.js",
18
+ "build": "npm pack --dry-run",
19
+ "test": "node test/run.js",
20
+ "test:jest": "jest",
21
+ "test:coverage": "jest --coverage",
22
+ "test:all": "node test/run.js && node test/check-matrix.js && node test/codex-check-matrix.js && node test/golden-matrix.js && node test/codex-golden-matrix.js && node test/security-tests.js && jest"
23
+ },
24
+ "keywords": [
25
+ "nerviq",
26
+ "ai-agents",
27
+ "agent-governance",
28
+ "agent-config",
29
+ "harmony",
30
+ "synergy",
31
+ "audit",
32
+ "claude",
33
+ "codex",
34
+ "gemini",
35
+ "copilot",
36
+ "cursor",
37
+ "windsurf",
38
+ "aider",
39
+ "developer-tools",
40
+ "cli",
41
+ "mcp",
42
+ "multi-agent"
43
+ ],
44
+ "author": "Nerviq <hello@nerviq.net>",
6
45
  "license": "AGPL-3.0",
7
- "repository": "https://github.com/nerviq/nerviq"
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/nerviq/nerviq.git"
49
+ },
50
+ "homepage": "https://nerviq.net",
51
+ "engines": {
52
+ "node": ">=18.0.0"
53
+ },
54
+ "devDependencies": {
55
+ "jest": "^30.3.0"
56
+ }
8
57
  }