monomind 1.18.15 → 1.19.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 (183) hide show
  1. package/.claude/agents/core/researcher.md +29 -24
  2. package/.claude/agents/github/code-review-swarm.md +1 -1
  3. package/.claude/agents/github/github-modes.md +1 -1
  4. package/.claude/agents/github/issue-tracker.md +1 -1
  5. package/.claude/agents/github/multi-repo-swarm.md +1 -1
  6. package/.claude/agents/github/pr-manager.md +1 -1
  7. package/.claude/agents/github/project-board-sync.md +1 -1
  8. package/.claude/agents/github/release-manager.md +1 -1
  9. package/.claude/agents/github/repo-architect.md +1 -1
  10. package/.claude/agents/github/swarm-issue.md +1 -1
  11. package/.claude/agents/github/swarm-pr.md +1 -1
  12. package/.claude/agents/github/sync-coordinator.md +1 -1
  13. package/.claude/agents/github/workflow-automation.md +1 -1
  14. package/.claude/agents/goal/goal-planner.md +1 -1
  15. package/.claude/agents/specialized/specialized-workflow-architect.md +11 -14
  16. package/.claude/agents/testing/production-validator.md +8 -7
  17. package/.claude/agents/testing/testing-evidence-collector.md +3 -1
  18. package/.claude/commands/mastermind/code-review.md +4 -4
  19. package/.claude/commands/mastermind/help.md +2 -2
  20. package/.claude/commands/mastermind/okf-export.md +14 -0
  21. package/.claude/commands/mastermind/okf-import.md +15 -0
  22. package/.claude/helpers/handlers/agent-start-handler.cjs +11 -36
  23. package/.claude/helpers/handlers/capture-handler.cjs +110 -0
  24. package/.claude/helpers/handlers/route-handler.cjs +174 -247
  25. package/.claude/helpers/handlers/session-handler.cjs +139 -142
  26. package/.claude/helpers/handlers/session-restore-handler.cjs +15 -10
  27. package/.claude/helpers/handlers/task-handler.cjs +8 -155
  28. package/.claude/helpers/hook-handler.cjs +89 -5
  29. package/.claude/helpers/intelligence.cjs +164 -15
  30. package/.claude/helpers/learning-service.mjs +1 -0
  31. package/.claude/helpers/mastermind-activate.cjs +33 -51
  32. package/.claude/helpers/monolean-activate.cjs +13 -3
  33. package/.claude/helpers/monolean-propagate.cjs +7 -3
  34. package/.claude/helpers/router.cjs +47 -9
  35. package/.claude/settings.json +0 -20
  36. package/.claude/skills/mastermind-skills/architect.md +5 -6
  37. package/.claude/skills/mastermind-skills/autodev.md +8 -5
  38. package/.claude/skills/mastermind-skills/review.md +8 -5
  39. package/.claude/skills/mastermind-skills/techport.md +37 -3
  40. package/.claude/skills/monodesign/document.md +9 -6
  41. package/.claude/skills/monodesign/extract.md +1 -1
  42. package/.claude/skills/monodesign/reference/document.md +1 -1
  43. package/.claude/skills/monodesign/reference/live.md +1 -1
  44. package/.claude/skills/monolean/SKILL.md +1 -1
  45. package/package.json +1 -1
  46. package/packages/@monomind/cli/.claude/agents/core/researcher.md +29 -24
  47. package/packages/@monomind/cli/.claude/agents/github/code-review-swarm.md +1 -1
  48. package/packages/@monomind/cli/.claude/agents/github/github-modes.md +1 -1
  49. package/packages/@monomind/cli/.claude/agents/github/issue-tracker.md +1 -1
  50. package/packages/@monomind/cli/.claude/agents/github/multi-repo-swarm.md +1 -1
  51. package/packages/@monomind/cli/.claude/agents/github/pr-manager.md +1 -1
  52. package/packages/@monomind/cli/.claude/agents/github/project-board-sync.md +1 -1
  53. package/packages/@monomind/cli/.claude/agents/github/release-manager.md +1 -1
  54. package/packages/@monomind/cli/.claude/agents/github/repo-architect.md +1 -1
  55. package/packages/@monomind/cli/.claude/agents/github/swarm-issue.md +1 -1
  56. package/packages/@monomind/cli/.claude/agents/github/swarm-pr.md +1 -1
  57. package/packages/@monomind/cli/.claude/agents/github/sync-coordinator.md +1 -1
  58. package/packages/@monomind/cli/.claude/agents/github/workflow-automation.md +1 -1
  59. package/packages/@monomind/cli/.claude/agents/goal/goal-planner.md +1 -1
  60. package/packages/@monomind/cli/.claude/agents/specialized/specialized-workflow-architect.md +11 -14
  61. package/packages/@monomind/cli/.claude/agents/testing/production-validator.md +8 -7
  62. package/packages/@monomind/cli/.claude/agents/testing/testing-evidence-collector.md +3 -1
  63. package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +4 -4
  64. package/packages/@monomind/cli/.claude/commands/mastermind/help.md +2 -2
  65. package/packages/@monomind/cli/.claude/commands/mastermind/okf-export.md +14 -0
  66. package/packages/@monomind/cli/.claude/commands/mastermind/okf-import.md +15 -0
  67. package/packages/@monomind/cli/.claude/helpers/handlers/agent-start-handler.cjs +11 -36
  68. package/packages/@monomind/cli/.claude/helpers/handlers/capture-handler.cjs +110 -0
  69. package/packages/@monomind/cli/.claude/helpers/handlers/route-handler.cjs +174 -247
  70. package/packages/@monomind/cli/.claude/helpers/handlers/session-handler.cjs +139 -142
  71. package/packages/@monomind/cli/.claude/helpers/handlers/session-restore-handler.cjs +15 -10
  72. package/packages/@monomind/cli/.claude/helpers/handlers/task-handler.cjs +8 -155
  73. package/packages/@monomind/cli/.claude/helpers/hook-handler.cjs +89 -5
  74. package/packages/@monomind/cli/.claude/helpers/intelligence.cjs +164 -15
  75. package/packages/@monomind/cli/.claude/helpers/learning-service.mjs +1 -0
  76. package/packages/@monomind/cli/.claude/helpers/mastermind-activate.cjs +33 -51
  77. package/packages/@monomind/cli/.claude/helpers/monolean-activate.cjs +13 -3
  78. package/packages/@monomind/cli/.claude/helpers/monolean-propagate.cjs +7 -3
  79. package/packages/@monomind/cli/.claude/helpers/router.cjs +47 -9
  80. package/packages/@monomind/cli/.claude/skills/mastermind-skills/architect.md +5 -6
  81. package/packages/@monomind/cli/.claude/skills/mastermind-skills/autodev.md +8 -5
  82. package/packages/@monomind/cli/.claude/skills/mastermind-skills/review.md +8 -5
  83. package/packages/@monomind/cli/.claude/skills/mastermind-skills/techport.md +37 -3
  84. package/packages/@monomind/cli/.claude/skills/monodesign/document.md +9 -6
  85. package/packages/@monomind/cli/.claude/skills/monodesign/extract.md +1 -1
  86. package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +1 -1
  87. package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +1 -1
  88. package/packages/@monomind/cli/.claude/skills/monolean/SKILL.md +1 -1
  89. package/packages/@monomind/cli/bin/mcp-server.js +11 -1
  90. package/packages/@monomind/cli/dist/src/commands/agent-ops.d.ts +1 -2
  91. package/packages/@monomind/cli/dist/src/commands/agent-ops.js +1 -59
  92. package/packages/@monomind/cli/dist/src/commands/agent.js +2 -3
  93. package/packages/@monomind/cli/dist/src/commands/analyze-diff.js +1 -1
  94. package/packages/@monomind/cli/dist/src/commands/browse-action.js +94 -2
  95. package/packages/@monomind/cli/dist/src/commands/completions.js +11 -56
  96. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +1 -1
  97. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +1 -1
  98. package/packages/@monomind/cli/dist/src/commands/hive-mind-helpers.js +2 -2
  99. package/packages/@monomind/cli/dist/src/commands/hive-mind-ops.d.ts +1 -3
  100. package/packages/@monomind/cli/dist/src/commands/hive-mind-ops.js +2 -116
  101. package/packages/@monomind/cli/dist/src/commands/hive-mind.js +2 -5
  102. package/packages/@monomind/cli/dist/src/commands/hooks-coverage-commands.js +8 -7
  103. package/packages/@monomind/cli/dist/src/commands/hooks-coverage-gaps.js +1 -1
  104. package/packages/@monomind/cli/dist/src/commands/hooks-coverage-routing.js +2 -2
  105. package/packages/@monomind/cli/dist/src/commands/hooks-extended-commands.d.ts +0 -3
  106. package/packages/@monomind/cli/dist/src/commands/hooks-extended-commands.js +0 -307
  107. package/packages/@monomind/cli/dist/src/commands/hooks.js +1 -12
  108. package/packages/@monomind/cli/dist/src/commands/index.d.ts +3 -51
  109. package/packages/@monomind/cli/dist/src/commands/index.js +36 -184
  110. package/packages/@monomind/cli/dist/src/commands/init-wizard.js +2 -4
  111. package/packages/@monomind/cli/dist/src/commands/mcp.js +32 -4
  112. package/packages/@monomind/cli/dist/src/commands/memory-admin.d.ts +1 -2
  113. package/packages/@monomind/cli/dist/src/commands/memory-admin.js +1 -118
  114. package/packages/@monomind/cli/dist/src/commands/memory-transfer.d.ts +1 -2
  115. package/packages/@monomind/cli/dist/src/commands/memory-transfer.js +5 -171
  116. package/packages/@monomind/cli/dist/src/commands/memory.js +3 -6
  117. package/packages/@monomind/cli/dist/src/commands/neural-core.d.ts +3 -1
  118. package/packages/@monomind/cli/dist/src/commands/neural-core.js +145 -6
  119. package/packages/@monomind/cli/dist/src/commands/neural-optimize.js +4 -4
  120. package/packages/@monomind/cli/dist/src/commands/neural-registry.d.ts +1 -1
  121. package/packages/@monomind/cli/dist/src/commands/neural-registry.js +4 -4
  122. package/packages/@monomind/cli/dist/src/commands/neural.d.ts +1 -1
  123. package/packages/@monomind/cli/dist/src/commands/neural.js +6 -6
  124. package/packages/@monomind/cli/dist/src/commands/performance.js +68 -58
  125. package/packages/@monomind/cli/dist/src/commands/providers.js +2 -131
  126. package/packages/@monomind/cli/dist/src/commands/security-misc.d.ts +0 -1
  127. package/packages/@monomind/cli/dist/src/commands/security-misc.js +69 -45
  128. package/packages/@monomind/cli/dist/src/commands/security.js +2 -4
  129. package/packages/@monomind/cli/dist/src/commands/session.js +1 -285
  130. package/packages/@monomind/cli/dist/src/commands/start.js +2 -41
  131. package/packages/@monomind/cli/dist/src/commands/status.js +18 -29
  132. package/packages/@monomind/cli/dist/src/commands/swarm.js +1 -1
  133. package/packages/@monomind/cli/dist/src/commands/task.js +2 -49
  134. package/packages/@monomind/cli/dist/src/commands/workflow.js +2 -104
  135. package/packages/@monomind/cli/dist/src/index.js +7 -0
  136. package/packages/@monomind/cli/dist/src/init/executor.js +3 -14
  137. package/packages/@monomind/cli/dist/src/init/helpers-generator.js +2 -22
  138. package/packages/@monomind/cli/dist/src/init/settings-generator.js +0 -1
  139. package/packages/@monomind/cli/dist/src/init/types.d.ts +1 -3
  140. package/packages/@monomind/cli/dist/src/init/types.js +0 -2
  141. package/packages/@monomind/cli/dist/src/mcp-client.js +0 -6
  142. package/packages/@monomind/cli/dist/src/mcp-server.js +16 -0
  143. package/packages/@monomind/cli/dist/src/mcp-tools/agent-tools.js +0 -17
  144. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/causal-infer.d.ts +5 -5
  145. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/causal-infer.js +32 -46
  146. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/consensus-verify.d.ts +2 -3
  147. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/consensus-verify.js +22 -20
  148. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/memory-gate.d.ts +3 -2
  149. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/memory-gate.js +32 -19
  150. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/quantum-topology.d.ts +4 -4
  151. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/quantum-topology.js +11 -17
  152. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/spectral-analyze.d.ts +2 -3
  153. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/spectral-analyze.js +51 -32
  154. package/packages/@monomind/cli/dist/src/mcp-tools/coherence/types.d.ts +5 -9
  155. package/packages/@monomind/cli/dist/src/mcp-tools/guidance-tools.js +2 -2
  156. package/packages/@monomind/cli/dist/src/mcp-tools/hive-mind-tools.js +25 -3
  157. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-routing.d.ts +0 -3
  158. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-routing.js +45 -159
  159. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-tools.js +1 -4
  160. package/packages/@monomind/cli/dist/src/mcp-tools/index.d.ts +0 -2
  161. package/packages/@monomind/cli/dist/src/mcp-tools/index.js +0 -3
  162. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +24 -0
  163. package/packages/@monomind/cli/dist/src/mcp-tools/monograph-tools.js +428 -11
  164. package/packages/@monomind/cli/dist/src/mcp-tools/neural-tools.d.ts +4 -10
  165. package/packages/@monomind/cli/dist/src/mcp-tools/neural-tools.js +28 -54
  166. package/packages/@monomind/cli/dist/src/mcp-tools/performance-tools.js +5 -17
  167. package/packages/@monomind/cli/dist/src/mcp-tools/quality/coverage-analysis/prioritize-gaps.js +2 -2
  168. package/packages/@monomind/cli/dist/src/mcp-tools/quality/security-compliance/detect-secrets.d.ts +4 -4
  169. package/packages/@monomind/cli/dist/src/mcp-tools/quality-tools.d.ts +7 -2
  170. package/packages/@monomind/cli/dist/src/mcp-tools/quality-tools.js +7 -257
  171. package/packages/@monomind/cli/dist/src/memory/intelligence.d.ts +7 -8
  172. package/packages/@monomind/cli/dist/src/memory/intelligence.js +15 -16
  173. package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +1 -0
  174. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +37 -0
  175. package/packages/@monomind/cli/dist/src/services/worker-daemon.d.ts +3 -21
  176. package/packages/@monomind/cli/dist/src/services/worker-daemon.js +13 -80
  177. package/packages/@monomind/cli/dist/src/suggest.js +0 -5
  178. package/packages/@monomind/cli/package.json +1 -1
  179. package/packages/@monomind/guidance/package.json +1 -74
  180. package/.claude/helpers/auto-memory-hook.mjs +0 -503
  181. package/packages/@monomind/cli/.claude/helpers/auto-memory-hook.mjs +0 -503
  182. package/packages/@monomind/cli/dist/src/commands/deployment.d.ts +0 -10
  183. package/packages/@monomind/cli/dist/src/commands/deployment.js +0 -706
