@cleocode/cleo 2026.2.5
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/LICENSE +107 -0
- package/README.md +1266 -0
- package/completions/bash-completion.sh +362 -0
- package/completions/zsh-completion.zsh +305 -0
- package/dist/cli/commands/add.d.ts +12 -0
- package/dist/cli/commands/add.d.ts.map +1 -0
- package/dist/cli/commands/add.js +74 -0
- package/dist/cli/commands/add.js.map +1 -0
- package/dist/cli/commands/analyze.d.ts +12 -0
- package/dist/cli/commands/analyze.d.ts.map +1 -0
- package/dist/cli/commands/analyze.js +37 -0
- package/dist/cli/commands/analyze.js.map +1 -0
- package/dist/cli/commands/archive-stats.d.ts +26 -0
- package/dist/cli/commands/archive-stats.d.ts.map +1 -0
- package/dist/cli/commands/archive-stats.js +291 -0
- package/dist/cli/commands/archive-stats.js.map +1 -0
- package/dist/cli/commands/archive.d.ts +12 -0
- package/dist/cli/commands/archive.d.ts.map +1 -0
- package/dist/cli/commands/archive.js +43 -0
- package/dist/cli/commands/archive.js.map +1 -0
- package/dist/cli/commands/backup.d.ts +7 -0
- package/dist/cli/commands/backup.d.ts.map +1 -0
- package/dist/cli/commands/backup.js +122 -0
- package/dist/cli/commands/backup.js.map +1 -0
- package/dist/cli/commands/blockers.d.ts +7 -0
- package/dist/cli/commands/blockers.d.ts.map +1 -0
- package/dist/cli/commands/blockers.js +107 -0
- package/dist/cli/commands/blockers.js.map +1 -0
- package/dist/cli/commands/checkpoint.d.ts +13 -0
- package/dist/cli/commands/checkpoint.d.ts.map +1 -0
- package/dist/cli/commands/checkpoint.js +185 -0
- package/dist/cli/commands/checkpoint.js.map +1 -0
- package/dist/cli/commands/claude-migrate.d.ts +13 -0
- package/dist/cli/commands/claude-migrate.d.ts.map +1 -0
- package/dist/cli/commands/claude-migrate.js +355 -0
- package/dist/cli/commands/claude-migrate.js.map +1 -0
- package/dist/cli/commands/commands.d.ts +13 -0
- package/dist/cli/commands/commands.d.ts.map +1 -0
- package/dist/cli/commands/commands.js +114 -0
- package/dist/cli/commands/commands.js.map +1 -0
- package/dist/cli/commands/complete.d.ts +12 -0
- package/dist/cli/commands/complete.d.ts.map +1 -0
- package/dist/cli/commands/complete.js +45 -0
- package/dist/cli/commands/complete.js.map +1 -0
- package/dist/cli/commands/compliance.d.ts +12 -0
- package/dist/cli/commands/compliance.d.ts.map +1 -0
- package/dist/cli/commands/compliance.js +152 -0
- package/dist/cli/commands/compliance.js.map +1 -0
- package/dist/cli/commands/config.d.ts +7 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +107 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/consensus.d.ts +12 -0
- package/dist/cli/commands/consensus.d.ts.map +1 -0
- package/dist/cli/commands/consensus.js +61 -0
- package/dist/cli/commands/consensus.js.map +1 -0
- package/dist/cli/commands/context.d.ts +12 -0
- package/dist/cli/commands/context.d.ts.map +1 -0
- package/dist/cli/commands/context.js +76 -0
- package/dist/cli/commands/context.js.map +1 -0
- package/dist/cli/commands/contribution.d.ts +12 -0
- package/dist/cli/commands/contribution.d.ts.map +1 -0
- package/dist/cli/commands/contribution.js +57 -0
- package/dist/cli/commands/contribution.js.map +1 -0
- package/dist/cli/commands/current.d.ts +13 -0
- package/dist/cli/commands/current.d.ts.map +1 -0
- package/dist/cli/commands/current.js +35 -0
- package/dist/cli/commands/current.js.map +1 -0
- package/dist/cli/commands/dash.d.ts +12 -0
- package/dist/cli/commands/dash.d.ts.map +1 -0
- package/dist/cli/commands/dash.js +44 -0
- package/dist/cli/commands/dash.js.map +1 -0
- package/dist/cli/commands/decomposition.d.ts +12 -0
- package/dist/cli/commands/decomposition.d.ts.map +1 -0
- package/dist/cli/commands/decomposition.js +61 -0
- package/dist/cli/commands/decomposition.js.map +1 -0
- package/dist/cli/commands/delete.d.ts +12 -0
- package/dist/cli/commands/delete.d.ts.map +1 -0
- package/dist/cli/commands/delete.js +45 -0
- package/dist/cli/commands/delete.js.map +1 -0
- package/dist/cli/commands/deps.d.ts +17 -0
- package/dist/cli/commands/deps.d.ts.map +1 -0
- package/dist/cli/commands/deps.js +139 -0
- package/dist/cli/commands/deps.js.map +1 -0
- package/dist/cli/commands/detect-drift.d.ts +8 -0
- package/dist/cli/commands/detect-drift.d.ts.map +1 -0
- package/dist/cli/commands/detect-drift.js +202 -0
- package/dist/cli/commands/detect-drift.js.map +1 -0
- package/dist/cli/commands/docs.d.ts +13 -0
- package/dist/cli/commands/docs.d.ts.map +1 -0
- package/dist/cli/commands/docs.js +167 -0
- package/dist/cli/commands/docs.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +7 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +215 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/env.d.ts +12 -0
- package/dist/cli/commands/env.d.ts.map +1 -0
- package/dist/cli/commands/env.js +167 -0
- package/dist/cli/commands/env.js.map +1 -0
- package/dist/cli/commands/exists.d.ts +7 -0
- package/dist/cli/commands/exists.d.ts.map +1 -0
- package/dist/cli/commands/exists.js +78 -0
- package/dist/cli/commands/exists.js.map +1 -0
- package/dist/cli/commands/export-tasks.d.ts +13 -0
- package/dist/cli/commands/export-tasks.d.ts.map +1 -0
- package/dist/cli/commands/export-tasks.js +214 -0
- package/dist/cli/commands/export-tasks.js.map +1 -0
- package/dist/cli/commands/export.d.ts +7 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +144 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/extract.d.ts +13 -0
- package/dist/cli/commands/extract.d.ts.map +1 -0
- package/dist/cli/commands/extract.js +208 -0
- package/dist/cli/commands/extract.js.map +1 -0
- package/dist/cli/commands/find.d.ts +14 -0
- package/dist/cli/commands/find.d.ts.map +1 -0
- package/dist/cli/commands/find.js +62 -0
- package/dist/cli/commands/find.js.map +1 -0
- package/dist/cli/commands/focus.d.ts +19 -0
- package/dist/cli/commands/focus.d.ts.map +1 -0
- package/dist/cli/commands/focus.js +95 -0
- package/dist/cli/commands/focus.js.map +1 -0
- package/dist/cli/commands/generate-changelog.d.ts +14 -0
- package/dist/cli/commands/generate-changelog.d.ts.map +1 -0
- package/dist/cli/commands/generate-changelog.js +252 -0
- package/dist/cli/commands/generate-changelog.js.map +1 -0
- package/dist/cli/commands/history.d.ts +12 -0
- package/dist/cli/commands/history.d.ts.map +1 -0
- package/dist/cli/commands/history.js +40 -0
- package/dist/cli/commands/history.js.map +1 -0
- package/dist/cli/commands/implementation.d.ts +12 -0
- package/dist/cli/commands/implementation.d.ts.map +1 -0
- package/dist/cli/commands/implementation.js +57 -0
- package/dist/cli/commands/implementation.js.map +1 -0
- package/dist/cli/commands/import-tasks.d.ts +13 -0
- package/dist/cli/commands/import-tasks.d.ts.map +1 -0
- package/dist/cli/commands/import-tasks.js +219 -0
- package/dist/cli/commands/import-tasks.js.map +1 -0
- package/dist/cli/commands/import.d.ts +7 -0
- package/dist/cli/commands/import.d.ts.map +1 -0
- package/dist/cli/commands/import.js +162 -0
- package/dist/cli/commands/import.js.map +1 -0
- package/dist/cli/commands/init.d.ts +34 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +88 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/inject.d.ts +12 -0
- package/dist/cli/commands/inject.d.ts.map +1 -0
- package/dist/cli/commands/inject.js +45 -0
- package/dist/cli/commands/inject.js.map +1 -0
- package/dist/cli/commands/issue.d.ts +14 -0
- package/dist/cli/commands/issue.d.ts.map +1 -0
- package/dist/cli/commands/issue.js +256 -0
- package/dist/cli/commands/issue.js.map +1 -0
- package/dist/cli/commands/labels.d.ts +12 -0
- package/dist/cli/commands/labels.d.ts.map +1 -0
- package/dist/cli/commands/labels.js +89 -0
- package/dist/cli/commands/labels.js.map +1 -0
- package/dist/cli/commands/lifecycle.d.ts +12 -0
- package/dist/cli/commands/lifecycle.d.ts.map +1 -0
- package/dist/cli/commands/lifecycle.js +108 -0
- package/dist/cli/commands/lifecycle.js.map +1 -0
- package/dist/cli/commands/list.d.ts +14 -0
- package/dist/cli/commands/list.d.ts.map +1 -0
- package/dist/cli/commands/list.js +65 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/log.d.ts +12 -0
- package/dist/cli/commands/log.d.ts.map +1 -0
- package/dist/cli/commands/log.js +43 -0
- package/dist/cli/commands/log.js.map +1 -0
- package/dist/cli/commands/mcp-install.d.ts +17 -0
- package/dist/cli/commands/mcp-install.d.ts.map +1 -0
- package/dist/cli/commands/mcp-install.js +125 -0
- package/dist/cli/commands/mcp-install.js.map +1 -0
- package/dist/cli/commands/migrate-storage.d.ts +19 -0
- package/dist/cli/commands/migrate-storage.d.ts.map +1 -0
- package/dist/cli/commands/migrate-storage.js +494 -0
- package/dist/cli/commands/migrate-storage.js.map +1 -0
- package/dist/cli/commands/migrate.d.ts +12 -0
- package/dist/cli/commands/migrate.d.ts.map +1 -0
- package/dist/cli/commands/migrate.js +62 -0
- package/dist/cli/commands/migrate.js.map +1 -0
- package/dist/cli/commands/next.d.ts +7 -0
- package/dist/cli/commands/next.d.ts.map +1 -0
- package/dist/cli/commands/next.js +124 -0
- package/dist/cli/commands/next.js.map +1 -0
- package/dist/cli/commands/nexus.d.ts +19 -0
- package/dist/cli/commands/nexus.d.ts.map +1 -0
- package/dist/cli/commands/nexus.js +440 -0
- package/dist/cli/commands/nexus.js.map +1 -0
- package/dist/cli/commands/orchestrate.d.ts +12 -0
- package/dist/cli/commands/orchestrate.d.ts.map +1 -0
- package/dist/cli/commands/orchestrate.js +141 -0
- package/dist/cli/commands/orchestrate.js.map +1 -0
- package/dist/cli/commands/otel.d.ts +12 -0
- package/dist/cli/commands/otel.d.ts.map +1 -0
- package/dist/cli/commands/otel.js +130 -0
- package/dist/cli/commands/otel.js.map +1 -0
- package/dist/cli/commands/phase.d.ts +12 -0
- package/dist/cli/commands/phase.d.ts.map +1 -0
- package/dist/cli/commands/phase.js +161 -0
- package/dist/cli/commands/phase.js.map +1 -0
- package/dist/cli/commands/phases.d.ts +12 -0
- package/dist/cli/commands/phases.d.ts.map +1 -0
- package/dist/cli/commands/phases.js +67 -0
- package/dist/cli/commands/phases.js.map +1 -0
- package/dist/cli/commands/promote.d.ts +7 -0
- package/dist/cli/commands/promote.d.ts.map +1 -0
- package/dist/cli/commands/promote.js +64 -0
- package/dist/cli/commands/promote.js.map +1 -0
- package/dist/cli/commands/relates.d.ts +12 -0
- package/dist/cli/commands/relates.d.ts.map +1 -0
- package/dist/cli/commands/relates.js +91 -0
- package/dist/cli/commands/relates.js.map +1 -0
- package/dist/cli/commands/release.d.ts +12 -0
- package/dist/cli/commands/release.d.ts.map +1 -0
- package/dist/cli/commands/release.js +142 -0
- package/dist/cli/commands/release.js.map +1 -0
- package/dist/cli/commands/reopen.d.ts +7 -0
- package/dist/cli/commands/reopen.d.ts.map +1 -0
- package/dist/cli/commands/reopen.js +83 -0
- package/dist/cli/commands/reopen.js.map +1 -0
- package/dist/cli/commands/reorder.d.ts +7 -0
- package/dist/cli/commands/reorder.d.ts.map +1 -0
- package/dist/cli/commands/reorder.js +106 -0
- package/dist/cli/commands/reorder.js.map +1 -0
- package/dist/cli/commands/reparent.d.ts +10 -0
- package/dist/cli/commands/reparent.d.ts.map +1 -0
- package/dist/cli/commands/reparent.js +53 -0
- package/dist/cli/commands/reparent.js.map +1 -0
- package/dist/cli/commands/research.d.ts +12 -0
- package/dist/cli/commands/research.d.ts.map +1 -0
- package/dist/cli/commands/research.js +220 -0
- package/dist/cli/commands/research.js.map +1 -0
- package/dist/cli/commands/restore.d.ts +7 -0
- package/dist/cli/commands/restore.d.ts.map +1 -0
- package/dist/cli/commands/restore.js +202 -0
- package/dist/cli/commands/restore.js.map +1 -0
- package/dist/cli/commands/roadmap.d.ts +12 -0
- package/dist/cli/commands/roadmap.d.ts.map +1 -0
- package/dist/cli/commands/roadmap.js +37 -0
- package/dist/cli/commands/roadmap.js.map +1 -0
- package/dist/cli/commands/safestop.d.ts +13 -0
- package/dist/cli/commands/safestop.d.ts.map +1 -0
- package/dist/cli/commands/safestop.js +217 -0
- package/dist/cli/commands/safestop.js.map +1 -0
- package/dist/cli/commands/self-update.d.ts +15 -0
- package/dist/cli/commands/self-update.d.ts.map +1 -0
- package/dist/cli/commands/self-update.js +195 -0
- package/dist/cli/commands/self-update.js.map +1 -0
- package/dist/cli/commands/sequence.d.ts +12 -0
- package/dist/cli/commands/sequence.d.ts.map +1 -0
- package/dist/cli/commands/sequence.js +67 -0
- package/dist/cli/commands/sequence.js.map +1 -0
- package/dist/cli/commands/session.d.ts +12 -0
- package/dist/cli/commands/session.d.ts.map +1 -0
- package/dist/cli/commands/session.js +150 -0
- package/dist/cli/commands/session.js.map +1 -0
- package/dist/cli/commands/show.d.ts +13 -0
- package/dist/cli/commands/show.d.ts.map +1 -0
- package/dist/cli/commands/show.js +35 -0
- package/dist/cli/commands/show.js.map +1 -0
- package/dist/cli/commands/skills.d.ts +13 -0
- package/dist/cli/commands/skills.d.ts.map +1 -0
- package/dist/cli/commands/skills.js +215 -0
- package/dist/cli/commands/skills.js.map +1 -0
- package/dist/cli/commands/specification.d.ts +12 -0
- package/dist/cli/commands/specification.d.ts.map +1 -0
- package/dist/cli/commands/specification.js +61 -0
- package/dist/cli/commands/specification.js.map +1 -0
- package/dist/cli/commands/start.d.ts +13 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +35 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +12 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +37 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/commands/stop.d.ts +13 -0
- package/dist/cli/commands/stop.d.ts.map +1 -0
- package/dist/cli/commands/stop.js +35 -0
- package/dist/cli/commands/stop.js.map +1 -0
- package/dist/cli/commands/sync.d.ts +13 -0
- package/dist/cli/commands/sync.d.ts.map +1 -0
- package/dist/cli/commands/sync.js +129 -0
- package/dist/cli/commands/sync.js.map +1 -0
- package/dist/cli/commands/testing.d.ts +13 -0
- package/dist/cli/commands/testing.d.ts.map +1 -0
- package/dist/cli/commands/testing.js +160 -0
- package/dist/cli/commands/testing.js.map +1 -0
- package/dist/cli/commands/unarchive.d.ts +7 -0
- package/dist/cli/commands/unarchive.d.ts.map +1 -0
- package/dist/cli/commands/unarchive.js +93 -0
- package/dist/cli/commands/unarchive.js.map +1 -0
- package/dist/cli/commands/uncancel.d.ts +7 -0
- package/dist/cli/commands/uncancel.d.ts.map +1 -0
- package/dist/cli/commands/uncancel.js +93 -0
- package/dist/cli/commands/uncancel.js.map +1 -0
- package/dist/cli/commands/update.d.ts +12 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +74 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/upgrade.d.ts +15 -0
- package/dist/cli/commands/upgrade.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.js +59 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +9 -0
- package/dist/cli/commands/validate.d.ts.map +1 -0
- package/dist/cli/commands/validate.js +211 -0
- package/dist/cli/commands/validate.js.map +1 -0
- package/dist/cli/commands/verify.d.ts +7 -0
- package/dist/cli/commands/verify.d.ts.map +1 -0
- package/dist/cli/commands/verify.js +153 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/commands/web.d.ts +13 -0
- package/dist/cli/commands/web.d.ts.map +1 -0
- package/dist/cli/commands/web.js +281 -0
- package/dist/cli/commands/web.js.map +1 -0
- package/dist/cli/format-context.d.ts +32 -0
- package/dist/cli/format-context.d.ts.map +1 -0
- package/dist/cli/format-context.js +50 -0
- package/dist/cli/format-context.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +34903 -0
- package/dist/cli/index.js.map +7 -0
- package/dist/cli/middleware/output-format.d.ts +30 -0
- package/dist/cli/middleware/output-format.d.ts.map +1 -0
- package/dist/cli/middleware/output-format.js +35 -0
- package/dist/cli/middleware/output-format.js.map +1 -0
- package/dist/cli/renderers/colors.d.ts +41 -0
- package/dist/cli/renderers/colors.d.ts.map +1 -0
- package/dist/cli/renderers/colors.js +120 -0
- package/dist/cli/renderers/colors.js.map +1 -0
- package/dist/cli/renderers/index.d.ts +47 -0
- package/dist/cli/renderers/index.d.ts.map +1 -0
- package/dist/cli/renderers/index.js +103 -0
- package/dist/cli/renderers/index.js.map +1 -0
- package/dist/cli/renderers/system.d.ts +24 -0
- package/dist/cli/renderers/system.d.ts.map +1 -0
- package/dist/cli/renderers/system.js +317 -0
- package/dist/cli/renderers/system.js.map +1 -0
- package/dist/cli/renderers/tasks.d.ts +28 -0
- package/dist/cli/renderers/tasks.d.ts.map +1 -0
- package/dist/cli/renderers/tasks.js +307 -0
- package/dist/cli/renderers/tasks.js.map +1 -0
- package/dist/core/caamp/adapter.d.ts +141 -0
- package/dist/core/caamp/adapter.d.ts.map +1 -0
- package/dist/core/caamp/adapter.js +437 -0
- package/dist/core/caamp/adapter.js.map +1 -0
- package/dist/core/caamp/index.d.ts +11 -0
- package/dist/core/caamp/index.d.ts.map +1 -0
- package/dist/core/caamp/index.js +21 -0
- package/dist/core/caamp/index.js.map +1 -0
- package/dist/core/compliance/index.d.ts +38 -0
- package/dist/core/compliance/index.d.ts.map +1 -0
- package/dist/core/compliance/index.js +229 -0
- package/dist/core/compliance/index.js.map +1 -0
- package/dist/core/config.d.ts +20 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +179 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/context/index.d.ts +20 -0
- package/dist/core/context/index.d.ts.map +1 -0
- package/dist/core/context/index.js +137 -0
- package/dist/core/context/index.js.map +1 -0
- package/dist/core/error-registry.d.ts +54 -0
- package/dist/core/error-registry.d.ts.map +1 -0
- package/dist/core/error-registry.js +109 -0
- package/dist/core/error-registry.js.map +1 -0
- package/dist/core/errors.d.ts +38 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +105 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/focus/index.d.ts +46 -0
- package/dist/core/focus/index.d.ts.map +1 -0
- package/dist/core/focus/index.js +118 -0
- package/dist/core/focus/index.js.map +1 -0
- package/dist/core/index.d.ts +14 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +12 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/init.d.ts +76 -0
- package/dist/core/init.d.ts.map +1 -0
- package/dist/core/init.js +730 -0
- package/dist/core/init.js.map +1 -0
- package/dist/core/inject/index.d.ts +24 -0
- package/dist/core/inject/index.d.ts.map +1 -0
- package/dist/core/inject/index.js +84 -0
- package/dist/core/inject/index.js.map +1 -0
- package/dist/core/issue/index.d.ts +9 -0
- package/dist/core/issue/index.d.ts.map +1 -0
- package/dist/core/issue/index.js +8 -0
- package/dist/core/issue/index.js.map +1 -0
- package/dist/core/issue/template-parser.d.ts +45 -0
- package/dist/core/issue/template-parser.d.ts.map +1 -0
- package/dist/core/issue/template-parser.js +178 -0
- package/dist/core/issue/template-parser.js.map +1 -0
- package/dist/core/lifecycle/index.d.ts +71 -0
- package/dist/core/lifecycle/index.d.ts.map +1 -0
- package/dist/core/lifecycle/index.js +213 -0
- package/dist/core/lifecycle/index.js.map +1 -0
- package/dist/core/log/index.d.ts +15 -0
- package/dist/core/log/index.d.ts.map +1 -0
- package/dist/core/log/index.js +33 -0
- package/dist/core/log/index.js.map +1 -0
- package/dist/core/mcp/index.d.ts +37 -0
- package/dist/core/mcp/index.d.ts.map +1 -0
- package/dist/core/mcp/index.js +73 -0
- package/dist/core/mcp/index.js.map +1 -0
- package/dist/core/metrics/ab-test.d.ts +52 -0
- package/dist/core/metrics/ab-test.d.ts.map +1 -0
- package/dist/core/metrics/ab-test.js +261 -0
- package/dist/core/metrics/ab-test.js.map +1 -0
- package/dist/core/metrics/aggregation.d.ts +41 -0
- package/dist/core/metrics/aggregation.d.ts.map +1 -0
- package/dist/core/metrics/aggregation.js +353 -0
- package/dist/core/metrics/aggregation.js.map +1 -0
- package/dist/core/metrics/common.d.ts +30 -0
- package/dist/core/metrics/common.d.ts.map +1 -0
- package/dist/core/metrics/common.js +64 -0
- package/dist/core/metrics/common.js.map +1 -0
- package/dist/core/metrics/enums.d.ts +68 -0
- package/dist/core/metrics/enums.d.ts.map +1 -0
- package/dist/core/metrics/enums.js +78 -0
- package/dist/core/metrics/enums.js.map +1 -0
- package/dist/core/metrics/index.d.ts +17 -0
- package/dist/core/metrics/index.d.ts.map +1 -0
- package/dist/core/metrics/index.js +19 -0
- package/dist/core/metrics/index.js.map +1 -0
- package/dist/core/metrics/otel-integration.d.ts +49 -0
- package/dist/core/metrics/otel-integration.d.ts.map +1 -0
- package/dist/core/metrics/otel-integration.js +261 -0
- package/dist/core/metrics/otel-integration.js.map +1 -0
- package/dist/core/metrics/token-estimation.d.ts +70 -0
- package/dist/core/metrics/token-estimation.d.ts.map +1 -0
- package/dist/core/metrics/token-estimation.js +253 -0
- package/dist/core/metrics/token-estimation.js.map +1 -0
- package/dist/core/migration/checksum.d.ts +55 -0
- package/dist/core/migration/checksum.d.ts.map +1 -0
- package/dist/core/migration/checksum.js +90 -0
- package/dist/core/migration/checksum.js.map +1 -0
- package/dist/core/migration/index.d.ts +77 -0
- package/dist/core/migration/index.d.ts.map +1 -0
- package/dist/core/migration/index.js +278 -0
- package/dist/core/migration/index.js.map +1 -0
- package/dist/core/migration/logger.d.ts +161 -0
- package/dist/core/migration/logger.d.ts.map +1 -0
- package/dist/core/migration/logger.js +364 -0
- package/dist/core/migration/logger.js.map +1 -0
- package/dist/core/migration/preflight.d.ts +43 -0
- package/dist/core/migration/preflight.d.ts.map +1 -0
- package/dist/core/migration/preflight.js +164 -0
- package/dist/core/migration/preflight.js.map +1 -0
- package/dist/core/migration/state.d.ts +186 -0
- package/dist/core/migration/state.d.ts.map +1 -0
- package/dist/core/migration/state.js +419 -0
- package/dist/core/migration/state.js.map +1 -0
- package/dist/core/migration/validate.d.ts +57 -0
- package/dist/core/migration/validate.d.ts.map +1 -0
- package/dist/core/migration/validate.js +242 -0
- package/dist/core/migration/validate.js.map +1 -0
- package/dist/core/nexus/deps.d.ts +112 -0
- package/dist/core/nexus/deps.d.ts.map +1 -0
- package/dist/core/nexus/deps.js +394 -0
- package/dist/core/nexus/deps.js.map +1 -0
- package/dist/core/nexus/index.d.ts +14 -0
- package/dist/core/nexus/index.d.ts.map +1 -0
- package/dist/core/nexus/index.js +36 -0
- package/dist/core/nexus/index.js.map +1 -0
- package/dist/core/nexus/permissions.d.ts +75 -0
- package/dist/core/nexus/permissions.d.ts.map +1 -0
- package/dist/core/nexus/permissions.js +126 -0
- package/dist/core/nexus/permissions.js.map +1 -0
- package/dist/core/nexus/query.d.ts +55 -0
- package/dist/core/nexus/query.d.ts.map +1 -0
- package/dist/core/nexus/query.js +181 -0
- package/dist/core/nexus/query.js.map +1 -0
- package/dist/core/nexus/registry.d.ts +135 -0
- package/dist/core/nexus/registry.d.ts.map +1 -0
- package/dist/core/nexus/registry.js +296 -0
- package/dist/core/nexus/registry.js.map +1 -0
- package/dist/core/orchestration/index.d.ts +114 -0
- package/dist/core/orchestration/index.d.ts.map +1 -0
- package/dist/core/orchestration/index.js +295 -0
- package/dist/core/orchestration/index.js.map +1 -0
- package/dist/core/orchestration/protocol-validators.d.ts +94 -0
- package/dist/core/orchestration/protocol-validators.d.ts.map +1 -0
- package/dist/core/orchestration/protocol-validators.js +510 -0
- package/dist/core/orchestration/protocol-validators.js.map +1 -0
- package/dist/core/otel/index.d.ts +27 -0
- package/dist/core/otel/index.d.ts.map +1 -0
- package/dist/core/otel/index.js +126 -0
- package/dist/core/otel/index.js.map +1 -0
- package/dist/core/output.d.ts +64 -0
- package/dist/core/output.d.ts.map +1 -0
- package/dist/core/output.js +134 -0
- package/dist/core/output.js.map +1 -0
- package/dist/core/pagination.d.ts +45 -0
- package/dist/core/pagination.d.ts.map +1 -0
- package/dist/core/pagination.js +61 -0
- package/dist/core/pagination.js.map +1 -0
- package/dist/core/paths.d.ts +122 -0
- package/dist/core/paths.d.ts.map +1 -0
- package/dist/core/paths.js +269 -0
- package/dist/core/paths.js.map +1 -0
- package/dist/core/phases/deps.d.ts +142 -0
- package/dist/core/phases/deps.d.ts.map +1 -0
- package/dist/core/phases/deps.js +390 -0
- package/dist/core/phases/deps.js.map +1 -0
- package/dist/core/phases/index.d.ts +123 -0
- package/dist/core/phases/index.d.ts.map +1 -0
- package/dist/core/phases/index.js +409 -0
- package/dist/core/phases/index.js.map +1 -0
- package/dist/core/platform.d.ts +55 -0
- package/dist/core/platform.d.ts.map +1 -0
- package/dist/core/platform.js +117 -0
- package/dist/core/platform.js.map +1 -0
- package/dist/core/release/artifacts.d.ts +71 -0
- package/dist/core/release/artifacts.d.ts.map +1 -0
- package/dist/core/release/artifacts.js +412 -0
- package/dist/core/release/artifacts.js.map +1 -0
- package/dist/core/release/ci.d.ts +35 -0
- package/dist/core/release/ci.d.ts.map +1 -0
- package/dist/core/release/ci.js +162 -0
- package/dist/core/release/ci.js.map +1 -0
- package/dist/core/release/guards.d.ts +47 -0
- package/dist/core/release/guards.d.ts.map +1 -0
- package/dist/core/release/guards.js +110 -0
- package/dist/core/release/guards.js.map +1 -0
- package/dist/core/release/index.d.ts +97 -0
- package/dist/core/release/index.d.ts.map +1 -0
- package/dist/core/release/index.js +459 -0
- package/dist/core/release/index.js.map +1 -0
- package/dist/core/release/provenance.d.ts +75 -0
- package/dist/core/release/provenance.d.ts.map +1 -0
- package/dist/core/release/provenance.js +213 -0
- package/dist/core/release/provenance.js.map +1 -0
- package/dist/core/release/release-config.d.ts +55 -0
- package/dist/core/release/release-config.d.ts.map +1 -0
- package/dist/core/release/release-config.js +105 -0
- package/dist/core/release/release-config.js.map +1 -0
- package/dist/core/release/version-bump.d.ts +51 -0
- package/dist/core/release/version-bump.d.ts.map +1 -0
- package/dist/core/release/version-bump.js +251 -0
- package/dist/core/release/version-bump.js.map +1 -0
- package/dist/core/research/index.d.ts +129 -0
- package/dist/core/research/index.d.ts.map +1 -0
- package/dist/core/research/index.js +251 -0
- package/dist/core/research/index.js.map +1 -0
- package/dist/core/roadmap/index.d.ts +13 -0
- package/dist/core/roadmap/index.d.ts.map +1 -0
- package/dist/core/roadmap/index.js +63 -0
- package/dist/core/roadmap/index.js.map +1 -0
- package/dist/core/schema.d.ts +20 -0
- package/dist/core/schema.d.ts.map +1 -0
- package/dist/core/schema.js +75 -0
- package/dist/core/schema.js.map +1 -0
- package/dist/core/sequence/index.d.ts +21 -0
- package/dist/core/sequence/index.d.ts.map +1 -0
- package/dist/core/sequence/index.js +108 -0
- package/dist/core/sequence/index.js.map +1 -0
- package/dist/core/sessions/context-alert.d.ts +48 -0
- package/dist/core/sessions/context-alert.d.ts.map +1 -0
- package/dist/core/sessions/context-alert.js +222 -0
- package/dist/core/sessions/context-alert.js.map +1 -0
- package/dist/core/sessions/context-monitor.d.ts +31 -0
- package/dist/core/sessions/context-monitor.d.ts.map +1 -0
- package/dist/core/sessions/context-monitor.js +83 -0
- package/dist/core/sessions/context-monitor.js.map +1 -0
- package/dist/core/sessions/hitl-warnings.d.ts +58 -0
- package/dist/core/sessions/hitl-warnings.d.ts.map +1 -0
- package/dist/core/sessions/hitl-warnings.js +253 -0
- package/dist/core/sessions/hitl-warnings.js.map +1 -0
- package/dist/core/sessions/index.d.ts +65 -0
- package/dist/core/sessions/index.d.ts.map +1 -0
- package/dist/core/sessions/index.js +244 -0
- package/dist/core/sessions/index.js.map +1 -0
- package/dist/core/sessions/session-enforcement.d.ts +50 -0
- package/dist/core/sessions/session-enforcement.d.ts.map +1 -0
- package/dist/core/sessions/session-enforcement.js +139 -0
- package/dist/core/sessions/session-enforcement.js.map +1 -0
- package/dist/core/sessions/session-migration.d.ts +31 -0
- package/dist/core/sessions/session-migration.d.ts.map +1 -0
- package/dist/core/sessions/session-migration.js +122 -0
- package/dist/core/sessions/session-migration.js.map +1 -0
- package/dist/core/sessions/statusline-setup.d.ts +24 -0
- package/dist/core/sessions/statusline-setup.d.ts.map +1 -0
- package/dist/core/sessions/statusline-setup.js +82 -0
- package/dist/core/sessions/statusline-setup.js.map +1 -0
- package/dist/core/skills/agents/config.d.ts +39 -0
- package/dist/core/skills/agents/config.d.ts.map +1 -0
- package/dist/core/skills/agents/config.js +94 -0
- package/dist/core/skills/agents/config.js.map +1 -0
- package/dist/core/skills/agents/install.d.ts +33 -0
- package/dist/core/skills/agents/install.d.ts.map +1 -0
- package/dist/core/skills/agents/install.js +105 -0
- package/dist/core/skills/agents/install.js.map +1 -0
- package/dist/core/skills/agents/registry.d.ts +56 -0
- package/dist/core/skills/agents/registry.d.ts.map +1 -0
- package/dist/core/skills/agents/registry.js +161 -0
- package/dist/core/skills/agents/registry.js.map +1 -0
- package/dist/core/skills/discovery.d.ts +102 -0
- package/dist/core/skills/discovery.d.ts.map +1 -0
- package/dist/core/skills/discovery.js +331 -0
- package/dist/core/skills/discovery.js.map +1 -0
- package/dist/core/skills/dispatch.d.ts +67 -0
- package/dist/core/skills/dispatch.d.ts.map +1 -0
- package/dist/core/skills/dispatch.js +327 -0
- package/dist/core/skills/dispatch.js.map +1 -0
- package/dist/core/skills/index.d.ts +39 -0
- package/dist/core/skills/index.d.ts.map +1 -0
- package/dist/core/skills/index.js +44 -0
- package/dist/core/skills/index.js.map +1 -0
- package/dist/core/skills/injection/subagent.d.ts +47 -0
- package/dist/core/skills/injection/subagent.d.ts.map +1 -0
- package/dist/core/skills/injection/subagent.js +143 -0
- package/dist/core/skills/injection/subagent.js.map +1 -0
- package/dist/core/skills/injection/token.d.ts +121 -0
- package/dist/core/skills/injection/token.d.ts.map +1 -0
- package/dist/core/skills/injection/token.js +255 -0
- package/dist/core/skills/injection/token.js.map +1 -0
- package/dist/core/skills/install.d.ts +42 -0
- package/dist/core/skills/install.d.ts.map +1 -0
- package/dist/core/skills/install.js +129 -0
- package/dist/core/skills/install.js.map +1 -0
- package/dist/core/skills/manifests/contribution.d.ts +74 -0
- package/dist/core/skills/manifests/contribution.d.ts.map +1 -0
- package/dist/core/skills/manifests/contribution.js +180 -0
- package/dist/core/skills/manifests/contribution.js.map +1 -0
- package/dist/core/skills/manifests/research.d.ts +73 -0
- package/dist/core/skills/manifests/research.d.ts.map +1 -0
- package/dist/core/skills/manifests/research.js +264 -0
- package/dist/core/skills/manifests/research.js.map +1 -0
- package/dist/core/skills/manifests/resolver.d.ts +40 -0
- package/dist/core/skills/manifests/resolver.d.ts.map +1 -0
- package/dist/core/skills/manifests/resolver.js +146 -0
- package/dist/core/skills/manifests/resolver.js.map +1 -0
- package/dist/core/skills/marketplace.d.ts +45 -0
- package/dist/core/skills/marketplace.d.ts.map +1 -0
- package/dist/core/skills/marketplace.js +90 -0
- package/dist/core/skills/marketplace.js.map +1 -0
- package/dist/core/skills/orchestrator/spawn.d.ts +66 -0
- package/dist/core/skills/orchestrator/spawn.d.ts.map +1 -0
- package/dist/core/skills/orchestrator/spawn.js +186 -0
- package/dist/core/skills/orchestrator/spawn.js.map +1 -0
- package/dist/core/skills/orchestrator/startup.d.ts +89 -0
- package/dist/core/skills/orchestrator/startup.d.ts.map +1 -0
- package/dist/core/skills/orchestrator/startup.js +434 -0
- package/dist/core/skills/orchestrator/startup.js.map +1 -0
- package/dist/core/skills/orchestrator/validator.d.ts +40 -0
- package/dist/core/skills/orchestrator/validator.d.ts.map +1 -0
- package/dist/core/skills/orchestrator/validator.js +297 -0
- package/dist/core/skills/orchestrator/validator.js.map +1 -0
- package/dist/core/skills/skill-paths.d.ts +79 -0
- package/dist/core/skills/skill-paths.d.ts.map +1 -0
- package/dist/core/skills/skill-paths.js +220 -0
- package/dist/core/skills/skill-paths.js.map +1 -0
- package/dist/core/skills/test-utility.d.ts +39 -0
- package/dist/core/skills/test-utility.d.ts.map +1 -0
- package/dist/core/skills/test-utility.js +55 -0
- package/dist/core/skills/test-utility.js.map +1 -0
- package/dist/core/skills/types.d.ts +290 -0
- package/dist/core/skills/types.d.ts.map +1 -0
- package/dist/core/skills/types.js +86 -0
- package/dist/core/skills/types.js.map +1 -0
- package/dist/core/skills/validation.d.ts +46 -0
- package/dist/core/skills/validation.d.ts.map +1 -0
- package/dist/core/skills/validation.js +176 -0
- package/dist/core/skills/validation.js.map +1 -0
- package/dist/core/skills/version.d.ts +87 -0
- package/dist/core/skills/version.d.ts.map +1 -0
- package/dist/core/skills/version.js +241 -0
- package/dist/core/skills/version.js.map +1 -0
- package/dist/core/stats/index.d.ts +30 -0
- package/dist/core/stats/index.d.ts.map +1 -0
- package/dist/core/stats/index.js +152 -0
- package/dist/core/stats/index.js.map +1 -0
- package/dist/core/task-work/index.d.ts +66 -0
- package/dist/core/task-work/index.d.ts.map +1 -0
- package/dist/core/task-work/index.js +148 -0
- package/dist/core/task-work/index.js.map +1 -0
- package/dist/core/tasks/add.d.ts +125 -0
- package/dist/core/tasks/add.d.ts.map +1 -0
- package/dist/core/tasks/add.js +489 -0
- package/dist/core/tasks/add.js.map +1 -0
- package/dist/core/tasks/analyze.d.ts +49 -0
- package/dist/core/tasks/analyze.d.ts.map +1 -0
- package/dist/core/tasks/analyze.js +94 -0
- package/dist/core/tasks/analyze.js.map +1 -0
- package/dist/core/tasks/archive.d.ts +31 -0
- package/dist/core/tasks/archive.d.ts.map +1 -0
- package/dist/core/tasks/archive.js +126 -0
- package/dist/core/tasks/archive.js.map +1 -0
- package/dist/core/tasks/cancel-ops.d.ts +42 -0
- package/dist/core/tasks/cancel-ops.d.ts.map +1 -0
- package/dist/core/tasks/cancel-ops.js +83 -0
- package/dist/core/tasks/cancel-ops.js.map +1 -0
- package/dist/core/tasks/complete.d.ts +25 -0
- package/dist/core/tasks/complete.d.ts.map +1 -0
- package/dist/core/tasks/complete.js +109 -0
- package/dist/core/tasks/complete.js.map +1 -0
- package/dist/core/tasks/crossref-extract.d.ts +39 -0
- package/dist/core/tasks/crossref-extract.d.ts.map +1 -0
- package/dist/core/tasks/crossref-extract.js +75 -0
- package/dist/core/tasks/crossref-extract.js.map +1 -0
- package/dist/core/tasks/delete-preview.d.ts +69 -0
- package/dist/core/tasks/delete-preview.d.ts.map +1 -0
- package/dist/core/tasks/delete-preview.js +192 -0
- package/dist/core/tasks/delete-preview.js.map +1 -0
- package/dist/core/tasks/delete.d.ts +24 -0
- package/dist/core/tasks/delete.d.ts.map +1 -0
- package/dist/core/tasks/delete.js +130 -0
- package/dist/core/tasks/delete.js.map +1 -0
- package/dist/core/tasks/deletion-strategy.d.ts +46 -0
- package/dist/core/tasks/deletion-strategy.d.ts.map +1 -0
- package/dist/core/tasks/deletion-strategy.js +200 -0
- package/dist/core/tasks/deletion-strategy.js.map +1 -0
- package/dist/core/tasks/dependency-check.d.ts +70 -0
- package/dist/core/tasks/dependency-check.d.ts.map +1 -0
- package/dist/core/tasks/dependency-check.js +226 -0
- package/dist/core/tasks/dependency-check.js.map +1 -0
- package/dist/core/tasks/find.d.ts +48 -0
- package/dist/core/tasks/find.d.ts.map +1 -0
- package/dist/core/tasks/find.js +155 -0
- package/dist/core/tasks/find.js.map +1 -0
- package/dist/core/tasks/graph-cache.d.ts +70 -0
- package/dist/core/tasks/graph-cache.d.ts.map +1 -0
- package/dist/core/tasks/graph-cache.js +127 -0
- package/dist/core/tasks/graph-cache.js.map +1 -0
- package/dist/core/tasks/graph-ops.d.ts +36 -0
- package/dist/core/tasks/graph-ops.d.ts.map +1 -0
- package/dist/core/tasks/graph-ops.js +173 -0
- package/dist/core/tasks/graph-ops.js.map +1 -0
- package/dist/core/tasks/graph-rag.d.ts +49 -0
- package/dist/core/tasks/graph-rag.d.ts.map +1 -0
- package/dist/core/tasks/graph-rag.js +253 -0
- package/dist/core/tasks/graph-rag.js.map +1 -0
- package/dist/core/tasks/hierarchy.d.ts +82 -0
- package/dist/core/tasks/hierarchy.d.ts.map +1 -0
- package/dist/core/tasks/hierarchy.js +188 -0
- package/dist/core/tasks/hierarchy.js.map +1 -0
- package/dist/core/tasks/index.d.ts +15 -0
- package/dist/core/tasks/index.d.ts.map +1 -0
- package/dist/core/tasks/index.js +15 -0
- package/dist/core/tasks/index.js.map +1 -0
- package/dist/core/tasks/labels.d.ts +19 -0
- package/dist/core/tasks/labels.d.ts.map +1 -0
- package/dist/core/tasks/labels.js +56 -0
- package/dist/core/tasks/labels.js.map +1 -0
- package/dist/core/tasks/list.d.ts +36 -0
- package/dist/core/tasks/list.d.ts.map +1 -0
- package/dist/core/tasks/list.js +72 -0
- package/dist/core/tasks/list.js.map +1 -0
- package/dist/core/tasks/phase-tracking.d.ts +61 -0
- package/dist/core/tasks/phase-tracking.d.ts.map +1 -0
- package/dist/core/tasks/phase-tracking.js +133 -0
- package/dist/core/tasks/phase-tracking.js.map +1 -0
- package/dist/core/tasks/relates.d.ts +18 -0
- package/dist/core/tasks/relates.d.ts.map +1 -0
- package/dist/core/tasks/relates.js +115 -0
- package/dist/core/tasks/relates.js.map +1 -0
- package/dist/core/tasks/show.d.ts +25 -0
- package/dist/core/tasks/show.d.ts.map +1 -0
- package/dist/core/tasks/show.js +79 -0
- package/dist/core/tasks/show.js.map +1 -0
- package/dist/core/tasks/size-weighting.d.ts +38 -0
- package/dist/core/tasks/size-weighting.d.ts.map +1 -0
- package/dist/core/tasks/size-weighting.js +86 -0
- package/dist/core/tasks/size-weighting.js.map +1 -0
- package/dist/core/tasks/staleness.d.ts +56 -0
- package/dist/core/tasks/staleness.d.ts.map +1 -0
- package/dist/core/tasks/staleness.js +91 -0
- package/dist/core/tasks/staleness.js.map +1 -0
- package/dist/core/tasks/todowrite-integration.d.ts +46 -0
- package/dist/core/tasks/todowrite-integration.d.ts.map +1 -0
- package/dist/core/tasks/todowrite-integration.js +172 -0
- package/dist/core/tasks/todowrite-integration.js.map +1 -0
- package/dist/core/tasks/update.d.ts +41 -0
- package/dist/core/tasks/update.d.ts.map +1 -0
- package/dist/core/tasks/update.js +178 -0
- package/dist/core/tasks/update.js.map +1 -0
- package/dist/core/ui/aliases.d.ts +43 -0
- package/dist/core/ui/aliases.d.ts.map +1 -0
- package/dist/core/ui/aliases.js +150 -0
- package/dist/core/ui/aliases.js.map +1 -0
- package/dist/core/ui/changelog.d.ts +58 -0
- package/dist/core/ui/changelog.d.ts.map +1 -0
- package/dist/core/ui/changelog.js +195 -0
- package/dist/core/ui/changelog.js.map +1 -0
- package/dist/core/ui/command-registry.d.ts +44 -0
- package/dist/core/ui/command-registry.d.ts.map +1 -0
- package/dist/core/ui/command-registry.js +156 -0
- package/dist/core/ui/command-registry.js.map +1 -0
- package/dist/core/ui/flags.d.ts +34 -0
- package/dist/core/ui/flags.d.ts.map +1 -0
- package/dist/core/ui/flags.js +94 -0
- package/dist/core/ui/flags.js.map +1 -0
- package/dist/core/ui/index.d.ts +18 -0
- package/dist/core/ui/index.d.ts.map +1 -0
- package/dist/core/ui/index.js +28 -0
- package/dist/core/ui/index.js.map +1 -0
- package/dist/core/ui/injection-legacy.d.ts +26 -0
- package/dist/core/ui/injection-legacy.d.ts.map +1 -0
- package/dist/core/ui/injection-legacy.js +42 -0
- package/dist/core/ui/injection-legacy.js.map +1 -0
- package/dist/core/ui/injection-registry.d.ts +56 -0
- package/dist/core/ui/injection-registry.d.ts.map +1 -0
- package/dist/core/ui/injection-registry.js +68 -0
- package/dist/core/ui/injection-registry.js.map +1 -0
- package/dist/core/ui/injection.d.ts +51 -0
- package/dist/core/ui/injection.d.ts.map +1 -0
- package/dist/core/ui/injection.js +125 -0
- package/dist/core/ui/injection.js.map +1 -0
- package/dist/core/ui/mcp-config.d.ts +40 -0
- package/dist/core/ui/mcp-config.d.ts.map +1 -0
- package/dist/core/ui/mcp-config.js +173 -0
- package/dist/core/ui/mcp-config.js.map +1 -0
- package/dist/core/ui/version-check.d.ts +31 -0
- package/dist/core/ui/version-check.d.ts.map +1 -0
- package/dist/core/ui/version-check.js +121 -0
- package/dist/core/ui/version-check.js.map +1 -0
- package/dist/core/upgrade.d.ts +59 -0
- package/dist/core/upgrade.d.ts.map +1 -0
- package/dist/core/upgrade.js +649 -0
- package/dist/core/upgrade.js.map +1 -0
- package/dist/core/validation/compliance.d.ts +94 -0
- package/dist/core/validation/compliance.d.ts.map +1 -0
- package/dist/core/validation/compliance.js +157 -0
- package/dist/core/validation/compliance.js.map +1 -0
- package/dist/core/validation/docs-sync.d.ts +66 -0
- package/dist/core/validation/docs-sync.d.ts.map +1 -0
- package/dist/core/validation/docs-sync.js +204 -0
- package/dist/core/validation/docs-sync.js.map +1 -0
- package/dist/core/validation/doctor/checks.d.ts +61 -0
- package/dist/core/validation/doctor/checks.d.ts.map +1 -0
- package/dist/core/validation/doctor/checks.js +457 -0
- package/dist/core/validation/doctor/checks.js.map +1 -0
- package/dist/core/validation/doctor/index.d.ts +9 -0
- package/dist/core/validation/doctor/index.d.ts.map +1 -0
- package/dist/core/validation/doctor/index.js +9 -0
- package/dist/core/validation/doctor/index.js.map +1 -0
- package/dist/core/validation/doctor/project-cache.d.ts +79 -0
- package/dist/core/validation/doctor/project-cache.d.ts.map +1 -0
- package/dist/core/validation/doctor/project-cache.js +164 -0
- package/dist/core/validation/doctor/project-cache.js.map +1 -0
- package/dist/core/validation/doctor/utils.d.ts +68 -0
- package/dist/core/validation/doctor/utils.d.ts.map +1 -0
- package/dist/core/validation/doctor/utils.js +162 -0
- package/dist/core/validation/doctor/utils.js.map +1 -0
- package/dist/core/validation/engine.d.ts +172 -0
- package/dist/core/validation/engine.d.ts.map +1 -0
- package/dist/core/validation/engine.js +791 -0
- package/dist/core/validation/engine.js.map +1 -0
- package/dist/core/validation/gap-check.d.ts +74 -0
- package/dist/core/validation/gap-check.d.ts.map +1 -0
- package/dist/core/validation/gap-check.js +175 -0
- package/dist/core/validation/gap-check.js.map +1 -0
- package/dist/core/validation/index.d.ts +17 -0
- package/dist/core/validation/index.d.ts.map +1 -0
- package/dist/core/validation/index.js +25 -0
- package/dist/core/validation/index.js.map +1 -0
- package/dist/core/validation/manifest.d.ts +81 -0
- package/dist/core/validation/manifest.d.ts.map +1 -0
- package/dist/core/validation/manifest.js +225 -0
- package/dist/core/validation/manifest.js.map +1 -0
- package/dist/core/validation/protocol-common.d.ts +77 -0
- package/dist/core/validation/protocol-common.d.ts.map +1 -0
- package/dist/core/validation/protocol-common.js +240 -0
- package/dist/core/validation/protocol-common.js.map +1 -0
- package/dist/core/validation/protocols/consensus.d.ts +28 -0
- package/dist/core/validation/protocols/consensus.d.ts.map +1 -0
- package/dist/core/validation/protocols/consensus.js +70 -0
- package/dist/core/validation/protocols/consensus.js.map +1 -0
- package/dist/core/validation/protocols/contribution.d.ts +26 -0
- package/dist/core/validation/protocols/contribution.d.ts.map +1 -0
- package/dist/core/validation/protocols/contribution.js +58 -0
- package/dist/core/validation/protocols/contribution.js.map +1 -0
- package/dist/core/validation/protocols/decomposition.d.ts +28 -0
- package/dist/core/validation/protocols/decomposition.d.ts.map +1 -0
- package/dist/core/validation/protocols/decomposition.js +58 -0
- package/dist/core/validation/protocols/decomposition.js.map +1 -0
- package/dist/core/validation/protocols/implementation.d.ts +26 -0
- package/dist/core/validation/protocols/implementation.d.ts.map +1 -0
- package/dist/core/validation/protocols/implementation.js +58 -0
- package/dist/core/validation/protocols/implementation.js.map +1 -0
- package/dist/core/validation/protocols/specification.d.ts +28 -0
- package/dist/core/validation/protocols/specification.d.ts.map +1 -0
- package/dist/core/validation/protocols/specification.js +83 -0
- package/dist/core/validation/protocols/specification.js.map +1 -0
- package/dist/core/validation/verification.d.ts +153 -0
- package/dist/core/validation/verification.d.ts.map +1 -0
- package/dist/core/validation/verification.js +311 -0
- package/dist/core/validation/verification.js.map +1 -0
- package/dist/dispatch/dispatcher.d.ts +23 -0
- package/dist/dispatch/dispatcher.d.ts.map +1 -0
- package/dist/dispatch/dispatcher.js +90 -0
- package/dist/dispatch/dispatcher.js.map +1 -0
- package/dist/dispatch/domains/_meta.d.ts +23 -0
- package/dist/dispatch/domains/_meta.d.ts.map +1 -0
- package/dist/dispatch/domains/_meta.js +25 -0
- package/dist/dispatch/domains/_meta.js.map +1 -0
- package/dist/dispatch/domains/admin.d.ts +29 -0
- package/dist/dispatch/domains/admin.d.ts.map +1 -0
- package/dist/dispatch/domains/admin.js +200 -0
- package/dist/dispatch/domains/admin.js.map +1 -0
- package/dist/dispatch/domains/check.d.ts +28 -0
- package/dist/dispatch/domains/check.d.ts.map +1 -0
- package/dist/dispatch/domains/check.js +170 -0
- package/dist/dispatch/domains/check.js.map +1 -0
- package/dist/dispatch/domains/index.d.ts +26 -0
- package/dist/dispatch/domains/index.d.ts.map +1 -0
- package/dist/dispatch/domains/index.js +36 -0
- package/dist/dispatch/domains/index.js.map +1 -0
- package/dist/dispatch/domains/memory.d.ts +27 -0
- package/dist/dispatch/domains/memory.d.ts.map +1 -0
- package/dist/dispatch/domains/memory.js +169 -0
- package/dist/dispatch/domains/memory.js.map +1 -0
- package/dist/dispatch/domains/nexus.d.ts +18 -0
- package/dist/dispatch/domains/nexus.d.ts.map +1 -0
- package/dist/dispatch/domains/nexus.js +34 -0
- package/dist/dispatch/domains/nexus.js.map +1 -0
- package/dist/dispatch/domains/orchestrate.d.ts +24 -0
- package/dist/dispatch/domains/orchestrate.d.ts.map +1 -0
- package/dist/dispatch/domains/orchestrate.js +199 -0
- package/dist/dispatch/domains/orchestrate.js.map +1 -0
- package/dist/dispatch/domains/pipeline.d.ts +31 -0
- package/dist/dispatch/domains/pipeline.d.ts.map +1 -0
- package/dist/dispatch/domains/pipeline.js +284 -0
- package/dist/dispatch/domains/pipeline.js.map +1 -0
- package/dist/dispatch/domains/session.d.ts +27 -0
- package/dist/dispatch/domains/session.d.ts.map +1 -0
- package/dist/dispatch/domains/session.js +180 -0
- package/dist/dispatch/domains/session.js.map +1 -0
- package/dist/dispatch/domains/tools.d.ts +39 -0
- package/dist/dispatch/domains/tools.d.ts.map +1 -0
- package/dist/dispatch/domains/tools.js +314 -0
- package/dist/dispatch/domains/tools.js.map +1 -0
- package/dist/dispatch/index.d.ts +20 -0
- package/dist/dispatch/index.d.ts.map +1 -0
- package/dist/dispatch/index.js +19 -0
- package/dist/dispatch/index.js.map +1 -0
- package/dist/dispatch/lib/meta.d.ts +24 -0
- package/dist/dispatch/lib/meta.d.ts.map +1 -0
- package/dist/dispatch/lib/meta.js +34 -0
- package/dist/dispatch/lib/meta.js.map +1 -0
- package/dist/dispatch/middleware/audit.d.ts +123 -0
- package/dist/dispatch/middleware/audit.d.ts.map +1 -0
- package/dist/dispatch/middleware/audit.js +345 -0
- package/dist/dispatch/middleware/audit.js.map +1 -0
- package/dist/dispatch/middleware/pipeline.d.ts +20 -0
- package/dist/dispatch/middleware/pipeline.d.ts.map +1 -0
- package/dist/dispatch/middleware/pipeline.js +47 -0
- package/dist/dispatch/middleware/pipeline.js.map +1 -0
- package/dist/dispatch/middleware/protocol-enforcement.d.ts +6 -0
- package/dist/dispatch/middleware/protocol-enforcement.d.ts.map +1 -0
- package/dist/dispatch/middleware/protocol-enforcement.js +12 -0
- package/dist/dispatch/middleware/protocol-enforcement.js.map +1 -0
- package/dist/dispatch/middleware/rate-limiter.d.ts +30 -0
- package/dist/dispatch/middleware/rate-limiter.d.ts.map +1 -0
- package/dist/dispatch/middleware/rate-limiter.js +101 -0
- package/dist/dispatch/middleware/rate-limiter.js.map +1 -0
- package/dist/dispatch/middleware/sanitizer.d.ts +10 -0
- package/dist/dispatch/middleware/sanitizer.d.ts.map +1 -0
- package/dist/dispatch/middleware/sanitizer.js +39 -0
- package/dist/dispatch/middleware/sanitizer.js.map +1 -0
- package/dist/dispatch/middleware/verification-gates.d.ts +3 -0
- package/dist/dispatch/middleware/verification-gates.d.ts.map +1 -0
- package/dist/dispatch/middleware/verification-gates.js +40 -0
- package/dist/dispatch/middleware/verification-gates.js.map +1 -0
- package/dist/dispatch/registry.d.ts +89 -0
- package/dist/dispatch/registry.d.ts.map +1 -0
- package/dist/dispatch/registry.js +1591 -0
- package/dist/dispatch/registry.js.map +1 -0
- package/dist/dispatch/types.d.ts +137 -0
- package/dist/dispatch/types.d.ts.map +1 -0
- package/dist/dispatch/types.js +24 -0
- package/dist/dispatch/types.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/domains/index.d.ts +19 -0
- package/dist/mcp/domains/index.d.ts.map +1 -0
- package/dist/mcp/domains/index.js +19 -0
- package/dist/mcp/domains/index.js.map +1 -0
- package/dist/mcp/domains/issues.d.ts +69 -0
- package/dist/mcp/domains/issues.d.ts.map +1 -0
- package/dist/mcp/domains/issues.js +260 -0
- package/dist/mcp/domains/issues.js.map +1 -0
- package/dist/mcp/domains/lifecycle.d.ts +154 -0
- package/dist/mcp/domains/lifecycle.d.ts.map +1 -0
- package/dist/mcp/domains/lifecycle.js +508 -0
- package/dist/mcp/domains/lifecycle.js.map +1 -0
- package/dist/mcp/domains/orchestrate.d.ts +140 -0
- package/dist/mcp/domains/orchestrate.d.ts.map +1 -0
- package/dist/mcp/domains/orchestrate.js +542 -0
- package/dist/mcp/domains/orchestrate.js.map +1 -0
- package/dist/mcp/domains/providers.d.ts +28 -0
- package/dist/mcp/domains/providers.d.ts.map +1 -0
- package/dist/mcp/domains/providers.js +108 -0
- package/dist/mcp/domains/providers.js.map +1 -0
- package/dist/mcp/domains/release.d.ts +121 -0
- package/dist/mcp/domains/release.d.ts.map +1 -0
- package/dist/mcp/domains/release.js +486 -0
- package/dist/mcp/domains/release.js.map +1 -0
- package/dist/mcp/domains/research.d.ts +158 -0
- package/dist/mcp/domains/research.d.ts.map +1 -0
- package/dist/mcp/domains/research.js +698 -0
- package/dist/mcp/domains/research.js.map +1 -0
- package/dist/mcp/domains/session.d.ts +136 -0
- package/dist/mcp/domains/session.d.ts.map +1 -0
- package/dist/mcp/domains/session.js +583 -0
- package/dist/mcp/domains/session.js.map +1 -0
- package/dist/mcp/domains/skills.d.ts +129 -0
- package/dist/mcp/domains/skills.d.ts.map +1 -0
- package/dist/mcp/domains/skills.js +691 -0
- package/dist/mcp/domains/skills.js.map +1 -0
- package/dist/mcp/domains/system.d.ts +166 -0
- package/dist/mcp/domains/system.d.ts.map +1 -0
- package/dist/mcp/domains/system.js +1000 -0
- package/dist/mcp/domains/system.js.map +1 -0
- package/dist/mcp/domains/tasks.d.ts +241 -0
- package/dist/mcp/domains/tasks.d.ts.map +1 -0
- package/dist/mcp/domains/tasks.js +1152 -0
- package/dist/mcp/domains/tasks.js.map +1 -0
- package/dist/mcp/domains/validate.d.ts +163 -0
- package/dist/mcp/domains/validate.d.ts.map +1 -0
- package/dist/mcp/domains/validate.js +787 -0
- package/dist/mcp/domains/validate.js.map +1 -0
- package/dist/mcp/engine/caamp-adapter.d.ts +12 -0
- package/dist/mcp/engine/caamp-adapter.d.ts.map +1 -0
- package/dist/mcp/engine/caamp-adapter.js +23 -0
- package/dist/mcp/engine/caamp-adapter.js.map +1 -0
- package/dist/mcp/engine/caamp-verify.d.ts +2 -0
- package/dist/mcp/engine/caamp-verify.d.ts.map +1 -0
- package/dist/mcp/engine/caamp-verify.js +15 -0
- package/dist/mcp/engine/caamp-verify.js.map +1 -0
- package/dist/mcp/engine/capability-matrix.d.ts +67 -0
- package/dist/mcp/engine/capability-matrix.d.ts.map +1 -0
- package/dist/mcp/engine/capability-matrix.js +243 -0
- package/dist/mcp/engine/capability-matrix.js.map +1 -0
- package/dist/mcp/engine/config-engine.d.ts +29 -0
- package/dist/mcp/engine/config-engine.d.ts.map +1 -0
- package/dist/mcp/engine/config-engine.js +110 -0
- package/dist/mcp/engine/config-engine.js.map +1 -0
- package/dist/mcp/engine/id-generator.d.ts +34 -0
- package/dist/mcp/engine/id-generator.d.ts.map +1 -0
- package/dist/mcp/engine/id-generator.js +91 -0
- package/dist/mcp/engine/id-generator.js.map +1 -0
- package/dist/mcp/engine/index.d.ts +25 -0
- package/dist/mcp/engine/index.d.ts.map +1 -0
- package/dist/mcp/engine/index.js +42 -0
- package/dist/mcp/engine/index.js.map +1 -0
- package/dist/mcp/engine/init-engine.d.ts +52 -0
- package/dist/mcp/engine/init-engine.d.ts.map +1 -0
- package/dist/mcp/engine/init-engine.js +222 -0
- package/dist/mcp/engine/init-engine.js.map +1 -0
- package/dist/mcp/engine/lifecycle-engine.d.ts +119 -0
- package/dist/mcp/engine/lifecycle-engine.d.ts.map +1 -0
- package/dist/mcp/engine/lifecycle-engine.js +564 -0
- package/dist/mcp/engine/lifecycle-engine.js.map +1 -0
- package/dist/mcp/engine/orchestrate-engine.d.ts +127 -0
- package/dist/mcp/engine/orchestrate-engine.d.ts.map +1 -0
- package/dist/mcp/engine/orchestrate-engine.js +1233 -0
- package/dist/mcp/engine/orchestrate-engine.js.map +1 -0
- package/dist/mcp/engine/release-engine.d.ts +71 -0
- package/dist/mcp/engine/release-engine.d.ts.map +1 -0
- package/dist/mcp/engine/release-engine.js +515 -0
- package/dist/mcp/engine/release-engine.js.map +1 -0
- package/dist/mcp/engine/research-engine.d.ts +182 -0
- package/dist/mcp/engine/research-engine.d.ts.map +1 -0
- package/dist/mcp/engine/research-engine.js +747 -0
- package/dist/mcp/engine/research-engine.js.map +1 -0
- package/dist/mcp/engine/schema-validator.d.ts +47 -0
- package/dist/mcp/engine/schema-validator.d.ts.map +1 -0
- package/dist/mcp/engine/schema-validator.js +219 -0
- package/dist/mcp/engine/schema-validator.js.map +1 -0
- package/dist/mcp/engine/session-engine.d.ts +340 -0
- package/dist/mcp/engine/session-engine.d.ts.map +1 -0
- package/dist/mcp/engine/session-engine.js +1355 -0
- package/dist/mcp/engine/session-engine.js.map +1 -0
- package/dist/mcp/engine/store.d.ts +86 -0
- package/dist/mcp/engine/store.d.ts.map +1 -0
- package/dist/mcp/engine/store.js +393 -0
- package/dist/mcp/engine/store.js.map +1 -0
- package/dist/mcp/engine/system-engine.d.ts +458 -0
- package/dist/mcp/engine/system-engine.d.ts.map +1 -0
- package/dist/mcp/engine/system-engine.js +1568 -0
- package/dist/mcp/engine/system-engine.js.map +1 -0
- package/dist/mcp/engine/task-engine.d.ts +501 -0
- package/dist/mcp/engine/task-engine.d.ts.map +1 -0
- package/dist/mcp/engine/task-engine.js +1840 -0
- package/dist/mcp/engine/task-engine.js.map +1 -0
- package/dist/mcp/engine/template-parser.d.ts +83 -0
- package/dist/mcp/engine/template-parser.d.ts.map +1 -0
- package/dist/mcp/engine/template-parser.js +255 -0
- package/dist/mcp/engine/template-parser.js.map +1 -0
- package/dist/mcp/engine/validate-engine.d.ts +120 -0
- package/dist/mcp/engine/validate-engine.d.ts.map +1 -0
- package/dist/mcp/engine/validate-engine.js +828 -0
- package/dist/mcp/engine/validate-engine.js.map +1 -0
- package/dist/mcp/engine/validation-rules.d.ts +85 -0
- package/dist/mcp/engine/validation-rules.d.ts.map +1 -0
- package/dist/mcp/engine/validation-rules.js +220 -0
- package/dist/mcp/engine/validation-rules.js.map +1 -0
- package/dist/mcp/gateways/mutate.d.ts +100 -0
- package/dist/mcp/gateways/mutate.d.ts.map +1 -0
- package/dist/mcp/gateways/mutate.js +1070 -0
- package/dist/mcp/gateways/mutate.js.map +1 -0
- package/dist/mcp/gateways/query.d.ts +91 -0
- package/dist/mcp/gateways/query.d.ts.map +1 -0
- package/dist/mcp/gateways/query.js +278 -0
- package/dist/mcp/gateways/query.js.map +1 -0
- package/dist/mcp/index.d.ts +20 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +20993 -0
- package/dist/mcp/index.js.map +7 -0
- package/dist/mcp/lib/audit.d.ts +118 -0
- package/dist/mcp/lib/audit.d.ts.map +1 -0
- package/dist/mcp/lib/audit.js +310 -0
- package/dist/mcp/lib/audit.js.map +1 -0
- package/dist/mcp/lib/background-jobs.d.ts +86 -0
- package/dist/mcp/lib/background-jobs.d.ts.map +1 -0
- package/dist/mcp/lib/background-jobs.js +183 -0
- package/dist/mcp/lib/background-jobs.js.map +1 -0
- package/dist/mcp/lib/budget.d.ts +35 -0
- package/dist/mcp/lib/budget.d.ts.map +1 -0
- package/dist/mcp/lib/budget.js +101 -0
- package/dist/mcp/lib/budget.js.map +1 -0
- package/dist/mcp/lib/cache.d.ts +78 -0
- package/dist/mcp/lib/cache.d.ts.map +1 -0
- package/dist/mcp/lib/cache.js +204 -0
- package/dist/mcp/lib/cache.js.map +1 -0
- package/dist/mcp/lib/command-builder.d.ts +52 -0
- package/dist/mcp/lib/command-builder.d.ts.map +1 -0
- package/dist/mcp/lib/command-builder.js +269 -0
- package/dist/mcp/lib/command-builder.js.map +1 -0
- package/dist/mcp/lib/config.d.ts +42 -0
- package/dist/mcp/lib/config.d.ts.map +1 -0
- package/dist/mcp/lib/config.js +248 -0
- package/dist/mcp/lib/config.js.map +1 -0
- package/dist/mcp/lib/defaults.d.ts +115 -0
- package/dist/mcp/lib/defaults.d.ts.map +1 -0
- package/dist/mcp/lib/defaults.js +61 -0
- package/dist/mcp/lib/defaults.js.map +1 -0
- package/dist/mcp/lib/error-handler.d.ts +101 -0
- package/dist/mcp/lib/error-handler.d.ts.map +1 -0
- package/dist/mcp/lib/error-handler.js +277 -0
- package/dist/mcp/lib/error-handler.js.map +1 -0
- package/dist/mcp/lib/executor.d.ts +122 -0
- package/dist/mcp/lib/executor.d.ts.map +1 -0
- package/dist/mcp/lib/executor.js +391 -0
- package/dist/mcp/lib/executor.js.map +1 -0
- package/dist/mcp/lib/exit-codes.d.ts +192 -0
- package/dist/mcp/lib/exit-codes.d.ts.map +1 -0
- package/dist/mcp/lib/exit-codes.js +1029 -0
- package/dist/mcp/lib/exit-codes.js.map +1 -0
- package/dist/mcp/lib/formatter.d.ts +196 -0
- package/dist/mcp/lib/formatter.d.ts.map +1 -0
- package/dist/mcp/lib/formatter.js +260 -0
- package/dist/mcp/lib/formatter.js.map +1 -0
- package/dist/mcp/lib/gate-validators.d.ts +104 -0
- package/dist/mcp/lib/gate-validators.d.ts.map +1 -0
- package/dist/mcp/lib/gate-validators.js +709 -0
- package/dist/mcp/lib/gate-validators.js.map +1 -0
- package/dist/mcp/lib/gateway-meta.d.ts +37 -0
- package/dist/mcp/lib/gateway-meta.d.ts.map +1 -0
- package/dist/mcp/lib/gateway-meta.js +50 -0
- package/dist/mcp/lib/gateway-meta.js.map +1 -0
- package/dist/mcp/lib/manifest-parser.d.ts +61 -0
- package/dist/mcp/lib/manifest-parser.d.ts.map +1 -0
- package/dist/mcp/lib/manifest-parser.js +338 -0
- package/dist/mcp/lib/manifest-parser.js.map +1 -0
- package/dist/mcp/lib/manifest.d.ts +177 -0
- package/dist/mcp/lib/manifest.d.ts.map +1 -0
- package/dist/mcp/lib/manifest.js +301 -0
- package/dist/mcp/lib/manifest.js.map +1 -0
- package/dist/mcp/lib/mode-detector.d.ts +71 -0
- package/dist/mcp/lib/mode-detector.d.ts.map +1 -0
- package/dist/mcp/lib/mode-detector.js +184 -0
- package/dist/mcp/lib/mode-detector.js.map +1 -0
- package/dist/mcp/lib/protocol-enforcement.d.ts +105 -0
- package/dist/mcp/lib/protocol-enforcement.d.ts.map +1 -0
- package/dist/mcp/lib/protocol-enforcement.js +331 -0
- package/dist/mcp/lib/protocol-enforcement.js.map +1 -0
- package/dist/mcp/lib/protocol-rules.d.ts +55 -0
- package/dist/mcp/lib/protocol-rules.d.ts.map +1 -0
- package/dist/mcp/lib/protocol-rules.js +760 -0
- package/dist/mcp/lib/protocol-rules.js.map +1 -0
- package/dist/mcp/lib/rate-limiter.d.ts +110 -0
- package/dist/mcp/lib/rate-limiter.d.ts.map +1 -0
- package/dist/mcp/lib/rate-limiter.js +208 -0
- package/dist/mcp/lib/rate-limiter.js.map +1 -0
- package/dist/mcp/lib/router.d.ts +136 -0
- package/dist/mcp/lib/router.d.ts.map +1 -0
- package/dist/mcp/lib/router.js +298 -0
- package/dist/mcp/lib/router.js.map +1 -0
- package/dist/mcp/lib/schema.d.ts +55 -0
- package/dist/mcp/lib/schema.d.ts.map +1 -0
- package/dist/mcp/lib/schema.js +70 -0
- package/dist/mcp/lib/schema.js.map +1 -0
- package/dist/mcp/lib/security.d.ts +158 -0
- package/dist/mcp/lib/security.d.ts.map +1 -0
- package/dist/mcp/lib/security.js +353 -0
- package/dist/mcp/lib/security.js.map +1 -0
- package/dist/mcp/lib/verification-gates.d.ts +287 -0
- package/dist/mcp/lib/verification-gates.d.ts.map +1 -0
- package/dist/mcp/lib/verification-gates.js +547 -0
- package/dist/mcp/lib/verification-gates.js.map +1 -0
- package/dist/mcp/types/domain.d.ts +29 -0
- package/dist/mcp/types/domain.d.ts.map +1 -0
- package/dist/mcp/types/domain.js +7 -0
- package/dist/mcp/types/domain.js.map +1 -0
- package/dist/mcp/types/error.d.ts +101 -0
- package/dist/mcp/types/error.d.ts.map +1 -0
- package/dist/mcp/types/error.js +148 -0
- package/dist/mcp/types/error.js.map +1 -0
- package/dist/mcp/types/gateway.d.ts +78 -0
- package/dist/mcp/types/gateway.d.ts.map +1 -0
- package/dist/mcp/types/gateway.js +7 -0
- package/dist/mcp/types/gateway.js.map +1 -0
- package/dist/mcp/types/index.d.ts +23 -0
- package/dist/mcp/types/index.d.ts.map +1 -0
- package/dist/mcp/types/index.js +11 -0
- package/dist/mcp/types/index.js.map +1 -0
- package/dist/mcp/types/operations/issues.d.ts +3 -0
- package/dist/mcp/types/operations/issues.d.ts.map +1 -0
- package/dist/mcp/types/operations/issues.js +3 -0
- package/dist/mcp/types/operations/issues.js.map +1 -0
- package/dist/mcp/types/operations/lifecycle.d.ts +3 -0
- package/dist/mcp/types/operations/lifecycle.d.ts.map +1 -0
- package/dist/mcp/types/operations/lifecycle.js +3 -0
- package/dist/mcp/types/operations/lifecycle.js.map +1 -0
- package/dist/mcp/types/operations/orchestrate.d.ts +3 -0
- package/dist/mcp/types/operations/orchestrate.d.ts.map +1 -0
- package/dist/mcp/types/operations/orchestrate.js +3 -0
- package/dist/mcp/types/operations/orchestrate.js.map +1 -0
- package/dist/mcp/types/operations/release.d.ts +3 -0
- package/dist/mcp/types/operations/release.d.ts.map +1 -0
- package/dist/mcp/types/operations/release.js +3 -0
- package/dist/mcp/types/operations/release.js.map +1 -0
- package/dist/mcp/types/operations/research.d.ts +3 -0
- package/dist/mcp/types/operations/research.d.ts.map +1 -0
- package/dist/mcp/types/operations/research.js +3 -0
- package/dist/mcp/types/operations/research.js.map +1 -0
- package/dist/mcp/types/operations/session.d.ts +3 -0
- package/dist/mcp/types/operations/session.d.ts.map +1 -0
- package/dist/mcp/types/operations/session.js +3 -0
- package/dist/mcp/types/operations/session.js.map +1 -0
- package/dist/mcp/types/operations/skills.d.ts +3 -0
- package/dist/mcp/types/operations/skills.d.ts.map +1 -0
- package/dist/mcp/types/operations/skills.js +3 -0
- package/dist/mcp/types/operations/skills.js.map +1 -0
- package/dist/mcp/types/operations/system.d.ts +3 -0
- package/dist/mcp/types/operations/system.d.ts.map +1 -0
- package/dist/mcp/types/operations/system.js +3 -0
- package/dist/mcp/types/operations/system.js.map +1 -0
- package/dist/mcp/types/operations/tasks.d.ts +3 -0
- package/dist/mcp/types/operations/tasks.d.ts.map +1 -0
- package/dist/mcp/types/operations/tasks.js +3 -0
- package/dist/mcp/types/operations/tasks.js.map +1 -0
- package/dist/mcp/types/operations/validate.d.ts +3 -0
- package/dist/mcp/types/operations/validate.d.ts.map +1 -0
- package/dist/mcp/types/operations/validate.js +3 -0
- package/dist/mcp/types/operations/validate.js.map +1 -0
- package/dist/scripts/migrate-todo-to-tasks.d.ts +46 -0
- package/dist/scripts/migrate-todo-to-tasks.d.ts.map +1 -0
- package/dist/scripts/migrate-todo-to-tasks.js +379 -0
- package/dist/scripts/migrate-todo-to-tasks.js.map +1 -0
- package/dist/store/atomic.d.ts +75 -0
- package/dist/store/atomic.d.ts.map +1 -0
- package/dist/store/atomic.js +167 -0
- package/dist/store/atomic.js.map +1 -0
- package/dist/store/backup.d.ts +21 -0
- package/dist/store/backup.d.ts.map +1 -0
- package/dist/store/backup.js +94 -0
- package/dist/store/backup.js.map +1 -0
- package/dist/store/cache.d.ts +67 -0
- package/dist/store/cache.d.ts.map +1 -0
- package/dist/store/cache.js +168 -0
- package/dist/store/cache.js.map +1 -0
- package/dist/store/data-accessor.d.ts +77 -0
- package/dist/store/data-accessor.d.ts.map +1 -0
- package/dist/store/data-accessor.js +149 -0
- package/dist/store/data-accessor.js.map +1 -0
- package/dist/store/data-safety-central.d.ts +103 -0
- package/dist/store/data-safety-central.d.ts.map +1 -0
- package/dist/store/data-safety-central.js +291 -0
- package/dist/store/data-safety-central.js.map +1 -0
- package/dist/store/data-safety.d.ts +93 -0
- package/dist/store/data-safety.d.ts.map +1 -0
- package/dist/store/data-safety.js +298 -0
- package/dist/store/data-safety.js.map +1 -0
- package/dist/store/export.d.ts +87 -0
- package/dist/store/export.d.ts.map +1 -0
- package/dist/store/export.js +153 -0
- package/dist/store/export.js.map +1 -0
- package/dist/store/git-checkpoint.d.ts +65 -0
- package/dist/store/git-checkpoint.d.ts.map +1 -0
- package/dist/store/git-checkpoint.js +304 -0
- package/dist/store/git-checkpoint.js.map +1 -0
- package/dist/store/import-logging.d.ts +58 -0
- package/dist/store/import-logging.d.ts.map +1 -0
- package/dist/store/import-logging.js +139 -0
- package/dist/store/import-logging.js.map +1 -0
- package/dist/store/import-remap.d.ts +50 -0
- package/dist/store/import-remap.d.ts.map +1 -0
- package/dist/store/import-remap.js +145 -0
- package/dist/store/import-remap.js.map +1 -0
- package/dist/store/import-sort.d.ts +35 -0
- package/dist/store/import-sort.d.ts.map +1 -0
- package/dist/store/import-sort.js +123 -0
- package/dist/store/import-sort.js.map +1 -0
- package/dist/store/index.d.ts +28 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +28 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/json-data-accessor.d.ts +16 -0
- package/dist/store/json-data-accessor.d.ts.map +1 -0
- package/dist/store/json-data-accessor.js +68 -0
- package/dist/store/json-data-accessor.js.map +1 -0
- package/dist/store/json-provider.d.ts +23 -0
- package/dist/store/json-provider.d.ts.map +1 -0
- package/dist/store/json-provider.js +263 -0
- package/dist/store/json-provider.js.map +1 -0
- package/dist/store/json.d.ts +57 -0
- package/dist/store/json.d.ts.map +1 -0
- package/dist/store/json.js +198 -0
- package/dist/store/json.js.map +1 -0
- package/dist/store/lock.d.ts +29 -0
- package/dist/store/lock.d.ts.map +1 -0
- package/dist/store/lock.js +70 -0
- package/dist/store/lock.js.map +1 -0
- package/dist/store/migration-sqlite.d.ts +68 -0
- package/dist/store/migration-sqlite.d.ts.map +1 -0
- package/dist/store/migration-sqlite.js +742 -0
- package/dist/store/migration-sqlite.js.map +1 -0
- package/dist/store/project-detect.d.ts +24 -0
- package/dist/store/project-detect.d.ts.map +1 -0
- package/dist/store/project-detect.js +93 -0
- package/dist/store/project-detect.js.map +1 -0
- package/dist/store/project-registry.d.ts +113 -0
- package/dist/store/project-registry.d.ts.map +1 -0
- package/dist/store/project-registry.js +194 -0
- package/dist/store/project-registry.js.map +1 -0
- package/dist/store/provider.d.ts +162 -0
- package/dist/store/provider.d.ts.map +1 -0
- package/dist/store/provider.js +319 -0
- package/dist/store/provider.js.map +1 -0
- package/dist/store/safety-data-accessor.d.ts +99 -0
- package/dist/store/safety-data-accessor.d.ts.map +1 -0
- package/dist/store/safety-data-accessor.js +167 -0
- package/dist/store/safety-data-accessor.js.map +1 -0
- package/dist/store/schema.d.ts +1094 -0
- package/dist/store/schema.d.ts.map +1 -0
- package/dist/store/schema.js +114 -0
- package/dist/store/schema.js.map +1 -0
- package/dist/store/session-store.d.ts +42 -0
- package/dist/store/session-store.d.ts.map +1 -0
- package/dist/store/session-store.js +227 -0
- package/dist/store/session-store.js.map +1 -0
- package/dist/store/sqlite-data-accessor.d.ts +24 -0
- package/dist/store/sqlite-data-accessor.d.ts.map +1 -0
- package/dist/store/sqlite-data-accessor.js +564 -0
- package/dist/store/sqlite-data-accessor.js.map +1 -0
- package/dist/store/sqlite.d.ts +51 -0
- package/dist/store/sqlite.d.ts.map +1 -0
- package/dist/store/sqlite.js +235 -0
- package/dist/store/sqlite.js.map +1 -0
- package/dist/store/task-store.d.ts +70 -0
- package/dist/store/task-store.d.ts.map +1 -0
- package/dist/store/task-store.js +401 -0
- package/dist/store/task-store.js.map +1 -0
- package/dist/types/config.d.ts +59 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +8 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/exit-codes.d.ts +102 -0
- package/dist/types/exit-codes.d.ts.map +1 -0
- package/dist/types/exit-codes.js +150 -0
- package/dist/types/exit-codes.js.map +1 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +11 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/lafs.d.ts +77 -0
- package/dist/types/lafs.d.ts.map +1 -0
- package/dist/types/lafs.js +28 -0
- package/dist/types/lafs.js.map +1 -0
- package/dist/types/operations/issues.d.ts +75 -0
- package/dist/types/operations/issues.d.ts.map +1 -0
- package/dist/types/operations/issues.js +10 -0
- package/dist/types/operations/issues.js.map +1 -0
- package/dist/types/operations/lifecycle.d.ts +140 -0
- package/dist/types/operations/lifecycle.d.ts.map +1 -0
- package/dist/types/operations/lifecycle.js +8 -0
- package/dist/types/operations/lifecycle.js.map +1 -0
- package/dist/types/operations/orchestrate.d.ts +187 -0
- package/dist/types/operations/orchestrate.d.ts.map +1 -0
- package/dist/types/operations/orchestrate.js +8 -0
- package/dist/types/operations/orchestrate.js.map +1 -0
- package/dist/types/operations/release.d.ts +97 -0
- package/dist/types/operations/release.d.ts.map +1 -0
- package/dist/types/operations/release.js +7 -0
- package/dist/types/operations/release.js.map +1 -0
- package/dist/types/operations/research.d.ts +122 -0
- package/dist/types/operations/research.d.ts.map +1 -0
- package/dist/types/operations/research.js +8 -0
- package/dist/types/operations/research.js.map +1 -0
- package/dist/types/operations/session.d.ts +93 -0
- package/dist/types/operations/session.d.ts.map +1 -0
- package/dist/types/operations/session.js +12 -0
- package/dist/types/operations/session.js.map +1 -0
- package/dist/types/operations/skills.d.ts +182 -0
- package/dist/types/operations/skills.d.ts.map +1 -0
- package/dist/types/operations/skills.js +10 -0
- package/dist/types/operations/skills.js.map +1 -0
- package/dist/types/operations/system.d.ts +147 -0
- package/dist/types/operations/system.d.ts.map +1 -0
- package/dist/types/operations/system.js +8 -0
- package/dist/types/operations/system.js.map +1 -0
- package/dist/types/operations/tasks.d.ts +219 -0
- package/dist/types/operations/tasks.d.ts.map +1 -0
- package/dist/types/operations/tasks.js +13 -0
- package/dist/types/operations/tasks.js.map +1 -0
- package/dist/types/operations/validate.d.ts +170 -0
- package/dist/types/operations/validate.d.ts.map +1 -0
- package/dist/types/operations/validate.js +8 -0
- package/dist/types/operations/validate.js.map +1 -0
- package/dist/types/session.d.ts +48 -0
- package/dist/types/session.d.ts.map +1 -0
- package/dist/types/session.js +8 -0
- package/dist/types/session.js.map +1 -0
- package/dist/types/task.d.ts +160 -0
- package/dist/types/task.d.ts.map +1 -0
- package/dist/types/task.js +7 -0
- package/dist/types/task.js.map +1 -0
- package/package.json +88 -0
- package/schemas/agent-configs.schema.json +120 -0
- package/schemas/agent-registry.json +243 -0
- package/schemas/agent-registry.schema.json +132 -0
- package/schemas/archive.schema.json +450 -0
- package/schemas/claudedocs-frontmatter.schema.json +162 -0
- package/schemas/commands-index.schema.json +158 -0
- package/schemas/config.schema.json +2552 -0
- package/schemas/context-state.schema.json +137 -0
- package/schemas/contribution.schema.json +722 -0
- package/schemas/critical-path.schema.json +246 -0
- package/schemas/deps-cache.schema.json +97 -0
- package/schemas/doctor-output.schema.json +283 -0
- package/schemas/error.schema.json +161 -0
- package/schemas/export-package.schema.json +375 -0
- package/schemas/global-config.schema.json +219 -0
- package/schemas/log.schema.json +250 -0
- package/schemas/metrics.schema.json +328 -0
- package/schemas/migrations.schema.json +150 -0
- package/schemas/nexus-registry.schema.json +90 -0
- package/schemas/output.schema.json +164 -0
- package/schemas/project-context.schema.json +164 -0
- package/schemas/project-info.schema.json +170 -0
- package/schemas/projects-registry.schema.json +107 -0
- package/schemas/rcsd-consensus-report.schema.json +491 -0
- package/schemas/rcsd-hitl-resolution.schema.json +216 -0
- package/schemas/rcsd-index.schema.json +384 -0
- package/schemas/rcsd-manifest.schema.json +264 -0
- package/schemas/rcsd-research-output.schema.json +564 -0
- package/schemas/rcsd-spec-frontmatter.schema.json +225 -0
- package/schemas/releases.schema.json +267 -0
- package/schemas/research-manifest.schema.json +257 -0
- package/schemas/sessions.schema.json +406 -0
- package/schemas/skills-manifest.schema.json +91 -0
- package/schemas/skillsmp.schema.json +208 -0
- package/schemas/spec-index.schema.json +196 -0
- package/schemas/todo.schema.json +994 -0
- package/server.json +57 -0
- package/skills/_shared/cleo-style-guide.md +84 -0
- package/skills/_shared/manifest-operations.md +810 -0
- package/skills/_shared/placeholders.json +433 -0
- package/skills/_shared/skill-chaining-patterns.md +240 -0
- package/skills/_shared/subagent-protocol-base.md +221 -0
- package/skills/_shared/task-system-integration.md +232 -0
- package/skills/_shared/testing-framework-config.md +110 -0
- package/skills/agentskills-integrate.md +104 -0
- package/skills/agentskills-specs.md +255 -0
- package/skills/agentskills-what-are-skills.md +75 -0
- package/skills/manifest.json +510 -0
- package/templates/AGENT-INJECTION.md +166 -0
- package/templates/CLEO-INJECTION.md +470 -0
- package/templates/CONTRIBUTION-INJECTION.md +19 -0
- package/templates/CONTRIBUTION-PROTOCOL.template.md +224 -0
- package/templates/README.md +110 -0
- package/templates/agent-registry.json +305 -0
- package/templates/agents/BASE-SUBAGENT-PROTOCOL.md +115 -0
- package/templates/agents/README.md +197 -0
- package/templates/agents/cleo-subagent.md +147 -0
- package/templates/archive.template.json +24 -0
- package/templates/backups/archive/.gitkeep +0 -0
- package/templates/backups/incremental/.gitkeep +0 -0
- package/templates/backups/migration/.gitkeep +0 -0
- package/templates/backups/safety/.gitkeep +0 -0
- package/templates/backups/snapshot/.gitkeep +0 -0
- package/templates/ci/circleci/config.yml +96 -0
- package/templates/ci/github-actions/release.yml +91 -0
- package/templates/ci/gitlab-ci/release.yml +61 -0
- package/templates/cleo-gitignore +62 -0
- package/templates/config.template.json +187 -0
- package/templates/global-config.template.json +56 -0
- package/templates/hooks/precompact-safestop.sh +89 -0
- package/templates/log.template.json +13 -0
- package/templates/migrations.template.json +8 -0
- package/templates/orchestrator-protocol/PLACEHOLDER-REGISTRY.md +150 -0
- package/templates/orchestrator-protocol/README.md +162 -0
- package/templates/sessions.template.json +20 -0
- package/templates/skillsmp.json.example +28 -0
- package/templates/skillsmp.json.example.md +214 -0
- package/templates/subagent-protocol/INJECT.md +32 -0
- package/templates/subagent-protocol/MANIFEST.jsonl +0 -0
- package/templates/subagent-protocol/README.md +76 -0
- package/templates/subagent-protocol/SUBAGENT_PROTOCOL.md +135 -0
- package/templates/subagent-protocol/install.sh +41 -0
- package/templates/todo.template.json +68 -0
|
@@ -0,0 +1,1029 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exit code mapping for CLEO CLI operations
|
|
3
|
+
*
|
|
4
|
+
* @task T2913
|
|
5
|
+
* @epic T2908
|
|
6
|
+
*
|
|
7
|
+
* SYNC: Source of truth is CLI at src/types/exit-codes.ts
|
|
8
|
+
* This file maintains MCP-specific metadata (ERROR_MAP, fix templates)
|
|
9
|
+
* but numeric values and semantics must stay aligned with CLI.
|
|
10
|
+
*
|
|
11
|
+
* Maps all CLEO exit codes (1-100+) to error metadata with automatic
|
|
12
|
+
* fix command generation and contextual suggestions.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Exit code enumeration (complete mapping 0-100+)
|
|
16
|
+
*/
|
|
17
|
+
export var ExitCode;
|
|
18
|
+
(function (ExitCode) {
|
|
19
|
+
// Success (0)
|
|
20
|
+
ExitCode[ExitCode["SUCCESS"] = 0] = "SUCCESS";
|
|
21
|
+
// General Errors (1-9)
|
|
22
|
+
ExitCode[ExitCode["E_GENERAL_ERROR"] = 1] = "E_GENERAL_ERROR";
|
|
23
|
+
ExitCode[ExitCode["E_INVALID_INPUT"] = 2] = "E_INVALID_INPUT";
|
|
24
|
+
ExitCode[ExitCode["E_FILE_ERROR"] = 3] = "E_FILE_ERROR";
|
|
25
|
+
ExitCode[ExitCode["E_NOT_FOUND"] = 4] = "E_NOT_FOUND";
|
|
26
|
+
ExitCode[ExitCode["E_DEPENDENCY_ERROR"] = 5] = "E_DEPENDENCY_ERROR";
|
|
27
|
+
ExitCode[ExitCode["E_VALIDATION_ERROR"] = 6] = "E_VALIDATION_ERROR";
|
|
28
|
+
ExitCode[ExitCode["E_LOCK_TIMEOUT"] = 7] = "E_LOCK_TIMEOUT";
|
|
29
|
+
ExitCode[ExitCode["E_CONFIG_ERROR"] = 8] = "E_CONFIG_ERROR";
|
|
30
|
+
// Hierarchy Errors (10-19)
|
|
31
|
+
ExitCode[ExitCode["E_PARENT_NOT_FOUND"] = 10] = "E_PARENT_NOT_FOUND";
|
|
32
|
+
ExitCode[ExitCode["E_DEPTH_EXCEEDED"] = 11] = "E_DEPTH_EXCEEDED";
|
|
33
|
+
ExitCode[ExitCode["E_SIBLING_LIMIT"] = 12] = "E_SIBLING_LIMIT";
|
|
34
|
+
ExitCode[ExitCode["E_INVALID_PARENT_TYPE"] = 13] = "E_INVALID_PARENT_TYPE";
|
|
35
|
+
ExitCode[ExitCode["E_CIRCULAR_REFERENCE"] = 14] = "E_CIRCULAR_REFERENCE";
|
|
36
|
+
ExitCode[ExitCode["E_ORPHAN_DETECTED"] = 15] = "E_ORPHAN_DETECTED";
|
|
37
|
+
ExitCode[ExitCode["E_HAS_CHILDREN"] = 16] = "E_HAS_CHILDREN";
|
|
38
|
+
ExitCode[ExitCode["E_TASK_COMPLETED"] = 17] = "E_TASK_COMPLETED";
|
|
39
|
+
ExitCode[ExitCode["E_CASCADE_FAILED"] = 18] = "E_CASCADE_FAILED";
|
|
40
|
+
ExitCode[ExitCode["E_HAS_DEPENDENTS"] = 19] = "E_HAS_DEPENDENTS";
|
|
41
|
+
// Concurrency Errors (20-29)
|
|
42
|
+
ExitCode[ExitCode["E_CHECKSUM_MISMATCH"] = 20] = "E_CHECKSUM_MISMATCH";
|
|
43
|
+
ExitCode[ExitCode["E_CONCURRENT_MODIFICATION"] = 21] = "E_CONCURRENT_MODIFICATION";
|
|
44
|
+
ExitCode[ExitCode["E_ID_COLLISION"] = 22] = "E_ID_COLLISION";
|
|
45
|
+
// Session Errors (30-39)
|
|
46
|
+
ExitCode[ExitCode["E_SESSION_EXISTS"] = 30] = "E_SESSION_EXISTS";
|
|
47
|
+
ExitCode[ExitCode["E_SESSION_NOT_FOUND"] = 31] = "E_SESSION_NOT_FOUND";
|
|
48
|
+
ExitCode[ExitCode["E_SCOPE_CONFLICT"] = 32] = "E_SCOPE_CONFLICT";
|
|
49
|
+
ExitCode[ExitCode["E_SCOPE_INVALID"] = 33] = "E_SCOPE_INVALID";
|
|
50
|
+
ExitCode[ExitCode["E_TASK_NOT_IN_SCOPE"] = 34] = "E_TASK_NOT_IN_SCOPE";
|
|
51
|
+
ExitCode[ExitCode["E_TASK_CLAIMED"] = 35] = "E_TASK_CLAIMED";
|
|
52
|
+
ExitCode[ExitCode["E_SESSION_REQUIRED"] = 36] = "E_SESSION_REQUIRED";
|
|
53
|
+
ExitCode[ExitCode["E_SESSION_CLOSE_BLOCKED"] = 37] = "E_SESSION_CLOSE_BLOCKED";
|
|
54
|
+
ExitCode[ExitCode["E_FOCUS_REQUIRED"] = 38] = "E_FOCUS_REQUIRED";
|
|
55
|
+
ExitCode[ExitCode["E_NOTES_REQUIRED"] = 39] = "E_NOTES_REQUIRED";
|
|
56
|
+
// Verification Errors (40-49)
|
|
57
|
+
ExitCode[ExitCode["E_VERIFICATION_INIT_FAILED"] = 40] = "E_VERIFICATION_INIT_FAILED";
|
|
58
|
+
ExitCode[ExitCode["E_GATE_UPDATE_FAILED"] = 41] = "E_GATE_UPDATE_FAILED";
|
|
59
|
+
ExitCode[ExitCode["E_INVALID_GATE"] = 42] = "E_INVALID_GATE";
|
|
60
|
+
ExitCode[ExitCode["E_INVALID_AGENT"] = 43] = "E_INVALID_AGENT";
|
|
61
|
+
ExitCode[ExitCode["E_MAX_ROUNDS_EXCEEDED"] = 44] = "E_MAX_ROUNDS_EXCEEDED";
|
|
62
|
+
ExitCode[ExitCode["E_GATE_DEPENDENCY"] = 45] = "E_GATE_DEPENDENCY";
|
|
63
|
+
ExitCode[ExitCode["E_VERIFICATION_LOCKED"] = 46] = "E_VERIFICATION_LOCKED";
|
|
64
|
+
ExitCode[ExitCode["E_ROUND_MISMATCH"] = 47] = "E_ROUND_MISMATCH";
|
|
65
|
+
// Context Safeguard Errors (50-59)
|
|
66
|
+
ExitCode[ExitCode["E_CONTEXT_WARNING"] = 50] = "E_CONTEXT_WARNING";
|
|
67
|
+
ExitCode[ExitCode["E_CONTEXT_CAUTION"] = 51] = "E_CONTEXT_CAUTION";
|
|
68
|
+
ExitCode[ExitCode["E_CONTEXT_CRITICAL"] = 52] = "E_CONTEXT_CRITICAL";
|
|
69
|
+
ExitCode[ExitCode["E_CONTEXT_EMERGENCY"] = 53] = "E_CONTEXT_EMERGENCY";
|
|
70
|
+
ExitCode[ExitCode["E_CONTEXT_STALE"] = 54] = "E_CONTEXT_STALE";
|
|
71
|
+
// Protocol Violations (60-70)
|
|
72
|
+
ExitCode[ExitCode["E_PROTOCOL_RESEARCH"] = 60] = "E_PROTOCOL_RESEARCH";
|
|
73
|
+
ExitCode[ExitCode["E_PROTOCOL_CONSENSUS"] = 61] = "E_PROTOCOL_CONSENSUS";
|
|
74
|
+
ExitCode[ExitCode["E_PROTOCOL_SPECIFICATION"] = 62] = "E_PROTOCOL_SPECIFICATION";
|
|
75
|
+
ExitCode[ExitCode["E_PROTOCOL_DECOMPOSITION"] = 63] = "E_PROTOCOL_DECOMPOSITION";
|
|
76
|
+
ExitCode[ExitCode["E_PROTOCOL_IMPLEMENTATION"] = 64] = "E_PROTOCOL_IMPLEMENTATION";
|
|
77
|
+
ExitCode[ExitCode["E_PROTOCOL_CONTRIBUTION"] = 65] = "E_PROTOCOL_CONTRIBUTION";
|
|
78
|
+
ExitCode[ExitCode["E_PROTOCOL_RELEASE"] = 66] = "E_PROTOCOL_RELEASE";
|
|
79
|
+
ExitCode[ExitCode["E_PROTOCOL_GENERIC"] = 67] = "E_PROTOCOL_GENERIC";
|
|
80
|
+
ExitCode[ExitCode["E_PROTOCOL_VALIDATION"] = 68] = "E_PROTOCOL_VALIDATION";
|
|
81
|
+
ExitCode[ExitCode["E_TESTS_SKIPPED"] = 69] = "E_TESTS_SKIPPED";
|
|
82
|
+
ExitCode[ExitCode["E_COVERAGE_INSUFFICIENT"] = 70] = "E_COVERAGE_INSUFFICIENT";
|
|
83
|
+
// Nexus Errors (71-79)
|
|
84
|
+
ExitCode[ExitCode["E_NEXUS_NOT_INITIALIZED"] = 71] = "E_NEXUS_NOT_INITIALIZED";
|
|
85
|
+
ExitCode[ExitCode["E_NEXUS_PROJECT_NOT_FOUND"] = 72] = "E_NEXUS_PROJECT_NOT_FOUND";
|
|
86
|
+
ExitCode[ExitCode["E_NEXUS_PERMISSION_DENIED"] = 73] = "E_NEXUS_PERMISSION_DENIED";
|
|
87
|
+
ExitCode[ExitCode["E_NEXUS_INVALID_SYNTAX"] = 74] = "E_NEXUS_INVALID_SYNTAX";
|
|
88
|
+
ExitCode[ExitCode["E_NEXUS_SYNC_FAILED"] = 75] = "E_NEXUS_SYNC_FAILED";
|
|
89
|
+
ExitCode[ExitCode["E_NEXUS_REGISTRY_CORRUPT"] = 76] = "E_NEXUS_REGISTRY_CORRUPT";
|
|
90
|
+
ExitCode[ExitCode["E_NEXUS_PROJECT_EXISTS"] = 77] = "E_NEXUS_PROJECT_EXISTS";
|
|
91
|
+
ExitCode[ExitCode["E_NEXUS_QUERY_FAILED"] = 78] = "E_NEXUS_QUERY_FAILED";
|
|
92
|
+
ExitCode[ExitCode["E_NEXUS_GRAPH_ERROR"] = 79] = "E_NEXUS_GRAPH_ERROR";
|
|
93
|
+
// Lifecycle Enforcement Errors (80-84)
|
|
94
|
+
ExitCode[ExitCode["E_LIFECYCLE_GATE_FAILED"] = 80] = "E_LIFECYCLE_GATE_FAILED";
|
|
95
|
+
ExitCode[ExitCode["E_AUDIT_MISSING"] = 81] = "E_AUDIT_MISSING";
|
|
96
|
+
ExitCode[ExitCode["E_CIRCULAR_VALIDATION"] = 82] = "E_CIRCULAR_VALIDATION";
|
|
97
|
+
ExitCode[ExitCode["E_LIFECYCLE_TRANSITION_INVALID"] = 83] = "E_LIFECYCLE_TRANSITION_INVALID";
|
|
98
|
+
ExitCode[ExitCode["E_PROVENANCE_REQUIRED"] = 84] = "E_PROVENANCE_REQUIRED";
|
|
99
|
+
// Special Codes (100+)
|
|
100
|
+
ExitCode[ExitCode["E_NO_DATA"] = 100] = "E_NO_DATA";
|
|
101
|
+
ExitCode[ExitCode["E_ALREADY_EXISTS"] = 101] = "E_ALREADY_EXISTS";
|
|
102
|
+
ExitCode[ExitCode["E_NO_CHANGE"] = 102] = "E_NO_CHANGE";
|
|
103
|
+
})(ExitCode || (ExitCode = {}));
|
|
104
|
+
/**
|
|
105
|
+
* Error severity levels
|
|
106
|
+
*/
|
|
107
|
+
export var ErrorSeverity;
|
|
108
|
+
(function (ErrorSeverity) {
|
|
109
|
+
ErrorSeverity["INFO"] = "info";
|
|
110
|
+
ErrorSeverity["WARNING"] = "warning";
|
|
111
|
+
ErrorSeverity["ERROR"] = "error";
|
|
112
|
+
ErrorSeverity["CRITICAL"] = "critical";
|
|
113
|
+
})(ErrorSeverity || (ErrorSeverity = {}));
|
|
114
|
+
/**
|
|
115
|
+
* Error category for grouping
|
|
116
|
+
*/
|
|
117
|
+
export var ErrorCategory;
|
|
118
|
+
(function (ErrorCategory) {
|
|
119
|
+
ErrorCategory["GENERAL"] = "general";
|
|
120
|
+
ErrorCategory["HIERARCHY"] = "hierarchy";
|
|
121
|
+
ErrorCategory["CONCURRENCY"] = "concurrency";
|
|
122
|
+
ErrorCategory["SESSION"] = "session";
|
|
123
|
+
ErrorCategory["VERIFICATION"] = "verification";
|
|
124
|
+
ErrorCategory["CONTEXT"] = "context";
|
|
125
|
+
ErrorCategory["PROTOCOL"] = "protocol";
|
|
126
|
+
ErrorCategory["NEXUS"] = "nexus";
|
|
127
|
+
ErrorCategory["LIFECYCLE"] = "lifecycle";
|
|
128
|
+
ErrorCategory["SPECIAL"] = "special";
|
|
129
|
+
})(ErrorCategory || (ErrorCategory = {}));
|
|
130
|
+
/**
|
|
131
|
+
* Complete exit code to error mapping
|
|
132
|
+
*/
|
|
133
|
+
export const ERROR_MAP = {
|
|
134
|
+
// Success
|
|
135
|
+
[ExitCode.SUCCESS]: {
|
|
136
|
+
code: 'SUCCESS',
|
|
137
|
+
name: 'Success',
|
|
138
|
+
description: 'Operation completed successfully',
|
|
139
|
+
category: ErrorCategory.SPECIAL,
|
|
140
|
+
severity: ErrorSeverity.INFO,
|
|
141
|
+
retryable: false,
|
|
142
|
+
},
|
|
143
|
+
// General Errors (1-9)
|
|
144
|
+
[ExitCode.E_GENERAL_ERROR]: {
|
|
145
|
+
code: 'E_GENERAL_ERROR',
|
|
146
|
+
name: 'General Error',
|
|
147
|
+
description: 'Unspecified error occurred',
|
|
148
|
+
category: ErrorCategory.GENERAL,
|
|
149
|
+
severity: ErrorSeverity.ERROR,
|
|
150
|
+
retryable: true,
|
|
151
|
+
fixTemplate: 'Check command syntax and parameters',
|
|
152
|
+
},
|
|
153
|
+
[ExitCode.E_INVALID_INPUT]: {
|
|
154
|
+
code: 'E_INVALID_INPUT',
|
|
155
|
+
name: 'Invalid Input',
|
|
156
|
+
description: 'Invalid user input or command-line arguments',
|
|
157
|
+
category: ErrorCategory.GENERAL,
|
|
158
|
+
severity: ErrorSeverity.ERROR,
|
|
159
|
+
retryable: false,
|
|
160
|
+
fixTemplate: 'Verify command parameters: {details}',
|
|
161
|
+
alternatives: [
|
|
162
|
+
{ action: 'Show command help', command: 'cleo help {command}' },
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
[ExitCode.E_FILE_ERROR]: {
|
|
166
|
+
code: 'E_FILE_ERROR',
|
|
167
|
+
name: 'File Error',
|
|
168
|
+
description: 'File system operation failed',
|
|
169
|
+
category: ErrorCategory.GENERAL,
|
|
170
|
+
severity: ErrorSeverity.ERROR,
|
|
171
|
+
retryable: false,
|
|
172
|
+
fixTemplate: 'Check file permissions and disk space',
|
|
173
|
+
},
|
|
174
|
+
[ExitCode.E_NOT_FOUND]: {
|
|
175
|
+
code: 'E_NOT_FOUND',
|
|
176
|
+
name: 'Not Found',
|
|
177
|
+
description: 'Requested resource not found',
|
|
178
|
+
category: ErrorCategory.GENERAL,
|
|
179
|
+
severity: ErrorSeverity.ERROR,
|
|
180
|
+
retryable: false,
|
|
181
|
+
fixTemplate: 'Verify resource exists: {resource}',
|
|
182
|
+
alternatives: [
|
|
183
|
+
{ action: 'List available resources', command: 'cleo list' },
|
|
184
|
+
{ action: 'Search for resource', command: 'cleo find "{query}"' },
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
[ExitCode.E_DEPENDENCY_ERROR]: {
|
|
188
|
+
code: 'E_DEPENDENCY_ERROR',
|
|
189
|
+
name: 'Dependency Error',
|
|
190
|
+
description: 'Missing required dependency',
|
|
191
|
+
category: ErrorCategory.GENERAL,
|
|
192
|
+
severity: ErrorSeverity.CRITICAL,
|
|
193
|
+
retryable: false,
|
|
194
|
+
fixTemplate: 'Install required dependency: {dependency}',
|
|
195
|
+
},
|
|
196
|
+
[ExitCode.E_VALIDATION_ERROR]: {
|
|
197
|
+
code: 'E_VALIDATION_ERROR',
|
|
198
|
+
name: 'Validation Error',
|
|
199
|
+
description: 'Data validation failed',
|
|
200
|
+
category: ErrorCategory.GENERAL,
|
|
201
|
+
severity: ErrorSeverity.ERROR,
|
|
202
|
+
retryable: false,
|
|
203
|
+
fixTemplate: 'Fix validation errors: {violations}',
|
|
204
|
+
},
|
|
205
|
+
[ExitCode.E_LOCK_TIMEOUT]: {
|
|
206
|
+
code: 'E_LOCK_TIMEOUT',
|
|
207
|
+
name: 'Lock Timeout',
|
|
208
|
+
description: 'Failed to acquire file lock within timeout',
|
|
209
|
+
category: ErrorCategory.CONCURRENCY,
|
|
210
|
+
severity: ErrorSeverity.WARNING,
|
|
211
|
+
retryable: true,
|
|
212
|
+
fixTemplate: 'Wait for concurrent operation to complete, then retry',
|
|
213
|
+
},
|
|
214
|
+
[ExitCode.E_CONFIG_ERROR]: {
|
|
215
|
+
code: 'E_CONFIG_ERROR',
|
|
216
|
+
name: 'Configuration Error',
|
|
217
|
+
description: 'Configuration error',
|
|
218
|
+
category: ErrorCategory.GENERAL,
|
|
219
|
+
severity: ErrorSeverity.ERROR,
|
|
220
|
+
retryable: false,
|
|
221
|
+
fixTemplate: 'Check configuration file: .cleo/config.json',
|
|
222
|
+
alternatives: [
|
|
223
|
+
{ action: 'Show config', command: 'cleo config show' },
|
|
224
|
+
{ action: 'Validate config', command: 'cleo --validate' },
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
// Hierarchy Errors (10-19)
|
|
228
|
+
[ExitCode.E_PARENT_NOT_FOUND]: {
|
|
229
|
+
code: 'E_PARENT_NOT_FOUND',
|
|
230
|
+
name: 'Parent Not Found',
|
|
231
|
+
description: 'Parent task does not exist',
|
|
232
|
+
category: ErrorCategory.HIERARCHY,
|
|
233
|
+
severity: ErrorSeverity.ERROR,
|
|
234
|
+
retryable: false,
|
|
235
|
+
fixTemplate: 'Create parent task first or remove --parent flag',
|
|
236
|
+
alternatives: [
|
|
237
|
+
{ action: 'List tasks', command: 'cleo list' },
|
|
238
|
+
{ action: 'Check task exists', command: 'cleo exists {parentId}' },
|
|
239
|
+
],
|
|
240
|
+
},
|
|
241
|
+
[ExitCode.E_DEPTH_EXCEEDED]: {
|
|
242
|
+
code: 'E_DEPTH_EXCEEDED',
|
|
243
|
+
name: 'Depth Exceeded',
|
|
244
|
+
description: 'Maximum hierarchy depth (3) would be exceeded',
|
|
245
|
+
category: ErrorCategory.HIERARCHY,
|
|
246
|
+
severity: ErrorSeverity.ERROR,
|
|
247
|
+
retryable: false,
|
|
248
|
+
fixTemplate: 'Create task at higher level (max depth: epic→task→subtask)',
|
|
249
|
+
alternatives: [
|
|
250
|
+
{ action: 'View hierarchy', command: 'cleo tree {parentId}' },
|
|
251
|
+
{ action: 'Create as sibling', command: 'Remove --parent flag' },
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
[ExitCode.E_SIBLING_LIMIT]: {
|
|
255
|
+
code: 'E_SIBLING_LIMIT',
|
|
256
|
+
name: 'Sibling Limit',
|
|
257
|
+
description: 'Maximum siblings (7) would be exceeded',
|
|
258
|
+
category: ErrorCategory.HIERARCHY,
|
|
259
|
+
severity: ErrorSeverity.ERROR,
|
|
260
|
+
retryable: false,
|
|
261
|
+
fixTemplate: 'Create new parent to group related tasks',
|
|
262
|
+
alternatives: [
|
|
263
|
+
{ action: 'List siblings', command: 'cleo list --parent {parentId}' },
|
|
264
|
+
{ action: 'Create new epic', command: 'cleo add "New Group" --parent {grandparentId}' },
|
|
265
|
+
],
|
|
266
|
+
},
|
|
267
|
+
[ExitCode.E_INVALID_PARENT_TYPE]: {
|
|
268
|
+
code: 'E_INVALID_PARENT_TYPE',
|
|
269
|
+
name: 'Invalid Parent Type',
|
|
270
|
+
description: 'Subtask cannot have children',
|
|
271
|
+
category: ErrorCategory.HIERARCHY,
|
|
272
|
+
severity: ErrorSeverity.ERROR,
|
|
273
|
+
retryable: false,
|
|
274
|
+
fixTemplate: 'Promote subtask to task first: cleo promote {parentId}',
|
|
275
|
+
},
|
|
276
|
+
[ExitCode.E_CIRCULAR_REFERENCE]: {
|
|
277
|
+
code: 'E_CIRCULAR_REFERENCE',
|
|
278
|
+
name: 'Circular Reference',
|
|
279
|
+
description: 'Operation would create circular reference',
|
|
280
|
+
category: ErrorCategory.HIERARCHY,
|
|
281
|
+
severity: ErrorSeverity.ERROR,
|
|
282
|
+
retryable: false,
|
|
283
|
+
fixTemplate: 'Cannot create circular dependency: {cycle}',
|
|
284
|
+
alternatives: [
|
|
285
|
+
{ action: 'View dependencies', command: 'cleo deps {taskId}' },
|
|
286
|
+
],
|
|
287
|
+
},
|
|
288
|
+
[ExitCode.E_ORPHAN_DETECTED]: {
|
|
289
|
+
code: 'E_ORPHAN_DETECTED',
|
|
290
|
+
name: 'Orphan Detected',
|
|
291
|
+
description: 'Task has invalid parentId (orphan detected)',
|
|
292
|
+
category: ErrorCategory.HIERARCHY,
|
|
293
|
+
severity: ErrorSeverity.ERROR,
|
|
294
|
+
retryable: false,
|
|
295
|
+
fixTemplate: 'Remove parent reference or restore parent task',
|
|
296
|
+
alternatives: [
|
|
297
|
+
{ action: 'Remove parent', command: 'cleo update {taskId} --no-parent' },
|
|
298
|
+
{ action: 'Unarchive parent', command: 'cleo unarchive {parentId}' },
|
|
299
|
+
],
|
|
300
|
+
},
|
|
301
|
+
[ExitCode.E_HAS_CHILDREN]: {
|
|
302
|
+
code: 'E_HAS_CHILDREN',
|
|
303
|
+
name: 'Has Children',
|
|
304
|
+
description: 'Task has children, cannot delete without strategy',
|
|
305
|
+
category: ErrorCategory.HIERARCHY,
|
|
306
|
+
severity: ErrorSeverity.ERROR,
|
|
307
|
+
retryable: false,
|
|
308
|
+
fixTemplate: 'Specify deletion strategy: --cascade, --reparent, or --orphan',
|
|
309
|
+
alternatives: [
|
|
310
|
+
{ action: 'List children', command: 'cleo list --parent {taskId}' },
|
|
311
|
+
{ action: 'Cascade delete', command: 'cleo delete {taskId} --cascade' },
|
|
312
|
+
{ action: 'Reparent children', command: 'cleo delete {taskId} --reparent {newParentId}' },
|
|
313
|
+
],
|
|
314
|
+
},
|
|
315
|
+
[ExitCode.E_TASK_COMPLETED]: {
|
|
316
|
+
code: 'E_TASK_COMPLETED',
|
|
317
|
+
name: 'Task Completed',
|
|
318
|
+
description: 'Task is completed, should use archive instead',
|
|
319
|
+
category: ErrorCategory.HIERARCHY,
|
|
320
|
+
severity: ErrorSeverity.WARNING,
|
|
321
|
+
retryable: false,
|
|
322
|
+
fixTemplate: 'Archive completed task: cleo archive {taskId}',
|
|
323
|
+
},
|
|
324
|
+
[ExitCode.E_CASCADE_FAILED]: {
|
|
325
|
+
code: 'E_CASCADE_FAILED',
|
|
326
|
+
name: 'Cascade Failed',
|
|
327
|
+
description: 'Cascade deletion partially failed',
|
|
328
|
+
category: ErrorCategory.HIERARCHY,
|
|
329
|
+
severity: ErrorSeverity.ERROR,
|
|
330
|
+
retryable: false,
|
|
331
|
+
fixTemplate: 'Some child tasks failed to delete: {failures}',
|
|
332
|
+
},
|
|
333
|
+
[ExitCode.E_HAS_DEPENDENTS]: {
|
|
334
|
+
code: 'E_HAS_DEPENDENTS',
|
|
335
|
+
name: 'Has Dependents',
|
|
336
|
+
description: 'Task has dependents, cannot delete without --orphan flag',
|
|
337
|
+
category: ErrorCategory.HIERARCHY,
|
|
338
|
+
severity: ErrorSeverity.ERROR,
|
|
339
|
+
retryable: false,
|
|
340
|
+
fixTemplate: 'Other tasks depend on this: cleo delete {taskId} --orphan',
|
|
341
|
+
alternatives: [
|
|
342
|
+
{ action: 'List dependents', command: 'cleo deps {taskId} --reverse' },
|
|
343
|
+
{ action: 'Force delete', command: 'cleo delete {taskId} --orphan' },
|
|
344
|
+
],
|
|
345
|
+
},
|
|
346
|
+
// Concurrency Errors (20-29)
|
|
347
|
+
[ExitCode.E_CHECKSUM_MISMATCH]: {
|
|
348
|
+
code: 'E_CHECKSUM_MISMATCH',
|
|
349
|
+
name: 'Checksum Mismatch',
|
|
350
|
+
description: 'File was modified externally between read and write',
|
|
351
|
+
category: ErrorCategory.CONCURRENCY,
|
|
352
|
+
severity: ErrorSeverity.WARNING,
|
|
353
|
+
retryable: true,
|
|
354
|
+
fixTemplate: 'File modified by another process, retrying operation',
|
|
355
|
+
},
|
|
356
|
+
[ExitCode.E_CONCURRENT_MODIFICATION]: {
|
|
357
|
+
code: 'E_CONCURRENT_MODIFICATION',
|
|
358
|
+
name: 'Concurrent Modification',
|
|
359
|
+
description: 'Concurrent modification detected during multi-agent operation',
|
|
360
|
+
category: ErrorCategory.CONCURRENCY,
|
|
361
|
+
severity: ErrorSeverity.WARNING,
|
|
362
|
+
retryable: true,
|
|
363
|
+
fixTemplate: 'Wait for concurrent agent to complete, then retry',
|
|
364
|
+
},
|
|
365
|
+
[ExitCode.E_ID_COLLISION]: {
|
|
366
|
+
code: 'E_ID_COLLISION',
|
|
367
|
+
name: 'ID Collision',
|
|
368
|
+
description: 'ID generation collision',
|
|
369
|
+
category: ErrorCategory.CONCURRENCY,
|
|
370
|
+
severity: ErrorSeverity.WARNING,
|
|
371
|
+
retryable: true,
|
|
372
|
+
fixTemplate: 'ID collision detected, regenerating unique ID',
|
|
373
|
+
},
|
|
374
|
+
// Session Errors (30-39)
|
|
375
|
+
[ExitCode.E_SESSION_EXISTS]: {
|
|
376
|
+
code: 'E_SESSION_EXISTS',
|
|
377
|
+
name: 'Session Exists',
|
|
378
|
+
description: 'Session already active for this scope',
|
|
379
|
+
category: ErrorCategory.SESSION,
|
|
380
|
+
severity: ErrorSeverity.ERROR,
|
|
381
|
+
retryable: false,
|
|
382
|
+
fixTemplate: 'Resume existing session: cleo session resume {sessionId}',
|
|
383
|
+
alternatives: [
|
|
384
|
+
{ action: 'List sessions', command: 'cleo session list' },
|
|
385
|
+
{ action: 'Resume session', command: 'cleo session resume {sessionId}' },
|
|
386
|
+
],
|
|
387
|
+
},
|
|
388
|
+
[ExitCode.E_SESSION_NOT_FOUND]: {
|
|
389
|
+
code: 'E_SESSION_NOT_FOUND',
|
|
390
|
+
name: 'Session Not Found',
|
|
391
|
+
description: 'Session ID not found',
|
|
392
|
+
category: ErrorCategory.SESSION,
|
|
393
|
+
severity: ErrorSeverity.ERROR,
|
|
394
|
+
retryable: false,
|
|
395
|
+
fixTemplate: 'Start new session: cleo session start --scope epic:{epicId}',
|
|
396
|
+
alternatives: [
|
|
397
|
+
{ action: 'List sessions', command: 'cleo session list' },
|
|
398
|
+
{ action: 'Start session', command: 'cleo session start --scope epic:{epicId}' },
|
|
399
|
+
],
|
|
400
|
+
},
|
|
401
|
+
[ExitCode.E_SCOPE_CONFLICT]: {
|
|
402
|
+
code: 'E_SCOPE_CONFLICT',
|
|
403
|
+
name: 'Scope Conflict',
|
|
404
|
+
description: 'Session scope conflicts with existing session',
|
|
405
|
+
category: ErrorCategory.SESSION,
|
|
406
|
+
severity: ErrorSeverity.ERROR,
|
|
407
|
+
retryable: false,
|
|
408
|
+
fixTemplate: 'Another session is active for this epic',
|
|
409
|
+
alternatives: [
|
|
410
|
+
{ action: 'List active sessions', command: 'cleo session list --active' },
|
|
411
|
+
{ action: 'End conflicting session', command: 'cleo session end --session {conflictingId}' },
|
|
412
|
+
],
|
|
413
|
+
},
|
|
414
|
+
[ExitCode.E_SCOPE_INVALID]: {
|
|
415
|
+
code: 'E_SCOPE_INVALID',
|
|
416
|
+
name: 'Scope Invalid',
|
|
417
|
+
description: 'Invalid session scope (no epic, empty, etc.)',
|
|
418
|
+
category: ErrorCategory.SESSION,
|
|
419
|
+
severity: ErrorSeverity.ERROR,
|
|
420
|
+
retryable: false,
|
|
421
|
+
fixTemplate: 'Specify valid epic scope: --scope epic:{epicId}',
|
|
422
|
+
alternatives: [
|
|
423
|
+
{ action: 'List epics', command: 'cleo list --type epic' },
|
|
424
|
+
],
|
|
425
|
+
},
|
|
426
|
+
[ExitCode.E_TASK_NOT_IN_SCOPE]: {
|
|
427
|
+
code: 'E_TASK_NOT_IN_SCOPE',
|
|
428
|
+
name: 'Task Not In Scope',
|
|
429
|
+
description: 'Task is not within session scope',
|
|
430
|
+
category: ErrorCategory.SESSION,
|
|
431
|
+
severity: ErrorSeverity.ERROR,
|
|
432
|
+
retryable: false,
|
|
433
|
+
fixTemplate: 'Task {taskId} is not in current session scope',
|
|
434
|
+
alternatives: [
|
|
435
|
+
{ action: 'View session scope', command: 'cleo session status' },
|
|
436
|
+
{ action: 'View task tree', command: 'cleo tree {taskId}' },
|
|
437
|
+
],
|
|
438
|
+
},
|
|
439
|
+
[ExitCode.E_TASK_CLAIMED]: {
|
|
440
|
+
code: 'E_TASK_CLAIMED',
|
|
441
|
+
name: 'Task Claimed',
|
|
442
|
+
description: 'Task is already claimed by another agent',
|
|
443
|
+
category: ErrorCategory.SESSION,
|
|
444
|
+
severity: ErrorSeverity.ERROR,
|
|
445
|
+
retryable: false,
|
|
446
|
+
fixTemplate: 'Task claimed by another session: {claimingSession}',
|
|
447
|
+
alternatives: [
|
|
448
|
+
{ action: 'List active sessions', command: 'cleo session list --active' },
|
|
449
|
+
{ action: 'Choose different task', command: 'cleo next' },
|
|
450
|
+
],
|
|
451
|
+
},
|
|
452
|
+
[ExitCode.E_SESSION_REQUIRED]: {
|
|
453
|
+
code: 'E_SESSION_REQUIRED',
|
|
454
|
+
name: 'Session Required',
|
|
455
|
+
description: 'Operation requires an active session',
|
|
456
|
+
category: ErrorCategory.SESSION,
|
|
457
|
+
severity: ErrorSeverity.ERROR,
|
|
458
|
+
retryable: false,
|
|
459
|
+
fixTemplate: 'Start session first: cleo session start --scope epic:{epicId} --auto-start',
|
|
460
|
+
alternatives: [
|
|
461
|
+
{ action: 'Start session', command: 'cleo session start --scope epic:{epicId} --auto-start' },
|
|
462
|
+
{ action: 'Resume session', command: 'cleo session resume {sessionId}' },
|
|
463
|
+
],
|
|
464
|
+
},
|
|
465
|
+
[ExitCode.E_SESSION_CLOSE_BLOCKED]: {
|
|
466
|
+
code: 'E_SESSION_CLOSE_BLOCKED',
|
|
467
|
+
name: 'Session Close Blocked',
|
|
468
|
+
description: 'Cannot close session with incomplete tasks',
|
|
469
|
+
category: ErrorCategory.SESSION,
|
|
470
|
+
severity: ErrorSeverity.ERROR,
|
|
471
|
+
retryable: false,
|
|
472
|
+
fixTemplate: 'Complete pending tasks before closing session',
|
|
473
|
+
alternatives: [
|
|
474
|
+
{ action: 'List pending tasks', command: 'cleo list --status pending --parent {epicId}' },
|
|
475
|
+
{ action: 'Suspend session', command: 'cleo session suspend --note "Reason"' },
|
|
476
|
+
],
|
|
477
|
+
},
|
|
478
|
+
[ExitCode.E_FOCUS_REQUIRED]: {
|
|
479
|
+
code: 'E_FOCUS_REQUIRED',
|
|
480
|
+
name: 'Focus Required',
|
|
481
|
+
description: 'Operation requires a focused task',
|
|
482
|
+
category: ErrorCategory.SESSION,
|
|
483
|
+
severity: ErrorSeverity.ERROR,
|
|
484
|
+
retryable: false,
|
|
485
|
+
fixTemplate: 'Set focus first: cleo focus set {taskId}',
|
|
486
|
+
alternatives: [
|
|
487
|
+
{ action: 'Get next task', command: 'cleo next' },
|
|
488
|
+
{ action: 'Set focus', command: 'cleo focus set {taskId}' },
|
|
489
|
+
],
|
|
490
|
+
},
|
|
491
|
+
[ExitCode.E_NOTES_REQUIRED]: {
|
|
492
|
+
code: 'E_NOTES_REQUIRED',
|
|
493
|
+
name: 'Notes Required',
|
|
494
|
+
description: 'Session notes required for operation',
|
|
495
|
+
category: ErrorCategory.SESSION,
|
|
496
|
+
severity: ErrorSeverity.ERROR,
|
|
497
|
+
retryable: false,
|
|
498
|
+
fixTemplate: 'Add notes: --note "Session summary"',
|
|
499
|
+
},
|
|
500
|
+
// Verification Errors (40-49)
|
|
501
|
+
[ExitCode.E_VERIFICATION_INIT_FAILED]: {
|
|
502
|
+
code: 'E_VERIFICATION_INIT_FAILED',
|
|
503
|
+
name: 'Verification Init Failed',
|
|
504
|
+
description: 'Verification initialization failed',
|
|
505
|
+
category: ErrorCategory.VERIFICATION,
|
|
506
|
+
severity: ErrorSeverity.ERROR,
|
|
507
|
+
retryable: false,
|
|
508
|
+
fixTemplate: 'Cannot initialize verification object for task {taskId}',
|
|
509
|
+
},
|
|
510
|
+
[ExitCode.E_GATE_UPDATE_FAILED]: {
|
|
511
|
+
code: 'E_GATE_UPDATE_FAILED',
|
|
512
|
+
name: 'Gate Update Failed',
|
|
513
|
+
description: 'Gate update failed',
|
|
514
|
+
category: ErrorCategory.VERIFICATION,
|
|
515
|
+
severity: ErrorSeverity.ERROR,
|
|
516
|
+
retryable: false,
|
|
517
|
+
fixTemplate: 'Cannot update gate {gateName}: {reason}',
|
|
518
|
+
},
|
|
519
|
+
[ExitCode.E_INVALID_GATE]: {
|
|
520
|
+
code: 'E_INVALID_GATE',
|
|
521
|
+
name: 'Invalid Gate',
|
|
522
|
+
description: 'Invalid gate name',
|
|
523
|
+
category: ErrorCategory.VERIFICATION,
|
|
524
|
+
severity: ErrorSeverity.ERROR,
|
|
525
|
+
retryable: false,
|
|
526
|
+
fixTemplate: 'Unknown gate: {gateName}',
|
|
527
|
+
alternatives: [
|
|
528
|
+
{ action: 'List valid gates', command: 'cleo gate list' },
|
|
529
|
+
],
|
|
530
|
+
},
|
|
531
|
+
[ExitCode.E_INVALID_AGENT]: {
|
|
532
|
+
code: 'E_INVALID_AGENT',
|
|
533
|
+
name: 'Invalid Agent',
|
|
534
|
+
description: 'Invalid agent name',
|
|
535
|
+
category: ErrorCategory.VERIFICATION,
|
|
536
|
+
severity: ErrorSeverity.ERROR,
|
|
537
|
+
retryable: false,
|
|
538
|
+
fixTemplate: 'Unknown agent: {agentName}',
|
|
539
|
+
alternatives: [
|
|
540
|
+
{ action: 'List valid agents', command: 'skill list' },
|
|
541
|
+
],
|
|
542
|
+
},
|
|
543
|
+
[ExitCode.E_MAX_ROUNDS_EXCEEDED]: {
|
|
544
|
+
code: 'E_MAX_ROUNDS_EXCEEDED',
|
|
545
|
+
name: 'Max Rounds Exceeded',
|
|
546
|
+
description: 'Maximum implementation rounds exceeded',
|
|
547
|
+
category: ErrorCategory.VERIFICATION,
|
|
548
|
+
severity: ErrorSeverity.ERROR,
|
|
549
|
+
retryable: false,
|
|
550
|
+
fixTemplate: 'Exceeded max rounds ({maxRounds}), escalating to HITL',
|
|
551
|
+
},
|
|
552
|
+
[ExitCode.E_GATE_DEPENDENCY]: {
|
|
553
|
+
code: 'E_GATE_DEPENDENCY',
|
|
554
|
+
name: 'Gate Dependency',
|
|
555
|
+
description: 'Gate dependency not met',
|
|
556
|
+
category: ErrorCategory.VERIFICATION,
|
|
557
|
+
severity: ErrorSeverity.ERROR,
|
|
558
|
+
retryable: false,
|
|
559
|
+
fixTemplate: 'Complete prerequisite gate first: {prerequisiteGate}',
|
|
560
|
+
alternatives: [
|
|
561
|
+
{ action: 'View gate status', command: 'cleo lifecycle gates {taskId}' },
|
|
562
|
+
],
|
|
563
|
+
},
|
|
564
|
+
[ExitCode.E_VERIFICATION_LOCKED]: {
|
|
565
|
+
code: 'E_VERIFICATION_LOCKED',
|
|
566
|
+
name: 'Verification Locked',
|
|
567
|
+
description: 'Verification is locked (cannot modify)',
|
|
568
|
+
category: ErrorCategory.VERIFICATION,
|
|
569
|
+
severity: ErrorSeverity.ERROR,
|
|
570
|
+
retryable: false,
|
|
571
|
+
fixTemplate: 'Verification locked, cannot modify gates',
|
|
572
|
+
},
|
|
573
|
+
[ExitCode.E_ROUND_MISMATCH]: {
|
|
574
|
+
code: 'E_ROUND_MISMATCH',
|
|
575
|
+
name: 'Round Mismatch',
|
|
576
|
+
description: 'Round number mismatch',
|
|
577
|
+
category: ErrorCategory.VERIFICATION,
|
|
578
|
+
severity: ErrorSeverity.ERROR,
|
|
579
|
+
retryable: false,
|
|
580
|
+
fixTemplate: 'Round mismatch: expected {expectedRound}, got {actualRound}',
|
|
581
|
+
},
|
|
582
|
+
// Context Safeguard Errors (50-59)
|
|
583
|
+
[ExitCode.E_CONTEXT_WARNING]: {
|
|
584
|
+
code: 'E_CONTEXT_WARNING',
|
|
585
|
+
name: 'Context Warning',
|
|
586
|
+
description: 'Context warning threshold reached (70-84%)',
|
|
587
|
+
category: ErrorCategory.CONTEXT,
|
|
588
|
+
severity: ErrorSeverity.WARNING,
|
|
589
|
+
retryable: false,
|
|
590
|
+
fixTemplate: 'Context usage at {percentage}%, consider using cleo safestop',
|
|
591
|
+
alternatives: [
|
|
592
|
+
{ action: 'Check context', command: 'cleo context' },
|
|
593
|
+
{ action: 'Safe stop', command: 'cleo safestop' },
|
|
594
|
+
],
|
|
595
|
+
},
|
|
596
|
+
[ExitCode.E_CONTEXT_CAUTION]: {
|
|
597
|
+
code: 'E_CONTEXT_CAUTION',
|
|
598
|
+
name: 'Context Caution',
|
|
599
|
+
description: 'Context caution threshold reached (85-89%)',
|
|
600
|
+
category: ErrorCategory.CONTEXT,
|
|
601
|
+
severity: ErrorSeverity.WARNING,
|
|
602
|
+
retryable: false,
|
|
603
|
+
fixTemplate: 'Context usage at {percentage}%, recommend using cleo safestop',
|
|
604
|
+
alternatives: [
|
|
605
|
+
{ action: 'Check context', command: 'cleo context' },
|
|
606
|
+
{ action: 'Safe stop', command: 'cleo safestop' },
|
|
607
|
+
],
|
|
608
|
+
},
|
|
609
|
+
[ExitCode.E_CONTEXT_CRITICAL]: {
|
|
610
|
+
code: 'E_CONTEXT_CRITICAL',
|
|
611
|
+
name: 'Context Critical',
|
|
612
|
+
description: 'Context critical threshold reached (90-94%)',
|
|
613
|
+
category: ErrorCategory.CONTEXT,
|
|
614
|
+
severity: ErrorSeverity.CRITICAL,
|
|
615
|
+
retryable: false,
|
|
616
|
+
fixTemplate: 'Context usage at {percentage}%, MUST use cleo safestop now',
|
|
617
|
+
alternatives: [
|
|
618
|
+
{ action: 'Safe stop', command: 'cleo safestop' },
|
|
619
|
+
],
|
|
620
|
+
},
|
|
621
|
+
[ExitCode.E_CONTEXT_EMERGENCY]: {
|
|
622
|
+
code: 'E_CONTEXT_EMERGENCY',
|
|
623
|
+
name: 'Context Emergency',
|
|
624
|
+
description: 'Context emergency threshold reached (95%+)',
|
|
625
|
+
category: ErrorCategory.CONTEXT,
|
|
626
|
+
severity: ErrorSeverity.CRITICAL,
|
|
627
|
+
retryable: false,
|
|
628
|
+
fixTemplate: 'Context usage at {percentage}%, EMERGENCY - use cleo safestop immediately',
|
|
629
|
+
alternatives: [
|
|
630
|
+
{ action: 'Safe stop', command: 'cleo safestop' },
|
|
631
|
+
],
|
|
632
|
+
},
|
|
633
|
+
[ExitCode.E_CONTEXT_STALE]: {
|
|
634
|
+
code: 'E_CONTEXT_STALE',
|
|
635
|
+
name: 'Context Stale',
|
|
636
|
+
description: 'Context state file is stale or missing',
|
|
637
|
+
category: ErrorCategory.CONTEXT,
|
|
638
|
+
severity: ErrorSeverity.WARNING,
|
|
639
|
+
retryable: true,
|
|
640
|
+
fixTemplate: 'Context state file is stale, refresh with cleo context',
|
|
641
|
+
},
|
|
642
|
+
// Protocol Violations (60-70)
|
|
643
|
+
[ExitCode.E_PROTOCOL_RESEARCH]: {
|
|
644
|
+
code: 'E_PROTOCOL_RESEARCH',
|
|
645
|
+
name: 'Research Protocol Violation',
|
|
646
|
+
description: 'Research protocol requirements not met',
|
|
647
|
+
category: ErrorCategory.PROTOCOL,
|
|
648
|
+
severity: ErrorSeverity.ERROR,
|
|
649
|
+
retryable: true,
|
|
650
|
+
fixTemplate: 'Fix research protocol violations: {violations}',
|
|
651
|
+
documentation: 'protocols/research.md',
|
|
652
|
+
},
|
|
653
|
+
[ExitCode.E_PROTOCOL_CONSENSUS]: {
|
|
654
|
+
code: 'E_PROTOCOL_CONSENSUS',
|
|
655
|
+
name: 'Consensus Protocol Violation',
|
|
656
|
+
description: 'Consensus protocol requirements not met',
|
|
657
|
+
category: ErrorCategory.PROTOCOL,
|
|
658
|
+
severity: ErrorSeverity.ERROR,
|
|
659
|
+
retryable: true,
|
|
660
|
+
fixTemplate: 'Fix consensus protocol violations: {violations}',
|
|
661
|
+
documentation: 'protocols/consensus.md',
|
|
662
|
+
},
|
|
663
|
+
[ExitCode.E_PROTOCOL_SPECIFICATION]: {
|
|
664
|
+
code: 'E_PROTOCOL_SPECIFICATION',
|
|
665
|
+
name: 'Specification Protocol Violation',
|
|
666
|
+
description: 'Specification protocol requirements not met',
|
|
667
|
+
category: ErrorCategory.PROTOCOL,
|
|
668
|
+
severity: ErrorSeverity.ERROR,
|
|
669
|
+
retryable: true,
|
|
670
|
+
fixTemplate: 'Fix specification protocol violations: {violations}',
|
|
671
|
+
documentation: 'protocols/specification.md',
|
|
672
|
+
},
|
|
673
|
+
[ExitCode.E_PROTOCOL_DECOMPOSITION]: {
|
|
674
|
+
code: 'E_PROTOCOL_DECOMPOSITION',
|
|
675
|
+
name: 'Decomposition Protocol Violation',
|
|
676
|
+
description: 'Decomposition protocol requirements not met',
|
|
677
|
+
category: ErrorCategory.PROTOCOL,
|
|
678
|
+
severity: ErrorSeverity.ERROR,
|
|
679
|
+
retryable: true,
|
|
680
|
+
fixTemplate: 'Fix decomposition protocol violations: {violations}',
|
|
681
|
+
documentation: 'protocols/decomposition.md',
|
|
682
|
+
},
|
|
683
|
+
[ExitCode.E_PROTOCOL_IMPLEMENTATION]: {
|
|
684
|
+
code: 'E_PROTOCOL_IMPLEMENTATION',
|
|
685
|
+
name: 'Implementation Protocol Violation',
|
|
686
|
+
description: 'Implementation protocol requirements not met',
|
|
687
|
+
category: ErrorCategory.PROTOCOL,
|
|
688
|
+
severity: ErrorSeverity.ERROR,
|
|
689
|
+
retryable: false,
|
|
690
|
+
fixTemplate: 'Fix implementation protocol violations: {violations}',
|
|
691
|
+
documentation: 'protocols/implementation.md',
|
|
692
|
+
},
|
|
693
|
+
[ExitCode.E_PROTOCOL_CONTRIBUTION]: {
|
|
694
|
+
code: 'E_PROTOCOL_CONTRIBUTION',
|
|
695
|
+
name: 'Contribution Protocol Violation',
|
|
696
|
+
description: 'Contribution protocol requirements not met',
|
|
697
|
+
category: ErrorCategory.PROTOCOL,
|
|
698
|
+
severity: ErrorSeverity.ERROR,
|
|
699
|
+
retryable: false,
|
|
700
|
+
fixTemplate: 'Fix contribution protocol violations: {violations}',
|
|
701
|
+
documentation: 'protocols/contribution.md',
|
|
702
|
+
},
|
|
703
|
+
[ExitCode.E_PROTOCOL_RELEASE]: {
|
|
704
|
+
code: 'E_PROTOCOL_RELEASE',
|
|
705
|
+
name: 'Release Protocol Violation',
|
|
706
|
+
description: 'Release protocol requirements not met',
|
|
707
|
+
category: ErrorCategory.PROTOCOL,
|
|
708
|
+
severity: ErrorSeverity.ERROR,
|
|
709
|
+
retryable: false,
|
|
710
|
+
fixTemplate: 'Fix release protocol violations: {violations}',
|
|
711
|
+
documentation: 'protocols/release.md',
|
|
712
|
+
},
|
|
713
|
+
[ExitCode.E_PROTOCOL_GENERIC]: {
|
|
714
|
+
code: 'E_PROTOCOL_GENERIC',
|
|
715
|
+
name: 'Generic Protocol Violation',
|
|
716
|
+
description: 'Generic protocol violation or unknown protocol type',
|
|
717
|
+
category: ErrorCategory.PROTOCOL,
|
|
718
|
+
severity: ErrorSeverity.ERROR,
|
|
719
|
+
retryable: false,
|
|
720
|
+
fixTemplate: 'Fix protocol violations: {violations}',
|
|
721
|
+
},
|
|
722
|
+
[ExitCode.E_PROTOCOL_VALIDATION]: {
|
|
723
|
+
code: 'E_PROTOCOL_VALIDATION',
|
|
724
|
+
name: 'Validation Protocol Violation',
|
|
725
|
+
description: 'Validation protocol requirements not met',
|
|
726
|
+
category: ErrorCategory.PROTOCOL,
|
|
727
|
+
severity: ErrorSeverity.ERROR,
|
|
728
|
+
retryable: false,
|
|
729
|
+
fixTemplate: 'Fix validation protocol violations: {violations}',
|
|
730
|
+
documentation: 'protocols/validation.md',
|
|
731
|
+
},
|
|
732
|
+
[ExitCode.E_TESTS_SKIPPED]: {
|
|
733
|
+
code: 'E_TESTS_SKIPPED',
|
|
734
|
+
name: 'Tests Skipped',
|
|
735
|
+
description: 'Tests not run or incomplete',
|
|
736
|
+
category: ErrorCategory.PROTOCOL,
|
|
737
|
+
severity: ErrorSeverity.ERROR,
|
|
738
|
+
retryable: false,
|
|
739
|
+
fixTemplate: 'Run complete test suite: cleo test run',
|
|
740
|
+
alternatives: [
|
|
741
|
+
{ action: 'Run tests', command: 'cleo test run' },
|
|
742
|
+
{ action: 'Check test status', command: 'cleo test status' },
|
|
743
|
+
],
|
|
744
|
+
},
|
|
745
|
+
[ExitCode.E_COVERAGE_INSUFFICIENT]: {
|
|
746
|
+
code: 'E_COVERAGE_INSUFFICIENT',
|
|
747
|
+
name: 'Coverage Insufficient',
|
|
748
|
+
description: 'Test coverage below threshold',
|
|
749
|
+
category: ErrorCategory.PROTOCOL,
|
|
750
|
+
severity: ErrorSeverity.ERROR,
|
|
751
|
+
retryable: false,
|
|
752
|
+
fixTemplate: 'Increase test coverage to meet threshold',
|
|
753
|
+
alternatives: [
|
|
754
|
+
{ action: 'View coverage', command: 'cleo test coverage' },
|
|
755
|
+
],
|
|
756
|
+
},
|
|
757
|
+
// Nexus Errors (71-79)
|
|
758
|
+
[ExitCode.E_NEXUS_NOT_INITIALIZED]: {
|
|
759
|
+
code: 'E_NEXUS_NOT_INITIALIZED',
|
|
760
|
+
name: 'Nexus Not Initialized',
|
|
761
|
+
description: 'Nexus not initialized',
|
|
762
|
+
category: ErrorCategory.NEXUS,
|
|
763
|
+
severity: ErrorSeverity.ERROR,
|
|
764
|
+
retryable: false,
|
|
765
|
+
fixTemplate: 'Initialize Nexus: cleo nexus init',
|
|
766
|
+
},
|
|
767
|
+
[ExitCode.E_NEXUS_PROJECT_NOT_FOUND]: {
|
|
768
|
+
code: 'E_NEXUS_PROJECT_NOT_FOUND',
|
|
769
|
+
name: 'Nexus Project Not Found',
|
|
770
|
+
description: 'Project not found in global registry',
|
|
771
|
+
category: ErrorCategory.NEXUS,
|
|
772
|
+
severity: ErrorSeverity.ERROR,
|
|
773
|
+
retryable: false,
|
|
774
|
+
fixTemplate: 'Register project: cleo nexus register {projectPath}',
|
|
775
|
+
},
|
|
776
|
+
[ExitCode.E_NEXUS_PERMISSION_DENIED]: {
|
|
777
|
+
code: 'E_NEXUS_PERMISSION_DENIED',
|
|
778
|
+
name: 'Nexus Permission Denied',
|
|
779
|
+
description: 'Insufficient permission for cross-project operation',
|
|
780
|
+
category: ErrorCategory.NEXUS,
|
|
781
|
+
severity: ErrorSeverity.ERROR,
|
|
782
|
+
retryable: false,
|
|
783
|
+
fixTemplate: 'Check Nexus permissions for project {projectName}',
|
|
784
|
+
},
|
|
785
|
+
[ExitCode.E_NEXUS_INVALID_SYNTAX]: {
|
|
786
|
+
code: 'E_NEXUS_INVALID_SYNTAX',
|
|
787
|
+
name: 'Nexus Invalid Syntax',
|
|
788
|
+
description: 'Invalid task reference syntax',
|
|
789
|
+
category: ErrorCategory.NEXUS,
|
|
790
|
+
severity: ErrorSeverity.ERROR,
|
|
791
|
+
retryable: false,
|
|
792
|
+
fixTemplate: 'Use format: project:task_id (e.g., "myproject:T123")',
|
|
793
|
+
},
|
|
794
|
+
[ExitCode.E_NEXUS_SYNC_FAILED]: {
|
|
795
|
+
code: 'E_NEXUS_SYNC_FAILED',
|
|
796
|
+
name: 'Nexus Sync Failed',
|
|
797
|
+
description: 'Failed to sync project metadata',
|
|
798
|
+
category: ErrorCategory.NEXUS,
|
|
799
|
+
severity: ErrorSeverity.ERROR,
|
|
800
|
+
retryable: true,
|
|
801
|
+
fixTemplate: 'Retry Nexus sync: cleo nexus sync',
|
|
802
|
+
},
|
|
803
|
+
[ExitCode.E_NEXUS_REGISTRY_CORRUPT]: {
|
|
804
|
+
code: 'E_NEXUS_REGISTRY_CORRUPT',
|
|
805
|
+
name: 'Nexus Registry Corrupt',
|
|
806
|
+
description: 'Nexus registry file corrupted or invalid',
|
|
807
|
+
category: ErrorCategory.NEXUS,
|
|
808
|
+
severity: ErrorSeverity.CRITICAL,
|
|
809
|
+
retryable: false,
|
|
810
|
+
fixTemplate: 'Restore from backup: cleo nexus restore',
|
|
811
|
+
},
|
|
812
|
+
[ExitCode.E_NEXUS_PROJECT_EXISTS]: {
|
|
813
|
+
code: 'E_NEXUS_PROJECT_EXISTS',
|
|
814
|
+
name: 'Nexus Project Exists',
|
|
815
|
+
description: 'Project already registered in Nexus',
|
|
816
|
+
category: ErrorCategory.NEXUS,
|
|
817
|
+
severity: ErrorSeverity.ERROR,
|
|
818
|
+
retryable: false,
|
|
819
|
+
fixTemplate: 'Project already registered: {projectName}',
|
|
820
|
+
},
|
|
821
|
+
[ExitCode.E_NEXUS_QUERY_FAILED]: {
|
|
822
|
+
code: 'E_NEXUS_QUERY_FAILED',
|
|
823
|
+
name: 'Nexus Query Failed',
|
|
824
|
+
description: 'Cross-project query operation failed',
|
|
825
|
+
category: ErrorCategory.NEXUS,
|
|
826
|
+
severity: ErrorSeverity.ERROR,
|
|
827
|
+
retryable: true,
|
|
828
|
+
fixTemplate: 'Retry query: {query}',
|
|
829
|
+
},
|
|
830
|
+
[ExitCode.E_NEXUS_GRAPH_ERROR]: {
|
|
831
|
+
code: 'E_NEXUS_GRAPH_ERROR',
|
|
832
|
+
name: 'Nexus Graph Error',
|
|
833
|
+
description: 'Graph operation error',
|
|
834
|
+
category: ErrorCategory.NEXUS,
|
|
835
|
+
severity: ErrorSeverity.ERROR,
|
|
836
|
+
retryable: true,
|
|
837
|
+
fixTemplate: 'Rebuild Nexus graph: cleo nexus rebuild',
|
|
838
|
+
},
|
|
839
|
+
// Lifecycle Enforcement Errors (80-84)
|
|
840
|
+
[ExitCode.E_LIFECYCLE_GATE_FAILED]: {
|
|
841
|
+
code: 'E_LIFECYCLE_GATE_FAILED',
|
|
842
|
+
name: 'Lifecycle Gate Failed',
|
|
843
|
+
description: 'Lifecycle gate requirements not met',
|
|
844
|
+
category: ErrorCategory.LIFECYCLE,
|
|
845
|
+
severity: ErrorSeverity.ERROR,
|
|
846
|
+
retryable: false,
|
|
847
|
+
fixTemplate: 'Complete prerequisite stages: {missingStages}',
|
|
848
|
+
alternatives: [
|
|
849
|
+
{ action: 'Check lifecycle status', command: 'cleo lifecycle status {taskId}' },
|
|
850
|
+
{ action: 'View prerequisites', command: 'cleo lifecycle prerequisites {stage}' },
|
|
851
|
+
],
|
|
852
|
+
},
|
|
853
|
+
[ExitCode.E_AUDIT_MISSING]: {
|
|
854
|
+
code: 'E_AUDIT_MISSING',
|
|
855
|
+
name: 'Audit Missing',
|
|
856
|
+
description: 'Audit object missing or incomplete',
|
|
857
|
+
category: ErrorCategory.LIFECYCLE,
|
|
858
|
+
severity: ErrorSeverity.ERROR,
|
|
859
|
+
retryable: false,
|
|
860
|
+
fixTemplate: 'Add required audit fields: {missingFields}',
|
|
861
|
+
},
|
|
862
|
+
[ExitCode.E_CIRCULAR_VALIDATION]: {
|
|
863
|
+
code: 'E_CIRCULAR_VALIDATION',
|
|
864
|
+
name: 'Circular Validation',
|
|
865
|
+
description: 'Circular validation detected (agent validating own work)',
|
|
866
|
+
category: ErrorCategory.LIFECYCLE,
|
|
867
|
+
severity: ErrorSeverity.ERROR,
|
|
868
|
+
retryable: false,
|
|
869
|
+
fixTemplate: 'Use different agent for validation (not {creatingAgent})',
|
|
870
|
+
},
|
|
871
|
+
[ExitCode.E_LIFECYCLE_TRANSITION_INVALID]: {
|
|
872
|
+
code: 'E_LIFECYCLE_TRANSITION_INVALID',
|
|
873
|
+
name: 'Invalid Lifecycle Transition',
|
|
874
|
+
description: 'Invalid lifecycle state transition',
|
|
875
|
+
category: ErrorCategory.LIFECYCLE,
|
|
876
|
+
severity: ErrorSeverity.ERROR,
|
|
877
|
+
retryable: false,
|
|
878
|
+
fixTemplate: 'Cannot transition from {fromStage} to {toStage}',
|
|
879
|
+
},
|
|
880
|
+
[ExitCode.E_PROVENANCE_REQUIRED]: {
|
|
881
|
+
code: 'E_PROVENANCE_REQUIRED',
|
|
882
|
+
name: 'Provenance Required',
|
|
883
|
+
description: 'Provenance fields required but missing',
|
|
884
|
+
category: ErrorCategory.LIFECYCLE,
|
|
885
|
+
severity: ErrorSeverity.ERROR,
|
|
886
|
+
retryable: false,
|
|
887
|
+
fixTemplate: 'Add provenance tags: @task {taskId} to all new code',
|
|
888
|
+
},
|
|
889
|
+
// Special Codes (100+)
|
|
890
|
+
[ExitCode.E_NO_DATA]: {
|
|
891
|
+
code: 'E_NO_DATA',
|
|
892
|
+
name: 'No Data',
|
|
893
|
+
description: 'No data to process (query returned empty)',
|
|
894
|
+
category: ErrorCategory.SPECIAL,
|
|
895
|
+
severity: ErrorSeverity.INFO,
|
|
896
|
+
retryable: false,
|
|
897
|
+
fixTemplate: 'No results found for query: {query}',
|
|
898
|
+
},
|
|
899
|
+
[ExitCode.E_ALREADY_EXISTS]: {
|
|
900
|
+
code: 'E_ALREADY_EXISTS',
|
|
901
|
+
name: 'Already Exists',
|
|
902
|
+
description: 'Resource already exists (not an error)',
|
|
903
|
+
category: ErrorCategory.SPECIAL,
|
|
904
|
+
severity: ErrorSeverity.INFO,
|
|
905
|
+
retryable: false,
|
|
906
|
+
fixTemplate: 'Resource already exists: {resource}',
|
|
907
|
+
},
|
|
908
|
+
[ExitCode.E_NO_CHANGE]: {
|
|
909
|
+
code: 'E_NO_CHANGE',
|
|
910
|
+
name: 'No Change',
|
|
911
|
+
description: 'No changes needed or made (idempotent operation)',
|
|
912
|
+
category: ErrorCategory.SPECIAL,
|
|
913
|
+
severity: ErrorSeverity.INFO,
|
|
914
|
+
retryable: false,
|
|
915
|
+
fixTemplate: 'No changes made (already in target state)',
|
|
916
|
+
},
|
|
917
|
+
};
|
|
918
|
+
/**
|
|
919
|
+
* Get error mapping for exit code
|
|
920
|
+
*/
|
|
921
|
+
export function getErrorMapping(exitCode) {
|
|
922
|
+
return ERROR_MAP[exitCode] || {
|
|
923
|
+
code: 'E_UNKNOWN',
|
|
924
|
+
name: 'Unknown Error',
|
|
925
|
+
description: `Unknown exit code: ${exitCode}`,
|
|
926
|
+
category: ErrorCategory.GENERAL,
|
|
927
|
+
severity: ErrorSeverity.ERROR,
|
|
928
|
+
retryable: false,
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* Check if exit code represents an error
|
|
933
|
+
*/
|
|
934
|
+
export function isError(exitCode) {
|
|
935
|
+
return exitCode >= 1 && exitCode < 100;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* Check if exit code is retryable
|
|
939
|
+
*/
|
|
940
|
+
export function isRetryable(exitCode) {
|
|
941
|
+
const mapping = getErrorMapping(exitCode);
|
|
942
|
+
return mapping.retryable;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* Check if exit code represents success
|
|
946
|
+
*/
|
|
947
|
+
export function isSuccess(exitCode) {
|
|
948
|
+
return exitCode === 0 || exitCode >= 100;
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* Generate fix command from template
|
|
952
|
+
*/
|
|
953
|
+
export function generateFixCommand(exitCode, context) {
|
|
954
|
+
const mapping = getErrorMapping(exitCode);
|
|
955
|
+
if (!mapping.fixTemplate) {
|
|
956
|
+
return undefined;
|
|
957
|
+
}
|
|
958
|
+
let fix = mapping.fixTemplate;
|
|
959
|
+
for (const [key, value] of Object.entries(context)) {
|
|
960
|
+
fix = fix.replace(`{${key}}`, value);
|
|
961
|
+
}
|
|
962
|
+
return fix;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Generate suggestions from alternatives
|
|
966
|
+
*/
|
|
967
|
+
export function generateSuggestions(exitCode, context) {
|
|
968
|
+
const mapping = getErrorMapping(exitCode);
|
|
969
|
+
if (!mapping.alternatives) {
|
|
970
|
+
return [];
|
|
971
|
+
}
|
|
972
|
+
return mapping.alternatives.map((alt) => {
|
|
973
|
+
let command = alt.command;
|
|
974
|
+
for (const [key, value] of Object.entries(context)) {
|
|
975
|
+
command = command.replace(`{${key}}`, value);
|
|
976
|
+
}
|
|
977
|
+
return {
|
|
978
|
+
action: alt.action,
|
|
979
|
+
command,
|
|
980
|
+
};
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* Exit codes that support automatic retry with exponential backoff.
|
|
985
|
+
* Per MCP-SERVER-SPECIFICATION Section 9.1.
|
|
986
|
+
*
|
|
987
|
+
* @task T3142
|
|
988
|
+
*/
|
|
989
|
+
export const RETRYABLE_EXIT_CODES = new Set([
|
|
990
|
+
ExitCode.E_LOCK_TIMEOUT, // 7
|
|
991
|
+
ExitCode.E_CHECKSUM_MISMATCH, // 20
|
|
992
|
+
ExitCode.E_CONCURRENT_MODIFICATION, // 21
|
|
993
|
+
ExitCode.E_ID_COLLISION, // 22
|
|
994
|
+
ExitCode.E_PROTOCOL_RESEARCH, // 60
|
|
995
|
+
ExitCode.E_PROTOCOL_CONSENSUS, // 61
|
|
996
|
+
ExitCode.E_PROTOCOL_SPECIFICATION, // 62
|
|
997
|
+
ExitCode.E_PROTOCOL_DECOMPOSITION, // 63
|
|
998
|
+
]);
|
|
999
|
+
/**
|
|
1000
|
+
* Exit codes that require human intervention and must NEVER be retried.
|
|
1001
|
+
* Per MCP-SERVER-SPECIFICATION Section 9.2.
|
|
1002
|
+
*
|
|
1003
|
+
* @task T3142
|
|
1004
|
+
*/
|
|
1005
|
+
export const NON_RECOVERABLE_EXIT_CODES = new Set([
|
|
1006
|
+
ExitCode.E_LIFECYCLE_GATE_FAILED, // 80
|
|
1007
|
+
ExitCode.E_CIRCULAR_VALIDATION, // 82
|
|
1008
|
+
ExitCode.E_LIFECYCLE_TRANSITION_INVALID, // 83
|
|
1009
|
+
ExitCode.E_PROVENANCE_REQUIRED, // 84
|
|
1010
|
+
]);
|
|
1011
|
+
/**
|
|
1012
|
+
* Check if an exit code represents a non-recoverable error
|
|
1013
|
+
* requiring human intervention. These must NEVER be retried.
|
|
1014
|
+
*
|
|
1015
|
+
* @task T3142
|
|
1016
|
+
*/
|
|
1017
|
+
export function isNonRecoverable(exitCode) {
|
|
1018
|
+
return NON_RECOVERABLE_EXIT_CODES.has(exitCode);
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Check if an exit code represents a recoverable error
|
|
1022
|
+
* @param exitCode The exit code to check
|
|
1023
|
+
* @returns true if the error is retryable
|
|
1024
|
+
*/
|
|
1025
|
+
export function isRecoverable(exitCode) {
|
|
1026
|
+
// Retry codes: 7 (lock timeout), 20-22 (concurrency), 60-63 (protocol)
|
|
1027
|
+
return RETRYABLE_EXIT_CODES.has(exitCode);
|
|
1028
|
+
}
|
|
1029
|
+
//# sourceMappingURL=exit-codes.js.map
|