@monoes/monomindcli 2.16.2 → 2.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/architecture/system-design/arch-system-design.md +4 -1
- package/.claude/agents/consensus/quorum-manager.md +3 -0
- package/.claude/agents/consensus/security-manager.md +4 -1
- package/.claude/agents/core/coder.md +4 -1
- package/.claude/agents/core/coordinator.md +3 -0
- package/.claude/agents/core/planner.md +4 -1
- package/.claude/agents/core/researcher.md +4 -1
- package/.claude/agents/core/reviewer.md +4 -1
- package/.claude/agents/core/tester.md +4 -1
- package/.claude/agents/design/design-monodesign.md +4 -1
- package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-ai-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +3 -0
- package/.claude/agents/engineering/engineering-backend-architect.md +4 -1
- package/.claude/agents/engineering/engineering-code-reviewer.md +5 -0
- package/.claude/agents/engineering/engineering-data-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-database-optimizer.md +4 -1
- package/.claude/agents/engineering/engineering-devops-automator.md +3 -0
- package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +3 -0
- package/.claude/agents/engineering/engineering-feishu-integration-developer.md +4 -1
- package/.claude/agents/engineering/engineering-frontend-developer.md +3 -0
- package/.claude/agents/engineering/engineering-git-workflow-master.md +4 -1
- package/.claude/agents/engineering/engineering-incident-response-commander.md +4 -1
- package/.claude/agents/engineering/engineering-mobile-app-builder.md +3 -0
- package/.claude/agents/engineering/engineering-rapid-prototyper.md +3 -0
- package/.claude/agents/engineering/engineering-security-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-senior-developer.md +3 -0
- package/.claude/agents/engineering/engineering-software-architect.md +4 -1
- package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-sre.md +3 -0
- package/.claude/agents/engineering/engineering-technical-writer.md +4 -1
- package/.claude/agents/engineering/engineering-threat-detection-engineer.md +4 -1
- package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +4 -1
- package/.claude/agents/github/github-modes.md +4 -2
- package/.claude/agents/github/issue-tracker.md +4 -2
- package/.claude/agents/github/monoswarm-code-review.md +4 -2
- package/.claude/agents/github/monoswarm-issue.md +5 -0
- package/.claude/agents/github/monoswarm-multi-repo.md +4 -1
- package/.claude/agents/github/monoswarm-pr.md +5 -0
- package/.claude/agents/github/pr-manager.md +4 -2
- package/.claude/agents/github/project-board-sync.md +4 -2
- package/.claude/agents/github/release-manager.md +4 -2
- package/.claude/agents/github/repo-architect.md +4 -2
- package/.claude/agents/github/sync-coordinator.md +4 -2
- package/.claude/agents/github/workflow-automation.md +4 -2
- package/.claude/agents/goal/goal-planner.md +16 -2
- package/.claude/agents/marketing/marketing-competitive-content.md +4 -1
- package/.claude/agents/marketing/marketing-cro-specialist.md +4 -1
- package/.claude/agents/marketing/marketing-email-specialist.md +4 -1
- package/.claude/agents/marketing/marketing-launch-strategist.md +4 -1
- package/.claude/agents/marketing/marketing-pricing-strategist.md +4 -1
- package/.claude/agents/monoswarm/collective-intelligence-coordinator.md +3 -0
- package/.claude/agents/monoswarm/mesh-coordinator.md +3 -0
- package/.claude/agents/monoswarm/monoswarm-memory-manager.md +4 -2
- package/.claude/agents/monoswarm/scout-explorer.md +4 -2
- package/.claude/agents/monoswarm/worker-specialist.md +3 -0
- package/.claude/agents/optimization/benchmark-suite.md +3 -0
- package/.claude/agents/optimization/load-balancer.md +3 -0
- package/.claude/agents/optimization/performance-monitor.md +3 -0
- package/.claude/agents/optimization/resource-allocator.md +3 -0
- package/.claude/agents/optimization/topology-optimizer.md +3 -0
- package/.claude/agents/specialists/integration-architect.md +4 -2
- package/.claude/agents/specialized/agentic-identity-trust.md +4 -1
- package/.claude/agents/specialized/agents-orchestrator.md +3 -0
- package/.claude/agents/specialized/automation-governance-architect.md +3 -0
- package/.claude/agents/specialized/blockchain-security-auditor.md +4 -1
- package/.claude/agents/specialized/compliance-auditor.md +4 -1
- package/.claude/agents/specialized/identity-graph-operator.md +4 -1
- package/.claude/agents/specialized/lsp-index-engineer.md +3 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +5 -0
- package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +3 -0
- package/.claude/agents/specialized/specialized-developer-advocate.md +4 -1
- package/.claude/agents/specialized/specialized-document-generator.md +4 -1
- package/.claude/agents/specialized/specialized-mcp-builder.md +3 -0
- package/.claude/agents/specialized/specialized-model-qa.md +4 -1
- package/.claude/agents/specialized/specialized-workflow-architect.md +4 -1
- package/.claude/agents/specialized/zk-steward.md +4 -1
- package/.claude/agents/templates/automation-smart-agent.md +4 -1
- package/.claude/agents/templates/coordinator-monoswarm-init.md +4 -1
- package/.claude/agents/testing/production-validator.md +3 -0
- package/.claude/agents/testing/tdd-london-monoswarm.md +3 -0
- package/.claude/agents/testing/testing-accessibility-auditor.md +4 -1
- package/.claude/agents/testing/testing-api-tester.md +4 -1
- package/.claude/agents/testing/testing-evidence-collector.md +3 -0
- package/.claude/agents/testing/testing-performance-benchmarker.md +4 -1
- package/.claude/agents/testing/testing-test-results-analyzer.md +4 -1
- package/.claude/agents/testing/testing-tool-evaluator.md +4 -1
- package/.claude/agents/testing/testing-workflow-optimizer.md +4 -1
- package/.claude/commands/agents/agent-types.md +7 -5
- package/.claude/commands/mastermind/code-review.md +5 -5
- package/.claude/commands/mastermind/content.md +8 -2
- package/.claude/commands/mastermind/createorg.md +2 -2
- package/.claude/commands/mastermind/createtask.md +2 -2
- package/.claude/commands/mastermind/do.md +18 -36
- package/.claude/commands/mastermind/finance.md +8 -2
- package/.claude/commands/mastermind/help.md +5 -11
- package/.claude/commands/mastermind/ideate.md +4 -4
- package/.claude/commands/mastermind/improve.md +3 -3
- package/.claude/commands/mastermind/marketing.md +8 -2
- package/.claude/commands/mastermind/master.md +64 -47
- package/.claude/commands/mastermind/monoswarm.md +7 -5
- package/.claude/commands/mastermind/ops.md +8 -2
- package/.claude/commands/mastermind/orgs.md +1 -1
- package/.claude/commands/mastermind/orgstatus.md +1 -1
- package/.claude/commands/mastermind/runorg.md +2 -2
- package/.claude/commands/mastermind/sales.md +8 -2
- package/.claude/commands/mastermind/stoporg.md +7 -11
- package/.claude/commands/mastermind.md +7 -7
- package/.claude/commands/monoswarm/analysis.md +1 -1
- package/.claude/commands/monoswarm/development.md +1 -1
- package/.claude/commands/monoswarm/maintenance.md +1 -1
- package/.claude/commands/monoswarm/optimization.md +2 -1
- package/.claude/commands/monoswarm/research.md +1 -1
- package/.claude/commands/monoswarm/testing.md +1 -1
- package/.claude/commands/pair/examples.md +3 -2
- package/.claude/commands/pair/modes.md +3 -3
- package/.claude/helpers/agent-registry.cjs +434 -0
- package/.claude/helpers/build-skill-registry.cjs +186 -26
- package/.claude/helpers/handlers/agent-start-handler.cjs +3 -0
- package/.claude/helpers/handlers/capture-handler.cjs +22 -14
- package/.claude/helpers/handlers/edit-handler.cjs +1 -1
- package/.claude/helpers/handlers/pick-core.cjs +463 -0
- package/.claude/helpers/handlers/route-handler.cjs +81 -180
- package/.claude/helpers/handlers/session-handler.cjs +44 -62
- package/.claude/helpers/handlers/session-restore-handler.cjs +8 -1
- package/.claude/helpers/handlers/task-handler.cjs +11 -6
- package/.claude/helpers/hook-handler.cjs +9 -2
- package/.claude/helpers/jev-catalog.cjs +229 -0
- package/.claude/helpers/jev-picker.cjs +38 -147
- package/.claude/helpers/org-skill-index.cjs +230 -0
- package/.claude/helpers/pick-rank.cjs +307 -0
- package/.claude/helpers/pick-stats.cjs +413 -0
- package/.claude/helpers/router.cjs +7 -379
- package/.claude/helpers/utils/monograph-resolve.cjs +12 -4
- package/.claude/settings.json +51 -41
- package/.claude/skills/hooks-automation/SKILL.md +4 -4
- package/.claude/skills/mastermind-access/SKILL.md +4 -3
- package/.claude/skills/mastermind-activity/SKILL.md +3 -2
- package/.claude/skills/mastermind-adapter-manager/SKILL.md +2 -1
- package/.claude/skills/mastermind-adapters/SKILL.md +2 -1
- package/.claude/skills/mastermind-agent-detail/SKILL.md +5 -4
- package/.claude/skills/mastermind-agent-select/SKILL.md +99 -100
- package/.claude/skills/mastermind-agents/SKILL.md +33 -39
- package/.claude/skills/mastermind-approval-detail/SKILL.md +2 -1
- package/.claude/skills/mastermind-backup/SKILL.md +2 -1
- package/.claude/skills/mastermind-bootstrap/SKILL.md +2 -2
- package/.claude/skills/mastermind-budgets/SKILL.md +4 -3
- package/.claude/skills/mastermind-createorg/SKILL.md +26 -8
- package/.claude/skills/mastermind-delegation/SKILL.md +11 -19
- package/.claude/skills/mastermind-diagnose/SKILL.md +3 -3
- package/.claude/skills/mastermind-env/SKILL.md +6 -19
- package/.claude/skills/mastermind-environments/SKILL.md +2 -1
- package/.claude/skills/mastermind-execute/SKILL.md +1 -1
- package/.claude/skills/mastermind-export/SKILL.md +2 -1
- package/.claude/skills/mastermind-goal-detail/SKILL.md +3 -2
- package/.claude/skills/mastermind-goals/SKILL.md +3 -2
- package/.claude/skills/mastermind-idea/SKILL.md +52 -92
- package/.claude/skills/mastermind-import/SKILL.md +2 -1
- package/.claude/skills/mastermind-inbox/SKILL.md +33 -53
- package/.claude/skills/mastermind-instance/SKILL.md +10 -7
- package/.claude/skills/mastermind-invite-landing/SKILL.md +3 -2
- package/.claude/skills/mastermind-invites/SKILL.md +3 -2
- package/.claude/skills/mastermind-issue-detail/SKILL.md +4 -3
- package/.claude/skills/mastermind-issues/SKILL.md +4 -3
- package/.claude/skills/mastermind-join-queue/SKILL.md +5 -4
- package/.claude/skills/mastermind-liveness/SKILL.md +5 -4
- package/.claude/skills/mastermind-monitor/SKILL.md +15 -15
- package/.claude/skills/mastermind-my-issues/SKILL.md +2 -1
- package/.claude/skills/mastermind-new-agent/SKILL.md +120 -137
- package/.claude/skills/mastermind-org-settings/SKILL.md +8 -8
- package/.claude/skills/mastermind-orgs/SKILL.md +27 -32
- package/.claude/skills/mastermind-orgstatus/SKILL.md +50 -140
- package/.claude/skills/mastermind-plan-to-tasks/SKILL.md +1 -1
- package/.claude/skills/mastermind-plugin-manager/SKILL.md +4 -3
- package/.claude/skills/mastermind-plugin-settings/SKILL.md +5 -4
- package/.claude/skills/mastermind-plugins/SKILL.md +3 -2
- package/.claude/skills/mastermind-profile/SKILL.md +2 -1
- package/.claude/skills/mastermind-protocol/SKILL.md +3 -3
- package/.claude/skills/mastermind-release/SKILL.md +13 -8
- package/.claude/skills/mastermind-research/SKILL.md +10 -8
- package/.claude/skills/mastermind-review/SKILL.md +16 -11
- package/.claude/skills/mastermind-routine-detail/SKILL.md +2 -1
- package/.claude/skills/mastermind-routines/SKILL.md +3 -2
- package/.claude/skills/mastermind-runorg/SKILL.md +13 -13
- package/.claude/skills/mastermind-search/SKILL.md +2 -1
- package/.claude/skills/mastermind-secrets/SKILL.md +3 -2
- package/.claude/skills/mastermind-skills/SKILL.md +2 -1
- package/.claude/skills/mastermind-stoporg/SKILL.md +8 -62
- package/.claude/skills/mastermind-tasks/SKILL.md +8 -9
- package/.claude/skills/mastermind-threads/SKILL.md +4 -3
- package/.claude/skills/mastermind-tree-control/SKILL.md +5 -4
- package/.claude/skills/mastermind-workspace-detail/SKILL.md +4 -3
- package/.claude/skills/mastermind-workspaces/SKILL.md +2 -1
- package/.claude/skills/monoswarm/SKILL.md +7 -5
- package/.claude/skills/specialagent/SKILL.md +32 -51
- package/README.md +28 -43
- package/dist/src/agents/registry-builder.d.ts +79 -22
- package/dist/src/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +49 -296
- package/dist/src/agents/registry-builder.js.map +1 -1
- package/dist/src/agents/registry-freshness.d.ts +21 -0
- package/dist/src/agents/registry-freshness.d.ts.map +1 -0
- package/dist/src/agents/registry-freshness.js +45 -0
- package/dist/src/agents/registry-freshness.js.map +1 -0
- package/dist/src/commands/agent-lifecycle.d.ts +11 -5
- package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
- package/dist/src/commands/agent-lifecycle.js +78 -42
- package/dist/src/commands/agent-lifecycle.js.map +1 -1
- package/dist/src/commands/doc.d.ts.map +1 -1
- package/dist/src/commands/doc.js +6 -15
- package/dist/src/commands/doc.js.map +1 -1
- package/dist/src/commands/doctor-env-checks.d.ts +18 -3
- package/dist/src/commands/doctor-env-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-env-checks.js +35 -16
- package/dist/src/commands/doctor-env-checks.js.map +1 -1
- package/dist/src/commands/doctor-fresh-install.d.ts +9 -0
- package/dist/src/commands/doctor-fresh-install.d.ts.map +1 -0
- package/dist/src/commands/doctor-fresh-install.js +43 -0
- package/dist/src/commands/doctor-fresh-install.js.map +1 -0
- package/dist/src/commands/doctor-hook-monograph-checks.d.ts +3 -1
- package/dist/src/commands/doctor-hook-monograph-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-hook-monograph-checks.js +13 -4
- package/dist/src/commands/doctor-hook-monograph-checks.js.map +1 -1
- package/dist/src/commands/doctor-hook-settings-checks.d.ts +5 -0
- package/dist/src/commands/doctor-hook-settings-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-hook-settings-checks.js +50 -0
- package/dist/src/commands/doctor-hook-settings-checks.js.map +1 -0
- package/dist/src/commands/doctor-json.d.ts +41 -0
- package/dist/src/commands/doctor-json.d.ts.map +1 -0
- package/dist/src/commands/doctor-json.js +60 -0
- package/dist/src/commands/doctor-json.js.map +1 -0
- package/dist/src/commands/doctor-mode.d.ts +28 -0
- package/dist/src/commands/doctor-mode.d.ts.map +1 -0
- package/dist/src/commands/doctor-mode.js +109 -0
- package/dist/src/commands/doctor-mode.js.map +1 -0
- package/dist/src/commands/doctor-monoes-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-monoes-checks.js +3 -1
- package/dist/src/commands/doctor-monoes-checks.js.map +1 -1
- package/dist/src/commands/doctor-pick-checks.d.ts +19 -0
- package/dist/src/commands/doctor-pick-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-pick-checks.js +132 -0
- package/dist/src/commands/doctor-pick-checks.js.map +1 -0
- package/dist/src/commands/doctor-project-checks.d.ts +3 -1
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +69 -20
- package/dist/src/commands/doctor-project-checks.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +324 -335
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/hooks-coverage-routing.js +1 -1
- package/dist/src/commands/hooks-coverage-routing.js.map +1 -1
- package/dist/src/commands/hooks-coverage-utils.js +1 -1
- package/dist/src/commands/hooks-coverage-utils.js.map +1 -1
- package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-routing-commands.js +5 -4
- package/dist/src/commands/hooks-routing-commands.js.map +1 -1
- package/dist/src/commands/init-upgrade.d.ts.map +1 -1
- package/dist/src/commands/init-upgrade.js +8 -0
- package/dist/src/commands/init-upgrade.js.map +1 -1
- package/dist/src/commands/init-wizard.d.ts.map +1 -1
- package/dist/src/commands/init-wizard.js +7 -2
- package/dist/src/commands/init-wizard.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +16 -27
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +16 -21
- package/dist/src/commands/monograph.js.map +1 -1
- package/dist/src/commands/monoswarm.d.ts.map +1 -1
- package/dist/src/commands/monoswarm.js +16 -10
- package/dist/src/commands/monoswarm.js.map +1 -1
- package/dist/src/commands/org.js +1 -1
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/commands/pick.d.ts.map +1 -1
- package/dist/src/commands/pick.js +66 -16
- package/dist/src/commands/pick.js.map +1 -1
- package/dist/src/commands/route.d.ts +2 -1
- package/dist/src/commands/route.d.ts.map +1 -1
- package/dist/src/commands/route.js +73 -117
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/decision/catalogs.d.ts +24 -3
- package/dist/src/decision/catalogs.d.ts.map +1 -1
- package/dist/src/decision/catalogs.js +100 -22
- package/dist/src/decision/catalogs.js.map +1 -1
- package/dist/src/decision/jev.d.ts +30 -6
- package/dist/src/decision/jev.d.ts.map +1 -1
- package/dist/src/decision/jev.js +15 -4
- package/dist/src/decision/jev.js.map +1 -1
- package/dist/src/decision/pick-eval.d.ts +67 -0
- package/dist/src/decision/pick-eval.d.ts.map +1 -0
- package/dist/src/decision/pick-eval.js +113 -0
- package/dist/src/decision/pick-eval.js.map +1 -0
- package/dist/src/decision/pick-real.d.ts +93 -0
- package/dist/src/decision/pick-real.d.ts.map +1 -0
- package/dist/src/decision/pick-real.js +253 -0
- package/dist/src/decision/pick-real.js.map +1 -0
- package/dist/src/decision/pick-stats.d.ts +49 -0
- package/dist/src/decision/pick-stats.d.ts.map +1 -0
- package/dist/src/decision/pick-stats.js +68 -0
- package/dist/src/decision/pick-stats.js.map +1 -0
- package/dist/src/decision/picks.d.ts +38 -6
- package/dist/src/decision/picks.d.ts.map +1 -1
- package/dist/src/decision/picks.js +68 -32
- package/dist/src/decision/picks.js.map +1 -1
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +43 -22
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/agent-refresh.d.ts +8 -0
- package/dist/src/init/agent-refresh.d.ts.map +1 -0
- package/dist/src/init/agent-refresh.js +89 -0
- package/dist/src/init/agent-refresh.js.map +1 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +27 -9
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/embeddings-step.d.ts +23 -0
- package/dist/src/init/embeddings-step.d.ts.map +1 -0
- package/dist/src/init/embeddings-step.js +53 -0
- package/dist/src/init/embeddings-step.js.map +1 -0
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +9 -1
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.d.ts +4 -1
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +88 -55
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/hook-settings.d.ts +57 -0
- package/dist/src/init/hook-settings.d.ts.map +1 -0
- package/dist/src/init/hook-settings.js +133 -0
- package/dist/src/init/hook-settings.js.map +1 -0
- package/dist/src/init/project-indexes.d.ts +19 -0
- package/dist/src/init/project-indexes.d.ts.map +1 -0
- package/dist/src/init/project-indexes.js +44 -0
- package/dist/src/init/project-indexes.js.map +1 -0
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +44 -25
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared.d.ts +14 -0
- package/dist/src/init/shared.d.ts.map +1 -1
- package/dist/src/init/shared.js +24 -1
- package/dist/src/init/shared.js.map +1 -1
- package/dist/src/init/types.d.ts +13 -2
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +11 -3
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/init/upgrade.d.ts +7 -0
- package/dist/src/init/upgrade.d.ts.map +1 -1
- package/dist/src/init/upgrade.js +139 -130
- package/dist/src/init/upgrade.js.map +1 -1
- package/dist/src/init/write-antigravity.d.ts +1 -0
- package/dist/src/init/write-antigravity.d.ts.map +1 -1
- package/dist/src/init/write-antigravity.js +19 -1
- package/dist/src/init/write-antigravity.js.map +1 -1
- package/dist/src/init/write-capabilities.d.ts.map +1 -1
- package/dist/src/init/write-capabilities.js +10 -33
- package/dist/src/init/write-capabilities.js.map +1 -1
- package/dist/src/init/write-claude.d.ts.map +1 -1
- package/dist/src/init/write-claude.js +10 -4
- package/dist/src/init/write-claude.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +4 -0
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +3 -0
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +14 -5
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +19 -10
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-embedding.d.ts +1 -32
- package/dist/src/mcp-tools/hooks-embedding.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-embedding.js +22 -200
- package/dist/src/mcp-tools/hooks-embedding.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +81 -195
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +1 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +1 -0
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.js +16 -9
- package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -1
- package/dist/src/mcp-tools/org-skill-tools.d.ts +4 -0
- package/dist/src/mcp-tools/org-skill-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/org-skill-tools.js +42 -0
- package/dist/src/mcp-tools/org-skill-tools.js.map +1 -0
- package/dist/src/mcp-tools/pick-tools.d.ts +4 -0
- package/dist/src/mcp-tools/pick-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/pick-tools.js +53 -0
- package/dist/src/mcp-tools/pick-tools.js.map +1 -0
- package/dist/src/memory/embedding-operations.d.ts +0 -4
- package/dist/src/memory/embedding-operations.d.ts.map +1 -1
- package/dist/src/memory/embedding-operations.js +11 -85
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +7 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +15 -0
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/monovector/coverage-router.d.ts +2 -1
- package/dist/src/monovector/coverage-router.d.ts.map +1 -1
- package/dist/src/monovector/coverage-router.js +6 -5
- package/dist/src/monovector/coverage-router.js.map +1 -1
- package/dist/src/monovector/coverage-tools.js +1 -1
- package/dist/src/monovector/coverage-tools.js.map +1 -1
- package/dist/src/monovector/index.d.ts +1 -1
- package/dist/src/monovector/index.d.ts.map +1 -1
- package/dist/src/monovector/index.js +11 -35
- package/dist/src/monovector/index.js.map +1 -1
- package/dist/src/monovector/route-outcomes.d.ts.map +1 -1
- package/dist/src/monovector/route-outcomes.js +89 -34
- package/dist/src/monovector/route-outcomes.js.map +1 -1
- package/dist/src/orgrt/bash-timeout.d.ts +17 -0
- package/dist/src/orgrt/bash-timeout.d.ts.map +1 -1
- package/dist/src/orgrt/bash-timeout.js +15 -0
- package/dist/src/orgrt/bash-timeout.js.map +1 -1
- package/dist/src/orgrt/daemon.d.ts +7 -13
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +12 -23
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/decisions.d.ts +3 -8
- package/dist/src/orgrt/decisions.d.ts.map +1 -1
- package/dist/src/orgrt/decisions.js +36 -47
- package/dist/src/orgrt/decisions.js.map +1 -1
- package/dist/src/orgrt/dispatch-hold.d.ts +34 -0
- package/dist/src/orgrt/dispatch-hold.d.ts.map +1 -0
- package/dist/src/orgrt/dispatch-hold.js +75 -0
- package/dist/src/orgrt/dispatch-hold.js.map +1 -0
- package/dist/src/orgrt/runner-registry.d.ts +20 -0
- package/dist/src/orgrt/runner-registry.d.ts.map +1 -1
- package/dist/src/orgrt/runner-registry.js +39 -0
- package/dist/src/orgrt/runner-registry.js.map +1 -1
- package/dist/src/orgrt/sandbox-deny-write.d.ts +11 -1
- package/dist/src/orgrt/sandbox-deny-write.d.ts.map +1 -1
- package/dist/src/orgrt/sandbox-deny-write.js +23 -2
- package/dist/src/orgrt/sandbox-deny-write.js.map +1 -1
- package/dist/src/orgrt/sandbox-fault.d.ts +5 -1
- package/dist/src/orgrt/sandbox-fault.d.ts.map +1 -1
- package/dist/src/orgrt/sandbox-fault.js +14 -2
- package/dist/src/orgrt/sandbox-fault.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +16 -7
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +44 -64
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/skill-library.d.ts +4 -0
- package/dist/src/orgrt/skill-library.d.ts.map +1 -1
- package/dist/src/orgrt/skill-library.js +12 -0
- package/dist/src/orgrt/skill-library.js.map +1 -1
- package/dist/src/orgrt/skill-tools.d.ts +11 -0
- package/dist/src/orgrt/skill-tools.d.ts.map +1 -0
- package/dist/src/orgrt/skill-tools.js +40 -0
- package/dist/src/orgrt/skill-tools.js.map +1 -0
- package/dist/src/orgrt/task-cancel.d.ts +64 -0
- package/dist/src/orgrt/task-cancel.d.ts.map +1 -0
- package/dist/src/orgrt/task-cancel.js +134 -0
- package/dist/src/orgrt/task-cancel.js.map +1 -0
- package/dist/src/orgrt/task-dag.d.ts +10 -1
- package/dist/src/orgrt/task-dag.d.ts.map +1 -1
- package/dist/src/orgrt/task-dag.js.map +1 -1
- package/dist/src/orgrt/task-match.d.ts +123 -0
- package/dist/src/orgrt/task-match.d.ts.map +1 -0
- package/dist/src/orgrt/task-match.js +249 -0
- package/dist/src/orgrt/task-match.js.map +1 -0
- package/dist/src/orgrt/task-provenance.d.ts +26 -0
- package/dist/src/orgrt/task-provenance.d.ts.map +1 -0
- package/dist/src/orgrt/task-provenance.js +93 -0
- package/dist/src/orgrt/task-provenance.js.map +1 -0
- package/dist/src/orgrt/task-tools.d.ts +24 -0
- package/dist/src/orgrt/task-tools.d.ts.map +1 -0
- package/dist/src/orgrt/task-tools.js +75 -0
- package/dist/src/orgrt/task-tools.js.map +1 -0
- package/dist/src/output.d.ts +6 -0
- package/dist/src/output.d.ts.map +1 -1
- package/dist/src/output.js +13 -2
- package/dist/src/output.js.map +1 -1
- package/dist/src/protocol-capabilities.d.ts +8 -1
- package/dist/src/protocol-capabilities.d.ts.map +1 -1
- package/dist/src/protocol-capabilities.js +10 -0
- package/dist/src/protocol-capabilities.js.map +1 -1
- package/dist/src/routing/agent-pick.d.ts +44 -0
- package/dist/src/routing/agent-pick.d.ts.map +1 -0
- package/dist/src/routing/agent-pick.js +114 -0
- package/dist/src/routing/agent-pick.js.map +1 -0
- package/dist/src/routing/pick-step.d.ts +26 -0
- package/dist/src/routing/pick-step.d.ts.map +1 -0
- package/dist/src/routing/pick-step.js +40 -0
- package/dist/src/routing/pick-step.js.map +1 -0
- package/dist/src/routing/route-layer-factory.d.ts.map +1 -1
- package/dist/src/routing/route-layer-factory.js +19 -17
- package/dist/src/routing/route-layer-factory.js.map +1 -1
- package/dist/src/utils/resource-governor.d.ts.map +1 -1
- package/dist/src/utils/resource-governor.js +28 -8
- package/dist/src/utils/resource-governor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/org-skills/SOURCES.md +6 -6
- package/org-skills/TAGS.md +146 -0
- package/org-skills/ab-testing/SKILL.md +2 -2
- package/org-skills/accessibility-compliance/SKILL.md +2 -2
- package/org-skills/account-strategist/SKILL.md +2 -2
- package/org-skills/accounts-payable/SKILL.md +2 -2
- package/org-skills/ad-creative/SKILL.md +2 -2
- package/org-skills/adaptive-coordinator/SKILL.md +2 -2
- package/org-skills/adaptive-coordinator2/SKILL.md +2 -2
- package/org-skills/advanced-evaluation/SKILL.md +2 -2
- package/org-skills/adversarial-reviewer/SKILL.md +2 -2
- package/org-skills/agent-evaluation/SKILL.md +2 -2
- package/org-skills/agent-memory-systems/SKILL.md +2 -2
- package/org-skills/agent-tool-design/SKILL.md +2 -2
- package/org-skills/agile-product-owner/SKILL.md +2 -2
- package/org-skills/ai-citation/SKILL.md +2 -2
- package/org-skills/ai-engineer/SKILL.md +2 -2
- package/org-skills/ai-seo/SKILL.md +2 -2
- package/org-skills/analytics-reporter/SKILL.md +2 -2
- package/org-skills/analytics-tracking/SKILL.md +2 -2
- package/org-skills/android-clean-architecture/SKILL.md +2 -2
- package/org-skills/angular-architect/SKILL.md +2 -2
- package/org-skills/api-design/SKILL.md +2 -2
- package/org-skills/api-designer/SKILL.md +2 -2
- package/org-skills/api-tester/SKILL.md +2 -2
- package/org-skills/app-store-optimization/SKILL.md +2 -2
- package/org-skills/architecture-decision-records/SKILL.md +2 -2
- package/org-skills/architecture-designer/SKILL.md +2 -2
- package/org-skills/architecture-patterns/SKILL.md +2 -2
- package/org-skills/article-writing/SKILL.md +2 -2
- package/org-skills/auth-implementation-patterns/SKILL.md +2 -2
- package/org-skills/automation-governance/SKILL.md +2 -2
- package/org-skills/avoid-ai-writing/SKILL.md +2 -2
- package/org-skills/backend-dev/SKILL.md +2 -2
- package/org-skills/backend-patterns/SKILL.md +2 -2
- package/org-skills/bash-defensive-patterns/SKILL.md +2 -2
- package/org-skills/before-you-build/SKILL.md +2 -2
- package/org-skills/benchmark-methodology/SKILL.md +2 -2
- package/org-skills/benchmarker/SKILL.md +2 -2
- package/org-skills/blockchain-auditor/SKILL.md +2 -2
- package/org-skills/board-deck-builder/SKILL.md +2 -2
- package/org-skills/business-investment-advisor/SKILL.md +2 -2
- package/org-skills/byzantine-coord/SKILL.md +2 -2
- package/org-skills/canvas-design/SKILL.md +2 -2
- package/org-skills/carrier-relationship-management/SKILL.md +2 -2
- package/org-skills/case-analyst/SKILL.md +2 -2
- package/org-skills/ceo-advisor/SKILL.md +2 -2
- package/org-skills/cfo-advisor/SKILL.md +2 -2
- package/org-skills/change-management/SKILL.md +2 -2
- package/org-skills/changelog-automation/SKILL.md +2 -2
- package/org-skills/chro-advisor/SKILL.md +2 -2
- package/org-skills/churn-prevention/SKILL.md +2 -2
- package/org-skills/cicd-engineer/SKILL.md +2 -2
- package/org-skills/ciso-advisor/SKILL.md +2 -2
- package/org-skills/click-path-audit/SKILL.md +2 -2
- package/org-skills/cloud-architect/SKILL.md +2 -2
- package/org-skills/cloud-architecture/SKILL.md +2 -2
- package/org-skills/cmo-advisor/SKILL.md +2 -2
- package/org-skills/co-marketing/SKILL.md +2 -2
- package/org-skills/code-documenter/SKILL.md +2 -2
- package/org-skills/code-review-swarm/SKILL.md +2 -2
- package/org-skills/code-reviewer/SKILL.md +2 -2
- package/org-skills/coder/SKILL.md +2 -2
- package/org-skills/coding-standards/SKILL.md +2 -2
- package/org-skills/cold-email/SKILL.md +2 -2
- package/org-skills/collective-coord/SKILL.md +2 -2
- package/org-skills/community-marketing/SKILL.md +2 -2
- package/org-skills/competitive-landscape/SKILL.md +2 -2
- package/org-skills/competitive-platform-analysis/SKILL.md +2 -2
- package/org-skills/competitive-report-structure/SKILL.md +2 -2
- package/org-skills/competitive-teardown/SKILL.md +2 -2
- package/org-skills/competitor-comparison-pages/SKILL.md +2 -2
- package/org-skills/compliance-auditor/SKILL.md +2 -2
- package/org-skills/consensus-coordinator/SKILL.md +2 -2
- package/org-skills/content-creator/SKILL.md +2 -2
- package/org-skills/content-engine/SKILL.md +2 -2
- package/org-skills/content-strategy/SKILL.md +2 -2
- package/org-skills/context-compression/SKILL.md +2 -2
- package/org-skills/context-degradation/SKILL.md +2 -2
- package/org-skills/context-fundamentals/SKILL.md +2 -2
- package/org-skills/context-optimization/SKILL.md +2 -2
- package/org-skills/contract-and-proposal-writer/SKILL.md +1 -1
- package/org-skills/contract-first/SKILL.md +2 -2
- package/org-skills/coo-advisor/SKILL.md +2 -2
- package/org-skills/copy-editing/SKILL.md +2 -2
- package/org-skills/copywriting/SKILL.md +2 -2
- package/org-skills/cost-aware-llm-pipeline/SKILL.md +2 -2
- package/org-skills/cost-optimization/SKILL.md +2 -2
- package/org-skills/cpp-coding-standards/SKILL.md +2 -2
- package/org-skills/cpp-pro/SKILL.md +2 -2
- package/org-skills/cro-advisor/SKILL.md +2 -2
- package/org-skills/cro-specialist/SKILL.md +2 -2
- package/org-skills/csharp-developer/SKILL.md +2 -2
- package/org-skills/cto-advisor/SKILL.md +2 -2
- package/org-skills/culture-architect/SKILL.md +2 -2
- package/org-skills/customer-research/SKILL.md +2 -2
- package/org-skills/customs-trade-compliance/SKILL.md +2 -2
- package/org-skills/dart-flutter-patterns/SKILL.md +2 -2
- package/org-skills/dashboard-builder/SKILL.md +2 -2
- package/org-skills/data-consolidator/SKILL.md +2 -2
- package/org-skills/data-engineer/SKILL.md +2 -2
- package/org-skills/data-quality-frameworks/SKILL.md +2 -2
- package/org-skills/data-storytelling/SKILL.md +2 -2
- package/org-skills/database-migrations/SKILL.md +2 -2
- package/org-skills/database-optimizer/SKILL.md +2 -2
- package/org-skills/dbt-transformation-patterns/SKILL.md +2 -2
- package/org-skills/deal-strategist/SKILL.md +2 -2
- package/org-skills/debugging-wizard/SKILL.md +2 -2
- package/org-skills/deep-research/SKILL.md +2 -2
- package/org-skills/defender/SKILL.md +2 -2
- package/org-skills/dependency-upgrade/SKILL.md +2 -2
- package/org-skills/deployment-patterns/SKILL.md +2 -2
- package/org-skills/deployment-pipeline-design/SKILL.md +2 -2
- package/org-skills/design-system/SKILL.md +2 -2
- package/org-skills/design-system-patterns/SKILL.md +2 -2
- package/org-skills/devops-automator/SKILL.md +2 -2
- package/org-skills/devops-engineer/SKILL.md +2 -2
- package/org-skills/discovery-coach/SKILL.md +2 -2
- package/org-skills/django-expert/SKILL.md +2 -2
- package/org-skills/django-patterns/SKILL.md +2 -2
- package/org-skills/docker-patterns/SKILL.md +2 -2
- package/org-skills/dotnet-patterns/SKILL.md +2 -2
- package/org-skills/e2e-testing/SKILL.md +2 -2
- package/org-skills/email-marketing/SKILL.md +2 -2
- package/org-skills/email-sequences/SKILL.md +2 -2
- package/org-skills/embedded-firmware/SKILL.md +2 -2
- package/org-skills/embedded-systems/SKILL.md +2 -2
- package/org-skills/employment-contract-templates/SKILL.md +2 -2
- package/org-skills/energy-procurement/SKILL.md +2 -2
- package/org-skills/error-handling/SKILL.md +2 -2
- package/org-skills/event-marketing/SKILL.md +2 -2
- package/org-skills/evidence-collector/SKILL.md +2 -2
- package/org-skills/experiment-designer/SKILL.md +2 -2
- package/org-skills/experiment-tracker/SKILL.md +2 -2
- package/org-skills/experimental-design/SKILL.md +2 -2
- package/org-skills/fastapi-expert/SKILL.md +2 -2
- package/org-skills/fastapi-patterns/SKILL.md +2 -2
- package/org-skills/feedback-synthesizer/SKILL.md +2 -2
- package/org-skills/finance-tracker/SKILL.md +2 -2
- package/org-skills/finishing-a-development-branch/SKILL.md +2 -2
- package/org-skills/flutter-expert/SKILL.md +2 -2
- package/org-skills/focused-fix/SKILL.md +2 -2
- package/org-skills/free-tool-strategy/SKILL.md +2 -2
- package/org-skills/frontend-design/SKILL.md +2 -2
- package/org-skills/frontend-design-direction/SKILL.md +2 -2
- package/org-skills/frontend-developer/SKILL.md +2 -2
- package/org-skills/frontend-patterns/SKILL.md +2 -2
- package/org-skills/game-audio-engineer/SKILL.md +2 -2
- package/org-skills/game-designer/SKILL.md +2 -2
- package/org-skills/gdpr-data-handling/SKILL.md +2 -2
- package/org-skills/general-counsel-advisor/SKILL.md +2 -2
- package/org-skills/git-advanced-workflows/SKILL.md +2 -2
- package/org-skills/git-workflow/SKILL.md +2 -2
- package/org-skills/golang-patterns/SKILL.md +2 -2
- package/org-skills/golang-pro/SKILL.md +2 -2
- package/org-skills/harness-engineering/SKILL.md +2 -2
- package/org-skills/healthcare-phi-compliance/SKILL.md +2 -2
- package/org-skills/hexagonal-architecture/SKILL.md +2 -2
- package/org-skills/hierarchical-coord/SKILL.md +2 -2
- package/org-skills/huggingface-transformers/SKILL.md +2 -2
- package/org-skills/hypothesis-generation/SKILL.md +2 -2
- package/org-skills/incident-command-playbook/SKILL.md +2 -2
- package/org-skills/incident-commander/SKILL.md +2 -2
- package/org-skills/incident-runbook-templates/SKILL.md +2 -2
- package/org-skills/influencer-marketing/SKILL.md +2 -2
- package/org-skills/infrastructure/SKILL.md +2 -2
- package/org-skills/input-validator/SKILL.md +2 -2
- package/org-skills/intent-driven-development/SKILL.md +2 -2
- package/org-skills/inventory-demand-planning/SKILL.md +2 -2
- package/org-skills/investor-materials/SKILL.md +2 -2
- package/org-skills/ios-developer/SKILL.md +2 -2
- package/org-skills/isms-audit-expert/SKILL.md +2 -2
- package/org-skills/issue-tracker/SKILL.md +2 -2
- package/org-skills/java-architect/SKILL.md +2 -2
- package/org-skills/java-coding-standards/SKILL.md +2 -2
- package/org-skills/judge/SKILL.md +2 -2
- package/org-skills/kotlin-patterns/SKILL.md +2 -2
- package/org-skills/kotlin-specialist/SKILL.md +2 -2
- package/org-skills/kpi-dashboard-design/SKILL.md +2 -2
- package/org-skills/kubernetes-patterns/SKILL.md +2 -2
- package/org-skills/kubernetes-specialist/SKILL.md +2 -2
- package/org-skills/laravel-patterns/SKILL.md +2 -2
- package/org-skills/launch-strategist/SKILL.md +2 -2
- package/org-skills/launch-strategy/SKILL.md +2 -2
- package/org-skills/lead-magnets/SKILL.md +2 -2
- package/org-skills/legacy-modernizer/SKILL.md +2 -2
- package/org-skills/legal-compliance/SKILL.md +2 -2
- package/org-skills/level-designer/SKILL.md +2 -2
- package/org-skills/llm-cost-optimizer/SKILL.md +2 -2
- package/org-skills/llm-evaluation/SKILL.md +2 -2
- package/org-skills/llm-project-development/SKILL.md +2 -2
- package/org-skills/load-balancer/SKILL.md +2 -2
- package/org-skills/logistics-exception-management/SKILL.md +2 -2
- package/org-skills/long-horizon-prompting/SKILL.md +2 -2
- package/org-skills/make-interfaces-feel-better/SKILL.md +2 -2
- package/org-skills/markdown-mermaid-writing/SKILL.md +2 -2
- package/org-skills/market-research/SKILL.md +2 -2
- package/org-skills/market-research-reports/SKILL.md +2 -2
- package/org-skills/market-sizing-analysis/SKILL.md +2 -2
- package/org-skills/marketing-attribution/SKILL.md +2 -2
- package/org-skills/marketing-campaign/SKILL.md +2 -2
- package/org-skills/marketing-council/SKILL.md +2 -2
- package/org-skills/marketing-demand-acquisition/SKILL.md +2 -2
- package/org-skills/marketing-loops/SKILL.md +2 -2
- package/org-skills/marketing-plan/SKILL.md +2 -2
- package/org-skills/marketing-psychology/SKILL.md +2 -2
- package/org-skills/marketing-strategy-pmm/SKILL.md +2 -2
- package/org-skills/markitdown-document-conversion/SKILL.md +2 -2
- package/org-skills/mcp-builder/SKILL.md +2 -2
- package/org-skills/mcp-server-builder/SKILL.md +2 -2
- package/org-skills/mcp-server-patterns/SKILL.md +2 -2
- package/org-skills/memory-coordinator/SKILL.md +2 -2
- package/org-skills/mesh-coordinator/SKILL.md +2 -2
- package/org-skills/ml-developer/SKILL.md +2 -2
- package/org-skills/ml-pipeline/SKILL.md +2 -2
- package/org-skills/mle-workflow/SKILL.md +2 -2
- package/org-skills/mobile-app-builder/SKILL.md +2 -2
- package/org-skills/mobile-dev/SKILL.md +2 -2
- package/org-skills/model-qa/SKILL.md +2 -2
- package/org-skills/monitoring-expert/SKILL.md +2 -2
- package/org-skills/monodesign-ui-quality/SKILL.md +2 -2
- package/org-skills/monograph-code-navigation/SKILL.md +2 -2
- package/org-skills/monolean-minimal-change/SKILL.md +2 -2
- package/org-skills/multi-agent-patterns/SKILL.md +2 -2
- package/org-skills/mysql-patterns/SKILL.md +2 -2
- package/org-skills/narrative-designer/SKILL.md +2 -2
- package/org-skills/nextjs-developer/SKILL.md +2 -2
- package/org-skills/offer-design/SKILL.md +2 -2
- package/org-skills/onboarding-cro/SKILL.md +2 -2
- package/org-skills/outbound-strategist/SKILL.md +2 -2
- package/org-skills/page-cro/SKILL.md +2 -2
- package/org-skills/paid-ads/SKILL.md +2 -2
- package/org-skills/pandas-pro/SKILL.md +2 -2
- package/org-skills/path-validator/SKILL.md +2 -2
- package/org-skills/payment-agent/SKILL.md +2 -2
- package/org-skills/pci-compliance/SKILL.md +2 -2
- package/org-skills/perf-analyzer/SKILL.md +2 -2
- package/org-skills/php-pro/SKILL.md +2 -2
- package/org-skills/pipeline-analyst/SKILL.md +2 -2
- package/org-skills/planner/SKILL.md +2 -2
- package/org-skills/playwright-expert/SKILL.md +2 -2
- package/org-skills/postgres-patterns/SKILL.md +2 -2
- package/org-skills/postgresql-table-design/SKILL.md +2 -2
- package/org-skills/postmortem-writing/SKILL.md +2 -2
- package/org-skills/pr-manager/SKILL.md +2 -2
- package/org-skills/pricing-strategist/SKILL.md +2 -2
- package/org-skills/pricing-strategy/SKILL.md +2 -2
- package/org-skills/prisma-patterns/SKILL.md +2 -2
- package/org-skills/product-capability/SKILL.md +2 -2
- package/org-skills/product-discovery/SKILL.md +2 -2
- package/org-skills/product-lens/SKILL.md +2 -2
- package/org-skills/product-manager/SKILL.md +2 -2
- package/org-skills/product-marketing-context/SKILL.md +2 -2
- package/org-skills/production-audit/SKILL.md +2 -2
- package/org-skills/production-scheduling/SKILL.md +2 -2
- package/org-skills/production-validator/SKILL.md +2 -2
- package/org-skills/programmatic-seo/SKILL.md +2 -2
- package/org-skills/project-shepherd/SKILL.md +2 -2
- package/org-skills/prompt-engineer/SKILL.md +2 -2
- package/org-skills/proposal-strategist/SKILL.md +2 -2
- package/org-skills/prosecutor/SKILL.md +2 -2
- package/org-skills/public-relations/SKILL.md +2 -2
- package/org-skills/pymc-bayesian-modeling/SKILL.md +2 -2
- package/org-skills/python-patterns/SKILL.md +2 -2
- package/org-skills/python-pro/SKILL.md +2 -2
- package/org-skills/python-testing/SKILL.md +2 -2
- package/org-skills/quality-nonconformance/SKILL.md +2 -2
- package/org-skills/queen-coordinator/SKILL.md +2 -2
- package/org-skills/quorum-manager/SKILL.md +2 -2
- package/org-skills/raft-manager/SKILL.md +2 -2
- package/org-skills/rag-architect/SKILL.md +2 -2
- package/org-skills/rails-patterns/SKILL.md +2 -2
- package/org-skills/react-expert/SKILL.md +2 -2
- package/org-skills/react-native-expert/SKILL.md +2 -2
- package/org-skills/react-native-patterns/SKILL.md +2 -2
- package/org-skills/react-patterns/SKILL.md +2 -2
- package/org-skills/react-performance/SKILL.md +2 -2
- package/org-skills/react-testing/SKILL.md +2 -2
- package/org-skills/reality-checker/SKILL.md +2 -2
- package/org-skills/receiving-code-review/SKILL.md +2 -2
- package/org-skills/recruitment/SKILL.md +2 -2
- package/org-skills/redis-patterns/SKILL.md +2 -2
- package/org-skills/referral-programs/SKILL.md +2 -2
- package/org-skills/release-manager/SKILL.md +2 -2
- package/org-skills/repo-architect/SKILL.md +2 -2
- package/org-skills/researcher/SKILL.md +2 -2
- package/org-skills/resource-allocator/SKILL.md +2 -2
- package/org-skills/responsive-design/SKILL.md +2 -2
- package/org-skills/returns-reverse-logistics/SKILL.md +2 -2
- package/org-skills/reviewer/SKILL.md +2 -2
- package/org-skills/revops/SKILL.md +2 -2
- package/org-skills/roadmap-communicator/SKILL.md +2 -2
- package/org-skills/rust-engineer/SKILL.md +2 -2
- package/org-skills/rust-patterns/SKILL.md +2 -2
- package/org-skills/safe-executor/SKILL.md +2 -2
- package/org-skills/sales-coach/SKILL.md +2 -2
- package/org-skills/sales-enablement/SKILL.md +2 -2
- package/org-skills/sales-engineer/SKILL.md +2 -2
- package/org-skills/sales-prospecting/SKILL.md +2 -2
- package/org-skills/schema-markup/SKILL.md +2 -2
- package/org-skills/scientific-brainstorming/SKILL.md +2 -2
- package/org-skills/scientific-critical-thinking/SKILL.md +2 -2
- package/org-skills/scientific-thinking-literature-review/SKILL.md +2 -2
- package/org-skills/scientific-thinking-scholar-evaluation/SKILL.md +2 -2
- package/org-skills/scientific-visualization/SKILL.md +2 -2
- package/org-skills/scientific-writing/SKILL.md +2 -2
- package/org-skills/scout-explorer/SKILL.md +2 -2
- package/org-skills/secrets-vault-manager/SKILL.md +2 -2
- package/org-skills/secure-code-guardian/SKILL.md +2 -2
- package/org-skills/security-architect/SKILL.md +2 -2
- package/org-skills/security-auditor/SKILL.md +2 -2
- package/org-skills/security-review/SKILL.md +2 -2
- package/org-skills/security-reviewer/SKILL.md +2 -2
- package/org-skills/senior-data-scientist/SKILL.md +2 -2
- package/org-skills/senior-developer/SKILL.md +2 -2
- package/org-skills/senior-pm/SKILL.md +2 -2
- package/org-skills/senior-pm-playbook/SKILL.md +2 -2
- package/org-skills/seo/SKILL.md +2 -2
- package/org-skills/seo-audit/SKILL.md +2 -2
- package/org-skills/seo-specialist/SKILL.md +2 -2
- package/org-skills/shap-model-explainability/SKILL.md +2 -2
- package/org-skills/signup-flow-cro/SKILL.md +2 -2
- package/org-skills/site-architecture/SKILL.md +2 -2
- package/org-skills/sms-marketing/SKILL.md +2 -2
- package/org-skills/soc2-compliance/SKILL.md +2 -2
- package/org-skills/social-content/SKILL.md +2 -2
- package/org-skills/social-media/SKILL.md +2 -2
- package/org-skills/social-media-manager/SKILL.md +2 -2
- package/org-skills/solidity-engineer/SKILL.md +2 -2
- package/org-skills/spark-engineer/SKILL.md +2 -2
- package/org-skills/spec-driven-workflow/SKILL.md +2 -2
- package/org-skills/springboot-patterns/SKILL.md +2 -2
- package/org-skills/sprint-prioritizer/SKILL.md +2 -2
- package/org-skills/sql-pro/SKILL.md +2 -2
- package/org-skills/sre/SKILL.md +2 -2
- package/org-skills/sre-engineer/SKILL.md +2 -2
- package/org-skills/startup-financial-modeling/SKILL.md +2 -2
- package/org-skills/startup-metrics-framework/SKILL.md +2 -2
- package/org-skills/statistical-analysis/SKILL.md +2 -2
- package/org-skills/statistical-power/SKILL.md +2 -2
- package/org-skills/stride-analysis-patterns/SKILL.md +2 -2
- package/org-skills/stripe-integration/SKILL.md +2 -2
- package/org-skills/studio-operations/SKILL.md +2 -2
- package/org-skills/studio-producer/SKILL.md +2 -2
- package/org-skills/support-responder/SKILL.md +2 -2
- package/org-skills/swift-expert/SKILL.md +2 -2
- package/org-skills/swiftui-patterns/SKILL.md +2 -2
- package/org-skills/system-architect/SKILL.md +2 -2
- package/org-skills/systematic-debugging/SKILL.md +2 -2
- package/org-skills/task-orchestrator/SKILL.md +2 -2
- package/org-skills/team-communications/SKILL.md +2 -2
- package/org-skills/team-composition-analysis/SKILL.md +2 -2
- package/org-skills/technical-artist/SKILL.md +2 -2
- package/org-skills/technical-writer/SKILL.md +2 -2
- package/org-skills/terraform-engineer/SKILL.md +2 -2
- package/org-skills/test-driven-development/SKILL.md +2 -2
- package/org-skills/test-master/SKILL.md +2 -2
- package/org-skills/tester/SKILL.md +2 -2
- package/org-skills/the-fool/SKILL.md +2 -2
- package/org-skills/theme-factory/SKILL.md +2 -2
- package/org-skills/threat-detection/SKILL.md +2 -2
- package/org-skills/threat-mitigation-mapping/SKILL.md +2 -2
- package/org-skills/trend-researcher/SKILL.md +2 -2
- package/org-skills/trial-director/SKILL.md +2 -2
- package/org-skills/typescript-pro/SKILL.md +2 -2
- package/org-skills/unity-architect/SKILL.md +2 -2
- package/org-skills/using-git-worktrees/SKILL.md +2 -2
- package/org-skills/ux-researcher-designer/SKILL.md +2 -2
- package/org-skills/verification-before-completion/SKILL.md +2 -2
- package/org-skills/visionos-engineer/SKILL.md +2 -2
- package/org-skills/visual-design-foundations/SKILL.md +2 -2
- package/org-skills/vue-expert/SKILL.md +2 -2
- package/org-skills/vue-patterns/SKILL.md +2 -2
- package/org-skills/worker-specialist/SKILL.md +2 -2
- package/org-skills/workflow-architect/SKILL.md +2 -2
- package/org-skills/workflow-automation/SKILL.md +2 -2
- package/org-skills/writing-plans/SKILL.md +2 -2
- package/org-skills/zk-steward/SKILL.md +2 -2
- package/package.json +7 -7
- package/.claude/helpers/skill-registry.json +0 -5997
- package/dist/src/routing/jev-step.d.ts +0 -17
- package/dist/src/routing/jev-step.d.ts.map +0 -1
- package/dist/src/routing/jev-step.js +0 -27
- package/dist/src/routing/jev-step.js.map +0 -1
- package/org-skills/accessibility/LICENSE.txt +0 -21
- package/org-skills/accessibility/SKILL.md +0 -149
- package/org-skills/database-migration/LICENSE.txt +0 -21
- package/org-skills/database-migration/SKILL.md +0 -337
- package/org-skills/database-migration/references/details.md +0 -76
- package/org-skills/error-handling-patterns/LICENSE.txt +0 -21
- package/org-skills/error-handling-patterns/SKILL.md +0 -126
- package/org-skills/error-handling-patterns/references/details.md +0 -516
- package/org-skills/internal-comms/LICENSE.txt +0 -202
- package/org-skills/internal-comms/SKILL.md +0 -36
- package/org-skills/internal-comms/examples/3p-updates.md +0 -47
- package/org-skills/internal-comms/examples/company-newsletter.md +0 -65
- package/org-skills/internal-comms/examples/faq-answers.md +0 -30
- package/org-skills/internal-comms/examples/general-comms.md +0 -16
|
@@ -10,9 +10,14 @@ import { runPlatformsDoctor } from '../platform-adapters/operations.js';
|
|
|
10
10
|
import { checkCatalog } from './doctor-catalog-checks.js';
|
|
11
11
|
import { checkDecisionModel, checkDecisionModelIfConfigured } from './doctor-decision-checks.js';
|
|
12
12
|
import { checkBuildTools, checkClaudeCode, checkCrashReporting, checkDiskSpace, checkGit, checkGitRepo, checkNodeVersion, checkNpmVersion, checkVersionFreshness, installClaudeCode, } from './doctor-env-checks.js';
|
|
13
|
+
import { downgradeFreshInstallWarnings } from './doctor-fresh-install.js';
|
|
13
14
|
import { checkHookMonograph } from './doctor-hook-monograph-checks.js';
|
|
15
|
+
import { checkHookSettings } from './doctor-hook-settings-checks.js';
|
|
16
|
+
import { doctorJsonPayload } from './doctor-json.js';
|
|
17
|
+
import { DOCTOR_MODE_OPTIONS, doctorError, modeLabel, resolveDoctorMode, skippedCheck, } from './doctor-mode.js';
|
|
14
18
|
import { checkMonoesTokenExposure, checkMonoesTools, fixMonoesTools, } from './doctor-monoes-checks.js';
|
|
15
19
|
import { checkNativeBindings } from './doctor-native-checks.js';
|
|
20
|
+
import { checkPick } from './doctor-pick-checks.js';
|
|
16
21
|
import { checkAgentRegistry, checkApiKeys, checkAppleDoubleSidecars, checkConfigFile, checkDocumentExtractors, checkGitignoreCoverage, checkGuidanceGates, checkHelpersFresh, checkMcpServers, checkMemoryDatabase, checkMemoryKnowledgeGraph, checkMemoryProficiency, checkMetricsFreshness, checkMonoesIntegration, checkMonoesMemory, checkMonograph, checkMonographFreshness, checkProjectRoot, checkSecondBrainModel, checkSecurityAuditFindings, fixAppleDoubleSidecars, fixGitignoreCoverage, fixStaleHelpers, } from './doctor-project-checks.js';
|
|
17
22
|
function formatCheck(check) {
|
|
18
23
|
const icon = check.status === 'pass'
|
|
@@ -21,7 +26,9 @@ function formatCheck(check) {
|
|
|
21
26
|
? output.warning('⚠')
|
|
22
27
|
: check.status === 'info'
|
|
23
28
|
? output.dim('ℹ')
|
|
24
|
-
:
|
|
29
|
+
: check.status === 'skipped'
|
|
30
|
+
? output.dim('-')
|
|
31
|
+
: output.error('✗');
|
|
25
32
|
return `${icon} ${check.name}: ${check.message}`;
|
|
26
33
|
}
|
|
27
34
|
export const doctorCommand = {
|
|
@@ -45,14 +52,29 @@ export const doctorCommand = {
|
|
|
45
52
|
{
|
|
46
53
|
name: 'component',
|
|
47
54
|
short: 'c',
|
|
48
|
-
description: 'Check specific component (version, node, npm, config, project-root, memory, api, git, mcp, claude, disk, native, typescript, monograph, graph-freshness, hook-monograph, memory-pkg, helpers, monoes, gates, gitignore, registry, memory-proficiency, monoes-tools, monoes-token, dashboard-token, metrics-freshness, security-audit, documents, platforms, crash-reporting, jev, catalog)',
|
|
55
|
+
description: 'Check specific component (version, node, npm, config, project-root, memory, api, git, mcp, claude, disk, native, typescript, monograph, graph-freshness, hook-monograph, memory-pkg, helpers, monoes, gates, hook-settings, gitignore, registry, memory-proficiency, monoes-tools, monoes-token, dashboard-token, metrics-freshness, security-audit, documents, platforms, crash-reporting, jev, catalog, pick)',
|
|
49
56
|
type: 'string',
|
|
50
57
|
},
|
|
51
58
|
{ name: 'verbose', short: 'v', description: 'Verbose output', type: 'boolean', default: false },
|
|
59
|
+
{
|
|
60
|
+
name: 'json',
|
|
61
|
+
description: 'Print the results as JSON on stdout (human text goes to stderr) — for programs such as mono-agent',
|
|
62
|
+
type: 'boolean',
|
|
63
|
+
default: false,
|
|
64
|
+
},
|
|
65
|
+
...DOCTOR_MODE_OPTIONS,
|
|
52
66
|
],
|
|
53
67
|
examples: [
|
|
54
68
|
{ command: 'monomind doctor', description: 'Run full health check' },
|
|
55
69
|
{ command: 'monomind doctor --fix', description: 'Show fixes for issues' },
|
|
70
|
+
{
|
|
71
|
+
command: 'monomind doctor --json',
|
|
72
|
+
description: 'Machine-readable results (add --fix to apply fixes)',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
command: 'monomind doctor --json --offline',
|
|
76
|
+
description: 'Health check that changes no file and uses no network',
|
|
77
|
+
},
|
|
56
78
|
{ command: 'monomind doctor --install', description: 'Auto-install missing dependencies' },
|
|
57
79
|
{ command: 'monomind doctor -c version', description: 'Check for stale npx cache' },
|
|
58
80
|
{ command: 'monomind doctor -c claude', description: 'Check Claude Code CLI only' },
|
|
@@ -60,357 +82,324 @@ export const doctorCommand = {
|
|
|
60
82
|
command: 'monomind doctor -c mcp',
|
|
61
83
|
description: 'Start the configured MCP server and verify it answers initialize',
|
|
62
84
|
},
|
|
85
|
+
{
|
|
86
|
+
command: 'monomind doctor -c pick',
|
|
87
|
+
description: 'Agent/skill picking: registry, skill index, decision model, eval score, adherence (not in the default run)',
|
|
88
|
+
},
|
|
63
89
|
{
|
|
64
90
|
command: 'monomind doctor -c monoes-tools --install',
|
|
65
91
|
description: 'Check/fix monotask, mono-agent, mono-clip install issues (opt-in, not in the default run)',
|
|
66
92
|
},
|
|
67
93
|
],
|
|
68
94
|
action: async (ctx) => {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const state = report.legacy.findings.length
|
|
76
|
-
? `legacy (${report.legacy.findings.join(', ')})`
|
|
77
|
-
: report.artifacts.some((artifact) => artifact.state === 'managed')
|
|
78
|
-
? 'managed'
|
|
79
|
-
: 'not installed';
|
|
80
|
-
return `${report.platform}: ${state}; run monomind platforms doctor --platform ${report.platform}`;
|
|
81
|
-
});
|
|
82
|
-
return { name: 'Platform Adapters', status: 'info', message: lines.join('\n') };
|
|
83
|
-
};
|
|
84
|
-
output.writeln();
|
|
85
|
-
output.writeln(output.bold('MonoMind Doctor'));
|
|
86
|
-
output.writeln(output.dim('System diagnostics and health check'));
|
|
87
|
-
output.writeln(output.dim('─'.repeat(50)));
|
|
88
|
-
output.writeln();
|
|
89
|
-
// Capability-aware scoping: skip code-specific checks in non-code directories
|
|
90
|
-
// (e.g. document/media/data-only projects created via `monomind init`).
|
|
91
|
-
let isCodeProject = true;
|
|
95
|
+
if (!(ctx.flags.json || ctx.flags.format === 'json'))
|
|
96
|
+
return runDoctor(ctx, false);
|
|
97
|
+
// stdout carries only the JSON payload; everything a check or fix
|
|
98
|
+
// prints goes to stderr meanwhile.
|
|
99
|
+
const previous = output.setOutputStream(process.stderr);
|
|
100
|
+
let result;
|
|
92
101
|
try {
|
|
93
|
-
|
|
94
|
-
const monomindDir = path.join(process.cwd(), '.monomind');
|
|
95
|
-
const fingerprint = await loadFingerprint(monomindDir);
|
|
96
|
-
isCodeProject = !fingerprint || fingerprint.capabilities.code.confidence >= 0.1;
|
|
102
|
+
result = await runDoctor(ctx, true);
|
|
97
103
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
// so existing behavior is unaffected when the capabilities module can't load.
|
|
101
|
-
isCodeProject = true;
|
|
104
|
+
finally {
|
|
105
|
+
output.setOutputStream(previous);
|
|
102
106
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
107
|
+
output.printJson(doctorJsonPayload(ctx, result));
|
|
108
|
+
return result;
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
async function runDoctor(ctx, json) {
|
|
112
|
+
const showFix = ctx.flags.fix;
|
|
113
|
+
const autoInstall = ctx.flags.install;
|
|
114
|
+
const component = ctx.flags.component;
|
|
115
|
+
const mode = resolveDoctorMode(ctx.flags);
|
|
116
|
+
if (mode.error)
|
|
117
|
+
return doctorError(mode.error);
|
|
118
|
+
const checkPlatforms = async () => {
|
|
119
|
+
const reports = await runPlatformsDoctor({ path: ctx.cwd, scope: 'project' });
|
|
120
|
+
const lines = reports.map((report) => {
|
|
121
|
+
const state = report.legacy.findings.length
|
|
122
|
+
? `legacy (${report.legacy.findings.join(', ')})`
|
|
123
|
+
: report.artifacts.some((artifact) => artifact.state === 'managed')
|
|
124
|
+
? 'managed'
|
|
125
|
+
: 'not installed';
|
|
126
|
+
return `${report.platform}: ${state}; run monomind platforms doctor --platform ${report.platform}`;
|
|
127
|
+
});
|
|
128
|
+
return { name: 'Platform Adapters', status: 'info', message: lines.join('\n') };
|
|
129
|
+
};
|
|
130
|
+
output.writeln();
|
|
131
|
+
output.writeln(output.bold('MonoMind Doctor'));
|
|
132
|
+
output.writeln(output.dim('System diagnostics and health check'));
|
|
133
|
+
output.writeln(output.dim('─'.repeat(50)));
|
|
134
|
+
if (modeLabel(mode))
|
|
135
|
+
output.writeln(output.dim(modeLabel(mode)));
|
|
136
|
+
output.writeln();
|
|
137
|
+
// Capability-aware scoping: skip code-specific checks in non-code directories
|
|
138
|
+
// (e.g. document/media/data-only projects created via `monomind init`).
|
|
139
|
+
let isCodeProject = true;
|
|
140
|
+
try {
|
|
141
|
+
const { loadFingerprint } = await import('../capabilities/index.js');
|
|
142
|
+
const monomindDir = path.join(process.cwd(), '.monomind');
|
|
143
|
+
const fingerprint = await loadFingerprint(monomindDir);
|
|
144
|
+
isCodeProject = !fingerprint || fingerprint.capabilities.code.confidence >= 0.1;
|
|
145
|
+
}
|
|
146
|
+
catch {
|
|
147
|
+
// Fingerprint unavailable — default to treating this as a code project
|
|
148
|
+
// so existing behavior is unaffected when the capabilities module can't load.
|
|
149
|
+
isCodeProject = true;
|
|
150
|
+
}
|
|
151
|
+
// Each check is paired with its component id (the `-c` name), which is
|
|
152
|
+
// also how `--json` identifies results.
|
|
153
|
+
const alwaysOnChecks = [
|
|
154
|
+
['version', () => checkVersionFreshness({ readOnly: mode.readOnly })],
|
|
155
|
+
['node', checkNodeVersion],
|
|
156
|
+
['npm', checkNpmVersion],
|
|
157
|
+
['claude', checkClaudeCode],
|
|
158
|
+
['config', checkConfigFile],
|
|
159
|
+
['project-root', checkProjectRoot],
|
|
160
|
+
['memory', checkMemoryDatabase],
|
|
161
|
+
['disk', checkDiskSpace],
|
|
162
|
+
['monograph', checkMonograph],
|
|
163
|
+
['memory-pkg', checkMonoesMemory],
|
|
164
|
+
['helpers', checkHelpersFresh],
|
|
165
|
+
['monoes', checkMonoesIntegration],
|
|
166
|
+
['gates', checkGuidanceGates],
|
|
167
|
+
['hook-settings', () => checkHookSettings(ctx.cwd || process.cwd())],
|
|
168
|
+
['registry', () => checkAgentRegistry({ readOnly: mode.readOnly })],
|
|
169
|
+
['git', checkGit],
|
|
170
|
+
['api', checkApiKeys],
|
|
171
|
+
['memory-proficiency', checkMemoryProficiency],
|
|
172
|
+
['metrics-freshness', checkMetricsFreshness],
|
|
173
|
+
['security-audit', checkSecurityAuditFindings],
|
|
174
|
+
['second-brain', checkSecondBrainModel],
|
|
175
|
+
['kg', checkMemoryKnowledgeGraph],
|
|
176
|
+
['appledouble', checkAppleDoubleSidecars],
|
|
177
|
+
['documents', checkDocumentExtractors],
|
|
178
|
+
// Config-only (no network), and only when Jev env is set: an unconfigured
|
|
179
|
+
// full doctor run prints exactly what it printed before. `-c jev` probes.
|
|
180
|
+
['jev', () => checkDecisionModelIfConfigured()],
|
|
181
|
+
// i-055-cli's consent gate applies to every project regardless of
|
|
182
|
+
// whether it has code (a document/media-only project can still crash
|
|
183
|
+
// and needs to know its crash-reporting state) — alwaysOnChecks, not
|
|
184
|
+
// codeOnlyChecks.
|
|
185
|
+
['crash-reporting', checkCrashReporting],
|
|
186
|
+
];
|
|
187
|
+
const codeOnlyChecks = [
|
|
188
|
+
['git-repo', checkGitRepo],
|
|
189
|
+
['native', checkNativeBindings],
|
|
190
|
+
['mcp', checkMcpServers],
|
|
191
|
+
['typescript', checkBuildTools],
|
|
192
|
+
['graph-freshness', checkMonographFreshness],
|
|
193
|
+
['hook-monograph', () => checkHookMonograph(process.cwd(), { readOnly: mode.readOnly })],
|
|
194
|
+
['gitignore', checkGitignoreCoverage],
|
|
195
|
+
['monoes-token', checkMonoesTokenExposure],
|
|
196
|
+
['platforms', checkPlatforms],
|
|
197
|
+
];
|
|
198
|
+
const allChecks = isCodeProject
|
|
199
|
+
? [...alwaysOnChecks, ...codeOnlyChecks]
|
|
200
|
+
: alwaysOnChecks;
|
|
201
|
+
const componentMap = {
|
|
202
|
+
version: () => checkVersionFreshness({ readOnly: mode.readOnly }),
|
|
203
|
+
freshness: () => checkVersionFreshness({ readOnly: mode.readOnly }),
|
|
204
|
+
node: checkNodeVersion,
|
|
205
|
+
npm: checkNpmVersion,
|
|
206
|
+
claude: checkClaudeCode,
|
|
207
|
+
config: checkConfigFile,
|
|
208
|
+
'project-root': checkProjectRoot,
|
|
209
|
+
memory: checkMemoryDatabase,
|
|
210
|
+
api: checkApiKeys,
|
|
211
|
+
git: checkGit,
|
|
212
|
+
// i-312: asking for the MCP check by name means "is my server actually
|
|
213
|
+
// usable", so this one starts it and speaks `initialize`. The full
|
|
214
|
+
// `doctor` run keeps the registry-only check — a start-up probe there
|
|
215
|
+
// would spawn a subprocess (and, with an npx entry, possibly a package
|
|
216
|
+
// download) on every invocation, interactive and CI alike.
|
|
217
|
+
mcp: () => checkMcpServers({ probe: true }),
|
|
218
|
+
disk: checkDiskSpace,
|
|
219
|
+
'second-brain': checkSecondBrainModel,
|
|
220
|
+
kg: checkMemoryKnowledgeGraph,
|
|
221
|
+
appledouble: checkAppleDoubleSidecars,
|
|
222
|
+
sidecars: checkAppleDoubleSidecars,
|
|
223
|
+
typescript: checkBuildTools,
|
|
224
|
+
monograph: checkMonograph,
|
|
225
|
+
'graph-freshness': checkMonographFreshness,
|
|
226
|
+
'hook-monograph': () => checkHookMonograph(process.cwd(), { readOnly: mode.readOnly }),
|
|
227
|
+
native: checkNativeBindings,
|
|
228
|
+
'native-modules': checkNativeBindings,
|
|
229
|
+
'memory-pkg': checkMonoesMemory,
|
|
230
|
+
helpers: checkHelpersFresh,
|
|
231
|
+
monoes: checkMonoesIntegration,
|
|
232
|
+
gates: checkGuidanceGates,
|
|
233
|
+
'hook-settings': () => checkHookSettings(ctx.cwd || process.cwd()),
|
|
234
|
+
gitignore: checkGitignoreCoverage,
|
|
235
|
+
registry: () => checkAgentRegistry({ readOnly: mode.readOnly }),
|
|
236
|
+
'memory-proficiency': checkMemoryProficiency,
|
|
237
|
+
'monoes-tools': checkMonoesTools,
|
|
238
|
+
'monoes-token': checkMonoesTokenExposure,
|
|
239
|
+
// i-052 commit 3: same function as 'monoes-token' — it now covers
|
|
240
|
+
// both credentials (see checkMonoesTokenExposure's own doc comment)
|
|
241
|
+
// and is already always-on, so this alias exists purely so a user
|
|
242
|
+
// (or an incident writeup) can find the check by the name of the
|
|
243
|
+
// credential that leaked, not just the one that motivated the
|
|
244
|
+
// original i-066 check.
|
|
245
|
+
'dashboard-token': checkMonoesTokenExposure,
|
|
246
|
+
'metrics-freshness': checkMetricsFreshness,
|
|
247
|
+
'security-audit': checkSecurityAuditFindings,
|
|
248
|
+
documents: checkDocumentExtractors,
|
|
249
|
+
'doc-extractors': checkDocumentExtractors,
|
|
250
|
+
jev: () => checkDecisionModel({ probe: true }),
|
|
251
|
+
decision: () => checkDecisionModel({ probe: true }),
|
|
252
|
+
platforms: checkPlatforms,
|
|
253
|
+
'crash-reporting': checkCrashReporting,
|
|
254
|
+
catalog: () => checkCatalog(ctx.cwd || process.cwd()),
|
|
255
|
+
// Opt-in: rebuilds stale indexes and scores the eval set, so it stays out
|
|
256
|
+
// of the default run.
|
|
257
|
+
pick: () => checkPick(ctx.cwd || process.cwd()),
|
|
258
|
+
};
|
|
259
|
+
if (component && !componentMap[component]) {
|
|
260
|
+
output.writeln(output.error(`Unknown component: "${component}"`));
|
|
261
|
+
output.writeln(`Valid components: ${Object.keys(componentMap).sort().join(', ')}`);
|
|
262
|
+
return {
|
|
263
|
+
success: false,
|
|
264
|
+
exitCode: 1,
|
|
265
|
+
data: {
|
|
266
|
+
passed: 0,
|
|
267
|
+
warnings: 0,
|
|
268
|
+
failed: 1,
|
|
269
|
+
results: [],
|
|
270
|
+
error: `unknown component "${component}"`,
|
|
271
|
+
},
|
|
203
272
|
};
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
// individually fast, so sequential execution has no meaningful cost.
|
|
220
|
-
const spinner = output.createSpinner({ text: 'Running health checks...', spinner: 'dots' });
|
|
273
|
+
}
|
|
274
|
+
const checksToRun = component
|
|
275
|
+
? [[component, componentMap[component]]]
|
|
276
|
+
: allChecks;
|
|
277
|
+
const results = [];
|
|
278
|
+
const fixOutcomes = [];
|
|
279
|
+
const fixes = [];
|
|
280
|
+
// Checks are run sequentially rather than via Promise.all/allSettled — several
|
|
281
|
+
// of them shell out (git, npm, npx tsc, claude --version, etc.), and running
|
|
282
|
+
// those concurrently was observed to race/fail intermittently. The checks are
|
|
283
|
+
// individually fast, so sequential execution has no meaningful cost.
|
|
284
|
+
const spinner = output.createSpinner({ text: 'Running health checks...', spinner: 'dots' });
|
|
285
|
+
// The spinner writes to process.stdout directly; in JSON mode that
|
|
286
|
+
// would corrupt the payload.
|
|
287
|
+
if (!json)
|
|
221
288
|
spinner.start();
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
else
|
|
230
|
-
settled.push(result);
|
|
231
|
-
}
|
|
232
|
-
catch (err) {
|
|
233
|
-
settled.push({
|
|
234
|
-
name: 'Check',
|
|
235
|
-
status: 'fail',
|
|
236
|
-
message: err instanceof Error ? err.message : 'Unknown error',
|
|
237
|
-
});
|
|
238
|
-
}
|
|
289
|
+
try {
|
|
290
|
+
const settled = [];
|
|
291
|
+
for (const [id, check] of checksToRun) {
|
|
292
|
+
try {
|
|
293
|
+
const result = skippedCheck(id, mode, Boolean(component)) ?? (await check());
|
|
294
|
+
for (const r of Array.isArray(result) ? result : [result])
|
|
295
|
+
settled.push({ ...r, component: id });
|
|
239
296
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
const monomindDir = path.join(ctx.cwd, '.monomind');
|
|
248
|
-
let isFreshInstall = false;
|
|
249
|
-
try {
|
|
250
|
-
const { statSync } = await import('node:fs');
|
|
251
|
-
const stat = statSync(monomindDir);
|
|
252
|
-
isFreshInstall = Date.now() - stat.birthtimeMs < 5 * 60 * 1000; // < 5 min old
|
|
253
|
-
}
|
|
254
|
-
catch {
|
|
255
|
-
/* dir doesn't exist — not our project */
|
|
256
|
-
}
|
|
257
|
-
if (isFreshInstall) {
|
|
258
|
-
const FRESH_EXPECTED = new Set([
|
|
259
|
-
'Memory Database',
|
|
260
|
-
'Memory Knowledge Graph',
|
|
261
|
-
'Second Brain Model',
|
|
262
|
-
'Graph freshness',
|
|
263
|
-
'MCP Servers',
|
|
264
|
-
'Worker Metrics',
|
|
265
|
-
'Security Audit',
|
|
266
|
-
'Helper Files',
|
|
267
|
-
'AppleDouble Sidecars',
|
|
268
|
-
'Monoes Memory',
|
|
269
|
-
]);
|
|
270
|
-
for (let i = 0; i < settled.length; i++) {
|
|
271
|
-
if (settled[i].status === 'warn' && FRESH_EXPECTED.has(settled[i].name)) {
|
|
272
|
-
settled[i] = {
|
|
273
|
-
...settled[i],
|
|
274
|
-
status: 'info',
|
|
275
|
-
message: `${settled[i].message} (expected on fresh install — run with --verbose for details)`,
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
for (const r of settled) {
|
|
282
|
-
results.push(r);
|
|
283
|
-
output.writeln(formatCheck(r));
|
|
284
|
-
if (r.fix && r.status === 'fail')
|
|
285
|
-
output.writeln(output.dim(` Fix: ${r.fix}`));
|
|
286
|
-
else if (r.fix && r.status === 'warn')
|
|
287
|
-
output.writeln(output.dim(` Hint: ${r.fix}`));
|
|
288
|
-
if (r.fix && (r.status === 'fail' || r.status === 'warn'))
|
|
289
|
-
fixes.push(`${r.name}: ${r.fix}`);
|
|
297
|
+
catch (err) {
|
|
298
|
+
settled.push({
|
|
299
|
+
name: 'Check',
|
|
300
|
+
status: 'fail',
|
|
301
|
+
message: err instanceof Error ? err.message : 'Unknown error',
|
|
302
|
+
component: id,
|
|
303
|
+
});
|
|
290
304
|
}
|
|
291
305
|
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
306
|
+
spinner.stop();
|
|
307
|
+
// P2-14: expected warnings on a brand-new install read as info.
|
|
308
|
+
if (!ctx.flags.verbose)
|
|
309
|
+
downgradeFreshInstallWarnings(settled, ctx.cwd);
|
|
310
|
+
for (const r of settled) {
|
|
311
|
+
results.push(r);
|
|
312
|
+
output.writeln(formatCheck(r));
|
|
313
|
+
if (r.fix && r.status === 'fail')
|
|
314
|
+
output.writeln(output.dim(` Fix: ${r.fix}`));
|
|
315
|
+
else if (r.fix && r.status === 'warn')
|
|
316
|
+
output.writeln(output.dim(` Hint: ${r.fix}`));
|
|
317
|
+
if (r.fix && (r.status === 'fail' || r.status === 'warn'))
|
|
318
|
+
fixes.push(`${r.name}: ${r.fix}`);
|
|
295
319
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
if (
|
|
321
|
-
|
|
322
|
-
const idx = results.findIndex((r) => r.name === 'monoes Tools');
|
|
323
|
-
if (idx !== -1) {
|
|
324
|
-
results[idx] = newCheck;
|
|
325
|
-
const fixIdx = fixes.findIndex((f) => f.startsWith('monoes Tools:'));
|
|
326
|
-
if (fixIdx !== -1 && newCheck.status === 'pass')
|
|
327
|
-
fixes.splice(fixIdx, 1);
|
|
328
|
-
}
|
|
329
|
-
output.writeln(formatCheck(newCheck));
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
const gitignoreResult = results.find((r) => r.name === 'Gitignore Coverage');
|
|
333
|
-
if (gitignoreResult && gitignoreResult.status !== 'pass') {
|
|
334
|
-
if (await fixGitignoreCoverage()) {
|
|
335
|
-
const newCheck = await checkGitignoreCoverage();
|
|
336
|
-
const idx = results.findIndex((r) => r.name === 'Gitignore Coverage');
|
|
337
|
-
if (idx !== -1) {
|
|
338
|
-
results[idx] = newCheck;
|
|
339
|
-
const fixIdx = fixes.findIndex((f) => f.startsWith('Gitignore Coverage:'));
|
|
340
|
-
if (fixIdx !== -1 && newCheck.status === 'pass')
|
|
341
|
-
fixes.splice(fixIdx, 1);
|
|
342
|
-
}
|
|
343
|
-
output.writeln(formatCheck(newCheck));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
const sidecarResult = results.find((r) => r.name === 'AppleDouble Sidecars');
|
|
347
|
-
if (sidecarResult && sidecarResult.status !== 'pass') {
|
|
348
|
-
const removed = fixAppleDoubleSidecars(process.cwd());
|
|
349
|
-
if (removed > 0) {
|
|
350
|
-
const newCheck = await checkAppleDoubleSidecars();
|
|
351
|
-
const idx = results.findIndex((r) => r.name === 'AppleDouble Sidecars');
|
|
352
|
-
if (idx !== -1) {
|
|
353
|
-
results[idx] = newCheck;
|
|
354
|
-
const fixIdx = fixes.findIndex((f) => f.startsWith('AppleDouble Sidecars:'));
|
|
355
|
-
if (fixIdx !== -1 && newCheck.status === 'pass')
|
|
356
|
-
fixes.splice(fixIdx, 1);
|
|
357
|
-
}
|
|
358
|
-
output.writeln(formatCheck(newCheck));
|
|
359
|
-
}
|
|
320
|
+
}
|
|
321
|
+
catch {
|
|
322
|
+
spinner.stop();
|
|
323
|
+
output.writeln(output.error('Failed to run health checks'));
|
|
324
|
+
}
|
|
325
|
+
// `--fix` applies the lightweight, local, no-network fixes (helper files,
|
|
326
|
+
// monoes CLI tool shims) — its description says "show fix commands" but
|
|
327
|
+
// silently doing nothing for these two beyond printing a hint is a worse
|
|
328
|
+
// outcome than just fixing them, and copying a bundled file locally is
|
|
329
|
+
// nothing like installing a package. `--install` additionally covers the
|
|
330
|
+
// Claude Code CLI, which is a real install (network fetch + binary setup)
|
|
331
|
+
// — kept opt-in separately so `--fix` alone never triggers that.
|
|
332
|
+
if (autoInstall || showFix) {
|
|
333
|
+
const needsFix = (name) => results.some((r) => r.name === name && r.status !== 'pass');
|
|
334
|
+
const applyFix = async (name, component, fix, recheck) => {
|
|
335
|
+
const fixed = await fix();
|
|
336
|
+
fixOutcomes.push({ component, outcome: fixed ? 'applied' : 'failed' });
|
|
337
|
+
if (!fixed)
|
|
338
|
+
return;
|
|
339
|
+
const newCheck = await recheck();
|
|
340
|
+
const idx = results.findIndex((r) => r.name === name);
|
|
341
|
+
if (idx !== -1) {
|
|
342
|
+
results[idx] = { ...newCheck, component: results[idx].component };
|
|
343
|
+
const fixIdx = fixes.findIndex((f) => f.startsWith(`${name}:`));
|
|
344
|
+
if (fixIdx !== -1 && newCheck.status === 'pass')
|
|
345
|
+
fixes.splice(fixIdx, 1);
|
|
360
346
|
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
347
|
+
output.writeln(formatCheck(newCheck));
|
|
348
|
+
};
|
|
349
|
+
if (autoInstall && needsFix('Claude Code CLI'))
|
|
350
|
+
await applyFix('Claude Code CLI', 'claude', installClaudeCode, checkClaudeCode);
|
|
351
|
+
if (needsFix('monoes Tools'))
|
|
352
|
+
await applyFix('monoes Tools', 'monoes-tools', fixMonoesTools, checkMonoesTools);
|
|
353
|
+
if (needsFix('Gitignore Coverage'))
|
|
354
|
+
await applyFix('Gitignore Coverage', 'gitignore', fixGitignoreCoverage, checkGitignoreCoverage);
|
|
355
|
+
if (needsFix('AppleDouble Sidecars'))
|
|
356
|
+
await applyFix('AppleDouble Sidecars', 'appledouble', async () => fixAppleDoubleSidecars(process.cwd()) > 0, checkAppleDoubleSidecars);
|
|
357
|
+
if (needsFix('Helper Files'))
|
|
358
|
+
await applyFix('Helper Files', 'helpers', fixStaleHelpers, checkHelpersFresh);
|
|
359
|
+
}
|
|
360
|
+
const passed = results.filter((r) => r.status === 'pass').length;
|
|
361
|
+
const warnings = results.filter((r) => r.status === 'warn').length;
|
|
362
|
+
const failed = results.filter((r) => r.status === 'fail').length;
|
|
363
|
+
const skipped = results.filter((r) => r.status === 'skipped').length;
|
|
364
|
+
output.writeln();
|
|
365
|
+
output.writeln(output.dim('─'.repeat(50)));
|
|
366
|
+
output.writeln();
|
|
367
|
+
const summaryParts = [
|
|
368
|
+
output.success(`${passed} passed`),
|
|
369
|
+
warnings > 0 ? output.warning(`${warnings} warnings`) : null,
|
|
370
|
+
failed > 0 ? output.error(`${failed} failed`) : null,
|
|
371
|
+
skipped > 0 ? output.dim(`${skipped} skipped`) : null,
|
|
372
|
+
].filter(Boolean);
|
|
373
|
+
output.writeln(`Summary: ${summaryParts.join(', ')}`);
|
|
374
|
+
if (showFix && fixes.length > 0) {
|
|
379
375
|
output.writeln();
|
|
380
|
-
output.writeln(output.
|
|
376
|
+
output.writeln(output.bold('Suggested Fixes:'));
|
|
381
377
|
output.writeln();
|
|
382
|
-
const
|
|
383
|
-
output.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
output.writeln();
|
|
392
|
-
for (const fix of fixes)
|
|
393
|
-
output.writeln(output.dim(` ${fix}`));
|
|
394
|
-
}
|
|
395
|
-
else if (!showFix) {
|
|
396
|
-
const warnFixes = results.filter((r) => r.status === 'warn' && r.fix).length;
|
|
397
|
-
if (warnFixes > 0)
|
|
398
|
-
output.writeln(output.dim(`\nRun with --fix to see ${warnFixes} suggested fix${warnFixes > 1 ? 'es' : ''} for warnings`));
|
|
399
|
-
}
|
|
400
|
-
if (failed > 0) {
|
|
401
|
-
output.writeln();
|
|
402
|
-
output.writeln(output.error('Some checks failed. Please address the issues above.'));
|
|
403
|
-
return { success: false, exitCode: 1, data: { passed, warnings, failed, results } };
|
|
404
|
-
}
|
|
405
|
-
else if (warnings > 0) {
|
|
406
|
-
output.writeln();
|
|
407
|
-
output.writeln(output.warning('All checks passed with some warnings.'));
|
|
408
|
-
return { success: true, data: { passed, warnings, failed, results } };
|
|
409
|
-
}
|
|
378
|
+
for (const fix of fixes)
|
|
379
|
+
output.writeln(output.dim(` ${fix}`));
|
|
380
|
+
}
|
|
381
|
+
else if (!showFix) {
|
|
382
|
+
const warnFixes = results.filter((r) => r.status === 'warn' && r.fix).length;
|
|
383
|
+
if (warnFixes > 0)
|
|
384
|
+
output.writeln(output.dim(`\nRun with --fix to see ${warnFixes} suggested fix${warnFixes > 1 ? 'es' : ''} for warnings`));
|
|
385
|
+
}
|
|
386
|
+
if (failed > 0) {
|
|
410
387
|
output.writeln();
|
|
411
|
-
output.writeln(output.
|
|
412
|
-
return {
|
|
413
|
-
|
|
414
|
-
|
|
388
|
+
output.writeln(output.error('Some checks failed. Please address the issues above.'));
|
|
389
|
+
return {
|
|
390
|
+
success: false,
|
|
391
|
+
exitCode: 1,
|
|
392
|
+
data: { passed, warnings, failed, results, fixes: fixOutcomes },
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
else if (warnings > 0) {
|
|
396
|
+
output.writeln();
|
|
397
|
+
output.writeln(output.warning('All checks passed with some warnings.'));
|
|
398
|
+
return { success: true, data: { passed, warnings, failed, results, fixes: fixOutcomes } };
|
|
399
|
+
}
|
|
400
|
+
output.writeln();
|
|
401
|
+
output.writeln(output.success('All checks passed! System is healthy.'));
|
|
402
|
+
return { success: true, data: { passed, warnings, failed, results, fixes: fixOutcomes } };
|
|
403
|
+
}
|
|
415
404
|
export default doctorCommand;
|
|
416
405
|
//# sourceMappingURL=doctor.js.map
|