@@ -48,19 +48,22 @@ Default `count = 1`.
48
48
 
49
49
  ```bash
50
50
  git log --oneline -30
51
- find . -maxdepth 3 -type f \( -name "*.ts" -o -name "*.js" -o -name "*.py" -o -name "*.go" -o -name "*.md" \) \
52
- ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/dist/*" | head -80
53
51
  cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat go.mod 2>/dev/null || true
54
52
  head -120 README.md 2>/dev/null || true
55
- grep -rn "<PATTERNS>" --include="*.ts" --include="*.js" --include="*.py" --include="*.go" --include="*.md" \
56
- . 2>/dev/null | grep -v node_modules | grep -v dist | head -40
57
53
  ```
58
54
 
59
- Plus these MCP calls (also parallel):
55
+ Plus these MCP calls (also parallel — **preferred over grep for symbol/pattern search**):
56
+ - `mcp__monomind__monograph_query` — search for `<PATTERNS>` (see mode table below); replaces grep for symbol lookup
60
57
  - `mcp__monomind__monograph_god_nodes` — high-centrality modules (hotspots / where new features plug in)
61
58
  - `mcp__monomind__monograph_suggest` — query per mode below
62
59
  - `mcp__monomind__memory_search` — namespace `"mastermind:autodev"`, to exclude already-built work
