@liangjie559567/ultrapower 5.5.2 → 5.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +15 -11
- package/README.md +104 -8
- package/agents/analyst.md +24 -0
- package/bridge/codex-server.cjs +886 -88
- package/bridge/gemini-server.cjs +892 -89
- package/bridge/mcp-server.cjs +1351 -238
- package/bridge/team-bridge.cjs +737 -99
- package/commands/brainstorm.md +1 -1
- package/commands/execute-plan.md +1 -1
- package/commands/wizard.md +5 -0
- package/commands/write-plan.md +1 -1
- package/dist/__tests__/job-management.test.js +43 -43
- package/dist/__tests__/job-management.test.js.map +1 -1
- package/dist/__tests__/validateMode.test.js +1 -1
- package/dist/__tests__/validateMode.test.js.map +1 -1
- package/dist/agents/__tests__/agent-wrapper.test.d.ts +2 -0
- package/dist/agents/__tests__/agent-wrapper.test.d.ts.map +1 -0
- package/dist/agents/__tests__/agent-wrapper.test.js +37 -0
- package/dist/agents/__tests__/agent-wrapper.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.js +35 -0
- package/dist/agents/__tests__/timeout-config.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.js +37 -0
- package/dist/agents/__tests__/timeout-manager.test.js.map +1 -0
- package/dist/agents/agent-wrapper.d.ts +22 -0
- package/dist/agents/agent-wrapper.d.ts.map +1 -0
- package/dist/agents/agent-wrapper.js +54 -0
- package/dist/agents/agent-wrapper.js.map +1 -0
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/definitions.js +1 -1
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/timeout-config.d.ts +19 -0
- package/dist/agents/timeout-config.d.ts.map +1 -0
- package/dist/agents/timeout-config.js +57 -0
- package/dist/agents/timeout-config.js.map +1 -0
- package/dist/agents/timeout-manager.d.ts +31 -0
- package/dist/agents/timeout-manager.d.ts.map +1 -0
- package/dist/agents/timeout-manager.js +53 -0
- package/dist/agents/timeout-manager.js.map +1 -0
- package/dist/analytics/analytics-summary.d.ts.map +1 -1
- package/dist/analytics/analytics-summary.js +7 -1
- package/dist/analytics/analytics-summary.js.map +1 -1
- package/dist/analytics/metrics-collector.d.ts.map +1 -1
- package/dist/analytics/metrics-collector.js +9 -1
- package/dist/analytics/metrics-collector.js.map +1 -1
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +21 -3
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.js +3 -3
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/transcript-scanner.d.ts.map +1 -1
- package/dist/analytics/transcript-scanner.js +20 -13
- package/dist/analytics/transcript-scanner.js.map +1 -1
- package/dist/audit/logger.d.ts +28 -0
- package/dist/audit/logger.d.ts.map +1 -0
- package/dist/audit/logger.js +86 -0
- package/dist/audit/logger.js.map +1 -0
- package/dist/audit/verify-cli.d.ts +2 -0
- package/dist/audit/verify-cli.d.ts.map +1 -0
- package/dist/audit/verify-cli.js +10 -0
- package/dist/audit/verify-cli.js.map +1 -0
- package/dist/cli/commands/perf.d.ts +3 -0
- package/dist/cli/commands/perf.d.ts.map +1 -0
- package/dist/cli/commands/perf.js +25 -0
- package/dist/cli/commands/perf.js.map +1 -0
- package/dist/cli/commands/plugin.d.ts +6 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +100 -0
- package/dist/cli/commands/plugin.js.map +1 -0
- package/dist/cli/commands/teleport.js +5 -5
- package/dist/cli/commands/teleport.js.map +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/compatibility/mcp-bridge.d.ts.map +1 -1
- package/dist/compatibility/mcp-bridge.js +4 -3
- package/dist/compatibility/mcp-bridge.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +40 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/core/hud-config.d.ts +19 -0
- package/dist/core/hud-config.d.ts.map +1 -0
- package/dist/core/hud-config.js +6 -0
- package/dist/core/hud-config.js.map +1 -0
- package/dist/core/job-types.d.ts +22 -0
- package/dist/core/job-types.d.ts.map +1 -0
- package/dist/core/job-types.js +6 -0
- package/dist/core/job-types.js.map +1 -0
- package/dist/features/diagnostics/error-matcher.d.ts +12 -0
- package/dist/features/diagnostics/error-matcher.d.ts.map +1 -0
- package/dist/features/diagnostics/error-matcher.js +41 -0
- package/dist/features/diagnostics/error-matcher.js.map +1 -0
- package/dist/features/diagnostics/index.d.ts +3 -0
- package/dist/features/diagnostics/index.d.ts.map +1 -0
- package/dist/features/diagnostics/index.js +3 -0
- package/dist/features/diagnostics/index.js.map +1 -0
- package/dist/features/diagnostics/solution-suggester.d.ts +12 -0
- package/dist/features/diagnostics/solution-suggester.d.ts.map +1 -0
- package/dist/features/diagnostics/solution-suggester.js +46 -0
- package/dist/features/diagnostics/solution-suggester.js.map +1 -0
- package/dist/features/diagnostics/types.d.ts +25 -0
- package/dist/features/diagnostics/types.d.ts.map +1 -0
- package/dist/features/diagnostics/types.js +5 -0
- package/dist/features/diagnostics/types.js.map +1 -0
- package/dist/features/rate-limit-wait/daemon.js +1 -1
- package/dist/features/rate-limit-wait/daemon.js.map +1 -1
- package/dist/features/reflection/data-collector.d.ts +12 -0
- package/dist/features/reflection/data-collector.d.ts.map +1 -0
- package/dist/features/reflection/data-collector.js +38 -0
- package/dist/features/reflection/data-collector.js.map +1 -0
- package/dist/features/reflection/index.d.ts +4 -0
- package/dist/features/reflection/index.d.ts.map +1 -0
- package/dist/features/reflection/index.js +3 -0
- package/dist/features/reflection/index.js.map +1 -0
- package/dist/features/reflection/report-generator.d.ts +3 -0
- package/dist/features/reflection/report-generator.d.ts.map +1 -0
- package/dist/features/reflection/report-generator.js +42 -0
- package/dist/features/reflection/report-generator.js.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.js +17 -17
- package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js +42 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.js +68 -0
- package/dist/features/state-manager/__tests__/encryption.test.js.map +1 -0
- package/dist/features/state-manager/encryption.d.ts +24 -0
- package/dist/features/state-manager/encryption.d.ts.map +1 -0
- package/dist/features/state-manager/encryption.js +86 -0
- package/dist/features/state-manager/encryption.js.map +1 -0
- package/dist/features/state-manager/index.d.ts +4 -0
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +95 -7
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/features/state-manager/tiered-writer.d.ts +44 -0
- package/dist/features/state-manager/tiered-writer.d.ts.map +1 -0
- package/dist/features/state-manager/tiered-writer.js +76 -0
- package/dist/features/state-manager/tiered-writer.js.map +1 -0
- package/dist/features/state-manager/wal.d.ts +21 -0
- package/dist/features/state-manager/wal.d.ts.map +1 -0
- package/dist/features/state-manager/wal.js +75 -0
- package/dist/features/state-manager/wal.js.map +1 -0
- package/dist/features/task-templates/index.d.ts +13 -0
- package/dist/features/task-templates/index.d.ts.map +1 -0
- package/dist/features/task-templates/index.js +31 -0
- package/dist/features/task-templates/index.js.map +1 -0
- package/dist/features/task-templates/wizard-integration.d.ts +15 -0
- package/dist/features/task-templates/wizard-integration.d.ts.map +1 -0
- package/dist/features/task-templates/wizard-integration.js +27 -0
- package/dist/features/task-templates/wizard-integration.js.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.js +78 -0
- package/dist/features/wizard/__tests__/engine.test.js.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js +43 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js.map +1 -0
- package/dist/features/wizard/engine.d.ts +15 -0
- package/dist/features/wizard/engine.d.ts.map +1 -0
- package/dist/features/wizard/engine.js +74 -0
- package/dist/features/wizard/engine.js.map +1 -0
- package/dist/features/wizard/index.d.ts +8 -0
- package/dist/features/wizard/index.d.ts.map +1 -0
- package/dist/features/wizard/index.js +7 -0
- package/dist/features/wizard/index.js.map +1 -0
- package/dist/features/wizard/questions.d.ts +6 -0
- package/dist/features/wizard/questions.d.ts.map +1 -0
- package/dist/features/wizard/questions.js +64 -0
- package/dist/features/wizard/questions.js.map +1 -0
- package/dist/features/wizard/recommendation-engine.d.ts +6 -0
- package/dist/features/wizard/recommendation-engine.d.ts.map +1 -0
- package/dist/features/wizard/recommendation-engine.js +33 -0
- package/dist/features/wizard/recommendation-engine.js.map +1 -0
- package/dist/features/wizard/types.d.ts +23 -0
- package/dist/features/wizard/types.d.ts.map +1 -0
- package/dist/features/wizard/types.js +5 -0
- package/dist/features/wizard/types.js.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts +6 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.js +20 -0
- package/dist/features/workflow-recommender/context-analyzer.js.map +1 -0
- package/dist/features/workflow-recommender/index.d.ts +12 -0
- package/dist/features/workflow-recommender/index.d.ts.map +1 -0
- package/dist/features/workflow-recommender/index.js +9 -0
- package/dist/features/workflow-recommender/index.js.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts +6 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.js +24 -0
- package/dist/features/workflow-recommender/intent-classifier.js.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts +6 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.js +110 -0
- package/dist/features/workflow-recommender/recommendation-engine.js.map +1 -0
- package/dist/features/workflow-recommender/recommender.d.ts +14 -0
- package/dist/features/workflow-recommender/recommender.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommender.js +32 -0
- package/dist/features/workflow-recommender/recommender.js.map +1 -0
- package/dist/features/workflow-recommender/router-integration.d.ts +9 -0
- package/dist/features/workflow-recommender/router-integration.d.ts.map +1 -0
- package/dist/features/workflow-recommender/router-integration.js +25 -0
- package/dist/features/workflow-recommender/router-integration.js.map +1 -0
- package/dist/features/workflow-recommender/types.d.ts +20 -0
- package/dist/features/workflow-recommender/types.d.ts.map +1 -0
- package/dist/features/workflow-recommender/types.js +5 -0
- package/dist/features/workflow-recommender/types.js.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js +90 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.js +23 -41
- package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js +70 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js +55 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js +50 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.js +2 -2
- package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js +19 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +1 -1
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/axiom-boot/index.d.ts +1 -0
- package/dist/hooks/axiom-boot/index.d.ts.map +1 -1
- package/dist/hooks/axiom-boot/index.js +13 -0
- package/dist/hooks/axiom-boot/index.js.map +1 -1
- package/dist/hooks/bridge-normalize.d.ts +43 -3
- package/dist/hooks/bridge-normalize.d.ts.map +1 -1
- package/dist/hooks/bridge-normalize.js +183 -61
- package/dist/hooks/bridge-normalize.js.map +1 -1
- package/dist/hooks/bridge-types.d.ts +62 -0
- package/dist/hooks/bridge-types.d.ts.map +1 -0
- package/dist/hooks/bridge-types.js +6 -0
- package/dist/hooks/bridge-types.js.map +1 -0
- package/dist/hooks/bridge.d.ts +1 -43
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +132 -32
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/dependency-analyzer.d.ts +32 -0
- package/dist/hooks/dependency-analyzer.d.ts.map +1 -0
- package/dist/hooks/dependency-analyzer.js +199 -0
- package/dist/hooks/dependency-analyzer.js.map +1 -0
- package/dist/hooks/guards/pre-tool.d.ts.map +1 -1
- package/dist/hooks/guards/pre-tool.js +8 -2
- package/dist/hooks/guards/pre-tool.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/__tests__/confidence.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/confidence.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/confidence.test.js +42 -0
- package/dist/hooks/learner/__tests__/confidence.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.js +170 -0
- package/dist/hooks/learner/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js +147 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js +43 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.js +48 -0
- package/dist/hooks/learner/__tests__/index.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts +10 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js +131 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.js +114 -0
- package/dist/hooks/learner/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.js +146 -0
- package/dist/hooks/learner/__tests__/promotion.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts +13 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js +162 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js +159 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js +201 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.js +123 -0
- package/dist/hooks/learner/__tests__/validator.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.js +141 -0
- package/dist/hooks/learner/__tests__/writer.test.js.map +1 -0
- package/dist/hooks/learner/confidence.d.ts +10 -0
- package/dist/hooks/learner/confidence.d.ts.map +1 -1
- package/dist/hooks/learner/confidence.js +17 -0
- package/dist/hooks/learner/confidence.js.map +1 -1
- package/dist/hooks/learner/detection-hook.js +2 -2
- package/dist/hooks/learner/detection-hook.js.map +1 -1
- package/dist/hooks/learner/index-manager.d.ts +29 -0
- package/dist/hooks/learner/index-manager.d.ts.map +1 -1
- package/dist/hooks/learner/index-manager.js +56 -0
- package/dist/hooks/learner/index-manager.js.map +1 -1
- package/dist/hooks/learner/learning-queue.d.ts +1 -0
- package/dist/hooks/learner/learning-queue.d.ts.map +1 -1
- package/dist/hooks/learner/learning-queue.js +82 -0
- package/dist/hooks/learner/learning-queue.js.map +1 -1
- package/dist/hooks/learner/orchestrator.d.ts +12 -1
- package/dist/hooks/learner/orchestrator.d.ts.map +1 -1
- package/dist/hooks/learner/orchestrator.js +19 -2
- package/dist/hooks/learner/orchestrator.js.map +1 -1
- package/dist/hooks/learner/promotion.d.ts +10 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -1
- package/dist/hooks/learner/promotion.js +33 -0
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/learner/queue-archiver.d.ts +21 -0
- package/dist/hooks/learner/queue-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/queue-archiver.js +147 -0
- package/dist/hooks/learner/queue-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-archiver.d.ts +19 -0
- package/dist/hooks/learner/reflection-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-archiver.js +113 -0
- package/dist/hooks/learner/reflection-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts +22 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.js +62 -0
- package/dist/hooks/learner/reflection-cleanup.js.map +1 -0
- package/dist/hooks/learner/reflection-parser.d.ts +26 -0
- package/dist/hooks/learner/reflection-parser.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-parser.js +139 -0
- package/dist/hooks/learner/reflection-parser.js.map +1 -0
- package/dist/hooks/learner/reflection.d.ts +8 -1
- package/dist/hooks/learner/reflection.d.ts.map +1 -1
- package/dist/hooks/learner/reflection.js +19 -2
- package/dist/hooks/learner/reflection.js.map +1 -1
- package/dist/hooks/learner/types.d.ts +23 -0
- package/dist/hooks/learner/types.d.ts.map +1 -1
- package/dist/hooks/nexus/config.d.ts.map +1 -1
- package/dist/hooks/nexus/config.js +4 -3
- package/dist/hooks/nexus/config.js.map +1 -1
- package/dist/hooks/nexus/improvement-puller.d.ts.map +1 -1
- package/dist/hooks/nexus/improvement-puller.js +4 -2
- package/dist/hooks/nexus/improvement-puller.js.map +1 -1
- package/dist/hooks/nexus/session-end-hook.d.ts.map +1 -1
- package/dist/hooks/nexus/session-end-hook.js +8 -3
- package/dist/hooks/nexus/session-end-hook.js.map +1 -1
- package/dist/hooks/observability/__tests__/observability.test.d.ts +2 -0
- package/dist/hooks/observability/__tests__/observability.test.d.ts.map +1 -0
- package/dist/hooks/observability/__tests__/observability.test.js +176 -0
- package/dist/hooks/observability/__tests__/observability.test.js.map +1 -0
- package/dist/hooks/observability/agent-tracker.d.ts +18 -0
- package/dist/hooks/observability/agent-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/agent-tracker.js +26 -0
- package/dist/hooks/observability/agent-tracker.js.map +1 -0
- package/dist/hooks/observability/cost-estimator.d.ts +18 -0
- package/dist/hooks/observability/cost-estimator.d.ts.map +1 -0
- package/dist/hooks/observability/cost-estimator.js +46 -0
- package/dist/hooks/observability/cost-estimator.js.map +1 -0
- package/dist/hooks/observability/db.d.ts +5 -0
- package/dist/hooks/observability/db.d.ts.map +1 -0
- package/dist/hooks/observability/db.js +63 -0
- package/dist/hooks/observability/db.js.map +1 -0
- package/dist/hooks/observability/query-engine.d.ts +36 -0
- package/dist/hooks/observability/query-engine.d.ts.map +1 -0
- package/dist/hooks/observability/query-engine.js +78 -0
- package/dist/hooks/observability/query-engine.js.map +1 -0
- package/dist/hooks/observability/tool-tracker.d.ts +11 -0
- package/dist/hooks/observability/tool-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/tool-tracker.js +24 -0
- package/dist/hooks/observability/tool-tracker.js.map +1 -0
- package/dist/hooks/observability/write-queue.d.ts +13 -0
- package/dist/hooks/observability/write-queue.d.ts.map +1 -0
- package/dist/hooks/observability/write-queue.js +48 -0
- package/dist/hooks/observability/write-queue.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
- package/dist/hooks/omc-orchestrator/index.js +2 -11
- package/dist/hooks/omc-orchestrator/index.js.map +1 -1
- package/dist/hooks/parallel-executor.d.ts +24 -0
- package/dist/hooks/parallel-executor.d.ts.map +1 -0
- package/dist/hooks/parallel-executor.js +82 -0
- package/dist/hooks/parallel-executor.js.map +1 -0
- package/dist/hooks/permission-handler/index.d.ts +1 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -1
- package/dist/hooks/permission-handler/index.js +60 -5
- package/dist/hooks/permission-handler/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +2 -21
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +4 -85
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/tool-error.d.ts +15 -0
- package/dist/hooks/persistent-mode/tool-error.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/tool-error.js +80 -0
- package/dist/hooks/persistent-mode/tool-error.js.map +1 -0
- package/dist/hooks/pre-compact/index.d.ts.map +1 -1
- package/dist/hooks/pre-compact/index.js +0 -1
- package/dist/hooks/pre-compact/index.js.map +1 -1
- package/dist/hooks/project-memory/learner.d.ts +13 -1
- package/dist/hooks/project-memory/learner.d.ts.map +1 -1
- package/dist/hooks/project-memory/learner.js +24 -12
- package/dist/hooks/project-memory/learner.js.map +1 -1
- package/dist/hooks/race-detector.d.ts +51 -0
- package/dist/hooks/race-detector.d.ts.map +1 -0
- package/dist/hooks/race-detector.js +121 -0
- package/dist/hooks/race-detector.js.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.js +268 -0
- package/dist/hooks/ralph/__tests__/loop.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.js +197 -0
- package/dist/hooks/ralph/__tests__/prd.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.js +120 -0
- package/dist/hooks/ralph/__tests__/progress.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js +75 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js +131 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js +88 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.js +270 -0
- package/dist/hooks/recovery/__tests__/index.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js +129 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +549 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +1 -1
- package/dist/hooks/recovery/session-recovery.js.map +1 -1
- package/dist/hooks/recovery/storage.js +5 -4
- package/dist/hooks/recovery/storage.js.map +1 -1
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js +68 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js +58 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +2 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -1
- package/dist/hooks/rules-injector/finder.js +12 -4
- package/dist/hooks/rules-injector/finder.js.map +1 -1
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -1
- package/dist/hooks/rules-injector/matcher.js +15 -8
- package/dist/hooks/rules-injector/matcher.js.map +1 -1
- package/dist/hooks/session-end/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/index.test.js +77 -0
- package/dist/hooks/session-end/__tests__/index.test.js.map +1 -0
- package/dist/hooks/session-end/callbacks.d.ts +1 -1
- package/dist/hooks/session-end/index.d.ts +2 -21
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/session-end/types.d.ts +26 -0
- package/dist/hooks/session-end/types.d.ts.map +1 -0
- package/dist/hooks/session-end/types.js +6 -0
- package/dist/hooks/session-end/types.js.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.js +68 -0
- package/dist/hooks/setup/__tests__/index.test.js.map +1 -0
- package/dist/hooks/skill-bridge.cjs +5 -1
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts +2 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js +94 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js.map +1 -0
- package/dist/hooks/timeout-wrapper.d.ts +32 -0
- package/dist/hooks/timeout-wrapper.d.ts.map +1 -0
- package/dist/hooks/timeout-wrapper.js +62 -0
- package/dist/hooks/timeout-wrapper.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
- package/dist/hooks/todo-continuation/index.js +11 -5
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.js +5 -6
- package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/state.js +13 -4
- package/dist/hooks/ultrapilot/state.js.map +1 -1
- package/dist/hooks/ultraqa/index.d.ts.map +1 -1
- package/dist/hooks/ultraqa/index.js +11 -2
- package/dist/hooks/ultraqa/index.js.map +1 -1
- package/dist/hooks/ultrawork/index.d.ts.map +1 -1
- package/dist/hooks/ultrawork/index.js +20 -6
- package/dist/hooks/ultrawork/index.js.map +1 -1
- package/dist/hud/elements/autopilot.d.ts +1 -1
- package/dist/hud/elements/autopilot.d.ts.map +1 -1
- package/dist/hud/elements/git.d.ts +0 -5
- package/dist/hud/elements/git.d.ts.map +1 -1
- package/dist/hud/elements/git.js +3 -37
- package/dist/hud/elements/git.js.map +1 -1
- package/dist/hud/sanitize.d.ts.map +1 -1
- package/dist/hud/sanitize.js +16 -17
- package/dist/hud/sanitize.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +69 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +2 -15
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/installer/__tests__/hooks.test.d.ts +6 -0
- package/dist/installer/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hooks.test.js +121 -0
- package/dist/installer/__tests__/hooks.test.js.map +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +11 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/__tests__/atomic-write.test.js +3 -4
- package/dist/lib/__tests__/atomic-write.test.js.map +1 -1
- package/dist/lib/__tests__/file-lock.test.d.ts +13 -0
- package/dist/lib/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/lib/__tests__/file-lock.test.js +122 -0
- package/dist/lib/__tests__/file-lock.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.js +58 -0
- package/dist/lib/__tests__/plugin-deps.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js +52 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.js +60 -0
- package/dist/lib/__tests__/plugin-rollback.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.js +70 -0
- package/dist/lib/__tests__/plugin-security.test.js.map +1 -0
- package/dist/lib/__tests__/validateMode.test.d.ts +2 -0
- package/dist/lib/__tests__/validateMode.test.d.ts.map +1 -0
- package/dist/lib/__tests__/validateMode.test.js +61 -0
- package/dist/lib/__tests__/validateMode.test.js.map +1 -0
- package/dist/lib/__tests__/version.test.d.ts +6 -0
- package/dist/lib/__tests__/version.test.d.ts.map +1 -0
- package/dist/lib/__tests__/version.test.js +37 -0
- package/dist/lib/__tests__/version.test.js.map +1 -0
- package/dist/lib/atomic-write.d.ts.map +1 -1
- package/dist/lib/atomic-write.js +6 -8
- package/dist/lib/atomic-write.js.map +1 -1
- package/dist/lib/constants.d.ts +59 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +69 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/env-validator.d.ts +28 -0
- package/dist/lib/env-validator.d.ts.map +1 -0
- package/dist/lib/env-validator.js +105 -0
- package/dist/lib/env-validator.js.map +1 -0
- package/dist/lib/file-cache.d.ts +16 -0
- package/dist/lib/file-cache.d.ts.map +1 -0
- package/dist/lib/file-cache.js +33 -0
- package/dist/lib/file-cache.js.map +1 -0
- package/dist/lib/file-lock.d.ts +18 -0
- package/dist/lib/file-lock.d.ts.map +1 -0
- package/dist/lib/file-lock.js +59 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/git-utils.d.ts +55 -0
- package/dist/lib/git-utils.d.ts.map +1 -0
- package/dist/lib/git-utils.js +140 -0
- package/dist/lib/git-utils.js.map +1 -0
- package/dist/lib/memory-utils.d.ts +7 -0
- package/dist/lib/memory-utils.d.ts.map +1 -0
- package/dist/lib/memory-utils.js +21 -0
- package/dist/lib/memory-utils.js.map +1 -0
- package/dist/lib/path-validator.d.ts +25 -0
- package/dist/lib/path-validator.d.ts.map +1 -0
- package/dist/lib/path-validator.js +88 -0
- package/dist/lib/path-validator.js.map +1 -0
- package/dist/lib/plugin-deps.d.ts +26 -0
- package/dist/lib/plugin-deps.d.ts.map +1 -0
- package/dist/lib/plugin-deps.js +59 -0
- package/dist/lib/plugin-deps.js.map +1 -0
- package/dist/lib/plugin-marketplace.d.ts +12 -0
- package/dist/lib/plugin-marketplace.d.ts.map +1 -0
- package/dist/lib/plugin-marketplace.js +35 -0
- package/dist/lib/plugin-marketplace.js.map +1 -0
- package/dist/lib/plugin-rollback.d.ts +22 -0
- package/dist/lib/plugin-rollback.d.ts.map +1 -0
- package/dist/lib/plugin-rollback.js +66 -0
- package/dist/lib/plugin-rollback.js.map +1 -0
- package/dist/lib/plugin-security.d.ts +19 -0
- package/dist/lib/plugin-security.d.ts.map +1 -0
- package/dist/lib/plugin-security.js +87 -0
- package/dist/lib/plugin-security.js.map +1 -0
- package/dist/lib/safe-json.d.ts +16 -0
- package/dist/lib/safe-json.d.ts.map +1 -0
- package/dist/lib/safe-json.js +22 -0
- package/dist/lib/safe-json.js.map +1 -0
- package/dist/lib/validateMode.d.ts +3 -0
- package/dist/lib/validateMode.d.ts.map +1 -1
- package/dist/lib/validateMode.js +28 -2
- package/dist/lib/validateMode.js.map +1 -1
- package/dist/lib/worktree-paths.d.ts.map +1 -1
- package/dist/lib/worktree-paths.js +4 -24
- package/dist/lib/worktree-paths.js.map +1 -1
- package/dist/mcp/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/mcp/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/cli-detection.test.js +50 -0
- package/dist/mcp/__tests__/cli-detection.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.js +143 -0
- package/dist/mcp/__tests__/codex-core.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.js +59 -0
- package/dist/mcp/__tests__/codex-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.js +53 -0
- package/dist/mcp/__tests__/gemini-core.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.js +50 -0
- package/dist/mcp/__tests__/gemini-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js +48 -1
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js.map +1 -1
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts +2 -0
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js +108 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.js +86 -0
- package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/mcp/adapters/ast-adapter.d.ts +90 -0
- package/dist/mcp/adapters/ast-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/ast-adapter.js +36 -0
- package/dist/mcp/adapters/ast-adapter.js.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts +6 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.js +6 -0
- package/dist/mcp/adapters/lsp-adapter.js.map +1 -0
- package/dist/mcp/adapters/memory-adapter.d.ts +156 -0
- package/dist/mcp/adapters/memory-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/memory-adapter.js +59 -0
- package/dist/mcp/adapters/memory-adapter.js.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts +115 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.js +78 -0
- package/dist/mcp/adapters/notepad-adapter.js.map +1 -0
- package/dist/mcp/adapters/python-adapter.d.ts +46 -0
- package/dist/mcp/adapters/python-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/python-adapter.js +44 -0
- package/dist/mcp/adapters/python-adapter.js.map +1 -0
- package/dist/mcp/adapters/skills-adapter.d.ts +37 -0
- package/dist/mcp/adapters/skills-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/skills-adapter.js +35 -0
- package/dist/mcp/adapters/skills-adapter.js.map +1 -0
- package/dist/mcp/adapters/state-adapter.d.ts +209 -0
- package/dist/mcp/adapters/state-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/state-adapter.js +82 -0
- package/dist/mcp/adapters/state-adapter.js.map +1 -0
- package/dist/mcp/adapters/trace-adapter.d.ts +67 -0
- package/dist/mcp/adapters/trace-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/trace-adapter.js +30 -0
- package/dist/mcp/adapters/trace-adapter.js.map +1 -0
- package/dist/mcp/client/MCPClient.d.ts +22 -0
- package/dist/mcp/client/MCPClient.d.ts.map +1 -0
- package/dist/mcp/client/MCPClient.js +93 -0
- package/dist/mcp/client/MCPClient.js.map +1 -0
- package/dist/mcp/client.d.ts +19 -0
- package/dist/mcp/client.d.ts.map +1 -0
- package/dist/mcp/client.js +34 -0
- package/dist/mcp/client.js.map +1 -0
- package/dist/mcp/codex-core.d.ts.map +1 -1
- package/dist/mcp/codex-core.js +9 -4
- package/dist/mcp/codex-core.js.map +1 -1
- package/dist/mcp/config/config-loader.d.ts +6 -0
- package/dist/mcp/config/config-loader.d.ts.map +1 -0
- package/dist/mcp/config/config-loader.js +16 -0
- package/dist/mcp/config/config-loader.js.map +1 -0
- package/dist/mcp/config/env-replacer.d.ts +10 -0
- package/dist/mcp/config/env-replacer.d.ts.map +1 -0
- package/dist/mcp/config/env-replacer.js +39 -0
- package/dist/mcp/config/env-replacer.js.map +1 -0
- package/dist/mcp/config/loader.d.ts +6 -0
- package/dist/mcp/config/loader.d.ts.map +1 -0
- package/dist/mcp/config/loader.js +51 -0
- package/dist/mcp/config/loader.js.map +1 -0
- package/dist/mcp/config/schema.d.ts +63 -0
- package/dist/mcp/config/schema.d.ts.map +1 -0
- package/dist/mcp/config/schema.js +15 -0
- package/dist/mcp/config/schema.js.map +1 -0
- package/dist/mcp/config-loader.d.ts +6 -0
- package/dist/mcp/config-loader.d.ts.map +1 -0
- package/dist/mcp/config-loader.js +66 -0
- package/dist/mcp/config-loader.js.map +1 -0
- package/dist/mcp/config-schema.d.ts +64 -0
- package/dist/mcp/config-schema.d.ts.map +1 -0
- package/dist/mcp/config-schema.js +18 -0
- package/dist/mcp/config-schema.js.map +1 -0
- package/dist/mcp/gemini-core.d.ts.map +1 -1
- package/dist/mcp/gemini-core.js +16 -1
- package/dist/mcp/gemini-core.js.map +1 -1
- package/dist/mcp/job-management.d.ts.map +1 -1
- package/dist/mcp/job-management.js +201 -7
- package/dist/mcp/job-management.js.map +1 -1
- package/dist/mcp/job-state-db.d.ts +1 -1
- package/dist/mcp/job-state-db.d.ts.map +1 -1
- package/dist/mcp/job-state-db.js +22 -5
- package/dist/mcp/job-state-db.js.map +1 -1
- package/dist/mcp/logger.d.ts +7 -0
- package/dist/mcp/logger.d.ts.map +1 -0
- package/dist/mcp/logger.js +19 -0
- package/dist/mcp/logger.js.map +1 -0
- package/dist/mcp/namespace-manager.d.ts +25 -0
- package/dist/mcp/namespace-manager.d.ts.map +1 -0
- package/dist/mcp/namespace-manager.js +26 -0
- package/dist/mcp/namespace-manager.js.map +1 -0
- package/dist/mcp/namespace.d.ts +26 -0
- package/dist/mcp/namespace.d.ts.map +1 -0
- package/dist/mcp/namespace.js +56 -0
- package/dist/mcp/namespace.js.map +1 -0
- package/dist/mcp/prompt-persistence.d.ts +3 -18
- package/dist/mcp/prompt-persistence.d.ts.map +1 -1
- package/dist/mcp/prompt-persistence.js +3 -3
- package/dist/mcp/prompt-persistence.js.map +1 -1
- package/dist/mcp/retry-client.d.ts +22 -0
- package/dist/mcp/retry-client.d.ts.map +1 -0
- package/dist/mcp/retry-client.js +59 -0
- package/dist/mcp/retry-client.js.map +1 -0
- package/dist/mcp/standalone-server.js +5 -41
- package/dist/mcp/standalone-server.js.map +1 -1
- package/dist/mcp/timeout.d.ts +8 -0
- package/dist/mcp/timeout.d.ts.map +1 -0
- package/dist/mcp/timeout.js +14 -0
- package/dist/mcp/timeout.js.map +1 -0
- package/dist/mcp/tool-handler.d.ts +14 -0
- package/dist/mcp/tool-handler.d.ts.map +1 -0
- package/dist/mcp/tool-handler.js +32 -0
- package/dist/mcp/tool-handler.js.map +1 -0
- package/dist/mcp/tool-resolver.d.ts +13 -0
- package/dist/mcp/tool-resolver.d.ts.map +1 -0
- package/dist/mcp/tool-resolver.js +30 -0
- package/dist/mcp/tool-resolver.js.map +1 -0
- package/dist/monitoring/dashboard.d.ts +13 -0
- package/dist/monitoring/dashboard.d.ts.map +1 -0
- package/dist/monitoring/dashboard.js +93 -0
- package/dist/monitoring/dashboard.js.map +1 -0
- package/dist/monitoring/index.d.ts +3 -0
- package/dist/monitoring/index.d.ts.map +1 -0
- package/dist/monitoring/index.js +3 -0
- package/dist/monitoring/index.js.map +1 -0
- package/dist/monitoring/metrics-collector.d.ts +18 -0
- package/dist/monitoring/metrics-collector.d.ts.map +1 -0
- package/dist/monitoring/metrics-collector.js +68 -0
- package/dist/monitoring/metrics-collector.js.map +1 -0
- package/dist/monitoring/test-perf.d.ts +2 -0
- package/dist/monitoring/test-perf.d.ts.map +1 -0
- package/dist/monitoring/test-perf.js +39 -0
- package/dist/monitoring/test-perf.js.map +1 -0
- package/dist/notifications/reply-listener.d.ts +25 -0
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +5 -5
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/platform/process-utils.d.ts.map +1 -1
- package/dist/platform/process-utils.js +2 -3
- package/dist/platform/process-utils.js.map +1 -1
- package/dist/team/__tests__/deadlock-detector.test.d.ts +2 -0
- package/dist/team/__tests__/deadlock-detector.test.d.ts.map +1 -0
- package/dist/team/__tests__/deadlock-detector.test.js +50 -0
- package/dist/team/__tests__/deadlock-detector.test.js.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts +2 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.js +29 -0
- package/dist/team/__tests__/dependency-graph.test.js.map +1 -0
- package/dist/team/bridge-entry.d.ts +23 -0
- package/dist/team/bridge-entry.d.ts.map +1 -1
- package/dist/team/bridge-entry.js +83 -52
- package/dist/team/bridge-entry.js.map +1 -1
- package/dist/team/capabilities.d.ts +1 -2
- package/dist/team/capabilities.d.ts.map +1 -1
- package/dist/team/capabilities.js.map +1 -1
- package/dist/team/deadlock-detector.d.ts +16 -0
- package/dist/team/deadlock-detector.d.ts.map +1 -0
- package/dist/team/deadlock-detector.js +52 -0
- package/dist/team/deadlock-detector.js.map +1 -0
- package/dist/team/dependency-graph.d.ts +23 -0
- package/dist/team/dependency-graph.d.ts.map +1 -0
- package/dist/team/dependency-graph.js +35 -0
- package/dist/team/dependency-graph.js.map +1 -0
- package/dist/team/inbox-outbox.js +1 -1
- package/dist/team/inbox-outbox.js.map +1 -1
- package/dist/team/index.d.ts +3 -0
- package/dist/team/index.d.ts.map +1 -1
- package/dist/team/index.js +2 -0
- package/dist/team/index.js.map +1 -1
- package/dist/team/mcp-team-bridge.d.ts.map +1 -1
- package/dist/team/mcp-team-bridge.js +35 -23
- package/dist/team/mcp-team-bridge.js.map +1 -1
- package/dist/team/types.d.ts +15 -4
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js +0 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/unified-team.d.ts +2 -11
- package/dist/team/unified-team.d.ts.map +1 -1
- package/dist/team/unified-team.js.map +1 -1
- package/dist/team/worker-health.d.ts +2 -2
- package/dist/team/worker-health.d.ts.map +1 -1
- package/dist/team/worker-health.js +74 -6
- package/dist/team/worker-health.js.map +1 -1
- package/dist/team/worker-restart.d.ts +4 -4
- package/dist/team/worker-restart.d.ts.map +1 -1
- package/dist/team/worker-restart.js +64 -9
- package/dist/team/worker-restart.js.map +1 -1
- package/dist/tools/__tests__/ast-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/ast-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/ast-tools.test.js +178 -0
- package/dist/tools/__tests__/ast-tools.test.js.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.js +252 -0
- package/dist/tools/__tests__/lsp-tools.test.js.map +1 -0
- package/dist/tools/ast-tools.d.ts.map +1 -1
- package/dist/tools/ast-tools.js +84 -5
- package/dist/tools/ast-tools.js.map +1 -1
- package/dist/tools/dependency-analyzer.d.ts +34 -0
- package/dist/tools/dependency-analyzer.d.ts.map +1 -0
- package/dist/tools/dependency-analyzer.js +57 -0
- package/dist/tools/dependency-analyzer.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.js +111 -0
- package/dist/tools/diagnostics/__tests__/index.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js +120 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js +86 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js.map +1 -0
- package/dist/tools/diagnostics/constants.d.ts +5 -0
- package/dist/tools/diagnostics/constants.d.ts.map +1 -0
- package/dist/tools/diagnostics/constants.js +5 -0
- package/dist/tools/diagnostics/constants.js.map +1 -0
- package/dist/tools/diagnostics/index.d.ts +2 -1
- package/dist/tools/diagnostics/index.d.ts.map +1 -1
- package/dist/tools/diagnostics/index.js +2 -1
- package/dist/tools/diagnostics/index.js.map +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -1
- package/dist/tools/doc-sync.d.ts +38 -0
- package/dist/tools/doc-sync.d.ts.map +1 -0
- package/dist/tools/doc-sync.js +67 -0
- package/dist/tools/doc-sync.js.map +1 -0
- package/dist/tools/index.d.ts +11 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +41 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lsp/__tests__/utils.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/utils.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/utils.test.js +338 -0
- package/dist/tools/lsp/__tests__/utils.test.js.map +1 -0
- package/dist/tools/lsp/client.d.ts +10 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +55 -0
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/lsp/memory-optimizer.d.ts +19 -0
- package/dist/tools/lsp/memory-optimizer.d.ts.map +1 -0
- package/dist/tools/lsp/memory-optimizer.js +48 -0
- package/dist/tools/lsp/memory-optimizer.js.map +1 -0
- package/dist/tools/lsp/utils.d.ts.map +1 -1
- package/dist/tools/lsp/utils.js +2 -2
- package/dist/tools/lsp/utils.js.map +1 -1
- package/dist/tools/memory-tools.js +4 -4
- package/dist/tools/memory-tools.js.map +1 -1
- package/dist/tools/notepad-tools.d.ts.map +1 -1
- package/dist/tools/notepad-tools.js +6 -0
- package/dist/tools/notepad-tools.js.map +1 -1
- package/dist/tools/parallel-opportunity-detector.d.ts +54 -0
- package/dist/tools/parallel-opportunity-detector.d.ts.map +1 -0
- package/dist/tools/parallel-opportunity-detector.js +66 -0
- package/dist/tools/parallel-opportunity-detector.js.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js +338 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js +155 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js.map +1 -0
- package/dist/tools/python-repl/bridge-manager.d.ts +4 -0
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
- package/dist/tools/python-repl/bridge-manager.js +8 -5
- package/dist/tools/python-repl/bridge-manager.js.map +1 -1
- package/dist/tools/skills-tools.d.ts.map +1 -1
- package/dist/tools/skills-tools.js +5 -3
- package/dist/tools/skills-tools.js.map +1 -1
- package/dist/tools/state-tools.d.ts +6 -0
- package/dist/tools/state-tools.d.ts.map +1 -1
- package/dist/tools/state-tools.js +108 -87
- package/dist/tools/state-tools.js.map +1 -1
- package/dist/tools/tool-prefix-migration.d.ts +18 -0
- package/dist/tools/tool-prefix-migration.d.ts.map +1 -0
- package/dist/tools/tool-prefix-migration.js +80 -0
- package/dist/tools/tool-prefix-migration.js.map +1 -0
- package/dist/workers/adapter.d.ts +16 -0
- package/dist/workers/adapter.d.ts.map +1 -0
- package/dist/workers/adapter.js +5 -0
- package/dist/workers/adapter.js.map +1 -0
- package/dist/workers/cached-adapter.d.ts +21 -0
- package/dist/workers/cached-adapter.d.ts.map +1 -0
- package/dist/workers/cached-adapter.js +67 -0
- package/dist/workers/cached-adapter.js.map +1 -0
- package/dist/workers/factory.d.ts +11 -0
- package/dist/workers/factory.d.ts.map +1 -0
- package/dist/workers/factory.js +54 -0
- package/dist/workers/factory.js.map +1 -0
- package/dist/workers/index.d.ts +10 -0
- package/dist/workers/index.d.ts.map +1 -0
- package/dist/workers/index.js +10 -0
- package/dist/workers/index.js.map +1 -0
- package/dist/workers/json-adapter.d.ts +22 -0
- package/dist/workers/json-adapter.d.ts.map +1 -0
- package/dist/workers/json-adapter.js +171 -0
- package/dist/workers/json-adapter.js.map +1 -0
- package/dist/workers/sqlite-adapter.d.ts +22 -0
- package/dist/workers/sqlite-adapter.d.ts.map +1 -0
- package/dist/workers/sqlite-adapter.js +262 -0
- package/dist/workers/sqlite-adapter.js.map +1 -0
- package/dist/workers/types.d.ts +41 -0
- package/dist/workers/types.d.ts.map +1 -0
- package/dist/workers/types.js +5 -0
- package/dist/workers/types.js.map +1 -0
- package/docs/AGENTS.md +81 -89
- package/docs/ARCHITECTURE.md +541 -162
- package/docs/CLAUDE.md +1 -1
- package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +97 -0
- package/docs/FAQ.md +306 -0
- package/docs/FEATURES.md +1038 -420
- package/docs/INSTALL.md +5 -5
- package/docs/INSTALL_FIX_SUMMARY.md +97 -0
- package/docs/INSTALL_FIX_VERIFICATION.md +61 -0
- package/docs/INSTALL_VERIFICATION_REPORT.md +68 -0
- package/docs/KNOWN_ISSUES.md +104 -0
- package/docs/LOCAL_INSTALL_VERIFICATION.md +159 -0
- package/docs/LOCAL_TEST_INSTALL_REPORT.md +96 -0
- package/docs/MAIN_DOCS_UPDATE_REPORT.md +41 -0
- package/docs/MIGRATION_GUIDE_v5.5.18.md +177 -0
- package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +187 -0
- package/docs/README.md +110 -0
- package/docs/REFERENCE.md +930 -786
- package/docs/RELEASE_NOTES_v5.5.14.md +97 -0
- package/docs/RELEASE_SUMMARY_v5.5.18.md +60 -0
- package/docs/TUTORIAL.md +223 -0
- package/docs/UPGRADE_VERIFICATION.md +500 -0
- package/docs/UPGRADE_VERIFICATION_REPORT.md +96 -0
- package/docs/USER_GUIDE.md +2044 -0
- package/docs/VALIDATION_REPORT.md +165 -0
- package/docs/VERIFICATION_SUMMARY.md +116 -0
- package/docs/adr/001-worker-state-adapter.md +168 -0
- package/docs/adr/002-caching-strategy.md +112 -0
- package/docs/adr/003-gradual-migration.md +193 -0
- package/docs/adr/template.md +97 -0
- package/docs/api/.nojekyll +1 -0
- package/docs/api/assets/hierarchy.js +1 -0
- package/docs/api/assets/highlight.css +85 -0
- package/docs/api/assets/icons.js +18 -0
- package/docs/api/assets/icons.svg +1 -0
- package/docs/api/assets/main.js +60 -0
- package/docs/api/assets/navigation.js +1 -0
- package/docs/api/assets/search.js +1 -0
- package/docs/api/assets/style.css +1633 -0
- package/docs/api/classes/ContextCollector.html +21 -0
- package/docs/api/functions/activateUltrawork.html +2 -0
- package/docs/api/functions/addCustomNote.html +5 -0
- package/docs/api/functions/addDirective.html +2 -0
- package/docs/api/functions/addManualEntry.html +2 -0
- package/docs/api/functions/addPattern.html +3 -0
- package/docs/api/functions/addWorker.html +2 -0
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -0
- package/docs/api/functions/analyzeContextUsage.html +2 -0
- package/docs/api/functions/appendProgress.html +2 -0
- package/docs/api/functions/appendSessionId.html +2 -0
- package/docs/api/functions/applyCommentFilters.html +3 -0
- package/docs/api/functions/assignFileToWorker.html +2 -0
- package/docs/api/functions/backgroundUpdateCheck.html +2 -0
- package/docs/api/functions/buildAxiomBootContext.html +1 -0
- package/docs/api/functions/buildBoulderContinuation.html +2 -0
- package/docs/api/functions/buildDelegationTable.html +2 -0
- package/docs/api/functions/buildKeyTriggersSection.html +2 -0
- package/docs/api/functions/buildOrchestratorReminder.html +2 -0
- package/docs/api/functions/buildUseAvoidSection.html +2 -0
- package/docs/api/functions/buildVerificationReminder.html +2 -0
- package/docs/api/functions/canResumeAutopilot.html +10 -0
- package/docs/api/functions/canStartMode.html +5 -0
- package/docs/api/functions/cancelAutopilot.html +3 -0
- package/docs/api/functions/cancelUltraQA.html +2 -0
- package/docs/api/functions/checkBackgroundNotifications.html +2 -0
- package/docs/api/functions/checkBoulderContinuation.html +2 -0
- package/docs/api/functions/checkDuplicateTriggers.html +2 -0
- package/docs/api/functions/checkExpertGate.html +1 -0
- package/docs/api/functions/checkForComments.html +2 -0
- package/docs/api/functions/checkForUpdates.html +2 -0
- package/docs/api/functions/checkIncompleteTodos.html +13 -0
- package/docs/api/functions/checkPersistentModes.html +3 -0
- package/docs/api/functions/cleanupOrphanedState.html +2 -0
- package/docs/api/functions/cleanupStaleAgents.html +2 -0
- package/docs/api/functions/cleanupTransientState.html +2 -0
- package/docs/api/functions/clearAgentUsageState.html +1 -0
- package/docs/api/functions/clearAllModeStates.html +2 -0
- package/docs/api/functions/clearAutopilot.html +2 -0
- package/docs/api/functions/clearAutopilotState.html +2 -0
- package/docs/api/functions/clearBeadsContext.html +2 -0
- package/docs/api/functions/clearBoulderState.html +2 -0
- package/docs/api/functions/clearDetectionState.html +2 -0
- package/docs/api/functions/clearInjectedPaths.html +2 -0
- package/docs/api/functions/clearInjectedRules.html +2 -0
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -0
- package/docs/api/functions/clearModeState.html +10 -0
- package/docs/api/functions/clearProjectMemorySession.html +4 -0
- package/docs/api/functions/clearRalphState.html +2 -0
- package/docs/api/functions/clearRapidFireDebounce.html +2 -0
- package/docs/api/functions/clearSkillSession.html +2 -0
- package/docs/api/functions/clearThinkModeState.html +2 -0
- package/docs/api/functions/clearTrackingState.html +2 -0
- package/docs/api/functions/clearUltraQAState.html +2 -0
- package/docs/api/functions/clearVerificationState.html +3 -0
- package/docs/api/functions/commandExists.html +2 -0
- package/docs/api/functions/compareVersions.html +3 -0
- package/docs/api/functions/completeUltraQA.html +2 -0
- package/docs/api/functions/completeUltrapilot.html +2 -0
- package/docs/api/functions/completeWorker.html +2 -0
- package/docs/api/functions/containsTokenLimitError.html +2 -0
- package/docs/api/functions/createAgentToolRestrictions.html +3 -0
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -0
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -0
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -0
- package/docs/api/functions/createBackgroundTaskManager.html +2 -0
- package/docs/api/functions/createBoulderState.html +2 -0
- package/docs/api/functions/createCommentCheckerHook.html +6 -0
- package/docs/api/functions/createCompactCheckpoint.html +2 -0
- package/docs/api/functions/createContentHash.html +2 -0
- package/docs/api/functions/createContextInjectorHook.html +7 -0
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -0
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -0
- package/docs/api/functions/createEnvContext.html +2 -0
- package/docs/api/functions/createHookOutput.html +4 -0
- package/docs/api/functions/createLearnedSkillsHook.html +6 -0
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -0
- package/docs/api/functions/createModeMarker.html +6 -0
- package/docs/api/functions/createPrd.html +2 -0
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -0
- package/docs/api/functions/createRalphLoopHook.html +2 -0
- package/docs/api/functions/createRecoveryHook.html +7 -0
- package/docs/api/functions/createRulesInjectorHook.html +8 -0
- package/docs/api/functions/createSimplePrd.html +2 -0
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -0
- package/docs/api/functions/createSisyphusSession.html +7 -0
- package/docs/api/functions/createThinkModeHook.html +7 -0
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -0
- package/docs/api/functions/createTodoContinuationHook.html +2 -0
- package/docs/api/functions/createUltraworkStateHook.html +2 -0
- package/docs/api/functions/deactivateUltrawork.html +8 -0
- package/docs/api/functions/decayHotPaths.html +2 -0
- package/docs/api/functions/decomposeTask.html +11 -0
- package/docs/api/functions/deepMerge.html +2 -0
- package/docs/api/functions/detectArchitectApproval.html +2 -0
- package/docs/api/functions/detectArchitectRejection.html +2 -0
- package/docs/api/functions/detectContextLimitError.html +2 -0
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -0
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -0
- package/docs/api/functions/detectEditError.html +2 -0
- package/docs/api/functions/detectEditErrorInOutput.html +2 -0
- package/docs/api/functions/detectEditErrorInText.html +2 -0
- package/docs/api/functions/detectExtractableMoment.html +2 -0
- package/docs/api/functions/detectKeywordsWithType.html +11 -0
- package/docs/api/functions/detectMagicKeywords.html +2 -0
- package/docs/api/functions/detectProjectEnvironment.html +2 -0
- package/docs/api/functions/detectRecoverableError.html +3 -0
- package/docs/api/functions/detectSessionErrorType.html +2 -0
- package/docs/api/functions/detectSlashCommand.html +3 -0
- package/docs/api/functions/detectThinkKeyword.html +2 -0
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -0
- package/docs/api/functions/discoverAllCommands.html +2 -0
- package/docs/api/functions/enablePrdMode.html +2 -0
- package/docs/api/functions/enhancePrompt.html +2 -0
- package/docs/api/functions/ensureAutopilotDir.html +2 -0
- package/docs/api/functions/ensureDirectoryStructure.html +2 -0
- package/docs/api/functions/ensureModeStateDir.html +2 -0
- package/docs/api/functions/ensureSkillsDir.html +2 -0
- package/docs/api/functions/estimateTokens.html +2 -0
- package/docs/api/functions/executeSlashCommand.html +2 -0
- package/docs/api/functions/expandCommand.html +8 -0
- package/docs/api/functions/expandCommandPrompt.html +6 -0
- package/docs/api/functions/expandCommands.html +2 -0
- package/docs/api/functions/exportSessionSummary.html +2 -0
- package/docs/api/functions/exportWisdomToNotepad.html +2 -0
- package/docs/api/functions/extractPromptText.html +11 -0
- package/docs/api/functions/extractSlashPromptText.html +2 -0
- package/docs/api/functions/extractThinkPromptText.html +2 -0
- package/docs/api/functions/failWorker.html +2 -0
- package/docs/api/functions/findCommand.html +2 -0
- package/docs/api/functions/findMatchingSkills.html +2 -0
- package/docs/api/functions/findPlannerPlans.html +3 -0
- package/docs/api/functions/findPrdPath.html +2 -0
- package/docs/api/functions/findPreviousThinkingContent.html +1 -0
- package/docs/api/functions/findProgressPath.html +2 -0
- package/docs/api/functions/findProjectRoot.html +3 -0
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -0
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -0
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -0
- package/docs/api/functions/findRuleFiles.html +4 -0
- package/docs/api/functions/findSkillFiles.html +3 -0
- package/docs/api/functions/formatCancelMessage.html +2 -0
- package/docs/api/functions/formatCompactSummary.html +2 -0
- package/docs/api/functions/formatContextSummary.html +3 -0
- package/docs/api/functions/formatDirectivesForContext.html +2 -0
- package/docs/api/functions/formatFailureSummary.html +2 -0
- package/docs/api/functions/formatFile.html +2 -0
- package/docs/api/functions/formatFileChanges.html +2 -0
- package/docs/api/functions/formatFileList.html +2 -0
- package/docs/api/functions/formatFullContext.html +2 -0
- package/docs/api/functions/formatFullNotepad.html +2 -0
- package/docs/api/functions/formatLearningsForContext.html +2 -0
- package/docs/api/functions/formatNextStoryPrompt.html +2 -0
- package/docs/api/functions/formatNotepadContext.html +2 -0
- package/docs/api/functions/formatPatternsForContext.html +2 -0
- package/docs/api/functions/formatPrd.html +2 -0
- package/docs/api/functions/formatPrdStatus.html +2 -0
- package/docs/api/functions/formatPreCompactSummary.html +2 -0
- package/docs/api/functions/formatProgressForContext.html +2 -0
- package/docs/api/functions/formatProgressMessage.html +2 -0
- package/docs/api/functions/formatStory.html +2 -0
- package/docs/api/functions/formatSummary.html +2 -0
- package/docs/api/functions/formatUpdateNotification.html +2 -0
- package/docs/api/functions/formatValidationResults.html +2 -0
- package/docs/api/functions/generateExtractionPrompt.html +2 -0
- package/docs/api/functions/generateSkillFrontmatter.html +2 -0
- package/docs/api/functions/generateSummary.html +2 -0
- package/docs/api/functions/getActiveAgentCount.html +2 -0
- package/docs/api/functions/getActiveExclusiveMode.html +4 -0
- package/docs/api/functions/getActiveModes.html +2 -0
- package/docs/api/functions/getActivePlanPath.html +2 -0
- package/docs/api/functions/getAgentDefinitions.html +2 -0
- package/docs/api/functions/getAgentsByType.html +2 -0
- package/docs/api/functions/getAllCommands.html +2 -0
- package/docs/api/functions/getAllModeStatuses.html +5 -0
- package/docs/api/functions/getAllSkills.html +2 -0
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -0
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -0
- package/docs/api/functions/getAutoFormatMessage.html +2 -0
- package/docs/api/functions/getAutopilotStateAge.html +3 -0
- package/docs/api/functions/getAvailableAgents.html +2 -0
- package/docs/api/functions/getAxiomDir.html +1 -0
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -0
- package/docs/api/functions/getBeadsContextConfig.html +2 -0
- package/docs/api/functions/getBeadsInstructions.html +2 -0
- package/docs/api/functions/getBoulderFilePath.html +2 -0
- package/docs/api/functions/getCheckpointPath.html +2 -0
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -0
- package/docs/api/functions/getCommand.html +2 -0
- package/docs/api/functions/getCommandsDir.html +2 -0
- package/docs/api/functions/getCompactionQueueDepth.html +3 -0
- package/docs/api/functions/getCompletedWorkers.html +2 -0
- package/docs/api/functions/getDefaultMcpServers.html +1 -0
- package/docs/api/functions/getDefaultModelForCategory.html +2 -0
- package/docs/api/functions/getDetectionStats.html +2 -0
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -0
- package/docs/api/functions/getExecutionPrompt.html +2 -0
- package/docs/api/functions/getExpansionPrompt.html +3 -0
- package/docs/api/functions/getExpertGateMessage.html +1 -0
- package/docs/api/functions/getFailedWorkers.html +2 -0
- package/docs/api/functions/getFormatter.html +2 -0
- package/docs/api/functions/getGitDiffStats.html +2 -0
- package/docs/api/functions/getGlobalStateFilePath.html +4 -0
- package/docs/api/functions/getGoalCommand.html +2 -0
- package/docs/api/functions/getHighVariant.html +3 -0
- package/docs/api/functions/getInstallInfo.html +2 -0
- package/docs/api/functions/getInstalledVersion.html +2 -0
- package/docs/api/functions/getIssuesToFix.html +2 -0
- package/docs/api/functions/getLastDetection.html +2 -0
- package/docs/api/functions/getLearnerConfigValue.html +2 -0
- package/docs/api/functions/getLinter.html +2 -0
- package/docs/api/functions/getManualSection.html +2 -0
- package/docs/api/functions/getMemoryFilePaths.html +1 -0
- package/docs/api/functions/getModeMarkerFilePath.html +2 -0
- package/docs/api/functions/getModeStateFilePath.html +2 -0
- package/docs/api/functions/getNextStory.html +2 -0
- package/docs/api/functions/getNotepadPath.html +2 -0
- package/docs/api/functions/getNotepadStats.html +2 -0
- package/docs/api/functions/getOmcPrdPath.html +2 -0
- package/docs/api/functions/getOmcProgressPath.html +2 -0
- package/docs/api/functions/getOmcSystemPrompt.html +2 -0
- package/docs/api/functions/getOmcToolNames.html +3 -0
- package/docs/api/functions/getPatterns.html +2 -0
- package/docs/api/functions/getPhasePrompt.html +2 -0
- package/docs/api/functions/getPlanName.html +2 -0
- package/docs/api/functions/getPlanPath.html +2 -0
- package/docs/api/functions/getPlanProgress.html +2 -0
- package/docs/api/functions/getPlanSummaries.html +2 -0
- package/docs/api/functions/getPrdCompletionStatus.html +2 -0
- package/docs/api/functions/getPrdPath.html +2 -0
- package/docs/api/functions/getPrdStatus.html +2 -0
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -0
- package/docs/api/functions/getPriorityContext.html +2 -0
- package/docs/api/functions/getProgressContext.html +2 -0
- package/docs/api/functions/getProgressPath.html +2 -0
- package/docs/api/functions/getPromotionCandidates.html +2 -0
- package/docs/api/functions/getQAPrompt.html +2 -0
- package/docs/api/functions/getRalphContext.html +3 -0
- package/docs/api/functions/getReadmesForPath.html +2 -0
- package/docs/api/functions/getRecentLearnings.html +2 -0
- package/docs/api/functions/getRulesForPath.html +2 -0
- package/docs/api/functions/getRunningAgents.html +2 -0
- package/docs/api/functions/getRunningWorkers.html +2 -0
- package/docs/api/functions/getSessionTokenEstimate.html +2 -0
- package/docs/api/functions/getSkillsDir.html +2 -0
- package/docs/api/functions/getSpecPath.html +2 -0
- package/docs/api/functions/getStaleAgents.html +2 -0
- package/docs/api/functions/getStateDir.html +2 -0
- package/docs/api/functions/getStory.html +2 -0
- package/docs/api/functions/getSubagentStateFilePath.html +2 -0
- package/docs/api/functions/getThinkModeState.html +2 -0
- package/docs/api/functions/getThinkingConfig.html +3 -0
- package/docs/api/functions/getTopHotPaths.html +2 -0
- package/docs/api/functions/getTrackingStats.html +2 -0
- package/docs/api/functions/getTransitionPrompt.html +2 -0
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -0
- package/docs/api/functions/getValidationPrompt.html +2 -0
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -0
- package/docs/api/functions/getValidationStats.html +1 -0
- package/docs/api/functions/getValidationStatus.html +2 -0
- package/docs/api/functions/getWorkingMemory.html +2 -0
- package/docs/api/functions/handleBackgroundEvent.html +3 -0
- package/docs/api/functions/handleContextWindowRecovery.html +2 -0
- package/docs/api/functions/handleEditErrorRecovery.html +2 -0
- package/docs/api/functions/handlePermissionRequest.html +2 -0
- package/docs/api/functions/handleRecovery.html +10 -0
- package/docs/api/functions/handleSessionEnd.html +2 -0
- package/docs/api/functions/handleSessionRecovery.html +2 -0
- package/docs/api/functions/handleSharedFiles.html +7 -0
- package/docs/api/functions/handleSubagentStart.html +2 -0
- package/docs/api/functions/handleSubagentStop.html +2 -0
- package/docs/api/functions/hasBoulder.html +2 -0
- package/docs/api/functions/hasContentParts.html +1 -0
- package/docs/api/functions/hasModeState.html +3 -0
- package/docs/api/functions/hasPrd.html +2 -0
- package/docs/api/functions/hasTextContent.html +2 -0
- package/docs/api/functions/hasValidContent.html +3 -0
- package/docs/api/functions/incrementAgentCount.html +2 -0
- package/docs/api/functions/incrementRalphIteration.html +2 -0
- package/docs/api/functions/incrementReinforcement.html +2 -0
- package/docs/api/functions/initAutopilot.html +2 -0
- package/docs/api/functions/initNotepad.html +2 -0
- package/docs/api/functions/initPrd.html +2 -0
- package/docs/api/functions/initProgress.html +2 -0
- package/docs/api/functions/initUltrapilot.html +2 -0
- package/docs/api/functions/injectContextIntoText.html +2 -0
- package/docs/api/functions/injectPendingContext.html +3 -0
- package/docs/api/functions/injectRecoveryTextPart.html +2 -0
- package/docs/api/functions/install.html +2 -0
- package/docs/api/functions/integrateResults.html +5 -0
- package/docs/api/functions/isActiveModeRunning.html +2 -0
- package/docs/api/functions/isAllowedPath.html +2 -0
- package/docs/api/functions/isAlreadyHighVariant.html +2 -0
- package/docs/api/functions/isAutopilotActive.html +2 -0
- package/docs/api/functions/isAxiomEnabled.html +1 -0
- package/docs/api/functions/isClaudeInstalled.html +3 -0
- package/docs/api/functions/isClaudeModel.html +2 -0
- package/docs/api/functions/isCompactionInProgress.html +3 -0
- package/docs/api/functions/isDuplicateByContentHash.html +2 -0
- package/docs/api/functions/isDuplicateByRealPath.html +2 -0
- package/docs/api/functions/isExcludedCommand.html +2 -0
- package/docs/api/functions/isExtendedThinkingModel.html +1 -0
- package/docs/api/functions/isFileOwnedByWorker.html +2 -0
- package/docs/api/functions/isFormatterAvailable.html +2 -0
- package/docs/api/functions/isGptModel.html +2 -0
- package/docs/api/functions/isInstalled.html +2 -0
- package/docs/api/functions/isLearnerEnabled.html +2 -0
- package/docs/api/functions/isModeActive.html +6 -0
- package/docs/api/functions/isNonInteractive.html +1 -0
- package/docs/api/functions/isRecoverableError.html +2 -0
- package/docs/api/functions/isSafeCommand.html +2 -0
- package/docs/api/functions/isSessionRecoverable.html +2 -0
- package/docs/api/functions/isSharedFile.html +2 -0
- package/docs/api/functions/isThinkModeActive.html +2 -0
- package/docs/api/functions/isToolPart.html +2 -0
- package/docs/api/functions/isUltraQAActive.html +1 -0
- package/docs/api/functions/isWriteEditTool.html +2 -0
- package/docs/api/functions/learnFromToolOutput.html +7 -0
- package/docs/api/functions/lintFile.html +2 -0
- package/docs/api/functions/listAvailableCommands.html +2 -0
- package/docs/api/functions/listCommands.html +2 -0
- package/docs/api/functions/listPromotableLearnings.html +2 -0
- package/docs/api/functions/loadAgentPrompt.html +7 -0
- package/docs/api/functions/loadAgentUsageState.html +1 -0
- package/docs/api/functions/loadAllSkills.html +3 -0
- package/docs/api/functions/loadConfig.html +2 -0
- package/docs/api/functions/loadInjectedPaths.html +2 -0
- package/docs/api/functions/loadInjectedRules.html +2 -0
- package/docs/api/functions/loadLearnerConfig.html +2 -0
- package/docs/api/functions/loadProjectMemory.html +3 -0
- package/docs/api/functions/loadSkillById.html +2 -0
- package/docs/api/functions/mapDirectoryStructure.html +2 -0
- package/docs/api/functions/markStoryComplete.html +2 -0
- package/docs/api/functions/markStoryIncomplete.html +2 -0
- package/docs/api/functions/mergeAgentConfig.html +2 -0
- package/docs/api/functions/parseAxiomState.html +1 -0
- package/docs/api/functions/parseContextLimitError.html +2 -0
- package/docs/api/functions/parseProgress.html +2 -0
- package/docs/api/functions/parseRuleFrontmatter.html +10 -0
- package/docs/api/functions/parseSkillFile.html +2 -0
- package/docs/api/functions/parseSlashCommand.html +2 -0
- package/docs/api/functions/parseTokenLimitError.html +2 -0
- package/docs/api/functions/performUpdate.html +2 -0
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -0
- package/docs/api/functions/prependThinkingBlock.html +1 -0
- package/docs/api/functions/processAxiomBoot.html +1 -0
- package/docs/api/functions/processAxiomGuards.html +1 -0
- package/docs/api/functions/processBackgroundNotification.html +2 -0
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -0
- package/docs/api/functions/processEditOutput.html +2 -0
- package/docs/api/functions/processHook.html +3 -0
- package/docs/api/functions/processMessageForSkills.html +2 -0
- package/docs/api/functions/processOrchestratorPostTool.html +3 -0
- package/docs/api/functions/processOrchestratorPreTool.html +3 -0
- package/docs/api/functions/processPermissionRequest.html +2 -0
- package/docs/api/functions/processPreCompact.html +6 -0
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -0
- package/docs/api/functions/processResponseForDetection.html +3 -0
- package/docs/api/functions/processSessionEnd.html +2 -0
- package/docs/api/functions/processSetup.html +2 -0
- package/docs/api/functions/processSetupInit.html +2 -0
- package/docs/api/functions/processSetupMaintenance.html +2 -0
- package/docs/api/functions/processSlashCommand.html +2 -0
- package/docs/api/functions/processSubagentStart.html +2 -0
- package/docs/api/functions/processSubagentStop.html +2 -0
- package/docs/api/functions/processThinkMode.html +3 -0
- package/docs/api/functions/promoteLearning.html +2 -0
- package/docs/api/functions/pruneOldEntries.html +2 -0
- package/docs/api/functions/pruneOldStateFiles.html +2 -0
- package/docs/api/functions/readActiveContext.html +1 -0
- package/docs/api/functions/readAutopilotState.html +2 -0
- package/docs/api/functions/readBoulderState.html +2 -0
- package/docs/api/functions/readModeMarker.html +4 -0
- package/docs/api/functions/readNotepad.html +2 -0
- package/docs/api/functions/readPrd.html +2 -0
- package/docs/api/functions/readProgress.html +2 -0
- package/docs/api/functions/readProgressRaw.html +2 -0
- package/docs/api/functions/readProjectDecisions.html +1 -0
- package/docs/api/functions/readRalphState.html +2 -0
- package/docs/api/functions/readRecoveryMessages.html +2 -0
- package/docs/api/functions/readRecoveryParts.html +2 -0
- package/docs/api/functions/readTrackingState.html +3 -0
- package/docs/api/functions/readUltraQAState.html +2 -0
- package/docs/api/functions/readUltrapilotState.html +2 -0
- package/docs/api/functions/readUltraworkState.html +4 -0
- package/docs/api/functions/readUserPreferences.html +1 -0
- package/docs/api/functions/readVerificationState.html +3 -0
- package/docs/api/functions/recordArchitectFeedback.html +2 -0
- package/docs/api/functions/recordConflict.html +2 -0
- package/docs/api/functions/recordFailure.html +2 -0
- package/docs/api/functions/recordHookFire.html +2 -0
- package/docs/api/functions/recordHookResult.html +2 -0
- package/docs/api/functions/recordKeywordDetected.html +2 -0
- package/docs/api/functions/recordModeChange.html +2 -0
- package/docs/api/functions/recordPattern.html +2 -0
- package/docs/api/functions/recordSessionMetrics.html +2 -0
- package/docs/api/functions/recordSkillActivated.html +2 -0
- package/docs/api/functions/recordSkillInvoked.html +2 -0
- package/docs/api/functions/recordStoryProgress.html +2 -0
- package/docs/api/functions/recordValidationVerdict.html +2 -0
- package/docs/api/functions/registerBeadsContext.html +3 -0
- package/docs/api/functions/registerProjectMemoryContext.html +6 -0
- package/docs/api/functions/removeCodeBlocks.html +12 -0
- package/docs/api/functions/removeModeMarker.html +5 -0
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -0
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -0
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -0
- package/docs/api/functions/rescanProjectEnvironment.html +4 -0
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -0
- package/docs/api/functions/resumeAutopilot.html +2 -0
- package/docs/api/functions/runPreCommitChecks.html +2 -0
- package/docs/api/functions/runTests.html +2 -0
- package/docs/api/functions/runTypeCheck.html +2 -0
- package/docs/api/functions/sanitizeMessage.html +2 -0
- package/docs/api/functions/sanitizeMessages.html +2 -0
- package/docs/api/functions/saveAgentUsageState.html +1 -0
- package/docs/api/functions/saveInjectedPaths.html +2 -0
- package/docs/api/functions/saveInjectedRules.html +2 -0
- package/docs/api/functions/saveLearnerConfig.html +2 -0
- package/docs/api/functions/saveModeSummary.html +2 -0
- package/docs/api/functions/saveProjectMemory.html +3 -0
- package/docs/api/functions/saveVersionMetadata.html +2 -0
- package/docs/api/functions/setCurrentStory.html +2 -0
- package/docs/api/functions/setEnvironmentVariables.html +2 -0
- package/docs/api/functions/setLearnerConfigValue.html +2 -0
- package/docs/api/functions/setPriorityContext.html +2 -0
- package/docs/api/functions/shouldActivateThinkMode.html +3 -0
- package/docs/api/functions/shouldActivateUltrathink.html +2 -0
- package/docs/api/functions/shouldApplyRule.html +2 -0
- package/docs/api/functions/shouldCheckForUpdates.html +2 -0
- package/docs/api/functions/shouldCompleteByPrd.html +2 -0
- package/docs/api/functions/shouldPromptExtraction.html +2 -0
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -0
- package/docs/api/functions/shouldRetryValidation.html +2 -0
- package/docs/api/functions/shouldRunInBackground.html +8 -0
- package/docs/api/functions/spawnWorkers.html +7 -0
- package/docs/api/functions/startUltraQA.html +3 -0
- package/docs/api/functions/startUltrapilot.html +7 -0
- package/docs/api/functions/startValidationRound.html +2 -0
- package/docs/api/functions/startVerification.html +2 -0
- package/docs/api/functions/startsWithThinkingBlock.html +1 -0
- package/docs/api/functions/stopUltraQA.html +2 -0
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -0
- package/docs/api/functions/toSdkMcpFormat.html +2 -0
- package/docs/api/functions/trackAccess.html +2 -0
- package/docs/api/functions/trackProgress.html +5 -0
- package/docs/api/functions/transitionPhase.html +2 -0
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -0
- package/docs/api/functions/transitionToComplete.html +2 -0
- package/docs/api/functions/transitionToFailed.html +2 -0
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -0
- package/docs/api/functions/updateDirectoryAccess.html +2 -0
- package/docs/api/functions/updateExecution.html +2 -0
- package/docs/api/functions/updateExpansion.html +2 -0
- package/docs/api/functions/updatePlanning.html +2 -0
- package/docs/api/functions/updateQA.html +2 -0
- package/docs/api/functions/updateValidation.html +2 -0
- package/docs/api/functions/updateWorkerState.html +2 -0
- package/docs/api/functions/validateAgentConfig.html +2 -0
- package/docs/api/functions/validateCommitMessage.html +2 -0
- package/docs/api/functions/validateConfigFiles.html +2 -0
- package/docs/api/functions/validateExtractionRequest.html +2 -0
- package/docs/api/functions/validateMessage.html +1 -0
- package/docs/api/functions/validateMessages.html +1 -0
- package/docs/api/functions/validateSkillMetadata.html +2 -0
- package/docs/api/functions/writeAutopilotState.html +2 -0
- package/docs/api/functions/writeBoulderState.html +2 -0
- package/docs/api/functions/writePrd.html +2 -0
- package/docs/api/functions/writeRalphState.html +2 -0
- package/docs/api/functions/writeSkill.html +2 -0
- package/docs/api/functions/writeTrackingState.html +5 -0
- package/docs/api/functions/writeUltraQAState.html +2 -0
- package/docs/api/functions/writeUltrapilotState.html +2 -0
- package/docs/api/functions/writeUltraworkState.html +2 -0
- package/docs/api/functions/writeVerificationState.html +2 -0
- package/docs/api/hierarchy.html +1 -0
- package/docs/api/index.html +843 -0
- package/docs/api/interfaces/AgentConfig.html +18 -0
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -0
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -0
- package/docs/api/interfaces/AgentState.html +5 -0
- package/docs/api/interfaces/AgentUsageState.html +8 -0
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -0
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -0
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -0
- package/docs/api/interfaces/AutopilotConfig.html +26 -0
- package/docs/api/interfaces/AutopilotExecution.html +16 -0
- package/docs/api/interfaces/AutopilotExpansion.html +12 -0
- package/docs/api/interfaces/AutopilotPlanning.html +8 -0
- package/docs/api/interfaces/AutopilotQA.html +12 -0
- package/docs/api/interfaces/AutopilotResult.html +10 -0
- package/docs/api/interfaces/AutopilotState.html +36 -0
- package/docs/api/interfaces/AutopilotSummary.html +16 -0
- package/docs/api/interfaces/AutopilotValidation.html +10 -0
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -0
- package/docs/api/interfaces/AvailableAgent.html +5 -0
- package/docs/api/interfaces/AxiomBootInput.html +3 -0
- package/docs/api/interfaces/AxiomBootOutput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -0
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -0
- package/docs/api/interfaces/AxiomState.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -0
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -0
- package/docs/api/interfaces/BackgroundTask.html +7 -0
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -0
- package/docs/api/interfaces/BeadsContextConfig.html +4 -0
- package/docs/api/interfaces/BoulderState.html +12 -0
- package/docs/api/interfaces/BuildInfo.html +6 -0
- package/docs/api/interfaces/CanStartResult.html +4 -0
- package/docs/api/interfaces/CancelResult.html +4 -0
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -0
- package/docs/api/interfaces/CodeConventions.html +5 -0
- package/docs/api/interfaces/CodebasePattern.html +5 -0
- package/docs/api/interfaces/CommandInfo.html +5 -0
- package/docs/api/interfaces/CommandMetadata.html +7 -0
- package/docs/api/interfaces/CommentCheckResult.html +10 -0
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -0
- package/docs/api/interfaces/CommentInfo.html +14 -0
- package/docs/api/interfaces/CommentPendingCall.html +18 -0
- package/docs/api/interfaces/CommitConfig.html +9 -0
- package/docs/api/interfaces/CompactCheckpoint.html +7 -0
- package/docs/api/interfaces/ContextEntry.html +14 -0
- package/docs/api/interfaces/ContextUsageResult.html +12 -0
- package/docs/api/interfaces/CustomNote.html +5 -0
- package/docs/api/interfaces/DelegationDecision.html +7 -0
- package/docs/api/interfaces/DelegationRoute.html +7 -0
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -0
- package/docs/api/interfaces/DelegationTrigger.html +6 -0
- package/docs/api/interfaces/DetectedKeyword.html +13 -0
- package/docs/api/interfaces/DetectionConfig.html +8 -0
- package/docs/api/interfaces/DetectionResult.html +13 -0
- package/docs/api/interfaces/DirectoryInfo.html +7 -0
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -0
- package/docs/api/interfaces/ExecuteResult.html +5 -0
- package/docs/api/interfaces/ExpandedCommand.html +4 -0
- package/docs/api/interfaces/ExternalModelPreference.html +4 -0
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -0
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -0
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -0
- package/docs/api/interfaces/FileOwnership.html +8 -0
- package/docs/api/interfaces/FormatConfig.html +7 -0
- package/docs/api/interfaces/FrameworkDetection.html +4 -0
- package/docs/api/interfaces/FullAgentConfig.html +26 -0
- package/docs/api/interfaces/GateCheckResult.html +5 -0
- package/docs/api/interfaces/GitBranchPattern.html +3 -0
- package/docs/api/interfaces/HookContext.html +5 -0
- package/docs/api/interfaces/HookDefinition.html +5 -0
- package/docs/api/interfaces/HookInput.html +18 -0
- package/docs/api/interfaces/HookOutput.html +10 -0
- package/docs/api/interfaces/HookResult.html +4 -0
- package/docs/api/interfaces/HotPath.html +6 -0
- package/docs/api/interfaces/InjectedPathsData.html +9 -0
- package/docs/api/interfaces/InjectedRulesData.html +10 -0
- package/docs/api/interfaces/InjectedSkillsData.html +8 -0
- package/docs/api/interfaces/InjectionResult.html +8 -0
- package/docs/api/interfaces/InstallOptions.html +9 -0
- package/docs/api/interfaces/InstallResult.html +10 -0
- package/docs/api/interfaces/IntegrationResult.html +14 -0
- package/docs/api/interfaces/LanguageDetection.html +5 -0
- package/docs/api/interfaces/LearnedSkill.html +16 -0
- package/docs/api/interfaces/LearnerConfig.html +18 -0
- package/docs/api/interfaces/LintConfig.html +7 -0
- package/docs/api/interfaces/MagicKeyword.html +4 -0
- package/docs/api/interfaces/MatchResult.html +6 -0
- package/docs/api/interfaces/MessageContext.html +8 -0
- package/docs/api/interfaces/MessageInfo.html +9 -0
- package/docs/api/interfaces/MessagePart.html +15 -0
- package/docs/api/interfaces/MessageWithModel.html +3 -0
- package/docs/api/interfaces/MessageWithParts.html +6 -0
- package/docs/api/interfaces/MessagesTransformHook.html +3 -0
- package/docs/api/interfaces/MessagesTransformInput.html +3 -0
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -0
- package/docs/api/interfaces/ModeConfig.html +13 -0
- package/docs/api/interfaces/ModeStatus.html +4 -0
- package/docs/api/interfaces/ModelRef.html +4 -0
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -0
- package/docs/api/interfaces/NotepadConfig.html +7 -0
- package/docs/api/interfaces/NotepadStats.html +11 -0
- package/docs/api/interfaces/NotificationCheckResult.html +8 -0
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -0
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -0
- package/docs/api/interfaces/OutputPart.html +4 -0
- package/docs/api/interfaces/PRD.html +9 -0
- package/docs/api/interfaces/PRDStatus.html +13 -0
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -0
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -0
- package/docs/api/interfaces/PendingContext.html +8 -0
- package/docs/api/interfaces/PermissionHookOutput.html +4 -0
- package/docs/api/interfaces/PermissionRequestInput.html +9 -0
- package/docs/api/interfaces/PersistentModeResult.html +9 -0
- package/docs/api/interfaces/PlanProgress.html +8 -0
- package/docs/api/interfaces/PlanSummary.html +10 -0
- package/docs/api/interfaces/PluginConfig.html +17 -0
- package/docs/api/interfaces/PreCommitResult.html +3 -0
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -0
- package/docs/api/interfaces/PreCompactInput.html +8 -0
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -0
- package/docs/api/interfaces/PriorityContextResult.html +5 -0
- package/docs/api/interfaces/ProgressEntry.html +11 -0
- package/docs/api/interfaces/ProgressLog.html +7 -0
- package/docs/api/interfaces/ProjectMemory.html +14 -0
- package/docs/api/interfaces/ProjectStructure.html +5 -0
- package/docs/api/interfaces/PromotionCandidate.html +9 -0
- package/docs/api/interfaces/PruneResult.html +5 -0
- package/docs/api/interfaces/QualityValidation.html +10 -0
- package/docs/api/interfaces/RalphLoopHook.html +4 -0
- package/docs/api/interfaces/RalphLoopOptions.html +5 -0
- package/docs/api/interfaces/RalphLoopState.html +21 -0
- package/docs/api/interfaces/RecoveryConfig.html +16 -0
- package/docs/api/interfaces/RecoveryMessageData.html +4 -0
- package/docs/api/interfaces/RecoveryResult.html +10 -0
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -0
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -0
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -0
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -0
- package/docs/api/interfaces/RegisterContextOptions.html +12 -0
- package/docs/api/interfaces/ReleaseInfo.html +9 -0
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -0
- package/docs/api/interfaces/ResolveOptions.html +6 -0
- package/docs/api/interfaces/ResolvedModel.html +5 -0
- package/docs/api/interfaces/RetryState.html +6 -0
- package/docs/api/interfaces/RuleFileCandidate.html +12 -0
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -0
- package/docs/api/interfaces/RuleInfo.html +18 -0
- package/docs/api/interfaces/RuleMetadata.html +9 -0
- package/docs/api/interfaces/RuleToInject.html +10 -0
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -0
- package/docs/api/interfaces/SessionEndInput.html +9 -0
- package/docs/api/interfaces/SessionMetrics.html +9 -0
- package/docs/api/interfaces/SessionState.html +5 -0
- package/docs/api/interfaces/SetupHookOutput.html +3 -0
- package/docs/api/interfaces/SetupInput.html +7 -0
- package/docs/api/interfaces/SetupResult.html +5 -0
- package/docs/api/interfaces/ShellHook.html +4 -0
- package/docs/api/interfaces/SisyphusOptions.html +14 -0
- package/docs/api/interfaces/SisyphusSession.html +16 -0
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -0
- package/docs/api/interfaces/SkillFileCandidate.html +10 -0
- package/docs/api/interfaces/SkillHookContext.html +5 -0
- package/docs/api/interfaces/SkillMetadata.html +22 -0
- package/docs/api/interfaces/SkillParseResult.html +5 -0
- package/docs/api/interfaces/SubagentHookOutput.html +3 -0
- package/docs/api/interfaces/SubagentInfo.html +14 -0
- package/docs/api/interfaces/SubagentStartInput.html +10 -0
- package/docs/api/interfaces/SubagentStopInput.html +11 -0
- package/docs/api/interfaces/SubagentTrackingState.html +6 -0
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -0
- package/docs/api/interfaces/TechStack.html +5 -0
- package/docs/api/interfaces/ThinkModeInput.html +4 -0
- package/docs/api/interfaces/ThinkModeState.html +12 -0
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -0
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -0
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -0
- package/docs/api/interfaces/TodoContinuationHook.html +2 -0
- package/docs/api/interfaces/TransitionResult.html +4 -0
- package/docs/api/interfaces/TruncateState.html +6 -0
- package/docs/api/interfaces/UltraQAOptions.html +5 -0
- package/docs/api/interfaces/UltraQAResult.html +9 -0
- package/docs/api/interfaces/UltraQAState.html +19 -0
- package/docs/api/interfaces/UltrapilotConfig.html +14 -0
- package/docs/api/interfaces/UltrapilotState.html +26 -0
- package/docs/api/interfaces/UltraworkState.html +17 -0
- package/docs/api/interfaces/UpdateCheckResult.html +7 -0
- package/docs/api/interfaces/UpdateResult.html +7 -0
- package/docs/api/interfaces/UserDirective.html +7 -0
- package/docs/api/interfaces/UserStory.html +15 -0
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -0
- package/docs/api/interfaces/ValidationResult.html +10 -0
- package/docs/api/interfaces/VerificationState.html +17 -0
- package/docs/api/interfaces/VersionMetadata.html +12 -0
- package/docs/api/interfaces/WorkerState.html +24 -0
- package/docs/api/interfaces/WriteSkillResult.html +6 -0
- package/docs/api/media/EVOLUTION.md +605 -0
- package/docs/api/media/INSTALL.md +542 -0
- package/docs/api/media/MIGRATION.md +1158 -0
- package/docs/api/media/NEXUS.md +562 -0
- package/docs/api/media/REFERENCE.md +1222 -0
- package/docs/api/media/mcp-server-usage.md +240 -0
- package/docs/api/modules.html +1 -0
- package/docs/api/types/AgentCategory.html +2 -0
- package/docs/api/types/AgentCost.html +3 -0
- package/docs/api/types/AgentFactory.html +2 -0
- package/docs/api/types/AgentOverrides.html +2 -0
- package/docs/api/types/AutopilotPhase.html +2 -0
- package/docs/api/types/AutopilotSignal.html +2 -0
- package/docs/api/types/CommandScope.html +2 -0
- package/docs/api/types/ContextPriority.html +3 -0
- package/docs/api/types/ContextSourceType.html +3 -0
- package/docs/api/types/DelegationProvider.html +2 -0
- package/docs/api/types/DelegationTool.html +2 -0
- package/docs/api/types/ExecutionMode.html +3 -0
- package/docs/api/types/ExternalModelProvider.html +2 -0
- package/docs/api/types/GateType.html +3 -0
- package/docs/api/types/InjectionStrategy.html +2 -0
- package/docs/api/types/KeywordType.html +10 -0
- package/docs/api/types/ModelType.html +2 -0
- package/docs/api/types/QAStatus.html +2 -0
- package/docs/api/types/RecoveryErrorType.html +2 -0
- package/docs/api/types/RecoveryStoredPart.html +2 -0
- package/docs/api/types/TaskTool.html +1 -0
- package/docs/api/types/ThinkingConfig.html +2 -0
- package/docs/api/types/UltraQAGoalType.html +1 -0
- package/docs/api/types/UserStoryInput.html +2 -0
- package/docs/api/types/ValidationVerdict.html +2 -0
- package/docs/api/types/ValidationVerdictType.html +2 -0
- package/docs/api/variables/AGENTS_DIR.html +1 -0
- package/docs/api/variables/AGENTS_FILENAME.html +2 -0
- package/docs/api/variables/AGENT_TOOLS.html +2 -0
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -0
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -0
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -0
- package/docs/api/variables/BDD_KEYWORDS.html +2 -0
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -0
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -0
- package/docs/api/variables/BOULDER_DIR.html +2 -0
- package/docs/api/variables/BOULDER_FILE.html +2 -0
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -0
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -0
- package/docs/api/variables/CI_COMMANDS.html +2 -0
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -0
- package/docs/api/variables/COMMANDS_DIR.html +1 -0
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -0
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -0
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -0
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -0
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -0
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -0
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -0
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -0
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -0
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -0
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -0
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -0
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -0
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/GITHUB_API_URL.html +1 -0
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/INSTALLER_VERSION.html +2 -0
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -0
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -0
- package/docs/api/variables/MANUAL_HEADER.html +1 -0
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -0
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -0
- package/docs/api/variables/MAX_WARNINGS.html +2 -0
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -0
- package/docs/api/variables/MODE_CONFIGS.html +4 -0
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -0
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -0
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -0
- package/docs/api/variables/NOTEPAD_DIR.html +2 -0
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -0
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -0
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -0
- package/docs/api/variables/PATTERNS_HEADER.html +1 -0
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -0
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -0
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/PLAN_EXTENSION.html +2 -0
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -0
- package/docs/api/variables/PRD_FILENAME.html +1 -0
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -0
- package/docs/api/variables/PREVENTED_ERROR.html +2 -0
- package/docs/api/variables/PRIORITY_HEADER.html +1 -0
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -0
- package/docs/api/variables/PROJECT_MARKERS.html +2 -0
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -0
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -0
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -0
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -0
- package/docs/api/variables/README_FILENAME.html +2 -0
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -0
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -0
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -0
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -0
- package/docs/api/variables/REPO_NAME.html +1 -0
- package/docs/api/variables/REPO_OWNER.html +2 -0
- package/docs/api/variables/RETRY_CONFIG.html +6 -0
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -0
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -0
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -0
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/SKILL_EXTENSION.html +2 -0
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -0
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -0
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -0
- package/docs/api/variables/TARGET_TOOLS.html +2 -0
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -0
- package/docs/api/variables/THINKING_CONFIGS.html +2 -0
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -0
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -0
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -0
- package/docs/api/variables/TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -0
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -0
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -0
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/USER_RULE_DIR.html +2 -0
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -0
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -0
- package/docs/api/variables/VERSION_FILE.html +1 -0
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -0
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -0
- package/docs/api/variables/allCustomTools.html +3 -0
- package/docs/api/variables/analystAgent.html +1 -0
- package/docs/api/variables/architectAgent.html +1 -0
- package/docs/api/variables/astTools.html +2 -0
- package/docs/api/variables/contextCollector.html +2 -0
- package/docs/api/variables/criticAgent.html +1 -0
- package/docs/api/variables/designerAgent.html +1 -0
- package/docs/api/variables/executorAgent.html +1 -0
- package/docs/api/variables/exploreAgent.html +1 -0
- package/docs/api/variables/lspTools.html +2 -0
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -0
- package/docs/api/variables/omcSystemPrompt.html +2 -0
- package/docs/api/variables/omcToolNames.html +3 -0
- package/docs/api/variables/omcToolsServer.html +4 -0
- package/docs/api/variables/plannerAgent.html +1 -0
- package/docs/api/variables/researcherAgent.html +1 -0
- package/docs/api/variables/visionAgent.html +1 -0
- package/docs/api/variables/writerAgent.html +1 -0
- package/docs/features/.gitkeep +0 -0
- package/docs/getting-started/.gitkeep +0 -0
- package/docs/getting-started/concepts.md +103 -0
- package/docs/getting-started/installation.md +100 -0
- package/docs/getting-started/quickstart.md +96 -0
- package/docs/guides/.gitkeep +0 -0
- package/docs/guides/mcp-server-usage.md +240 -0
- package/docs/guides/task-templates-guide.md +153 -0
- package/docs/guides/tool-name-migration.md +97 -0
- package/docs/guides/troubleshooting-guide.md +110 -0
- package/docs/guides/v5.5.13-new-features.md +234 -0
- package/docs/guides/wizard-user-guide.md +85 -0
- package/docs/guides/workflow-recommendation-guide.md +97 -0
- package/docs/mcp/README.md +82 -0
- package/docs/mcp/client-guide.md +337 -0
- package/docs/mcp/configuration.md +292 -0
- package/docs/mcp/overview.md +204 -0
- package/docs/mcp/performance.md +300 -0
- package/docs/mcp/server-guide.md +300 -0
- package/docs/mcp-compatibility-matrix.md +52 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +187 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update.md +1395 -0
- package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1436 -0
- package/docs/plans/2026-03-05-mcp-adoption-plan.md +531 -0
- package/docs/prd/documentation-system-draft.md +227 -0
- package/docs/prd/documentation-system-rough.md +515 -0
- package/docs/prd/memory-evolution-optimize-rough.md +508 -0
- package/docs/prd/user_guide-rough.md +636 -0
- package/docs/reviews/documentation-system/review_critic.md +312 -0
- package/docs/reviews/documentation-system/review_domain.md +390 -0
- package/docs/reviews/documentation-system/review_product.md +151 -0
- package/docs/reviews/documentation-system/review_tech.md +236 -0
- package/docs/reviews/documentation-system/review_ux.md +213 -0
- package/docs/reviews/documentation-system/summary.md +149 -0
- package/docs/reviews/draft-prd-agent-observability/review_critic.md +71 -0
- package/docs/reviews/draft-prd-agent-observability/review_domain.md +100 -0
- package/docs/reviews/draft-prd-agent-observability/review_product.md +78 -0
- package/docs/reviews/draft-prd-agent-observability/review_tech.md +66 -0
- package/docs/reviews/draft-prd-agent-observability/review_ux.md +70 -0
- package/docs/reviews/draft-prd-agent-observability/rough_prd.md +135 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +302 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +237 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +140 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +240 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -0
- package/docs/reviews/draft-prd-three-directions/review_product.md +103 -0
- package/docs/reviews/draft-prd-three-directions/review_tech.md +135 -0
- package/docs/reviews/draft-prd-three-directions/review_ux.md +88 -0
- package/docs/reviews/memory-evolution-optimize/summary.md +94 -0
- package/docs/reviews/ultrapower-security/review_critic.md +450 -0
- package/docs/reviews/ultrapower-tech-review/review_tech.md +180 -0
- package/docs/reviews/user_guide/summary.md +129 -0
- package/docs/standards/AGENTS.md +1 -1
- package/docs/standards/README.md +3 -3
- package/docs/standards/agent-lifecycle.md +80 -1
- package/docs/standards/anti-patterns.md +1 -1
- package/docs/standards/audit-report.md +2 -2
- package/docs/standards/contribution-guide.md +67 -41
- package/docs/standards/hook-execution-order.md +1 -1
- package/docs/standards/runtime-protection.md +42 -1
- package/docs/standards/state-machine.md +1 -1
- package/docs/standards/user-guide.md +54 -1
- package/docs/tasks/documentation-system/implementation-plan.md +292 -0
- package/docs/tasks/documentation-system/manifest.md +425 -0
- package/docs/tasks/memory-evolution-optimize/manifest.md +475 -0
- package/docs/tasks/user_guide/manifest.md +333 -0
- package/docs/troubleshooting/agent-timeouts.md +37 -0
- package/docs/troubleshooting/common-errors.md +37 -0
- package/docs/troubleshooting/hook-failures.md +29 -0
- package/docs/troubleshooting/performance-issues.md +41 -0
- package/docs/troubleshooting/state-corruption.md +36 -0
- package/docs/troubleshooting/tool-name-length-error.md +57 -0
- package/docs/troubleshooting.md +621 -0
- package/package.json +4 -2
- package/scripts/analyze-dependencies.ts +47 -0
- package/scripts/analyze-hook-coverage.ts +55 -0
- package/scripts/bump-version.mjs +14 -10
- package/scripts/measure-memory.mjs +11 -0
- package/scripts/memory-stress-test.mjs +39 -0
- package/scripts/migrate-tool-names.js +100 -0
- package/scripts/parallel-build.mjs +15 -0
- package/scripts/performance-regression.ts +28 -0
- package/scripts/plugin-setup.mjs +117 -1
- package/scripts/profiling.ts +95 -0
- package/scripts/release-steps.mjs +10 -4
- package/scripts/run-profiling.ts +64 -0
- package/scripts/test-parallel-execution.ts +72 -0
- package/scripts/test-race-detection.ts +57 -0
- package/scripts/test-tiered-writer.ts +60 -0
- package/scripts/test-wal-integration.ts +29 -0
- package/scripts/test-wal.ts +48 -0
- package/scripts/verify-all.sh +122 -0
- package/scripts/verify-install.sh +89 -0
- package/skills/AGENTS.md +98 -28
- package/skills/ax-evolve/SKILL.md +11 -1
- package/skills/ax-export/SKILL.md +7 -8
- package/skills/ax-knowledge/AGENTS.md +27 -2
- package/skills/ax-knowledge/SKILL.md +39 -7
- package/skills/ax-reflect/SKILL.md +2 -0
- package/skills/ax-status/SKILL.md +34 -1
- package/skills/executing-plans/SKILL.md +4 -4
- package/skills/next-step-router/SKILL.md +17 -0
- package/skills/release/SKILL.md +42 -0
- package/skills/requesting-code-review/SKILL.md +3 -3
- package/skills/subagent-driven-development/SKILL.md +8 -8
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/systematic-debugging/SKILL.md +3 -3
- package/skills/trace/SKILL.md +41 -0
- package/skills/wizard/SKILL.md +103 -72
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +4 -4
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
- package/templates/tasks/README.md +45 -0
- package/templates/tasks/bug-fix.md +37 -0
- package/templates/tasks/code-review.md +36 -0
- package/templates/tasks/feature-development.md +43 -0
- package/templates/tasks/refactoring.md +37 -0
- package/templates/tasks/security-audit.md +37 -0
- package/docs/prd/ultrapower-standards-draft.md +0 -191
- package/docs/prd/ultrapower-standards-rough.md +0 -560
- package/docs/reviews/draft-prd-ultrapower-pain-fix/review_tech.md +0 -219
- package/docs/reviews/draft_prd_pain_points/review_domain.md +0 -215
- package/docs/reviews/ultrapower-full-bugfix-plan/review_product.md +0 -135
|
@@ -0,0 +1,1395 @@
|
|
|
1
|
+
# Comprehensive Documentation Update Implementation Plan
|
|
2
|
+
|
|
3
|
+
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
|
|
4
|
+
|
|
5
|
+
**Goal:** Fully update all ultrapower documentation to reflect v5.5.5 — rewrite three main docs, fill CHANGELOG gaps, fix version drift in standards/, and remove stale files.
|
|
6
|
+
|
|
7
|
+
**Architecture:** Parallel execution — Tasks 2/3/4/5/6/7 are fully independent and can be dispatched in parallel; Tasks 8/9/10 are serial cleanup steps that run after all parallel tasks complete.
|
|
8
|
+
|
|
9
|
+
**Tech Stack:** Markdown, Node.js 20+, git, gh CLI, npm
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Pre-flight: Key Numbers (v5.5.5)
|
|
14
|
+
|
|
15
|
+
- **Agents:** 49 (50 .md files, 1 is templates/base-agent.md)
|
|
16
|
+
- **Skills:** 71 (72 directories, 1 is superpowers/ parent)
|
|
17
|
+
- **Hooks:** 35 (36 index.ts files counting index of index)
|
|
18
|
+
- **Custom Tools:** 35 (8 categories: LSP×12, AST×2, Python×1, Notepad×6, State×5, ProjectMemory×4, Trace×2, Skills×3)
|
|
19
|
+
- **Version:** 5.5.5
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Task 1: Create feature branch
|
|
24
|
+
|
|
25
|
+
**Files:**
|
|
26
|
+
- No file changes
|
|
27
|
+
|
|
28
|
+
**Step 1: Create branch from dev**
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git checkout dev
|
|
32
|
+
git pull origin dev
|
|
33
|
+
git checkout -b docs/v5.5.5-comprehensive-update
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Expected: switched to new branch `docs/v5.5.5-comprehensive-update`
|
|
37
|
+
|
|
38
|
+
**Step 2: Verify clean state**
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
git status
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Expected: nothing to commit
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Task 2: Rewrite docs/REFERENCE.md
|
|
49
|
+
|
|
50
|
+
**Files:**
|
|
51
|
+
- Modify: `docs/REFERENCE.md` (full rewrite)
|
|
52
|
+
- Read first: `src/agents/definitions.ts`, `agents/*.md`, `skills/*/SKILL.md`, `src/tools/index.ts`, `src/mcp/omc-tools-server.ts`
|
|
53
|
+
|
|
54
|
+
**Step 1: Read current file and key sources**
|
|
55
|
+
|
|
56
|
+
Read `docs/REFERENCE.md` (current), `src/agents/definitions.ts`, `AGENTS.md` (root), `src/tools/index.ts`.
|
|
57
|
+
|
|
58
|
+
**Step 2: Rewrite REFERENCE.md**
|
|
59
|
+
|
|
60
|
+
Write the full file following this structure. All counts must match actual code:
|
|
61
|
+
|
|
62
|
+
```markdown
|
|
63
|
+
<!-- version: 5.5.5, updated: 2026-03-02 -->
|
|
64
|
+
# ultrapower Reference Manual — v5.5.5
|
|
65
|
+
|
|
66
|
+
## Table of Contents
|
|
67
|
+
1. [Installation](#installation)
|
|
68
|
+
2. [Configuration](#configuration)
|
|
69
|
+
3. [Execution Modes](#execution-modes)
|
|
70
|
+
4. [Agents (49)](#agents)
|
|
71
|
+
5. [Skills (71)](#skills)
|
|
72
|
+
6. [Custom Tools (35)](#custom-tools)
|
|
73
|
+
7. [Hooks System (35)](#hooks-system)
|
|
74
|
+
8. [MCP Integration](#mcp-integration)
|
|
75
|
+
9. [Security Rules](#security-rules)
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Installation
|
|
80
|
+
|
|
81
|
+
### As Claude Code Plugin (recommended)
|
|
82
|
+
Add to `.mcp.json`:
|
|
83
|
+
\`\`\`json
|
|
84
|
+
{
|
|
85
|
+
"mcpServers": {
|
|
86
|
+
"ultrapower": {
|
|
87
|
+
"type": "stdio",
|
|
88
|
+
"command": "npx",
|
|
89
|
+
"args": ["-y", "@liangjie559567/ultrapower"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
\`\`\`
|
|
94
|
+
|
|
95
|
+
### Global npm install
|
|
96
|
+
\`\`\`bash
|
|
97
|
+
npm install -g @liangjie559567/ultrapower
|
|
98
|
+
ultrapower install
|
|
99
|
+
\`\`\`
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Configuration
|
|
104
|
+
|
|
105
|
+
Config file: `~/.claude/.omc-config.json`
|
|
106
|
+
|
|
107
|
+
\`\`\`json
|
|
108
|
+
{
|
|
109
|
+
"defaultExecutionMode": "ultrawork",
|
|
110
|
+
"hudEnabled": true,
|
|
111
|
+
"mcpServers": {
|
|
112
|
+
"context7": { "enabled": true },
|
|
113
|
+
"exa": { "enabled": true, "apiKey": "..." }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
\`\`\`
|
|
117
|
+
|
|
118
|
+
| Key | Type | Default | Description |
|
|
119
|
+
|-----|------|---------|-------------|
|
|
120
|
+
| `defaultExecutionMode` | string | `"ultrawork"` | Default execution mode when "fast"/"parallel" detected |
|
|
121
|
+
| `hudEnabled` | boolean | `true` | Enable/disable HUD status line |
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Execution Modes
|
|
126
|
+
|
|
127
|
+
| Mode | Trigger Keywords | Description |
|
|
128
|
+
|------|-----------------|-------------|
|
|
129
|
+
| `autopilot` | "autopilot", "build me", "I want a" | Fully autonomous execution from idea to running code |
|
|
130
|
+
| `ultrawork` | "ulw", "ultrawork" | Maximum parallel agent orchestration |
|
|
131
|
+
| `ralph` | "ralph", "don't stop", "must complete" | Self-referential loop with verifier validation |
|
|
132
|
+
| `ultrapilot` | "ultrapilot", "parallel build" | Team compatibility shim with file ownership |
|
|
133
|
+
| `swarm` | "swarm" | Team compatibility shim preserving /swarm syntax |
|
|
134
|
+
| `pipeline` | "pipeline", "chain agents" | Sequential agent chain with data passing |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Agents
|
|
139
|
+
|
|
140
|
+
Total: **49 agents** across 6 lanes. Use `ultrapower:` prefix in Task subagent_type.
|
|
141
|
+
|
|
142
|
+
### Build/Analysis Lane (8)
|
|
143
|
+
|
|
144
|
+
| Agent | Model | Purpose |
|
|
145
|
+
|-------|-------|---------|
|
|
146
|
+
| `explore` | haiku | Codebase discovery, symbol/file mapping |
|
|
147
|
+
| `analyst` | opus | Requirements clarification, acceptance criteria |
|
|
148
|
+
| `planner` | opus | Task ordering, execution plans, risk flagging |
|
|
149
|
+
| `architect` | opus | System design, boundaries, interfaces, trade-offs |
|
|
150
|
+
| `debugger` | sonnet | Root cause analysis, regression isolation |
|
|
151
|
+
| `executor` | sonnet | Code implementation, refactoring, feature dev |
|
|
152
|
+
| `deep-executor` | opus | Complex autonomous goal-directed tasks |
|
|
153
|
+
| `verifier` | sonnet | Completion evidence, claim verification |
|
|
154
|
+
|
|
155
|
+
### Review Lane (6)
|
|
156
|
+
|
|
157
|
+
| Agent | Model | Purpose |
|
|
158
|
+
|-------|-------|---------|
|
|
159
|
+
| `style-reviewer` | haiku | Formatting, naming, idioms, lint rules |
|
|
160
|
+
| `quality-reviewer` | sonnet | Logic defects, maintainability, anti-patterns |
|
|
161
|
+
| `api-reviewer` | sonnet | API contracts, versioning, backward compat |
|
|
162
|
+
| `security-reviewer` | sonnet | Vulnerabilities, trust boundaries, auth/authz |
|
|
163
|
+
| `performance-reviewer` | sonnet | Hotspots, complexity, memory/latency |
|
|
164
|
+
| `code-reviewer` | opus | Cross-cutting comprehensive review |
|
|
165
|
+
|
|
166
|
+
### Domain Specialists (16)
|
|
167
|
+
|
|
168
|
+
| Agent | Model | Purpose |
|
|
169
|
+
|-------|-------|---------|
|
|
170
|
+
| `dependency-expert` | sonnet | External SDK/API/package evaluation |
|
|
171
|
+
| `test-engineer` | sonnet | Test strategy, coverage, flaky test hardening |
|
|
172
|
+
| `quality-strategist` | sonnet | Quality strategy, release readiness, risk |
|
|
173
|
+
| `build-fixer` | sonnet | Build/toolchain/type failure fixes |
|
|
174
|
+
| `designer` | sonnet | UX/UI architecture, interaction design |
|
|
175
|
+
| `writer` | haiku | Docs, migration notes, user guides |
|
|
176
|
+
| `qa-tester` | sonnet | Interactive CLI/service runtime validation |
|
|
177
|
+
| `scientist` | sonnet | Data/statistical analysis |
|
|
178
|
+
| `document-specialist` | sonnet | External docs and reference lookup |
|
|
179
|
+
| `git-master` | sonnet | Commit strategy, history management |
|
|
180
|
+
| `vision` | sonnet | Image/screenshot/diagram analysis |
|
|
181
|
+
| `database-expert` | sonnet | DB design, query optimization, migrations |
|
|
182
|
+
| `devops-engineer` | sonnet | CI/CD, containerization, IaC |
|
|
183
|
+
| `i18n-specialist` | sonnet | Internationalization and localization |
|
|
184
|
+
| `accessibility-auditor` | sonnet | Web accessibility, WCAG compliance |
|
|
185
|
+
| `api-designer` | sonnet | REST/GraphQL API design and contracts |
|
|
186
|
+
|
|
187
|
+
### Product Lane (4)
|
|
188
|
+
|
|
189
|
+
| Agent | Model | Purpose |
|
|
190
|
+
|-------|-------|---------|
|
|
191
|
+
| `product-manager` | sonnet | Problem framing, user personas/JTBD, PRD |
|
|
192
|
+
| `ux-researcher` | sonnet | Heuristic audits, usability, accessibility |
|
|
193
|
+
| `information-architect` | sonnet | Taxonomy, navigation, discoverability |
|
|
194
|
+
| `product-analyst` | sonnet | Product metrics, funnel analysis, experiments |
|
|
195
|
+
|
|
196
|
+
### Axiom Lane (14)
|
|
197
|
+
|
|
198
|
+
| Agent | Model | Purpose |
|
|
199
|
+
|-------|-------|---------|
|
|
200
|
+
| `axiom-requirement-analyst` | sonnet | Three-state gate: PASS/CLARIFY/REJECT |
|
|
201
|
+
| `axiom-product-designer` | sonnet | Draft PRD + Mermaid flow diagram |
|
|
202
|
+
| `axiom-review-aggregator` | sonnet | 5-expert parallel review + conflict arbitration |
|
|
203
|
+
| `axiom-prd-crafter` | sonnet | Engineering-grade PRD with gate validation |
|
|
204
|
+
| `axiom-system-architect` | sonnet | Atomic task DAG + Manifest generation |
|
|
205
|
+
| `axiom-evolution-engine` | sonnet | Knowledge harvesting, pattern detection |
|
|
206
|
+
| `axiom-context-manager` | sonnet | 7-operation memory system |
|
|
207
|
+
| `axiom-worker` | sonnet | PM→Worker protocol, 3-state output |
|
|
208
|
+
| `axiom-ux-director` | sonnet | UX/experience expert review |
|
|
209
|
+
| `axiom-product-director` | sonnet | Product strategy expert review |
|
|
210
|
+
| `axiom-domain-expert` | sonnet | Domain knowledge expert review |
|
|
211
|
+
| `axiom-tech-lead` | sonnet | Technical feasibility review |
|
|
212
|
+
| `axiom-critic` | sonnet | Security/quality/logic review |
|
|
213
|
+
| `axiom-sub-prd-writer` | sonnet | Decompose Manifest tasks into executable Sub-PRDs |
|
|
214
|
+
|
|
215
|
+
### Coordination (1)
|
|
216
|
+
|
|
217
|
+
| Agent | Model | Purpose |
|
|
218
|
+
|-------|-------|---------|
|
|
219
|
+
| `critic` | opus | Critical challenge of plans/designs |
|
|
220
|
+
|
|
221
|
+
### Deprecated Aliases
|
|
222
|
+
|
|
223
|
+
| Alias | Maps To |
|
|
224
|
+
|-------|---------|
|
|
225
|
+
| `researcher` | `document-specialist` |
|
|
226
|
+
| `tdd-guide` | `test-engineer` |
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Skills
|
|
231
|
+
|
|
232
|
+
Total: **71 skills**. Invoke with `/ultrapower:<name>` or via Skill tool.
|
|
233
|
+
|
|
234
|
+
### Workflow Skills
|
|
235
|
+
|
|
236
|
+
| Skill | Trigger | Purpose |
|
|
237
|
+
|-------|---------|---------|
|
|
238
|
+
| `autopilot` | "autopilot", "build me", "I want a" | Full autonomous execution |
|
|
239
|
+
| `ralph` | "ralph", "don't stop", "must complete" | Persistent loop with verifier |
|
|
240
|
+
| `ultrawork` | "ulw", "ultrawork" | Max parallel agent orchestration |
|
|
241
|
+
| `team` | "team", "coordinated team" | N coordinated agents, phase-aware routing |
|
|
242
|
+
| `swarm` | "swarm" | Team compatibility shim |
|
|
243
|
+
| `ultrapilot` | "ultrapilot", "parallel build" | Team compatibility shim |
|
|
244
|
+
| `pipeline` | "pipeline", "chain agents" | Sequential agent chain |
|
|
245
|
+
| `ultraqa` | (activated by autopilot) | QA loop: test, verify, fix, repeat |
|
|
246
|
+
| `plan` | "plan this", "plan the" | Strategic planning with --consensus/--review |
|
|
247
|
+
| `ralplan` | "ralplan", "consensus plan" | Alias for /plan --consensus |
|
|
248
|
+
| `sciomc` | "sciomc" | Parallel scientist agents |
|
|
249
|
+
| `external-context` | — | Parallel document-specialist web search |
|
|
250
|
+
| `deepinit` | "deepinit" | Deep codebase init with layered AGENTS.md |
|
|
251
|
+
| `next-step-router` | — | Recommend optimal next skill/agent at decision points |
|
|
252
|
+
|
|
253
|
+
### Axiom Skills
|
|
254
|
+
|
|
255
|
+
| Skill | Command | Purpose |
|
|
256
|
+
|-------|---------|---------|
|
|
257
|
+
| `ax-draft` | `/ax-draft` | Requirements → Draft PRD → user confirmation |
|
|
258
|
+
| `ax-review` | `/ax-review` | 5-expert review → aggregation → Rough PRD |
|
|
259
|
+
| `ax-decompose` | `/ax-decompose` | Rough PRD → atomic task DAG |
|
|
260
|
+
| `ax-implement` | `/ax-implement` | Execute Manifest tasks with CI gates |
|
|
261
|
+
| `ax-analyze-error` | `/ax-analyze-error` | Root cause diagnosis → auto-fix |
|
|
262
|
+
| `ax-reflect` | `/ax-reflect` | Session reflection → knowledge harvesting |
|
|
263
|
+
| `ax-evolve` | `/ax-evolve` | Process learning queue → update knowledge base |
|
|
264
|
+
| `ax-status` | `/ax-status` | Full system status dashboard |
|
|
265
|
+
| `ax-rollback` | `/ax-rollback` | Roll back to last checkpoint |
|
|
266
|
+
| `ax-suspend` | `/ax-suspend` | Save state, safe exit |
|
|
267
|
+
| `ax-context` | `/ax-context` | Direct Axiom memory operations |
|
|
268
|
+
| `ax-evolution` | `/ax-evolution` | Evolution engine unified entry |
|
|
269
|
+
| `ax-knowledge` | `/ax-knowledge` | Query knowledge base |
|
|
270
|
+
| `ax-export` | `/ax-export` | Export Axiom workflow artifacts |
|
|
271
|
+
|
|
272
|
+
### Agent Shortcut Skills
|
|
273
|
+
|
|
274
|
+
| Skill | Maps To | Auto-trigger |
|
|
275
|
+
|-------|---------|-------------|
|
|
276
|
+
| `analyze` | `debugger` | "analyze", "debug", "investigate" |
|
|
277
|
+
| `deepsearch` | `explore` | "search", "find in codebase" |
|
|
278
|
+
| `tdd` | `test-engineer` | "tdd", "test first", "red green" |
|
|
279
|
+
| `build-fix` | `build-fixer` | "fix build", "type errors" |
|
|
280
|
+
| `code-review` | `code-reviewer` | "review code" |
|
|
281
|
+
| `security-review` | `security-reviewer` | "security review" |
|
|
282
|
+
| `frontend-ui-ux` | `designer` | UI/component/styling work (auto) |
|
|
283
|
+
| `git-master` | `git-master` | git/commit work (auto) |
|
|
284
|
+
| `review` | `plan --review` | "review plan", "critique plan" |
|
|
285
|
+
|
|
286
|
+
### Utility Skills
|
|
287
|
+
|
|
288
|
+
`cancel`, `note`, `learner`, `omc-setup`, `mcp-setup`, `hud`, `omc-doctor`, `omc-help`, `trace`, `release`, `project-session-manager` (psm), `skill`, `writer-memory`, `ralph-init`, `learn-about-omc`, `brainstorm`, `wizard`
|
|
289
|
+
|
|
290
|
+
### Superpowers Skills
|
|
291
|
+
|
|
292
|
+
`brainstorming`, `systematic-debugging`, `test-driven-development`, `writing-plans`, `writing-skills`, `using-superpowers`, `using-git-worktrees`, `verification-before-completion`, `requesting-code-review`, `receiving-code-review`, `dispatching-parallel-agents`, `executing-plans`, `finishing-a-development-branch`, `subagent-driven-development`, `next-step-router`
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Custom Tools
|
|
297
|
+
|
|
298
|
+
Total: **35 tools** exposed via `mcp__plugin_ultrapower_t__` prefix.
|
|
299
|
+
|
|
300
|
+
### LSP Tools (12)
|
|
301
|
+
|
|
302
|
+
```
|
|
303
|
+
lsp_hover — Type info and docs at position
|
|
304
|
+
lsp_goto_definition — Jump to definition
|
|
305
|
+
lsp_find_references — Find all usages
|
|
306
|
+
lsp_document_symbols — File outline
|
|
307
|
+
lsp_workspace_symbols — Cross-workspace symbol search
|
|
308
|
+
lsp_diagnostics — Per-file errors/warnings
|
|
309
|
+
lsp_diagnostics_directory — Project-level type check
|
|
310
|
+
lsp_servers — List available language servers
|
|
311
|
+
lsp_prepare_rename — Check if rename is valid
|
|
312
|
+
lsp_rename — Preview multi-file rename
|
|
313
|
+
lsp_code_actions — Available refactors/fixes
|
|
314
|
+
lsp_code_action_resolve — Get action details
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
Supported languages: TypeScript, Python, Rust, Go, C/C++, Java, JSON, HTML, CSS, YAML
|
|
318
|
+
|
|
319
|
+
### AST Tools (2)
|
|
320
|
+
|
|
321
|
+
```
|
|
322
|
+
ast_grep_search — Pattern match with meta-variables ($NAME, $$$ARGS)
|
|
323
|
+
ast_grep_replace — AST-aware code transformation (dry-run by default)
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
Supported: JS, TS, TSX, Python, Ruby, Go, Rust, Java, Kotlin, Swift, C, C++, C#, HTML, CSS, JSON, YAML
|
|
327
|
+
|
|
328
|
+
### Python REPL (1)
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
python_repl — Persistent Python REPL with pandas/numpy/matplotlib
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
### Notepad Tools (6) — Session Memory
|
|
335
|
+
|
|
336
|
+
```
|
|
337
|
+
notepad_read — Read notepad (sections: all/priority/working/manual)
|
|
338
|
+
notepad_write_priority — Write priority context (≤500 chars, auto-loaded at session start)
|
|
339
|
+
notepad_write_working — Write working memory (timestamped, auto-pruned after 7 days)
|
|
340
|
+
notepad_write_manual — Write manual notes (permanent)
|
|
341
|
+
notepad_prune — Clean working memory older than N days
|
|
342
|
+
notepad_stats — Get notepad statistics
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
Storage: `{worktree}/.omc/notepad.md`
|
|
346
|
+
|
|
347
|
+
### State Tools (5) — Execution Mode State
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
state_read — Read state for a mode
|
|
351
|
+
state_write — Write/update mode state
|
|
352
|
+
state_clear — Clear mode state file
|
|
353
|
+
state_list_active — List all active modes
|
|
354
|
+
state_get_status — Get detailed status for mode(s)
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
Supported modes: `autopilot`, `ultrapilot`, `team`, `pipeline`, `ralph`, `ultrawork`, `ultraqa`, `ralplan`
|
|
358
|
+
|
|
359
|
+
### Project Memory Tools (4)
|
|
360
|
+
|
|
361
|
+
```
|
|
362
|
+
project_memory_read — Read project memory (sections: techStack/build/conventions/structure/notes/directives)
|
|
363
|
+
project_memory_write — Write/update project memory (merge-aware)
|
|
364
|
+
project_memory_add_note — Add categorized note
|
|
365
|
+
project_memory_add_directive — Add user directive (persistent across sessions)
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
Storage: `{worktree}/.omc/project-memory.json`
|
|
369
|
+
|
|
370
|
+
### Trace Tools (2)
|
|
371
|
+
|
|
372
|
+
```
|
|
373
|
+
trace_timeline — Chronological agent flow trace
|
|
374
|
+
trace_summary — Session aggregate stats
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
### Skills Tools (3)
|
|
378
|
+
|
|
379
|
+
```
|
|
380
|
+
load_omc_skills_local — Load OMC skills from project local
|
|
381
|
+
load_omc_skills_global — Load OMC skills from global install
|
|
382
|
+
list_omc_skills — List all available skills
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
### Disabling Tools
|
|
386
|
+
|
|
387
|
+
```bash
|
|
388
|
+
OMC_DISABLE_TOOLS=lsp,python-repl,project-memory
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
Groups: `lsp`, `ast`, `python`/`python-repl`, `trace`, `state`, `notepad`, `memory`/`project-memory`, `skills`
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
## Hooks System
|
|
396
|
+
|
|
397
|
+
Total: **35 hooks** in `src/hooks/`.
|
|
398
|
+
|
|
399
|
+
### Core Hooks
|
|
400
|
+
|
|
401
|
+
| Hook | Event | Purpose |
|
|
402
|
+
|------|-------|---------|
|
|
403
|
+
| `bridge-normalize` | all | Normalize snake_case input, whitelist filtering for SENSITIVE_HOOKS |
|
|
404
|
+
| `keyword-detector` | PreToolUse | Magic keyword detection → skill activation |
|
|
405
|
+
| `pre-tool-use` | PreToolUse | Path safety, delegation enforcement |
|
|
406
|
+
| `post-tool-use` | PostToolUse | Subagent tracking, result processing |
|
|
407
|
+
| `session-start` | SessionStart | Bootstrap memory, inject context |
|
|
408
|
+
| `session-end` | SessionEnd | Cleanup, state archiving |
|
|
409
|
+
|
|
410
|
+
### Mode Hooks
|
|
411
|
+
|
|
412
|
+
| Hook | Purpose |
|
|
413
|
+
|------|---------|
|
|
414
|
+
| `autopilot/` | Full autonomous execution loop |
|
|
415
|
+
| `ralph/` | Persistent execution with verifier |
|
|
416
|
+
| `ultrawork/` | Parallel agent orchestration |
|
|
417
|
+
| `ultrapilot/` | Team-based parallel with ownership |
|
|
418
|
+
| `learner/` | Skill extraction from patterns |
|
|
419
|
+
| `recovery/` | Error recovery (session-recovery.ts returns false — not yet implemented) |
|
|
420
|
+
| `rules-injector/` | Rule file injection with MAX_TRAVERSAL_DEPTH=5 guard |
|
|
421
|
+
| `think-mode/` | Enhanced reasoning injection |
|
|
422
|
+
| `axiom-boot/` | Session-start: inject Axiom memory context |
|
|
423
|
+
| `axiom-guards/` | Gate rule enforcement |
|
|
424
|
+
|
|
425
|
+
### Security Guarantees
|
|
426
|
+
|
|
427
|
+
- Hook inputs use snake_case: `tool_name`, `tool_input`, `tool_response`, `session_id`, `cwd`, `hook_event_name`
|
|
428
|
+
- Kill switch: `DISABLE_OMC` (all hooks), `OMC_SKIP_HOOKS` (comma-separated names)
|
|
429
|
+
- `SENSITIVE_HOOKS` types (permission-request, setup, session-end) bypass fast path in bridge-normalize
|
|
430
|
+
- Required key validation per hook event type
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
## MCP Integration
|
|
435
|
+
|
|
436
|
+
### Available Providers
|
|
437
|
+
|
|
438
|
+
| Provider | Tool | Best For |
|
|
439
|
+
|----------|------|---------|
|
|
440
|
+
| Codex | `mcp__x__ask_codex` | Architecture review, planning, code review |
|
|
441
|
+
| Gemini | `mcp__g__ask_gemini` | UI/UX design, large-context (1M tokens) |
|
|
442
|
+
| sequential-thinking | `mcp__sequential-thinking__*` | Step-by-step reasoning |
|
|
443
|
+
| software-planning-tool | `mcp__software-planning-tool__*` | Task planning and decomposition |
|
|
444
|
+
|
|
445
|
+
### Tool Discovery
|
|
446
|
+
|
|
447
|
+
MCP tools are lazy-loaded. Before first use:
|
|
448
|
+
```
|
|
449
|
+
ToolSearch("mcp") — discover all MCP tools
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### Usage Pattern
|
|
453
|
+
|
|
454
|
+
```typescript
|
|
455
|
+
mcp__x__ask_codex({
|
|
456
|
+
agent_role: "architect",
|
|
457
|
+
prompt: "Review this module boundary",
|
|
458
|
+
context_files: ["src/hooks/bridge.ts"]
|
|
459
|
+
})
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
## Security Rules
|
|
465
|
+
|
|
466
|
+
### 1. Path Traversal Protection
|
|
467
|
+
|
|
468
|
+
`mode` parameter must pass `assertValidMode()` before path concatenation:
|
|
469
|
+
|
|
470
|
+
```typescript
|
|
471
|
+
import { assertValidMode } from './src/lib/validateMode';
|
|
472
|
+
const validMode = assertValidMode(mode);
|
|
473
|
+
const path = `.omc/state/${validMode}-state.json`;
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
### 2. Hook Input Sanitization
|
|
477
|
+
|
|
478
|
+
All hook inputs pass through `bridge-normalize.ts` whitelist filter. Unknown fields are discarded. SENSITIVE_HOOKS types (permission-request, setup, session-end) never use the fast path.
|
|
479
|
+
|
|
480
|
+
### 3. SubagentStop Inference
|
|
481
|
+
|
|
482
|
+
```typescript
|
|
483
|
+
// WRONG:
|
|
484
|
+
if (input.success) { ... }
|
|
485
|
+
|
|
486
|
+
// CORRECT:
|
|
487
|
+
if (input.success !== false) { ... }
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
### 4. Shell Injection Prevention
|
|
491
|
+
|
|
492
|
+
LSP servers.ts uses `execFileSync` (not `execSync`) for all command execution. No user input is interpolated into shell strings.
|
|
493
|
+
|
|
494
|
+
### 5. Write Path Restrictions
|
|
495
|
+
|
|
496
|
+
`src/hooks/guards/pre-tool.ts` blocks writes to:
|
|
497
|
+
- `path.resolve(filePath).startsWith(path.join(os.homedir(), '.claude'))`
|
|
498
|
+
- Paths containing `node_modules`
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
**Step 3: Verify counts match code**
|
|
502
|
+
|
|
503
|
+
```bash
|
|
504
|
+
# Verify agent count
|
|
505
|
+
ls agents/*.md | grep -v templates | wc -l
|
|
506
|
+
# Expected: 49 (50 total - 1 template)
|
|
507
|
+
|
|
508
|
+
# Verify skills count
|
|
509
|
+
ls skills/ | grep -v superpowers | wc -l
|
|
510
|
+
# Expected: 71 (72 - 1 superpowers parent)
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
**Step 4: Commit**
|
|
514
|
+
|
|
515
|
+
```bash
|
|
516
|
+
git add docs/REFERENCE.md
|
|
517
|
+
git commit -m "docs: rewrite REFERENCE.md for v5.5.5 (49 agents, 71 skills, 35 tools)"
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
---
|
|
521
|
+
|
|
522
|
+
## Task 3: Rewrite docs/ARCHITECTURE.md
|
|
523
|
+
|
|
524
|
+
**Files:**
|
|
525
|
+
- Modify: `docs/ARCHITECTURE.md` (full rewrite)
|
|
526
|
+
- Read first: `src/hooks/bridge.ts`, `src/hooks/bridge-normalize.ts`, `src/features/delegation-enforcer.ts`, `src/tools/state-tools.ts`, `src/lib/validateMode.ts`
|
|
527
|
+
|
|
528
|
+
**Step 1: Read current file and key sources**
|
|
529
|
+
|
|
530
|
+
Read `docs/ARCHITECTURE.md` (current) and the source files listed above.
|
|
531
|
+
|
|
532
|
+
**Step 2: Rewrite ARCHITECTURE.md**
|
|
533
|
+
|
|
534
|
+
```markdown
|
|
535
|
+
<!-- version: 5.5.5, updated: 2026-03-02 -->
|
|
536
|
+
# ultrapower Architecture — v5.5.5
|
|
537
|
+
|
|
538
|
+
## System Overview
|
|
539
|
+
|
|
540
|
+
ultrapower sits as an orchestration layer between the user and Claude Code, injecting specialized agent workflows, safety guards, and persistent memory through the Claude Code hooks system.
|
|
541
|
+
|
|
542
|
+
\`\`\`
|
|
543
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
544
|
+
│ Claude Code CLI │
|
|
545
|
+
├─────────────────────────────────────────────────────────────┤
|
|
546
|
+
│ ultrapower │
|
|
547
|
+
│ ┌─────────────┬─────────────┬─────────────┬─────────────┐ │
|
|
548
|
+
│ │ Skills │ Agents │ Tools │ Hooks │ │
|
|
549
|
+
│ │ (71 skills) │ (49 agents) │(LSP/AST/REPL)│ (35 hooks) │ │
|
|
550
|
+
│ └─────────────┴─────────────┴─────────────┴─────────────┘ │
|
|
551
|
+
│ ┌─────────────────────────────────────────────────────────┐│
|
|
552
|
+
│ │ Features Layer ││
|
|
553
|
+
│ │ model-routing | boulder-state | verification | notepad ││
|
|
554
|
+
│ │ delegation-enforcer | task-decomposer | state-manager ││
|
|
555
|
+
│ │ rate-limit-wait | python-repl | rules-injector ││
|
|
556
|
+
│ └─────────────────────────────────────────────────────────┘│
|
|
557
|
+
└─────────────────────────────────────────────────────────────┘
|
|
558
|
+
\`\`\`
|
|
559
|
+
|
|
560
|
+
---
|
|
561
|
+
|
|
562
|
+
## Core Pipeline
|
|
563
|
+
|
|
564
|
+
### 1. Hook Bridge (`src/hooks/bridge.ts`)
|
|
565
|
+
|
|
566
|
+
Entry point for all Claude Code hook events. Flow:
|
|
567
|
+
|
|
568
|
+
\`\`\`
|
|
569
|
+
Hook Event → bridge-normalize → keyword-detector → pre-tool-use guards
|
|
570
|
+
→ mode-specific hooks
|
|
571
|
+
→ delegation-enforcer
|
|
572
|
+
→ post-processing
|
|
573
|
+
\`\`\`
|
|
574
|
+
|
|
575
|
+
**bridge-normalize** (`src/hooks/bridge-normalize.ts`):
|
|
576
|
+
- Converts all hook input fields to camelCase
|
|
577
|
+
- Applies field whitelist per hook type
|
|
578
|
+
- **Security (v5.5.0):** `SENSITIVE_HOOKS` types (permission-request, setup, session-end) bypass the `isAlreadyCamelCase()` fast path, forcing full Zod validation. This prevents malicious camelCase inputs from bypassing whitelist checks.
|
|
579
|
+
|
|
580
|
+
```typescript
|
|
581
|
+
const SENSITIVE_HOOKS = new Set(['permission-request', 'setup', 'session-end']);
|
|
582
|
+
if (!SENSITIVE_HOOKS.has(hookType) && isAlreadyCamelCase(input)) {
|
|
583
|
+
return input; // fast path — only for non-sensitive hooks
|
|
584
|
+
}
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
### 2. Delegation Enforcer (`src/features/delegation-enforcer.ts`)
|
|
588
|
+
|
|
589
|
+
**Added in v5.5.2.** Intercepts `pre-tool-use` for `Task`/`Agent` tool calls. When no `model` parameter is specified, automatically injects the appropriate default:
|
|
590
|
+
|
|
591
|
+
| Agent Type | Auto-injected Model |
|
|
592
|
+
|-----------|-------------------|
|
|
593
|
+
| `explore`, `style-reviewer`, `writer` | `haiku` |
|
|
594
|
+
| `executor`, `debugger`, `verifier`, and most others | `sonnet` |
|
|
595
|
+
| `architect`, `analyst`, `planner`, `deep-executor`, `critic`, `code-reviewer` | `opus` |
|
|
596
|
+
|
|
597
|
+
Explicit `model` parameters are never overridden.
|
|
598
|
+
|
|
599
|
+
### 3. State Manager (`src/tools/state-tools.ts`)
|
|
600
|
+
|
|
601
|
+
Manages execution mode state files at `{worktree}/.omc/state/{mode}-state.json`.
|
|
602
|
+
|
|
603
|
+
**Security (v5.5.0):** `assertValidMode()` validates the `mode` parameter against a strict whitelist before any path construction:
|
|
604
|
+
|
|
605
|
+
```typescript
|
|
606
|
+
// src/lib/validateMode.ts
|
|
607
|
+
const VALID_MODES = new Set([
|
|
608
|
+
'autopilot', 'ultrapilot', 'team', 'pipeline',
|
|
609
|
+
'ralph', 'ultrawork', 'ultraqa', 'ralplan'
|
|
610
|
+
]);
|
|
611
|
+
|
|
612
|
+
export function assertValidMode(mode: string): string {
|
|
613
|
+
if (!VALID_MODES.has(mode)) {
|
|
614
|
+
throw new Error(`Invalid mode: ${mode}. Valid modes: ${[...VALID_MODES].join(', ')}`);
|
|
615
|
+
}
|
|
616
|
+
return mode;
|
|
617
|
+
}
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
---
|
|
621
|
+
|
|
622
|
+
## Feature Layer
|
|
623
|
+
|
|
624
|
+
### rate-limit-wait (`src/features/rate-limit-wait/daemon.ts`)
|
|
625
|
+
|
|
626
|
+
Background daemon for rate limit management.
|
|
627
|
+
|
|
628
|
+
**v5.5.0 fixes:**
|
|
629
|
+
- **Windows ESM import:** `pathToFileURL(modulePath).href` replaces raw Windows path in `import()` calls
|
|
630
|
+
- **Config injection:** Config is written to a UUID-named tmpfile via `os.tmpdir()` and passed via env var, replacing the previous `JSON.stringify` code injection pattern
|
|
631
|
+
|
|
632
|
+
### python-repl (`src/tools/python-repl/tool.ts`)
|
|
633
|
+
|
|
634
|
+
Persistent Python REPL with pandas/numpy/matplotlib.
|
|
635
|
+
|
|
636
|
+
**v5.5.1 fix:** `handleReset` and `killBridgeWithEscalation` now call `executionCounters.delete(sessionId)` after success, preventing memory leak in long-running sessions.
|
|
637
|
+
|
|
638
|
+
### LSP Client (`src/tools/lsp/client.ts`)
|
|
639
|
+
|
|
640
|
+
**v5.5.0 fixes:**
|
|
641
|
+
- `disconnect()` iterates all pending timers with `clearTimeout` before `Map.clear()`
|
|
642
|
+
- Buffer has a 64MB hard cap; exceeding it disconnects the client with a warning
|
|
643
|
+
|
|
644
|
+
### rules-injector (`src/hooks/rules-injector/finder.ts`)
|
|
645
|
+
|
|
646
|
+
Recursively finds rule files to inject into agent context.
|
|
647
|
+
|
|
648
|
+
**v5.5.4 fix:** `MAX_TRAVERSAL_DEPTH = 5` prevents infinite recursion on symlink loops.
|
|
649
|
+
|
|
650
|
+
---
|
|
651
|
+
|
|
652
|
+
## Axiom System
|
|
653
|
+
|
|
654
|
+
### State Machine
|
|
655
|
+
|
|
656
|
+
```
|
|
657
|
+
IDLE → PLANNING → CONFIRMING → EXECUTING → AUTO_FIX → BLOCKED → ARCHIVING → IDLE
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
| State | Trigger | Action |
|
|
661
|
+
|-------|---------|--------|
|
|
662
|
+
| IDLE | User request | Load context, route to workflow |
|
|
663
|
+
| PLANNING | /ax-draft or /ax-decompose | Requirements clarification loop |
|
|
664
|
+
| CONFIRMING | PRD complete | User gate: "Confirm execution?" |
|
|
665
|
+
| EXECUTING | User confirms | ax-implement: run Manifest tasks |
|
|
666
|
+
| AUTO_FIX | CI Gate fails | Up to 3 self-repair attempts |
|
|
667
|
+
| BLOCKED | 3 failures | Halt, request human intervention |
|
|
668
|
+
| ARCHIVING | All tasks done | Trigger ax-reflect, update knowledge |
|
|
669
|
+
|
|
670
|
+
### Memory Architecture
|
|
671
|
+
|
|
672
|
+
```
|
|
673
|
+
{worktree}/.omc/axiom/
|
|
674
|
+
├── active_context.md — Current task state (short-term)
|
|
675
|
+
├── project_decisions.md — Architecture decision records (long-term)
|
|
676
|
+
├── user_preferences.md — User preferences
|
|
677
|
+
├── state_machine.md — State machine definition
|
|
678
|
+
├── reflection_log.md — Reflection journal
|
|
679
|
+
└── evolution/
|
|
680
|
+
├── knowledge_base.md — Knowledge graph (confidence system)
|
|
681
|
+
├── pattern_library.md — Code patterns (promoted at ≥3 occurrences)
|
|
682
|
+
├── learning_queue.md — Pending learning items (P0–P3 priority)
|
|
683
|
+
└── workflow_metrics.md — Execution metrics
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
|
|
688
|
+
## MCP Integration Layer
|
|
689
|
+
|
|
690
|
+
```
|
|
691
|
+
Claude Code
|
|
692
|
+
│
|
|
693
|
+
├── mcp__plugin_ultrapower_t__* (35 custom tools)
|
|
694
|
+
│ ├── LSP tools (12)
|
|
695
|
+
│ ├── AST tools (2)
|
|
696
|
+
│ ├── Python REPL (1)
|
|
697
|
+
│ ├── Notepad tools (6)
|
|
698
|
+
│ ├── State tools (5)
|
|
699
|
+
│ ├── Project Memory tools (4)
|
|
700
|
+
│ ├── Trace tools (2)
|
|
701
|
+
│ └── Skills tools (3)
|
|
702
|
+
│
|
|
703
|
+
├── mcp__x__ask_codex (OpenAI Codex — code analysis)
|
|
704
|
+
├── mcp__g__ask_gemini (Google Gemini — large context)
|
|
705
|
+
├── mcp__context7__* (Library documentation)
|
|
706
|
+
├── mcp__sequential-thinking__* (Step-by-step reasoning)
|
|
707
|
+
└── mcp__software-planning-tool__* (Task planning)
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
---
|
|
711
|
+
|
|
712
|
+
## Security Boundaries (v5.5.5)
|
|
713
|
+
|
|
714
|
+
| Boundary | Mechanism | File |
|
|
715
|
+
|----------|-----------|------|
|
|
716
|
+
| Path traversal | `assertValidMode()` whitelist | `src/lib/validateMode.ts` |
|
|
717
|
+
| Hook input injection | Zod schema + field whitelist | `src/hooks/bridge-normalize.ts` |
|
|
718
|
+
| Shell injection | `execFileSync` (not `execSync`) | `src/tools/lsp/servers.ts` |
|
|
719
|
+
| Write path restriction | `path.resolve()` + homedir check | `src/hooks/guards/pre-tool.ts` |
|
|
720
|
+
| Config injection | tmpfile + env var | `src/features/rate-limit-wait/daemon.ts` |
|
|
721
|
+
| Atomics.wait crash | `isMainThread` check → setTimeout | `src/hooks/subagent-tracker/index.ts`, `src/notifications/session-registry.ts` |
|
|
722
|
+
| SENSITIVE_HOOKS bypass | Disable fast path for critical types | `src/hooks/bridge-normalize.ts` |
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
**Step 3: Commit**
|
|
726
|
+
|
|
727
|
+
```bash
|
|
728
|
+
git add docs/ARCHITECTURE.md
|
|
729
|
+
git commit -m "docs: rewrite ARCHITECTURE.md for v5.5.5 (security boundaries, delegation-enforcer, Axiom)"
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
---
|
|
733
|
+
|
|
734
|
+
## Task 4: Rewrite docs/FEATURES.md
|
|
735
|
+
|
|
736
|
+
**Files:**
|
|
737
|
+
- Modify: `docs/FEATURES.md` (full rewrite)
|
|
738
|
+
- Read first: `src/tools/state-tools.ts`, `src/tools/python-repl/tool.ts`, `src/features/delegation-enforcer.ts`, `src/mcp/omc-tools-server.ts`
|
|
739
|
+
|
|
740
|
+
**Step 1: Read current file**
|
|
741
|
+
|
|
742
|
+
Read `docs/FEATURES.md` (current).
|
|
743
|
+
|
|
744
|
+
**Step 2: Rewrite FEATURES.md**
|
|
745
|
+
|
|
746
|
+
```markdown
|
|
747
|
+
<!-- version: 5.5.5, updated: 2026-03-02 -->
|
|
748
|
+
# ultrapower Features — v5.5.5
|
|
749
|
+
|
|
750
|
+
Developer reference for all ultrapower feature systems.
|
|
751
|
+
|
|
752
|
+
---
|
|
753
|
+
|
|
754
|
+
## Notepad System
|
|
755
|
+
|
|
756
|
+
Session memory for the current conversation. Stored at `{worktree}/.omc/notepad.md`.
|
|
757
|
+
|
|
758
|
+
### Tools (6)
|
|
759
|
+
|
|
760
|
+
| Tool | Purpose |
|
|
761
|
+
|------|---------|
|
|
762
|
+
| `notepad_read(section)` | Read all/priority/working/manual sections |
|
|
763
|
+
| `notepad_write_priority(content)` | Write priority context (≤500 chars, auto-loaded at session start) |
|
|
764
|
+
| `notepad_write_working(content)` | Write timestamped working memory (auto-pruned after 7 days) |
|
|
765
|
+
| `notepad_write_manual(content)` | Write permanent notes (never auto-cleaned) |
|
|
766
|
+
| `notepad_prune(days)` | Remove working memory older than N days |
|
|
767
|
+
| `notepad_stats()` | Get size/age statistics |
|
|
768
|
+
|
|
769
|
+
### Priority Section
|
|
770
|
+
|
|
771
|
+
The `priority` section (≤500 characters) is automatically injected into every session start via the `axiom-boot` hook. Use it for critical project state that must survive context compression.
|
|
772
|
+
|
|
773
|
+
---
|
|
774
|
+
|
|
775
|
+
## State Management
|
|
776
|
+
|
|
777
|
+
Execution mode state files at `{worktree}/.omc/state/{mode}-state.json`.
|
|
778
|
+
|
|
779
|
+
### Tools (5)
|
|
780
|
+
|
|
781
|
+
| Tool | Purpose |
|
|
782
|
+
|------|---------|
|
|
783
|
+
| `state_read(mode)` | Read state JSON for a mode |
|
|
784
|
+
| `state_write(mode, data)` | Write/merge state data |
|
|
785
|
+
| `state_clear(mode)` | Delete state file |
|
|
786
|
+
| `state_list_active()` | List all modes with active state files |
|
|
787
|
+
| `state_get_status(mode?)` | Detailed status including phase, timestamps |
|
|
788
|
+
|
|
789
|
+
### Security (v5.5.0)
|
|
790
|
+
|
|
791
|
+
The `mode` parameter is validated through `assertValidMode()` before any path construction, preventing path traversal attacks:
|
|
792
|
+
|
|
793
|
+
```typescript
|
|
794
|
+
import { assertValidMode } from '../lib/validateMode';
|
|
795
|
+
|
|
796
|
+
// In state_read handler:
|
|
797
|
+
const safeMode = assertValidMode(input.mode); // throws on invalid
|
|
798
|
+
const statePath = `.omc/state/${safeMode}-state.json`;
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
Valid modes: `autopilot`, `ultrapilot`, `team`, `pipeline`, `ralph`, `ultrawork`, `ultraqa`, `ralplan`
|
|
802
|
+
|
|
803
|
+
---
|
|
804
|
+
|
|
805
|
+
## Project Memory
|
|
806
|
+
|
|
807
|
+
Persistent cross-session project knowledge at `{worktree}/.omc/project-memory.json`.
|
|
808
|
+
|
|
809
|
+
### Tools (4)
|
|
810
|
+
|
|
811
|
+
| Tool | Section Keys | Purpose |
|
|
812
|
+
|------|-------------|---------|
|
|
813
|
+
| `project_memory_read(section?)` | techStack, build, conventions, structure, notes, directives | Read project knowledge |
|
|
814
|
+
| `project_memory_write(section, data)` | same | Write/merge section data |
|
|
815
|
+
| `project_memory_add_note(category, content)` | — | Append categorized note |
|
|
816
|
+
| `project_memory_add_directive(content)` | — | Add permanent user directive (survives compression) |
|
|
817
|
+
|
|
818
|
+
### Directives
|
|
819
|
+
|
|
820
|
+
Directives are the highest-priority memory: they survive context compression and are injected into every session. Use for user preferences that must always be respected.
|
|
821
|
+
|
|
822
|
+
---
|
|
823
|
+
|
|
824
|
+
## LSP / AST / Python REPL
|
|
825
|
+
|
|
826
|
+
### LSP Tools (12)
|
|
827
|
+
|
|
828
|
+
Require a running language server. Use `lsp_servers()` to check availability.
|
|
829
|
+
|
|
830
|
+
```typescript
|
|
831
|
+
// Type info at cursor position
|
|
832
|
+
lsp_hover({ file: "src/hooks/bridge.ts", line: 42, character: 15 })
|
|
833
|
+
|
|
834
|
+
// Find all usages
|
|
835
|
+
lsp_find_references({ file: "src/lib/validateMode.ts", symbol: "assertValidMode" })
|
|
836
|
+
|
|
837
|
+
// Project-wide diagnostics
|
|
838
|
+
lsp_diagnostics_directory({ directory: "src/", includeWarnings: false })
|
|
839
|
+
```
|
|
840
|
+
|
|
841
|
+
### AST Tools (2)
|
|
842
|
+
|
|
843
|
+
Structural pattern matching using ast-grep meta-variables:
|
|
844
|
+
|
|
845
|
+
```typescript
|
|
846
|
+
// Find all execSync calls
|
|
847
|
+
ast_grep_search({ pattern: "execSync($$$ARGS)", language: "typescript" })
|
|
848
|
+
|
|
849
|
+
// Replace pattern (dry-run by default)
|
|
850
|
+
ast_grep_replace({
|
|
851
|
+
pattern: "execSync($CMD, $OPTS)",
|
|
852
|
+
replacement: "execFileSync($CMD, [], $OPTS)",
|
|
853
|
+
language: "typescript",
|
|
854
|
+
dryRun: true
|
|
855
|
+
})
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
### Python REPL
|
|
859
|
+
|
|
860
|
+
Persistent REPL session with pandas/numpy/matplotlib pre-available:
|
|
861
|
+
|
|
862
|
+
```python
|
|
863
|
+
python_repl("import pandas as pd; df = pd.read_csv('data.csv'); print(df.describe())")
|
|
864
|
+
```
|
|
865
|
+
|
|
866
|
+
Session state persists between calls within a conversation.
|
|
867
|
+
|
|
868
|
+
---
|
|
869
|
+
|
|
870
|
+
## Delegation Enforcer
|
|
871
|
+
|
|
872
|
+
**Added in v5.5.2.** Automatically injects the appropriate model tier into Task/Agent calls when no `model` is specified.
|
|
873
|
+
|
|
874
|
+
### Model Routing Table
|
|
875
|
+
|
|
876
|
+
| Agent Pattern | Auto-injected Model |
|
|
877
|
+
|--------------|-------------------|
|
|
878
|
+
| `explore`, `style-reviewer`, `writer` | `haiku` |
|
|
879
|
+
| `executor`, `debugger`, `verifier`, `test-engineer`, `build-fixer`, `designer`, `qa-tester`, `scientist`, `git-master`, `document-specialist`, `dependency-expert`, all Axiom agents | `sonnet` |
|
|
880
|
+
| `architect`, `analyst`, `planner`, `deep-executor`, `critic`, `code-reviewer` | `opus` |
|
|
881
|
+
|
|
882
|
+
### Behavior
|
|
883
|
+
|
|
884
|
+
- Explicit `model` parameter is **never** overridden
|
|
885
|
+
- Only `Task` and `Agent` tool calls are intercepted
|
|
886
|
+
- Injection happens in `processPreToolUse` via `bridge.ts`
|
|
887
|
+
|
|
888
|
+
---
|
|
889
|
+
|
|
890
|
+
## Axiom Integration
|
|
891
|
+
|
|
892
|
+
Complete requirements-to-delivery-to-evolution workflow.
|
|
893
|
+
|
|
894
|
+
### Workflow
|
|
895
|
+
|
|
896
|
+
```
|
|
897
|
+
/ax-draft → /ax-review → /ax-decompose → /ax-implement → /ax-reflect → /ax-evolve
|
|
898
|
+
PRD Review Task DAG Execution Learning Knowledge
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
### 14 Axiom Agents
|
|
902
|
+
|
|
903
|
+
See [Agents section in REFERENCE.md](./REFERENCE.md#axiom-lane-14) for full list.
|
|
904
|
+
|
|
905
|
+
### 14 Axiom Skills
|
|
906
|
+
|
|
907
|
+
| Skill | Purpose |
|
|
908
|
+
|-------|---------|
|
|
909
|
+
| `ax-draft` | Requirements clarification → Draft PRD → user confirmation gate |
|
|
910
|
+
| `ax-review` | 5-expert parallel review → Rough PRD with arbitrated decisions |
|
|
911
|
+
| `ax-decompose` | Rough PRD → atomic task DAG → Manifest.md |
|
|
912
|
+
| `ax-implement` | Execute Manifest tasks with CI gates and auto-fix (3 attempts) |
|
|
913
|
+
| `ax-analyze-error` | Root cause diagnosis → fix → learning queue entry |
|
|
914
|
+
| `ax-reflect` | Session reflection → experience extraction → action items |
|
|
915
|
+
| `ax-evolve` | Process learning queue → update knowledge base → pattern detection |
|
|
916
|
+
| `ax-status` | Full system status dashboard |
|
|
917
|
+
| `ax-rollback` | Roll back to last checkpoint (requires user confirmation) |
|
|
918
|
+
| `ax-suspend` | Save session state, safe exit |
|
|
919
|
+
| `ax-context` | Direct Axiom memory operations |
|
|
920
|
+
| `ax-evolution` | Evolution engine unified entry (evolve/reflect/knowledge/patterns) |
|
|
921
|
+
| `ax-knowledge` | Query knowledge base and pattern library |
|
|
922
|
+
| `ax-export` | Export Axiom workflow artifacts as portable archive |
|
|
923
|
+
|
|
924
|
+
### 2 Axiom Hooks
|
|
925
|
+
|
|
926
|
+
| Hook | Event | Purpose |
|
|
927
|
+
|------|-------|---------|
|
|
928
|
+
| `axiom-boot` | SessionStart | Inject memory context from active_context.md |
|
|
929
|
+
| `axiom-guards` | PreToolUse | Enforce gate rules (Expert/User/CI Gate/Scope Gate) |
|
|
930
|
+
|
|
931
|
+
### Gate Rules
|
|
932
|
+
|
|
933
|
+
| Gate | Trigger | Action |
|
|
934
|
+
|------|---------|--------|
|
|
935
|
+
| Expert Gate | New feature request | Must go through /ax-draft → /ax-review |
|
|
936
|
+
| User Gate | PRD finalized | Show confirmation: "Confirm execution? (Yes/No)" |
|
|
937
|
+
| CI Gate | Code modified | Run `tsc --noEmit && npm run build && npm test` |
|
|
938
|
+
| Scope Gate | File modified | Check against Manifest Impact Scope; warn on out-of-scope |
|
|
939
|
+
|
|
940
|
+
---
|
|
941
|
+
|
|
942
|
+
## Execution Modes Deep Dive
|
|
943
|
+
|
|
944
|
+
### Team Pipeline (default multi-agent orchestrator)
|
|
945
|
+
|
|
946
|
+
```
|
|
947
|
+
team-plan → team-prd → team-exec → team-verify → team-fix (loop)
|
|
948
|
+
```
|
|
949
|
+
|
|
950
|
+
Phase routing:
|
|
951
|
+
- **team-plan:** `explore` (haiku) + `planner` (opus)
|
|
952
|
+
- **team-prd:** `analyst` (opus)
|
|
953
|
+
- **team-exec:** `executor` (sonnet) + domain specialists
|
|
954
|
+
- **team-verify:** `verifier` (sonnet) + optional reviewers
|
|
955
|
+
- **team-fix:** `executor`/`build-fixer`/`debugger` based on defect type
|
|
956
|
+
|
|
957
|
+
State: `state_write(mode="team")` tracks `current_phase`, `fix_loop_count`, `linked_ralph`.
|
|
958
|
+
|
|
959
|
+
### Ralph Loop
|
|
960
|
+
|
|
961
|
+
Persistent execution until `verifier` confirms completion:
|
|
962
|
+
|
|
963
|
+
```
|
|
964
|
+
Execute → Verify → [pass] → Done
|
|
965
|
+
↓
|
|
966
|
+
[fail] → Fix → Execute (loop)
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
Self-terminates when all acceptance criteria are met. Combine with `team` for team-ralph.
|
|
970
|
+
|
|
971
|
+
---
|
|
972
|
+
|
|
973
|
+
## Hook System
|
|
974
|
+
|
|
975
|
+
### Input Contract
|
|
976
|
+
|
|
977
|
+
All hooks receive snake_case fields:
|
|
978
|
+
- `tool_name` — name of the tool being called
|
|
979
|
+
- `tool_input` — tool input parameters
|
|
980
|
+
- `tool_response` — tool output (post-tool-use only)
|
|
981
|
+
- `session_id` — current session identifier
|
|
982
|
+
- `cwd` — current working directory
|
|
983
|
+
- `hook_event_name` — hook type
|
|
984
|
+
|
|
985
|
+
### Security: SENSITIVE_HOOKS (v5.5.0)
|
|
986
|
+
|
|
987
|
+
For `permission-request`, `setup`, and `session-end` hook types, the fast path in `bridge-normalize.ts` is disabled. All input goes through full Zod schema validation and field whitelist filtering:
|
|
988
|
+
|
|
989
|
+
```typescript
|
|
990
|
+
// SENSITIVE_HOOKS bypass fast path → full validation always runs
|
|
991
|
+
if (SENSITIVE_HOOKS.has(hookEventName)) {
|
|
992
|
+
return zodValidate(input); // never fast-path
|
|
993
|
+
}
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
### Kill Switch
|
|
997
|
+
|
|
998
|
+
- `DISABLE_OMC=1` — disable all hooks
|
|
999
|
+
- `OMC_SKIP_HOOKS=keyword-detector,pre-tool-use` — skip specific hooks by name
|
|
1000
|
+
|
|
1001
|
+
---
|
|
1002
|
+
|
|
1003
|
+
## Windows Support (v5.5.x)
|
|
1004
|
+
|
|
1005
|
+
All Windows-specific fixes shipped in v5.5.0–v5.5.1:
|
|
1006
|
+
|
|
1007
|
+
| Issue | Fix | File |
|
|
1008
|
+
|-------|-----|------|
|
|
1009
|
+
| Windows paths fail in ESM `import()` | `pathToFileURL(path).href` | `src/features/rate-limit-wait/daemon.ts` |
|
|
1010
|
+
| `which` not available on Windows | Use `where` when `process.platform === 'win32'` | `src/features/auto-update.ts` |
|
|
1011
|
+
| Backslash paths in path comparisons | `path.relative()` + `path.resolve()` normalization | `src/hooks/subagent-tracker/index.ts`, `src/hooks/guards/pre-tool.ts` |
|
|
1012
|
+
| LSP server detection on Windows | `where` command with `.trim()` | `src/tools/lsp/servers.ts` |
|
|
1013
|
+
|
|
1014
|
+
---
|
|
1015
|
+
|
|
1016
|
+
## MCP Routing
|
|
1017
|
+
|
|
1018
|
+
### Provider Selection Guide
|
|
1019
|
+
|
|
1020
|
+
| Task Type | Preferred Provider |
|
|
1021
|
+
|-----------|------------------|
|
|
1022
|
+
| Architecture review, planning validation | Codex (`mcp__x__ask_codex`, role: `architect`) |
|
|
1023
|
+
| Code review, security analysis | Codex (role: `code-reviewer`, `security-reviewer`) |
|
|
1024
|
+
| UI/UX design review, large context | Gemini (`mcp__g__ask_gemini`, role: `designer`) |
|
|
1025
|
+
| Documentation writing | Gemini (role: `writer`) |
|
|
1026
|
+
| Step-by-step reasoning | sequential-thinking |
|
|
1027
|
+
| Task planning and decomposition | software-planning-tool |
|
|
1028
|
+
|
|
1029
|
+
### Tool Discovery
|
|
1030
|
+
|
|
1031
|
+
MCP tools are lazy-loaded. Run `ToolSearch("mcp")` before first use.
|
|
1032
|
+
|
|
1033
|
+
### Background Mode
|
|
1034
|
+
|
|
1035
|
+
```typescript
|
|
1036
|
+
mcp__x__ask_codex({
|
|
1037
|
+
agent_role: "architect",
|
|
1038
|
+
prompt: "Review the delegation-enforcer integration",
|
|
1039
|
+
background: true // returns job_id
|
|
1040
|
+
})
|
|
1041
|
+
// Later:
|
|
1042
|
+
check_job_status({ job_id })
|
|
1043
|
+
wait_for_job({ job_id, timeout: 3600 })
|
|
1044
|
+
```
|
|
1045
|
+
```
|
|
1046
|
+
|
|
1047
|
+
**Step 3: Commit**
|
|
1048
|
+
|
|
1049
|
+
```bash
|
|
1050
|
+
git add docs/FEATURES.md
|
|
1051
|
+
git commit -m "docs: rewrite FEATURES.md for v5.5.5 (delegation-enforcer, Axiom, Windows support)"
|
|
1052
|
+
```
|
|
1053
|
+
|
|
1054
|
+
---
|
|
1055
|
+
|
|
1056
|
+
## Task 5: Update CHANGELOG.md
|
|
1057
|
+
|
|
1058
|
+
**Files:**
|
|
1059
|
+
- Modify: `CHANGELOG.md` (prepend v5.5.0–v5.5.4 entries before existing v5.5.5 entry)
|
|
1060
|
+
- Read first: `CHANGELOG.md` (find the `## [5.5.5]` line)
|
|
1061
|
+
|
|
1062
|
+
**Step 1: Read current CHANGELOG**
|
|
1063
|
+
|
|
1064
|
+
Read `CHANGELOG.md` to find the exact line of `## [5.5.5]`.
|
|
1065
|
+
|
|
1066
|
+
**Step 2: Insert new entries above the v5.5.5 block**
|
|
1067
|
+
|
|
1068
|
+
Insert the following block immediately before the `## [5.5.5]` line:
|
|
1069
|
+
|
|
1070
|
+
```markdown
|
|
1071
|
+
## [5.5.4] - 2026-03-02
|
|
1072
|
+
### Code Quality
|
|
1073
|
+
- Expand `generatePromptId` entropy from 4 to 8 bytes
|
|
1074
|
+
- Add 4MB prompt size limit to `executeGemini` in gemini-core.ts
|
|
1075
|
+
- Unify catch blocks across notepads-tools.ts to return `isError: true`
|
|
1076
|
+
- Replace hardcoded `ALLOWED_BOUNDARIES` with dynamic calculation in skills-tools
|
|
1077
|
+
|
|
1078
|
+
## [5.5.3] - 2026-03-02
|
|
1079
|
+
### Documentation & Namespace
|
|
1080
|
+
- Replace all `superpowers:` prefix residuals with `ultrapower:` across commands/skills/docs
|
|
1081
|
+
- Add deprecation notice for legacy namespace with user migration hints
|
|
1082
|
+
- Sync AGENTS.md version number and agent count with package.json
|
|
1083
|
+
- Fix `$` anchor in bump-version.mjs version regex to prevent false matches
|
|
1084
|
+
- Fix ax-status SKILL.md path reference to .omc/axiom/active_context.md
|
|
1085
|
+
- Add GitHub Actions windows-latest CI matrix for Windows regression validation
|
|
1086
|
+
|
|
1087
|
+
## [5.5.2] - 2026-03-02
|
|
1088
|
+
### Feature
|
|
1089
|
+
- Add delegation-enforcer: auto-inject model tier for Task/Agent calls when unspecified
|
|
1090
|
+
- explore/style-reviewer/writer → haiku; most agents → sonnet; architect/planner → opus
|
|
1091
|
+
- Explicit model parameters are never overridden
|
|
1092
|
+
|
|
1093
|
+
## [5.5.1] - 2026-03-02
|
|
1094
|
+
### Fix (Windows & Features)
|
|
1095
|
+
- Fix `which`/`where` platform branch in auto-update.ts for Windows compatibility
|
|
1096
|
+
- Fix path comparisons: use `path.relative()` in subagent-tracker, `path.resolve()` in pre-tool guards
|
|
1097
|
+
- Add 60-second timeout cap to `handleWaitForJob` to prevent event loop blocking
|
|
1098
|
+
- Fix `handleKillJob` operation order: kill process before writing status file
|
|
1099
|
+
|
|
1100
|
+
## [5.5.0] - 2026-03-02
|
|
1101
|
+
### Security
|
|
1102
|
+
- Add `assertValidMode()` path traversal guard at state_read/state_write handler entry
|
|
1103
|
+
- Replace `execSync` string interpolation with `execFileSync` in LSP servers.ts
|
|
1104
|
+
- Disable `isAlreadyCamelCase()` fast path for SENSITIVE_HOOKS in bridge-normalize.ts
|
|
1105
|
+
- Fix `Atomics.wait()` TypeError on main thread: fall back to setTimeout in subagent-tracker and session-registry
|
|
1106
|
+
- Fix Windows ESM import: use `pathToFileURL(modulePath).href` in daemon.ts
|
|
1107
|
+
- Replace `JSON.stringify` config injection with UUID tmpfile + env-var pattern in daemon.ts
|
|
1108
|
+
- Add 64MB buffer cap and `clearTimeout` on disconnect in LSP client.ts
|
|
1109
|
+
|
|
1110
|
+
```
|
|
1111
|
+
|
|
1112
|
+
**Step 3: Verify insertion is correct**
|
|
1113
|
+
|
|
1114
|
+
```bash
|
|
1115
|
+
grep -n "## \[5\.5\." CHANGELOG.md | head -10
|
|
1116
|
+
```
|
|
1117
|
+
|
|
1118
|
+
Expected: lines for 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5 in order
|
|
1119
|
+
|
|
1120
|
+
**Step 4: Commit**
|
|
1121
|
+
|
|
1122
|
+
```bash
|
|
1123
|
+
git add CHANGELOG.md
|
|
1124
|
+
git commit -m "docs(changelog): add v5.5.0-v5.5.4 entries (Batch 1-4 fixes)"
|
|
1125
|
+
```
|
|
1126
|
+
|
|
1127
|
+
---
|
|
1128
|
+
|
|
1129
|
+
## Task 6: Update docs/standards/ version numbers
|
|
1130
|
+
|
|
1131
|
+
**Files:**
|
|
1132
|
+
- Modify: `docs/standards/README.md` (5.0.22 → 5.5.5)
|
|
1133
|
+
- Modify: `docs/standards/runtime-protection.md` (5.0.21 → 5.5.5)
|
|
1134
|
+
- Modify: `docs/standards/hook-execution-order.md` (5.0.21 → 5.5.5)
|
|
1135
|
+
- Modify: `docs/standards/state-machine.md` (5.0.21 → 5.5.5)
|
|
1136
|
+
- Modify: `docs/standards/agent-lifecycle.md` (5.0.21 → 5.5.5)
|
|
1137
|
+
- Modify: `docs/standards/user-guide.md` (5.0.21 → 5.5.5)
|
|
1138
|
+
- Modify: `docs/standards/anti-patterns.md` (5.0.21 → 5.5.5)
|
|
1139
|
+
- Modify: `docs/standards/contribution-guide.md` (5.0.21 → 5.5.5)
|
|
1140
|
+
- Modify: `docs/standards/audit-report.md` (5.0.22 → 5.5.5)
|
|
1141
|
+
|
|
1142
|
+
**Step 1: Batch replace version strings**
|
|
1143
|
+
|
|
1144
|
+
```bash
|
|
1145
|
+
cd docs/standards
|
|
1146
|
+
# Replace 5.0.21 with 5.5.5 in all files
|
|
1147
|
+
sed -i 's/version: 5\.0\.21/version: 5.5.5/g' runtime-protection.md hook-execution-order.md state-machine.md agent-lifecycle.md user-guide.md anti-patterns.md contribution-guide.md
|
|
1148
|
+
# Replace 5.0.22 with 5.5.5
|
|
1149
|
+
sed -i 's/version: 5\.0\.22/version: 5.5.5/g' README.md audit-report.md
|
|
1150
|
+
# Update 'updated' dates
|
|
1151
|
+
sed -i 's/updated: 2026-02-[0-9]*/updated: 2026-03-02/g' *.md
|
|
1152
|
+
```
|
|
1153
|
+
|
|
1154
|
+
**Step 2: Verify**
|
|
1155
|
+
|
|
1156
|
+
```bash
|
|
1157
|
+
grep -r "version: 5\.0\." docs/standards/
|
|
1158
|
+
```
|
|
1159
|
+
|
|
1160
|
+
Expected: no output (zero matches)
|
|
1161
|
+
|
|
1162
|
+
```bash
|
|
1163
|
+
grep -r "version: 5\.5\.5" docs/standards/ | wc -l
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
Expected: 9
|
|
1167
|
+
|
|
1168
|
+
**Step 3: Also add note to audit-report.md that standards were updated for v5.5.5**
|
|
1169
|
+
|
|
1170
|
+
Append to `docs/standards/audit-report.md`:
|
|
1171
|
+
|
|
1172
|
+
```markdown
|
|
1173
|
+
|
|
1174
|
+
---
|
|
1175
|
+
|
|
1176
|
+
## v5.5.5 Update Note (2026-03-02)
|
|
1177
|
+
|
|
1178
|
+
Standards version updated from 5.0.21/5.0.22 to 5.5.5 to align with package version.
|
|
1179
|
+
Key changes reflected in this version:
|
|
1180
|
+
- `runtime-protection.md`: `assertValidMode()` whitelist documented for state_read/state_write
|
|
1181
|
+
- `hook-execution-order.md`: SENSITIVE_HOOKS fast-path bypass documented
|
|
1182
|
+
- `state-machine.md`: delegation-enforcer model injection added to pre-tool-use flow
|
|
1183
|
+
- `agent-lifecycle.md`: Atomics.wait main-thread fix documented
|
|
1184
|
+
- `contribution-guide.md`: Windows CI matrix requirement added
|
|
1185
|
+
```
|
|
1186
|
+
|
|
1187
|
+
**Step 4: Commit**
|
|
1188
|
+
|
|
1189
|
+
```bash
|
|
1190
|
+
git add docs/standards/
|
|
1191
|
+
git commit -m "docs(standards): update version numbers 5.0.21/5.0.22 → 5.5.5"
|
|
1192
|
+
```
|
|
1193
|
+
|
|
1194
|
+
---
|
|
1195
|
+
|
|
1196
|
+
## Task 7: Clean up outdated files
|
|
1197
|
+
|
|
1198
|
+
**Files:**
|
|
1199
|
+
- Delete: `docs/reviews/ultrapower-full-bugfix-plan/` (entire directory)
|
|
1200
|
+
- Delete: `docs/reviews/draft-prd-ultrapower-pain-fix/` (entire directory)
|
|
1201
|
+
- Delete: `docs/reviews/draft_prd_pain_points/` (entire directory)
|
|
1202
|
+
- Delete: `docs/prd/ultrapower-standards-draft.md`
|
|
1203
|
+
- Delete: `docs/prd/ultrapower-standards-rough.md`
|
|
1204
|
+
- Keep: `docs/reviews/ultrapower-pain-points/` (original pain points, historical value)
|
|
1205
|
+
- Keep: `docs/reviews/ultrapower-standards/` (standards review, active reference)
|
|
1206
|
+
|
|
1207
|
+
**Step 1: Confirm files exist before deletion**
|
|
1208
|
+
|
|
1209
|
+
```bash
|
|
1210
|
+
ls docs/reviews/
|
|
1211
|
+
ls docs/prd/
|
|
1212
|
+
```
|
|
1213
|
+
|
|
1214
|
+
**Step 2: Delete stale directories and files**
|
|
1215
|
+
|
|
1216
|
+
```bash
|
|
1217
|
+
rm -rf docs/reviews/ultrapower-full-bugfix-plan
|
|
1218
|
+
rm -rf docs/reviews/draft-prd-ultrapower-pain-fix
|
|
1219
|
+
rm -rf docs/reviews/draft_prd_pain_points
|
|
1220
|
+
rm -f docs/prd/ultrapower-standards-draft.md
|
|
1221
|
+
rm -f docs/prd/ultrapower-standards-rough.md
|
|
1222
|
+
```
|
|
1223
|
+
|
|
1224
|
+
**Step 3: Verify remaining docs/reviews/ content**
|
|
1225
|
+
|
|
1226
|
+
```bash
|
|
1227
|
+
ls docs/reviews/
|
|
1228
|
+
```
|
|
1229
|
+
|
|
1230
|
+
Expected: `AGENTS.md ultrapower-pain-points/ ultrapower-standards/`
|
|
1231
|
+
|
|
1232
|
+
**Step 4: Commit**
|
|
1233
|
+
|
|
1234
|
+
```bash
|
|
1235
|
+
git add -A docs/reviews/ docs/prd/
|
|
1236
|
+
git commit -m "docs: remove stale review drafts and outdated PRD files"
|
|
1237
|
+
```
|
|
1238
|
+
|
|
1239
|
+
---
|
|
1240
|
+
|
|
1241
|
+
## Task 8: Merge docs/shared/ into docs/partials/
|
|
1242
|
+
|
|
1243
|
+
**Files:**
|
|
1244
|
+
- `docs/shared/` contains: `AGENTS.md`, `agent-tiers.md`, `features.md`, `mode-hierarchy.md`, `mode-selection-guide.md`, `verification-tiers.md`
|
|
1245
|
+
- `docs/partials/` contains identical files (confirmed by pre-flight scan)
|
|
1246
|
+
|
|
1247
|
+
**Step 1: Diff to confirm they are identical**
|
|
1248
|
+
|
|
1249
|
+
```bash
|
|
1250
|
+
diff docs/shared/agent-tiers.md docs/partials/agent-tiers.md
|
|
1251
|
+
diff docs/shared/features.md docs/partials/features.md
|
|
1252
|
+
diff docs/shared/mode-hierarchy.md docs/partials/mode-hierarchy.md
|
|
1253
|
+
diff docs/shared/mode-selection-guide.md docs/partials/mode-selection-guide.md
|
|
1254
|
+
diff docs/shared/verification-tiers.md docs/partials/verification-tiers.md
|
|
1255
|
+
```
|
|
1256
|
+
|
|
1257
|
+
Expected: no differences
|
|
1258
|
+
|
|
1259
|
+
**Step 2: If any diff found, copy newer content to partials/**
|
|
1260
|
+
|
|
1261
|
+
```bash
|
|
1262
|
+
# Only if diff showed differences — copy shared/ files to partials/
|
|
1263
|
+
cp docs/shared/*.md docs/partials/
|
|
1264
|
+
```
|
|
1265
|
+
|
|
1266
|
+
**Step 3: Remove docs/shared/**
|
|
1267
|
+
|
|
1268
|
+
```bash
|
|
1269
|
+
rm -rf docs/shared/
|
|
1270
|
+
```
|
|
1271
|
+
|
|
1272
|
+
**Step 4: Search for any references to docs/shared/**
|
|
1273
|
+
|
|
1274
|
+
```bash
|
|
1275
|
+
grep -r "docs/shared" docs/ skills/ commands/ --include="*.md"
|
|
1276
|
+
```
|
|
1277
|
+
|
|
1278
|
+
Expected: no output (or update any found references to point to `docs/partials/`)
|
|
1279
|
+
|
|
1280
|
+
**Step 5: Commit**
|
|
1281
|
+
|
|
1282
|
+
```bash
|
|
1283
|
+
git add -A docs/shared/ docs/partials/
|
|
1284
|
+
git commit -m "docs: merge docs/shared/ into docs/partials/ (remove duplicate)"
|
|
1285
|
+
```
|
|
1286
|
+
|
|
1287
|
+
---
|
|
1288
|
+
|
|
1289
|
+
## Task 9: Add version headers to main docs + CI verify
|
|
1290
|
+
|
|
1291
|
+
**Files:**
|
|
1292
|
+
- Verify: `docs/REFERENCE.md` (should already have header from Task 2)
|
|
1293
|
+
- Verify: `docs/ARCHITECTURE.md` (should already have header from Task 3)
|
|
1294
|
+
- Verify: `docs/FEATURES.md` (should already have header from Task 4)
|
|
1295
|
+
- Verify: `docs/MIGRATION.md` (add header if missing)
|
|
1296
|
+
|
|
1297
|
+
**Step 1: Check MIGRATION.md header**
|
|
1298
|
+
|
|
1299
|
+
```bash
|
|
1300
|
+
head -3 docs/MIGRATION.md
|
|
1301
|
+
```
|
|
1302
|
+
|
|
1303
|
+
If missing `<!-- version: ... -->`, insert:
|
|
1304
|
+
|
|
1305
|
+
```bash
|
|
1306
|
+
# Prepend version header
|
|
1307
|
+
sed -i '1s/^/<!-- version: 5.5.5, updated: 2026-03-02 -->\n/' docs/MIGRATION.md
|
|
1308
|
+
```
|
|
1309
|
+
|
|
1310
|
+
**Step 2: Run CI verification**
|
|
1311
|
+
|
|
1312
|
+
```bash
|
|
1313
|
+
npm run build
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
Expected: Build completes with no errors
|
|
1317
|
+
|
|
1318
|
+
```bash
|
|
1319
|
+
npm test 2>&1 | tail -5
|
|
1320
|
+
```
|
|
1321
|
+
|
|
1322
|
+
Expected: `X tests passed, 0 failed`
|
|
1323
|
+
|
|
1324
|
+
**Step 3: Commit if MIGRATION.md was updated**
|
|
1325
|
+
|
|
1326
|
+
```bash
|
|
1327
|
+
git add docs/MIGRATION.md
|
|
1328
|
+
git commit -m "docs: add version header to MIGRATION.md"
|
|
1329
|
+
```
|
|
1330
|
+
|
|
1331
|
+
---
|
|
1332
|
+
|
|
1333
|
+
## Task 10: Create PR to dev
|
|
1334
|
+
|
|
1335
|
+
**Step 1: Push branch**
|
|
1336
|
+
|
|
1337
|
+
```bash
|
|
1338
|
+
git push origin docs/v5.5.5-comprehensive-update
|
|
1339
|
+
```
|
|
1340
|
+
|
|
1341
|
+
**Step 2: Create PR**
|
|
1342
|
+
|
|
1343
|
+
```bash
|
|
1344
|
+
gh pr create --base dev \
|
|
1345
|
+
--title "docs: comprehensive documentation update for v5.5.5" \
|
|
1346
|
+
--body "$(cat <<'EOF'
|
|
1347
|
+
## Summary
|
|
1348
|
+
|
|
1349
|
+
- Rewrite REFERENCE.md (49 agents, 71 skills, 35 tools, 35 hooks)
|
|
1350
|
+
- Rewrite ARCHITECTURE.md (delegation-enforcer, bridge-normalize security, Axiom state machine)
|
|
1351
|
+
- Rewrite FEATURES.md (all feature systems, Windows support, Axiom integration)
|
|
1352
|
+
- Add CHANGELOG entries for v5.5.0–v5.5.4 (Batch 1–4 fixes)
|
|
1353
|
+
- Update docs/standards/ version numbers: 5.0.21/5.0.22 → 5.5.5
|
|
1354
|
+
- Remove stale review drafts and outdated PRD files
|
|
1355
|
+
- Merge docs/shared/ into docs/partials/
|
|
1356
|
+
|
|
1357
|
+
## Test plan
|
|
1358
|
+
- [ ] `npm run build` passes with no errors
|
|
1359
|
+
- [ ] `npm test` passes with 0 failures
|
|
1360
|
+
- [ ] All version numbers in docs/ match 5.5.5
|
|
1361
|
+
- [ ] `grep -r "5\.0\.2[12]" docs/` returns no results
|
|
1362
|
+
- [ ] `grep -r "docs/shared" docs/ skills/ commands/` returns no results
|
|
1363
|
+
|
|
1364
|
+
🤖 Generated with Claude Code
|
|
1365
|
+
EOF
|
|
1366
|
+
)"
|
|
1367
|
+
```
|
|
1368
|
+
|
|
1369
|
+
**Step 3: Verify PR created**
|
|
1370
|
+
|
|
1371
|
+
```bash
|
|
1372
|
+
gh pr view --web
|
|
1373
|
+
```
|
|
1374
|
+
|
|
1375
|
+
---
|
|
1376
|
+
|
|
1377
|
+
## Execution Notes
|
|
1378
|
+
|
|
1379
|
+
### Parallel Tasks
|
|
1380
|
+
|
|
1381
|
+
Tasks 2, 3, 4, 5, 6, 7 are fully independent — dispatch them in parallel using `superpowers:dispatching-parallel-agents`.
|
|
1382
|
+
|
|
1383
|
+
### Serial Tasks
|
|
1384
|
+
|
|
1385
|
+
Task 1 (branch) → Tasks 2–7 (parallel) → Task 8 (merge shared/) → Task 9 (verify) → Task 10 (PR)
|
|
1386
|
+
|
|
1387
|
+
### Verification Commands
|
|
1388
|
+
|
|
1389
|
+
```bash
|
|
1390
|
+
# After all tasks:
|
|
1391
|
+
grep -r "5\.0\.2[12]" docs/ # Expected: 0 results
|
|
1392
|
+
grep -r "docs/shared" . --include="*.md" # Expected: 0 results
|
|
1393
|
+
npm run build # Expected: 0 errors
|
|
1394
|
+
npm test 2>&1 | tail -3 # Expected: 0 failures
|
|
1395
|
+
```
|