codymaster 4.6.0 โ†’ 5.2.0

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 (161) hide show
  1. package/CHANGELOG.md +74 -8
  2. package/README.md +192 -95
  3. package/dist/advisory-handoff.js +89 -0
  4. package/dist/advisory-report.js +105 -0
  5. package/dist/browse-server.js +251 -0
  6. package/dist/cli/command-registry.js +34 -0
  7. package/dist/cli/commands/agent.js +120 -0
  8. package/dist/cli/commands/bench.js +69 -0
  9. package/dist/cli/commands/brain.js +108 -0
  10. package/dist/cli/commands/dashboard.js +93 -0
  11. package/dist/cli/commands/design-studio.js +111 -0
  12. package/dist/cli/commands/distro.js +25 -0
  13. package/dist/cli/commands/engineering.js +596 -0
  14. package/dist/cli/commands/evolve.js +123 -0
  15. package/dist/cli/commands/mcp-serve.js +104 -0
  16. package/dist/cli/commands/project.js +324 -0
  17. package/dist/cli/commands/skill-chain.js +269 -0
  18. package/dist/cli/commands/system.js +89 -0
  19. package/dist/cli/commands/task.js +254 -0
  20. package/dist/cli/update-check.js +83 -0
  21. package/dist/cm-config.js +92 -0
  22. package/dist/cm-suggest.js +77 -0
  23. package/dist/codybench/judges/automated.js +31 -0
  24. package/dist/codybench/runners/claude-code.js +32 -0
  25. package/dist/codybench/suites/memory-retention.js +85 -0
  26. package/dist/codybench/suites/tdd-regression.js +35 -0
  27. package/dist/codybench/suites/token-efficiency.js +55 -0
  28. package/dist/codybench/types.js +2 -0
  29. package/dist/context-db.js +157 -0
  30. package/dist/continuity.js +2 -6
  31. package/dist/distro-validate.js +54 -0
  32. package/dist/execution-analyzer.js +138 -0
  33. package/dist/guardian-core.js +74 -0
  34. package/dist/index.js +36 -2759
  35. package/dist/indexer/skills-lib.js +533 -0
  36. package/dist/indexer/skills-map.js +1374 -0
  37. package/dist/indexer/skills.js +16 -0
  38. package/dist/learning-promoter.js +246 -0
  39. package/dist/mcp-context-server.js +289 -1
  40. package/dist/mcp-skills-tools.js +81 -0
  41. package/dist/retro-summary.js +70 -0
  42. package/dist/second-opinion-providers.js +79 -0
  43. package/dist/skill-chain.js +63 -1
  44. package/dist/skill-evolver.js +456 -0
  45. package/dist/skill-execution-cache.js +254 -0
  46. package/dist/smart-brain-router.js +184 -0
  47. package/dist/sprint-pipeline.js +228 -0
  48. package/dist/storage-backend.js +14 -67
  49. package/dist/token-budget.js +88 -0
  50. package/dist/utils/cli-utils.js +76 -0
  51. package/dist/utils/skill-utils.js +32 -0
  52. package/package.json +17 -7
  53. package/scripts/build-skills.mjs +51 -0
  54. package/scripts/gate-0-repo-hygiene.js +75 -0
  55. package/scripts/postinstall.js +34 -28
  56. package/scripts/security-scan.js +1 -1
  57. package/scripts/validate-skills.mjs +42 -0
  58. package/skills/CLAUDE.md +2 -7
  59. package/skills/_shared/helpers.md +2 -8
  60. package/skills/cm-ads-tracker/SKILL.md +3 -6
  61. package/skills/cm-browse/SKILL.md +34 -0
  62. package/skills/cm-conductor-worktrees/SKILL.md +28 -0
  63. package/skills/cm-content-factory/SKILL.md +1 -1
  64. package/skills/cm-content-factory/landing/docs/content/changelog.md +36 -0
  65. package/skills/cm-content-factory/landing/docs/content/deployment.md +46 -0
  66. package/skills/cm-content-factory/landing/docs/content/execution-flow.md +67 -0
  67. package/skills/cm-content-factory/landing/docs/content/memory-system.md +38 -0
  68. package/skills/cm-content-factory/landing/docs/content/openspace.md +27 -0
  69. package/skills/cm-content-factory/landing/docs/content/use-cases.md +26 -0
  70. package/skills/cm-content-factory/landing/docs/content/v5-intro.md +28 -0
  71. package/skills/cm-content-factory/landing/docs/index.html +240 -0
  72. package/skills/cm-content-factory/landing/index.html +100 -100
  73. package/skills/cm-content-factory/landing/script.js +42 -0
  74. package/skills/cm-content-factory/landing/translations.js +400 -400
  75. package/skills/cm-continuity/SKILL.md +32 -33
  76. package/skills/cm-design-studio/SKILL.md +34 -0
  77. package/skills/cm-ecosystem-roadmap/SKILL.md +15 -0
  78. package/skills/cm-engineering-meta/SKILL.md +73 -0
  79. package/skills/cm-growth-hacking/SKILL.md +1 -12
  80. package/skills/cm-guardian-runtime/SKILL.md +26 -0
  81. package/skills/cm-mcp-engineering/SKILL.md +22 -0
  82. package/skills/cm-notebooklm/SKILL.md +1 -17
  83. package/skills/cm-post-deploy-canary/SKILL.md +22 -0
  84. package/skills/cm-project-bootstrap/SKILL.md +11 -0
  85. package/skills/cm-qa-visual-cli/SKILL.md +22 -0
  86. package/skills/cm-retro-cli/SKILL.md +23 -0
  87. package/skills/cm-second-opinion-cli/SKILL.md +23 -0
  88. package/skills/cm-secret-shield/SKILL.md +2 -2
  89. package/skills/cm-security-gate/SKILL.md +1 -0
  90. package/skills/cm-skill-chain/SKILL.md +25 -4
  91. package/skills/cm-skill-evolution/SKILL.md +83 -0
  92. package/skills/cm-skill-health/SKILL.md +83 -0
  93. package/skills/cm-skill-index/SKILL.md +11 -3
  94. package/skills/cm-skill-search/SKILL.md +49 -0
  95. package/skills/cm-skill-share/SKILL.md +58 -0
  96. package/skills/cm-sprint-bus/SKILL.md +33 -0
  97. package/skills/cm-start/SKILL.md +0 -10
  98. package/skills/cm-tdd/SKILL.md +59 -72
  99. package/skills/profiles/README.md +21 -0
  100. package/skills/profiles/core.txt +23 -0
  101. package/skills/profiles/design.txt +6 -0
  102. package/skills/profiles/full.txt +62 -0
  103. package/skills/profiles/growth.txt +10 -0
  104. package/skills/profiles/knowledge.txt +7 -0
  105. package/install.sh +0 -901
  106. package/scripts/test-gemini.js +0 -13
  107. package/skills/cm-frappe-agent/SKILL.md +0 -134
  108. package/skills/cm-frappe-agent/agents/doctype-architect.md +0 -596
  109. package/skills/cm-frappe-agent/agents/erpnext-customizer.md +0 -643
  110. package/skills/cm-frappe-agent/agents/frappe-backend.md +0 -814
  111. package/skills/cm-frappe-agent/agents/frappe-custom-frontend.md +0 -557
  112. package/skills/cm-frappe-agent/agents/frappe-debugger.md +0 -625
  113. package/skills/cm-frappe-agent/agents/frappe-fixer.md +0 -275
  114. package/skills/cm-frappe-agent/agents/frappe-frontend.md +0 -660
  115. package/skills/cm-frappe-agent/agents/frappe-installer.md +0 -158
  116. package/skills/cm-frappe-agent/agents/frappe-performance.md +0 -307
  117. package/skills/cm-frappe-agent/agents/frappe-planner.md +0 -419
  118. package/skills/cm-frappe-agent/agents/frappe-remote-ops.md +0 -153
  119. package/skills/cm-frappe-agent/agents/github-workflow.md +0 -286
  120. package/skills/cm-frappe-agent/commands/frappe-app.md +0 -351
  121. package/skills/cm-frappe-agent/commands/frappe-backend.md +0 -162
  122. package/skills/cm-frappe-agent/commands/frappe-bench.md +0 -254
  123. package/skills/cm-frappe-agent/commands/frappe-debug.md +0 -263
  124. package/skills/cm-frappe-agent/commands/frappe-doctype-create.md +0 -272
  125. package/skills/cm-frappe-agent/commands/frappe-doctype-field.md +0 -310
  126. package/skills/cm-frappe-agent/commands/frappe-erpnext.md +0 -210
  127. package/skills/cm-frappe-agent/commands/frappe-fix.md +0 -59
  128. package/skills/cm-frappe-agent/commands/frappe-frontend.md +0 -210
  129. package/skills/cm-frappe-agent/commands/frappe-fullstack.md +0 -243
  130. package/skills/cm-frappe-agent/commands/frappe-github.md +0 -57
  131. package/skills/cm-frappe-agent/commands/frappe-install.md +0 -52
  132. package/skills/cm-frappe-agent/commands/frappe-plan.md +0 -442
  133. package/skills/cm-frappe-agent/commands/frappe-remote.md +0 -58
  134. package/skills/cm-frappe-agent/commands/frappe-test.md +0 -356
  135. package/skills/cm-frappe-agent/docs/README.md +0 -51
  136. package/skills/cm-frappe-agent/docs/agents-catalog.md +0 -113
  137. package/skills/cm-frappe-agent/docs/architecture.md +0 -149
  138. package/skills/cm-frappe-agent/docs/commands-catalog.md +0 -82
  139. package/skills/cm-frappe-agent/docs/resources-catalog.md +0 -66
  140. package/skills/cm-frappe-agent/docs/sitemap-urls.txt +0 -52
  141. package/skills/cm-frappe-agent/docs/sitemap.md +0 -81
  142. package/skills/cm-frappe-agent/docs/sop/user-guide.md +0 -178
  143. package/skills/cm-frappe-agent/docs/sop/vibe-coding-guide.md +0 -122
  144. package/skills/cm-frappe-agent/resources/7-layer-architecture.md +0 -985
  145. package/skills/cm-frappe-agent/resources/bench_commands.md +0 -73
  146. package/skills/cm-frappe-agent/resources/code-patterns-guide.md +0 -948
  147. package/skills/cm-frappe-agent/resources/common_pitfalls.md +0 -266
  148. package/skills/cm-frappe-agent/resources/doctype-registry.md +0 -158
  149. package/skills/cm-frappe-agent/resources/installation-guide.md +0 -289
  150. package/skills/cm-frappe-agent/resources/rest-api-patterns.md +0 -182
  151. package/skills/cm-frappe-agent/resources/scaffold_checklist.md +0 -82
  152. package/skills/cm-frappe-agent/resources/upgrade_patterns.md +0 -113
  153. package/skills/cm-frappe-agent/resources/web-form-patterns.md +0 -252
  154. package/skills/cm-frappe-agent/skills/bench-commands/SKILL.md +0 -621
  155. package/skills/cm-frappe-agent/skills/client-scripts/SKILL.md +0 -642
  156. package/skills/cm-frappe-agent/skills/doctype-patterns/SKILL.md +0 -576
  157. package/skills/cm-frappe-agent/skills/frappe-api/SKILL.md +0 -740
  158. package/skills/cm-frappe-agent/skills/remote-operations/SKILL.md +0 -47
  159. package/skills/cm-frappe-agent/skills/server-scripts/SKILL.md +0 -608
  160. package/skills/cm-frappe-agent/skills/web-forms/SKILL.md +0 -46
  161. package/skills/frappe-app-builder.zip +0 -0
package/CHANGELOG.md CHANGED
@@ -4,12 +4,80 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes** | ๐Ÿ”’ **Security**
6
6
 
7
+ ## [Unreleased]
8
+
9
+ ### ๐Ÿš€ Improvements โ€” Zero-Token Skill Discovery
10
+ - Removed LLM token waste on skill search by porting deterministic tech-stack parsing natively into `src/indexer/skills.ts`.
11
+ - Introduced `cm index skills` CLI command to compile `.cm/project-skills.md` locally.
12
+ - Updated Fission framework (`cm-project-bootstrap`, `cm-skill-index`, `AGENTS.md`) to prioritize zero-token local indexes over massive community directory sweeps.
13
+
14
+ ### ๐Ÿš€ Improvements โ€” CodyMaster v6.0 "Self-Evolving Brain"
15
+
16
+ - **Smart Brain Router** โ€” `src/smart-brain-router.ts` adds a zero-cost keyword-based classifier that dynamically selects the optimal memory tiers for incoming tasks, reducing token waste by up to 60-80% for simple tasks.
17
+ - **Skill Execution Cache** โ€” `src/skill-execution-cache.ts` introduces an FTS5-backed warm cache for successful execution chains (effectiveness >= 0.70), skipping BM25 and LLM selection entirely for recurring task patterns.
18
+ - **Per-Tier Adaptive Token Budgeting** โ€” Enhanced `src/token-budget.ts` controls budgets natively per memory tier and visually outputs budget and savings reports.
19
+ - **Evolution Engine (Skill Evolver)** โ€” `src/skill-evolver.ts` brings true autonomy. CodyMaster now auto-repairs and auto-generates `SKILL.md` files locally with three modes: `FIX` (adds warnings to broken skills), `DERIVED` (clones highly successful fallback paths), and `CAPTURED` (creates new skills completely autonomously when a task completes without predefined skills). Ships with anti-loop protection and automatic `.md` backups.
20
+ - **Learning Promoter** โ€” `src/learning-promoter.ts` scans working memory for recurring failures or patterns (reinforced >= 3 times) and automatically promotes them into permanent `cm-learned-*` skills.
21
+ - **New CLI Tools** โ€” `cm smart plan/tiers`, `cm token report/savings`, and a full `cm evolve` lifecycle toolkit (`status`, `run`, `history`, `rollback`, `candidates`, `promote`).
22
+ - **Comprehensive Testing** โ€” Extensively covered the new architectures with 62 new testing scenarios (system currently sits at 302 passed tests natively).
23
+
24
+ ### ๐Ÿš€ Improvements โ€” OpenViking De-scope
25
+
26
+ - Removed OpenViking auto-installation from `install.sh` and `scripts/postinstall.js`; CodyMaster now keeps the normal install path focused on the supported Node-first stack.
27
+ - Updated runtime/config/docs guidance so `storage.backend: viking` is treated as a deprecated experimental path instead of a default-facing feature.
28
+ - Removed the remaining OpenViking runtime backend, demo script, and dedicated tests; legacy `storage.backend: viking` configs now warn and fall back to SQLite.
29
+
30
+ ### ๐Ÿš€ Improvements โ€” Advisory Loop Productization
31
+
32
+ - Added `cm advisory report`, `cm advisory metrics`, and `cm advisory handoff` so operators can inspect execution analyses, review per-skill quality, and generate structured recovery notes for `cm-skill-health` / `cm-skill-evolution`.
33
+ - `selectTopSkills()` now uses recorded `skill_metrics` as a quality-weighted boost for optional step ranking, while mandatory `always` steps remain unchanged.
34
+ - Added `src/advisory-handoff.ts` as the shared contract between analyzer output and self-healing workflows; the handoff can be emitted as Markdown or JSON.
35
+ - Exposed the advisory loop to MCP clients via `cm_advisory_report`, `cm_advisory_metrics`, and `cm_advisory_handoff` in `src/mcp-context-server.ts`.
36
+ - Added workflow and API docs for the advisory loop under `docs/workflows/advisory-loop.md` and `docs/api/api-reference.md`.
37
+
38
+ ## [5.1.0] - 2026-04-11
39
+
40
+ ### ๐Ÿš€ Improvements โ€” SkillsBench Intelligence + Ecosystem Reach
41
+
42
+ - **Intelligent Skill Selection (`selectTopSkills`)** โ€” `src/skill-chain.ts` now applies SkillsBench research findings at runtime. Each chain execution dynamically selects the top-3 most relevant skills for the current task (scored by BM25 token overlap + mandatory-step priority bonus). Result: 2-3 focused skills โ†’ **+18.6pp** improvement vs 4+ loaded statically (+5.9pp). Chains with >3 mandatory steps still execute fully with a performance advisory logged to stderr. New exported functions: `scoreStepRelevance()`, `selectTopSkills()`.
43
+
44
+ - **`cm mcp-serve` command** โ€” New `src/cli/commands/mcp-serve.ts` registers `cm mcp-serve [--project <path>] [--print-config]`. Spawns `dist/mcp-context-server.js` over stdio with SIGINT/SIGTERM forwarding. `--print-config` prints ready-to-paste JSON config for **Goose** and **Claude Desktop**, enabling one-command ecosystem integration. Goose extension config: `{ "type": "stdio", "cmd": "npx", "args": ["codymaster", "mcp-serve"] }`.
45
+
46
+ - **CodyBench v0.1** โ€” New `cm bench` command backed by `src/codybench/` scaffolding. Three eval suites with A/B comparison (with vs without CodyMaster): `tdd-regression` (bug catch rate), `token-efficiency` (savings vs documented 78% claim), `memory-retention` (SQLite recall hit rate). Runner: `claude-code`. Judge: automated (mean/min/max/stddev). Results written to `codybench/reports/`. Methodology mirrors Goose's transparent benchmark publication strategy.
47
+
48
+ - **NLI Memory Interface (`cm_memory_write` + `cm_natural`)** โ€” MCP server now exposes **15 tools** (up from 13). `cm_memory_write` persists a learning to SQLite with auto-detected category (arch_decision / bug_fix / user_pref / code_pattern / context), configurable scope (session/project/global), TTL, and importance. `cm_natural` is a natural language router: "remember thatโ€ฆ" โ†’ write, "forget aboutโ€ฆ" โ†’ decay, "what did we learn aboutโ€ฆ" โ†’ FTS5 query. Zero new npm dependencies; pattern matching via regex.
49
+
50
+ - **Goose integration guide** โ€” `docs/integrations/goose.md` โ€” step-by-step tutorial: install CodyMaster โ†’ `cm mcp-serve --print-config` โ†’ paste YAML config into Goose โ†’ test with `cm_natural`. Tool reference table included.
51
+
52
+ - **GitHub community templates** โ€” `.github/ISSUE_TEMPLATE/` now includes `good-first-skill.md` (with SkillsBench 12-point quality checklist), `benchmark-needed.md` (CodyBench eval request), `skill-improvement.md` (rubric-based improvement proposal).
53
+
54
+ - **Version bump** โ€” `package.json` version: `5.0.0` โ†’ `5.1.0`. CLI command count: 18 โ†’ 20 (`mcp-serve`, `bench`). MCP tool count: 13 โ†’ 15.
55
+
56
+ ## [4.8.0] - 2026-04-10
57
+
58
+ ### ๐Ÿš€ Improvements โ€” Documentation site & README accuracy
59
+
60
+ - **VitePress documentation** โ€” Rebuilt `docs/` as a browsable site with sidebar IA (Getting Started, Architecture, Operations, Skills Library, API, Resources). Config: `docs/.vitepress/config.mts`. Local preview: `npm run docs:dev`; production build: `npm run docs:build`.
61
+ - **Skills index** โ€” Documented all **56** bundled `skills/cm-*/SKILL.md` packs with category pages under `docs/skills/`.
62
+ - **API hub** โ€” Added `docs/api/api-reference.md` (CLI + dashboard + browse daemon + MCP tools) aligned to `src/mcp-context-server.ts` (**13** MCP tools).
63
+ - **README refresh (all languages)** โ€” Version badges bumped to **4.8.0**; broken `docs/` links replaced; CLI examples updated to match `src/cli/command-registry.ts` (no fictional `cm continuity` / `cm list` commands). License callouts aligned to **ISC** (`package.json`).
64
+ - **npm scripts** โ€” `docs:dev`, `docs:build`, `docs:preview` for maintainers.
65
+
66
+ ## [4.7.0] - 2026-04-02
67
+
68
+ ### ๐Ÿš€ Improvements โ€” Zero-Touch Installation & Advanced Pipeline
69
+
70
+ - **Zero-Touch CLI Installation** โ€” `install.sh` and `scripts/postinstall.js` overhauled to automatically activate the `cm` CLI. The script supports `--auto` for non-interactive `npm install -g codymaster`, while NPM seamlessly executes `npm link` or global install.
71
+ - **OpenViking Core Feature** โ€” Integrated OpenViking installation via `pip/pip3` natively into the installation process. Both `bash install.sh --all` and `npm i codymaster` will now automatically set up the OpenViking daemon, unlocking true semantic vector graph memory out-of-the-box.
72
+ - **Skill Chain Auto-Dispatch** โ€” Inspired by OpenSpace orchestrations, `cm-skill-chain` received a massive upgrade. Re-introduced the missing `auto` command enabling intelligent task detection, auto-selection of tools, and 100% automated handoffs between multi-agent sequences without human intervention.
73
+ - **Systematic Auto-healing** โ€” Enhancements to `postinstall.js` for automatic fallbacks across different OS privileges and execution environments.
74
+
7
75
  ## [4.6.0] - 2026-04-02