63
60
 
61
+ **Fallback only** (if monograph returns 0 results or DB not built):
62
+ ```bash
63
+ grep -rn "<PATTERNS>" --include="*.ts" --include="*.js" --include="*.py" --include="*.go" --include="*.md" \
64
+ . 2>/dev/null | grep -v node_modules | grep -v dist | head -40
65
+ ```
66
+
64
67
  Mode-specific values:
65
68
 
66
69
  | | Improvement loop | Feature pipeline |
@@ -148,11 +148,14 @@ Run the test suite and adversarial probes against the live monofence-ai detector
148
148
  ```
149
149
  MONOFENCE INPUT BOUNDARY SCAN (monofence_deep flag):
150
150
 
151
- Step 1 — Find LLM input boundary files using these patterns:
152
- grep -rl "detect\|isSafe\|prompt\|chat\|completion\|message" src/ --include="*.ts" --include="*.js"
153
- find . -name "*.ts" -path "*/routes/*" -o -name "*.ts" -path "*/handlers/*" \
154
- -o -name "*.ts" -path "*/controllers/*" -o -name "*.ts" -path "*/api/*" \
155
- -o -name "prompt*.ts" -o -name "*chat*.ts" -o -name "*completion*.ts"
151
+ Step 1 — Find LLM input boundary files:
152
+ PREFERRED: monograph_query({ query: "detect isSafe prompt chat completion message" })
153
+ monograph_neighbors({ name: "detect" }) // trace call chains into LLM boundaries
154
+ FALLBACK (if monograph returns 0 results):
155
+ grep -rl "detect\|isSafe\|prompt\|chat\|completion\|message" src/ --include="*.ts" --include="*.js"
156
+ find . -name "*.ts" -path "*/routes/*" -o -name "*.ts" -path "*/handlers/*" \
157
+ -o -name "*.ts" -path "*/controllers/*" -o -name "*.ts" -path "*/api/*" \
158
+ -o -name "prompt*.ts" -o -name "*chat*.ts" -o -name "*completion*.ts"
156
159
 
157
160
  Step 2 — For each boundary file found, extract string literals and template literals
158
161
  that flow into LLM calls (look for openai/anthropic/fetch calls).
@@ -75,8 +75,17 @@ find .claude -name "*.md" \
75
75
 
76
76
  ### 0B — Naming Convention Extraction (from actual monomind code)
77
77
 
78
- Extract the real conventions — not the stated ones — from the codebase itself:
78
+ Extract the real conventions — not the stated ones — from the codebase itself.
79
79
 
80
+ **Step 1 — monograph-based extraction (preferred):**
81
+ ```
82
+ # Use monograph for exported symbol discovery
83
+ monograph_query({ query: "export class interface" }) # all exported types
84
+ monograph_god_nodes({}) # high-centrality files (naming exemplars)
85
+ monograph_stats({}) # node counts by type
86
+ ```
87
+
88
+ **Step 2 — grep fallback (only if monograph returns 0 results or DB not built):**
80
89
  ```bash
