@nolrm/contextkit 0.12.14 → 0.12.15

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 CHANGED
@@ -288,8 +288,6 @@ Hooks are optional and can be skipped with `ck install --no-hooks`.
288
288
  - ⚡ **Zero Config** - Auto-detects project type and package manager
289
289
  - ✅ **Policy Enforcement** - Configurable validation with `ck check`
290
290
  - 📝 **Corrections Tracking** - Track AI performance issues with corrections log
291
- - 🔄 **Workflow Orchestration** - Structured workflows with `ck run`
292
- - 📦 **Registry System** - Share standards across teams with `ck publish/pull`
293
291
  - 📊 **Observability Dashboard** - Visual metrics and compliance tracking
294
292
 
295
293
  ## Commands
@@ -322,23 +320,14 @@ ck check --strict # treat warnings as errors
322
320
  ck note "message" # add note to corrections log
323
321
  ck note "AI issue" --category "AI Behavior" --priority HIGH
324
322
 
325
- # Workflow Orchestration
326
- ck run <workflow> # run structured workflow
327
- ck run create-component # example workflow
328
- ck run create-component --interactive # interactive mode
329
-
330
- # Registry & Versioning
331
- ck publish --name @company/react-standards --version 1.0.0
332
- ck pull @company/react-standards@1.0.0
333
- ck pull @company/react-standards@latest --backup
323
+ # Squad — multi-role AI pipeline (slash commands in your AI tool)
324
+ /squad "add dark mode" # PO writes spec
325
+ /squad-auto # runs architect → dev → test → review hands-free
326
+ /squad-reset # clear stuck or mixed squad state
334
327
 
335
328
  # Observability
336
329
  ck dashboard # start web dashboard
337
330
  ck dashboard --no-server # CLI metrics only
338
-
339
- # AI Usage (loads .contextkit context automatically)
340
- ck "create a button" # quick AI chat with context
341
- ck ai "create a button" # explicit AI command
342
331
  ```
343
332
 
344
333
  ## Links
@@ -728,6 +728,10 @@ Any design decisions, trade-offs, or open questions to resolve before coding.
728
728
  `${this.repoUrl}/commands/squad-auto-parallel.md`,
729
729
  '.contextkit/commands/squad-auto-parallel.md'
730
730
  );
731
+ await this.downloadManager.downloadFile(
732
+ `${this.repoUrl}/commands/squad-reset.md`,
733
+ '.contextkit/commands/squad-reset.md'
734
+ );
731
735
 
732
736
  // Download hooks (pre-push and commit-msg only, no pre-commit)
733
737
  await this.downloadManager.downloadFile(
@@ -55,6 +55,9 @@ class UpdateCommand {
55
55
  // Download latest files
56
56
  await this.downloadFiles(projectType);
57
57
 
58
+ // Remove files that were removed from CK
59
+ await this.removeLegacyFiles();
60
+
58
61
  // Restore user configuration
59
62
  await this.restoreUserConfig(config);
60
63
 
@@ -282,6 +285,10 @@ class UpdateCommand {
282
285
  `${this.repoUrl}/commands/squad-auto-parallel.md`,
283
286
  '.contextkit/commands/squad-auto-parallel.md'
284
287
  );
288
+ await this.downloadManager.downloadFile(
289
+ `${this.repoUrl}/commands/squad-reset.md`,
290
+ '.contextkit/commands/squad-reset.md'
291
+ );
285
292
 
286
293
  // Download hooks (pre-push and commit-msg only, no pre-commit)
287
294
  await this.downloadManager.downloadFile(
@@ -401,6 +408,17 @@ commands:
401
408
  }
402
409
  }
403
410
 
411
+ async removeLegacyFiles() {
412
+ const legacyFiles = [
413
+ '.contextkit/commands/squad-peer-review.md',
414
+ ];
415
+ for (const file of legacyFiles) {
416
+ if (await fs.pathExists(file)) {
417
+ await fs.remove(file);
418
+ }
419
+ }
420
+ }
421
+
404
422
  async updateConfigVersion(version) {
405
423
  const configContent = await fs.readFile('.contextkit/config.yml', 'utf8');
406
424
  const updatedContent = configContent.replace(
@@ -24,6 +24,7 @@ class ClaudeIntegration extends BaseIntegration {
24
24
  '.claude/commands/squad-review.md',
25
25
  '.claude/commands/squad-auto.md',
26
26
  '.claude/commands/squad-auto-parallel.md',
27
+ '.claude/commands/squad-reset.md',
27
28
  '.claude/commands/spec.md',
28
29
  '.claude/commands/ck.md',
29
30
  ];
@@ -44,6 +45,7 @@ class ClaudeIntegration extends BaseIntegration {
44
45
  '.claude/rules/vibe-kit-testing.md',
45
46
  '.claude/rules/vibe-kit-code-style.md',
46
47
  '.claude/commands/squad-batch.md',
48
+ '.claude/commands/squad-peer-review.md',
47
49
  ];
48
50
  for (const file of legacyFiles) {
49
51
  if (await fs.pathExists(file)) {
@@ -252,6 +254,13 @@ Run after \`/squad\` kickoff. Automatically runs architect → dev → test →
252
254
  Read \`.contextkit/commands/squad-auto-parallel.md\` and execute the parallel pipeline workflow.
253
255
 
254
256
  Spawn one subagent per task per phase using the Task tool, so all tasks progress simultaneously instead of sequentially. Use this after \`/squad\` batch kickoff for faster execution on multi-task batches.
257
+ `);
258
+
259
+ await this.writeGeneratedFile('.claude/commands/squad-reset.md', `# Squad — Reset
260
+
261
+ Read \`.contextkit/commands/squad-reset.md\` and execute the reset workflow.
262
+
263
+ Delete the current squad state (.contextkit/squad/) so you can start fresh. Use when the squad folder is in a mixed or stuck state.
255
264
  `);
256
265
 
257
266
  await this.writeGeneratedFile('.claude/commands/ck.md', `# ContextKit Health Check
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nolrm/contextkit",
3
- "version": "0.12.14",
3
+ "version": "0.12.15",
4
4
  "description": "ContextKit - Context Engineering for AI Development. Provide rich context to AI through structured MD files with standards, code guides, and documentation. Works with Cursor, Claude, Aider, VS Code Copilot, and more.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {