@liangjie559567/ultrapower 5.5.2 → 5.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +15 -11
- package/README.md +104 -8
- package/agents/analyst.md +24 -0
- package/bridge/codex-server.cjs +886 -88
- package/bridge/gemini-server.cjs +892 -89
- package/bridge/mcp-server.cjs +1351 -238
- package/bridge/team-bridge.cjs +737 -99
- package/commands/brainstorm.md +1 -1
- package/commands/execute-plan.md +1 -1
- package/commands/wizard.md +5 -0
- package/commands/write-plan.md +1 -1
- package/dist/__tests__/job-management.test.js +43 -43
- package/dist/__tests__/job-management.test.js.map +1 -1
- package/dist/__tests__/validateMode.test.js +1 -1
- package/dist/__tests__/validateMode.test.js.map +1 -1
- package/dist/agents/__tests__/agent-wrapper.test.d.ts +2 -0
- package/dist/agents/__tests__/agent-wrapper.test.d.ts.map +1 -0
- package/dist/agents/__tests__/agent-wrapper.test.js +37 -0
- package/dist/agents/__tests__/agent-wrapper.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.js +35 -0
- package/dist/agents/__tests__/timeout-config.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.js +37 -0
- package/dist/agents/__tests__/timeout-manager.test.js.map +1 -0
- package/dist/agents/agent-wrapper.d.ts +22 -0
- package/dist/agents/agent-wrapper.d.ts.map +1 -0
- package/dist/agents/agent-wrapper.js +54 -0
- package/dist/agents/agent-wrapper.js.map +1 -0
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/definitions.js +1 -1
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/timeout-config.d.ts +19 -0
- package/dist/agents/timeout-config.d.ts.map +1 -0
- package/dist/agents/timeout-config.js +57 -0
- package/dist/agents/timeout-config.js.map +1 -0
- package/dist/agents/timeout-manager.d.ts +31 -0
- package/dist/agents/timeout-manager.d.ts.map +1 -0
- package/dist/agents/timeout-manager.js +53 -0
- package/dist/agents/timeout-manager.js.map +1 -0
- package/dist/analytics/analytics-summary.d.ts.map +1 -1
- package/dist/analytics/analytics-summary.js +7 -1
- package/dist/analytics/analytics-summary.js.map +1 -1
- package/dist/analytics/metrics-collector.d.ts.map +1 -1
- package/dist/analytics/metrics-collector.js +9 -1
- package/dist/analytics/metrics-collector.js.map +1 -1
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +21 -3
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.js +3 -3
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/transcript-scanner.d.ts.map +1 -1
- package/dist/analytics/transcript-scanner.js +20 -13
- package/dist/analytics/transcript-scanner.js.map +1 -1
- package/dist/audit/logger.d.ts +28 -0
- package/dist/audit/logger.d.ts.map +1 -0
- package/dist/audit/logger.js +86 -0
- package/dist/audit/logger.js.map +1 -0
- package/dist/audit/verify-cli.d.ts +2 -0
- package/dist/audit/verify-cli.d.ts.map +1 -0
- package/dist/audit/verify-cli.js +10 -0
- package/dist/audit/verify-cli.js.map +1 -0
- package/dist/cli/commands/perf.d.ts +3 -0
- package/dist/cli/commands/perf.d.ts.map +1 -0
- package/dist/cli/commands/perf.js +25 -0
- package/dist/cli/commands/perf.js.map +1 -0
- package/dist/cli/commands/plugin.d.ts +6 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +100 -0
- package/dist/cli/commands/plugin.js.map +1 -0
- package/dist/cli/commands/teleport.js +5 -5
- package/dist/cli/commands/teleport.js.map +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/compatibility/mcp-bridge.d.ts.map +1 -1
- package/dist/compatibility/mcp-bridge.js +4 -3
- package/dist/compatibility/mcp-bridge.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +40 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/core/hud-config.d.ts +19 -0
- package/dist/core/hud-config.d.ts.map +1 -0
- package/dist/core/hud-config.js +6 -0
- package/dist/core/hud-config.js.map +1 -0
- package/dist/core/job-types.d.ts +22 -0
- package/dist/core/job-types.d.ts.map +1 -0
- package/dist/core/job-types.js +6 -0
- package/dist/core/job-types.js.map +1 -0
- package/dist/features/diagnostics/error-matcher.d.ts +12 -0
- package/dist/features/diagnostics/error-matcher.d.ts.map +1 -0
- package/dist/features/diagnostics/error-matcher.js +41 -0
- package/dist/features/diagnostics/error-matcher.js.map +1 -0
- package/dist/features/diagnostics/index.d.ts +3 -0
- package/dist/features/diagnostics/index.d.ts.map +1 -0
- package/dist/features/diagnostics/index.js +3 -0
- package/dist/features/diagnostics/index.js.map +1 -0
- package/dist/features/diagnostics/solution-suggester.d.ts +12 -0
- package/dist/features/diagnostics/solution-suggester.d.ts.map +1 -0
- package/dist/features/diagnostics/solution-suggester.js +46 -0
- package/dist/features/diagnostics/solution-suggester.js.map +1 -0
- package/dist/features/diagnostics/types.d.ts +25 -0
- package/dist/features/diagnostics/types.d.ts.map +1 -0
- package/dist/features/diagnostics/types.js +5 -0
- package/dist/features/diagnostics/types.js.map +1 -0
- package/dist/features/rate-limit-wait/daemon.js +1 -1
- package/dist/features/rate-limit-wait/daemon.js.map +1 -1
- package/dist/features/reflection/data-collector.d.ts +12 -0
- package/dist/features/reflection/data-collector.d.ts.map +1 -0
- package/dist/features/reflection/data-collector.js +38 -0
- package/dist/features/reflection/data-collector.js.map +1 -0
- package/dist/features/reflection/index.d.ts +4 -0
- package/dist/features/reflection/index.d.ts.map +1 -0
- package/dist/features/reflection/index.js +3 -0
- package/dist/features/reflection/index.js.map +1 -0
- package/dist/features/reflection/report-generator.d.ts +3 -0
- package/dist/features/reflection/report-generator.d.ts.map +1 -0
- package/dist/features/reflection/report-generator.js +42 -0
- package/dist/features/reflection/report-generator.js.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.js +17 -17
- package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js +42 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.js +68 -0
- package/dist/features/state-manager/__tests__/encryption.test.js.map +1 -0
- package/dist/features/state-manager/encryption.d.ts +24 -0
- package/dist/features/state-manager/encryption.d.ts.map +1 -0
- package/dist/features/state-manager/encryption.js +86 -0
- package/dist/features/state-manager/encryption.js.map +1 -0
- package/dist/features/state-manager/index.d.ts +4 -0
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +95 -7
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/features/state-manager/tiered-writer.d.ts +44 -0
- package/dist/features/state-manager/tiered-writer.d.ts.map +1 -0
- package/dist/features/state-manager/tiered-writer.js +76 -0
- package/dist/features/state-manager/tiered-writer.js.map +1 -0
- package/dist/features/state-manager/wal.d.ts +21 -0
- package/dist/features/state-manager/wal.d.ts.map +1 -0
- package/dist/features/state-manager/wal.js +75 -0
- package/dist/features/state-manager/wal.js.map +1 -0
- package/dist/features/task-templates/index.d.ts +13 -0
- package/dist/features/task-templates/index.d.ts.map +1 -0
- package/dist/features/task-templates/index.js +31 -0
- package/dist/features/task-templates/index.js.map +1 -0
- package/dist/features/task-templates/wizard-integration.d.ts +15 -0
- package/dist/features/task-templates/wizard-integration.d.ts.map +1 -0
- package/dist/features/task-templates/wizard-integration.js +27 -0
- package/dist/features/task-templates/wizard-integration.js.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.js +78 -0
- package/dist/features/wizard/__tests__/engine.test.js.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js +43 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js.map +1 -0
- package/dist/features/wizard/engine.d.ts +15 -0
- package/dist/features/wizard/engine.d.ts.map +1 -0
- package/dist/features/wizard/engine.js +74 -0
- package/dist/features/wizard/engine.js.map +1 -0
- package/dist/features/wizard/index.d.ts +8 -0
- package/dist/features/wizard/index.d.ts.map +1 -0
- package/dist/features/wizard/index.js +7 -0
- package/dist/features/wizard/index.js.map +1 -0
- package/dist/features/wizard/questions.d.ts +6 -0
- package/dist/features/wizard/questions.d.ts.map +1 -0
- package/dist/features/wizard/questions.js +64 -0
- package/dist/features/wizard/questions.js.map +1 -0
- package/dist/features/wizard/recommendation-engine.d.ts +6 -0
- package/dist/features/wizard/recommendation-engine.d.ts.map +1 -0
- package/dist/features/wizard/recommendation-engine.js +33 -0
- package/dist/features/wizard/recommendation-engine.js.map +1 -0
- package/dist/features/wizard/types.d.ts +23 -0
- package/dist/features/wizard/types.d.ts.map +1 -0
- package/dist/features/wizard/types.js +5 -0
- package/dist/features/wizard/types.js.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts +6 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.js +20 -0
- package/dist/features/workflow-recommender/context-analyzer.js.map +1 -0
- package/dist/features/workflow-recommender/index.d.ts +12 -0
- package/dist/features/workflow-recommender/index.d.ts.map +1 -0
- package/dist/features/workflow-recommender/index.js +9 -0
- package/dist/features/workflow-recommender/index.js.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts +6 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.js +24 -0
- package/dist/features/workflow-recommender/intent-classifier.js.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts +6 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.js +110 -0
- package/dist/features/workflow-recommender/recommendation-engine.js.map +1 -0
- package/dist/features/workflow-recommender/recommender.d.ts +14 -0
- package/dist/features/workflow-recommender/recommender.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommender.js +32 -0
- package/dist/features/workflow-recommender/recommender.js.map +1 -0
- package/dist/features/workflow-recommender/router-integration.d.ts +9 -0
- package/dist/features/workflow-recommender/router-integration.d.ts.map +1 -0
- package/dist/features/workflow-recommender/router-integration.js +25 -0
- package/dist/features/workflow-recommender/router-integration.js.map +1 -0
- package/dist/features/workflow-recommender/types.d.ts +20 -0
- package/dist/features/workflow-recommender/types.d.ts.map +1 -0
- package/dist/features/workflow-recommender/types.js +5 -0
- package/dist/features/workflow-recommender/types.js.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js +90 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.js +23 -41
- package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js +70 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js +55 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js +50 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.js +2 -2
- package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js +19 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +1 -1
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/axiom-boot/index.d.ts +1 -0
- package/dist/hooks/axiom-boot/index.d.ts.map +1 -1
- package/dist/hooks/axiom-boot/index.js +13 -0
- package/dist/hooks/axiom-boot/index.js.map +1 -1
- package/dist/hooks/bridge-normalize.d.ts +43 -3
- package/dist/hooks/bridge-normalize.d.ts.map +1 -1
- package/dist/hooks/bridge-normalize.js +183 -61
- package/dist/hooks/bridge-normalize.js.map +1 -1
- package/dist/hooks/bridge-types.d.ts +62 -0
- package/dist/hooks/bridge-types.d.ts.map +1 -0
- package/dist/hooks/bridge-types.js +6 -0
- package/dist/hooks/bridge-types.js.map +1 -0
- package/dist/hooks/bridge.d.ts +1 -43
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +132 -32
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/dependency-analyzer.d.ts +32 -0
- package/dist/hooks/dependency-analyzer.d.ts.map +1 -0
- package/dist/hooks/dependency-analyzer.js +199 -0
- package/dist/hooks/dependency-analyzer.js.map +1 -0
- package/dist/hooks/guards/pre-tool.d.ts.map +1 -1
- package/dist/hooks/guards/pre-tool.js +8 -2
- package/dist/hooks/guards/pre-tool.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/__tests__/confidence.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/confidence.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/confidence.test.js +42 -0
- package/dist/hooks/learner/__tests__/confidence.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.js +170 -0
- package/dist/hooks/learner/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js +147 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js +43 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.js +48 -0
- package/dist/hooks/learner/__tests__/index.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts +10 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js +131 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.js +114 -0
- package/dist/hooks/learner/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.js +146 -0
- package/dist/hooks/learner/__tests__/promotion.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts +13 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js +162 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js +159 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js +201 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.js +123 -0
- package/dist/hooks/learner/__tests__/validator.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.js +141 -0
- package/dist/hooks/learner/__tests__/writer.test.js.map +1 -0
- package/dist/hooks/learner/confidence.d.ts +10 -0
- package/dist/hooks/learner/confidence.d.ts.map +1 -1
- package/dist/hooks/learner/confidence.js +17 -0
- package/dist/hooks/learner/confidence.js.map +1 -1
- package/dist/hooks/learner/detection-hook.js +2 -2
- package/dist/hooks/learner/detection-hook.js.map +1 -1
- package/dist/hooks/learner/index-manager.d.ts +29 -0
- package/dist/hooks/learner/index-manager.d.ts.map +1 -1
- package/dist/hooks/learner/index-manager.js +56 -0
- package/dist/hooks/learner/index-manager.js.map +1 -1
- package/dist/hooks/learner/learning-queue.d.ts +1 -0
- package/dist/hooks/learner/learning-queue.d.ts.map +1 -1
- package/dist/hooks/learner/learning-queue.js +82 -0
- package/dist/hooks/learner/learning-queue.js.map +1 -1
- package/dist/hooks/learner/orchestrator.d.ts +12 -1
- package/dist/hooks/learner/orchestrator.d.ts.map +1 -1
- package/dist/hooks/learner/orchestrator.js +19 -2
- package/dist/hooks/learner/orchestrator.js.map +1 -1
- package/dist/hooks/learner/promotion.d.ts +10 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -1
- package/dist/hooks/learner/promotion.js +33 -0
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/learner/queue-archiver.d.ts +21 -0
- package/dist/hooks/learner/queue-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/queue-archiver.js +147 -0
- package/dist/hooks/learner/queue-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-archiver.d.ts +19 -0
- package/dist/hooks/learner/reflection-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-archiver.js +113 -0
- package/dist/hooks/learner/reflection-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts +22 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.js +62 -0
- package/dist/hooks/learner/reflection-cleanup.js.map +1 -0
- package/dist/hooks/learner/reflection-parser.d.ts +26 -0
- package/dist/hooks/learner/reflection-parser.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-parser.js +139 -0
- package/dist/hooks/learner/reflection-parser.js.map +1 -0
- package/dist/hooks/learner/reflection.d.ts +8 -1
- package/dist/hooks/learner/reflection.d.ts.map +1 -1
- package/dist/hooks/learner/reflection.js +19 -2
- package/dist/hooks/learner/reflection.js.map +1 -1
- package/dist/hooks/learner/types.d.ts +23 -0
- package/dist/hooks/learner/types.d.ts.map +1 -1
- package/dist/hooks/nexus/config.d.ts.map +1 -1
- package/dist/hooks/nexus/config.js +4 -3
- package/dist/hooks/nexus/config.js.map +1 -1
- package/dist/hooks/nexus/improvement-puller.d.ts.map +1 -1
- package/dist/hooks/nexus/improvement-puller.js +4 -2
- package/dist/hooks/nexus/improvement-puller.js.map +1 -1
- package/dist/hooks/nexus/session-end-hook.d.ts.map +1 -1
- package/dist/hooks/nexus/session-end-hook.js +8 -3
- package/dist/hooks/nexus/session-end-hook.js.map +1 -1
- package/dist/hooks/observability/__tests__/observability.test.d.ts +2 -0
- package/dist/hooks/observability/__tests__/observability.test.d.ts.map +1 -0
- package/dist/hooks/observability/__tests__/observability.test.js +176 -0
- package/dist/hooks/observability/__tests__/observability.test.js.map +1 -0
- package/dist/hooks/observability/agent-tracker.d.ts +18 -0
- package/dist/hooks/observability/agent-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/agent-tracker.js +26 -0
- package/dist/hooks/observability/agent-tracker.js.map +1 -0
- package/dist/hooks/observability/cost-estimator.d.ts +18 -0
- package/dist/hooks/observability/cost-estimator.d.ts.map +1 -0
- package/dist/hooks/observability/cost-estimator.js +46 -0
- package/dist/hooks/observability/cost-estimator.js.map +1 -0
- package/dist/hooks/observability/db.d.ts +5 -0
- package/dist/hooks/observability/db.d.ts.map +1 -0
- package/dist/hooks/observability/db.js +63 -0
- package/dist/hooks/observability/db.js.map +1 -0
- package/dist/hooks/observability/query-engine.d.ts +36 -0
- package/dist/hooks/observability/query-engine.d.ts.map +1 -0
- package/dist/hooks/observability/query-engine.js +78 -0
- package/dist/hooks/observability/query-engine.js.map +1 -0
- package/dist/hooks/observability/tool-tracker.d.ts +11 -0
- package/dist/hooks/observability/tool-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/tool-tracker.js +24 -0
- package/dist/hooks/observability/tool-tracker.js.map +1 -0
- package/dist/hooks/observability/write-queue.d.ts +13 -0
- package/dist/hooks/observability/write-queue.d.ts.map +1 -0
- package/dist/hooks/observability/write-queue.js +48 -0
- package/dist/hooks/observability/write-queue.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
- package/dist/hooks/omc-orchestrator/index.js +2 -11
- package/dist/hooks/omc-orchestrator/index.js.map +1 -1
- package/dist/hooks/parallel-executor.d.ts +24 -0
- package/dist/hooks/parallel-executor.d.ts.map +1 -0
- package/dist/hooks/parallel-executor.js +82 -0
- package/dist/hooks/parallel-executor.js.map +1 -0
- package/dist/hooks/permission-handler/index.d.ts +1 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -1
- package/dist/hooks/permission-handler/index.js +60 -5
- package/dist/hooks/permission-handler/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +2 -21
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +4 -85
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/tool-error.d.ts +15 -0
- package/dist/hooks/persistent-mode/tool-error.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/tool-error.js +80 -0
- package/dist/hooks/persistent-mode/tool-error.js.map +1 -0
- package/dist/hooks/pre-compact/index.d.ts.map +1 -1
- package/dist/hooks/pre-compact/index.js +0 -1
- package/dist/hooks/pre-compact/index.js.map +1 -1
- package/dist/hooks/project-memory/learner.d.ts +13 -1
- package/dist/hooks/project-memory/learner.d.ts.map +1 -1
- package/dist/hooks/project-memory/learner.js +24 -12
- package/dist/hooks/project-memory/learner.js.map +1 -1
- package/dist/hooks/race-detector.d.ts +51 -0
- package/dist/hooks/race-detector.d.ts.map +1 -0
- package/dist/hooks/race-detector.js +121 -0
- package/dist/hooks/race-detector.js.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.js +268 -0
- package/dist/hooks/ralph/__tests__/loop.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.js +197 -0
- package/dist/hooks/ralph/__tests__/prd.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.js +120 -0
- package/dist/hooks/ralph/__tests__/progress.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js +75 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js +131 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js +88 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.js +270 -0
- package/dist/hooks/recovery/__tests__/index.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js +129 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +549 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +1 -1
- package/dist/hooks/recovery/session-recovery.js.map +1 -1
- package/dist/hooks/recovery/storage.js +5 -4
- package/dist/hooks/recovery/storage.js.map +1 -1
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js +68 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js +58 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +2 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -1
- package/dist/hooks/rules-injector/finder.js +12 -4
- package/dist/hooks/rules-injector/finder.js.map +1 -1
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -1
- package/dist/hooks/rules-injector/matcher.js +15 -8
- package/dist/hooks/rules-injector/matcher.js.map +1 -1
- package/dist/hooks/session-end/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/index.test.js +77 -0
- package/dist/hooks/session-end/__tests__/index.test.js.map +1 -0
- package/dist/hooks/session-end/callbacks.d.ts +1 -1
- package/dist/hooks/session-end/index.d.ts +2 -21
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/session-end/types.d.ts +26 -0
- package/dist/hooks/session-end/types.d.ts.map +1 -0
- package/dist/hooks/session-end/types.js +6 -0
- package/dist/hooks/session-end/types.js.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.js +68 -0
- package/dist/hooks/setup/__tests__/index.test.js.map +1 -0
- package/dist/hooks/skill-bridge.cjs +5 -1
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts +2 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js +94 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js.map +1 -0
- package/dist/hooks/timeout-wrapper.d.ts +32 -0
- package/dist/hooks/timeout-wrapper.d.ts.map +1 -0
- package/dist/hooks/timeout-wrapper.js +62 -0
- package/dist/hooks/timeout-wrapper.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
- package/dist/hooks/todo-continuation/index.js +11 -5
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.js +5 -6
- package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/state.js +13 -4
- package/dist/hooks/ultrapilot/state.js.map +1 -1
- package/dist/hooks/ultraqa/index.d.ts.map +1 -1
- package/dist/hooks/ultraqa/index.js +11 -2
- package/dist/hooks/ultraqa/index.js.map +1 -1
- package/dist/hooks/ultrawork/index.d.ts.map +1 -1
- package/dist/hooks/ultrawork/index.js +20 -6
- package/dist/hooks/ultrawork/index.js.map +1 -1
- package/dist/hud/elements/autopilot.d.ts +1 -1
- package/dist/hud/elements/autopilot.d.ts.map +1 -1
- package/dist/hud/elements/git.d.ts +0 -5
- package/dist/hud/elements/git.d.ts.map +1 -1
- package/dist/hud/elements/git.js +3 -37
- package/dist/hud/elements/git.js.map +1 -1
- package/dist/hud/sanitize.d.ts.map +1 -1
- package/dist/hud/sanitize.js +16 -17
- package/dist/hud/sanitize.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +69 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +2 -15
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/installer/__tests__/hooks.test.d.ts +6 -0
- package/dist/installer/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hooks.test.js +121 -0
- package/dist/installer/__tests__/hooks.test.js.map +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +11 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/__tests__/atomic-write.test.js +3 -4
- package/dist/lib/__tests__/atomic-write.test.js.map +1 -1
- package/dist/lib/__tests__/file-lock.test.d.ts +13 -0
- package/dist/lib/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/lib/__tests__/file-lock.test.js +122 -0
- package/dist/lib/__tests__/file-lock.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.js +58 -0
- package/dist/lib/__tests__/plugin-deps.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js +52 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.js +60 -0
- package/dist/lib/__tests__/plugin-rollback.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.js +70 -0
- package/dist/lib/__tests__/plugin-security.test.js.map +1 -0
- package/dist/lib/__tests__/validateMode.test.d.ts +2 -0
- package/dist/lib/__tests__/validateMode.test.d.ts.map +1 -0
- package/dist/lib/__tests__/validateMode.test.js +61 -0
- package/dist/lib/__tests__/validateMode.test.js.map +1 -0
- package/dist/lib/__tests__/version.test.d.ts +6 -0
- package/dist/lib/__tests__/version.test.d.ts.map +1 -0
- package/dist/lib/__tests__/version.test.js +37 -0
- package/dist/lib/__tests__/version.test.js.map +1 -0
- package/dist/lib/atomic-write.d.ts.map +1 -1
- package/dist/lib/atomic-write.js +6 -8
- package/dist/lib/atomic-write.js.map +1 -1
- package/dist/lib/constants.d.ts +59 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +69 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/env-validator.d.ts +28 -0
- package/dist/lib/env-validator.d.ts.map +1 -0
- package/dist/lib/env-validator.js +105 -0
- package/dist/lib/env-validator.js.map +1 -0
- package/dist/lib/file-cache.d.ts +16 -0
- package/dist/lib/file-cache.d.ts.map +1 -0
- package/dist/lib/file-cache.js +33 -0
- package/dist/lib/file-cache.js.map +1 -0
- package/dist/lib/file-lock.d.ts +18 -0
- package/dist/lib/file-lock.d.ts.map +1 -0
- package/dist/lib/file-lock.js +59 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/git-utils.d.ts +55 -0
- package/dist/lib/git-utils.d.ts.map +1 -0
- package/dist/lib/git-utils.js +140 -0
- package/dist/lib/git-utils.js.map +1 -0
- package/dist/lib/memory-utils.d.ts +7 -0
- package/dist/lib/memory-utils.d.ts.map +1 -0
- package/dist/lib/memory-utils.js +21 -0
- package/dist/lib/memory-utils.js.map +1 -0
- package/dist/lib/path-validator.d.ts +25 -0
- package/dist/lib/path-validator.d.ts.map +1 -0
- package/dist/lib/path-validator.js +88 -0
- package/dist/lib/path-validator.js.map +1 -0
- package/dist/lib/plugin-deps.d.ts +26 -0
- package/dist/lib/plugin-deps.d.ts.map +1 -0
- package/dist/lib/plugin-deps.js +59 -0
- package/dist/lib/plugin-deps.js.map +1 -0
- package/dist/lib/plugin-marketplace.d.ts +12 -0
- package/dist/lib/plugin-marketplace.d.ts.map +1 -0
- package/dist/lib/plugin-marketplace.js +35 -0
- package/dist/lib/plugin-marketplace.js.map +1 -0
- package/dist/lib/plugin-rollback.d.ts +22 -0
- package/dist/lib/plugin-rollback.d.ts.map +1 -0
- package/dist/lib/plugin-rollback.js +66 -0
- package/dist/lib/plugin-rollback.js.map +1 -0
- package/dist/lib/plugin-security.d.ts +19 -0
- package/dist/lib/plugin-security.d.ts.map +1 -0
- package/dist/lib/plugin-security.js +87 -0
- package/dist/lib/plugin-security.js.map +1 -0
- package/dist/lib/safe-json.d.ts +16 -0
- package/dist/lib/safe-json.d.ts.map +1 -0
- package/dist/lib/safe-json.js +22 -0
- package/dist/lib/safe-json.js.map +1 -0
- package/dist/lib/validateMode.d.ts +3 -0
- package/dist/lib/validateMode.d.ts.map +1 -1
- package/dist/lib/validateMode.js +28 -2
- package/dist/lib/validateMode.js.map +1 -1
- package/dist/lib/worktree-paths.d.ts.map +1 -1
- package/dist/lib/worktree-paths.js +4 -24
- package/dist/lib/worktree-paths.js.map +1 -1
- package/dist/mcp/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/mcp/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/cli-detection.test.js +50 -0
- package/dist/mcp/__tests__/cli-detection.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.js +143 -0
- package/dist/mcp/__tests__/codex-core.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.js +59 -0
- package/dist/mcp/__tests__/codex-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.js +53 -0
- package/dist/mcp/__tests__/gemini-core.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.js +50 -0
- package/dist/mcp/__tests__/gemini-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js +48 -1
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js.map +1 -1
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts +2 -0
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js +108 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.js +86 -0
- package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/mcp/adapters/ast-adapter.d.ts +90 -0
- package/dist/mcp/adapters/ast-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/ast-adapter.js +36 -0
- package/dist/mcp/adapters/ast-adapter.js.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts +6 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.js +6 -0
- package/dist/mcp/adapters/lsp-adapter.js.map +1 -0
- package/dist/mcp/adapters/memory-adapter.d.ts +156 -0
- package/dist/mcp/adapters/memory-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/memory-adapter.js +59 -0
- package/dist/mcp/adapters/memory-adapter.js.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts +115 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.js +78 -0
- package/dist/mcp/adapters/notepad-adapter.js.map +1 -0
- package/dist/mcp/adapters/python-adapter.d.ts +46 -0
- package/dist/mcp/adapters/python-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/python-adapter.js +44 -0
- package/dist/mcp/adapters/python-adapter.js.map +1 -0
- package/dist/mcp/adapters/skills-adapter.d.ts +37 -0
- package/dist/mcp/adapters/skills-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/skills-adapter.js +35 -0
- package/dist/mcp/adapters/skills-adapter.js.map +1 -0
- package/dist/mcp/adapters/state-adapter.d.ts +209 -0
- package/dist/mcp/adapters/state-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/state-adapter.js +82 -0
- package/dist/mcp/adapters/state-adapter.js.map +1 -0
- package/dist/mcp/adapters/trace-adapter.d.ts +67 -0
- package/dist/mcp/adapters/trace-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/trace-adapter.js +30 -0
- package/dist/mcp/adapters/trace-adapter.js.map +1 -0
- package/dist/mcp/client/MCPClient.d.ts +22 -0
- package/dist/mcp/client/MCPClient.d.ts.map +1 -0
- package/dist/mcp/client/MCPClient.js +93 -0
- package/dist/mcp/client/MCPClient.js.map +1 -0
- package/dist/mcp/client.d.ts +19 -0
- package/dist/mcp/client.d.ts.map +1 -0
- package/dist/mcp/client.js +34 -0
- package/dist/mcp/client.js.map +1 -0
- package/dist/mcp/codex-core.d.ts.map +1 -1
- package/dist/mcp/codex-core.js +9 -4
- package/dist/mcp/codex-core.js.map +1 -1
- package/dist/mcp/config/config-loader.d.ts +6 -0
- package/dist/mcp/config/config-loader.d.ts.map +1 -0
- package/dist/mcp/config/config-loader.js +16 -0
- package/dist/mcp/config/config-loader.js.map +1 -0
- package/dist/mcp/config/env-replacer.d.ts +10 -0
- package/dist/mcp/config/env-replacer.d.ts.map +1 -0
- package/dist/mcp/config/env-replacer.js +39 -0
- package/dist/mcp/config/env-replacer.js.map +1 -0
- package/dist/mcp/config/loader.d.ts +6 -0
- package/dist/mcp/config/loader.d.ts.map +1 -0
- package/dist/mcp/config/loader.js +51 -0
- package/dist/mcp/config/loader.js.map +1 -0
- package/dist/mcp/config/schema.d.ts +63 -0
- package/dist/mcp/config/schema.d.ts.map +1 -0
- package/dist/mcp/config/schema.js +15 -0
- package/dist/mcp/config/schema.js.map +1 -0
- package/dist/mcp/config-loader.d.ts +6 -0
- package/dist/mcp/config-loader.d.ts.map +1 -0
- package/dist/mcp/config-loader.js +66 -0
- package/dist/mcp/config-loader.js.map +1 -0
- package/dist/mcp/config-schema.d.ts +64 -0
- package/dist/mcp/config-schema.d.ts.map +1 -0
- package/dist/mcp/config-schema.js +18 -0
- package/dist/mcp/config-schema.js.map +1 -0
- package/dist/mcp/gemini-core.d.ts.map +1 -1
- package/dist/mcp/gemini-core.js +16 -1
- package/dist/mcp/gemini-core.js.map +1 -1
- package/dist/mcp/job-management.d.ts.map +1 -1
- package/dist/mcp/job-management.js +201 -7
- package/dist/mcp/job-management.js.map +1 -1
- package/dist/mcp/job-state-db.d.ts +1 -1
- package/dist/mcp/job-state-db.d.ts.map +1 -1
- package/dist/mcp/job-state-db.js +22 -5
- package/dist/mcp/job-state-db.js.map +1 -1
- package/dist/mcp/logger.d.ts +7 -0
- package/dist/mcp/logger.d.ts.map +1 -0
- package/dist/mcp/logger.js +19 -0
- package/dist/mcp/logger.js.map +1 -0
- package/dist/mcp/namespace-manager.d.ts +25 -0
- package/dist/mcp/namespace-manager.d.ts.map +1 -0
- package/dist/mcp/namespace-manager.js +26 -0
- package/dist/mcp/namespace-manager.js.map +1 -0
- package/dist/mcp/namespace.d.ts +26 -0
- package/dist/mcp/namespace.d.ts.map +1 -0
- package/dist/mcp/namespace.js +56 -0
- package/dist/mcp/namespace.js.map +1 -0
- package/dist/mcp/prompt-persistence.d.ts +3 -18
- package/dist/mcp/prompt-persistence.d.ts.map +1 -1
- package/dist/mcp/prompt-persistence.js +3 -3
- package/dist/mcp/prompt-persistence.js.map +1 -1
- package/dist/mcp/retry-client.d.ts +22 -0
- package/dist/mcp/retry-client.d.ts.map +1 -0
- package/dist/mcp/retry-client.js +59 -0
- package/dist/mcp/retry-client.js.map +1 -0
- package/dist/mcp/standalone-server.js +5 -41
- package/dist/mcp/standalone-server.js.map +1 -1
- package/dist/mcp/timeout.d.ts +8 -0
- package/dist/mcp/timeout.d.ts.map +1 -0
- package/dist/mcp/timeout.js +14 -0
- package/dist/mcp/timeout.js.map +1 -0
- package/dist/mcp/tool-handler.d.ts +14 -0
- package/dist/mcp/tool-handler.d.ts.map +1 -0
- package/dist/mcp/tool-handler.js +32 -0
- package/dist/mcp/tool-handler.js.map +1 -0
- package/dist/mcp/tool-resolver.d.ts +13 -0
- package/dist/mcp/tool-resolver.d.ts.map +1 -0
- package/dist/mcp/tool-resolver.js +30 -0
- package/dist/mcp/tool-resolver.js.map +1 -0
- package/dist/monitoring/dashboard.d.ts +13 -0
- package/dist/monitoring/dashboard.d.ts.map +1 -0
- package/dist/monitoring/dashboard.js +93 -0
- package/dist/monitoring/dashboard.js.map +1 -0
- package/dist/monitoring/index.d.ts +3 -0
- package/dist/monitoring/index.d.ts.map +1 -0
- package/dist/monitoring/index.js +3 -0
- package/dist/monitoring/index.js.map +1 -0
- package/dist/monitoring/metrics-collector.d.ts +18 -0
- package/dist/monitoring/metrics-collector.d.ts.map +1 -0
- package/dist/monitoring/metrics-collector.js +68 -0
- package/dist/monitoring/metrics-collector.js.map +1 -0
- package/dist/monitoring/test-perf.d.ts +2 -0
- package/dist/monitoring/test-perf.d.ts.map +1 -0
- package/dist/monitoring/test-perf.js +39 -0
- package/dist/monitoring/test-perf.js.map +1 -0
- package/dist/notifications/reply-listener.d.ts +25 -0
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +5 -5
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/platform/process-utils.d.ts.map +1 -1
- package/dist/platform/process-utils.js +2 -3
- package/dist/platform/process-utils.js.map +1 -1
- package/dist/team/__tests__/deadlock-detector.test.d.ts +2 -0
- package/dist/team/__tests__/deadlock-detector.test.d.ts.map +1 -0
- package/dist/team/__tests__/deadlock-detector.test.js +50 -0
- package/dist/team/__tests__/deadlock-detector.test.js.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts +2 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.js +29 -0
- package/dist/team/__tests__/dependency-graph.test.js.map +1 -0
- package/dist/team/bridge-entry.d.ts +23 -0
- package/dist/team/bridge-entry.d.ts.map +1 -1
- package/dist/team/bridge-entry.js +83 -52
- package/dist/team/bridge-entry.js.map +1 -1
- package/dist/team/capabilities.d.ts +1 -2
- package/dist/team/capabilities.d.ts.map +1 -1
- package/dist/team/capabilities.js.map +1 -1
- package/dist/team/deadlock-detector.d.ts +16 -0
- package/dist/team/deadlock-detector.d.ts.map +1 -0
- package/dist/team/deadlock-detector.js +52 -0
- package/dist/team/deadlock-detector.js.map +1 -0
- package/dist/team/dependency-graph.d.ts +23 -0
- package/dist/team/dependency-graph.d.ts.map +1 -0
- package/dist/team/dependency-graph.js +35 -0
- package/dist/team/dependency-graph.js.map +1 -0
- package/dist/team/inbox-outbox.js +1 -1
- package/dist/team/inbox-outbox.js.map +1 -1
- package/dist/team/index.d.ts +3 -0
- package/dist/team/index.d.ts.map +1 -1
- package/dist/team/index.js +2 -0
- package/dist/team/index.js.map +1 -1
- package/dist/team/mcp-team-bridge.d.ts.map +1 -1
- package/dist/team/mcp-team-bridge.js +35 -23
- package/dist/team/mcp-team-bridge.js.map +1 -1
- package/dist/team/types.d.ts +15 -4
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js +0 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/unified-team.d.ts +2 -11
- package/dist/team/unified-team.d.ts.map +1 -1
- package/dist/team/unified-team.js.map +1 -1
- package/dist/team/worker-health.d.ts +2 -2
- package/dist/team/worker-health.d.ts.map +1 -1
- package/dist/team/worker-health.js +74 -6
- package/dist/team/worker-health.js.map +1 -1
- package/dist/team/worker-restart.d.ts +4 -4
- package/dist/team/worker-restart.d.ts.map +1 -1
- package/dist/team/worker-restart.js +64 -9
- package/dist/team/worker-restart.js.map +1 -1
- package/dist/tools/__tests__/ast-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/ast-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/ast-tools.test.js +178 -0
- package/dist/tools/__tests__/ast-tools.test.js.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.js +252 -0
- package/dist/tools/__tests__/lsp-tools.test.js.map +1 -0
- package/dist/tools/ast-tools.d.ts.map +1 -1
- package/dist/tools/ast-tools.js +84 -5
- package/dist/tools/ast-tools.js.map +1 -1
- package/dist/tools/dependency-analyzer.d.ts +34 -0
- package/dist/tools/dependency-analyzer.d.ts.map +1 -0
- package/dist/tools/dependency-analyzer.js +57 -0
- package/dist/tools/dependency-analyzer.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.js +111 -0
- package/dist/tools/diagnostics/__tests__/index.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js +120 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js +86 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js.map +1 -0
- package/dist/tools/diagnostics/constants.d.ts +5 -0
- package/dist/tools/diagnostics/constants.d.ts.map +1 -0
- package/dist/tools/diagnostics/constants.js +5 -0
- package/dist/tools/diagnostics/constants.js.map +1 -0
- package/dist/tools/diagnostics/index.d.ts +2 -1
- package/dist/tools/diagnostics/index.d.ts.map +1 -1
- package/dist/tools/diagnostics/index.js +2 -1
- package/dist/tools/diagnostics/index.js.map +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -1
- package/dist/tools/doc-sync.d.ts +38 -0
- package/dist/tools/doc-sync.d.ts.map +1 -0
- package/dist/tools/doc-sync.js +67 -0
- package/dist/tools/doc-sync.js.map +1 -0
- package/dist/tools/index.d.ts +11 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +41 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lsp/__tests__/utils.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/utils.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/utils.test.js +338 -0
- package/dist/tools/lsp/__tests__/utils.test.js.map +1 -0
- package/dist/tools/lsp/client.d.ts +10 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +55 -0
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/lsp/memory-optimizer.d.ts +19 -0
- package/dist/tools/lsp/memory-optimizer.d.ts.map +1 -0
- package/dist/tools/lsp/memory-optimizer.js +48 -0
- package/dist/tools/lsp/memory-optimizer.js.map +1 -0
- package/dist/tools/lsp/utils.d.ts.map +1 -1
- package/dist/tools/lsp/utils.js +2 -2
- package/dist/tools/lsp/utils.js.map +1 -1
- package/dist/tools/memory-tools.js +4 -4
- package/dist/tools/memory-tools.js.map +1 -1
- package/dist/tools/notepad-tools.d.ts.map +1 -1
- package/dist/tools/notepad-tools.js +6 -0
- package/dist/tools/notepad-tools.js.map +1 -1
- package/dist/tools/parallel-opportunity-detector.d.ts +54 -0
- package/dist/tools/parallel-opportunity-detector.d.ts.map +1 -0
- package/dist/tools/parallel-opportunity-detector.js +66 -0
- package/dist/tools/parallel-opportunity-detector.js.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js +338 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js +155 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js.map +1 -0
- package/dist/tools/python-repl/bridge-manager.d.ts +4 -0
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
- package/dist/tools/python-repl/bridge-manager.js +8 -5
- package/dist/tools/python-repl/bridge-manager.js.map +1 -1
- package/dist/tools/skills-tools.d.ts.map +1 -1
- package/dist/tools/skills-tools.js +5 -3
- package/dist/tools/skills-tools.js.map +1 -1
- package/dist/tools/state-tools.d.ts +6 -0
- package/dist/tools/state-tools.d.ts.map +1 -1
- package/dist/tools/state-tools.js +108 -87
- package/dist/tools/state-tools.js.map +1 -1
- package/dist/tools/tool-prefix-migration.d.ts +18 -0
- package/dist/tools/tool-prefix-migration.d.ts.map +1 -0
- package/dist/tools/tool-prefix-migration.js +80 -0
- package/dist/tools/tool-prefix-migration.js.map +1 -0
- package/dist/workers/adapter.d.ts +16 -0
- package/dist/workers/adapter.d.ts.map +1 -0
- package/dist/workers/adapter.js +5 -0
- package/dist/workers/adapter.js.map +1 -0
- package/dist/workers/cached-adapter.d.ts +21 -0
- package/dist/workers/cached-adapter.d.ts.map +1 -0
- package/dist/workers/cached-adapter.js +67 -0
- package/dist/workers/cached-adapter.js.map +1 -0
- package/dist/workers/factory.d.ts +11 -0
- package/dist/workers/factory.d.ts.map +1 -0
- package/dist/workers/factory.js +54 -0
- package/dist/workers/factory.js.map +1 -0
- package/dist/workers/index.d.ts +10 -0
- package/dist/workers/index.d.ts.map +1 -0
- package/dist/workers/index.js +10 -0
- package/dist/workers/index.js.map +1 -0
- package/dist/workers/json-adapter.d.ts +22 -0
- package/dist/workers/json-adapter.d.ts.map +1 -0
- package/dist/workers/json-adapter.js +171 -0
- package/dist/workers/json-adapter.js.map +1 -0
- package/dist/workers/sqlite-adapter.d.ts +22 -0
- package/dist/workers/sqlite-adapter.d.ts.map +1 -0
- package/dist/workers/sqlite-adapter.js +262 -0
- package/dist/workers/sqlite-adapter.js.map +1 -0
- package/dist/workers/types.d.ts +41 -0
- package/dist/workers/types.d.ts.map +1 -0
- package/dist/workers/types.js +5 -0
- package/dist/workers/types.js.map +1 -0
- package/docs/AGENTS.md +81 -89
- package/docs/ARCHITECTURE.md +541 -162
- package/docs/CLAUDE.md +1 -1
- package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +97 -0
- package/docs/FAQ.md +306 -0
- package/docs/FEATURES.md +1038 -420
- package/docs/INSTALL.md +5 -5
- package/docs/INSTALL_FIX_SUMMARY.md +97 -0
- package/docs/INSTALL_FIX_VERIFICATION.md +61 -0
- package/docs/INSTALL_VERIFICATION_REPORT.md +68 -0
- package/docs/KNOWN_ISSUES.md +104 -0
- package/docs/LOCAL_INSTALL_VERIFICATION.md +159 -0
- package/docs/LOCAL_TEST_INSTALL_REPORT.md +96 -0
- package/docs/MAIN_DOCS_UPDATE_REPORT.md +41 -0
- package/docs/MIGRATION_GUIDE_v5.5.18.md +177 -0
- package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +187 -0
- package/docs/README.md +110 -0
- package/docs/REFERENCE.md +930 -786
- package/docs/RELEASE_NOTES_v5.5.14.md +97 -0
- package/docs/RELEASE_SUMMARY_v5.5.18.md +60 -0
- package/docs/TUTORIAL.md +223 -0
- package/docs/UPGRADE_VERIFICATION.md +500 -0
- package/docs/UPGRADE_VERIFICATION_REPORT.md +96 -0
- package/docs/USER_GUIDE.md +2044 -0
- package/docs/VALIDATION_REPORT.md +165 -0
- package/docs/VERIFICATION_SUMMARY.md +116 -0
- package/docs/adr/001-worker-state-adapter.md +168 -0
- package/docs/adr/002-caching-strategy.md +112 -0
- package/docs/adr/003-gradual-migration.md +193 -0
- package/docs/adr/template.md +97 -0
- package/docs/api/.nojekyll +1 -0
- package/docs/api/assets/hierarchy.js +1 -0
- package/docs/api/assets/highlight.css +85 -0
- package/docs/api/assets/icons.js +18 -0
- package/docs/api/assets/icons.svg +1 -0
- package/docs/api/assets/main.js +60 -0
- package/docs/api/assets/navigation.js +1 -0
- package/docs/api/assets/search.js +1 -0
- package/docs/api/assets/style.css +1633 -0
- package/docs/api/classes/ContextCollector.html +21 -0
- package/docs/api/functions/activateUltrawork.html +2 -0
- package/docs/api/functions/addCustomNote.html +5 -0
- package/docs/api/functions/addDirective.html +2 -0
- package/docs/api/functions/addManualEntry.html +2 -0
- package/docs/api/functions/addPattern.html +3 -0
- package/docs/api/functions/addWorker.html +2 -0
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -0
- package/docs/api/functions/analyzeContextUsage.html +2 -0
- package/docs/api/functions/appendProgress.html +2 -0
- package/docs/api/functions/appendSessionId.html +2 -0
- package/docs/api/functions/applyCommentFilters.html +3 -0
- package/docs/api/functions/assignFileToWorker.html +2 -0
- package/docs/api/functions/backgroundUpdateCheck.html +2 -0
- package/docs/api/functions/buildAxiomBootContext.html +1 -0
- package/docs/api/functions/buildBoulderContinuation.html +2 -0
- package/docs/api/functions/buildDelegationTable.html +2 -0
- package/docs/api/functions/buildKeyTriggersSection.html +2 -0
- package/docs/api/functions/buildOrchestratorReminder.html +2 -0
- package/docs/api/functions/buildUseAvoidSection.html +2 -0
- package/docs/api/functions/buildVerificationReminder.html +2 -0
- package/docs/api/functions/canResumeAutopilot.html +10 -0
- package/docs/api/functions/canStartMode.html +5 -0
- package/docs/api/functions/cancelAutopilot.html +3 -0
- package/docs/api/functions/cancelUltraQA.html +2 -0
- package/docs/api/functions/checkBackgroundNotifications.html +2 -0
- package/docs/api/functions/checkBoulderContinuation.html +2 -0
- package/docs/api/functions/checkDuplicateTriggers.html +2 -0
- package/docs/api/functions/checkExpertGate.html +1 -0
- package/docs/api/functions/checkForComments.html +2 -0
- package/docs/api/functions/checkForUpdates.html +2 -0
- package/docs/api/functions/checkIncompleteTodos.html +13 -0
- package/docs/api/functions/checkPersistentModes.html +3 -0
- package/docs/api/functions/cleanupOrphanedState.html +2 -0
- package/docs/api/functions/cleanupStaleAgents.html +2 -0
- package/docs/api/functions/cleanupTransientState.html +2 -0
- package/docs/api/functions/clearAgentUsageState.html +1 -0
- package/docs/api/functions/clearAllModeStates.html +2 -0
- package/docs/api/functions/clearAutopilot.html +2 -0
- package/docs/api/functions/clearAutopilotState.html +2 -0
- package/docs/api/functions/clearBeadsContext.html +2 -0
- package/docs/api/functions/clearBoulderState.html +2 -0
- package/docs/api/functions/clearDetectionState.html +2 -0
- package/docs/api/functions/clearInjectedPaths.html +2 -0
- package/docs/api/functions/clearInjectedRules.html +2 -0
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -0
- package/docs/api/functions/clearModeState.html +10 -0
- package/docs/api/functions/clearProjectMemorySession.html +4 -0
- package/docs/api/functions/clearRalphState.html +2 -0
- package/docs/api/functions/clearRapidFireDebounce.html +2 -0
- package/docs/api/functions/clearSkillSession.html +2 -0
- package/docs/api/functions/clearThinkModeState.html +2 -0
- package/docs/api/functions/clearTrackingState.html +2 -0
- package/docs/api/functions/clearUltraQAState.html +2 -0
- package/docs/api/functions/clearVerificationState.html +3 -0
- package/docs/api/functions/commandExists.html +2 -0
- package/docs/api/functions/compareVersions.html +3 -0
- package/docs/api/functions/completeUltraQA.html +2 -0
- package/docs/api/functions/completeUltrapilot.html +2 -0
- package/docs/api/functions/completeWorker.html +2 -0
- package/docs/api/functions/containsTokenLimitError.html +2 -0
- package/docs/api/functions/createAgentToolRestrictions.html +3 -0
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -0
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -0
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -0
- package/docs/api/functions/createBackgroundTaskManager.html +2 -0
- package/docs/api/functions/createBoulderState.html +2 -0
- package/docs/api/functions/createCommentCheckerHook.html +6 -0
- package/docs/api/functions/createCompactCheckpoint.html +2 -0
- package/docs/api/functions/createContentHash.html +2 -0
- package/docs/api/functions/createContextInjectorHook.html +7 -0
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -0
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -0
- package/docs/api/functions/createEnvContext.html +2 -0
- package/docs/api/functions/createHookOutput.html +4 -0
- package/docs/api/functions/createLearnedSkillsHook.html +6 -0
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -0
- package/docs/api/functions/createModeMarker.html +6 -0
- package/docs/api/functions/createPrd.html +2 -0
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -0
- package/docs/api/functions/createRalphLoopHook.html +2 -0
- package/docs/api/functions/createRecoveryHook.html +7 -0
- package/docs/api/functions/createRulesInjectorHook.html +8 -0
- package/docs/api/functions/createSimplePrd.html +2 -0
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -0
- package/docs/api/functions/createSisyphusSession.html +7 -0
- package/docs/api/functions/createThinkModeHook.html +7 -0
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -0
- package/docs/api/functions/createTodoContinuationHook.html +2 -0
- package/docs/api/functions/createUltraworkStateHook.html +2 -0
- package/docs/api/functions/deactivateUltrawork.html +8 -0
- package/docs/api/functions/decayHotPaths.html +2 -0
- package/docs/api/functions/decomposeTask.html +11 -0
- package/docs/api/functions/deepMerge.html +2 -0
- package/docs/api/functions/detectArchitectApproval.html +2 -0
- package/docs/api/functions/detectArchitectRejection.html +2 -0
- package/docs/api/functions/detectContextLimitError.html +2 -0
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -0
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -0
- package/docs/api/functions/detectEditError.html +2 -0
- package/docs/api/functions/detectEditErrorInOutput.html +2 -0
- package/docs/api/functions/detectEditErrorInText.html +2 -0
- package/docs/api/functions/detectExtractableMoment.html +2 -0
- package/docs/api/functions/detectKeywordsWithType.html +11 -0
- package/docs/api/functions/detectMagicKeywords.html +2 -0
- package/docs/api/functions/detectProjectEnvironment.html +2 -0
- package/docs/api/functions/detectRecoverableError.html +3 -0
- package/docs/api/functions/detectSessionErrorType.html +2 -0
- package/docs/api/functions/detectSlashCommand.html +3 -0
- package/docs/api/functions/detectThinkKeyword.html +2 -0
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -0
- package/docs/api/functions/discoverAllCommands.html +2 -0
- package/docs/api/functions/enablePrdMode.html +2 -0
- package/docs/api/functions/enhancePrompt.html +2 -0
- package/docs/api/functions/ensureAutopilotDir.html +2 -0
- package/docs/api/functions/ensureDirectoryStructure.html +2 -0
- package/docs/api/functions/ensureModeStateDir.html +2 -0
- package/docs/api/functions/ensureSkillsDir.html +2 -0
- package/docs/api/functions/estimateTokens.html +2 -0
- package/docs/api/functions/executeSlashCommand.html +2 -0
- package/docs/api/functions/expandCommand.html +8 -0
- package/docs/api/functions/expandCommandPrompt.html +6 -0
- package/docs/api/functions/expandCommands.html +2 -0
- package/docs/api/functions/exportSessionSummary.html +2 -0
- package/docs/api/functions/exportWisdomToNotepad.html +2 -0
- package/docs/api/functions/extractPromptText.html +11 -0
- package/docs/api/functions/extractSlashPromptText.html +2 -0
- package/docs/api/functions/extractThinkPromptText.html +2 -0
- package/docs/api/functions/failWorker.html +2 -0
- package/docs/api/functions/findCommand.html +2 -0
- package/docs/api/functions/findMatchingSkills.html +2 -0
- package/docs/api/functions/findPlannerPlans.html +3 -0
- package/docs/api/functions/findPrdPath.html +2 -0
- package/docs/api/functions/findPreviousThinkingContent.html +1 -0
- package/docs/api/functions/findProgressPath.html +2 -0
- package/docs/api/functions/findProjectRoot.html +3 -0
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -0
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -0
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -0
- package/docs/api/functions/findRuleFiles.html +4 -0
- package/docs/api/functions/findSkillFiles.html +3 -0
- package/docs/api/functions/formatCancelMessage.html +2 -0
- package/docs/api/functions/formatCompactSummary.html +2 -0
- package/docs/api/functions/formatContextSummary.html +3 -0
- package/docs/api/functions/formatDirectivesForContext.html +2 -0
- package/docs/api/functions/formatFailureSummary.html +2 -0
- package/docs/api/functions/formatFile.html +2 -0
- package/docs/api/functions/formatFileChanges.html +2 -0
- package/docs/api/functions/formatFileList.html +2 -0
- package/docs/api/functions/formatFullContext.html +2 -0
- package/docs/api/functions/formatFullNotepad.html +2 -0
- package/docs/api/functions/formatLearningsForContext.html +2 -0
- package/docs/api/functions/formatNextStoryPrompt.html +2 -0
- package/docs/api/functions/formatNotepadContext.html +2 -0
- package/docs/api/functions/formatPatternsForContext.html +2 -0
- package/docs/api/functions/formatPrd.html +2 -0
- package/docs/api/functions/formatPrdStatus.html +2 -0
- package/docs/api/functions/formatPreCompactSummary.html +2 -0
- package/docs/api/functions/formatProgressForContext.html +2 -0
- package/docs/api/functions/formatProgressMessage.html +2 -0
- package/docs/api/functions/formatStory.html +2 -0
- package/docs/api/functions/formatSummary.html +2 -0
- package/docs/api/functions/formatUpdateNotification.html +2 -0
- package/docs/api/functions/formatValidationResults.html +2 -0
- package/docs/api/functions/generateExtractionPrompt.html +2 -0
- package/docs/api/functions/generateSkillFrontmatter.html +2 -0
- package/docs/api/functions/generateSummary.html +2 -0
- package/docs/api/functions/getActiveAgentCount.html +2 -0
- package/docs/api/functions/getActiveExclusiveMode.html +4 -0
- package/docs/api/functions/getActiveModes.html +2 -0
- package/docs/api/functions/getActivePlanPath.html +2 -0
- package/docs/api/functions/getAgentDefinitions.html +2 -0
- package/docs/api/functions/getAgentsByType.html +2 -0
- package/docs/api/functions/getAllCommands.html +2 -0
- package/docs/api/functions/getAllModeStatuses.html +5 -0
- package/docs/api/functions/getAllSkills.html +2 -0
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -0
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -0
- package/docs/api/functions/getAutoFormatMessage.html +2 -0
- package/docs/api/functions/getAutopilotStateAge.html +3 -0
- package/docs/api/functions/getAvailableAgents.html +2 -0
- package/docs/api/functions/getAxiomDir.html +1 -0
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -0
- package/docs/api/functions/getBeadsContextConfig.html +2 -0
- package/docs/api/functions/getBeadsInstructions.html +2 -0
- package/docs/api/functions/getBoulderFilePath.html +2 -0
- package/docs/api/functions/getCheckpointPath.html +2 -0
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -0
- package/docs/api/functions/getCommand.html +2 -0
- package/docs/api/functions/getCommandsDir.html +2 -0
- package/docs/api/functions/getCompactionQueueDepth.html +3 -0
- package/docs/api/functions/getCompletedWorkers.html +2 -0
- package/docs/api/functions/getDefaultMcpServers.html +1 -0
- package/docs/api/functions/getDefaultModelForCategory.html +2 -0
- package/docs/api/functions/getDetectionStats.html +2 -0
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -0
- package/docs/api/functions/getExecutionPrompt.html +2 -0
- package/docs/api/functions/getExpansionPrompt.html +3 -0
- package/docs/api/functions/getExpertGateMessage.html +1 -0
- package/docs/api/functions/getFailedWorkers.html +2 -0
- package/docs/api/functions/getFormatter.html +2 -0
- package/docs/api/functions/getGitDiffStats.html +2 -0
- package/docs/api/functions/getGlobalStateFilePath.html +4 -0
- package/docs/api/functions/getGoalCommand.html +2 -0
- package/docs/api/functions/getHighVariant.html +3 -0
- package/docs/api/functions/getInstallInfo.html +2 -0
- package/docs/api/functions/getInstalledVersion.html +2 -0
- package/docs/api/functions/getIssuesToFix.html +2 -0
- package/docs/api/functions/getLastDetection.html +2 -0
- package/docs/api/functions/getLearnerConfigValue.html +2 -0
- package/docs/api/functions/getLinter.html +2 -0
- package/docs/api/functions/getManualSection.html +2 -0
- package/docs/api/functions/getMemoryFilePaths.html +1 -0
- package/docs/api/functions/getModeMarkerFilePath.html +2 -0
- package/docs/api/functions/getModeStateFilePath.html +2 -0
- package/docs/api/functions/getNextStory.html +2 -0
- package/docs/api/functions/getNotepadPath.html +2 -0
- package/docs/api/functions/getNotepadStats.html +2 -0
- package/docs/api/functions/getOmcPrdPath.html +2 -0
- package/docs/api/functions/getOmcProgressPath.html +2 -0
- package/docs/api/functions/getOmcSystemPrompt.html +2 -0
- package/docs/api/functions/getOmcToolNames.html +3 -0
- package/docs/api/functions/getPatterns.html +2 -0
- package/docs/api/functions/getPhasePrompt.html +2 -0
- package/docs/api/functions/getPlanName.html +2 -0
- package/docs/api/functions/getPlanPath.html +2 -0
- package/docs/api/functions/getPlanProgress.html +2 -0
- package/docs/api/functions/getPlanSummaries.html +2 -0
- package/docs/api/functions/getPrdCompletionStatus.html +2 -0
- package/docs/api/functions/getPrdPath.html +2 -0
- package/docs/api/functions/getPrdStatus.html +2 -0
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -0
- package/docs/api/functions/getPriorityContext.html +2 -0
- package/docs/api/functions/getProgressContext.html +2 -0
- package/docs/api/functions/getProgressPath.html +2 -0
- package/docs/api/functions/getPromotionCandidates.html +2 -0
- package/docs/api/functions/getQAPrompt.html +2 -0
- package/docs/api/functions/getRalphContext.html +3 -0
- package/docs/api/functions/getReadmesForPath.html +2 -0
- package/docs/api/functions/getRecentLearnings.html +2 -0
- package/docs/api/functions/getRulesForPath.html +2 -0
- package/docs/api/functions/getRunningAgents.html +2 -0
- package/docs/api/functions/getRunningWorkers.html +2 -0
- package/docs/api/functions/getSessionTokenEstimate.html +2 -0
- package/docs/api/functions/getSkillsDir.html +2 -0
- package/docs/api/functions/getSpecPath.html +2 -0
- package/docs/api/functions/getStaleAgents.html +2 -0
- package/docs/api/functions/getStateDir.html +2 -0
- package/docs/api/functions/getStory.html +2 -0
- package/docs/api/functions/getSubagentStateFilePath.html +2 -0
- package/docs/api/functions/getThinkModeState.html +2 -0
- package/docs/api/functions/getThinkingConfig.html +3 -0
- package/docs/api/functions/getTopHotPaths.html +2 -0
- package/docs/api/functions/getTrackingStats.html +2 -0
- package/docs/api/functions/getTransitionPrompt.html +2 -0
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -0
- package/docs/api/functions/getValidationPrompt.html +2 -0
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -0
- package/docs/api/functions/getValidationStats.html +1 -0
- package/docs/api/functions/getValidationStatus.html +2 -0
- package/docs/api/functions/getWorkingMemory.html +2 -0
- package/docs/api/functions/handleBackgroundEvent.html +3 -0
- package/docs/api/functions/handleContextWindowRecovery.html +2 -0
- package/docs/api/functions/handleEditErrorRecovery.html +2 -0
- package/docs/api/functions/handlePermissionRequest.html +2 -0
- package/docs/api/functions/handleRecovery.html +10 -0
- package/docs/api/functions/handleSessionEnd.html +2 -0
- package/docs/api/functions/handleSessionRecovery.html +2 -0
- package/docs/api/functions/handleSharedFiles.html +7 -0
- package/docs/api/functions/handleSubagentStart.html +2 -0
- package/docs/api/functions/handleSubagentStop.html +2 -0
- package/docs/api/functions/hasBoulder.html +2 -0
- package/docs/api/functions/hasContentParts.html +1 -0
- package/docs/api/functions/hasModeState.html +3 -0
- package/docs/api/functions/hasPrd.html +2 -0
- package/docs/api/functions/hasTextContent.html +2 -0
- package/docs/api/functions/hasValidContent.html +3 -0
- package/docs/api/functions/incrementAgentCount.html +2 -0
- package/docs/api/functions/incrementRalphIteration.html +2 -0
- package/docs/api/functions/incrementReinforcement.html +2 -0
- package/docs/api/functions/initAutopilot.html +2 -0
- package/docs/api/functions/initNotepad.html +2 -0
- package/docs/api/functions/initPrd.html +2 -0
- package/docs/api/functions/initProgress.html +2 -0
- package/docs/api/functions/initUltrapilot.html +2 -0
- package/docs/api/functions/injectContextIntoText.html +2 -0
- package/docs/api/functions/injectPendingContext.html +3 -0
- package/docs/api/functions/injectRecoveryTextPart.html +2 -0
- package/docs/api/functions/install.html +2 -0
- package/docs/api/functions/integrateResults.html +5 -0
- package/docs/api/functions/isActiveModeRunning.html +2 -0
- package/docs/api/functions/isAllowedPath.html +2 -0
- package/docs/api/functions/isAlreadyHighVariant.html +2 -0
- package/docs/api/functions/isAutopilotActive.html +2 -0
- package/docs/api/functions/isAxiomEnabled.html +1 -0
- package/docs/api/functions/isClaudeInstalled.html +3 -0
- package/docs/api/functions/isClaudeModel.html +2 -0
- package/docs/api/functions/isCompactionInProgress.html +3 -0
- package/docs/api/functions/isDuplicateByContentHash.html +2 -0
- package/docs/api/functions/isDuplicateByRealPath.html +2 -0
- package/docs/api/functions/isExcludedCommand.html +2 -0
- package/docs/api/functions/isExtendedThinkingModel.html +1 -0
- package/docs/api/functions/isFileOwnedByWorker.html +2 -0
- package/docs/api/functions/isFormatterAvailable.html +2 -0
- package/docs/api/functions/isGptModel.html +2 -0
- package/docs/api/functions/isInstalled.html +2 -0
- package/docs/api/functions/isLearnerEnabled.html +2 -0
- package/docs/api/functions/isModeActive.html +6 -0
- package/docs/api/functions/isNonInteractive.html +1 -0
- package/docs/api/functions/isRecoverableError.html +2 -0
- package/docs/api/functions/isSafeCommand.html +2 -0
- package/docs/api/functions/isSessionRecoverable.html +2 -0
- package/docs/api/functions/isSharedFile.html +2 -0
- package/docs/api/functions/isThinkModeActive.html +2 -0
- package/docs/api/functions/isToolPart.html +2 -0
- package/docs/api/functions/isUltraQAActive.html +1 -0
- package/docs/api/functions/isWriteEditTool.html +2 -0
- package/docs/api/functions/learnFromToolOutput.html +7 -0
- package/docs/api/functions/lintFile.html +2 -0
- package/docs/api/functions/listAvailableCommands.html +2 -0
- package/docs/api/functions/listCommands.html +2 -0
- package/docs/api/functions/listPromotableLearnings.html +2 -0
- package/docs/api/functions/loadAgentPrompt.html +7 -0
- package/docs/api/functions/loadAgentUsageState.html +1 -0
- package/docs/api/functions/loadAllSkills.html +3 -0
- package/docs/api/functions/loadConfig.html +2 -0
- package/docs/api/functions/loadInjectedPaths.html +2 -0
- package/docs/api/functions/loadInjectedRules.html +2 -0
- package/docs/api/functions/loadLearnerConfig.html +2 -0
- package/docs/api/functions/loadProjectMemory.html +3 -0
- package/docs/api/functions/loadSkillById.html +2 -0
- package/docs/api/functions/mapDirectoryStructure.html +2 -0
- package/docs/api/functions/markStoryComplete.html +2 -0
- package/docs/api/functions/markStoryIncomplete.html +2 -0
- package/docs/api/functions/mergeAgentConfig.html +2 -0
- package/docs/api/functions/parseAxiomState.html +1 -0
- package/docs/api/functions/parseContextLimitError.html +2 -0
- package/docs/api/functions/parseProgress.html +2 -0
- package/docs/api/functions/parseRuleFrontmatter.html +10 -0
- package/docs/api/functions/parseSkillFile.html +2 -0
- package/docs/api/functions/parseSlashCommand.html +2 -0
- package/docs/api/functions/parseTokenLimitError.html +2 -0
- package/docs/api/functions/performUpdate.html +2 -0
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -0
- package/docs/api/functions/prependThinkingBlock.html +1 -0
- package/docs/api/functions/processAxiomBoot.html +1 -0
- package/docs/api/functions/processAxiomGuards.html +1 -0
- package/docs/api/functions/processBackgroundNotification.html +2 -0
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -0
- package/docs/api/functions/processEditOutput.html +2 -0
- package/docs/api/functions/processHook.html +3 -0
- package/docs/api/functions/processMessageForSkills.html +2 -0
- package/docs/api/functions/processOrchestratorPostTool.html +3 -0
- package/docs/api/functions/processOrchestratorPreTool.html +3 -0
- package/docs/api/functions/processPermissionRequest.html +2 -0
- package/docs/api/functions/processPreCompact.html +6 -0
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -0
- package/docs/api/functions/processResponseForDetection.html +3 -0
- package/docs/api/functions/processSessionEnd.html +2 -0
- package/docs/api/functions/processSetup.html +2 -0
- package/docs/api/functions/processSetupInit.html +2 -0
- package/docs/api/functions/processSetupMaintenance.html +2 -0
- package/docs/api/functions/processSlashCommand.html +2 -0
- package/docs/api/functions/processSubagentStart.html +2 -0
- package/docs/api/functions/processSubagentStop.html +2 -0
- package/docs/api/functions/processThinkMode.html +3 -0
- package/docs/api/functions/promoteLearning.html +2 -0
- package/docs/api/functions/pruneOldEntries.html +2 -0
- package/docs/api/functions/pruneOldStateFiles.html +2 -0
- package/docs/api/functions/readActiveContext.html +1 -0
- package/docs/api/functions/readAutopilotState.html +2 -0
- package/docs/api/functions/readBoulderState.html +2 -0
- package/docs/api/functions/readModeMarker.html +4 -0
- package/docs/api/functions/readNotepad.html +2 -0
- package/docs/api/functions/readPrd.html +2 -0
- package/docs/api/functions/readProgress.html +2 -0
- package/docs/api/functions/readProgressRaw.html +2 -0
- package/docs/api/functions/readProjectDecisions.html +1 -0
- package/docs/api/functions/readRalphState.html +2 -0
- package/docs/api/functions/readRecoveryMessages.html +2 -0
- package/docs/api/functions/readRecoveryParts.html +2 -0
- package/docs/api/functions/readTrackingState.html +3 -0
- package/docs/api/functions/readUltraQAState.html +2 -0
- package/docs/api/functions/readUltrapilotState.html +2 -0
- package/docs/api/functions/readUltraworkState.html +4 -0
- package/docs/api/functions/readUserPreferences.html +1 -0
- package/docs/api/functions/readVerificationState.html +3 -0
- package/docs/api/functions/recordArchitectFeedback.html +2 -0
- package/docs/api/functions/recordConflict.html +2 -0
- package/docs/api/functions/recordFailure.html +2 -0
- package/docs/api/functions/recordHookFire.html +2 -0
- package/docs/api/functions/recordHookResult.html +2 -0
- package/docs/api/functions/recordKeywordDetected.html +2 -0
- package/docs/api/functions/recordModeChange.html +2 -0
- package/docs/api/functions/recordPattern.html +2 -0
- package/docs/api/functions/recordSessionMetrics.html +2 -0
- package/docs/api/functions/recordSkillActivated.html +2 -0
- package/docs/api/functions/recordSkillInvoked.html +2 -0
- package/docs/api/functions/recordStoryProgress.html +2 -0
- package/docs/api/functions/recordValidationVerdict.html +2 -0
- package/docs/api/functions/registerBeadsContext.html +3 -0
- package/docs/api/functions/registerProjectMemoryContext.html +6 -0
- package/docs/api/functions/removeCodeBlocks.html +12 -0
- package/docs/api/functions/removeModeMarker.html +5 -0
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -0
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -0
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -0
- package/docs/api/functions/rescanProjectEnvironment.html +4 -0
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -0
- package/docs/api/functions/resumeAutopilot.html +2 -0
- package/docs/api/functions/runPreCommitChecks.html +2 -0
- package/docs/api/functions/runTests.html +2 -0
- package/docs/api/functions/runTypeCheck.html +2 -0
- package/docs/api/functions/sanitizeMessage.html +2 -0
- package/docs/api/functions/sanitizeMessages.html +2 -0
- package/docs/api/functions/saveAgentUsageState.html +1 -0
- package/docs/api/functions/saveInjectedPaths.html +2 -0
- package/docs/api/functions/saveInjectedRules.html +2 -0
- package/docs/api/functions/saveLearnerConfig.html +2 -0
- package/docs/api/functions/saveModeSummary.html +2 -0
- package/docs/api/functions/saveProjectMemory.html +3 -0
- package/docs/api/functions/saveVersionMetadata.html +2 -0
- package/docs/api/functions/setCurrentStory.html +2 -0
- package/docs/api/functions/setEnvironmentVariables.html +2 -0
- package/docs/api/functions/setLearnerConfigValue.html +2 -0
- package/docs/api/functions/setPriorityContext.html +2 -0
- package/docs/api/functions/shouldActivateThinkMode.html +3 -0
- package/docs/api/functions/shouldActivateUltrathink.html +2 -0
- package/docs/api/functions/shouldApplyRule.html +2 -0
- package/docs/api/functions/shouldCheckForUpdates.html +2 -0
- package/docs/api/functions/shouldCompleteByPrd.html +2 -0
- package/docs/api/functions/shouldPromptExtraction.html +2 -0
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -0
- package/docs/api/functions/shouldRetryValidation.html +2 -0
- package/docs/api/functions/shouldRunInBackground.html +8 -0
- package/docs/api/functions/spawnWorkers.html +7 -0
- package/docs/api/functions/startUltraQA.html +3 -0
- package/docs/api/functions/startUltrapilot.html +7 -0
- package/docs/api/functions/startValidationRound.html +2 -0
- package/docs/api/functions/startVerification.html +2 -0
- package/docs/api/functions/startsWithThinkingBlock.html +1 -0
- package/docs/api/functions/stopUltraQA.html +2 -0
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -0
- package/docs/api/functions/toSdkMcpFormat.html +2 -0
- package/docs/api/functions/trackAccess.html +2 -0
- package/docs/api/functions/trackProgress.html +5 -0
- package/docs/api/functions/transitionPhase.html +2 -0
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -0
- package/docs/api/functions/transitionToComplete.html +2 -0
- package/docs/api/functions/transitionToFailed.html +2 -0
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -0
- package/docs/api/functions/updateDirectoryAccess.html +2 -0
- package/docs/api/functions/updateExecution.html +2 -0
- package/docs/api/functions/updateExpansion.html +2 -0
- package/docs/api/functions/updatePlanning.html +2 -0
- package/docs/api/functions/updateQA.html +2 -0
- package/docs/api/functions/updateValidation.html +2 -0
- package/docs/api/functions/updateWorkerState.html +2 -0
- package/docs/api/functions/validateAgentConfig.html +2 -0
- package/docs/api/functions/validateCommitMessage.html +2 -0
- package/docs/api/functions/validateConfigFiles.html +2 -0
- package/docs/api/functions/validateExtractionRequest.html +2 -0
- package/docs/api/functions/validateMessage.html +1 -0
- package/docs/api/functions/validateMessages.html +1 -0
- package/docs/api/functions/validateSkillMetadata.html +2 -0
- package/docs/api/functions/writeAutopilotState.html +2 -0
- package/docs/api/functions/writeBoulderState.html +2 -0
- package/docs/api/functions/writePrd.html +2 -0
- package/docs/api/functions/writeRalphState.html +2 -0
- package/docs/api/functions/writeSkill.html +2 -0
- package/docs/api/functions/writeTrackingState.html +5 -0
- package/docs/api/functions/writeUltraQAState.html +2 -0
- package/docs/api/functions/writeUltrapilotState.html +2 -0
- package/docs/api/functions/writeUltraworkState.html +2 -0
- package/docs/api/functions/writeVerificationState.html +2 -0
- package/docs/api/hierarchy.html +1 -0
- package/docs/api/index.html +843 -0
- package/docs/api/interfaces/AgentConfig.html +18 -0
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -0
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -0
- package/docs/api/interfaces/AgentState.html +5 -0
- package/docs/api/interfaces/AgentUsageState.html +8 -0
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -0
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -0
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -0
- package/docs/api/interfaces/AutopilotConfig.html +26 -0
- package/docs/api/interfaces/AutopilotExecution.html +16 -0
- package/docs/api/interfaces/AutopilotExpansion.html +12 -0
- package/docs/api/interfaces/AutopilotPlanning.html +8 -0
- package/docs/api/interfaces/AutopilotQA.html +12 -0
- package/docs/api/interfaces/AutopilotResult.html +10 -0
- package/docs/api/interfaces/AutopilotState.html +36 -0
- package/docs/api/interfaces/AutopilotSummary.html +16 -0
- package/docs/api/interfaces/AutopilotValidation.html +10 -0
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -0
- package/docs/api/interfaces/AvailableAgent.html +5 -0
- package/docs/api/interfaces/AxiomBootInput.html +3 -0
- package/docs/api/interfaces/AxiomBootOutput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -0
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -0
- package/docs/api/interfaces/AxiomState.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -0
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -0
- package/docs/api/interfaces/BackgroundTask.html +7 -0
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -0
- package/docs/api/interfaces/BeadsContextConfig.html +4 -0
- package/docs/api/interfaces/BoulderState.html +12 -0
- package/docs/api/interfaces/BuildInfo.html +6 -0
- package/docs/api/interfaces/CanStartResult.html +4 -0
- package/docs/api/interfaces/CancelResult.html +4 -0
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -0
- package/docs/api/interfaces/CodeConventions.html +5 -0
- package/docs/api/interfaces/CodebasePattern.html +5 -0
- package/docs/api/interfaces/CommandInfo.html +5 -0
- package/docs/api/interfaces/CommandMetadata.html +7 -0
- package/docs/api/interfaces/CommentCheckResult.html +10 -0
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -0
- package/docs/api/interfaces/CommentInfo.html +14 -0
- package/docs/api/interfaces/CommentPendingCall.html +18 -0
- package/docs/api/interfaces/CommitConfig.html +9 -0
- package/docs/api/interfaces/CompactCheckpoint.html +7 -0
- package/docs/api/interfaces/ContextEntry.html +14 -0
- package/docs/api/interfaces/ContextUsageResult.html +12 -0
- package/docs/api/interfaces/CustomNote.html +5 -0
- package/docs/api/interfaces/DelegationDecision.html +7 -0
- package/docs/api/interfaces/DelegationRoute.html +7 -0
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -0
- package/docs/api/interfaces/DelegationTrigger.html +6 -0
- package/docs/api/interfaces/DetectedKeyword.html +13 -0
- package/docs/api/interfaces/DetectionConfig.html +8 -0
- package/docs/api/interfaces/DetectionResult.html +13 -0
- package/docs/api/interfaces/DirectoryInfo.html +7 -0
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -0
- package/docs/api/interfaces/ExecuteResult.html +5 -0
- package/docs/api/interfaces/ExpandedCommand.html +4 -0
- package/docs/api/interfaces/ExternalModelPreference.html +4 -0
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -0
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -0
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -0
- package/docs/api/interfaces/FileOwnership.html +8 -0
- package/docs/api/interfaces/FormatConfig.html +7 -0
- package/docs/api/interfaces/FrameworkDetection.html +4 -0
- package/docs/api/interfaces/FullAgentConfig.html +26 -0
- package/docs/api/interfaces/GateCheckResult.html +5 -0
- package/docs/api/interfaces/GitBranchPattern.html +3 -0
- package/docs/api/interfaces/HookContext.html +5 -0
- package/docs/api/interfaces/HookDefinition.html +5 -0
- package/docs/api/interfaces/HookInput.html +18 -0
- package/docs/api/interfaces/HookOutput.html +10 -0
- package/docs/api/interfaces/HookResult.html +4 -0
- package/docs/api/interfaces/HotPath.html +6 -0
- package/docs/api/interfaces/InjectedPathsData.html +9 -0
- package/docs/api/interfaces/InjectedRulesData.html +10 -0
- package/docs/api/interfaces/InjectedSkillsData.html +8 -0
- package/docs/api/interfaces/InjectionResult.html +8 -0
- package/docs/api/interfaces/InstallOptions.html +9 -0
- package/docs/api/interfaces/InstallResult.html +10 -0
- package/docs/api/interfaces/IntegrationResult.html +14 -0
- package/docs/api/interfaces/LanguageDetection.html +5 -0
- package/docs/api/interfaces/LearnedSkill.html +16 -0
- package/docs/api/interfaces/LearnerConfig.html +18 -0
- package/docs/api/interfaces/LintConfig.html +7 -0
- package/docs/api/interfaces/MagicKeyword.html +4 -0
- package/docs/api/interfaces/MatchResult.html +6 -0
- package/docs/api/interfaces/MessageContext.html +8 -0
- package/docs/api/interfaces/MessageInfo.html +9 -0
- package/docs/api/interfaces/MessagePart.html +15 -0
- package/docs/api/interfaces/MessageWithModel.html +3 -0
- package/docs/api/interfaces/MessageWithParts.html +6 -0
- package/docs/api/interfaces/MessagesTransformHook.html +3 -0
- package/docs/api/interfaces/MessagesTransformInput.html +3 -0
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -0
- package/docs/api/interfaces/ModeConfig.html +13 -0
- package/docs/api/interfaces/ModeStatus.html +4 -0
- package/docs/api/interfaces/ModelRef.html +4 -0
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -0
- package/docs/api/interfaces/NotepadConfig.html +7 -0
- package/docs/api/interfaces/NotepadStats.html +11 -0
- package/docs/api/interfaces/NotificationCheckResult.html +8 -0
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -0
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -0
- package/docs/api/interfaces/OutputPart.html +4 -0
- package/docs/api/interfaces/PRD.html +9 -0
- package/docs/api/interfaces/PRDStatus.html +13 -0
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -0
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -0
- package/docs/api/interfaces/PendingContext.html +8 -0
- package/docs/api/interfaces/PermissionHookOutput.html +4 -0
- package/docs/api/interfaces/PermissionRequestInput.html +9 -0
- package/docs/api/interfaces/PersistentModeResult.html +9 -0
- package/docs/api/interfaces/PlanProgress.html +8 -0
- package/docs/api/interfaces/PlanSummary.html +10 -0
- package/docs/api/interfaces/PluginConfig.html +17 -0
- package/docs/api/interfaces/PreCommitResult.html +3 -0
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -0
- package/docs/api/interfaces/PreCompactInput.html +8 -0
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -0
- package/docs/api/interfaces/PriorityContextResult.html +5 -0
- package/docs/api/interfaces/ProgressEntry.html +11 -0
- package/docs/api/interfaces/ProgressLog.html +7 -0
- package/docs/api/interfaces/ProjectMemory.html +14 -0
- package/docs/api/interfaces/ProjectStructure.html +5 -0
- package/docs/api/interfaces/PromotionCandidate.html +9 -0
- package/docs/api/interfaces/PruneResult.html +5 -0
- package/docs/api/interfaces/QualityValidation.html +10 -0
- package/docs/api/interfaces/RalphLoopHook.html +4 -0
- package/docs/api/interfaces/RalphLoopOptions.html +5 -0
- package/docs/api/interfaces/RalphLoopState.html +21 -0
- package/docs/api/interfaces/RecoveryConfig.html +16 -0
- package/docs/api/interfaces/RecoveryMessageData.html +4 -0
- package/docs/api/interfaces/RecoveryResult.html +10 -0
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -0
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -0
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -0
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -0
- package/docs/api/interfaces/RegisterContextOptions.html +12 -0
- package/docs/api/interfaces/ReleaseInfo.html +9 -0
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -0
- package/docs/api/interfaces/ResolveOptions.html +6 -0
- package/docs/api/interfaces/ResolvedModel.html +5 -0
- package/docs/api/interfaces/RetryState.html +6 -0
- package/docs/api/interfaces/RuleFileCandidate.html +12 -0
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -0
- package/docs/api/interfaces/RuleInfo.html +18 -0
- package/docs/api/interfaces/RuleMetadata.html +9 -0
- package/docs/api/interfaces/RuleToInject.html +10 -0
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -0
- package/docs/api/interfaces/SessionEndInput.html +9 -0
- package/docs/api/interfaces/SessionMetrics.html +9 -0
- package/docs/api/interfaces/SessionState.html +5 -0
- package/docs/api/interfaces/SetupHookOutput.html +3 -0
- package/docs/api/interfaces/SetupInput.html +7 -0
- package/docs/api/interfaces/SetupResult.html +5 -0
- package/docs/api/interfaces/ShellHook.html +4 -0
- package/docs/api/interfaces/SisyphusOptions.html +14 -0
- package/docs/api/interfaces/SisyphusSession.html +16 -0
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -0
- package/docs/api/interfaces/SkillFileCandidate.html +10 -0
- package/docs/api/interfaces/SkillHookContext.html +5 -0
- package/docs/api/interfaces/SkillMetadata.html +22 -0
- package/docs/api/interfaces/SkillParseResult.html +5 -0
- package/docs/api/interfaces/SubagentHookOutput.html +3 -0
- package/docs/api/interfaces/SubagentInfo.html +14 -0
- package/docs/api/interfaces/SubagentStartInput.html +10 -0
- package/docs/api/interfaces/SubagentStopInput.html +11 -0
- package/docs/api/interfaces/SubagentTrackingState.html +6 -0
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -0
- package/docs/api/interfaces/TechStack.html +5 -0
- package/docs/api/interfaces/ThinkModeInput.html +4 -0
- package/docs/api/interfaces/ThinkModeState.html +12 -0
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -0
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -0
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -0
- package/docs/api/interfaces/TodoContinuationHook.html +2 -0
- package/docs/api/interfaces/TransitionResult.html +4 -0
- package/docs/api/interfaces/TruncateState.html +6 -0
- package/docs/api/interfaces/UltraQAOptions.html +5 -0
- package/docs/api/interfaces/UltraQAResult.html +9 -0
- package/docs/api/interfaces/UltraQAState.html +19 -0
- package/docs/api/interfaces/UltrapilotConfig.html +14 -0
- package/docs/api/interfaces/UltrapilotState.html +26 -0
- package/docs/api/interfaces/UltraworkState.html +17 -0
- package/docs/api/interfaces/UpdateCheckResult.html +7 -0
- package/docs/api/interfaces/UpdateResult.html +7 -0
- package/docs/api/interfaces/UserDirective.html +7 -0
- package/docs/api/interfaces/UserStory.html +15 -0
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -0
- package/docs/api/interfaces/ValidationResult.html +10 -0
- package/docs/api/interfaces/VerificationState.html +17 -0
- package/docs/api/interfaces/VersionMetadata.html +12 -0
- package/docs/api/interfaces/WorkerState.html +24 -0
- package/docs/api/interfaces/WriteSkillResult.html +6 -0
- package/docs/api/media/EVOLUTION.md +605 -0
- package/docs/api/media/INSTALL.md +542 -0
- package/docs/api/media/MIGRATION.md +1158 -0
- package/docs/api/media/NEXUS.md +562 -0
- package/docs/api/media/REFERENCE.md +1222 -0
- package/docs/api/media/mcp-server-usage.md +240 -0
- package/docs/api/modules.html +1 -0
- package/docs/api/types/AgentCategory.html +2 -0
- package/docs/api/types/AgentCost.html +3 -0
- package/docs/api/types/AgentFactory.html +2 -0
- package/docs/api/types/AgentOverrides.html +2 -0
- package/docs/api/types/AutopilotPhase.html +2 -0
- package/docs/api/types/AutopilotSignal.html +2 -0
- package/docs/api/types/CommandScope.html +2 -0
- package/docs/api/types/ContextPriority.html +3 -0
- package/docs/api/types/ContextSourceType.html +3 -0
- package/docs/api/types/DelegationProvider.html +2 -0
- package/docs/api/types/DelegationTool.html +2 -0
- package/docs/api/types/ExecutionMode.html +3 -0
- package/docs/api/types/ExternalModelProvider.html +2 -0
- package/docs/api/types/GateType.html +3 -0
- package/docs/api/types/InjectionStrategy.html +2 -0
- package/docs/api/types/KeywordType.html +10 -0
- package/docs/api/types/ModelType.html +2 -0
- package/docs/api/types/QAStatus.html +2 -0
- package/docs/api/types/RecoveryErrorType.html +2 -0
- package/docs/api/types/RecoveryStoredPart.html +2 -0
- package/docs/api/types/TaskTool.html +1 -0
- package/docs/api/types/ThinkingConfig.html +2 -0
- package/docs/api/types/UltraQAGoalType.html +1 -0
- package/docs/api/types/UserStoryInput.html +2 -0
- package/docs/api/types/ValidationVerdict.html +2 -0
- package/docs/api/types/ValidationVerdictType.html +2 -0
- package/docs/api/variables/AGENTS_DIR.html +1 -0
- package/docs/api/variables/AGENTS_FILENAME.html +2 -0
- package/docs/api/variables/AGENT_TOOLS.html +2 -0
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -0
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -0
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -0
- package/docs/api/variables/BDD_KEYWORDS.html +2 -0
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -0
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -0
- package/docs/api/variables/BOULDER_DIR.html +2 -0
- package/docs/api/variables/BOULDER_FILE.html +2 -0
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -0
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -0
- package/docs/api/variables/CI_COMMANDS.html +2 -0
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -0
- package/docs/api/variables/COMMANDS_DIR.html +1 -0
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -0
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -0
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -0
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -0
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -0
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -0
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -0
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -0
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -0
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -0
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -0
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -0
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -0
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/GITHUB_API_URL.html +1 -0
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/INSTALLER_VERSION.html +2 -0
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -0
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -0
- package/docs/api/variables/MANUAL_HEADER.html +1 -0
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -0
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -0
- package/docs/api/variables/MAX_WARNINGS.html +2 -0
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -0
- package/docs/api/variables/MODE_CONFIGS.html +4 -0
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -0
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -0
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -0
- package/docs/api/variables/NOTEPAD_DIR.html +2 -0
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -0
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -0
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -0
- package/docs/api/variables/PATTERNS_HEADER.html +1 -0
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -0
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -0
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/PLAN_EXTENSION.html +2 -0
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -0
- package/docs/api/variables/PRD_FILENAME.html +1 -0
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -0
- package/docs/api/variables/PREVENTED_ERROR.html +2 -0
- package/docs/api/variables/PRIORITY_HEADER.html +1 -0
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -0
- package/docs/api/variables/PROJECT_MARKERS.html +2 -0
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -0
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -0
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -0
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -0
- package/docs/api/variables/README_FILENAME.html +2 -0
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -0
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -0
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -0
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -0
- package/docs/api/variables/REPO_NAME.html +1 -0
- package/docs/api/variables/REPO_OWNER.html +2 -0
- package/docs/api/variables/RETRY_CONFIG.html +6 -0
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -0
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -0
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -0
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/SKILL_EXTENSION.html +2 -0
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -0
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -0
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -0
- package/docs/api/variables/TARGET_TOOLS.html +2 -0
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -0
- package/docs/api/variables/THINKING_CONFIGS.html +2 -0
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -0
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -0
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -0
- package/docs/api/variables/TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -0
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -0
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -0
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/USER_RULE_DIR.html +2 -0
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -0
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -0
- package/docs/api/variables/VERSION_FILE.html +1 -0
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -0
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -0
- package/docs/api/variables/allCustomTools.html +3 -0
- package/docs/api/variables/analystAgent.html +1 -0
- package/docs/api/variables/architectAgent.html +1 -0
- package/docs/api/variables/astTools.html +2 -0
- package/docs/api/variables/contextCollector.html +2 -0
- package/docs/api/variables/criticAgent.html +1 -0
- package/docs/api/variables/designerAgent.html +1 -0
- package/docs/api/variables/executorAgent.html +1 -0
- package/docs/api/variables/exploreAgent.html +1 -0
- package/docs/api/variables/lspTools.html +2 -0
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -0
- package/docs/api/variables/omcSystemPrompt.html +2 -0
- package/docs/api/variables/omcToolNames.html +3 -0
- package/docs/api/variables/omcToolsServer.html +4 -0
- package/docs/api/variables/plannerAgent.html +1 -0
- package/docs/api/variables/researcherAgent.html +1 -0
- package/docs/api/variables/visionAgent.html +1 -0
- package/docs/api/variables/writerAgent.html +1 -0
- package/docs/features/.gitkeep +0 -0
- package/docs/getting-started/.gitkeep +0 -0
- package/docs/getting-started/concepts.md +103 -0
- package/docs/getting-started/installation.md +100 -0
- package/docs/getting-started/quickstart.md +96 -0
- package/docs/guides/.gitkeep +0 -0
- package/docs/guides/mcp-server-usage.md +240 -0
- package/docs/guides/task-templates-guide.md +153 -0
- package/docs/guides/tool-name-migration.md +97 -0
- package/docs/guides/troubleshooting-guide.md +110 -0
- package/docs/guides/v5.5.13-new-features.md +234 -0
- package/docs/guides/wizard-user-guide.md +85 -0
- package/docs/guides/workflow-recommendation-guide.md +97 -0
- package/docs/mcp/README.md +82 -0
- package/docs/mcp/client-guide.md +337 -0
- package/docs/mcp/configuration.md +292 -0
- package/docs/mcp/overview.md +204 -0
- package/docs/mcp/performance.md +300 -0
- package/docs/mcp/server-guide.md +300 -0
- package/docs/mcp-compatibility-matrix.md +52 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +187 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update.md +1395 -0
- package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1436 -0
- package/docs/plans/2026-03-05-mcp-adoption-plan.md +531 -0
- package/docs/prd/documentation-system-draft.md +227 -0
- package/docs/prd/documentation-system-rough.md +515 -0
- package/docs/prd/memory-evolution-optimize-rough.md +508 -0
- package/docs/prd/user_guide-rough.md +636 -0
- package/docs/reviews/documentation-system/review_critic.md +312 -0
- package/docs/reviews/documentation-system/review_domain.md +390 -0
- package/docs/reviews/documentation-system/review_product.md +151 -0
- package/docs/reviews/documentation-system/review_tech.md +236 -0
- package/docs/reviews/documentation-system/review_ux.md +213 -0
- package/docs/reviews/documentation-system/summary.md +149 -0
- package/docs/reviews/draft-prd-agent-observability/review_critic.md +71 -0
- package/docs/reviews/draft-prd-agent-observability/review_domain.md +100 -0
- package/docs/reviews/draft-prd-agent-observability/review_product.md +78 -0
- package/docs/reviews/draft-prd-agent-observability/review_tech.md +66 -0
- package/docs/reviews/draft-prd-agent-observability/review_ux.md +70 -0
- package/docs/reviews/draft-prd-agent-observability/rough_prd.md +135 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +302 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +237 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +140 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +240 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -0
- package/docs/reviews/draft-prd-three-directions/review_product.md +103 -0
- package/docs/reviews/draft-prd-three-directions/review_tech.md +135 -0
- package/docs/reviews/draft-prd-three-directions/review_ux.md +88 -0
- package/docs/reviews/memory-evolution-optimize/summary.md +94 -0
- package/docs/reviews/ultrapower-security/review_critic.md +450 -0
- package/docs/reviews/ultrapower-tech-review/review_tech.md +180 -0
- package/docs/reviews/user_guide/summary.md +129 -0
- package/docs/standards/AGENTS.md +1 -1
- package/docs/standards/README.md +3 -3
- package/docs/standards/agent-lifecycle.md +80 -1
- package/docs/standards/anti-patterns.md +1 -1
- package/docs/standards/audit-report.md +2 -2
- package/docs/standards/contribution-guide.md +67 -41
- package/docs/standards/hook-execution-order.md +1 -1
- package/docs/standards/runtime-protection.md +42 -1
- package/docs/standards/state-machine.md +1 -1
- package/docs/standards/user-guide.md +54 -1
- package/docs/tasks/documentation-system/implementation-plan.md +292 -0
- package/docs/tasks/documentation-system/manifest.md +425 -0
- package/docs/tasks/memory-evolution-optimize/manifest.md +475 -0
- package/docs/tasks/user_guide/manifest.md +333 -0
- package/docs/troubleshooting/agent-timeouts.md +37 -0
- package/docs/troubleshooting/common-errors.md +37 -0
- package/docs/troubleshooting/hook-failures.md +29 -0
- package/docs/troubleshooting/performance-issues.md +41 -0
- package/docs/troubleshooting/state-corruption.md +36 -0
- package/docs/troubleshooting/tool-name-length-error.md +57 -0
- package/docs/troubleshooting.md +621 -0
- package/package.json +4 -2
- package/scripts/analyze-dependencies.ts +47 -0
- package/scripts/analyze-hook-coverage.ts +55 -0
- package/scripts/bump-version.mjs +14 -10
- package/scripts/measure-memory.mjs +11 -0
- package/scripts/memory-stress-test.mjs +39 -0
- package/scripts/migrate-tool-names.js +100 -0
- package/scripts/parallel-build.mjs +15 -0
- package/scripts/performance-regression.ts +28 -0
- package/scripts/plugin-setup.mjs +117 -1
- package/scripts/profiling.ts +95 -0
- package/scripts/release-steps.mjs +10 -4
- package/scripts/run-profiling.ts +64 -0
- package/scripts/test-parallel-execution.ts +72 -0
- package/scripts/test-race-detection.ts +57 -0
- package/scripts/test-tiered-writer.ts +60 -0
- package/scripts/test-wal-integration.ts +29 -0
- package/scripts/test-wal.ts +48 -0
- package/scripts/verify-all.sh +122 -0
- package/scripts/verify-install.sh +89 -0
- package/skills/AGENTS.md +98 -28
- package/skills/ax-evolve/SKILL.md +11 -1
- package/skills/ax-export/SKILL.md +7 -8
- package/skills/ax-knowledge/AGENTS.md +27 -2
- package/skills/ax-knowledge/SKILL.md +39 -7
- package/skills/ax-reflect/SKILL.md +2 -0
- package/skills/ax-status/SKILL.md +34 -1
- package/skills/executing-plans/SKILL.md +4 -4
- package/skills/next-step-router/SKILL.md +17 -0
- package/skills/release/SKILL.md +42 -0
- package/skills/requesting-code-review/SKILL.md +3 -3
- package/skills/subagent-driven-development/SKILL.md +8 -8
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/systematic-debugging/SKILL.md +3 -3
- package/skills/trace/SKILL.md +41 -0
- package/skills/wizard/SKILL.md +103 -72
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +4 -4
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
- package/templates/tasks/README.md +45 -0
- package/templates/tasks/bug-fix.md +37 -0
- package/templates/tasks/code-review.md +36 -0
- package/templates/tasks/feature-development.md +43 -0
- package/templates/tasks/refactoring.md +37 -0
- package/templates/tasks/security-audit.md +37 -0
- package/docs/prd/ultrapower-standards-draft.md +0 -191
- package/docs/prd/ultrapower-standards-rough.md +0 -560
- package/docs/reviews/draft-prd-ultrapower-pain-fix/review_tech.md +0 -219
- package/docs/reviews/draft_prd_pain_points/review_domain.md +0 -215
- package/docs/reviews/ultrapower-full-bugfix-plan/review_product.md +0 -135
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
# Critic 评审报告(安全与边缘情况)
|
|
2
|
+
|
|
3
|
+
**评审者**: axiom-critic
|
|
4
|
+
**评审时间**: 2026-03-02
|
|
5
|
+
**评审对象**: PRD v0.2 - Axiom 记忆与进化系统 Token 使用效率优化
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 总体评分
|
|
10
|
+
|
|
11
|
+
**5 / 10**
|
|
12
|
+
|
|
13
|
+
PRD 所列的已知风险均已描述,但在安全性和逻辑严谨性两个维度存在多处遗漏。核心问题在于:T4 的状态标记名称内部自相矛盾(`auto_evolve_done` vs `auto_evolve`),T3 v1/v2 的接口语义不统一,`stop_hook_active` 守卫在现有代码中并无对应实现,以及若干并发写入和边界值场景未被处理。这些问题若进入实现阶段,将直接导致功能行为不可预测。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 评审意见
|
|
18
|
+
|
|
19
|
+
### 1. 安全性问题
|
|
20
|
+
|
|
21
|
+
#### 1.1 归档文件路径:路径遍历风险(P0 级别评估)
|
|
22
|
+
|
|
23
|
+
PRD 将归档路径硬编码为 `.omc/axiom/evolution/learning_queue_archive.md` 和 `.omc/axiom/evolution/reflection_log_archive.md`,属于固定路径,**本身不存在路径遍历漏洞**。
|
|
24
|
+
|
|
25
|
+
然而,隐患存在于**触发链**上:
|
|
26
|
+
|
|
27
|
+
- T1 的归档触发时机是"ax-evolve 处理完一批条目后"。ax-evolve 的 LQ 条目内容(`内容` 字段、`元数据` 字段)是由系统自动生成并写入的,但 `learning_queue.md` 是纯 Markdown 文件,**不经过任何输入消毒**。
|
|
28
|
+
- 若恶意内容(例如通过 ax-reflect 写入的会话内容)在 `内容` 字段中包含文件路径片段(如 `../../.claude/settings.json`),这些内容会被**原样写入归档文件**。
|
|
29
|
+
- 归档文件本身不执行,写入无害。但若后续有代码从归档文件中提取路径并做文件操作(未来扩展),则构成路径遍历预留风险。
|
|
30
|
+
- **当前 PRD 版本不涉及动态路径构建,故严重程度为 LOW**,但须在未来实现中明确标注"归档路径不可来自文件内容"。
|
|
31
|
+
|
|
32
|
+
#### 1.2 MiniSearch 查询输入净化(HIGH)
|
|
33
|
+
|
|
34
|
+
PRD 第 3 节 T3 描述 `ax-knowledge` 接受 `--filter <keyword>` 参数,交由 MiniSearch 执行全文匹配(模糊搜索 fuzzy: 0.2 + 前缀 prefix: true)。
|
|
35
|
+
|
|
36
|
+
**关键漏洞**:MiniSearch 本身是纯内存的 JavaScript 库,没有 SQL 注入面,但其**查询字符串未经净化时存在两类风险**:
|
|
37
|
+
|
|
38
|
+
1. **正则注入(RegExp Injection)**:MiniSearch 在处理模糊查询时内部会构建正则表达式。若 `keyword` 参数包含 `[`, `]`, `*`, `+`, `?`, `{`, `}`, `(`, `)`, `\` 等正则特殊字符,可能导致正则异常(抛出 `SyntaxError: Invalid regular expression`)而**穿透降级路径**——即 MiniSearch 并非"加载失败"而是"查询抛异常",现有降级逻辑("MiniSearch 加载失败 → grep")**不会捕获此场景**,ax-knowledge 将直接抛出未处理异常。
|
|
39
|
+
- 证据:LQ-006 已记录 Regex Injection 防护模式(k-034),说明项目已知晓此风险,但 PRD T3 v2 未引用此模式。
|
|
40
|
+
- 示例攻击输入:`ax-knowledge --filter "test[*"`
|
|
41
|
+
|
|
42
|
+
2. **超长查询字符串**:无长度限制的 `--filter` 参数可触发 MiniSearch 在大数据集下的高 CPU 消耗。当前 62 条规模下影响有限,但 PRD 未定义最大查询长度。
|
|
43
|
+
|
|
44
|
+
**建议**:在 TypeScript 层对 `keyword` 参数做以下处理:
|
|
45
|
+
- 长度上限(建议 256 字符)
|
|
46
|
+
- 正则特殊字符转义(参考 k-034 的转义模式:`str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')`)
|
|
47
|
+
|
|
48
|
+
#### 1.3 TOCTOU 竞争条件:SessionEnd hook 读取 active_context.md(HIGH)
|
|
49
|
+
|
|
50
|
+
T4 的设计依赖以下顺序:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
Step 1: 读取 active_context.md → 检查 auto_evolve_done 字段
|
|
54
|
+
Step 2: 若字段不存在 → 执行 ax-evolve(3 条)
|
|
55
|
+
Step 3: 执行完成后 → 写入 auto_evolve: true 到 active_context.md
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**竞争条件场景**:在多工作区(worktree)环境中,或者用户同时打开两个 Claude Code 会话(共享同一 `.omc/axiom/` 目录),两个 SessionEnd hook 可能**并发触发**:
|
|
59
|
+
|
|
60
|
+
- Session A 读取 active_context.md(Step 1),判断 `auto_evolve_done` 不存在,决定执行
|
|
61
|
+
- Session B 读取 active_context.md(Step 1),同样判断不存在,决定执行
|
|
62
|
+
- Session A 执行 ax-evolve,处理条目 LQ-031、LQ-032、LQ-033,写入 learning_queue.md
|
|
63
|
+
- Session B 执行 ax-evolve,**同样**处理 LQ-031、LQ-032、LQ-033(因为 Session A 的写入可能尚未完成)
|
|
64
|
+
- 结果:**同一批条目被处理两次**,knowledge_base.md 中写入重复知识条目,learning_queue.md 状态可能损坏
|
|
65
|
+
|
|
66
|
+
这是经典的 **TOCTOU(Time-of-Check-Time-of-Use)** 问题。PRD 在"安全守卫"中仅提及 `stop_hook_active` 守卫,未处理并发 SessionEnd 场景。
|
|
67
|
+
|
|
68
|
+
**严重性评估**:MEDIUM(多会话并发场景在日常使用中确实存在,特别是 Claude Code 允许在多个终端窗口打开同一项目)。
|
|
69
|
+
|
|
70
|
+
**建议**:使用文件锁(`lockfile` 或写入专用的 `.lock` 文件 + 原子检查)或在 `active_context.md` 中使用 **写入再读取**(write-then-verify)模式替代 TOCTOU 易发的读写分离模式。
|
|
71
|
+
|
|
72
|
+
#### 1.4 stop_hook_active 守卫:环境变量检查与实际代码不符(HIGH)
|
|
73
|
+
|
|
74
|
+
PRD T4 第 5 条:"安全守卫:hook 脚本入口检查 `stop_hook_active` 环境变量;若为 `true` 则立即退出"。
|
|
75
|
+
|
|
76
|
+
**代码层核查发现**:
|
|
77
|
+
|
|
78
|
+
- `templates/hooks/subagent-stop.mjs` 确实检查了 `stop_hook_active`,但该检查是从**JSON stdin 数据**中解构获取(`const { stop_hook_active } = data`),而非环境变量 `process.env.stop_hook_active`。
|
|
79
|
+
- **PRD 描述与实际实现存在根本性差异**:PRD 说"检查环境变量",实际代码检查的是"JSON 数据字段"。
|
|
80
|
+
- 在 T4 新增的 SessionEnd hook 脚本中,若实现者按 PRD 描述做 `process.env.STOP_HOOK_ACTIVE === 'true'` 检查,该守卫将**完全失效**(SessionEnd hook 的触发上下文不提供此环境变量,Claude Code 通过 JSON 字段传递此标志)。
|
|
81
|
+
- 更严重的是,**SessionEnd hook 天然不应收到 `stop_hook_active` 字段**(该字段只在 Stop hook 的 JSON payload 中存在),因此该守卫在 SessionEnd hook 中逻辑上是无意义的——PRD 声称这是"防 Stop hook 误触发",但 SessionEnd hook 本身就不是 Stop hook,守卫的存在目的自相矛盾。
|
|
82
|
+
|
|
83
|
+
**建议**:在 T4 的实现规格中明确:SessionEnd hook 脚本无需也不应检查 `stop_hook_active`;若要防止意外触发,应检查 `hook_event_name` 字段是否等于 `'SessionEnd'`。
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
### 2. 逻辑不一致
|
|
88
|
+
|
|
89
|
+
#### 2.1 T1 阈值语义:`done > 10` 与 `done >= 10` 的歧义(MEDIUM)
|
|
90
|
+
|
|
91
|
+
PRD 第 3 节 T1 第 1 条:"主文件中 `done` 条目数超过 **10 条**时触发归档"——"超过 10 条"语义为 `done > 10`(即 done = 11 时触发)。
|
|
92
|
+
|
|
93
|
+
但 PRD 第 5 节验收标准 T1 写道:"触发归档后,主文件 done 条目数 `<= 10`"——这意味着**触发后保留最多 10 条**。
|
|
94
|
+
|
|
95
|
+
流程图 4.1 写道:`{done 条目数 > 10?}` ——确认触发条件为 `done > 10`,即 done = 11 时触发,归档到 done = 10。
|
|
96
|
+
|
|
97
|
+
**但** PRD 第 3 节 T1 第 4 条:"主文件只保留……最近 10 条 `done` 条目"——这里"最近 10 条"是归档后的目标状态,对应 `done <= 10`,与 `done > 10` 的触发条件逻辑上一致。
|
|
98
|
+
|
|
99
|
+
**问题**:如果有恰好 10 条 done 时执行 ax-evolve,将第 10 条的 pending 变为 done,done = 11,触发归档,归档后 done = 10。**但 PRD 第 3 节 T1 第 1 条描述是"超过 10 条时触发",这意味着 done = 10 时不触发**——此处"超过"的文字语义为严格大于(`>`),而非大于等于(`>=`),实现时需要明确。
|
|
100
|
+
|
|
101
|
+
**真正的逻辑缺陷**:若触发条件为 `done >= 10`(即恰好 10 条也触发),则每次 ax-evolve 将第 9 条变为 done(done = 10),立即触发归档,归档掉 0 条(因为要保留 10 条)——归档操作为空操作,造成无意义的 I/O。
|
|
102
|
+
|
|
103
|
+
**建议**:明确语义为 `done > 10`(done = 11 时触发),并在代码注释中标注。
|
|
104
|
+
|
|
105
|
+
#### 2.2 T4 状态标记名称内部不一致(HIGH — 功能级别缺陷)
|
|
106
|
+
|
|
107
|
+
这是本 PRD **最严重的逻辑不一致**。
|
|
108
|
+
|
|
109
|
+
PRD 第 3 节 T4:
|
|
110
|
+
- 第 4 条(跳过条件):通过读取 active_context.md 中的 `auto_evolve_done: true` 标记判断是否跳过
|
|
111
|
+
- 第 6 条(触发标记):自动触发完成后在 active_context.md 写入标记 `auto_evolve: true`
|
|
112
|
+
|
|
113
|
+
**矛盾**:写入的是 `auto_evolve: true`,检查的是 `auto_evolve_done: true`——**两个不同的字段名**。
|
|
114
|
+
|
|
115
|
+
按照 PRD 当前描述,系统将永远不会跳过自动触发:
|
|
116
|
+
1. 第一次会话结束:`auto_evolve_done` 不存在 → 执行 ax-evolve → 写入 `auto_evolve: true`
|
|
117
|
+
2. 第二次会话结束:检查 `auto_evolve_done`(仍不存在,因为写入的是 `auto_evolve`)→ 再次执行 ax-evolve
|
|
118
|
+
3. **重复无限循环**(跨会话,每次都重新处理相同条目)
|
|
119
|
+
|
|
120
|
+
这不是措辞问题,是**功能级别的逻辑错误**:跳过条件与写入条件检查的是两个不同名称的字段,导致跳过逻辑永久失效。
|
|
121
|
+
|
|
122
|
+
实际代码中(`grep "auto_evolve" src/`)**没有找到任何现有实现**,说明这是纯设计层面的错误,尚未在代码中固化,应在 PRD 确认前修正。
|
|
123
|
+
|
|
124
|
+
**建议**:统一字段名,两处均使用 `auto_evolve_done: true`,或均使用 `auto_evolve: true`,并在 PRD 中保持一致。
|
|
125
|
+
|
|
126
|
+
#### 2.3 T3 v1 与 v2 的 `--filter` 参数语义不统一(MEDIUM)
|
|
127
|
+
|
|
128
|
+
T3 v1(SKILL.md 层,基础方案):`--filter <keyword>` 只返回 **Title 或 Category 包含关键词**的行(字段精确匹配)
|
|
129
|
+
|
|
130
|
+
T3 v2(MiniSearch):`--filter <keyword>` 执行**全文匹配**(title + content + tags 加权,支持模糊匹配 fuzzy: 0.2)
|
|
131
|
+
|
|
132
|
+
验收标准(第 6 节)混合引用了两套语义:
|
|
133
|
+
- "ax-knowledge --filter typescript 只返回 Title/Tags 含 typescript 的条目(MiniSearch 全文匹配)"
|
|
134
|
+
- "过滤结果正确(无漏匹配、无误匹配)"
|
|
135
|
+
|
|
136
|
+
**逻辑问题**:同一个验收标准,在 v1 环境下(MiniSearch 失败,降级到 grep)的行为与 v2 环境下**结果集不同**:
|
|
137
|
+
|
|
138
|
+
- v2:`--filter typescript` 可能返回 content 含 "typescript" 但 Title 不含的条目(全文匹配)
|
|
139
|
+
- v1/降级:`--filter typescript` 只返回 Title 或 Category 含 "typescript" 的条目(字段匹配)
|
|
140
|
+
|
|
141
|
+
这意味着**降级路径的结果集是 v2 结果集的子集**,用户在降级状态下看到的结果比正常状态少,但 PRD 的验收标准未区分这两种状态下的预期行为,无法判断降级时是否"正确"。
|
|
142
|
+
|
|
143
|
+
**更深的矛盾**:T3 v1 验收标准说 "MiniSearch 加载失败时自动降级至 grep 过滤,不抛异常",但 T3 v1 本身就是 SKILL.md 层的 grep 过滤,v2 才是 MiniSearch。降级"从 v2 回到 v1"——所以 v1 的 grep 过滤**既是基础方案又是降级方案**,但 PRD 在两个位置(T3 v1 描述和降级路径描述)对该行为的描述逻辑重叠,未明确是否为同一实现。
|
|
144
|
+
|
|
145
|
+
#### 2.4 流程图 4.1 中"会话结束检测"节点与 SessionEnd hook 技术实现不一致(LOW)
|
|
146
|
+
|
|
147
|
+
PRD 第 3 节 T4 第 1 条明确:"触发点:仅使用 SessionEnd hook(不使用 Stop hook)"。
|
|
148
|
+
|
|
149
|
+
流程图 4.1 中使用 `J{会话结束检测}` 菱形判断节点,暗示这是一个**主动检测过程**。
|
|
150
|
+
|
|
151
|
+
**不一致之处**:SessionEnd hook 是**被动触发机制**(Claude Code 在会话结束时主动调用),而非"检测"。图中的表述会让实现者误解为需要轮询或主动检测会话结束状态,而实际只需在 SessionEnd hook 的处理函数中追加 ax-evolve 逻辑即可。这不是功能缺陷,但会给实现者带来认知混乱,可能导致过度设计(例如引入不必要的轮询机制)。
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
### 3. 边缘情况遗漏
|
|
156
|
+
|
|
157
|
+
#### 3.1 并发写入归档文件(HIGH)
|
|
158
|
+
|
|
159
|
+
**场景**:用户在同一台机器上同时执行两次 `ax-evolve`(例如两个 Claude Code 窗口并发运行),T1 的归档操作同时触发:
|
|
160
|
+
|
|
161
|
+
1. 进程 A:读取 learning_queue.md,统计 done = 15,决定归档 5 条
|
|
162
|
+
2. 进程 B:读取 learning_queue.md,同样统计 done = 15,决定归档 5 条
|
|
163
|
+
3. 进程 A:将 LQ-001~LQ-005 写入归档文件
|
|
164
|
+
4. 进程 B:将 LQ-001~LQ-005 **也**写入归档文件(重复追加)
|
|
165
|
+
5. 进程 A:重写主文件,删除 LQ-001~LQ-005
|
|
166
|
+
6. 进程 B:重写主文件,**再次**删除 LQ-001~LQ-005(实际已无这些条目,可能损坏主文件结构)
|
|
167
|
+
|
|
168
|
+
**结果**:归档文件中 LQ-001~LQ-005 被写入两次,违反了 PRD 声称的"幂等操作"。PRD 的幂等性声明实际上是**单进程幂等**,不是并发安全的。
|
|
169
|
+
|
|
170
|
+
T2(reflection_log.md 滚动窗口)存在相同的并发写入问题。
|
|
171
|
+
|
|
172
|
+
PRD 的"先写归档,再清理主文件"方案在并发场景下既不原子也不幂等。
|
|
173
|
+
|
|
174
|
+
#### 3.2 knowledge_base.md 完全为空时的 MiniSearch 建索引行为(MEDIUM)
|
|
175
|
+
|
|
176
|
+
当 `knowledge_base.md` 中无任何有效条目时(初始安装、全部迁移失败或文件为空),MiniSearch 的建索引行为:
|
|
177
|
+
|
|
178
|
+
- 对空文档数组建索引:MiniSearch 允许,索引为空,查询返回空结果——**行为安全**
|
|
179
|
+
- **真正的风险**:YAML front-matter 迁移失败导致**部分条目无法解析**。例如 62 条中有 3 条 YAML 格式错误,解析器会:
|
|
180
|
+
- 方案 A(严格模式):整个 knowledge_base.md 解析失败,触发降级 → 但降级路径(grep)无法处理损坏的 YAML
|
|
181
|
+
- 方案 B(宽松模式):跳过错误条目,只对59条建索引 → 用户不知道有 3 条被静默丢弃
|
|
182
|
+
|
|
183
|
+
**PRD 未定义** YAML 解析部分失败时的行为(全失败 vs 宽松跳过),这是实现层的重要决策,应在 PRD 中明确。
|
|
184
|
+
|
|
185
|
+
#### 3.3 reflection_log.md 有效条目恰好等于 20 条时的边界值行为(MEDIUM)
|
|
186
|
+
|
|
187
|
+
PRD T2 第 2 条:"滚动窗口:主文件保留最近 20 条完整反思记录"。
|
|
188
|
+
|
|
189
|
+
**边界值歧义**:当 ax-reflect 写入**第 21 条**时,触发归档。但当前恰好 20 条时:
|
|
190
|
+
|
|
191
|
+
- 触发条件应为 `count > 20`(写入后大于 20 才归档)还是 `count >= 20`(等于 20 即归档)?
|
|
192
|
+
- PRD 第 3 节 T2 说"主文件保留最近 20 条",暗示 `count <= 20` 是目标状态
|
|
193
|
+
- 流程图 4.1 菱形节点写 `{反思条目数 > 20?}`,确认触发条件是严格大于 20
|
|
194
|
+
|
|
195
|
+
但**边界 off-by-one 仍存在**:若触发条件为 `count > 20`,则 count = 20 时**不触发**;ax-reflect 写入第 21 条后 count = 21,触发归档,归档 1 条,保留 20 条——逻辑自洽。然而 PRD 验收标准写"新写入反思后,主文件反思条目数 `<= 20`",这与 `count > 20` 触发一致,但实现者可能误读为"每次写入后都检查,若 = 20 就触发"。
|
|
196
|
+
|
|
197
|
+
**建议**:验收标准改为"主文件反思条目数**恒**保持 <= 20(以 21 条写入测试验证)",明确触发时机为"写入第 21 条后"。
|
|
198
|
+
|
|
199
|
+
#### 3.4 T4 ax-evolve 处理中途失败的数据一致性(HIGH)
|
|
200
|
+
|
|
201
|
+
PRD T4 第 2 条:"每次自动触发最多处理 3 条 pending 条目"。
|
|
202
|
+
|
|
203
|
+
**中途失败场景**:处理第 2 条(LQ-032)时,写入 knowledge_base.md 成功,但随后更新 learning_queue.md 中 LQ-032 的状态(pending → done)时崩溃。
|
|
204
|
+
|
|
205
|
+
**结果**:
|
|
206
|
+
- knowledge_base.md 中已有 LQ-032 的知识条目(k-XXX 已写入)
|
|
207
|
+
- learning_queue.md 中 LQ-032 状态仍为 pending
|
|
208
|
+
- 下次 SessionEnd 触发时,LQ-032 **再次被处理**,knowledge_base.md 中写入**重复的知识条目**(不同 ID 但相同内容)
|
|
209
|
+
|
|
210
|
+
PRD 的风险表仅描述了"归档操作崩溃风险",未描述 **ax-evolve 处理链中途崩溃**的一致性问题。T4 触发的 ax-evolve 属于增量处理,比 T1 的批量归档更难保证原子性。
|
|
211
|
+
|
|
212
|
+
**建议**:明确 T4 的处理原子性要求:对每条 LQ 条目,必须**先更新 learning_queue.md 状态(pending → processing),再写知识库,再更新状态(processing → done)**。崩溃后下次可通过检查 `processing` 状态的条目恢复,而非重复处理 pending 条目。
|
|
213
|
+
|
|
214
|
+
#### 3.5 首次安装时 learning_queue_archive.md 不存在的处理(MEDIUM)
|
|
215
|
+
|
|
216
|
+
PRD T1 第 2 条:"归档目标路径:`.omc/axiom/evolution/learning_queue_archive.md`(追加写入)"。
|
|
217
|
+
|
|
218
|
+
**首次归档时**,该文件不存在。"追加写入"(append 模式)在 Node.js 中:
|
|
219
|
+
|
|
220
|
+
- `fs.appendFileSync` 若文件不存在,**自动创建**——行为安全
|
|
221
|
+
- `fs.open(path, 'a')` 同样自动创建——行为安全
|
|
222
|
+
|
|
223
|
+
**但**,PRD 第 5.2 节验收标准:"`learning_queue_archive.md` 存在且包含所有历史 done 条目(无内容丢失)"——这要求文件被**创建**。这在技术上自动完成,无需额外处理。
|
|
224
|
+
|
|
225
|
+
**隐患**:归档文件所在目录 `.omc/axiom/evolution/` 在全新安装的系统中**可能不存在**。`fs.appendFileSync` 在目录不存在时会抛出 `ENOENT` 异常,不会自动创建目录。PRD 未提及首次安装时的目录初始化逻辑(对比:LQ-004 / k-032 记录了 `atomicWriteJson` 的目录自动创建能力,但归档操作若不使用 atomicWriteJson 就没有此保障)。
|
|
226
|
+
|
|
227
|
+
#### 3.6 T4 的 3 条处理上限与实际 pending 数量的交互(LOW)
|
|
228
|
+
|
|
229
|
+
**场景**:learning_queue.md 中有 50 条 pending 条目(长期积压)。每次 SessionEnd 处理 3 条,按此速率需要 ~17 次会话才能清空。
|
|
230
|
+
|
|
231
|
+
**未被分析的副作用**:
|
|
232
|
+
- 50 条 pending 时,前 17 次会话每次都触发 ax-evolve(3 条),最后第 18 次会话(剩 2 条)只处理 2 条——PRD 未明确是否允许处理少于 3 条("最多 3 条"语义允许少于 3 条,但未明确)
|
|
233
|
+
- 若 ax-evolve 的 pending 条目按优先级(P0/P1/P2/P3)处理,PRD T4 未声明自动触发时是否遵循优先级顺序——实现者可能默认按文件顺序(而非优先级)取前 3 条
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
### 4. PRD 自相矛盾
|
|
238
|
+
|
|
239
|
+
#### 4.1 "触发点:仅使用 SessionEnd hook" 与流程图节点措辞(LOW)
|
|
240
|
+
|
|
241
|
+
PRD 第 3 节 T4 第 1 条:"触发点:仅使用 SessionEnd hook"——明确说明是被动的 hook 触发。
|
|
242
|
+
|
|
243
|
+
流程图 4.1 节点 `J{会话结束检测}`——措辞"检测"暗示主动轮询/探测行为,与 SessionEnd hook 的被动触发机制在概念上矛盾。
|
|
244
|
+
|
|
245
|
+
技术上不影响功能,但会造成实现者认知混乱,建议将节点描述改为 `J{SessionEnd hook 触发}`。
|
|
246
|
+
|
|
247
|
+
#### 4.2 T3 验收标准混淆了 v1 和 v2 的过滤语义(MEDIUM)
|
|
248
|
+
|
|
249
|
+
T3 验收标准第一条:"ax-knowledge --filter typescript 只返回 Title/Tags 含 typescript 的条目(MiniSearch 全文匹配)"——**括号内"MiniSearch 全文匹配"与前文"Title/Tags 含"相矛盾**:
|
|
250
|
+
|
|
251
|
+
- "Title/Tags 含 typescript"是**字段精确包含**判断(v1 基础方案语义)
|
|
252
|
+
- "MiniSearch 全文匹配"是**跨字段全文搜索**(v2 语义)
|
|
253
|
+
|
|
254
|
+
这两种描述对应不同的结果集:v2 全文匹配可能返回 Title 不含 "typescript" 但 content 含 "typescript" 的条目;而字段精确包含不会返回这类结果。验收标准**同时要求两种互相矛盾的语义**,导致无法确定正确实现的验证基准。
|
|
255
|
+
|
|
256
|
+
#### 4.3 T4 标记名称的内部自相矛盾(已在 2.2 节详述)
|
|
257
|
+
|
|
258
|
+
**跳过条件**:检查 `auto_evolve_done: true`
|
|
259
|
+
**写入标记**:写入 `auto_evolve: true`
|
|
260
|
+
|
|
261
|
+
两个不同字段名,导致跳过逻辑永久失效。这是本 PRD 中**唯一一个会导致实现后功能完全错误**的矛盾,严重程度 HIGH。
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## 差异点(Diff Points)
|
|
266
|
+
|
|
267
|
+
| ID | 描述 | 严重程度 | 建议 |
|
|
268
|
+
|----|------|----------|------|
|
|
269
|
+
| D-C01 | T4 状态标记名称自相矛盾:跳过条件检查 `auto_evolve_done: true`,但写入的是 `auto_evolve: true`,导致跳过逻辑永久失效,每次 SessionEnd 都会重复处理 | HIGH | 统一字段名,两处均使用 `auto_evolve_done: true`,并在 PRD 中同步修正验收标准第 5 条 |
|
|
270
|
+
| D-C02 | `stop_hook_active` 守卫描述为"检查环境变量",但实际代码(subagent-stop.mjs)从 JSON stdin 解构获取;更严重的是,SessionEnd hook payload 中不存在该字段,守卫在 SessionEnd hook 中逻辑上无意义 | HIGH | 删除 T4 中对 `stop_hook_active` 守卫的描述;在实现规格中改为"检查 hook_event_name === 'SessionEnd' 确认正确触发事件" |
|
|
271
|
+
| D-C03 | TOCTOU 竞争条件:多窗口/多 worktree 场景下,两个 SessionEnd hook 并发执行可能导致相同的 LQ 条目被处理两次,knowledge_base.md 写入重复条目 | HIGH | 引入基于文件锁的互斥机制(在 SessionEnd ax-evolve 逻辑入口写 `.lock` 文件,完成后删除;检测到 lock 文件则跳过) |
|
|
272
|
+
| D-C04 | T4 ax-evolve 中途崩溃的数据一致性:处理链"写知识库 → 更新 LQ 状态"若在写知识库后崩溃,下次重复处理同一条目导致知识库重复条目 | HIGH | 增加中间状态 `processing`:先将 LQ 状态设为 processing,再写知识库,再设为 done;崩溃恢复时跳过 done 条目,对 processing 条目做去重检查 |
|
|
273
|
+
| D-C05 | MiniSearch `--filter` 参数未净化:包含正则特殊字符的查询字符串(如 `test[*`)可能导致 MiniSearch 内部抛出 RegExp SyntaxError,该异常不属于"MiniSearch 加载失败",现有降级路径无法捕获 | HIGH | 在调用 MiniSearch 前,对 keyword 参数做正则特殊字符转义(参考项目已有 k-034 模式),并设置 256 字符长度上限 |
|
|
274
|
+
| D-C06 | T3 v1/v2 的 `--filter` 参数语义不同:v1 做字段精确包含,v2 做全文模糊匹配;验收标准混用两套语义,导致降级状态下结果集不一致且无法判断是否正确 | MEDIUM | 分别为 v1(字段匹配)和 v2(全文匹配)定义独立的验收标准;明确降级时允许结果集缩小(subset 行为),并在用户文档中声明 |
|
|
275
|
+
| D-C07 | 并发写入归档文件:两个 ax-evolve 实例并发执行时,T1/T2 的归档操作均无并发保护,可能造成归档文件重复写入和主文件双重修改 | MEDIUM | 归档操作入口使用进程级文件锁(`.omc/axiom/evolution/.archive.lock`),或使用 write-to-tmp-then-rename 的原子写入替代 append 操作 |
|
|
276
|
+
| D-C08 | 首次安装目录不存在风险:`.omc/axiom/evolution/` 目录在全新系统中可能不存在,`fs.appendFileSync` 会因目录缺失抛出 ENOENT,PRD 未说明目录初始化逻辑 | MEDIUM | 在 T1/T2 归档操作前加入 `mkdirSync({ recursive: true })` 确保目录存在(参考 k-032 的 atomicWriteJson 隐含目录创建模式) |
|
|
277
|
+
| D-C09 | T3 v2 YAML 部分解析失败的行为未定义:62 条中部分条目 YAML 格式错误时,是全量失败触发降级,还是宽松模式跳过错误条目?宽松模式会导致条目静默丢失 | MEDIUM | 明确定义:YAML 解析采用宽松模式(跳过错误条目 + 记录警告日志),不因单条错误触发全局降级;对跳过条目数量设上限(如超过 10% 则触发降级) |
|
|
278
|
+
| D-C10 | T3 验收标准第一条自相矛盾:"只返回 Title/Tags 含 typescript 的条目"(字段匹配)与"MiniSearch 全文匹配"(全文搜索)描述的是不同结果集 | MEDIUM | 修正验收标准:v2 描述改为"返回 title/tags/content 中含 typescript 的条目(MiniSearch 全文匹配,含模糊)" |
|
|
279
|
+
| D-C11 | T1 阈值语义歧义:"超过 10 条"在自然语言中通常为严格大于(`>`),但未在 PRD 中明确标注为 `count > 10`,实现者可能误用 `count >= 10` | LOW | 在 T1 第 1 条中直接写明条件表达式:`done 条目数 count > 10 时触发`,并在验收测试中使用 done = 11 作为边界测试用例 |
|
|
280
|
+
| D-C12 | 流程图 4.1 节点 `J{会话结束检测}` 暗示主动轮询,与 SessionEnd hook 被动触发机制在概念上矛盾,可能导致实现者过度设计 | LOW | 将节点描述改为 `J{SessionEnd hook 触发}`,与 T4 第 1 条的描述一致 |
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 总结
|
|
285
|
+
|
|
286
|
+
### 必须在进入实现前修正的阻断级问题(Blockers)
|
|
287
|
+
|
|
288
|
+
1. **D-C01(HIGH)**:`auto_evolve_done` vs `auto_evolve` 标记名称不一致——T4 的跳过逻辑因此永久失效,实现后必然产生重复处理 Bug,须在 PRD 确认前修正字段名。
|
|
289
|
+
|
|
290
|
+
2. **D-C02(HIGH)**:`stop_hook_active` 守卫的描述与实际实现机制不符,且在 SessionEnd hook 中从语义上就是无意义的——实现者若照 PRD 编写将产生无效守卫代码。
|
|
291
|
+
|
|
292
|
+
3. **D-C05(HIGH)**:MiniSearch `--filter` 参数的 RegExp 注入风险——降级路径无法捕获该异常,项目已有防护模式(k-034)但 PRD 未引用,须在 T3 的实现规格中强制引用。
|
|
293
|
+
|
|
294
|
+
4. **D-C04(HIGH)**:T4 ax-evolve 中途崩溃的数据一致性问题——缺少中间状态 `processing` 会导致知识库重复条目。
|
|
295
|
+
|
|
296
|
+
### 建议结论
|
|
297
|
+
|
|
298
|
+
**Conditional Pass(有条件通过)**
|
|
299
|
+
|
|
300
|
+
- **严重阻碍(必须修正后才能进入实现)**:D-C01、D-C02、D-C04、D-C05
|
|
301
|
+
- **建议修正(可并行进入实现但须跟踪)**:D-C03、D-C06、D-C07、D-C08、D-C09、D-C10
|
|
302
|
+
- **低优先级(可在实现时顺手修正)**:D-C11、D-C12
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# Domain Expert 评审报告
|
|
2
|
+
|
|
3
|
+
**评审者**: axiom-domain-expert
|
|
4
|
+
**评审时间**: 2026-03-02
|
|
5
|
+
**评审对象**: PRD v0.2 - Axiom 记忆与进化系统 Token 使用效率优化
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 总体评分
|
|
10
|
+
|
|
11
|
+
**7.5 / 10**
|
|
12
|
+
|
|
13
|
+
理由:方案在 Token 效率优化方向上定位清晰,T1/T2/T4 的设计逻辑合理。但在以下三点存在明显领域风险:(1)MiniSearch 在 62 条记录规模下存在方案过度设计嫌疑;(2)时间衰减公式的参数选择缺乏对 Axiom 知识库实际访问模式的分析支撑;(3)T4 的 active_context.md 并发写入机制存在数据一致性隐患。核心逻辑框架可通过,但需要针对上述问题明确边界条件和降级策略后方可进入开发阶段。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 评审意见
|
|
18
|
+
|
|
19
|
+
### 1. 业务逻辑正确性
|
|
20
|
+
|
|
21
|
+
#### 1.1 归档阈值(10 条 done)的合理性
|
|
22
|
+
|
|
23
|
+
**评估:合理,但阈值偏低,边界语义不明确。**
|
|
24
|
+
|
|
25
|
+
从实际数据出发:当前 learning_queue.md 有 LQ-001~LQ-030 共 30 条,全部为 done。按照 PRD 定义,阈值 10 条意味着系统在第 11 条 done 出现时立即触发归档,主文件保留最新 10 条 done + 所有 pending + 所有 in-progress。
|
|
26
|
+
|
|
27
|
+
正面:阈值 10 条与"保留最近 10 条 done"语义对称,直观合理。对于活跃系统(每周新增 2-5 条 LQ 条目),主文件能稳定在约 60 行以内,与 PRD 目标吻合。
|
|
28
|
+
|
|
29
|
+
问题一:阈值定义存在二义性。"done 条目数超过 10 条时触发"——是指主文件中 done 的总数超过 10,还是指本次 ax-evolve 处理完后累计 done 超过 10?当前描述两者均可解读。建议明确为:"主文件中 done 状态的条目数 > 10 时触发"。
|
|
30
|
+
|
|
31
|
+
问题二:归档后"保留最新的 10 条 done"的排序依据未定义。是按 `处理时间` 字段倒序?还是按 LQ 编号倒序?两者在大多数情况下等价,但若存在乱序处理场景(如 P0 插队),结果会不同。
|
|
32
|
+
|
|
33
|
+
问题三:当前 learning_queue.md 已全部 done,zero pending。T4 的触发条件是"存在至少 1 条 pending",因此自动触发不会激活。这是正确行为,但 T1 的归档逻辑在全空(无 pending)场景下仍应执行——PRD 对此未明确说明。归档与 ax-evolve 的耦合关系需要解耦:即使没有新的 pending 被处理,只要主文件中 done 数 > 10,也应支持手动触发归档。
|
|
34
|
+
|
|
35
|
+
#### 1.2 滚动窗口(20 条反思)的业务依据
|
|
36
|
+
|
|
37
|
+
**评估:窗口值偏大,业务依据不充分,但方向正确。**
|
|
38
|
+
|
|
39
|
+
实际数据验证:当前 reflection_log.md 有 18 条反思条目(通过 grep 确认),总行数 681 行,平均每条约 38 行。按照 20 条滚动窗口,主文件上限约为 760 行——这反而比当前 681 行还多。对于行数已经超过 20 条窗口目标值的场景,PRD 的 "优化后主文件上限 ~400 行" 与 "保留最近 20 条" 存在内部矛盾。
|
|
40
|
+
|
|
41
|
+
矛盾计算:若每条反思平均 35 行,20 条 = 700 行;PRD 却声称优化后主文件上限为 400 行(~41% 降幅)。两者不能同时成立,除非对每条反思的行数有更严格的格式约束(当前最长的反思超过 60 行)。
|
|
42
|
+
|
|
43
|
+
业务依据缺失:PRD 未解释为什么是 20 条而非 10 条或 30 条。从认知科学角度,LLM Agent 的上下文窗口利用率通常遵循"最近 N 条即可"规律,具体 N 值应基于 Axiom 的实际会话频率和反思内容密度来决定。当前月活跃会话约 20-30 次(从 2026-02-26 至 2026-02-28 的 18 条可推算),20 条窗口约等于 3-4 天的历史,这在业务上是否足够未有依据支撑。
|
|
44
|
+
|
|
45
|
+
建议:将窗口值从"固定 20 条"改为"固定 N 条或固定 K 行,取先达到者",同时在 PRD 中补充选择 20 条的业务依据(例如:覆盖最近 3 次迭代周期的反思记录)。
|
|
46
|
+
|
|
47
|
+
#### 1.3 时间衰减公式的适配性
|
|
48
|
+
|
|
49
|
+
**评估:公式形式正确,但参数选择缺乏 Axiom 知识库访问模式的支撑。**
|
|
50
|
+
|
|
51
|
+
公式:`finalScore = score × e^(-0.023 × ageInDays) × (1 + 0.2 × (3 - priority))`
|
|
52
|
+
|
|
53
|
+
参数验证:
|
|
54
|
+
- 衰减系数 0.023 对应 30 天半衰期(ln(2)/30 ≈ 0.0231),这是合理的数学关系。
|
|
55
|
+
- 但 30 天半衰期的业务假设是:一条知识在 30 天后其相关性降至原始值的 50%。
|
|
56
|
+
|
|
57
|
+
问题:这个假设对 Axiom 知识库不成立。观察实际数据:
|
|
58
|
+
|
|
59
|
+
1. k-006 到 k-020 是 Flutter/Dart 相关知识,创建于 2026-02-09,距今(2026-03-02)已约 21 天。若使用 30 天半衰期,这些知识的分数已衰减至原来的约 61%。但这些是架构层面的稳定知识(Flutter Widget Lifecycle、Dart Null Safety 等),其实际相关性并未随时间减弱。
|
|
60
|
+
|
|
61
|
+
2. k-001(Global Configuration Pattern,创建于 2026-02-08)在整个系统中被持续引用,但 30 天半衰期会使其分数衰减至约 55%,可能在搜索排名中被更近期的条目压制——即使更近期的条目在实际查询场景中并不更相关。
|
|
62
|
+
|
|
63
|
+
3. 知识库中存在明显的"永久知识"(架构模式、安全规则)和"时效知识"(具体 bug 修复记录)两类。统一使用 30 天半衰期无法区分这两类知识。
|
|
64
|
+
|
|
65
|
+
优先级调权:`(1 + 0.2 × (3 - priority))`——当 priority=1(P0/最高)时系数为 1.4,priority=3(P2)时为 1.0,priority=5(P4?)时为 0.6。但实际 knowledge_base.md 中没有 priority 字段,该字段是 T3 v2 引入 YAML front-matter 后才存在的。迁移前如何处理 priority 默认值未说明。
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### 2. 数据完整性
|
|
70
|
+
|
|
71
|
+
#### 2.1 "先写归档,再清理主文件"的原子性
|
|
72
|
+
|
|
73
|
+
**评估:原子性保障方案可接受,但对文件系统层面的并发访问未考虑。**
|
|
74
|
+
|
|
75
|
+
PRD 描述的可靠性保证:"归档操作失败时,主文件内容不受影响(先写归档,再清理主文件)",以及风险缓解:"归档前先备份主文件到临时文件,操作完成后删除临时文件"。
|
|
76
|
+
|
|
77
|
+
正面:两步写入策略(写归档 → 清理主文件)是正确的故障安全模式。即使第二步失败,数据会重复(归档中有,主文件中也有),而非丢失。重复比丢失好处理,且可通过幂等归档操作消除重复。
|
|
78
|
+
|
|
79
|
+
问题一:归档操作的幂等性定义不清。PRD 要求"归档操作为幂等操作:重复执行不产生重复归档",但未说明幂等性的判断依据是什么——是 LQ 条目的 ID(LQ-001),还是内容哈希?若按 ID 判断,重复执行时如何比对归档文件中已有的条目?这需要在每次归档前扫描归档文件全文,当归档文件增长到数百条时,这个扫描开销不可忽视。
|
|
80
|
+
|
|
81
|
+
问题二:T4 的 active_context.md 写入存在 TOCTOU 风险(Time-Of-Check-Time-Of-Use)。T4 依赖读取 active_context.md 中的 `auto_evolve_done: true` 标记来判断是否跳过触发,但同一会话中若有多个并发操作(虽然 Claude Code 通常是顺序的),或者文件在读取后、判断前被其他进程修改,标记判断会失效。建议补充:SessionEnd hook 应使用文件锁或原子写入模式。
|
|
82
|
+
|
|
83
|
+
问题三:T2 的一次性清理风险被 PRD 正确识别为 HIGH,缓解措施是"清理前先备份整个文件"。但 PRD 要求"清理后人工确认"——这打破了自动化闭环,将人工干预引入了一个声称是"自动化"的优化任务中。应明确:一次性清理是人工触发的单次操作,还是 ax-reflect 触发的自动操作?两者的备份策略不同。
|
|
84
|
+
|
|
85
|
+
#### 2.2 knowledge_base.md 条目迁移至 YAML front-matter 的数据丢失风险
|
|
86
|
+
|
|
87
|
+
**评估:中等风险,迁移脚本的具体行为未定义。**
|
|
88
|
+
|
|
89
|
+
当前 knowledge_base.md 的结构是一个 Markdown 表格(Index 表),每行包含 ID、Title、Category、Confidence、Created、Status 六个字段。T3 v2 要求为每条 entry 添加 YAML front-matter(tags、category、created_at、last_accessed、priority)。
|
|
90
|
+
|
|
91
|
+
风险点一:字段映射不完整。现有字段 `Confidence`(0.75-0.95)在新的 YAML front-matter 中没有对应字段(新字段是 priority),两者语义不同——Confidence 是知识可信度,Priority 是查询优先级。迁移脚本如何处理这个映射?丢弃 Confidence?将其转换为 Priority?
|
|
92
|
+
|
|
93
|
+
风险点二:`last_accessed` 字段的初始值问题。迁移时所有条目的 `last_accessed` 均为空(历史上没有记录访问时间),时间衰减公式的 `ageInDays` 计算将使用 `created_at`,而非实际最后访问时间,导致长期未访问的知识(如 k-001)被低估。
|
|
94
|
+
|
|
95
|
+
风险点三:knowledge_base.md 当前格式是中央索引表,每条 entry 只有元信息,没有"内容"字段(content)。T3 v2 的 MiniSearch 索引字段包含 `content`(权重 1x),但现有数据中 content 从何而来?是 Title 复用?还是需要人工补充每条知识的详细内容?这是一个重大的数据迁移工作量被 PRD 低估的地方。
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### 3. 领域最佳实践符合度
|
|
100
|
+
|
|
101
|
+
#### 3.1 MiniSearch BM25 方案对 62 条记录规模的适配性
|
|
102
|
+
|
|
103
|
+
**评估:方案可行,但存在明显的过度工程化风险(Over-engineering)。**
|
|
104
|
+
|
|
105
|
+
规模对比:
|
|
106
|
+
- MiniSearch 设计目标是客户端全文搜索,适合数百至数万条记录(官方示例展示数千条电影索引)
|
|
107
|
+
- 当前知识库:62 条记录,8KB,每条平均约 128 字节(仅元信息,无详细内容)
|
|
108
|
+
|
|
109
|
+
在 62 条记录规模下,即使是简单的 `Array.filter()` + 字符串匹配也能在微秒级别完成,与 BM25 索引相比性能差异对用户完全无感知。引入 MiniSearch 的核心价值在于:
|
|
110
|
+
1. 模糊匹配(fuzzy: 0.2)——对 62 条可用简单 Levenshtein 距离替代
|
|
111
|
+
2. 字段权重(title 2x,tags 1.5x)——对 62 条可用带权重的手写 filter
|
|
112
|
+
3. 前缀搜索(prefix: true)——对 62 条用 `startsWith` 即可
|
|
113
|
+
|
|
114
|
+
MiniSearch 的实际价值体现在知识库增长到 500+ 条后。目前以"62 条 / 8KB"为依据引入 BM25 搜索引擎,属于为不确定的未来规模预留基础设施,而非解决当前实际问题。
|
|
115
|
+
|
|
116
|
+
行业最佳实践参照:MemGPT/Letta 的记忆检索在初期同样使用简单的关键词过滤,BM25/向量检索是在记忆规模增长后才引入的。以此类比,Axiom 的正确路径应是:v1(grep/filter)→ 在知识库超过 200-300 条后评估引入 MiniSearch v2。
|
|
117
|
+
|
|
118
|
+
然而,PRD 也明确说明了降级路径(MiniSearch 失败 → grep 兜底),这使得引入成本较低。若开发团队有信心将知识库快速扩展到 500+ 条,则提前引入是合理的技术预判。
|
|
119
|
+
|
|
120
|
+
**结论:方案在技术上无误,但在当前规模下存在过度设计嫌疑,需要补充引入 MiniSearch 的预期知识库增长路径作为业务依据。**
|
|
121
|
+
|
|
122
|
+
#### 3.2 SessionEnd hook 方案与 Claude Code hook 生命周期规范符合度
|
|
123
|
+
|
|
124
|
+
**评估:设计决策正确,符合 Claude Code hook 规范,来自 claude-mem bug #987 的教训被正确应用。**
|
|
125
|
+
|
|
126
|
+
PRD 正确区分了 Stop hook 与 SessionEnd hook 的语义差异:
|
|
127
|
+
- Stop hook:会话可能继续(Claude 可能读取 stop hook 的 systemMessage 输出并继续响应)
|
|
128
|
+
- SessionEnd hook:会话已终止,无法被重入
|
|
129
|
+
|
|
130
|
+
这与 claude-mem 27.2K⭐ bug #987 的根本原因完全对应:Stop hook 返回含"next steps"的 systemMessage,Claude 将其解读为新任务指令,触发无限循环。SessionEnd hook 天然规避此问题。
|
|
131
|
+
|
|
132
|
+
`stop_hook_active` 守卫的必要性分析:PRD 要求"hook 脚本入口检查 stop_hook_active 环境变量"。这是防御性设计,保护在错误配置下 Stop hook 触发此脚本时的安全边界,与 SessionEnd hook 选择并不矛盾。这是正确的双重防护。
|
|
133
|
+
|
|
134
|
+
但存在一个潜在问题:PRD 中 T4 的触发标记是"完成后在 active_context.md 写入标记 auto_evolve: true",但跳过条件却检查的是 `auto_evolve_done: true`(第 4 条)。两者字段名不一致(auto_evolve vs auto_evolve_done),这是一个字段名不一致的 bug,需要在实现前统一。
|
|
135
|
+
|
|
136
|
+
**30 秒时间限制的合理性**:T4 声称最多处理 3 条、预估 10-15 秒。但每次 ax-evolve 需要执行 TypeScript/Skill 调用,实际执行时间取决于 LLM 响应时间(可能 5-20 秒/条)。3 条串行执行在网络延迟较高时可能超过 30 秒。建议 PRD 明确:若 30 秒超时,已处理的条目是否标记为 done,未处理的是否保留为 pending。
|
|
137
|
+
|
|
138
|
+
#### 3.3 时间衰减算法的行业参照
|
|
139
|
+
|
|
140
|
+
**评估:算法形式(指数衰减)是行业标准,但参数来源于 OpenClaw 的引用需要核实。**
|
|
141
|
+
|
|
142
|
+
PRD 声称时间衰减评分来自 "OpenClaw 242K⭐ 模式"。指数衰减是检索系统中的经典算法(Elasticsearch 的 Function Score Query、Solr 的 RecencyBoostQuery 均有类似实现),但 OpenClaw(推测是 Claw 或 Open-WebUI 相关项目)的具体实现参数是否与此公式完全对应,PRD 未提供代码引用或链接。
|
|
143
|
+
|
|
144
|
+
行业参照核实:
|
|
145
|
+
- Elasticsearch Function Score + exp decay:`score × exp(-λ × max(0, |date - origin| - offset))`,形式相同,参数由用户自定义
|
|
146
|
+
- MemGPT/Letta 的记忆权重:使用访问频率 + 创建时间的混合权重,未单独使用时间衰减
|
|
147
|
+
- `claude-mem` 的记忆检索:依赖向量相似度,无时间衰减
|
|
148
|
+
|
|
149
|
+
`(1 + 0.2 × (3 - priority))` 优先级调权因子的问题:priority 取值范围未定义。若 priority 为 1-5(P0-P4),则当 priority=5 时系数为 `1 + 0.2 × (3-5) = 0.6`,这使 P4 知识得分乘以 0.6,可能导致低优先级知识即使时间很近也被严重压制。这是否是预期行为?
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
### 4. 边界条件与异常
|
|
154
|
+
|
|
155
|
+
#### 4.1 learning_queue.md 全空(无 pending)时 T4 的触发逻辑
|
|
156
|
+
|
|
157
|
+
**评估:T4 的跳过逻辑正确,但文件全空场景下 T1 的行为未定义。**
|
|
158
|
+
|
|
159
|
+
当前状态:learning_queue.md 全部 30 条均为 done,零 pending。
|
|
160
|
+
|
|
161
|
+
T4 触发条件分析:PRD 第 3 条明确"触发条件:learning_queue.md 中存在至少 1 条 pending 条目时才触发"。当前全 done 场景下,T4 正确跳过,不触发自动 ax-evolve。逻辑无误。
|
|
162
|
+
|
|
163
|
+
但引发了一个 T1 的问题:当 learning_queue.md 有 30 条 done、0 条 pending 时,T1 应该触发归档(done 数量 30 > 阈值 10)。但 T1 的触发时机是"ax-evolve 处理完一批条目后(状态变为 done 时)自动检查并执行"——如果没有新的 pending 被处理(T4 跳过),T1 就永远不会被触发。这意味着在当前全 done 状态下,learning_queue.md 不会自动归档,需要人工触发。PRD 未对此场景提供解决路径。
|
|
164
|
+
|
|
165
|
+
建议:T1 应支持独立的触发方式(如 `ax-knowledge --archive-queue`),不强依赖 ax-evolve 执行。
|
|
166
|
+
|
|
167
|
+
#### 4.2 reflection_log.md 空条目的判断标准
|
|
168
|
+
|
|
169
|
+
**评估:标准定义不够精确,可能导致误清理。**
|
|
170
|
+
|
|
171
|
+
PRD 对空条目的定义:"内容仅有标题行或空白行的反思块"。
|
|
172
|
+
|
|
173
|
+
问题一:判断边界不清晰。什么是"仅有标题行"?以下哪些属于空条目?
|
|
174
|
+
- 案例 A:`## 反思 - 2026-02-11 Reflection (Session: Codex Workflow Optimization)` + 完整内容(非空,已确认)
|
|
175
|
+
- 案例 B:一个有标题、有 `### 📊 本次会话统计` 但内容全为 `-` 的条目
|
|
176
|
+
- 案例 C:一个有标题但正文为 `<!-- auto-generated -->` 注释的条目
|
|
177
|
+
|
|
178
|
+
实际数据观察:reflection_log.md 在行 367-390 存在一个无 `---` 分隔符的反思条目(2026-02-11 Codex Workflow),格式与其他条目有差异(英文标题,格式略有不同)。清理逻辑若按分隔符 `---` 划分块,可能将此条目误判或错误截断。
|
|
179
|
+
|
|
180
|
+
问题二:历史上确实存在 "auto-session-" 类型的空模板条目(见反思 2026-02-27 04:20 中的记录:300 行中有 30+ 个空模板)。这些条目已通过 LQ-013 的修复被清理(fix(learner): skip empty session reflections),且该修复已合并。PRD 的 T2 一次性清理是否还有必要?需要确认当前 reflection_log.md 中是否仍存在待清理的空条目(从当前数据看 18 条均有实质内容)。
|
|
181
|
+
|
|
182
|
+
建议:补充"空条目"的精确判断规则,例如:若一个由 `## 反思` 开始的块中,`### ✅ 做得好的` / `### ⚠️ 待改进` / `### 💡 学到了什么` 三个核心小节均无有效文本内容,则判定为空条目。
|
|
183
|
+
|
|
184
|
+
#### 4.3 MiniSearch 索引构建与 knowledge_base.md 格式的兼容性
|
|
185
|
+
|
|
186
|
+
**评估:PRD 忽略了一个关键的结构性问题。**
|
|
187
|
+
|
|
188
|
+
当前 knowledge_base.md 是一个**索引表**,不包含知识条目的详细内容——每条知识的实体内容存储在何处?PRD 未说明。MiniSearch 的 `content` 字段(权重 1x)需要什么数据来填充?
|
|
189
|
+
|
|
190
|
+
若 content 字段为空,MiniSearch 的 BM25 评分退化为仅基于 title 和 tags 的关键词匹配,与基础 v1 方案(grep title/tags)的实际效果差异不大,引入 MiniSearch 的价值大打折扣。
|
|
191
|
+
|
|
192
|
+
#### 4.4 Token 降幅估算的可信度
|
|
193
|
+
|
|
194
|
+
**评估:82% 和 85% 的降幅数字过于乐观,存在误导决策的风险。**
|
|
195
|
+
|
|
196
|
+
- learning_queue.md:PRD 声称优化后约 60 行,降幅 82%(MemGPT two-tier 模式)。当前 327 行中包含 30 条 done 全量记录。若归档后保留 10 条 done + 头部,约为 20行头部 + 10条×10行 = 120行,而非 60 行。60 行仅在 pending 为 0 时成立。
|
|
197
|
+
|
|
198
|
+
- knowledge_base.md:PRD 声称 85% 降幅(qmd 96% 参照)。"平均返回 10 条" 的假设基于典型查询场景,但 `ax-knowledge`(无参数)仍全量返回 62 条——这是最常见的调用方式之一。全量调用场景下降幅为 0%。
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## 差异点(Diff Points)
|
|
203
|
+
|
|
204
|
+
| ID | 描述 | 严重程度 | 建议 |
|
|
205
|
+
|----|------|---------|------|
|
|
206
|
+
| D-01 | T4 触发标记字段名不一致:写入 `auto_evolve: true`,读取判断用 `auto_evolve_done: true` | HIGH | 统一字段名,在 PRD 中明确定义字段名为 `auto_evolve_done: true` |
|
|
207
|
+
| D-02 | T1 归档无法在"全 done / 零 pending"状态下自动触发,导致当前状态下归档永远不执行 | HIGH | 为 T1 添加独立触发方式(手动命令 `ax-knowledge --archive-queue`),解除与 ax-evolve 的强耦合 |
|
|
208
|
+
| D-03 | Token 降幅估算(82%/85%)基于乐观假设,实际效果取决于 pending 数量和调用参数,全量调用场景下降幅为 0% | MEDIUM | 将降幅估算改为"最优场景/典型场景/最差场景"三值区间,避免单一乐观值误导 |
|
|
209
|
+
| D-04 | 知识库条目迁移时 `Confidence` 字段与新 `priority` 字段语义不同,迁移映射规则未定义 | MEDIUM | 在 T3 v2 迁移脚本设计中明确:Confidence 保留为独立字段,priority 需人工或脚本补充 |
|
|
210
|
+
| D-05 | MiniSearch `content` 字段的数据来源未定义:knowledge_base.md 是索引表,无 entry 详细内容 | MEDIUM | 明确 content 字段的填充策略:若为 Title 复用则说明;若需知识实体文件则需大量迁移工作 |
|
|
211
|
+
| D-06 | 反思空条目的判断标准不精确,存在误清理 2026-02-11 Codex Workflow 反思(格式异常条目)的风险 | MEDIUM | 补充精确的空条目判断规则,基于核心小节内容而非仅看标题/空白行 |
|
|
212
|
+
| D-07 | 时间衰减公式对"永久知识"(架构模式、安全规则)产生不合理的分数压制(21天后衰减至61%) | MEDIUM | 引入 knowledge_type 字段区分 evergreen(不衰减)和 temporal(衰减)两类知识;或将半衰期从30天延长至180天 |
|
|
213
|
+
| D-08 | T2 的一次性清理是否仍有必要存疑:LQ-013 已修复空条目生成根源,当前 18 条反思均有实质内容 | LOW | 评估当前 reflection_log.md 中空条目实际数量,若为零则 T2 的一次性清理步骤可简化为仅建立滚动窗口机制 |
|
|
214
|
+
| D-09 | priority 字段取值范围未定义,`(3 - priority)` 调权因子在 priority > 3 时产生负系数,知识总分可能低于基础分 | LOW | 明确 priority 取值范围(如 1-5),并限制调权因子下限(max(0, 1 + 0.2 × (3 - priority))) |
|
|
215
|
+
| D-10 | "保留最新的 10 条 done"排序依据未定义,乱序处理场景下(P0 插队)结果不确定 | LOW | 明确排序字段为 `处理时间` 倒序,缺失处理时间时使用 `添加时间` 作为兜底排序依据 |
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 总结
|
|
220
|
+
|
|
221
|
+
PRD v0.2 在 Token 效率优化的整体方向上设计清晰,T1/T2/T4 的核心逻辑符合 LLM Agent 记忆管理的行业实践(参照 MemGPT 两层记忆模型、claude-mem 的 SessionEnd hook 教训)。以下是关键结论:
|
|
222
|
+
|
|
223
|
+
**可以通过的部分:**
|
|
224
|
+
- T1 归档机制:逻辑合理,双步写入保障数据安全,幂等性概念正确(需细化判断依据)
|
|
225
|
+
- T4 SessionEnd hook 选择:技术决策正确,Stop hook 风险被正确识别并规避
|
|
226
|
+
- T3 v1 基础方案(grep 过滤):轻量、无风险、立即可实现
|
|
227
|
+
|
|
228
|
+
**需要修正后通过的部分:**
|
|
229
|
+
- D-01(HIGH):T4 字段名不一致必须在实现前修正,否则跳过逻辑永远无法生效
|
|
230
|
+
- D-02(HIGH):T1 触发机制需解耦,确保全 done 状态下可手动归档
|
|
231
|
+
- T2 滚动窗口:窗口值(20条)与 Token 降幅目标(400行)的内部矛盾需在设计文档中解决
|
|
232
|
+
- 时间衰减公式:需补充知识类型区分(evergreen vs temporal)或延长半衰期
|
|
233
|
+
|
|
234
|
+
**建议暂缓的部分:**
|
|
235
|
+
- T3 v2 MiniSearch:在知识库未超过 200 条前,v1 grep 方案完全足够,引入 MiniSearch 的开发成本高于当前收益;建议将 v2 列入 v2 延期列表,与"知识库 200+ 条"绑定作为触发条件
|
|
236
|
+
|
|
237
|
+
**整体建议**:T1+T2+T4 可以进入开发阶段(需先修正 D-01、D-02);T3 v1 可同步开发;T3 v2 建议延期至知识库规模增长后重新评估。
|