81
90
  BASE=packages/@monomind/cli/src
82
91
 
@@ -143,10 +152,20 @@ Domain vocab: Agent, Memory, Swarm, Config, Node, Graph, Session, Task, Wo
143
152
 
144
153
  ### 0C — Dependency Direction Constraints
145
154
 
155
+ **Preferred: monograph-based dependency analysis:**
156
+ ```
157
+ # Use monograph for dependency direction mapping
158
+ monograph_community({}) # module clusters with import directions
159
+ monograph_context({ name: "types" }) # 360° view: importers vs imports
160
+ monograph_context({ name: "utils" })
161
+ monograph_context({ name: "core" })
162
+ monograph_context({ name: "commands" })
163
+ monograph_context({ name: "services" })
164
+ ```
165
+
166
+ **Fallback (only if monograph unavailable):**
146
167
  ```bash
147
168
  BASE=packages/@monomind/cli/src
148
-
149
- # Map import directions by directory layer
150
169
  for dir in types utils core commands services; do
151
170
  count=$(grep -rn "^import" "$BASE/$dir" --include="*.ts" 2>/dev/null | wc -l)
152
171
  refs=$(grep -rn "from.*/$dir/" "$BASE" --include="*.ts" 2>/dev/null | wc -l)
@@ -160,6 +179,13 @@ Extract the implied layering from the import ratio. High `imported_by` → leaf/
160
179
 
161
180
  ### 0D — Build Monomind Vocabulary Name Set (for collision detection)
162
181
 
182
+ **Preferred: monograph-based symbol enumeration:**
183
+ ```
184
+ monograph_query({ query: "export class interface function const type enum" })
185
+ # Extract names from results for collision checking
186
+ ```
187
+
188
+ **Fallback (only if monograph unavailable):**
163
189
  ```bash
164
190
  grep -rhn "^export" packages/@monomind/cli/src \
165
191
  --include="*.ts" | grep -v dist | \