8
76
 
9
77
  ### ๐Ÿš€ Improvements โ€” OpenViking Backend (Real Implementation)
10
78
 
11
- - **`VikingBackend` โ€” real implementation** โ€” `src/backends/viking-backend.ts` implements all 11 `StorageBackend` methods by calling the [OpenViking REST API](https://github.com/volcengine/OpenViking) (default: `http://localhost:1933`). Replaces the placeholder stub from v4.5.5.
12
- - **`VikingHttpClient`** โ€” New `src/backends/viking-http-client.ts`: thin fetch-based HTTP client wrapping OpenViking's `/write`, `/read`, `/ls`, `/search`, `/abstract`, `/overview`, `/health`, `/mkdir` endpoints. Zero new npm dependencies (uses Node.js built-in `fetch`).
79
+ - `**VikingBackend` โ€” real implementation** โ€” `src/backends/viking-backend.ts` implements all 11 `StorageBackend` methods by calling the [OpenViking REST API](https://github.com/volcengine/OpenViking) (default: `http://localhost:1933`). Replaces the placeholder stub from v4.5.5.
80
+ - `**VikingHttpClient`** โ€” New `src/backends/viking-http-client.ts`: thin fetch-based HTTP client wrapping OpenViking's `/write`, `/read`, `/ls`, `/search`, `/abstract`, `/overview`, `/health`, `/mkdir` endpoints. Zero new npm dependencies (uses Node.js built-in `fetch`).
13
81
  - **URI layout in OpenViking workspace:** `learnings/<id>.json`, `decisions/<id>.json`, `indexes/<resource>/<level>.md`, `skill-outputs/<sessionId>/<id>.json`.
14
82
  - **Semantic vector search** โ€” `queryLearnings()` and `queryDecisions()` now call OpenViking's `/search` endpoint, which uses embedding-based vector similarity. Finds related memories even when query terms don't match exactly (e.g. "async timeout" matches "network latency spike").
15
83
  - **Auto L0/L1 via engine** โ€” `getL0Abstract()` and `getL1Overview()` call OpenViking's `/abstract` and `/overview` endpoints. No manual `cm continuity index` needed with Viking backend.
@@ -23,10 +91,10 @@ Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes** | ๐Ÿ”’ **Security**
23
91
 
24
92
  ### ๐Ÿš€ Improvements โ€” StorageBackend Interface (OpenViking Swap Path)
25
93
 
26
- - **`StorageBackend` interface** โ€” New `src/storage-backend.ts` defines an 11-method abstraction over CodyMaster's persistent memory store. Swapping storage engines is now a config change, not a code rewrite.
27
- - **`SqliteBackend`** โ€” Thin wrapper around `context-db.ts`. Zero logic duplication; all existing callers untouched. New callers use `getBackend(projectPath)` for polymorphism.
28
- - **`VikingBackend` stub** โ€” All methods throw a descriptive `NotImplementedError` with step-by-step install instructions for `@openviking/client`. Explicit swap path documented.
29
- - **`getBackend(projectPath)` factory** โ€” Reads `.cm/config.yaml โ†’ storage.backend` (`sqlite` | `viking`). Defaults to `sqlite` when config is absent or malformed.
94
+ - `**StorageBackend` interface** โ€” New `src/storage-backend.ts` defines an 11-method abstraction over CodyMaster's persistent memory store. Swapping storage engines is now a config change, not a code rewrite.
95
+ - `**SqliteBackend`** โ€” Thin wrapper around `context-db.ts`. Zero logic duplication; all existing callers untouched. New callers use `getBackend(projectPath)` for polymorphism.
96
+ - `**VikingBackend` stub** โ€” All methods throw a descriptive `NotImplementedError` with step-by-step install instructions for `@openviking/client`. Explicit swap path documented.
97
+ - `**getBackend(projectPath)` factory** โ€” Reads `.cm/config.yaml โ†’ storage.backend` (`sqlite` | `viking`). Defaults to `sqlite` when config is absent or malformed.
30
98
  - **Config template updated** โ€” `cm continuity init` now writes a `storage:` section to `.cm/config.yaml` with the backend switch commented out.
31
99
  - **Zero breaking changes** โ€” `context-db.ts` and all existing callers unchanged. StorageBackend is additive.
32
100
  - **Test suite expanded** โ€” `test/storage-backend.test.ts` (23 tests): factory defaults, config-driven dispatch, SqliteBackend full roundtrip, VikingBackend error messages. Total: **178 passed ยท 16 skipped ยท 0 failed**.
@@ -74,7 +142,6 @@ Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes** | ๐Ÿ”’ **Security**
74
142
  - `cm-skill-evolution` โ€” 3-mode evolution engine (FIX/DERIVED/CAPTURED) with version DAG and lineage tracking. Auto-patches degraded skills.
75
143
  - `cm-skill-search` โ€” BM25 + health-score ranking for intelligent skill discovery.
76
144
  - `cm-skill-share` โ€” Export/import skills across teams and machines with version integrity.
77
- - **๐Ÿข cm-frappe-agent** โ€” Full-stack Frappe/ERPNext development agent with 7-layer architecture: doctypes, workflows, REST APIs, permissions, fixtures, performance optimization, and production deploys.
78
145
  - **๐Ÿš€ Growth Hacking Engine** โ€” `cm-growth-hacking` generates complete conversion systems (Bottom Sheet + Calendar CTA + Tracking) with industry auto-detection.
79
146
  - **cm-auto-publisher** โ€” Publishing automation bridge: AI agents โ†’ Content Factory Router โ†’ any Astro site.
80
147
  - **cm-clean-code** โ€” TRIZ-powered code hygiene gate: dead code detection, duplicate elimination, naming analysis.
@@ -89,7 +156,6 @@ Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes** | ๐Ÿ”’ **Security**
89
156
  - **OpenSpec Protocol Upgrade** โ€” Enhanced integration with Fission-AI OpenSpec format (`openspec/changes/[initiative]/proposal.md`) for seamless context handoffs to downstream skills (`cm-planning` & `cm-execution`).
90
157
  - **Skill Evolution Engine** โ€” Successfully executed automated self-healing mechanisms (Mode: FIX) for `cm-tdd` and `cm-debugging` after health monitor alerts.
91
158
 
92
-
93
159
  ## [4.3.0] - 2026-03-27
94
160
 
95
161
  ### ๐Ÿš€ Improvements
package/README.md CHANGED
@@ -1,22 +1,10 @@
1
- <div align="center">
2
-
3
1
  [English](README.md) | [Tiแบฟng Viแป‡t](README-vi.md) | [ไธญๆ–‡](README-zh.md) | [ะ ัƒััะบะธะน](README-ru.md) | [ํ•œ๊ตญ์–ด](README-ko.md) | [เคนเคฟเคจเฅเคฆเฅ€](README-hi.md)
4
2
 
5
3
  # ๐Ÿง  CodyMaster
6
4
 
7
5
  ### Your AI Agent is smart. CodyMaster makes it *wise*.
8
6
 
9
- **68+ Skills ยท 18 Commands ยท 1 Plugin ยท 7+ Platforms ยท 6 Languages**
10
-
11
- <p align="center">
12
- <img alt="Version" src="https://img.shields.io/badge/version-4.6.0-blue.svg?cacheSeconds=2592000" />
13
- <img alt="Skills" src="https://img.shields.io/badge/skills-68+-success.svg" />
14
- <img alt="Platforms" src="https://img.shields.io/badge/platforms-7+-orange.svg" />
15
- <img alt="Open Source" src="https://img.shields.io/badge/license-MIT-purple.svg" />
16
- <a href="https://github.com/tody-agent/codymaster#readme" target="_blank">
17
- <img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
18
- </a>
19
- </p>
7
+ **60+ Skills ยท 20+ Commands ยท 1 Plugin ยท 8+ Platforms ยท 6 Languages ยท v6.0.0**
20
8
 
21
9
  ```
22
10
  ( . \ --- / . )
@@ -28,11 +16,11 @@
28
16
  Your smart coding companion.
29
17
  ```
30
18
 
31
- ![CodyMaster Kanban Dashboard](assets/images/dashboard.png)
19
+ CodyMaster Kanban Dashboard
32
20
 
33
- ### ๐ŸŒŸ If CodyMaster saves you time, give it a [Star](https://github.com/tody-agent/codymaster)! ๐ŸŒŸ
21
+ [![Discord](https://img.shields.io/badge/Discord-Join-7289da?logo=discord&logoColor=white)](https://discord.gg/codymaster)
34
22
 
35
- </div>
23
+ ### ๐ŸŒŸ If CodyMaster saves you time, give it a [Star](https://github.com/tody-agent/codymaster)! ๐ŸŒŸ
36
24
 
37
25
  ---
38
26
 
@@ -42,14 +30,16 @@ You installed an AI coding agent. It's *brilliant*. It writes code faster than a
42
30
 
43
31
  But then reality hits:
44
32
 
45
- | ๐Ÿ˜ค What Actually Happens | ๐Ÿ’€ The Real Cost |
46
- | ----------------------------------------------------------------------------------- | ---------------------------------------------- |
33
+
34
+ | ๐Ÿ˜ค What Actually Happens | ๐Ÿ’€ The Real Cost |
35
+ | ---------------------------------------------------------------------------- | ---------------------------------------------- |
47
36
  | AI designs**differently every single time** โ€” same brand, 3 different styles | Clients think you're 3 different companies |
48
- | AI fixes one bug,**silently breaks 5 other things** | You redo the same work 3-4 times |
49
- | AI**forgets everything** between sessions | You re-explain the same codebase every morning |
50
- | AI writes zero tests, zero docs | Your codebase becomes a house of cards |
37
+ | AI fixes one bug,**silently breaks 5 other things** | You redo the same work 3-4 times |
38
+ | AI**forgets everything** between sessions | You re-explain the same codebase every morning |
39
+ | AI writes zero tests, zero docs | Your codebase becomes a house of cards |
51
40
  | You install 15 different skills โ€”**none of them talk to each other** | Frankenstein toolkit with zero synergy |
52
- | Deploy to production =**deploy and pray** ๐Ÿ™ | Broken deploys at 2 AM, no rollback |
41
+ | Deploy to production =**deploy and pray** ๐Ÿ™ | Broken deploys at 2 AM, no rollback |
42
+
53
43
 
54
44
  > *"AI gave me 100 hands. But without discipline, those hands created chaos."*
55
45
  > โ€” **Tody Le**, Head of Product ยท 10+ years ยท Creator of CodyMaster
@@ -71,12 +61,14 @@ graph TD
71
61
  A --> E["๐Ÿ”’ DevOps Engineer<br/><i>cm-safe-deploy ยท cm-secret-shield ยท cm-security-gate ยท cm-identity-guard</i>"]
72
62
  A --> F["๐Ÿ“ Technical Writer<br/><i>cm-dockit ยท cm-content-factory ยท cm-auto-publisher</i>"]
73
63
  A --> G["๐Ÿ“ˆ Growth Marketer<br/><i>cm-ads-tracker ยท cm-cro-methodology ยท cm-growth-hacking</i>"]
74
- A --> H["๐Ÿญ Enterprise Dev<br/><i>cm-frappe-agent ยท cm-booking-calendar ยท cm-google-form</i>"]
64
+ A --> H["๐Ÿญ Enterprise Dev<br/><i>cm-booking-calendar ยท cm-google-form</i>"]
75
65
  style A fill:#fbc531,stroke:#e1b12c,color:#2f3640,stroke-width:3px
76
66
  classDef team fill:#2f3640,stroke:#dcdde1,stroke-width:1px,color:#fff;
77
67
  class B,C,D,E,F,G,H team;
78
68
  ```
79
69
 
70
+
71
+
80
72
  ---
81
73
 
82
74
  ## โšก What Makes CodyMaster Different
@@ -105,6 +97,8 @@ graph LR
105
97
  class A,B,C,D,E,F,G,H,I,J,K,L phase;
106
98
  ```
107
99
 
100
+
101
+
108
102
  ### ๐Ÿง  The Unified Brain: 5-Tier Memory + Smart Spine
109
103
 
110
104
  Your AI doesn't just execute โ€” it **understands and remembers** using a multi-scale, 5-Tier + Smart Spine architecture that persists across sessions and machines:
@@ -116,18 +110,21 @@ Your AI doesn't just execute โ€” it **understands and remembers** using a multi-
116
110
  5. **Structural Memory (`cm-codeintell`)** โ€” AST-based CodeGraph. Up to 95% token compression for full codebase context.
117
111
 
118
112
  ๐Ÿฆด **Smart Spine (v4.6+)** โ€” The nervous system connecting all 5 tiers:
113
+
119
114
  - **SQLite + FTS5** โ€” BM25-ranked keyword search replaces flat JSON scans.
120
- - **Progressive Loading (L0/L1/L2)** โ€” Context loaded at cheapest sufficient depth. 78% token savings.
115
+ - **Progressive Loading (L0/L1/L2)** & **Smart Brain Router** โ€” Context loaded at cheapest sufficient depth via a robust task classifier. Up to **80% token savings** on standard workflows.
116
+ - **Skill Execution Cache** โ€” Warm FTS5 cache tracks successful agent skill chains. Matches bypass token-heavy LLM decision loops for instant task resolution.
121
117
  - **cm:// URI Scheme** โ€” Skills request context by URI, not file paths.
122
118
  - **Token Budget** โ€” 200k window pre-allocated by category. No more silent overflow.
123
119
  - **Context Bus** โ€” Skills share outputs in real-time within a chain.
124
- - **MCP Server** โ€” 7 tools exposed to Claude Desktop and any MCP client.
125
- - **OpenViking Backend (optional)** โ€” Swap SQLite for [OpenViking](https://github.com/volcengine/OpenViking): true vector semantic search, auto L0/L1/L2 generation, session compression. One config line: `storage.backend: viking`.
120
+ - **MCP Server** โ€” 18 tools exposed to Claude Desktop, Goose, and any MCP client (`src/mcp-context-server.ts`). Includes memory tools (`cm_memory_write`, `cm_natural`) plus advisory JSON surfaces (`cm_advisory_report`, `cm_advisory_metrics`, `cm_advisory_handoff`).
121
+ - **Intelligent Skill Selection** โ€” `selectTopSkills()` dynamically picks the 2-3 most task-relevant skills per chain execution. Backed by SkillsBench research: 2-3 focused skills = **+18.6pp** vs 4+ loaded statically.
122
+ - **SQLite-first memory stack** โ€” CodyMaster ships a supported default path built on SQLite + FTS5, token-budgeted context loading, and optional `qmd` / code intelligence layers. The older OpenViking path has been removed from the runtime.
126
123
 
127
124
  โ˜๏ธ **The Cloud Brain (`cm-notebooklm`)**
128
125
  High-value knowledge and design patterns are synced to NotebookLM, providing a universal, cross-machine "Soul" for your project. Auto-generate podcasts and flashcards to onboard human developers alongside the AI.
129
126
 
130
- ๐Ÿ“– [Read the full Knowledge Architecture โ†’](docs/architecture/knowledge-architecture.md)
127
+ ๐Ÿ“– [CodyMaster Brain & memory model โ†’](docs/architecture/codymaster-brain.md)
131
128
 
132
129
  ### ๐Ÿ›ก๏ธ Multi-Layer Protection (Your Codebase Won't Get Destroyed)
133
130
 
@@ -153,6 +150,8 @@ flowchart LR
153
150
  style G fill:#4cd137,stroke:#44bd32,color:#fff
154
151
  ```
155
152
 
153
+
154
+
156
155
  > **Result:** Zero leaked secrets. Zero wrong-account deploys. Zero "worked on my machine" failures.
157
156
 
158
157
  ### ๐ŸŽจ Design System Builder โ€” Even From Old Products
@@ -161,7 +160,7 @@ Got a legacy product with no design system? **cm-design-system** scans your webs
161
160
 
162
161
  ### ๐Ÿ“ Zero Documentation? No Problem.
163
162
 
164
- Don't know what the old code does? **`cm-dockit`** reads your entire codebase and generates:
163
+ Don't know what the old code does? `**cm-dockit`** reads your entire codebase and generates:
165
164
 
166
165
  - ๐Ÿ“š Technical architecture docs
167
166
  - ๐Ÿ“– User guides & SOPs
@@ -173,50 +172,51 @@ Don't know what the old code does? **`cm-dockit`** reads your entire codebase an
173
172
 
174
173
  ### ๐Ÿ’ก Strategic Brainstorming (Design Thinking + 9 Windows)
175
174
 
176
- Before diving into code for complex requests, **`cm-brainstorm-idea`** evaluates your product using multi-dimensional analysis (Tech, Product, Design, Business). It generates 2-3 qualified options using the 9 Windows (TRIZ) framework and provides a visual UI Preview via **Pencil.dev** or **Google Stitch** to validate the direction before detailed planning.
177
-
178
- ๐Ÿ“– [Read more about the UI Preview Phase โ†’](docs/workflows/brainstorm-ui-preview.md)
175
+ Before diving into code for complex requests, `**cm-brainstorm-idea`** evaluates your product using multi-dimensional analysis (Tech, Product, Design, Business). It generates 2-3 qualified options using the 9 Windows (TRIZ) framework and provides a visual UI Preview via **Pencil.dev** or **Google Stitch** to validate the direction before detailed planning.
179
176
 
177
+ ๐Ÿ“– [TRIZ-parallel workflow & UI preview handoff โ†’](docs/architecture/triz-parallel-engine.md)
180
178
 
181
179
  ### ๐Ÿญ AI Content Factory v2.0 & Visual Dashboard
182
180
 
183
- Need to scale content? **`cm-content-factory`** is a self-learning, multi-agent content engine. It automatically researches, writes, audits (SEO & Persuasion), and deploys high-converting articles with the Content Mastery framework (StoryBrand + Cialdini) to guarantee conversion.
181
+ Need to scale content? `**cm-content-factory`** is a self-learning, multi-agent content engine. It automatically researches, writes, audits (SEO & Persuasion), and deploys high-converting articles with the Content Mastery framework (StoryBrand + Cialdini) to guarantee conversion.
184
182
 
185
183
  Track it all on the **Visual Dashboard** (`cm-dashboard`): No more guessing. Track every task, every agent, every deployment on a real-time Kanban board. Pipeline progress, token tracker, event log โ€” all on one screen.
186
184
 
187
- ### ๐Ÿงฌ Self-Healing AI (Skills That Fix Themselves)
185
+ ### ๐Ÿงฌ Self-Healing Skills (Recovery, Search, and Evolution)
188
186
 
189
- CodyMaster doesn't just run skills โ€” it **watches them, scores them, and heals them automatically.**
187
+ CodyMaster ships a dedicated self-healing skill family for keeping the skill library usable as the repo evolves.
190
188
 
191
- - **`cm-skill-health`** monitors every invocation: success rate, token usage, error patterns.
192
- - **`cm-skill-evolution`** auto-patches degraded skills (Mode: FIX) when health scores drop below threshold.
193
- - **`cm-skill-search`** uses BM25 ranking to find the right skill for any task.
194
- - **`cm-skill-share`** exports & imports skills across teams and machines.
189
+ - `**cm-skill-health`** audits a skill's real health from shipped signals: docs drift, broken references, retro notes, validation, and gates.
190
+ - `**cm-skill-evolution`** (Skill Evolver) completes the autonomy loop with three modes: `FIX`, `DERIVED`, and `CAPTURED`. It modifies, clones, and generates new skills automatically based on analyzer recommendations, paired with anti-loop protection and `.md` backups.
191
+ - `**cm-learning-promoter`** searches your database for recurring task struggles and automatically graduates them into permanently coded skills (`cm-learned-*`) when appropriately reinforced.
192
+ - `**cm advisory report` / `metrics` / `handoff`** turn execution telemetry into a reviewable operator loop before any skill repair begins.
193
+ - Integrated Evolution commands (`cm evolve run/status/promote`) give immediate insight into all mutations.
194
+ - `**cm-skill-chain` Auto-Dispatch** โ€” sequence dispatching remains automated with task detection and multi-step handoffs.
195
+ - `**cm-skill-search`** finds the best skill through `cm suggest`, skill indexes, and repo search.
196
+ - `**cm-skill-share`** packages a skill safely across repos and machines without dropping companion files.
195
197
 
196
- > **Think of it like an immune system for your AI toolkit.** Skills that break get healed. Skills that work well get reinforced. Dead skills get archived.
197
-
198
- ### ๐Ÿข Enterprise-Ready: Frappe/ERPNext Full-Stack
199
-
200
- Building on Frappe Framework? **`cm-frappe-agent`** is a 7-layer architecture agent covering the entire Frappe lifecycle โ€” from `bench new-app` to production deploys. Custom doctypes, workflows, REST APIs, permissions, fixtures, and performance optimization โ€” all battle-tested.
198
+ > **Think of it like an immune system for your AI toolkit.** First inspect the telemetry, then diagnose the skill, then repair it deliberately, then capture the learning.
201
199
 
202
200
  ### ๐Ÿš€ Growth Hacking Engine
203
201
 
204
- Need popups, booking flows, or lead capture? **`cm-growth-hacking`** generates complete conversion systems: Bottom Sheet + Calendar CTA + Tracking. Auto-detects industry, selects the right pattern, wires up **`cm-booking-calendar`** for appointments and **`cm-ads-tracker`** for pixel tracking. Zero dependencies.
202
+ Need popups, booking flows, or lead capture? `**cm-growth-hacking`** generates complete conversion systems: Bottom Sheet + Calendar CTA + Tracking. Auto-detects industry, selects the right pattern, wires up `**cm-booking-calendar`** for appointments and `**cm-ads-tracker**` for pixel tracking. Zero dependencies.
205
203
 
206
204
  ---
207
205
 
208
206
  ## ๐Ÿ†š Scattered Skills vs CodyMaster
209
207
 
210
- | | ๐Ÿ˜ต 15 Random Skills | ๐Ÿง  CodyMaster |
211
- | -------------------------- | ------------------------------------------- | --------------------------------------------------------------------- |
212
- | **Integration** | Each skill is standalone, no shared context | 68+ skills that chain, share memory, and communicate |
213
- | **Lifecycle** | Covers coding only | Covers Idea โ†’ Design โ†’ Code โ†’ Test โ†’ Deploy โ†’ Docs โ†’ Learn |
214
- | **Memory** | Forgets everything between sessions | 5-tier Unified Brain: Sensory โ†’ Working โ†’ Long-term โ†’ Semantic โ†’ Structural + Cloud Brain. Optional **OpenViking** backend for vector search + auto memory compression. |
215
- | **Safety** | YOLO deploys | 4-layer protection: TDD โ†’ Security โ†’ Isolation โ†’ Multi-gate deploy |
216
- | **Design** | Random UI every time | Extracts & enforces design system + visual preview |
217
- | **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
218
- | **Self-improvement** | Static โ€” what you install is what you get | Self-healing: monitors health โ†’ auto-patches โ†’ reinforces winners |
219
- | **Maintenance** | Update 15 repos separately | One `npm i -g codymaster` updates everything |
208
+
209
+ | | ๐Ÿ˜ต 15 Random Skills | ๐Ÿง  CodyMaster |
210
+ | -------------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
211
+ | **Integration** | Each skill is standalone, no shared context | 68+ skills that chain, share memory, and communicate |
212
+ | **Lifecycle** | Covers coding only | Covers Idea โ†’ Design โ†’ Code โ†’ Test โ†’ Deploy โ†’ Docs โ†’ Learn |
213
+ | **Memory** | Forgets everything between sessions | 5-tier Unified Brain: Sensory โ†’ Working โ†’ Long-term โ†’ Semantic โ†’ Structural + Cloud Brain, powered by SQLite + FTS5 by default with optional local semantic layers like `qmd`. |
214
+ | **Safety** | YOLO deploys | 4-layer protection: TDD โ†’ Security โ†’ Isolation โ†’ Multi-gate deploy |
215
+ | **Design** | Random UI every time | Extracts & enforces design system + visual preview |
216
+ | **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
217
+ | **Self-improvement** | Static โ€” what you install is what you get | Advisory-driven self-healing: inspect telemetry โ†’ diagnose โ†’ repair with FIX / DERIVED / CAPTURED |
218
+ | **Maintenance** | Update 15 repos separately | One `npm i -g codymaster` updates everything |
219
+
220
220
 
221
221
  ---
222
222
 
@@ -245,20 +245,70 @@ If you prefer:
245
245
 
246
246
  ## ๐Ÿš€ 1-Minute Install
247
247
 
248
- ### 1. Install AI Skills (All Platforms)
248
+ ### โœจ NEW: Claude Desktop Plugin (Zero Terminal Required)
249
249
 
250
- One command installs all 68+ skills to your environment. Supports Claude Code, Gemini CLI, Cursor, Aider, Windsurf, Cline, OpenCode, and more:
250
+ The easiest way to install CodyMaster โ€” no npm, no terminal, no setup.
251
251
 
252
+ **Claude Desktop / Claude Cowork:**
253
+
254
+ Run the auto-installer to inject the MCP Servers into your Claude Desktop config automatically:
255
+
256
+ ```bash
257
+ npx codymaster mcp-serve --install-claude
258
+ ```
259
+
260
+ All 68+ skills will be wired up instantly via MCP stdio. Remember to restart Claude Desktop to load the new config.
261
+
262
+ ---
263
+
264
+ ### 2. Install AI Skills (All Other Platforms)
265
+
266
+ CodyMaster uses **Native Plugin Extensions** for zero-friction installation. No bash scripts, no manual folder copying. Select your platform below:
267
+
268
+ **Claude Code CLI:**
252
269
  ```bash
253
- bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --all
270
+ claude plugin marketplace add tody-agent/codymaster
271
+ claude plugin install cm@codymaster --scope user
254
272
  ```
255
273
 
256
- *For Cursor IDE users, you can also just type `/add-plugin cody-master` in your agent chat.*
274
+ **Cursor (in Agent Chat):**
275
+ ```text
276
+ /add-plugin cody-master
277
+ ```
257
278
 
258
- ### 2. Install Mission Control Dashboard (Optional but Recommended)
279
+ **Gemini CLI / Google Antigravity:**
280
+ ```bash
281
+ gemini extensions install https://github.com/tody-agent/codymaster
282
+ ```
283
+ *(Progressive disclosure: Add `@~/.gemini/antigravity/skills/cm-skill-index/SKILL.md` to your `GEMINI.md` to save tokens)*
284
+
285
+ **OpenCode / OpenClaw:**
286
+ Tell your agent:
287
+ ```text
288
+ Fetch and follow instructions from https://raw.githubusercontent.com/tody-agent/codymaster/main/.opencode/INSTALL.md
289
+ ```
290
+
291
+ **Codex:**
292
+ Tell your agent:
293
+ ```text
294
+ Fetch and follow instructions from https://raw.githubusercontent.com/tody-agent/codymaster/main/.codex/INSTALL.md
295
+ ```
296
+
297
+ ### 3. Install Mission Control Dashboard (Optional but Recommended)
259
298
 
260
299
  Visualize your progress, manage tasks, and track your 10x coding streak with Cody the Hamster ๐Ÿน.
261
300
 
301
+ **Both are official:** install **per project** (no `-g`) or **globally**.
302
+
303
+ Per project โ€” keeps the CLI version with the repo (use `npx` so you do not need `cm` on your PATH):
304
+
305
+ ```bash
306
+ npm install codymaster
307
+ npx cm
308
+ ```
309
+
310
+ Global โ€” type `cm` from any directory:
311
+
262
312
  ```bash
263
313
  npm install -g codymaster
264
314
  cm
@@ -281,49 +331,96 @@ The CLI will greet you and keep you organized on your long coding sessions!
281
331
  โ”‚ โ—‹ ๐Ÿงฉ Browse Skills
282
332
  ```
283
333
 
284
- </details>
334
+ ---
335
+
336
+ ## Use with Goose
337
+
338
+ CodyMaster works as a [Goose](https://block.github.io/goose/) MCP extension, giving Goose persistent memory, skill orchestration, and token management.
339
+
340
+ **3-step setup:**
341
+
342
+ ```bash
343
+ # 1. Install CodyMaster
344
+ npm install -g codymaster
345
+
346
+ # 2. Get your Goose config snippet
347
+ cm mcp-serve --print-config
348
+
349
+ # 3. Paste the output into your Goose config (~/.config/goose/config.yaml)
350
+ ```
351
+
352
+ See [full Goose integration guide](docs/integrations/goose.md) for details.
353
+
354
+ ---
355
+
356
+ ## ๐ŸŽฏ Real-World Use Cases
357
+
358
+ > **Tip:** Start any session with `/cm:start <your goal>` and CodyMaster will pick the right skills automatically.
359
+
360
+
361
+ | Scenario | Skills Used | What You Say |
362
+ | ------------------------------------------ | -------------------------------------------------------------------------------- | ------------------------------------ |
363
+ | ๐Ÿ› **Fix a bug without breaking anything** | `cm-debugging` โ†’ `cm-tdd` โ†’ `cm-quality-gate` | *"Debug this crash"* |
364
+ | ๐Ÿš€ **Ship a feature safely** | `cm-planning` โ†’ `cm-tdd` โ†’ `cm-code-review` โ†’ `cm-safe-deploy` | *"Build the login flow"* |
365
+ | ๐ŸŽจ **Build a new UI from scratch** | `cm-ux-master` โ†’ `cm-design-system` โ†’ `cm-ui-preview` | *"Design the dashboard page"* |
366
+ | ๐Ÿ”’ **Deploy to production** | `cm-secret-shield` โ†’ `cm-security-gate` โ†’ `cm-identity-guard` โ†’ `cm-safe-deploy` | *"Deploy to prod"* |
367
+ | ๐Ÿ“ **Understand a legacy codebase** | `cm-codeintell` โ†’ `cm-dockit` | *"What does this code do?"* |
368
+ | ๐Ÿ“ˆ **Launch a landing page** | `cm-brainstorm-idea` โ†’ `cm-cro-methodology` โ†’ `cm-content-factory` | *"Build a landing page for my SaaS"* |
369
+ | ๐ŸŒ **Add multi-language support** | `cm-safe-i18n` | *"Add Vietnamese and Japanese"* |
370
+ | ๐Ÿ”„ **Start a new project** | `cm-project-bootstrap` โ†’ `cm-planning` | *"Bootstrap a Next.js SaaS"* |
371
+ | ๐Ÿง  **Resume after a break** | `cm-continuity` โ†’ `cm-status` | *"What was I working on?"* |
372
+ | ๐Ÿญ **Scale SEO content** | `cm-content-factory` โ†’ `cm-auto-publisher` โ†’ `cm-ads-tracker` | *"Create 20 articles for my blog"* |
373
+
285
374
 
286
375
  ---
287
376
 
288
- ## ๐Ÿงฐ The 68+ Skill Arsenal
377
+ ## ๐Ÿงฐ The 60+ Skill Arsenal
289
378
 
290
- | Domain | Skills |
291
- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
292
- | ๐Ÿ”ง **Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` `cm-clean-code` |
293
- | โš™๏ธ **Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-security-gate` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
379
+
380
+ | Domain | Skills |
381
+ | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
382
+ | ๐Ÿ”ง **Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` `cm-clean-code` |
383
+ | โš™๏ธ **Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-security-gate` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
294
384
  | ๐ŸŽจ **Product & UX** | `cm-planning` `cm-design-system` `cm-ux-master` `cm-ui-preview` `cm-project-bootstrap` `cm-jtbd` `cm-brainstorm-idea` `cm-dockit` `cm-readit` |
295
- | ๐Ÿ“ˆ **Growth & CRO** | `cm-content-factory` `cm-auto-publisher` `cm-ads-tracker` `cm-cro-methodology` `cm-growth-hacking` `cm-booking-calendar` `cm-google-form` |
296
- | ๐Ÿข **Enterprise** | `cm-frappe-agent` `cm-reactor` `cm-notebooklm` |
297
- | ๐Ÿงฌ **Self-Healing** | `cm-skill-health` `cm-skill-evolution` `cm-skill-search` `cm-skill-share` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` |
298
- | ๐ŸŽฏ **Orchestration** | `cm-execution` `cm-continuity` `cm-deep-search` `cm-codeintell` `cm-how-it-work` |
299
- | ๐Ÿ–ฅ๏ธ **Workflow** | `cm-start` `cm-dashboard` `cm-status` |
385
+ | ๐Ÿ“ˆ **Growth & CRO** | `cm-content-factory` `cm-auto-publisher` `cm-ads-tracker` `cm-cro-methodology` `cm-growth-hacking` `cm-booking-calendar` `cm-google-form` |
386
+ | ๐Ÿข **Enterprise** | `cm-reactor` `cm-notebooklm` |
387
+ | ๐Ÿงฌ **Self-Healing** | `cm-skill-health` `cm-skill-evolution` `cm-skill-search` `cm-skill-share` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` |
388
+ | ๐ŸŽฏ **Orchestration** | `cm-execution` `cm-continuity` `cm-deep-search` `cm-codeintell` `cm-how-it-work` |
389
+ | ๐Ÿ–ฅ๏ธ **Workflow** | `cm-start` `cm-dashboard` `cm-status` |
390
+
300
391
 
301
392
  ---
302
393
 
303
394
  ## ๐ŸŽฎ Commands
304
395
 
396
+ Run `cm --help` (or `node dist/index.js --help` from a clone) for the **authoritative** list. Highlights from `src/cli/command-registry.ts`:
397
+
305
398
  ```
306
- cm โ†’ Quick menu with Cody ๐Ÿน
307
- cm task add "..." โ†’ Add a task
308
- cm task list โ†’ View tasks
309
- cm status โ†’ Project health
310
- cm dashboard โ†’ Open Mission Control
311
- cm list โ†’ Browse 68+ skills
312
- cm profile โ†’ Your stats & achievements
313
- cm deploy <env> โ†’ Record deployment
314
- cm continuity index โ†’ Regenerate L0 memory indexes
315
- cm continuity budget โ†’ Show token budget allocation
316
- cm continuity bus โ†’ View context bus state
317
- cm continuity mcp โ†’ Print MCP server config
318
- cm continuity migrate โ†’ Migrate JSON โ†’ SQLite
319
- cm continuity export โ†’ Export SQLite โ†’ JSON
320
- cm resolve <uri> โ†’ Resolve any cm:// URI
321
-
322
- # OpenViking backend (optional โ€” semantic vector search)
323
- pip install openviking && openviking start
324
- # Then set storage.backend: viking in .cm/config.yaml
399
+ cm, codymaster โ†’ CLI entry
400
+ cm status โ†’ Task & project summary
401
+ cm task <cmd> [args...] โ†’ Task management
402
+ cm project <cmd> [args...] โ†’ Project management
403
+ cm deploy <cmd> [args...] โ†’ Deploy / rollback / history / changelog
404
+ cm dashboard [start|stop|status|open|url] โ†’ Mission Control (default :6969)
405
+ cm agent [status|memory|brain|learn] โ†’ Working memory / learnings
406
+ cm brain โ†’ Continuity + next actions
407
+ cm chain <cmd> [args...] โ†’ Skill chain execution
408
+ cm config [key] [value] โ†’ Config helper
409
+ cm open โ†’ Open dashboard in browser
410
+ cm browse โ€ฆ โ†’ Local Playwright browse daemon (QA)
411
+ cm guardian โ€ฆ โ†’ Destructive-command / path checks
412
+ cm index skills โ†’ Zero-Token tech stack and skill local indexer
413
+ cm sprint โ€ฆ โ†’ Sprint pipeline + .cm/sprint
414
+ cm design-studio [init|status]
415
+ cm distro validate โ€ฆ โ†’ Validate skill pack layout
325
416
  ```
326
417
 
418
+ **Memory, bus, budgets, `cm://` resolution:** use the **MCP context server** โ€” see [docs/api/api-reference.md](docs/api/api-reference.md).
419
+
420
+ **Engineering (browse, guardian, sprint):** [docs/workflows/engineering-pipeline.md](docs/workflows/engineering-pipeline.md) ยท [docs/browse-daemon.md](docs/browse-daemon.md) ยท [docs/workflows/guardian-hooks.md](docs/workflows/guardian-hooks.md) ยท [docs/architecture/servers-and-mcp.md](docs/architecture/servers-and-mcp.md)
421
+
422
+ Legacy configs that still say `storage.backend: viking` are automatically routed back to SQLite.
423
+
327
424
  **Slash Commands (inside AI agents):**
328
425
 
329
426
  ```
@@ -349,8 +446,9 @@ pip install openviking && openviking start
349
446
  ## ๐Ÿ“š Resources
350
447
 
351
448
  - ๐ŸŒ [Website](https://cody.todyle.com) โ€” Overview & demos
352
- - ๐Ÿ“– [Documentation](https://cody.todyle.com/docs) โ€” Full deep-dive
353
- - ๐Ÿ› ๏ธ [Skills Reference](skills/) โ€” Browse all 68+ SKILL.md files
449
+ - ๐Ÿ“– [Documentation (site)](https://cody.todyle.com/docs) โ€” Hosted deep-dive
450
+ - ๐Ÿ“˜ [Documentation (repo)](docs/index.md) โ€” Markdown source; run `npm run docs:dev` for VitePress
451
+ - ๐Ÿ› ๏ธ [Skills Reference](skills/) โ€” Browse **56** bundled `cm-`* SKILL.md packs (profiles/installer can add more)
354
452
  - ๐Ÿ“– [Our Story](https://cody.todyle.com/story) โ€” Why this exists
355
453
 
356
454
  ---
@@ -361,13 +459,12 @@ pip install openviking && openviking start
361
459
  2. Fork โ†’ Create `skills/cm-your-skill/SKILL.md`
362
460
  3. Submit a Pull Request
363
461
 
462
+ CI runs `npm ci` and `npm run test:gate:kit` on pushes and pull requests (see `.github/workflows/ci.yml`).
463
+
364
464
  ---
365
465
 
366
- <div align="center">
466
+ *ISC License โ€” Free to use, modify, and distribute.*
367
467
 
368
- *MIT License โ€” Free to use, modify, and distribute.* `<br/>`
369
468
  **Built with โค๏ธ for the vibe coding community.**
370
469
 
371
470
  *"CodyMaster" = "Code ฤi" (Vietnamese: "Go code!") โ€” just start building.*
372
-
373
- </div>