@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
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
# Tech Feasibility Review: ultrapower 全面痛点修复计划
|
|
2
|
-
|
|
3
|
-
> 评审基于真实代码读取,所有结论均有文件行号佐证。
|
|
4
|
-
> 评审日期:2026-02-26
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 整体评分:6 / 10
|
|
9
|
-
|
|
10
|
-
**核心判断**:计划整体方向正确,P0 安全问题识别准确,但存在三处系统性低估:
|
|
11
|
-
1. 分批粒度严重不足("2个任务覆盖8个修复"的估计在实证面前站不住脚)
|
|
12
|
-
2. P0-6/P0-7 的破坏性变更风险被忽视
|
|
13
|
-
3. P1-9(delegation-enforcer 集成)被极度低估
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## 1. Architecture Impact(架构影响)
|
|
18
|
-
|
|
19
|
-
| 维度 | 状态 | 备注 |
|
|
20
|
-
|------|------|------|
|
|
21
|
-
| Schema Changes | No | 无 DB Schema,状态文件格式不变 |
|
|
22
|
-
| API Changes | Partial | P0-7 改变子进程通信协议,P1-9 改变 hook 路由 |
|
|
23
|
-
| Breaking Changes | Yes | P0-6/P0-7 对 Windows ESM 和子进程通信有破坏性风险 |
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## 2. Risk Assessment(风险评估)
|
|
28
|
-
|
|
29
|
-
- Complexity Score: **7 / 10**
|
|
30
|
-
- POC Required: **Yes**(P0-6、P0-7、P1-9 三项各需独立 POC)
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## 3. 肯定点
|
|
35
|
-
|
|
36
|
-
**P0-1(assertValidMode 缺失)**
|
|
37
|
-
实证:`src/lib/validateMode.ts` 已有完善的 `assertValidMode()` 实现(行 63-75),`src/features/state-manager/index.ts` 的 `getStatePath()`(行 82-86)直接拼接 `name` 参数而未校验。修复方向正确,改动局部,工作量真实,无破坏性。
|
|
38
|
-
|
|
39
|
-
**P0-2(execSync 字符串拼接)**
|
|
40
|
-
实证:`src/features/auto-update.ts` 行 611 存在 `execSync('which omc 2>/dev/null || where omc 2>NUL', ...)` 的 Shell 字符串拼接,属于真实命令注入面。改用 `execFileSync('which', ['omc'])` 方案正确,改动范围可控。
|
|
41
|
-
|
|
42
|
-
**P0-4(gemini --yolo 硬编码)**
|
|
43
|
-
实证:`src/mcp/gemini-core.ts` 行 89 确认 `args = ['-p=.', '--yolo']` 硬编码,`src/team/mcp-team-bridge.ts` 行 347 亦有同样问题。改为环境变量 `OMC_GEMINI_YOLO` 方案合理,不影响调用协议。
|
|
44
|
-
|
|
45
|
-
**P2-1(superpowers: 命名空间)**
|
|
46
|
-
实证:全代码库对 `superpowers:` 的 grep 结果为 0 条,说明该命名空间残留已不存在或极少。批量替换风险远低于 PRD 描述,可能已由之前版本清理完毕。
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## 4. 差异点/问题
|
|
51
|
-
|
|
52
|
-
### D-TL-01: P0-1 修复范围被低估——存在两个独立的 getStatePath 实现
|
|
53
|
-
|
|
54
|
-
- 严重度: HIGH
|
|
55
|
-
- 描述: PRD 描述"在 getStatePath() 入口添加 assertValidMode()",但实际代码中存在**两个完全独立**的 `getStatePath` 函数:
|
|
56
|
-
- `src/features/state-manager/index.ts`(行 82-86):接受 `name: string` + `location: StateLocation`,通过 `StateLocation` 枚举约束,`name` 参数无白名单校验。
|
|
57
|
-
- `src/tools/state-tools.ts`(行 50):接受 `mode: StateToolMode`,通过自定义类型约束,需独立评估。
|
|
58
|
-
两处都需要修复,但修复方式不同——前者需要 `assertValidMode`,后者需要验证其 `StateToolMode` 类型是否已覆盖所有路径。PRD 仅提及一处,实际工作量加倍。
|
|
59
|
-
- 建议: 修复前须对 `getStatePath` 的所有调用点做全量 grep 扫描,确认两处均已处理。
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
### D-TL-02: P0-3(release-steps.mjs)问题描述与实际代码不符
|
|
64
|
-
|
|
65
|
-
- 严重度: MEDIUM
|
|
66
|
-
- 描述: PRD 称"release-steps.mjs 存在 `git push origin main`",但读取实际文件(行 1-60)后,该文件**不包含** `git push origin main`。它包含的是 `npm publish`、`gh release create`、`run('tsc --noEmit')` 等操作,均通过封装函数 `run()` 调用 execSync,且有 dryRun 保护。若原始问题已不存在,此修复是无效工作;若问题存在于未读取的后半段,PRD 未精确定位。
|
|
67
|
-
- 建议: 重新精确定位问题行号再排入修复计划。若已不存在,从 P0 清单移除,避免浪费 Batch 1 预算。
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
### D-TL-03: P0-6(Windows ESM)修复方案存在破坏性变更风险
|
|
72
|
-
|
|
73
|
-
- 严重度: HIGH
|
|
74
|
-
- 描述: PRD 提出将模块路径改为 `pathToFileURL(modulePath).href`。查看 `src/hooks/bridge.ts` 末尾(行 1252):`if (import.meta.url === pathToFileURL(process.argv[1]).href)` —— 项目**已经使用** `pathToFileURL`,说明部分路径已修复,但并非全量。真正的风险在于:动态 `import(modulePath)` 在 Windows 上若 `modulePath` 是绝对 Win32 路径(如 `C:\Users\...`),Node.js ESM loader 会拒绝,必须转为 file URL。但改动后,所有**依赖原始路径字符串做字符串比对**的逻辑(如 `existsSync`、`readFileSync`)必须保留原始路径,只有 `import()` 动态调用才用 URL 形式。混用容易引入 URL/path 类型混乱 bug。
|
|
75
|
-
- 建议: 需要一个专项 POC,在真实 Windows 环境下验证改动不破坏懒加载模块链(bridge.ts 中大量 `await import('./ralph/index.js')` 等)。不能凭推理假设安全。
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
### D-TL-04: P0-7(JSON.stringify 注入)修复方案对 daemon 通信机制改变被低估
|
|
80
|
-
|
|
81
|
-
- 严重度: HIGH
|
|
82
|
-
- 描述: PRD 提出"通过 stdin/环境变量传递 config 而非 JSON.stringify 字符串拼接"。`src/mcp/codex-core.ts`(行 292-293)已经使用 stdin 传递 prompt(`child.stdin.write(prompt); child.stdin.end()`),说明 prompt 通道已安全。但若 config 对象从 JSON.stringify 改为环境变量,会引入:
|
|
83
|
-
1. 环境变量大小限制(Windows 单变量上限约 32767 字节,Linux 通常 128KB ARG_MAX 总量)——若 config 较大,会静默截断。
|
|
84
|
-
2. 子进程环境变量继承链污染——敏感 config 字段暴露在 `/proc/{pid}/environ`(Linux)或任务管理器(Windows)中,安全性反而降低。
|
|
85
|
-
3. 若改为 stdin,则与现有 prompt stdin 管道冲突,需要协议设计(如 JSON framing)。
|
|
86
|
-
PRD 未分析任何一条,就定性为"修复方案",风险评估缺失。
|
|
87
|
-
- 建议: 明确区分哪个调用点的哪种数据存在注入风险,分别选择最小侵入方案。不得笼统套用"改为 stdin"方案。
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
### D-TL-05: Batch 1 "2个任务覆盖8个修复"严重低估工作量
|
|
92
|
-
|
|
93
|
-
- 严重度: HIGH
|
|
94
|
-
- 描述: PRD 的分批声称"Batch 1:8个修复(P0-1~7 + P1-6/7),估计2个任务"。按照实际代码复杂度分解:
|
|
95
|
-
- P0-1:涉及 2 个独立 getStatePath 实现 + 全量调用点审查(见 D-TL-01)
|
|
96
|
-
- P0-2:execSync 实例分散在 auto-update.ts、teleport.ts、providers/index.ts 等多个文件
|
|
97
|
-
- P0-3:定位问题存疑(见 D-TL-02)
|
|
98
|
-
- P0-4:gemini-core.ts + mcp-team-bridge.ts 两处硬编码 + 环境变量文档
|
|
99
|
-
- P0-5:需要找到角色列表加载逻辑并重构错误处理
|
|
100
|
-
- P0-6:Windows ESM 全量扫描 + POC 验证(见 D-TL-03)
|
|
101
|
-
- P0-7:协议设计决策 + 实现(见 D-TL-04)
|
|
102
|
-
- P1-6/7:计时器泄漏修复,需要找到所有 setTimeout 调用点
|
|
103
|
-
保守估计:Batch 1 实际工作量为 **6-8 个独立任务**,而非 2 个。低估超过 3 倍会直接导致执行阶段范围蔓延和计划失控。
|
|
104
|
-
- 建议: 按实际修复项 1:1 拆分任务,不允许将 POC 工作与实现工作合并计入同一任务。
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
### D-TL-06: P1-9(delegation-enforcer 集成到 bridge.ts processHook)复杂度被极度低估
|
|
109
|
-
|
|
110
|
-
- 严重度: HIGH
|
|
111
|
-
- 描述: PRD 描述为"bridge.ts processHook 集成 delegation-enforcer",表述像一行调用。但阅读实际代码后:
|
|
112
|
-
1. `src/hooks/bridge.ts` 的 `processPreToolUse()`(行 765-895)已经调用 `processOrchestratorPreTool()`(行 769-783),后者来自 `./omc-orchestrator/index.ts`,已经是 delegation 检查的入口。
|
|
113
|
-
2. `src/features/delegation-enforcer.ts` 的 `enforceModel()` 是独立的模型注入逻辑,与 orchestrator 的 delegation 检查是**两个不同维度**的功能。
|
|
114
|
-
3. 若目的是在 `processHook` 中集成 `delegation-enforcer`,需要明确:在哪个 hook type 注入、修改哪个 toolInput 字段、是否影响现有 `processOrchestratorPreTool` 的 `continue: false` 路径、如何处理 `modifiedInput` 返回给 Claude Code 的协议。
|
|
115
|
-
4. `src/__tests__/delegation-enforcer-integration.test.ts` 已存在集成测试,说明之前有过集成尝试,需要理解其当前状态。
|
|
116
|
-
真实工作量:需要 1 个完整的设计文档 + 至少 3 个任务(设计、实现、测试)。
|
|
117
|
-
- 建议: 在 Batch 2 中将 P1-9 单独拆分为子 PRD,明确接口定义和集成协议,不允许以"一行调用"级别的估计进入执行。
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
### D-TL-07: P2 测试新增"各≥10 cases"目标与项目测试现状不匹配
|
|
122
|
-
|
|
123
|
-
- 严重度: MEDIUM
|
|
124
|
-
- 描述: vitest.config.ts 显示测试超时 30s、使用 forks pool,项目已有 210 个测试文件(来自 find 统计)。PRD 要求新增 3 个测试文件各≥10 cases(atomic-write、version、hooks),但:
|
|
125
|
-
1. `src/__tests__/atomic-write` 和 `src/__tests__/validateMode.test.ts` 可能已存在,需要先确认现状。
|
|
126
|
-
2. `hooks` 测试文件已有 `src/hooks/__tests__/bridge-routing.test.ts`,新增文件需要明确与已有测试的边界划分。
|
|
127
|
-
3. 10 cases 的数量目标很低,但也意味着测试覆盖意图不够清晰——缺少具体的测试场景描述(正常路径、边界情况、错误路径各几个),执行者将难以判断"完成"。
|
|
128
|
-
- 建议: 对每个测试文件提供具体场景列表(不需要代码,需要场景名称),而非仅声明数量目标。
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
### D-TL-08: P2 命名空间替换"superpowers: → ultrapower:"风险被高估,但验证方案缺失
|
|
133
|
-
|
|
134
|
-
- 严重度: LOW
|
|
135
|
-
- 描述: 实际 grep 结果显示全代码库(src + scripts,排除 node_modules/dist)中 `superpowers:` 出现 **0 次**,说明该替换可能已完成或从未存在。PRD 将其列为 P2 修复项消耗评审资源,但若替换已完成,此项为无效工作。
|
|
136
|
-
另一方面,若问题存在于 dist/、templates/ 或文档文件(.md、.json)中,PRD 未说明替换范围。
|
|
137
|
-
- 建议: 在计划开始前做一次全量扫描(包含 dist、docs、templates),若结果为 0 则从计划移除,若有遗留则精确定位文件列表后再评估工作量。
|
|
138
|
-
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
### D-TL-09: 验收标准"Windows 真实环境验证"缺乏 CI 自动化路径
|
|
142
|
-
|
|
143
|
-
- 严重度: MEDIUM
|
|
144
|
-
- 描述: PRD 将"Windows 真实验证"列为验收标准之一,但:
|
|
145
|
-
1. 当前 vitest.config.ts 未配置任何平台矩阵,测试默认在当前平台运行。
|
|
146
|
-
2. GitHub Actions 上添加 `windows-latest` runner 需要修改 CI 配置,且 Windows 下 Node.js ESM + path 处理与 Linux 行为差异较大,需要独立的 test case。
|
|
147
|
-
3. P0-6 的 Windows ESM fix 若无 Windows CI 覆盖,则验收标准在实践中无法自动化验证,退化为人工验证——这不可重复、不可持续。
|
|
148
|
-
- 建议: 将"Windows CI 矩阵配置"作为独立任务加入 Batch 3,在 P0-6 修复合并前完成,使验收标准可在 CI 中自动化执行。
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
### D-TL-10: 整体修复计划缺少依赖关系图,执行顺序存在隐性风险
|
|
153
|
-
|
|
154
|
-
- 严重度: MEDIUM
|
|
155
|
-
- 描述: 各修复项之间存在未声明的依赖关系:
|
|
156
|
-
- P0-1(assertValidMode 调用)依赖 `validateMode.ts` 本身正确——若 VALID_MODES 白名单有遗漏,修复引入新 bug。当前白名单为 8 个模式,但 `src/tools/state-tools.ts` 中的 `StateToolMode` 可能包含额外模式(如 ralplan),需要对齐。
|
|
157
|
-
- P0-6(Windows ESM)与 P0-7(stdin 传递)若同时修改子进程通信路径,合并冲突概率极高,必须串行而非并行。
|
|
158
|
-
- P1-9(delegation-enforcer)依赖 bridge.ts 的 `processPreToolUse` 路径,而 P0-2 的 execSync 修复也涉及同一文件区域,若并行执行会产生冲突。
|
|
159
|
-
- P2 测试文件依赖 P0/P1 修复完成后的稳定接口,不应在修复期间同步开发。
|
|
160
|
-
- 建议: 在执行前绘制简单的依赖 DAG(有向无环图),将存在冲突的修复项明确标记为串行。
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## 5. Implementation Plan(大致实现计划)
|
|
165
|
-
|
|
166
|
-
**建议重构后的分批方案:**
|
|
167
|
-
|
|
168
|
-
**Batch 1(P0 安全,串行):10-12 个任务**
|
|
169
|
-
- 1a. 全量扫描 getStatePath 调用点,确认两处实现(state-manager + state-tools)均需修复
|
|
170
|
-
- 1b. 修复 state-manager/index.ts 中 getStatePath + readState 路径
|
|
171
|
-
- 1c. 修复 state-tools.ts 中独立 getStatePath(若需要)
|
|
172
|
-
- 1d. execSync 字符串拼接全量替换(auto-update.ts + 其他文件)
|
|
173
|
-
- 1e. P0-3 重新定位问题,若存在则修复
|
|
174
|
-
- 1f. gemini-core.ts + mcp-team-bridge.ts --yolo 环境变量化
|
|
175
|
-
- 1g. P0-5 角色列表静默失败修复
|
|
176
|
-
- 1h. **POC**:Windows ESM import URL 修复验证
|
|
177
|
-
- 1i. P0-6 全量实施(依赖 1h POC 通过)
|
|
178
|
-
- 1j. **POC**:P0-7 子进程 config 传递方案(stdin framing vs 环境变量上限评估)
|
|
179
|
-
- 1k. P0-7 实施(依赖 1j POC 通过)
|
|
180
|
-
- 1l. P1-6/7 计时器泄漏修复
|
|
181
|
-
|
|
182
|
-
**Batch 2(P1 稳定性,部分并行):8 个任务**
|
|
183
|
-
- 2a-e. P1-1~5(platform 分支、path.relative、path.resolve、tmpdir、executionCounters)
|
|
184
|
-
- 2f. P1-8(返回 false/抛出未实现错误)
|
|
185
|
-
- 2g. P1-10(等待时间上限)
|
|
186
|
-
- 2h. P1-11(先 kill 再写状态)
|
|
187
|
-
|
|
188
|
-
**Batch 3(P1-9 delegation-enforcer,需独立子 PRD):3 个任务**
|
|
189
|
-
- 3a. 设计文档:明确集成接口、hook type 范围、modifiedInput 协议
|
|
190
|
-
- 3b. 实现
|
|
191
|
-
- 3c. 集成测试补充
|
|
192
|
-
|
|
193
|
-
**Batch 4(P2 + Windows CI):5 个任务**
|
|
194
|
-
- 4a. superpowers: 全量扫描确认(若 0 结果则关闭)
|
|
195
|
-
- 4b. 测试文件新增(有具体场景列表)
|
|
196
|
-
- 4c. Windows CI 矩阵配置(GitHub Actions)
|
|
197
|
-
- 4d. 文档版本号同步
|
|
198
|
-
- 4e. 回归验证(4698+ 测试零回归)
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
## 6. Conclusion(结论)
|
|
203
|
-
|
|
204
|
-
- **评审决定:POC Required(需原型验证后方可执行)**
|
|
205
|
-
- **理由:P0-6、P0-7、P1-9 三项存在未验证的技术假设,若直接进入 Batch 1 全量实施,有较高概率在 Windows 平台或子进程通信层引入回归。**
|
|
206
|
-
|
|
207
|
-
**必须在 Batch 1 正式开始前完成的 POC:**
|
|
208
|
-
1. Windows ESM import URL 修复(P0-6)——在真实 Windows 环境验证动态 import 路径
|
|
209
|
-
2. 子进程 config 传递方案选型(P0-7)——验证 stdin framing 与现有 prompt stdin 不冲突
|
|
210
|
-
|
|
211
|
-
**估计工作量:**
|
|
212
|
-
- 原 PRD 估计:约 8 个任务
|
|
213
|
-
- 修订后估计:**约 28-34 个任务**(含 POC、Windows CI、P1-9 子 PRD)
|
|
214
|
-
- 日历时间:依团队规模,预计 **3-5 周**(非 2 批次即可完成)
|
|
215
|
-
|
|
216
|
-
**不可协商的前提条件:**
|
|
217
|
-
- P0-6 和 P0-7 必须有 Windows 真实环境 POC 通过后才能合并
|
|
218
|
-
- P1-9 必须有设计文档经评审后才能进入实现
|
|
219
|
-
- 所有 Batch 之间必须通过完整测试套件(4698+ cases zero regression)才能进入下一 Batch
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
# Domain Expert Review: ultrapower 项目全面痛点修复计划
|
|
2
|
-
|
|
3
|
-
**评审时间:** 2026-03-01
|
|
4
|
-
**评审人角色:** Domain Expert(业务逻辑与行业标准专家)
|
|
5
|
-
**评审对象:** Draft PRD — ultrapower 项目全面痛点修复计划
|
|
6
|
-
**代码基线版本:** v5.4.8
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## 整体评分:7 / 10
|
|
11
|
-
|
|
12
|
-
PRD 体现了扎实的代码扫描能力,问题发现覆盖面广(118 项)。但部分安全严重度评级存在偏差:P0-3 被高估、P0-5 被低估;P1-9 的业务价值分析缺失导致优先级判断失准;测试补全(P2-8~10)的优先级相对行业标准偏低。总体修复逻辑符合现实,行业标准对齐尚可,但仍有若干领域缺陷需要修正。
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## 肯定点
|
|
17
|
-
|
|
18
|
-
1. **安全分层清晰。** P0 到 P3 的四级分层与 OWASP/CVSS 的严重度分级理念一致,有利于工程团队按优先级交付。
|
|
19
|
-
|
|
20
|
-
2. **P0-1 路径遍历问题定位准确。** `getStatePath()` 在 state-manager 中接受外部传入的 `name` 参数并直接拼接路径,经代码核查确认未调用 `assertValidMode()`,漏洞属实。该修复符合项目自身 `docs/standards/runtime-protection.md` 的 P0 安全规则。
|
|
21
|
-
|
|
22
|
-
3. **P0-7 daemon.ts 动态代码注入的发现有价值。** 将 `JSON.stringify(cfg)` 注入 Node.js `-e` 脚本字符串,当 `config` 中含有反引号、特殊字符或换行时确实可破坏语法,属于真实的代码注入向量,定级 P0 合理。
|
|
23
|
-
|
|
24
|
-
4. **P1-11 kill/write 顺序颠倒是典型的 TOCTOU 问题。** 先写状态后 kill 进程,若 kill 失败状态已损坏,无法自愈。修复方向(先 kill 成功再写状态)符合事务性操作的行业最佳实践。
|
|
25
|
-
|
|
26
|
-
5. **P1 Windows 兼容性问题识别系统化。** 覆盖了 shell 命令、路径分隔符、`/tmp` 依赖等常见跨平台陷阱,适配策略(`process.platform` 分支、`os.tmpdir()`、`path.relative()`)均为 Node.js 生态标准做法。
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## 差异点 / 问题
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
### D-DE-01:P0-3(git push origin main)严重度高估,应降级为 P2
|
|
35
|
-
|
|
36
|
-
- **严重度:** MEDIUM(评审意见,当前 PRD 定级 P0)
|
|
37
|
-
- **描述:**
|
|
38
|
-
|
|
39
|
-
P0-3 的理由是"违反 CLAUDE.md 分支策略规范(默认分支为 dev,禁止直接推送 main)"。但从业务逻辑视角评估:
|
|
40
|
-
|
|
41
|
-
1. **触发路径受控。** `git push origin main` 位于 `scripts/release-steps.mjs` 的 `syncMarketplace()` 函数中。该脚本是 CI/GitHub Actions 的发布管道入口,并非任意开发者日常调用路径。攻击面极度受限。
|
|
42
|
-
2. **运行时已有 dry-run 保护。** 函数签名包含 `dryRun = false` 参数,所有调用点均支持 `--dry-run` 旁路,不会意外执行。
|
|
43
|
-
3. **与 P0-7(代码注入)的危害不可同日而语。** P0-7 可被任意具有 config 写权限的路径触发代码执行;P0-3 至多造成分支规范违反,不涉及权限提升、数据泄露或服务中断。
|
|
44
|
-
|
|
45
|
-
按 CVSS v3.1 维度:影响范围(Scope)=局部,保密性/完整性影响=低,利用难度=高(需 CI 触发)。综合评分约 3.1,应归 P2(流程规范问题)而非 P0(安全漏洞)。
|
|
46
|
-
|
|
47
|
-
- **建议:** 将 P0-3 移至 P2 分组,标注"分支策略合规修复"。修复方式:删除 `git push origin main` 改走 PR 流程,或改为 `git push origin HEAD:dev`,并在 CI YAML 中加 branch protection check。
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
### D-DE-02:P0-4(--yolo 标志)风险评估需补充 Gemini CLI 行为语义
|
|
52
|
-
|
|
53
|
-
- **严重度:** MEDIUM
|
|
54
|
-
- **描述:**
|
|
55
|
-
|
|
56
|
-
PRD 将 `--yolo` 定级 P0,理由是"禁用所有安全确认,生产环境安全风险"。但需补充领域背景:
|
|
57
|
-
|
|
58
|
-
1. **`--yolo` 是 Gemini CLI 的非交互模式标志。** 其作用是跳过用户确认提示(类似 `--yes` / `--non-interactive`),使 CLI 在自动化管道中可无人值守运行,属于工具设计的标准用法。
|
|
59
|
-
2. **在 MCP 服务器上下文中,非交互模式是必要的。** ultrapower 将 Gemini CLI 作为子进程调用,进程标准输入不连接终端,若不传 `--yolo`,CLI 遇到确认提示会永久阻塞。
|
|
60
|
-
3. **真实风险在于"无法关闭"而非"标志本身"。** 若某些 Gemini CLI 版本的 `--yolo` 额外禁用了内容过滤或沙箱,硬编码确实不可接受。
|
|
61
|
-
|
|
62
|
-
因此风险核心是"缺乏可配置性以应对未来 CLI 行为变更",而非当前的代码注入或权限提升。严重度介于 P0 与 P1 之间。
|
|
63
|
-
|
|
64
|
-
- **建议:** 维持现有定级(P0 可接受),但修复描述应精确化:新增 `OMC_GEMINI_YOLO` 环境变量控制,并在文档中明确 `--yolo` 的语义边界。如 Gemini CLI 未来版本收紧此标志含义,需重新评估。
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
### D-DE-03:P0-5(prompt-injection 静默失败)严重度被低估
|
|
69
|
-
|
|
70
|
-
- **严重度:** HIGH(当前 PRD 列为 P0 但描述轻描淡写,修复方案不足)
|
|
71
|
-
- **描述:**
|
|
72
|
-
|
|
73
|
-
经代码核查(`src/mcp/prompt-injection.ts:93-97`),失败路径的现状是:
|
|
74
|
-
|
|
75
|
-
```typescript
|
|
76
|
-
} catch (err) {
|
|
77
|
-
console.error('[prompt-injection] CRITICAL: Could not scan agents/ directory...');
|
|
78
|
-
_cachedRoles = [];
|
|
79
|
-
}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
实际代码已有 `console.error` 日志输出(非"静默"),但 PRD 描述为"无任何错误日志"——此描述与源码不符,存在事实偏差。
|
|
83
|
-
|
|
84
|
-
真正的业务风险是:`_cachedRoles = []` 导致 `VALID_AGENT_ROLES` 为空数组,下游 `resolveSystemPrompt` 中的角色验证全部失败,所有 agent_role 参数被拒绝,MCP 工具退化为无角色模式——这是功能性降级,不是安全漏洞。
|
|
85
|
-
|
|
86
|
-
- **建议:**
|
|
87
|
-
1. 修正 PRD 中的事实描述(代码已有错误日志)。
|
|
88
|
-
2. 补充 fallback 硬编码列表(真实业务需求)。
|
|
89
|
-
3. 考虑从 P0 降级为 P1(功能稳定性问题,无安全向量)。
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
### D-DE-04:P0-6(daemon.ts Windows ESM import)已有部分缓解措施,评估需更新
|
|
94
|
-
|
|
95
|
-
- **严重度:** MEDIUM
|
|
96
|
-
- **描述:**
|
|
97
|
-
|
|
98
|
-
经代码核查(`daemon.ts:424`),现有代码:
|
|
99
|
-
|
|
100
|
-
```typescript
|
|
101
|
-
const modulePath = __filename.replace(/\.ts$/, '.js');
|
|
102
|
-
const daemonScript = `import('${modulePath}')...`;
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
PRD 描述"Windows 路径 `C:\Users\...` 插入 import() 字符串导致 ESM import 失败"属实。但补充背景:
|
|
106
|
-
|
|
107
|
-
1. **该代码路径在实际 Windows 生产环境中是否被激活?** `__filename` 来自 `fileURLToPath(import.meta.url)`,在 esbuild 打包后的 CJS bundle 中,`import.meta.url` 被替换为 `{}` 导致 ESM 路径不可用——实际上打包后的 daemon 可能走不同的代码路径。
|
|
108
|
-
2. **`createMinimalDaemonEnv()` 的白名单设计体现了良好的安全意识**,PRD 未予肯定,建议保留。
|
|
109
|
-
|
|
110
|
-
- **建议:** 修复建议(`pathToFileURL(modulePath).href`)正确。但需在验收标准中补充"在打包产物上的 Windows E2E 测试",而非仅在源码层验证。
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
### D-DE-05:P1-9(delegation-enforcer 未集成)业务价值评估缺失
|
|
115
|
-
|
|
116
|
-
- **严重度:** HIGH(业务影响大,PRD 分析不足)
|
|
117
|
-
- **描述:**
|
|
118
|
-
|
|
119
|
-
PRD 将 P1-9 仅描述为"功能死区——模块存在但未被调用",缺乏业务影响量化分析。经代码阅读,`delegation-enforcer` 的核心功能是:
|
|
120
|
-
|
|
121
|
-
**当 Task/Agent 调用未显式指定 `model` 参数时,自动从 agent definitions 注入默认模型(haiku/sonnet/opus)。**
|
|
122
|
-
|
|
123
|
-
其业务影响链:
|
|
124
|
-
|
|
125
|
-
1. 若 enforcer 未集成,所有不带 `model` 参数的 Task 调用将使用 Claude Code 默认模型(通常为当前会话模型),而非 agent catalog 中定义的轻量模型(如 `explore` 应为 haiku)。
|
|
126
|
-
2. 直接后果:haiku 级任务被 sonnet/opus 执行,**每次 agent 调用成本放大 3-10x**,在高并行场景(ultrawork、team 模式)下成本损失尤为显著。
|
|
127
|
-
3. 二级后果:CLAUDE.md 中的 model_routing 规范(haiku/sonnet/opus 分级)形同虚设,用户基于分级的成本预期完全失效。
|
|
128
|
-
|
|
129
|
-
这是一个持续发生的业务损耗问题,而非一次性功能缺失。在 49 个 agents、并行编排场景下,其成本影响可能远超其他 P1 问题。
|
|
130
|
-
|
|
131
|
-
- **建议:**
|
|
132
|
-
1. 将 P1-9 提升为 P0.5 或 P1 中最高优先级。
|
|
133
|
-
2. 补充验收标准:集成后需验证 `Task({subagent_type: "ultrapower:explore"})` 在无 model 参数时实际使用 haiku,通过 MCP 日志或 mock 验证,而非仅靠单元测试。
|
|
134
|
-
3. 修复方案需注意:`bridge.ts` 中的 `processPreToolUse()`(第 765 行)目前已调用 `processOrchestratorPreTool()`,但后者未调用 `delegation-enforcer`。集成点清晰,实现难度不高。
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
### D-DE-06:P2 测试补全优先级偏低,不符合行业最佳实践
|
|
139
|
-
|
|
140
|
-
- **严重度:** MEDIUM
|
|
141
|
-
- **描述:**
|
|
142
|
-
|
|
143
|
-
PRD 将 `atomic-write`、`version`、`hooks` 三个核心 lib 的测试覆盖补全列为 P2。但从行业标准视角:
|
|
144
|
-
|
|
145
|
-
1. **`atomic-write` 无测试是 P1 级风险,而非 P2。** 原子写入是 state-manager 的最底层安全保障,该函数无测试意味着 P0-1 修复后的路径遍历防护无法被回归测试覆盖,后续修改时随时可能引入回归。测试缺失本身是安全修复的质量保障缺口。
|
|
146
|
-
2. **行业标准(Jest、Vitest 生态惯例):** 安全关键路径(路径遍历防护、原子写入)的单元测试覆盖是代码合并的必要条件(pre-merge gate),而非发布后的技术债。
|
|
147
|
-
|
|
148
|
-
- **建议:** 将 `atomic-write` 和 `validateMode` 的测试覆盖提升至 P1,与其防护的 P0 安全问题同批交付。P2 中保留 hooks 集成测试补全(复杂度高,可延后)。
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
### D-DE-07:P0-2(LSP shell 注入)需补充实际利用路径分析
|
|
153
|
-
|
|
154
|
-
- **严重度:** MEDIUM
|
|
155
|
-
- **描述:**
|
|
156
|
-
|
|
157
|
-
PRD 描述 `execSync(\`${checkCommand} ${command}\`)` 存在 shell 注入,定级 P0 合理。但缺少利用路径分析:
|
|
158
|
-
|
|
159
|
-
1. **`command` 的来源是什么?** 若来自 LSP servers 的静态配置表(如 `['clangd', 'pyright', 'tsserver']`),则注入向量为空,实际风险为低。
|
|
160
|
-
2. 若 `command` 可接受用户配置输入(如 `~/.claude/settings.json` 中的自定义 LSP 服务器路径),则注入向量存在,P0 定级正确。
|
|
161
|
-
|
|
162
|
-
未看到源码中 `servers.ts:155-163` 的完整上下文(该文件未在本轮读取中覆盖),因此无法做最终判断。
|
|
163
|
-
|
|
164
|
-
- **建议:** 修复建议(改用 `execFileSync('which', [command])`)无论输入来源如何均为更安全的做法,应执行。但 PRD 应补充"command 参数来源分析",以准确评估利用难度,避免高估或低估风险。
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
### D-DE-08:`--yolo` 之外,Gemini CLI 集成缺少输入大小防护
|
|
169
|
-
|
|
170
|
-
- **严重度:** LOW(PRD 遗漏项)
|
|
171
|
-
- **描述:**
|
|
172
|
-
|
|
173
|
-
代码中已有 `MAX_FILE_SIZE = 5MB`、`MAX_STDOUT_BYTES = 10MB` 的限制,体现了良好的资源防护意识。但 PRD 未提及一个潜在问题:prompt 字符串(`fullPrompt`)本身没有大小上限检查,极大的 prompt 可能导致子进程 stdin 阻塞或 OOM。这是 MCP 工具服务器的常见稳定性风险。
|
|
174
|
-
|
|
175
|
-
- **建议:** 在 P2/P3 中增加一条:对 `executeGemini` 和 `executeGeminiBackground` 的 `prompt` 参数添加大小上限(建议 4MB,与 MAX_FILE_SIZE 对齐),超出时返回明确错误。
|
|
176
|
-
|
|
177
|
-
---
|
|
178
|
-
|
|
179
|
-
## 行业标准对照
|
|
180
|
-
|
|
181
|
-
| 关注点 | 行业最佳实践 | 本项目现状 | 评估 |
|
|
182
|
-
|--------|------------|----------|------|
|
|
183
|
-
| 路径遍历防护 | 使用白名单验证 + 统一入口 | validateMode 存在但 state-manager 未调用 | 部分合规,P0-1 修复后可达标 |
|
|
184
|
-
| Shell 注入 | 始终使用 execFileSync + 参数数组 | execSync 字符串拼接仍存在 | 不合规,需修复 |
|
|
185
|
-
| 动态代码生成 | 禁止将外部数据插入 eval/exec 字符串 | JSON.stringify 插入 `-e` 脚本 | 不合规,P0-7 修复方向正确 |
|
|
186
|
-
| 跨平台兼容 | 使用 path.resolve/path.relative + os.tmpdir() | 多处硬编码 Unix 路径和 shell 语法 | 不合规,P1 修复覆盖主要问题 |
|
|
187
|
-
| 原子写入 | 写临时文件 + rename 保证一致性 | atomicWriteJsonSync 已实现,但无测试 | 实现合规,测试缺失 |
|
|
188
|
-
| 进程子系统 | 先操作后更新状态,失败不污染状态 | handleKillJob 顺序颠倒 | 不合规,P1-11 修复方向正确 |
|
|
189
|
-
| 测试安全关键路径 | 安全函数100%分支覆盖作为合并门禁 | atomic-write、validateMode 无完整测试 | 不合规,优先级应提升 |
|
|
190
|
-
| 资源上限 | MCP 服务器对所有输入设置上限 | 文件/stdout 有限制,prompt 无上限 | 部分合规 |
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
## 总体建议
|
|
195
|
-
|
|
196
|
-
**结论:Modification Required(需修改后方可执行)**
|
|
197
|
-
|
|
198
|
-
### 关键领域缺陷(Critical Domain Gaps)
|
|
199
|
-
|
|
200
|
-
1. **P0-3 严重度高估**:`git push origin main` 是 CI 脚本中的流程规范违反,不是安全漏洞,应降级为 P2。将有限的 P0 修复资源集中于真实安全向量(P0-1、P0-7、P0-2)。
|
|
201
|
-
|
|
202
|
-
2. **P1-9 业务价值严重低估**:delegation-enforcer 未集成导致 model routing 规范形同虚设,在高并行场景下持续产生 3-10x 成本放大效应。应作为 P1 最高优先级修复,并补充成本影响量化。
|
|
203
|
-
|
|
204
|
-
3. **P0-5 事实描述不准确**:代码已有 `console.error` 日志,"静默失败"描述有误。真实风险是功能降级(角色验证失效),应修正描述并重新评估是否维持 P0 定级。
|
|
205
|
-
|
|
206
|
-
4. **测试补全优先级偏低**:`atomic-write` 和 `validateMode` 的测试覆盖应与对应的 P0 安全修复同批交付,而非推迟至 P2 批次,否则安全修复缺乏回归保障。
|
|
207
|
-
|
|
208
|
-
5. **P0-2 利用路径分析缺失**:需补充 LSP `command` 参数来源分析,以准确评估实际利用难度,避免决策层误判优先级。
|
|
209
|
-
|
|
210
|
-
### 执行建议
|
|
211
|
-
|
|
212
|
-
- **Batch 1(P0 真实安全漏洞)**:P0-1、P0-2、P0-6、P0-7,以及 atomic-write 测试覆盖
|
|
213
|
-
- **Batch 2(P1 高影响功能修复)**:P1-9(delegation-enforcer 集成)优先于其他 P1;P1-11、P1-10
|
|
214
|
-
- **Batch 3(P1 其余 + P0-3 降级处理)**:Windows 兼容性(P1-1~P1-4)、内存泄漏(P1-5~P1-7)、P2-3(P0-3 降级后放此)
|
|
215
|
-
- **Batch 4(P2/P3)**:命名空间清洁、文档同步、代码质量
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
# Product Strategy Review: ultrapower 全面痛点修复计划
|
|
2
|
-
|
|
3
|
-
> 评审人: Product Director (axiom-product-director)
|
|
4
|
-
> 评审日期: 2026-03-01
|
|
5
|
-
> PRD 版本: Draft (118 问题,4 批次修复)
|
|
6
|
-
> 产品版本基线: v5.4.8
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## 整体评分:6 / 10
|
|
11
|
-
|
|
12
|
-
**评分理由**:PRD 在技术识别层面做得扎实(问题分类清晰、P0 安全标注准确),但在产品战略层面存在三个根本性缺陷:缺乏用户影响量化、批次计划与发布节奏脱钩、验收标准停留在工程层面而非用户体验层面。这是一份偏工程视角的 Bug 修复计划,尚未达到可指导产品决策的 PRD 标准。
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## 肯定点
|
|
17
|
-
|
|
18
|
-
### 1. P0 安全问题识别准确
|
|
19
|
-
|
|
20
|
-
将路径遍历(state-manager)、Shell 注入(LSP)、代码注入(daemon ESM)列为最高优先级,符合"信任边界优先"的产品安全原则。这 7 项 P0 安全问题一旦被利用,可能导致用户系统级损害,产品口碑不可逆受损,优先修复是正确决策。
|
|
21
|
-
|
|
22
|
-
### 2. Windows 平台单独分层合理
|
|
23
|
-
|
|
24
|
-
明确将 Windows 兼容性问题单列为 P1,与用户主运行环境(Windows 11)的实际情况一致。结合项目历史(2026-02-27 Windows hook 路径修复会话、$USERPROFILE 修复)可知这是持续性痛点,专项分层有必要。
|
|
25
|
-
|
|
26
|
-
### 3. 分批策略体现了优先级意识
|
|
27
|
-
|
|
28
|
-
4 个批次的整体方向(安全 -> 功能 -> 规范 -> 质量)逻辑清晰,符合"先稳定、后完善"的发布逻辑,避免了将代码质量整理与安全修复混在同一批次增加回归风险。
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## 差异点 / 问题
|
|
33
|
-
|
|
34
|
-
### D-PD-01: 用户影响维度完全缺失
|
|
35
|
-
|
|
36
|
-
- 严重度: HIGH
|
|
37
|
-
- 描述: PRD 列出了 118 项技术问题,但没有一项标注了"受影响用户规模"或"触发频率"。以 P1 内存泄漏(Python REPL Map、LSP timer)为例,这些问题仅在长时间会话中才会显现,实际触发用户比例可能很低;而 P2 中的 session-recovery 占位功能,却可能影响所有遭遇 Claude Code 崩溃的用户。当前优先级排序完全由技术严重度驱动,缺乏用户价值维度的校准。
|
|
38
|
-
- 建议: 为每个优先级组补充"影响用户估计"(高/中/低频触发)和"用户可感知程度"(是否导致用户可见错误),作为优先级最终排序的第二权重。至少对 31 项 HIGH 问题进行用户影响评分。
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
### D-PD-02: PRD 背景描述存在重大遗漏
|
|
43
|
-
|
|
44
|
-
- 严重度: HIGH
|
|
45
|
-
- 描述: PRD 背景部分仅用一段话描述问题全景,完全没有提及项目当前真实状态。从 active_context.md 和 reflection_log.md 可知,项目已经经历了多轮紧急修复(v5.4.1 plugin.json 验证、v5.4.5 二次注入、v5.4.6 npm-cache 死锁),这些修复均源于生产环境的真实用户报错。这意味着"产品当前稳定性欠佳"这一背景是已知事实,但 PRD 没有将这个语境显式化,导致读者无法判断修复计划的紧迫性来自历史积压还是新发现的问题。
|
|
46
|
-
- 建议: 在背景部分增加"当前产品健康状态"小节,说明:(1) 近 3 个月生产环境紧急修复次数(至少 5 次);(2) 用户报告的核心痛点(plugin 安装失败、hook 路径错误);(3) 技术债务积累的历史原因(快速迭代期遗留)。这样才能让 PRD 的紧迫性论证站得住脚。
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
### D-PD-03: "23项"与"31项"HIGH 严重度数据不一致
|
|
51
|
-
|
|
52
|
-
- 严重度: HIGH
|
|
53
|
-
- 描述: PRD 目标部分写道"消除 HIGH 严重度安全与稳定性 Bug(共 23 项实际统计为 31 项)",这句话暗示了两个相互矛盾的数字,且没有解释差异来源。这对于需要向团队或外部利益相关方传达修复范围的产品文档而言,是严重的可信度问题——读者无法确认哪个数字是权威数字,也无法判断是否存在"被低估的修复工作量"。
|
|
54
|
-
- 建议: 在 PRD 正式化之前必须厘清两个数字的来源:23 项是最初估计、31 项是精确统计,还是存在口径差异(例如 23 项是安全类、31 项含稳定性)。选择唯一权威数字,并在脚注说明统计口径。
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
### D-PD-04: Batch 1 与 Batch 2 存在未声明的技术依赖
|
|
59
|
-
|
|
60
|
-
- 严重度: MEDIUM
|
|
61
|
-
- 描述: P0 安全修复(Batch 1)中包含 state-manager 路径遍历防护(要求 `assertValidMode()` 接口);而 P1 Windows 修复(Batch 2)中的 subagent-tracker 路径和 pre-tool 路径问题,很可能需要复用同一批路径处理工具函数。PRD 将两者拆入不同批次,但未说明跨批次的接口契约:Batch 2 能否独立于 Batch 1 的路径工具函数实现?如果不能,批次边界就存在隐性依赖,可能导致 Batch 2 开发时需要等待或重构 Batch 1 的输出。
|
|
62
|
-
- 建议: 在分批计划中增加"批次间接口契约"小节,明确 Batch 1 输出哪些可复用的工具函数/类型定义,供 Batch 2 直接引用。可参考项目现有实践(Sub-PRD T-01 中循环依赖防护注释的做法)。
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
### D-PD-05: 验收标准停留在工程层面,缺乏用户验收维度
|
|
67
|
-
|
|
68
|
-
- 严重度: MEDIUM
|
|
69
|
-
- 描述: 当前验收标准(零回归、安全门禁、Windows 验证、测试新增、命名空间清洁、文档同步)全部是工程验收指标,没有用户体验层面的验收。以 P1 功能缺失(session-recovery 占位、job-management 阻塞)为例,即使代码修复通过了测试,用户是否能感知到体验改善?改善的幅度是否达到预期?这些在当前标准中无法被验证。
|
|
70
|
-
- 建议: 为每个批次增加"用户可感知验收"维度,例如:Batch 2 完成后,在 Windows 环境执行核心工作流(auto-update、ax-export)的端到端成功率应达到 100%(对比 Batch 2 前的失败率基线)。
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
### D-PD-06: P2 命名空间迁移(superpowers -> ultrapower)的业务风险未评估
|
|
75
|
-
|
|
76
|
-
- 严重度: MEDIUM
|
|
77
|
-
- 描述: PRD 将 9 个文件的命名空间迁移(superpowers: -> ultrapower:)列为 P2。但从产品角度看,这不仅是代码整洁问题:如果用户当前的 CLAUDE.md、settings.json、或个人工作流脚本中使用了 `superpowers:` 前缀调用命令,命名空间修复后这些调用是否会静默失效?PRD 没有评估向后兼容性风险,也没有说明是否存在兼容层(例如 alias 机制)来保护现有用户。
|
|
78
|
-
- 建议: 在 P2 命名空间修复前,明确两点:(1) 目前是否存在用户可调用的 `superpowers:` 命令(通过 skills/commands 目录确认);(2) 如果存在,是否需要保留兼容 alias 至下一个大版本(参考 CLAUDE.md 中的废弃别名机制)。将这两点作为 P2 的前置调查任务。
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
### D-PD-07: 与 Q1/Q2 路线图的对齐关系缺失
|
|
83
|
-
|
|
84
|
-
- 严重度: MEDIUM
|
|
85
|
-
- 描述: PRD 没有说明这个修复计划与产品大版本路线图的关系。从项目历史看,ultrapower 处于高速迭代阶段(2 周内连续发布 v5.4.1 到 v5.4.8),这 118 个问题是否会与正在进行的新功能开发(例如 Nexus v2、deepinit 271 个 AGENTS.md)形成冲突?修复计划是独立于功能开发还是并行进行?如果并行,代码冲突和测试稳定性风险如何管理?
|
|
86
|
-
- 建议: 增加"路线图对齐"小节,明确说明:(1) 4 个批次的预计发布版本号(如 Batch 1 对应 v5.5.0 patch,Batch 2 对应 v5.5.1 等);(2) 是否有功能冻结期来保障修复质量;(3) 与正在进行的功能开发的冲突管理策略。
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
### D-PD-08: delegation-enforcer 未集成的业务影响未阐明
|
|
91
|
-
|
|
92
|
-
- 严重度: LOW
|
|
93
|
-
- 描述: PRD 将 "delegation-enforcer 未集成" 列为 P1 功能缺失,但没有解释其业务影响:delegation-enforcer 负责什么约束?不集成的情况下,用户或系统会出现什么可见的异常行为?如果这个组件是 OMC 核心编排逻辑的一部分,其缺失可能导致某些委派场景静默失效,影响用户对 multi-agent 工作流的信任。
|
|
94
|
-
- 建议: 在 PRD 中补充对 delegation-enforcer 未集成的用户可见影响描述(哪些场景会因此产生错误行为或降级行为),以支持 P1 优先级的合理性论证。
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
### D-PD-09: 测试覆盖补全的范围不够明确
|
|
99
|
-
|
|
100
|
-
- 严重度: LOW
|
|
101
|
-
- 描述: PRD 提到"补全测试覆盖空白(atomic-write, version, hooks)",但"空白"的定义模糊。从项目历史看,当前测试数量从 4663 增长到 4698,增量不大。118 个问题修复后,预期新增多少测试用例?当前覆盖率基线是多少?目标覆盖率是多少?没有这些数据,"测试新增"这一验收标准无法被量化验证。
|
|
102
|
-
- 建议: 在验收标准中为测试补全设定可量化目标,例如:"Batch 3 完成后,atomic-write、version、hooks 三个模块的单元测试行覆盖率均不低于 80%",并提供当前基线数据。
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## 总体建议
|
|
107
|
-
|
|
108
|
-
### 立即修复(进入执行前必须解决)
|
|
109
|
-
|
|
110
|
-
1. 解决 HIGH 问题数量不一致(D-PD-03):在 ax-review 流程进入 ax-decompose 之前,必须确认 PRD 中 31 项 HIGH 问题的完整清单,不能带模糊数字进入开发阶段。
|
|
111
|
-
|
|
112
|
-
2. 补充用户影响评分(D-PD-01):为 31 项 HIGH 问题中每一项标注"用户可见性"(1=内部逻辑不可见,2=间接影响,3=用户直接报错),作为细粒度排序依据。
|
|
113
|
-
|
|
114
|
-
### 进入 Batch 1 前的调查任务(Low-cost,1-2小时)
|
|
115
|
-
|
|
116
|
-
3. 确认 superpowers: 命名空间的用户暴露面(D-PD-06):grep skills/commands 目录,确认是否有用户可调用的 superpowers: 命令,决定是否需要兼容 alias。
|
|
117
|
-
|
|
118
|
-
4. 补充 delegation-enforcer 的用户可见影响描述(D-PD-08):可通过代码搜索确认其调用链,不需要新调查。
|
|
119
|
-
|
|
120
|
-
### 发布策略建议
|
|
121
|
-
|
|
122
|
-
当前产品在 2 周内经历 5 次紧急修复(v5.4.1 到 v5.4.8),这本身是一个信号:紧急响应速度很快,但系统性防御不足。建议将此次 4 批次修复计划与版本号策略绑定:
|
|
123
|
-
|
|
124
|
-
- Batch 1(P0 安全)-> v5.5.0(minor 版本,明确传递"安全加固"信号)
|
|
125
|
-
- Batch 2(P1 Windows+功能)-> v5.5.1
|
|
126
|
-
- Batch 3(P2 命名空间+文档)-> v5.5.2
|
|
127
|
-
- Batch 4(P3 代码质量)-> v5.5.3 或合并至下一个 minor
|
|
128
|
-
|
|
129
|
-
每个批次在独立分支上开发,通过 CI Gate 后合并到 dev,避免批次间的代码污染。这也与项目现有的 PR 工作流保持一致。
|
|
130
|
-
|
|
131
|
-
### 最终结论
|
|
132
|
-
|
|
133
|
-
- **优先级**: P1 - Should Have(当前版本)
|
|
134
|
-
- **条件**: 必须在执行前解决 D-PD-01(用户影响评分)和 D-PD-03(HIGH 问题数量一致性)
|
|
135
|
-
- **备注**: 这是一个技术上正确但产品战略论证尚不充分的修复计划。最大风险不在于修复本身,而在于 118 个问题对应的"用户可感知价值"没有被量化——执行完之后,团队无法有证据地向用户或利益相关方说明"产品变好了多少"。建议在 ax-decompose 阶段将用户影响评分纳入每个 Sub-PRD 的验收标准。
|