@@ -200,6 +226,14 @@ Set `source_brand` to the PascalCase result (e.g., `Monomind`, `ClaudeFlow`, `So
200
226
 
201
227
  ### 1B — Repo-Map (Structural Index)
202
228
 
229
+ **If source project has a monograph index** (check with `monograph_health` against source_path):
230
+ ```
231
+ monograph_query({ query: "export class interface function" }) # all exported symbols
232
+ monograph_god_nodes({}) # high-centrality files
233
+ monograph_community({}) # module structure
234
+ ```
235
+
236
+ **Otherwise (foreign project without monograph — grep is expected here):**
203
237
  ```bash
204
238
  # File tree
205
239
  find "{source_path}" -maxdepth 4 \
@@ -16,15 +16,18 @@ Read `reference/document.md` from the monodesign skill directory for the full pr
16
16
 
17
17
  ## Discovery
18
18
 
19
- **Extract from codebase:**
19
+ **Extract from codebase (monograph-first):**
20
+ ```
21
+ # Preferred: monograph for design token discovery
22
+ monograph_query({ query: "CSS custom properties variables tokens" })
23
+ monograph_query({ query: "font-family font-face typography" })
24
+ monograph_query({ query: "color theme palette" })
25
+ ```
26
+
27
+ **Fallback (if monograph returns 0 results or DB not built):**
20
28
  ```bash
21
- # Find CSS custom properties
22
29
  grep -r "^--" src/ --include="*.css" --include="*.scss" -h | sort -u
23
-
24
- # Find font declarations
25
30
  grep -r "font-family\|@font-face\|@import.*font" src/ -h | sort -u
26
-
27
- # Find color values
28
31
  grep -rE "#[0-9a-fA-F]{3,8}|oklch\(|rgb\(|hsl\(" src/ -h | sort -u | head -50
29
32
  ```
30
33
 
@@ -17,7 +17,7 @@ Every codebase with more than a few pages has an implicit design system — inco
17
17
  ## Discovery Phase
18
18
 
19
19
  **Color inventory**
20
- - Collect all color values used in the codebase (grep for `#`, `rgb`, `hsl`, `oklch`)
20
+ - Collect all color values used in the codebase (use `monograph_query({ query: "color rgb hsl oklch" })` first; fall back to grep for `#`, `rgb`, `hsl`, `oklch` if monograph returns 0 results)
21
21
  - Group by apparent purpose (backgrounds, text, accents, borders, shadows)
22
22
  - Identify the brand anchor color(s)
23
23
  - Spot inconsistencies (5 slightly different grays)
@@ -81,7 +81,7 @@ Decide by scanning first (Scan mode Step 1). If the scan finds no tokens, no com
81
81
 
82
82
  Search the codebase in priority order:
83
83
 
84
- 1. **CSS custom properties**: grep for `--color-`, `--font-`, `--spacing-`, `--radius-`, `--shadow-`, `--ease-`, `--duration-` declarations in CSS files (usually `src/styles/`, `public/css/`, `app/globals.css`, etc.). Record name, value, and the file it's defined in.
84
+ 1. **CSS custom properties**: use `monograph_query({ query: "color font spacing radius shadow ease duration CSS custom property" })` first; fall back to grep for `--color-`, `--font-`, `--spacing-`, `--radius-`, `--shadow-`, `--ease-`, `--duration-` declarations in CSS files if monograph returns 0 results. Record name, value, and the file it's defined in.
85
85
  2. **Tailwind config**: if `tailwind.config.{js,ts,mjs}` exists, read the `theme.extend` block for colors, fontFamily, spacing, borderRadius, boxShadow.
86
86
  3. **CSS-in-JS theme files**: styled-components, emotion, vanilla-extract, stitches; look for `theme.ts`, `tokens.ts`, or equivalent.
87
87
  4. **Design token files**: `tokens.json`, `design-tokens.json`, Style Dictionary output, W3C token community group format.
@@ -364,7 +364,7 @@ The goal is the same: give the user three variants to choose from AND persist th
364
364
 
365
365
  Use the error payload:
366
366
 
367
- - `element_not_in_source` with `generatedMatch: "public/docs/foo.html"`: the served HTML is generated. Find the generator (grep for writers of that path, e.g. `scripts/build-sub-pages.js`, an Astro/Next template) and locate the template or partial that emits this element.
367
+ - `element_not_in_source` with `generatedMatch: "public/docs/foo.html"`: the served HTML is generated. Find the generator (use `monograph_query({ query: "build generate template" })` or `monograph_neighbors` to trace writers of that path; fall back to grep if monograph returns 0 results, e.g. `scripts/build-sub-pages.js`, an Astro/Next template) and locate the template or partial that emits this element.
368
368
  - `element_not_found`: the element is runtime-injected. Look for the component that renders it (React/Vue/Svelte), the JS that assembles it, or the data source that feeds it.
369
369
  - `file_is_generated` with `file: "..."`: user pointed at a generated file explicitly. Same resolution as `element_not_in_source`.
370
370
 
@@ -45,7 +45,7 @@ take the higher one and move on. The first lazy solution that works is the
45
45
  right one — once you actually know what the change has to touch.
46
46
 
47
47
  **Bug fix = root cause, not symptom.** A report names a symptom. Before you
48
- edit, grep every caller of the function you're about to touch. The lazy fix IS
48
+ edit, find every caller of the function you're about to touch (use `monograph_neighbors` or `monograph_impact` first; fall back to grep only if monograph returns 0 results). The lazy fix IS
49
49
  the root-cause fix: one guard in the shared function is a smaller diff than a
50
50
  guard in every caller — and patching only the path the ticket names leaves
51
51
  every sibling caller still broken. Fix it once, where all callers route through.
@@ -97,7 +97,16 @@ async function handleMessage(message) {
97
97
 
98
98
  try {
99
99
  switch (message.method) {
100
- case 'initialize':
100
+ case 'initialize': {
101
+ const roots = params.roots ?? params.workspaceFolders ?? [];
102
+ if (roots.length > 0 && !process.env.MONOMIND_CWD) {
103
+ const rootUri = typeof roots[0] === 'string' ? roots[0] : (roots[0].uri ?? roots[0].path ?? '');
104
+ const rootPath = rootUri.startsWith('file://') ? decodeURIComponent(rootUri.slice(7)) : rootUri;
105
+ if (rootPath) {
106
+ process.env.MONOMIND_CWD = rootPath;
107
+ console.error(`[${new Date().toISOString()}] INFO [monomind-mcp] Project root set to ${rootPath}`);
108
+ }
109
+ }
101
110
  return {
102
111
  jsonrpc: '2.0',
103
112
  id: message.id,
@@ -110,6 +119,7 @@ async function handleMessage(message) {
110
119
  },
111
120
  },
112
121
  };
122
+ }
113
123
 
114
124
  case 'tools/list': {
115
125
  const tools = listMCPTools();
@@ -1,9 +1,8 @@
1
1
  /**
2
- * Agent operational commands — metrics, pool, health, logs
2
+ * Agent operational commands — metrics, pool, health
3
3
  */
4
4
  import type { Command } from '../types.js';
5
5
  export declare const metricsCommand: Command;
6
6
  export declare const poolCommand: Command;
7
7
  export declare const healthCommand: Command;
8
- export declare const logsCommand: Command;
9
8
  //# sourceMappingURL=agent-ops.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Agent operational commands — metrics, pool, health, logs
2
+ * Agent operational commands — metrics, pool, health
3
3
  */
4
4
  import { output } from '../output.js';
5
5
  import { callMCPTool, MCPClientError } from '../mcp-client.js';
@@ -268,62 +268,4 @@ export const healthCommand = {
268
268
  }
269
269
  },
270
270
  };
271
- // ─── logs subcommand ─────────────────────────────────────────────────────────
272
- function formatLogLevel(level) {
273
- switch (level) {
274
- case 'debug': return output.dim('[DEBUG]');
275
- case 'info': return '[INFO] ';
276
- case 'warn': return output.warning('[WARN] ');
277
- case 'error': return output.error('[ERROR]');
278
- default: return `[${level.toUpperCase()}]`;
279
- }
280
- }
281
- export const logsCommand = {
282
- name: 'logs',
283
- description: 'Show agent activity logs',
284
- options: [
285
- { name: 'id', short: 'i', description: 'Agent ID', type: 'string' },
286
- { name: 'tail', short: 'n', description: 'Number of recent entries', type: 'number', default: 50 },
287
- { name: 'level', short: 'l', description: 'Minimum log level', type: 'string', choices: ['debug', 'info', 'warn', 'error'], default: 'info' },
288
- { name: 'follow', short: 'f', description: 'Follow log output', type: 'boolean', default: false },
289
- { name: 'since', description: 'Show logs since (e.g., "1h", "30m")', type: 'string' },
290
- ],
291
- examples: [
292
- { command: 'monomind agent logs -i agent-001', description: 'Show agent logs' },
293
- { command: 'monomind agent logs -i agent-001 -f', description: 'Follow agent logs' },
294
- { command: 'monomind agent logs -l error --since 1h', description: 'Show errors from last hour' },
295
- ],
296
- action: async (ctx) => {
297
- const agentId = ((ctx.args[0] || ctx.flags.id) ?? '').slice(0, 128);
298
- const tail = ctx.flags.tail;
299
- const level = ctx.flags.level?.slice(0, 32);
300
- if (!agentId) {
301
- output.printError('Agent ID is required. Use --id or -i');
302
- return { success: false, exitCode: 1 };
303
- }
304
- try {
305
- const result = await callMCPTool('agent_logs', { agentId, tail, level, since: ctx.flags.since });
306
- if (ctx.flags.format === 'json') {
307
- output.printJson(result);
308
- return { success: true, data: result };
309
- }
310
- output.writeln();
311
- output.writeln(output.bold(`Logs for ${agentId}`));
312
- output.writeln(output.dim(`Showing ${result.entries.length} of ${result.total} entries`));
313
- output.writeln();
314
- for (const entry of result.entries) {
315
- const time = new Date(entry.timestamp).toLocaleTimeString();
316
- output.writeln(`${output.dim(time)} ${formatLogLevel(entry.level)} ${entry.message}`);
317
- if (entry.context && Object.keys(entry.context).length > 0) {
318
- output.writeln(output.dim(` ${JSON.stringify(entry.context)}`));
319
- }
320
- }
321
- return { success: true, data: result };
322
- }
323
- catch (error) {
324
- output.printError(error instanceof MCPClientError ? `Logs error: ${error.message}` : `Unexpected error: ${String(error)}`);
325
- return { success: false, exitCode: 1 };
326
- }
327
- },
328
- };
329
271
  //# sourceMappingURL=agent-ops.js.map
@@ -4,11 +4,11 @@
4
4
  */
5
5
  import { output } from '../output.js';
6
6
  import { spawnCommand, listCommand, statusCommand, stopCommand } from './agent-lifecycle.js';
7
- import { metricsCommand, poolCommand, healthCommand, logsCommand } from './agent-ops.js';
7
+ import { metricsCommand, poolCommand, healthCommand } from './agent-ops.js';
8
8
  export const agentCommand = {
9
9
  name: 'agent',
10
10
  description: 'Agent management commands',
11
- subcommands: [spawnCommand, listCommand, statusCommand, stopCommand, metricsCommand, poolCommand, healthCommand, logsCommand],
11
+ subcommands: [spawnCommand, listCommand, statusCommand, stopCommand, metricsCommand, poolCommand, healthCommand],
12
12
  options: [],
13
13
  examples: [
14
14
  { command: 'monomind agent spawn -t coder', description: 'Spawn a coder agent' },
@@ -30,7 +30,6 @@ export const agentCommand = {
30
30
  `${output.highlight('metrics')} - Show agent metrics`,
31
31
  `${output.highlight('pool')} - Manage agent pool`,
32
32
  `${output.highlight('health')} - Show agent health`,
33
- `${output.highlight('logs')} - Show agent logs`,
34
33
  ]);
35
34
  output.writeln();
36
35
  output.writeln('Run "monomind agent <subcommand> --help" for subcommand help');
@@ -236,7 +236,7 @@ export const diffCommand = {
236
236
  }
237
237
  },
238
238
  };
239
- // Code subcommand (placeholder for future code analysis)
239
+ // Code subcommand
240
240
  export const codeCommand = {
241
241
  name: 'code',
242
242
  description: 'Static code analysis and quality assessment',
@@ -130,8 +130,100 @@ const runSubcommand = {
130
130
  { name: 'port', type: 'number', description: 'CDP port', default: 9222 },
131
131
  ],
132
132
  action: async (ctx) => {
133
- output.printInfo('Direct action run is coming soon. Use workflow run to execute actions.');
134
- return { success: true };
133
+ const actionId = ctx.args[0];
134
+ if (!actionId) {
135
+ output.printError('Action ID required. Usage: monomind browse action run <action-id>');
136
+ return { success: false, exitCode: 1 };
137
+ }
138
+ const port = ctx.flags.port ?? 9222;
139
+ const paramsRaw = ctx.flags.params ?? [];
140
+ const params = {};
141
+ for (const pair of paramsRaw) {
142
+ const eq = pair.indexOf('=');
143
+ if (eq > 0)
144
+ params[pair.slice(0, eq)] = pair.slice(eq + 1);
145
+ }
146
+ const customDir = join(ctx.cwd, '.monomind', 'actions');
147
+ const filename = actionId.replace(/[^a-z0-9_-]/gi, '_') + '.json';
148
+ let def;
149
+ try {
150
+ def = JSON.parse(await readFile(join(customDir, filename), 'utf8'));
151
+ }
152
+ catch {
153
+ output.printError(`Action not found: ${actionId}. Run "monomind browse action list" to see available actions.`);
154
+ return { success: false, exitCode: 1 };
155
+ }
156
+ output.printInfo(`Running action: ${def.id} (${def.steps.length} steps)`);
157
+ try {
158
+ const { connectToTarget, openUrl, clickElement, fillElement, evaluateJs, findBySelector, waitFor } = await import('@monoes/monobrowse');
159
+ const { client, sessionId } = await connectToTarget(port);
160
+ const refs = new Map();
161
+ const interpolate = (s) => s.replace(/\{\{(\w+)\}\}/g, (_, k) => params[k] ?? `{{${k}}}`);
162
+ for (const step of def.steps) {
163
+ switch (step.type) {
164
+ case 'navigate':
165
+ await openUrl(client, sessionId, interpolate(step.url));
166
+ output.writeln(output.dim(` navigate -> ${step.url}`));
167
+ break;
168
+ case 'find':
169
+ for (const sel of step.selectors ?? []) {
170
+ const found = await findBySelector(client, sessionId, refs, interpolate(sel)).catch(() => null);
171
+ if (found) {
172
+ refs.set(step.as, found);
173
+ break;
174
+ }
175
+ }
176
+ output.writeln(output.dim(` find -> ${step.as}`));
177
+ break;
178
+ case 'click': {
179
+ const ref = refs.get(step.target);
180
+ if (!ref)
181
+ throw new Error(`Element "${step.target}" not found`);
182
+ await clickElement(client, sessionId, ref);
183
+ output.writeln(output.dim(` click -> ${step.target}`));
184
+ break;
185
+ }
186
+ case 'type': {
187
+ const ref = refs.get(step.target);
188
+ if (!ref)
189
+ throw new Error(`Element "${step.target}" not found`);
190
+ await fillElement(client, sessionId, ref, interpolate(step.text));
191
+ output.writeln(output.dim(` type -> ${step.target}`));
192
+ break;
193
+ }
194
+ case 'wait':
195
+ if (step.condition === 'network_idle')
196
+ await waitFor(client, sessionId, { load: 'networkidle', timeout: step.timeout });
197
+ else if (step.condition === 'selector')
198
+ await waitFor(client, sessionId, { selector: step.selector, timeout: step.timeout });
199
+ else if (step.condition === 'duration')
200
+ await new Promise(r => setTimeout(r, step.timeout ?? 1000));
201
+ output.writeln(output.dim(` wait -> ${step.condition}`));
202
+ break;
203
+ case 'extract': {
204
+ const ref = refs.get(step.target);
205
+ if (!ref)
206
+ throw new Error(`Element "${step.target}" not found`);
207
+ const val = await evaluateJs(client, sessionId, `document.querySelector('[data-ref="${ref.ref}"]')?.textContent`);
208
+ output.writeln(output.dim(` extract -> ${step.as}: ${val}`));
209
+ break;
210
+ }
211
+ case 'condition': {
212
+ const result = await evaluateJs(client, sessionId, step.expression);
213
+ if (result) {
214
+ output.writeln(output.dim(' condition -> true branch'));
215
+ }
216
+ break;
217
+ }
218
+ }
219
+ }
220
+ output.printSuccess(`Action ${def.id} completed successfully.`);
221
+ return { success: true };
222
+ }
223
+ catch (err) {
224
+ output.printError(`Action failed: ${err.message}`);
225
+ return { success: false, exitCode: 1 };
226
+ }
135
227
  },
136
228
  };
137
229
  export const browseActionCommand = {
@@ -8,20 +8,20 @@ import { output } from '../output.js';
8
8
  // Get all top-level commands for completions
9
9
  const TOP_LEVEL_COMMANDS = [
10
10
  'swarm', 'agent', 'task', 'session', 'config', 'memory', 'workflow',
11
- 'hive-mind', 'hooks', 'daemon', 'neural', 'security', 'performance',
12
- 'providers', 'deployment', 'claims', 'embeddings',
11
+ 'hive-mind', 'hooks', 'daemon', 'security', 'performance',
12
+ 'providers', 'claims', 'embeddings',
13
13
  'doctor', 'completions', 'help', 'version'
14
14
  ];
15
15
  // Swarm subcommands
16
- const SWARM_SUBCOMMANDS = ['init', 'status', 'scale', 'destroy', 'monitor', 'optimize'];
16
+ const SWARM_SUBCOMMANDS = ['init', 'status', 'scale', 'destroy', 'monitor'];
17
17
  // Agent subcommands
18
18
  const AGENT_SUBCOMMANDS = ['spawn', 'terminate', 'status', 'list', 'pool', 'health', 'update'];
19
19
  // Task subcommands
20
20
  const TASK_SUBCOMMANDS = ['create', 'status', 'list', 'complete', 'cancel'];
21
21
  // Memory subcommands
22
- const MEMORY_SUBCOMMANDS = ['store', 'retrieve', 'search', 'list', 'delete', 'stats', 'configure', 'cleanup', 'compress', 'export', 'import'];
22
+ const MEMORY_SUBCOMMANDS = ['store', 'retrieve', 'search', 'list', 'delete', 'stats', 'configure', 'export', 'import'];
23
23
  // Hive-mind subcommands
24
- const HIVE_MIND_SUBCOMMANDS = ['init', 'spawn', 'status', 'task', 'join', 'leave', 'consensus', 'broadcast', 'memory', 'optimize-memory', 'shutdown'];
24
+ const HIVE_MIND_SUBCOMMANDS = ['init', 'spawn', 'status', 'join', 'leave', 'consensus', 'broadcast', 'memory', 'shutdown'];
25
25
  // Hooks subcommands
26
26
  const HOOKS_SUBCOMMANDS = ['pre-edit', 'post-edit', 'pre-command', 'post-command', 'pre-task', 'post-task', 'route', 'explain', 'pretrain', 'build-agents', 'metrics', 'transfer', 'list', 'intelligence'];
27
27
  // Generate bash completion script
@@ -69,20 +69,12 @@ _monomind_completions() {
69
69
  COMPREPLY=( $(compgen -W "\${hooks_commands}" -- "\${cur}") )
70
70
  return 0
71
71
  ;;
72
- neural)
73
- COMPREPLY=( $(compgen -W "train status patterns predict optimize" -- "\${cur}") )
74
- return 0
75
- ;;
76
72
  security)
77
- COMPREPLY=( $(compgen -W "scan cve threats audit secrets" -- "\${cur}") )
73
+ COMPREPLY=( $(compgen -W "scan cve audit secrets" -- "\${cur}") )
78
74
  return 0
79
75
  ;;
80
76
  performance)
