knowzcode 0.1.0 → 0.2.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 (59) hide show
  1. package/.claude-plugin/marketplace.json +6 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +132 -73
  4. package/agents/analyst.md +24 -62
  5. package/agents/architect.md +34 -43
  6. package/agents/builder.md +35 -86
  7. package/agents/closer.md +29 -87
  8. package/agents/context-scout.md +54 -0
  9. package/agents/knowledge-migrator.md +7 -7
  10. package/agents/knowz-scout.md +83 -0
  11. package/agents/knowz-scribe.md +155 -0
  12. package/agents/microfix-specialist.md +1 -6
  13. package/agents/reviewer.md +43 -91
  14. package/agents/update-coordinator.md +7 -18
  15. package/bin/knowzcode.mjs +94 -7
  16. package/commands/audit.md +156 -25
  17. package/commands/connect-mcp.md +525 -507
  18. package/commands/fix.md +8 -8
  19. package/commands/init.md +9 -5
  20. package/commands/learn.md +327 -308
  21. package/commands/plan.md +160 -26
  22. package/commands/register.md +21 -12
  23. package/commands/status.md +309 -291
  24. package/commands/telemetry.md +188 -188
  25. package/commands/work.md +577 -114
  26. package/knowzcode/automation_manifest.md +59 -59
  27. package/knowzcode/claude_code_execution.md +228 -22
  28. package/knowzcode/enterprise/compliance_manifest.md +2 -0
  29. package/knowzcode/knowzcode_loop.md +111 -45
  30. package/knowzcode/knowzcode_project.md +48 -233
  31. package/knowzcode/knowzcode_vaults.md +183 -54
  32. package/knowzcode/mcp_config.md +72 -47
  33. package/knowzcode/platform_adapters.md +43 -4
  34. package/knowzcode/prompts/Execute_Micro_Fix.md +57 -57
  35. package/knowzcode/prompts/Investigate_Codebase.md +227 -227
  36. package/knowzcode/prompts/Migrate_Knowledge.md +301 -301
  37. package/knowzcode/prompts/Refactor_Node.md +72 -72
  38. package/knowzcode/prompts/Spec_Verification_Checkpoint.md +59 -59
  39. package/knowzcode/prompts/[LOOP_1A]__Propose_Change_Set.md +52 -52
  40. package/knowzcode/prompts/[LOOP_1B]__Draft_Specs.md +75 -75
  41. package/knowzcode/prompts/[LOOP_2A]__Implement_Change_Set.md +55 -55
  42. package/knowzcode/prompts/[LOOP_2B]__Verify_Implementation.md +72 -72
  43. package/knowzcode/prompts/[LOOP_3]__Finalize_And_Commit.md +67 -67
  44. package/package.json +1 -1
  45. package/skills/alias-resolver.json +1 -1
  46. package/skills/architecture-diff.json +1 -1
  47. package/skills/check-installation-status.json +1 -1
  48. package/skills/continue.md +24 -4
  49. package/skills/environment-guard.json +1 -1
  50. package/skills/generate-workgroup-id.json +1 -1
  51. package/skills/install-knowzcode.json +1 -1
  52. package/skills/load-core-context.json +1 -1
  53. package/skills/log-entry-builder.json +1 -1
  54. package/skills/spec-quality-check.json +1 -1
  55. package/skills/spec-template.json +1 -1
  56. package/skills/spec-validator.json +1 -1
  57. package/skills/tracker-scan.json +1 -1
  58. package/skills/tracker-update.json +1 -1
  59. package/skills/validate-installation.json +1 -1
package/commands/fix.md CHANGED
@@ -95,13 +95,13 @@ REPEAT until all checks pass:
95
95
 
96
96
  ## Execution
97
97
 
98
- Delegate to the **microfix-specialist** agent via `Task()`. Pass the target file/NodeID and fix summary.
99
-
100
- The agent validates scope, implements the minimal fix, runs the verification loop, logs the outcome, and commits.
98
+ Delegate to the **microfix-specialist** agent via `Task()` with these parameters:
99
+ - `subagent_type`: `"microfix-specialist"`
100
+ - `prompt`: Task-specific context only (role definition is auto-loaded from `agents/microfix-specialist.md`):
101
+ > **Target**: {target file or NodeID}
102
+ > **Fix summary**: {summary}
103
+ > Validate scope, implement the minimal fix, run the verification loop, log the outcome, and commit.
104
+ - `description`: `"Micro-fix: {summary}"`
105
+ - `mode`: `"bypassPermissions"`
101
106
 
102
107
  > **Note:** Micro-fixes use subagent delegation only. Agent Teams overhead is not justified for single-file, <50 line fixes.
103
-
104
- ## Context Files
105
-
106
- - knowzcode/automation_manifest.md
107
- - knowzcode/prompts/Execute_Micro_Fix.md
package/commands/init.md CHANGED
@@ -8,7 +8,7 @@ You are the **KnowzCode Initialization Agent**. Set up the KnowzCode framework i
8
8
 
9
9
  ## What KnowzCode Provides
10
10
 
11
- KnowzCode is an AI-powered development methodology that provides:
11
+ KnowzCode is a structured development methodology that provides:
12
12
  - **Structured TDD workflow** with quality gates
13
13
  - **Specification-driven development** with living documentation
14
14
  - **Comprehensive tracking** of WorkGroups and specifications
@@ -133,13 +133,17 @@ giving you richer multi-agent coordination.
133
133
  Without it, KnowzCode uses subagent delegation (works fine, just less interactive)."
134
134
 
135
135
  Options:
136
- - Yes (recommended)
136
+ - Yes, for this project only (recommended)
137
+ - Yes, for all projects (writes to ~/.claude/settings.json)
137
138
  - No (use subagent fallback)
138
139
  ```
139
140
 
140
- **Step 7.5b: If yes, create/update `.claude/settings.local.json`**
141
+ **Step 7.5b: If yes, create/update the appropriate settings file**
141
142
 
142
- Read `.claude/settings.local.json` if it exists. Merge the Agent Teams env var into it:
143
+ - **"This project only"** → write to `.claude/settings.local.json` (project-level, gitignored)
144
+ - **"All projects"** → write to `~/.claude/settings.json` (home-level global config)
145
+
146
+ Read the target settings file if it exists. Merge the Agent Teams env var into it:
143
147
 
144
148
  ```json
145
149
  {
@@ -162,7 +166,7 @@ This works correctly — no action needed.
162
166
 
163
167
  **Step 7.5d: If no, proceed normally** — subagent delegation works without any configuration.
164
168
 
165
- ### 8. Optional: Set up enterprise compliance
169
+ ### 8. Optional: Set up enterprise compliance (experimental)
166
170
 
167
171
  - Ask: "Would you like to set up enterprise compliance features? (optional)"
168
172
  - If yes: create `knowzcode/enterprise/` directory with manifest and templates