81
- COMPREPLY=( $(compgen -W "benchmark profile metrics optimize bottleneck" -- "\${cur}") )
82
- return 0
83
- ;;
84
- deployment|deploy)
85
- COMPREPLY=( $(compgen -W "deploy status rollback history environments logs" -- "\${cur}") )
77
+ COMPREPLY=( $(compgen -W "benchmark profile metrics bottleneck" -- "\${cur}") )
86
78
  return 0
87
79
  ;;
88
80
  claims)
@@ -139,11 +131,9 @@ _monomind() {
139
131
  'hive-mind:Queen-led consensus coordination'
140
132
  'hooks:Self-learning automation hooks'
141
133
  'daemon:Background service management'
142
- 'neural:Neural pattern training'
143
134
  'security:Security scanning and CVE detection'
144
135
  'performance:Performance profiling'
145
136
  'providers:AI provider management'
146
- 'deployment:Deployment management'
147
137
  'claims:Claims-based authorization'
148
138
  'embeddings:Vector embeddings'
149
139
  'doctor:System diagnostics'
@@ -170,7 +160,6 @@ _monomind() {
170
160
  'scale:Scale agent count'
171
161
  'destroy:Shutdown swarm'
172
162
  'monitor:Real-time monitoring'
173
- 'optimize:Optimize topology'
174
163
  )
175
164
  ;;
176
165
  agent)
@@ -202,8 +191,6 @@ _monomind() {
202
191
  'delete:Delete entry'
203
192
  'stats:Show statistics'
204
193
  'configure:Configure backend'
205
- 'cleanup:Clean stale data'
206
- 'compress:Compress storage'
207
194
  'export:Export to file'
208
195
  'import:Import from file'
209
196
  )
@@ -213,13 +200,11 @@ _monomind() {
213
200
  'init:Initialize hive mind'
214
201
  'spawn:Spawn worker agents'
215
202
  'status:Show hive status'
216
- 'task:Submit task'
217
203
  'join:Join agent to hive'
218
204
  'leave:Remove agent'
219
205
  'consensus:Consensus management'
220
206
  'broadcast:Broadcast message'
221
207
  'memory:Shared memory'
222
- 'optimize-memory:Optimize patterns'
223
208
  'shutdown:Shutdown hive'
224
209
  )
225
210
  ;;
@@ -241,20 +226,10 @@ _monomind() {
241
226
  'intelligence:Neural intelligence commands'
242
227
  )
243
228
  ;;
244
- neural)
245
- subcommands=(
246
- 'train:Train neural patterns'
247
- 'status:Check neural status'
248
- 'patterns:Manage patterns'
249
- 'predict:Make predictions'
250
- 'optimize:Optimize models'
251
- )
252
- ;;
253
229
  security)
254
230
  subcommands=(
255
231
  'scan:Security scan'
256
232
  'cve:CVE detection'
257
- 'threats:Threat modeling'
258
233
  'audit:Security audit'
259
234
  'secrets:Secrets scanning'
260
235
  )
@@ -264,20 +239,9 @@ _monomind() {
264
239
  'benchmark:Run benchmarks'
265
240
  'profile:Profile code'
266
241
  'metrics:Show metrics'
267
- 'optimize:Optimize performance'
268
242
  'bottleneck:Find bottlenecks'
269
243
  )
270
244
  ;;
271
- deployment|deploy)
272
- subcommands=(
273
- 'deploy:Deploy to environment'
274
- 'status:Deployment status'
275
- 'rollback:Rollback version'
276
- 'history:Deployment history'
277
- 'environments:List environments'
278
- 'logs:View logs'
279
- )
280
- ;;
281
245
  claims)
282
246
  subcommands=(
283
247
  'list:List claims'
@@ -355,17 +319,11 @@ ${HIVE_MIND_SUBCOMMANDS.map(sub => `complete -c monomind -n "__fish_seen_subcomm
355
319
  # Hooks subcommands
356
320
  ${HOOKS_SUBCOMMANDS.map(sub => `complete -c monomind -n "__fish_seen_subcommand_from hooks" -a "${sub}"`).join('\n')}
357
321
 
358
- # Neural subcommands
359
- complete -c monomind -n "__fish_seen_subcommand_from neural" -a "train status patterns predict optimize"
360
-
361
322
  # Security subcommands
362
- complete -c monomind -n "__fish_seen_subcommand_from security" -a "scan cve threats audit secrets"
323
+ complete -c monomind -n "__fish_seen_subcommand_from security" -a "scan cve audit secrets"
363
324
 
364
325
  # Performance subcommands
365
- complete -c monomind -n "__fish_seen_subcommand_from performance" -a "benchmark profile metrics optimize bottleneck"
366
-
367
- # Deployment subcommands
368
- complete -c monomind -n "__fish_seen_subcommand_from deployment deploy" -a "deploy status rollback history environments logs"
326
+ complete -c monomind -n "__fish_seen_subcommand_from performance" -a "benchmark profile metrics bottleneck"
369
327
 
370
328
  # Claims subcommands
371
329
  complete -c monomind -n "__fish_seen_subcommand_from claims" -a "list check grant revoke roles policies"
@@ -398,11 +356,8 @@ $script:SubCommands = @{
398
356
  'hive-mind' = @('${HIVE_MIND_SUBCOMMANDS.join("', '")}')
399
357
  'hive' = @('${HIVE_MIND_SUBCOMMANDS.join("', '")}')
400
358
  'hooks' = @('${HOOKS_SUBCOMMANDS.join("', '")}')
401
- 'neural' = @('train', 'status', 'patterns', 'predict', 'optimize')
402
- 'security' = @('scan', 'cve', 'threats', 'audit', 'secrets')
403
- 'performance' = @('benchmark', 'profile', 'metrics', 'optimize', 'bottleneck')
404
- 'deployment' = @('deploy', 'status', 'rollback', 'history', 'environments', 'logs')
405
- 'deploy' = @('deploy', 'status', 'rollback', 'history', 'environments', 'logs')
359
+ 'security' = @('scan', 'cve', 'audit', 'secrets')
360
+ 'performance' = @('benchmark', 'profile', 'metrics', 'bottleneck')
406
361
  'claims' = @('list', 'check', 'grant', 'revoke', 'roles', 'policies')
407
362
  'embeddings' = @('generate', 'search', 'compare', 'collections', 'index', 'providers')
408
363
  'daemon' = @('start', 'stop', 'status', 'trigger', 'enable')
@@ -19,7 +19,7 @@ export declare function checkGitignoreCoverage(): Promise<HealthCheck>;
19
19
  export declare function checkAgentRegistry(): Promise<HealthCheck>;
20
20
  export declare function checkGuidanceGates(): Promise<HealthCheck>;
21
21
  /**
22
- * AutoMem proficiency check — reports memory learning health (arXiv:2607.01224)
22
+ * AutoMem proficiency check — reports memory learning health
23
23
  */
24
24
  export declare function checkMemoryProficiency(): Promise<HealthCheck>;
25
25
  //# sourceMappingURL=doctor-project-checks.d.ts.map
@@ -446,7 +446,7 @@ export async function checkGuidanceGates() {
446
446
  }
447
447
  }
448
448
  /**
449
- * AutoMem proficiency check — reports memory learning health (arXiv:2607.01224)
449
+ * AutoMem proficiency check — reports memory learning health
450
450
  */
451
451
  export async function checkMemoryProficiency() {
452
452
  try {
@@ -18,8 +18,8 @@ export const TOPOLOGIES = [
18
18
  export const CONSENSUS_STRATEGIES = [
19
19
  { value: 'byzantine', label: 'Byzantine Fault Tolerant', hint: '2/3 majority, handles malicious actors' },
20
20
  { value: 'raft', label: 'Raft', hint: 'Leader-based consensus' },
21
- { value: 'gossip', label: 'Gossip', hint: 'Eventually consistent, scalable' },
22
- { value: 'crdt', label: 'CRDT', hint: 'Conflict-free replicated data' },
21
+ { value: 'gossip', label: 'Gossip', hint: 'Eventually consistent, scalable (planned — not yet implemented)' },
22
+ { value: 'crdt', label: 'CRDT', hint: 'Conflict-free replicated data (planned — not yet implemented)' },
23
23
  { value: 'quorum', label: 'Quorum', hint: 'Simple majority voting' }
24
24
  ];
25
25
  export function groupWorkersByType(workers) {
@@ -1,8 +1,6 @@
1
1
  /**
2
- * Hive Mind operational subcommands — status, task, optimize-memory
2
+ * Hive Mind operational subcommands — status
3
3
  */
4
4
  import type { Command } from '../types.js';
5
5
  export declare const statusCommand: Command;
6
- export declare const taskCommand: Command;
7
- export declare const optimizeMemoryCommand: Command;
8
6
  //# sourceMappingURL=hive-mind-ops.d.ts.map