@liangjie559567/ultrapower 5.6.5 → 5.6.7

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.
Files changed (1355) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.mcp.json +2 -2
  4. package/LICENSE +21 -21
  5. package/README.es.md +81 -40
  6. package/README.ja.md +82 -41
  7. package/README.ko.md +81 -40
  8. package/README.md +98 -56
  9. package/README.pt.md +74 -39
  10. package/README.vi.md +74 -39
  11. package/README.zh.md +82 -41
  12. package/agents/AGENTS.md +24 -12
  13. package/agents/analyst.md +15 -7
  14. package/agents/architect.md +37 -18
  15. package/agents/axiom-context-manager.md +1 -1
  16. package/agents/axiom-critic.md +27 -13
  17. package/agents/axiom-domain-expert.md +25 -12
  18. package/agents/axiom-evolution-engine.md +2 -2
  19. package/agents/axiom-product-director.md +31 -15
  20. package/agents/axiom-sub-prd-writer.md +37 -16
  21. package/agents/axiom-tech-lead.md +35 -17
  22. package/agents/axiom-ux-director.md +27 -13
  23. package/agents/code-reviewer.md +5 -5
  24. package/agents/critic.md +17 -8
  25. package/agents/dependency-expert.md +2 -2
  26. package/agents/document-specialist.md +1 -1
  27. package/agents/information-architect.md +129 -60
  28. package/agents/planner.md +1 -1
  29. package/agents/product-analyst.md +137 -66
  30. package/agents/product-manager.md +180 -80
  31. package/agents/quality-strategist.md +123 -56
  32. package/agents/ux-researcher.md +151 -66
  33. package/agents/writer.md +10 -2
  34. package/bridge/AGENTS.md +26 -13
  35. package/bridge/codex-server.cjs +2 -2
  36. package/bridge/gemini-server.cjs +1 -1
  37. package/bridge/gyoshu_bridge.py +846 -846
  38. package/commands/AGENTS.md +16 -8
  39. package/commands/ccg-workflow.md +8 -4
  40. package/dist/features/token-tracker/index.js +1 -1
  41. package/dist/features/token-tracker/index.js.map +1 -1
  42. package/dist/hooks/persistent-mode/event-bus.d.ts +2 -2
  43. package/dist/hooks/persistent-mode/event-bus.d.ts.map +1 -1
  44. package/dist/hooks/persistent-mode/event-bus.js.map +1 -1
  45. package/dist/hooks/processors/agentExecutionComplete.d.ts +1 -1
  46. package/dist/hooks/processors/agentExecutionComplete.d.ts.map +1 -1
  47. package/dist/hooks/processors/agentExecutionComplete.js +1 -1
  48. package/dist/hooks/processors/agentExecutionComplete.js.map +1 -1
  49. package/dist/hooks/processors/fileSave.d.ts +1 -1
  50. package/dist/hooks/processors/fileSave.d.ts.map +1 -1
  51. package/dist/hooks/processors/fileSave.js +1 -1
  52. package/dist/hooks/processors/fileSave.js.map +1 -1
  53. package/dist/hooks/processors/permissionRequest.d.ts +1 -1
  54. package/dist/hooks/processors/permissionRequest.d.ts.map +1 -1
  55. package/dist/hooks/processors/permissionRequest.js +1 -1
  56. package/dist/hooks/processors/permissionRequest.js.map +1 -1
  57. package/dist/hooks/processors/sessionEnd.d.ts +1 -1
  58. package/dist/hooks/processors/sessionEnd.d.ts.map +1 -1
  59. package/dist/hooks/processors/sessionEnd.js +1 -1
  60. package/dist/hooks/processors/sessionEnd.js.map +1 -1
  61. package/dist/hooks/processors/sessionStart.d.ts +1 -1
  62. package/dist/hooks/processors/sessionStart.d.ts.map +1 -1
  63. package/dist/hooks/processors/sessionStart.js +1 -1
  64. package/dist/hooks/processors/sessionStart.js.map +1 -1
  65. package/dist/hooks/processors/setup.d.ts +1 -1
  66. package/dist/hooks/processors/setup.d.ts.map +1 -1
  67. package/dist/hooks/processors/setup.js +1 -1
  68. package/dist/hooks/processors/setup.js.map +1 -1
  69. package/dist/hooks/processors/userPromptSubmit.d.ts +1 -1
  70. package/dist/hooks/processors/userPromptSubmit.d.ts.map +1 -1
  71. package/dist/hooks/processors/userPromptSubmit.js +1 -1
  72. package/dist/hooks/processors/userPromptSubmit.js.map +1 -1
  73. package/dist/hooks/ralph/loop.js +2 -2
  74. package/dist/hooks/ralph/loop.js.map +1 -1
  75. package/dist/hooks/state/StateReader.d.ts +1 -1
  76. package/dist/hooks/state/StateReader.d.ts.map +1 -1
  77. package/dist/hooks/state/StateReader.js.map +1 -1
  78. package/dist/hooks/timeout-wrapper.js +1 -1
  79. package/dist/hooks/timeout-wrapper.js.map +1 -1
  80. package/dist/lib/file-lock.d.ts.map +1 -1
  81. package/dist/lib/file-lock.js.map +1 -1
  82. package/dist/mcp/adapters/memory-adapter.d.ts +1 -1
  83. package/dist/mcp/adapters/state-adapter.d.ts +6 -6
  84. package/dist/mcp/adapters/trace-adapter.d.ts +2 -2
  85. package/dist/mcp/config/schema.d.ts +3 -3
  86. package/dist/mcp/config-schema.d.ts +3 -3
  87. package/docs/AGENTS.md +19 -10
  88. package/docs/ANALYTICS-SYSTEM.md +57 -26
  89. package/docs/ARCHITECTURE.md +42 -29
  90. package/docs/AXIOM.md +117 -32
  91. package/docs/CJK-IME-KNOWN-ISSUES.md +67 -32
  92. package/docs/CLAUDE.md +289 -145
  93. package/docs/COMPATIBILITY.md +142 -81
  94. package/docs/DELEGATION-ENFORCER.md +27 -16
  95. package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +25 -16
  96. package/docs/EVOLUTION.md +132 -62
  97. package/docs/FAQ.md +104 -45
  98. package/docs/FEATURES.md +122 -71
  99. package/docs/INSTALL.md +107 -37
  100. package/docs/INSTALL_FIX_SUMMARY.md +45 -23
  101. package/docs/INSTALL_FIX_VERIFICATION.md +7 -1
  102. package/docs/INSTALL_VERIFICATION_REPORT.md +31 -16
  103. package/docs/KNOWN_ISSUES.md +24 -7
  104. package/docs/LOCAL_INSTALL_VERIFICATION.md +44 -15
  105. package/docs/LOCAL_PLUGIN_INSTALL.md +27 -6
  106. package/docs/LOCAL_TEST_INSTALL_REPORT.md +10 -4
  107. package/docs/MAIN_DOCS_UPDATE_REPORT.md +26 -13
  108. package/docs/MIGRATION.md +340 -168
  109. package/docs/MIGRATION_GUIDE_v5.5.18.md +26 -10
  110. package/docs/NEXUS.md +79 -43
  111. package/docs/OMC-CLAUDE.md +274 -137
  112. package/docs/PERFORMANCE-MONITORING.md +73 -35
  113. package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +23 -8
  114. package/docs/QUICKSTART.md +10 -7
  115. package/docs/README.codex.md +17 -12
  116. package/docs/README.md +63 -29
  117. package/docs/README.opencode.md +66 -24
  118. package/docs/REFERENCE.md +183 -105
  119. package/docs/RELEASE.md +21 -11
  120. package/docs/RELEASE_GUIDE.md +71 -23
  121. package/docs/RELEASE_NOTES_v5.5.14.md +47 -24
  122. package/docs/RELEASE_RECOVERY.md +24 -8
  123. package/docs/RELEASE_SUMMARY_v5.5.18.md +44 -24
  124. package/docs/SYNC-SYSTEM.md +74 -35
  125. package/docs/TIERED_AGENTS_V2.md +203 -106
  126. package/docs/TUTORIAL.md +49 -18
  127. package/docs/UPGRADE_VERIFICATION.md +73 -17
  128. package/docs/UPGRADE_VERIFICATION_REPORT.md +25 -9
  129. package/docs/USER_GUIDE.md +337 -107
  130. package/docs/VALIDATION_REPORT.md +138 -68
  131. package/docs/VERIFICATION_SUMMARY.md +46 -25
  132. package/docs/adr/001-worker-state-adapter.md +96 -50
  133. package/docs/adr/002-caching-strategy.md +46 -25
  134. package/docs/adr/003-gradual-migration.md +113 -56
  135. package/docs/adr/template.md +47 -23
  136. package/docs/agent-templates/AGENTS.md +10 -5
  137. package/docs/agent-templates/README.md +54 -29
  138. package/docs/agent-templates/base-agent.md +49 -23
  139. package/docs/agent-templates/tier-instructions.md +51 -25
  140. package/docs/api/assets/highlight.css +85 -85
  141. package/docs/api/assets/style.css +1633 -1633
  142. package/docs/api/classes/ContextCollector.html +21 -21
  143. package/docs/api/functions/activateUltrawork.html +2 -2
  144. package/docs/api/functions/addCustomNote.html +5 -5
  145. package/docs/api/functions/addDirective.html +2 -2
  146. package/docs/api/functions/addManualEntry.html +2 -2
  147. package/docs/api/functions/addPattern.html +3 -3
  148. package/docs/api/functions/addWorker.html +2 -2
  149. package/docs/api/functions/addWorkingMemoryEntry.html +2 -2
  150. package/docs/api/functions/analyzeContextUsage.html +2 -2
  151. package/docs/api/functions/appendProgress.html +2 -2
  152. package/docs/api/functions/appendSessionId.html +2 -2
  153. package/docs/api/functions/applyCommentFilters.html +3 -3
  154. package/docs/api/functions/assignFileToWorker.html +2 -2
  155. package/docs/api/functions/backgroundUpdateCheck.html +2 -2
  156. package/docs/api/functions/buildAxiomBootContext.html +1 -1
  157. package/docs/api/functions/buildBoulderContinuation.html +2 -2
  158. package/docs/api/functions/buildDelegationTable.html +2 -2
  159. package/docs/api/functions/buildKeyTriggersSection.html +2 -2
  160. package/docs/api/functions/buildOrchestratorReminder.html +2 -2
  161. package/docs/api/functions/buildUseAvoidSection.html +2 -2
  162. package/docs/api/functions/buildVerificationReminder.html +2 -2
  163. package/docs/api/functions/canResumeAutopilot.html +10 -10
  164. package/docs/api/functions/canStartMode.html +5 -5
  165. package/docs/api/functions/cancelAutopilot.html +3 -3
  166. package/docs/api/functions/cancelUltraQA.html +2 -2
  167. package/docs/api/functions/checkBackgroundNotifications.html +2 -2
  168. package/docs/api/functions/checkBoulderContinuation.html +2 -2
  169. package/docs/api/functions/checkDuplicateTriggers.html +2 -2
  170. package/docs/api/functions/checkExpertGate.html +1 -1
  171. package/docs/api/functions/checkForComments.html +2 -2
  172. package/docs/api/functions/checkForUpdates.html +2 -2
  173. package/docs/api/functions/checkIncompleteTodos.html +13 -13
  174. package/docs/api/functions/checkPersistentModes.html +3 -3
  175. package/docs/api/functions/cleanupOrphanedState.html +2 -2
  176. package/docs/api/functions/cleanupStaleAgents.html +2 -2
  177. package/docs/api/functions/cleanupTransientState.html +2 -2
  178. package/docs/api/functions/clearAgentUsageState.html +1 -1
  179. package/docs/api/functions/clearAllModeStates.html +2 -2
  180. package/docs/api/functions/clearAutopilot.html +2 -2
  181. package/docs/api/functions/clearAutopilotState.html +2 -2
  182. package/docs/api/functions/clearBeadsContext.html +2 -2
  183. package/docs/api/functions/clearBoulderState.html +2 -2
  184. package/docs/api/functions/clearDetectionState.html +2 -2
  185. package/docs/api/functions/clearInjectedPaths.html +2 -2
  186. package/docs/api/functions/clearInjectedRules.html +2 -2
  187. package/docs/api/functions/clearLinkedUltraworkState.html +2 -2
  188. package/docs/api/functions/clearModeState.html +10 -10
  189. package/docs/api/functions/clearProjectMemorySession.html +4 -4
  190. package/docs/api/functions/clearRalphState.html +2 -2
  191. package/docs/api/functions/clearRapidFireDebounce.html +2 -2
  192. package/docs/api/functions/clearSkillSession.html +2 -2
  193. package/docs/api/functions/clearThinkModeState.html +2 -2
  194. package/docs/api/functions/clearTrackingState.html +2 -2
  195. package/docs/api/functions/clearUltraQAState.html +2 -2
  196. package/docs/api/functions/clearVerificationState.html +3 -3
  197. package/docs/api/functions/commandExists.html +2 -2
  198. package/docs/api/functions/compareVersions.html +3 -3
  199. package/docs/api/functions/completeUltraQA.html +2 -2
  200. package/docs/api/functions/completeUltrapilot.html +2 -2
  201. package/docs/api/functions/completeWorker.html +2 -2
  202. package/docs/api/functions/containsTokenLimitError.html +2 -2
  203. package/docs/api/functions/createAgentToolRestrictions.html +3 -3
  204. package/docs/api/functions/createAgentUsageReminderHook.html +1 -1
  205. package/docs/api/functions/createAutoSlashCommandHook.html +7 -7
  206. package/docs/api/functions/createBackgroundNotificationHook.html +7 -7
  207. package/docs/api/functions/createBackgroundTaskManager.html +2 -2
  208. package/docs/api/functions/createBoulderState.html +2 -2
  209. package/docs/api/functions/createCommentCheckerHook.html +6 -6
  210. package/docs/api/functions/createCompactCheckpoint.html +2 -2
  211. package/docs/api/functions/createContentHash.html +2 -2
  212. package/docs/api/functions/createContextInjectorHook.html +7 -7
  213. package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -9
  214. package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -6
  215. package/docs/api/functions/createEnvContext.html +2 -2
  216. package/docs/api/functions/createHookOutput.html +4 -4
  217. package/docs/api/functions/createLearnedSkillsHook.html +6 -6
  218. package/docs/api/functions/createMagicKeywordProcessor.html +2 -2
  219. package/docs/api/functions/createModeMarker.html +6 -6
  220. package/docs/api/functions/createPrd.html +2 -2
  221. package/docs/api/functions/createPreemptiveCompactionHook.html +6 -6
  222. package/docs/api/functions/createRalphLoopHook.html +2 -2
  223. package/docs/api/functions/createRecoveryHook.html +7 -7
  224. package/docs/api/functions/createRulesInjectorHook.html +8 -8
  225. package/docs/api/functions/createSimplePrd.html +2 -2
  226. package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -7
  227. package/docs/api/functions/createSisyphusSession.html +7 -7
  228. package/docs/api/functions/createThinkModeHook.html +7 -7
  229. package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -1
  230. package/docs/api/functions/createTodoContinuationHook.html +2 -2
  231. package/docs/api/functions/createUltraworkStateHook.html +2 -2
  232. package/docs/api/functions/deactivateUltrawork.html +8 -8
  233. package/docs/api/functions/decayHotPaths.html +2 -2
  234. package/docs/api/functions/decomposeTask.html +11 -11
  235. package/docs/api/functions/deepMerge.html +2 -2
  236. package/docs/api/functions/detectArchitectApproval.html +2 -2
  237. package/docs/api/functions/detectArchitectRejection.html +2 -2
  238. package/docs/api/functions/detectContextLimitError.html +2 -2
  239. package/docs/api/functions/detectContextLimitErrorInText.html +2 -2
  240. package/docs/api/functions/detectDirectivesFromMessage.html +2 -2
  241. package/docs/api/functions/detectEditError.html +2 -2
  242. package/docs/api/functions/detectEditErrorInOutput.html +2 -2
  243. package/docs/api/functions/detectEditErrorInText.html +2 -2
  244. package/docs/api/functions/detectExtractableMoment.html +2 -2
  245. package/docs/api/functions/detectKeywordsWithType.html +11 -11
  246. package/docs/api/functions/detectMagicKeywords.html +2 -2
  247. package/docs/api/functions/detectProjectEnvironment.html +2 -2
  248. package/docs/api/functions/detectRecoverableError.html +3 -3
  249. package/docs/api/functions/detectSessionErrorType.html +2 -2
  250. package/docs/api/functions/detectSlashCommand.html +3 -3
  251. package/docs/api/functions/detectThinkKeyword.html +2 -2
  252. package/docs/api/functions/detectUltrathinkKeyword.html +2 -2
  253. package/docs/api/functions/discoverAllCommands.html +2 -2
  254. package/docs/api/functions/enablePrdMode.html +2 -2
  255. package/docs/api/functions/enhancePrompt.html +2 -2
  256. package/docs/api/functions/ensureAutopilotDir.html +2 -2
  257. package/docs/api/functions/ensureDirectoryStructure.html +2 -2
  258. package/docs/api/functions/ensureModeStateDir.html +2 -2
  259. package/docs/api/functions/ensureSkillsDir.html +2 -2
  260. package/docs/api/functions/estimateTokens.html +2 -2
  261. package/docs/api/functions/executeSlashCommand.html +2 -2
  262. package/docs/api/functions/expandCommand.html +8 -8
  263. package/docs/api/functions/expandCommandPrompt.html +6 -6
  264. package/docs/api/functions/expandCommands.html +2 -2
  265. package/docs/api/functions/exportSessionSummary.html +2 -2
  266. package/docs/api/functions/exportWisdomToNotepad.html +2 -2
  267. package/docs/api/functions/extractPromptText.html +11 -11
  268. package/docs/api/functions/extractSlashPromptText.html +2 -2
  269. package/docs/api/functions/extractThinkPromptText.html +2 -2
  270. package/docs/api/functions/failWorker.html +2 -2
  271. package/docs/api/functions/findCommand.html +2 -2
  272. package/docs/api/functions/findMatchingSkills.html +2 -2
  273. package/docs/api/functions/findPlannerPlans.html +3 -3
  274. package/docs/api/functions/findPrdPath.html +2 -2
  275. package/docs/api/functions/findPreviousThinkingContent.html +1 -1
  276. package/docs/api/functions/findProgressPath.html +2 -2
  277. package/docs/api/functions/findProjectRoot.html +3 -3
  278. package/docs/api/functions/findRecoveryEmptyMessages.html +2 -2
  279. package/docs/api/functions/findRecoveryOrphanThinking.html +2 -2
  280. package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -2
  281. package/docs/api/functions/findRuleFiles.html +4 -4
  282. package/docs/api/functions/findSkillFiles.html +3 -3
  283. package/docs/api/functions/formatCancelMessage.html +2 -2
  284. package/docs/api/functions/formatCompactSummary.html +2 -2
  285. package/docs/api/functions/formatContextSummary.html +3 -3
  286. package/docs/api/functions/formatDirectivesForContext.html +2 -2
  287. package/docs/api/functions/formatFailureSummary.html +2 -2
  288. package/docs/api/functions/formatFile.html +2 -2
  289. package/docs/api/functions/formatFileChanges.html +2 -2
  290. package/docs/api/functions/formatFileList.html +2 -2
  291. package/docs/api/functions/formatFullContext.html +2 -2
  292. package/docs/api/functions/formatFullNotepad.html +2 -2
  293. package/docs/api/functions/formatLearningsForContext.html +2 -2
  294. package/docs/api/functions/formatNextStoryPrompt.html +2 -2
  295. package/docs/api/functions/formatNotepadContext.html +2 -2
  296. package/docs/api/functions/formatPatternsForContext.html +2 -2
  297. package/docs/api/functions/formatPrd.html +2 -2
  298. package/docs/api/functions/formatPrdStatus.html +2 -2
  299. package/docs/api/functions/formatPreCompactSummary.html +2 -2
  300. package/docs/api/functions/formatProgressForContext.html +2 -2
  301. package/docs/api/functions/formatProgressMessage.html +2 -2
  302. package/docs/api/functions/formatStory.html +2 -2
  303. package/docs/api/functions/formatSummary.html +2 -2
  304. package/docs/api/functions/formatUpdateNotification.html +2 -2
  305. package/docs/api/functions/formatValidationResults.html +2 -2
  306. package/docs/api/functions/generateExtractionPrompt.html +2 -2
  307. package/docs/api/functions/generateSkillFrontmatter.html +2 -2
  308. package/docs/api/functions/generateSummary.html +2 -2
  309. package/docs/api/functions/getActiveAgentCount.html +2 -2
  310. package/docs/api/functions/getActiveExclusiveMode.html +4 -4
  311. package/docs/api/functions/getActiveModes.html +2 -2
  312. package/docs/api/functions/getActivePlanPath.html +2 -2
  313. package/docs/api/functions/getAgentDefinitions.html +2 -2
  314. package/docs/api/functions/getAgentsByType.html +2 -2
  315. package/docs/api/functions/getAllCommands.html +2 -2
  316. package/docs/api/functions/getAllModeStatuses.html +5 -5
  317. package/docs/api/functions/getAllSkills.html +2 -2
  318. package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -2
  319. package/docs/api/functions/getArchitectVerificationPrompt.html +2 -2
  320. package/docs/api/functions/getAutoFormatMessage.html +2 -2
  321. package/docs/api/functions/getAutopilotStateAge.html +3 -3
  322. package/docs/api/functions/getAvailableAgents.html +2 -2
  323. package/docs/api/functions/getAxiomDir.html +1 -1
  324. package/docs/api/functions/getBackgroundTaskGuidance.html +4 -4
  325. package/docs/api/functions/getBeadsContextConfig.html +2 -2
  326. package/docs/api/functions/getBeadsInstructions.html +2 -2
  327. package/docs/api/functions/getBoulderFilePath.html +2 -2
  328. package/docs/api/functions/getCheckpointPath.html +2 -2
  329. package/docs/api/functions/getClaudeThinkingConfig.html +3 -3
  330. package/docs/api/functions/getCommand.html +2 -2
  331. package/docs/api/functions/getCommandsDir.html +2 -2
  332. package/docs/api/functions/getCompactionQueueDepth.html +3 -3
  333. package/docs/api/functions/getCompletedWorkers.html +2 -2
  334. package/docs/api/functions/getDefaultMcpServers.html +1 -1
  335. package/docs/api/functions/getDefaultModelForCategory.html +2 -2
  336. package/docs/api/functions/getDetectionStats.html +2 -2
  337. package/docs/api/functions/getDirectPlanningPrompt.html +3 -3
  338. package/docs/api/functions/getExecutionPrompt.html +2 -2
  339. package/docs/api/functions/getExpansionPrompt.html +3 -3
  340. package/docs/api/functions/getExpertGateMessage.html +1 -1
  341. package/docs/api/functions/getFailedWorkers.html +2 -2
  342. package/docs/api/functions/getFormatter.html +2 -2
  343. package/docs/api/functions/getGitDiffStats.html +2 -2
  344. package/docs/api/functions/getGlobalStateFilePath.html +4 -4
  345. package/docs/api/functions/getGoalCommand.html +2 -2
  346. package/docs/api/functions/getHighVariant.html +3 -3
  347. package/docs/api/functions/getInstallInfo.html +2 -2
  348. package/docs/api/functions/getInstalledVersion.html +2 -2
  349. package/docs/api/functions/getIssuesToFix.html +2 -2
  350. package/docs/api/functions/getLastDetection.html +2 -2
  351. package/docs/api/functions/getLearnerConfigValue.html +2 -2
  352. package/docs/api/functions/getLinter.html +2 -2
  353. package/docs/api/functions/getManualSection.html +2 -2
  354. package/docs/api/functions/getMemoryFilePaths.html +1 -1
  355. package/docs/api/functions/getModeMarkerFilePath.html +2 -2
  356. package/docs/api/functions/getModeStateFilePath.html +2 -2
  357. package/docs/api/functions/getNextStory.html +2 -2
  358. package/docs/api/functions/getNotepadPath.html +2 -2
  359. package/docs/api/functions/getNotepadStats.html +2 -2
  360. package/docs/api/functions/getOmcPrdPath.html +2 -2
  361. package/docs/api/functions/getOmcProgressPath.html +2 -2
  362. package/docs/api/functions/getOmcSystemPrompt.html +2 -2
  363. package/docs/api/functions/getOmcToolNames.html +3 -3
  364. package/docs/api/functions/getPatterns.html +2 -2
  365. package/docs/api/functions/getPhasePrompt.html +2 -2
  366. package/docs/api/functions/getPlanName.html +2 -2
  367. package/docs/api/functions/getPlanPath.html +2 -2
  368. package/docs/api/functions/getPlanProgress.html +2 -2
  369. package/docs/api/functions/getPlanSummaries.html +2 -2
  370. package/docs/api/functions/getPrdCompletionStatus.html +2 -2
  371. package/docs/api/functions/getPrdPath.html +2 -2
  372. package/docs/api/functions/getPrdStatus.html +2 -2
  373. package/docs/api/functions/getPreCommitReminderMessage.html +2 -2
  374. package/docs/api/functions/getPriorityContext.html +2 -2
  375. package/docs/api/functions/getProgressContext.html +2 -2
  376. package/docs/api/functions/getProgressPath.html +2 -2
  377. package/docs/api/functions/getPromotionCandidates.html +2 -2
  378. package/docs/api/functions/getQAPrompt.html +2 -2
  379. package/docs/api/functions/getRalphContext.html +3 -3
  380. package/docs/api/functions/getReadmesForPath.html +2 -2
  381. package/docs/api/functions/getRecentLearnings.html +2 -2
  382. package/docs/api/functions/getRulesForPath.html +2 -2
  383. package/docs/api/functions/getRunningAgents.html +2 -2
  384. package/docs/api/functions/getRunningWorkers.html +2 -2
  385. package/docs/api/functions/getSessionTokenEstimate.html +2 -2
  386. package/docs/api/functions/getSkillsDir.html +2 -2
  387. package/docs/api/functions/getSpecPath.html +2 -2
  388. package/docs/api/functions/getStaleAgents.html +2 -2
  389. package/docs/api/functions/getStateDir.html +2 -2
  390. package/docs/api/functions/getStory.html +2 -2
  391. package/docs/api/functions/getSubagentStateFilePath.html +2 -2
  392. package/docs/api/functions/getThinkModeState.html +2 -2
  393. package/docs/api/functions/getThinkingConfig.html +3 -3
  394. package/docs/api/functions/getTopHotPaths.html +2 -2
  395. package/docs/api/functions/getTrackingStats.html +2 -2
  396. package/docs/api/functions/getTransitionPrompt.html +2 -2
  397. package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -2
  398. package/docs/api/functions/getValidationPrompt.html +2 -2
  399. package/docs/api/functions/getValidationSpawnPrompt.html +2 -2
  400. package/docs/api/functions/getValidationStats.html +1 -1
  401. package/docs/api/functions/getValidationStatus.html +2 -2
  402. package/docs/api/functions/getWorkingMemory.html +2 -2
  403. package/docs/api/functions/handleBackgroundEvent.html +3 -3
  404. package/docs/api/functions/handleContextWindowRecovery.html +2 -2
  405. package/docs/api/functions/handleEditErrorRecovery.html +2 -2
  406. package/docs/api/functions/handlePermissionRequest.html +2 -2
  407. package/docs/api/functions/handleRecovery.html +10 -10
  408. package/docs/api/functions/handleSessionEnd.html +2 -2
  409. package/docs/api/functions/handleSessionRecovery.html +2 -2
  410. package/docs/api/functions/handleSharedFiles.html +7 -7
  411. package/docs/api/functions/handleSubagentStart.html +2 -2
  412. package/docs/api/functions/handleSubagentStop.html +2 -2
  413. package/docs/api/functions/hasBoulder.html +2 -2
  414. package/docs/api/functions/hasContentParts.html +1 -1
  415. package/docs/api/functions/hasModeState.html +3 -3
  416. package/docs/api/functions/hasPrd.html +2 -2
  417. package/docs/api/functions/hasTextContent.html +2 -2
  418. package/docs/api/functions/hasValidContent.html +3 -3
  419. package/docs/api/functions/incrementAgentCount.html +2 -2
  420. package/docs/api/functions/incrementRalphIteration.html +2 -2
  421. package/docs/api/functions/incrementReinforcement.html +2 -2
  422. package/docs/api/functions/initAutopilot.html +2 -2
  423. package/docs/api/functions/initNotepad.html +2 -2
  424. package/docs/api/functions/initPrd.html +2 -2
  425. package/docs/api/functions/initProgress.html +2 -2
  426. package/docs/api/functions/initUltrapilot.html +2 -2
  427. package/docs/api/functions/injectContextIntoText.html +2 -2
  428. package/docs/api/functions/injectPendingContext.html +3 -3
  429. package/docs/api/functions/injectRecoveryTextPart.html +2 -2
  430. package/docs/api/functions/install.html +2 -2
  431. package/docs/api/functions/integrateResults.html +5 -5
  432. package/docs/api/functions/isActiveModeRunning.html +2 -2
  433. package/docs/api/functions/isAllowedPath.html +2 -2
  434. package/docs/api/functions/isAlreadyHighVariant.html +2 -2
  435. package/docs/api/functions/isAutopilotActive.html +2 -2
  436. package/docs/api/functions/isAxiomEnabled.html +1 -1
  437. package/docs/api/functions/isClaudeInstalled.html +3 -3
  438. package/docs/api/functions/isClaudeModel.html +2 -2
  439. package/docs/api/functions/isCompactionInProgress.html +3 -3
  440. package/docs/api/functions/isDuplicateByContentHash.html +2 -2
  441. package/docs/api/functions/isDuplicateByRealPath.html +2 -2
  442. package/docs/api/functions/isExcludedCommand.html +2 -2
  443. package/docs/api/functions/isExtendedThinkingModel.html +1 -1
  444. package/docs/api/functions/isFileOwnedByWorker.html +2 -2
  445. package/docs/api/functions/isFormatterAvailable.html +2 -2
  446. package/docs/api/functions/isGptModel.html +2 -2
  447. package/docs/api/functions/isInstalled.html +2 -2
  448. package/docs/api/functions/isLearnerEnabled.html +2 -2
  449. package/docs/api/functions/isModeActive.html +6 -6
  450. package/docs/api/functions/isNonInteractive.html +1 -1
  451. package/docs/api/functions/isRecoverableError.html +2 -2
  452. package/docs/api/functions/isSafeCommand.html +2 -2
  453. package/docs/api/functions/isSessionRecoverable.html +2 -2
  454. package/docs/api/functions/isSharedFile.html +2 -2
  455. package/docs/api/functions/isThinkModeActive.html +2 -2
  456. package/docs/api/functions/isToolPart.html +2 -2
  457. package/docs/api/functions/isUltraQAActive.html +1 -1
  458. package/docs/api/functions/isWriteEditTool.html +2 -2
  459. package/docs/api/functions/learnFromToolOutput.html +7 -7
  460. package/docs/api/functions/lintFile.html +2 -2
  461. package/docs/api/functions/listAvailableCommands.html +2 -2
  462. package/docs/api/functions/listCommands.html +2 -2
  463. package/docs/api/functions/listPromotableLearnings.html +2 -2
  464. package/docs/api/functions/loadAgentPrompt.html +7 -7
  465. package/docs/api/functions/loadAgentUsageState.html +1 -1
  466. package/docs/api/functions/loadAllSkills.html +3 -3
  467. package/docs/api/functions/loadConfig.html +2 -2
  468. package/docs/api/functions/loadInjectedPaths.html +2 -2
  469. package/docs/api/functions/loadInjectedRules.html +2 -2
  470. package/docs/api/functions/loadLearnerConfig.html +2 -2
  471. package/docs/api/functions/loadProjectMemory.html +3 -3
  472. package/docs/api/functions/loadSkillById.html +2 -2
  473. package/docs/api/functions/mapDirectoryStructure.html +2 -2
  474. package/docs/api/functions/markStoryComplete.html +2 -2
  475. package/docs/api/functions/markStoryIncomplete.html +2 -2
  476. package/docs/api/functions/mergeAgentConfig.html +2 -2
  477. package/docs/api/functions/parseAxiomState.html +1 -1
  478. package/docs/api/functions/parseContextLimitError.html +2 -2
  479. package/docs/api/functions/parseProgress.html +2 -2
  480. package/docs/api/functions/parseRuleFrontmatter.html +10 -10
  481. package/docs/api/functions/parseSkillFile.html +2 -2
  482. package/docs/api/functions/parseSlashCommand.html +2 -2
  483. package/docs/api/functions/parseTokenLimitError.html +2 -2
  484. package/docs/api/functions/performUpdate.html +2 -2
  485. package/docs/api/functions/prependRecoveryThinkingPart.html +2 -2
  486. package/docs/api/functions/prependThinkingBlock.html +1 -1
  487. package/docs/api/functions/processAxiomBoot.html +1 -1
  488. package/docs/api/functions/processAxiomGuards.html +1 -1
  489. package/docs/api/functions/processBackgroundNotification.html +2 -2
  490. package/docs/api/functions/processBackgroundNotificationHook.html +2 -2
  491. package/docs/api/functions/processEditOutput.html +2 -2
  492. package/docs/api/functions/processHook.html +3 -3
  493. package/docs/api/functions/processMessageForSkills.html +2 -2
  494. package/docs/api/functions/processOrchestratorPostTool.html +3 -3
  495. package/docs/api/functions/processOrchestratorPreTool.html +3 -3
  496. package/docs/api/functions/processPermissionRequest.html +2 -2
  497. package/docs/api/functions/processPreCompact.html +6 -6
  498. package/docs/api/functions/processProjectMemoryPreCompact.html +3 -3
  499. package/docs/api/functions/processResponseForDetection.html +3 -3
  500. package/docs/api/functions/processSessionEnd.html +2 -2
  501. package/docs/api/functions/processSetup.html +2 -2
  502. package/docs/api/functions/processSetupInit.html +2 -2
  503. package/docs/api/functions/processSetupMaintenance.html +2 -2
  504. package/docs/api/functions/processSlashCommand.html +2 -2
  505. package/docs/api/functions/processSubagentStart.html +2 -2
  506. package/docs/api/functions/processSubagentStop.html +2 -2
  507. package/docs/api/functions/processThinkMode.html +3 -3
  508. package/docs/api/functions/promoteLearning.html +2 -2
  509. package/docs/api/functions/pruneOldEntries.html +2 -2
  510. package/docs/api/functions/pruneOldStateFiles.html +2 -2
  511. package/docs/api/functions/readActiveContext.html +1 -1
  512. package/docs/api/functions/readAutopilotState.html +2 -2
  513. package/docs/api/functions/readBoulderState.html +2 -2
  514. package/docs/api/functions/readModeMarker.html +4 -4
  515. package/docs/api/functions/readNotepad.html +2 -2
  516. package/docs/api/functions/readPrd.html +2 -2
  517. package/docs/api/functions/readProgress.html +2 -2
  518. package/docs/api/functions/readProgressRaw.html +2 -2
  519. package/docs/api/functions/readProjectDecisions.html +1 -1
  520. package/docs/api/functions/readRalphState.html +2 -2
  521. package/docs/api/functions/readRecoveryMessages.html +2 -2
  522. package/docs/api/functions/readRecoveryParts.html +2 -2
  523. package/docs/api/functions/readTrackingState.html +3 -3
  524. package/docs/api/functions/readUltraQAState.html +2 -2
  525. package/docs/api/functions/readUltrapilotState.html +2 -2
  526. package/docs/api/functions/readUltraworkState.html +4 -4
  527. package/docs/api/functions/readUserPreferences.html +1 -1
  528. package/docs/api/functions/readVerificationState.html +3 -3
  529. package/docs/api/functions/recordArchitectFeedback.html +2 -2
  530. package/docs/api/functions/recordConflict.html +2 -2
  531. package/docs/api/functions/recordFailure.html +2 -2
  532. package/docs/api/functions/recordHookFire.html +2 -2
  533. package/docs/api/functions/recordHookResult.html +2 -2
  534. package/docs/api/functions/recordKeywordDetected.html +2 -2
  535. package/docs/api/functions/recordModeChange.html +2 -2
  536. package/docs/api/functions/recordPattern.html +2 -2
  537. package/docs/api/functions/recordSessionMetrics.html +2 -2
  538. package/docs/api/functions/recordSkillActivated.html +2 -2
  539. package/docs/api/functions/recordSkillInvoked.html +2 -2
  540. package/docs/api/functions/recordStoryProgress.html +2 -2
  541. package/docs/api/functions/recordValidationVerdict.html +2 -2
  542. package/docs/api/functions/registerBeadsContext.html +3 -3
  543. package/docs/api/functions/registerProjectMemoryContext.html +6 -6
  544. package/docs/api/functions/removeCodeBlocks.html +12 -12
  545. package/docs/api/functions/removeModeMarker.html +5 -5
  546. package/docs/api/functions/removeSlashCodeBlocks.html +2 -2
  547. package/docs/api/functions/removeThinkCodeBlocks.html +2 -2
  548. package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -2
  549. package/docs/api/functions/rescanProjectEnvironment.html +4 -4
  550. package/docs/api/functions/resetSessionTokenEstimate.html +2 -2
  551. package/docs/api/functions/resumeAutopilot.html +2 -2
  552. package/docs/api/functions/runPreCommitChecks.html +2 -2
  553. package/docs/api/functions/runTests.html +2 -2
  554. package/docs/api/functions/runTypeCheck.html +2 -2
  555. package/docs/api/functions/sanitizeMessage.html +2 -2
  556. package/docs/api/functions/sanitizeMessages.html +2 -2
  557. package/docs/api/functions/saveAgentUsageState.html +1 -1
  558. package/docs/api/functions/saveInjectedPaths.html +2 -2
  559. package/docs/api/functions/saveInjectedRules.html +2 -2
  560. package/docs/api/functions/saveLearnerConfig.html +2 -2
  561. package/docs/api/functions/saveModeSummary.html +2 -2
  562. package/docs/api/functions/saveProjectMemory.html +3 -3
  563. package/docs/api/functions/saveVersionMetadata.html +2 -2
  564. package/docs/api/functions/setCurrentStory.html +2 -2
  565. package/docs/api/functions/setEnvironmentVariables.html +2 -2
  566. package/docs/api/functions/setLearnerConfigValue.html +2 -2
  567. package/docs/api/functions/setPriorityContext.html +2 -2
  568. package/docs/api/functions/shouldActivateThinkMode.html +3 -3
  569. package/docs/api/functions/shouldActivateUltrathink.html +2 -2
  570. package/docs/api/functions/shouldApplyRule.html +2 -2
  571. package/docs/api/functions/shouldCheckForUpdates.html +2 -2
  572. package/docs/api/functions/shouldCompleteByPrd.html +2 -2
  573. package/docs/api/functions/shouldPromptExtraction.html +2 -2
  574. package/docs/api/functions/shouldReinforceUltrawork.html +2 -2
  575. package/docs/api/functions/shouldRetryValidation.html +2 -2
  576. package/docs/api/functions/shouldRunInBackground.html +8 -8
  577. package/docs/api/functions/spawnWorkers.html +7 -7
  578. package/docs/api/functions/startUltraQA.html +3 -3
  579. package/docs/api/functions/startUltrapilot.html +7 -7
  580. package/docs/api/functions/startValidationRound.html +2 -2
  581. package/docs/api/functions/startVerification.html +2 -2
  582. package/docs/api/functions/startsWithThinkingBlock.html +1 -1
  583. package/docs/api/functions/stopUltraQA.html +2 -2
  584. package/docs/api/functions/stripRecoveryThinkingParts.html +2 -2
  585. package/docs/api/functions/toSdkMcpFormat.html +2 -2
  586. package/docs/api/functions/trackAccess.html +2 -2
  587. package/docs/api/functions/trackProgress.html +5 -5
  588. package/docs/api/functions/transitionPhase.html +2 -2
  589. package/docs/api/functions/transitionRalphToUltraQA.html +9 -9
  590. package/docs/api/functions/transitionToComplete.html +2 -2
  591. package/docs/api/functions/transitionToFailed.html +2 -2
  592. package/docs/api/functions/transitionUltraQAToValidation.html +2 -2
  593. package/docs/api/functions/updateDirectoryAccess.html +2 -2
  594. package/docs/api/functions/updateExecution.html +2 -2
  595. package/docs/api/functions/updateExpansion.html +2 -2
  596. package/docs/api/functions/updatePlanning.html +2 -2
  597. package/docs/api/functions/updateQA.html +2 -2
  598. package/docs/api/functions/updateValidation.html +2 -2
  599. package/docs/api/functions/updateWorkerState.html +2 -2
  600. package/docs/api/functions/validateAgentConfig.html +2 -2
  601. package/docs/api/functions/validateCommitMessage.html +2 -2
  602. package/docs/api/functions/validateConfigFiles.html +2 -2
  603. package/docs/api/functions/validateExtractionRequest.html +2 -2
  604. package/docs/api/functions/validateMessage.html +1 -1
  605. package/docs/api/functions/validateMessages.html +1 -1
  606. package/docs/api/functions/validateSkillMetadata.html +2 -2
  607. package/docs/api/functions/writeAutopilotState.html +2 -2
  608. package/docs/api/functions/writeBoulderState.html +2 -2
  609. package/docs/api/functions/writePrd.html +2 -2
  610. package/docs/api/functions/writeRalphState.html +2 -2
  611. package/docs/api/functions/writeSkill.html +2 -2
  612. package/docs/api/functions/writeTrackingState.html +5 -5
  613. package/docs/api/functions/writeUltraQAState.html +2 -2
  614. package/docs/api/functions/writeUltrapilotState.html +2 -2
  615. package/docs/api/functions/writeUltraworkState.html +2 -2
  616. package/docs/api/functions/writeVerificationState.html +2 -2
  617. package/docs/api/hierarchy.html +1 -1
  618. package/docs/api/index.html +843 -843
  619. package/docs/api/interfaces/AgentConfig.html +18 -18
  620. package/docs/api/interfaces/AgentOverrideConfig.html +10 -10
  621. package/docs/api/interfaces/AgentPromptMetadata.html +19 -19
  622. package/docs/api/interfaces/AgentState.html +5 -5
  623. package/docs/api/interfaces/AgentUsageState.html +8 -8
  624. package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -5
  625. package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -3
  626. package/docs/api/interfaces/AutoSlashCommandResult.html +5 -5
  627. package/docs/api/interfaces/AutopilotConfig.html +26 -26
  628. package/docs/api/interfaces/AutopilotExecution.html +16 -16
  629. package/docs/api/interfaces/AutopilotExpansion.html +12 -12
  630. package/docs/api/interfaces/AutopilotPlanning.html +8 -8
  631. package/docs/api/interfaces/AutopilotQA.html +12 -12
  632. package/docs/api/interfaces/AutopilotResult.html +10 -10
  633. package/docs/api/interfaces/AutopilotState.html +36 -36
  634. package/docs/api/interfaces/AutopilotSummary.html +16 -16
  635. package/docs/api/interfaces/AutopilotValidation.html +10 -10
  636. package/docs/api/interfaces/AutopilotValidationResult.html +8 -8
  637. package/docs/api/interfaces/AvailableAgent.html +5 -5
  638. package/docs/api/interfaces/AxiomBootInput.html +3 -3
  639. package/docs/api/interfaces/AxiomBootOutput.html +4 -4
  640. package/docs/api/interfaces/AxiomGuardsInput.html +4 -4
  641. package/docs/api/interfaces/AxiomGuardsOutput.html +4 -4
  642. package/docs/api/interfaces/AxiomMemoryFiles.html +5 -5
  643. package/docs/api/interfaces/AxiomState.html +8 -8
  644. package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -11
  645. package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -8
  646. package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -8
  647. package/docs/api/interfaces/BackgroundTask.html +7 -7
  648. package/docs/api/interfaces/BackgroundTaskManager.html +26 -26
  649. package/docs/api/interfaces/BeadsContextConfig.html +4 -4
  650. package/docs/api/interfaces/BoulderState.html +12 -12
  651. package/docs/api/interfaces/BuildInfo.html +6 -6
  652. package/docs/api/interfaces/CanStartResult.html +4 -4
  653. package/docs/api/interfaces/CancelResult.html +4 -4
  654. package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -4
  655. package/docs/api/interfaces/CodeConventions.html +5 -5
  656. package/docs/api/interfaces/CodebasePattern.html +5 -5
  657. package/docs/api/interfaces/CommandInfo.html +5 -5
  658. package/docs/api/interfaces/CommandMetadata.html +7 -7
  659. package/docs/api/interfaces/CommentCheckResult.html +10 -10
  660. package/docs/api/interfaces/CommentCheckerConfig.html +6 -6
  661. package/docs/api/interfaces/CommentInfo.html +14 -14
  662. package/docs/api/interfaces/CommentPendingCall.html +18 -18
  663. package/docs/api/interfaces/CommitConfig.html +9 -9
  664. package/docs/api/interfaces/CompactCheckpoint.html +7 -7
  665. package/docs/api/interfaces/ContextEntry.html +14 -14
  666. package/docs/api/interfaces/ContextUsageResult.html +12 -12
  667. package/docs/api/interfaces/CustomNote.html +5 -5
  668. package/docs/api/interfaces/DelegationDecision.html +7 -7
  669. package/docs/api/interfaces/DelegationRoute.html +7 -7
  670. package/docs/api/interfaces/DelegationRoutingConfig.html +5 -5
  671. package/docs/api/interfaces/DelegationTrigger.html +6 -6
  672. package/docs/api/interfaces/DetectedKeyword.html +13 -13
  673. package/docs/api/interfaces/DetectionConfig.html +8 -8
  674. package/docs/api/interfaces/DetectionResult.html +13 -13
  675. package/docs/api/interfaces/DirectoryInfo.html +7 -7
  676. package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -6
  677. package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -6
  678. package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -8
  679. package/docs/api/interfaces/ExecuteResult.html +5 -5
  680. package/docs/api/interfaces/ExpandedCommand.html +4 -4
  681. package/docs/api/interfaces/ExternalModelPreference.html +4 -4
  682. package/docs/api/interfaces/ExternalModelsConfig.html +6 -6
  683. package/docs/api/interfaces/ExternalModelsDefaults.html +5 -5
  684. package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -5
  685. package/docs/api/interfaces/FileOwnership.html +8 -8
  686. package/docs/api/interfaces/FormatConfig.html +7 -7
  687. package/docs/api/interfaces/FrameworkDetection.html +4 -4
  688. package/docs/api/interfaces/FullAgentConfig.html +26 -26
  689. package/docs/api/interfaces/GateCheckResult.html +5 -5
  690. package/docs/api/interfaces/GitBranchPattern.html +3 -3
  691. package/docs/api/interfaces/HookContext.html +5 -5
  692. package/docs/api/interfaces/HookDefinition.html +5 -5
  693. package/docs/api/interfaces/HookInput.html +18 -18
  694. package/docs/api/interfaces/HookOutput.html +10 -10
  695. package/docs/api/interfaces/HookResult.html +4 -4
  696. package/docs/api/interfaces/HotPath.html +6 -6
  697. package/docs/api/interfaces/InjectedPathsData.html +9 -9
  698. package/docs/api/interfaces/InjectedRulesData.html +10 -10
  699. package/docs/api/interfaces/InjectedSkillsData.html +8 -8
  700. package/docs/api/interfaces/InjectionResult.html +8 -8
  701. package/docs/api/interfaces/InstallOptions.html +9 -9
  702. package/docs/api/interfaces/InstallResult.html +10 -10
  703. package/docs/api/interfaces/IntegrationResult.html +14 -14
  704. package/docs/api/interfaces/LanguageDetection.html +5 -5
  705. package/docs/api/interfaces/LearnedSkill.html +16 -16
  706. package/docs/api/interfaces/LearnerConfig.html +18 -18
  707. package/docs/api/interfaces/LintConfig.html +7 -7
  708. package/docs/api/interfaces/MagicKeyword.html +4 -4
  709. package/docs/api/interfaces/MatchResult.html +6 -6
  710. package/docs/api/interfaces/MessageContext.html +8 -8
  711. package/docs/api/interfaces/MessageInfo.html +9 -9
  712. package/docs/api/interfaces/MessagePart.html +15 -15
  713. package/docs/api/interfaces/MessageWithModel.html +3 -3
  714. package/docs/api/interfaces/MessageWithParts.html +6 -6
  715. package/docs/api/interfaces/MessagesTransformHook.html +3 -3
  716. package/docs/api/interfaces/MessagesTransformInput.html +3 -3
  717. package/docs/api/interfaces/MessagesTransformOutput.html +3 -3
  718. package/docs/api/interfaces/ModeConfig.html +13 -13
  719. package/docs/api/interfaces/ModeStatus.html +4 -4
  720. package/docs/api/interfaces/ModelRef.html +4 -4
  721. package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -2
  722. package/docs/api/interfaces/NotepadConfig.html +7 -7
  723. package/docs/api/interfaces/NotepadStats.html +11 -11
  724. package/docs/api/interfaces/NotificationCheckResult.html +8 -8
  725. package/docs/api/interfaces/OrchestratorToolInput.html +6 -6
  726. package/docs/api/interfaces/OrchestratorToolOutput.html +6 -6
  727. package/docs/api/interfaces/OutputPart.html +4 -4
  728. package/docs/api/interfaces/PRD.html +9 -9
  729. package/docs/api/interfaces/PRDStatus.html +13 -13
  730. package/docs/api/interfaces/ParsedSlashCommand.html +8 -8
  731. package/docs/api/interfaces/ParsedTokenLimitError.html +16 -16
  732. package/docs/api/interfaces/PendingContext.html +8 -8
  733. package/docs/api/interfaces/PermissionHookOutput.html +4 -4
  734. package/docs/api/interfaces/PermissionRequestInput.html +9 -9
  735. package/docs/api/interfaces/PersistentModeResult.html +9 -9
  736. package/docs/api/interfaces/PlanProgress.html +8 -8
  737. package/docs/api/interfaces/PlanSummary.html +10 -10
  738. package/docs/api/interfaces/PluginConfig.html +17 -17
  739. package/docs/api/interfaces/PreCommitResult.html +3 -3
  740. package/docs/api/interfaces/PreCompactHookOutput.html +4 -4
  741. package/docs/api/interfaces/PreCompactInput.html +8 -8
  742. package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -14
  743. package/docs/api/interfaces/PriorityContextResult.html +5 -5
  744. package/docs/api/interfaces/ProgressEntry.html +11 -11
  745. package/docs/api/interfaces/ProgressLog.html +7 -7
  746. package/docs/api/interfaces/ProjectMemory.html +14 -14
  747. package/docs/api/interfaces/ProjectStructure.html +5 -5
  748. package/docs/api/interfaces/PromotionCandidate.html +9 -9
  749. package/docs/api/interfaces/PruneResult.html +5 -5
  750. package/docs/api/interfaces/QualityValidation.html +10 -10
  751. package/docs/api/interfaces/RalphLoopHook.html +4 -4
  752. package/docs/api/interfaces/RalphLoopOptions.html +5 -5
  753. package/docs/api/interfaces/RalphLoopState.html +21 -21
  754. package/docs/api/interfaces/RecoveryConfig.html +16 -16
  755. package/docs/api/interfaces/RecoveryMessageData.html +4 -4
  756. package/docs/api/interfaces/RecoveryResult.html +10 -10
  757. package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -8
  758. package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -7
  759. package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -9
  760. package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -9
  761. package/docs/api/interfaces/RegisterContextOptions.html +12 -12
  762. package/docs/api/interfaces/ReleaseInfo.html +9 -9
  763. package/docs/api/interfaces/ResolveDelegationOptions.html +7 -7
  764. package/docs/api/interfaces/ResolveOptions.html +6 -6
  765. package/docs/api/interfaces/ResolvedModel.html +5 -5
  766. package/docs/api/interfaces/RetryState.html +6 -6
  767. package/docs/api/interfaces/RuleFileCandidate.html +12 -12
  768. package/docs/api/interfaces/RuleFrontmatterResult.html +6 -6
  769. package/docs/api/interfaces/RuleInfo.html +18 -18
  770. package/docs/api/interfaces/RuleMetadata.html +9 -9
  771. package/docs/api/interfaces/RuleToInject.html +10 -10
  772. package/docs/api/interfaces/SessionEndHookOutput.html +2 -2
  773. package/docs/api/interfaces/SessionEndInput.html +9 -9
  774. package/docs/api/interfaces/SessionMetrics.html +9 -9
  775. package/docs/api/interfaces/SessionState.html +5 -5
  776. package/docs/api/interfaces/SetupHookOutput.html +3 -3
  777. package/docs/api/interfaces/SetupInput.html +7 -7
  778. package/docs/api/interfaces/SetupResult.html +5 -5
  779. package/docs/api/interfaces/ShellHook.html +4 -4
  780. package/docs/api/interfaces/SisyphusOptions.html +14 -14
  781. package/docs/api/interfaces/SisyphusSession.html +16 -16
  782. package/docs/api/interfaces/SkillExtractionRequest.html +12 -12
  783. package/docs/api/interfaces/SkillFileCandidate.html +10 -10
  784. package/docs/api/interfaces/SkillHookContext.html +5 -5
  785. package/docs/api/interfaces/SkillMetadata.html +22 -22
  786. package/docs/api/interfaces/SkillParseResult.html +5 -5
  787. package/docs/api/interfaces/SubagentHookOutput.html +3 -3
  788. package/docs/api/interfaces/SubagentInfo.html +14 -14
  789. package/docs/api/interfaces/SubagentStartInput.html +10 -10
  790. package/docs/api/interfaces/SubagentStopInput.html +11 -11
  791. package/docs/api/interfaces/SubagentTrackingState.html +6 -6
  792. package/docs/api/interfaces/TaskExecutionDecision.html +10 -10
  793. package/docs/api/interfaces/TechStack.html +5 -5
  794. package/docs/api/interfaces/ThinkModeInput.html +4 -4
  795. package/docs/api/interfaces/ThinkModeState.html +12 -12
  796. package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -6
  797. package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -9
  798. package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -4
  799. package/docs/api/interfaces/TodoContinuationHook.html +2 -2
  800. package/docs/api/interfaces/TransitionResult.html +4 -4
  801. package/docs/api/interfaces/TruncateState.html +6 -6
  802. package/docs/api/interfaces/UltraQAOptions.html +5 -5
  803. package/docs/api/interfaces/UltraQAResult.html +9 -9
  804. package/docs/api/interfaces/UltraQAState.html +19 -19
  805. package/docs/api/interfaces/UltrapilotConfig.html +14 -14
  806. package/docs/api/interfaces/UltrapilotState.html +26 -26
  807. package/docs/api/interfaces/UltraworkState.html +17 -17
  808. package/docs/api/interfaces/UpdateCheckResult.html +7 -7
  809. package/docs/api/interfaces/UpdateResult.html +7 -7
  810. package/docs/api/interfaces/UserDirective.html +7 -7
  811. package/docs/api/interfaces/UserStory.html +15 -15
  812. package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -6
  813. package/docs/api/interfaces/ValidationResult.html +10 -10
  814. package/docs/api/interfaces/VerificationState.html +17 -17
  815. package/docs/api/interfaces/VersionMetadata.html +12 -12
  816. package/docs/api/interfaces/WorkerState.html +24 -24
  817. package/docs/api/interfaces/WriteSkillResult.html +6 -6
  818. package/docs/api/media/EVOLUTION.md +132 -62
  819. package/docs/api/media/INSTALL.md +105 -35
  820. package/docs/api/media/MIGRATION.md +340 -168
  821. package/docs/api/media/NEXUS.md +79 -43
  822. package/docs/api/media/REFERENCE.md +182 -104
  823. package/docs/api/media/mcp-server-usage.md +24 -11
  824. package/docs/api/modules.html +1 -1
  825. package/docs/api/types/AgentCategory.html +2 -2
  826. package/docs/api/types/AgentCost.html +3 -3
  827. package/docs/api/types/AgentFactory.html +2 -2
  828. package/docs/api/types/AgentOverrides.html +2 -2
  829. package/docs/api/types/AutopilotPhase.html +2 -2
  830. package/docs/api/types/AutopilotSignal.html +2 -2
  831. package/docs/api/types/CommandScope.html +2 -2
  832. package/docs/api/types/ContextPriority.html +3 -3
  833. package/docs/api/types/ContextSourceType.html +3 -3
  834. package/docs/api/types/DelegationProvider.html +2 -2
  835. package/docs/api/types/DelegationTool.html +2 -2
  836. package/docs/api/types/ExecutionMode.html +3 -3
  837. package/docs/api/types/ExternalModelProvider.html +2 -2
  838. package/docs/api/types/GateType.html +3 -3
  839. package/docs/api/types/InjectionStrategy.html +2 -2
  840. package/docs/api/types/KeywordType.html +10 -10
  841. package/docs/api/types/ModelType.html +2 -2
  842. package/docs/api/types/QAStatus.html +2 -2
  843. package/docs/api/types/RecoveryErrorType.html +2 -2
  844. package/docs/api/types/RecoveryStoredPart.html +2 -2
  845. package/docs/api/types/TaskTool.html +1 -1
  846. package/docs/api/types/ThinkingConfig.html +2 -2
  847. package/docs/api/types/UltraQAGoalType.html +1 -1
  848. package/docs/api/types/UserStoryInput.html +2 -2
  849. package/docs/api/types/ValidationVerdict.html +2 -2
  850. package/docs/api/types/ValidationVerdictType.html +2 -2
  851. package/docs/api/variables/AGENTS_DIR.html +1 -1
  852. package/docs/api/variables/AGENTS_FILENAME.html +2 -2
  853. package/docs/api/variables/AGENT_TOOLS.html +2 -2
  854. package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -2
  855. package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -1
  856. package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -1
  857. package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -4
  858. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -1
  859. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -2
  860. package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -2
  861. package/docs/api/variables/BDD_KEYWORDS.html +2 -2
  862. package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -1
  863. package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -1
  864. package/docs/api/variables/BLOCKING_PATTERNS.html +3 -3
  865. package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -2
  866. package/docs/api/variables/BOULDER_DIR.html +2 -2
  867. package/docs/api/variables/BOULDER_FILE.html +2 -2
  868. package/docs/api/variables/BOULDER_STATE_PATH.html +2 -2
  869. package/docs/api/variables/CHARS_PER_TOKEN.html +2 -2
  870. package/docs/api/variables/CI_COMMANDS.html +2 -2
  871. package/docs/api/variables/CI_GATE_MESSAGE.html +1 -1
  872. package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -2
  873. package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -2
  874. package/docs/api/variables/COMMANDS_DIR.html +1 -1
  875. package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -2
  876. package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -2
  877. package/docs/api/variables/CONTENT_PART_TYPES.html +2 -2
  878. package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -2
  879. package/docs/api/variables/CONTEXT_FILENAMES.html +2 -2
  880. package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -2
  881. package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -2
  882. package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -2
  883. package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -2
  884. package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -1
  885. package/docs/api/variables/DEFAULT_CONFIG.html +2 -2
  886. package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -2
  887. package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -2
  888. package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -2
  889. package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -1
  890. package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -1
  891. package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -2
  892. package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -3
  893. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -2
  894. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -2
  895. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -2
  896. package/docs/api/variables/ENTRY_SEPARATOR.html +1 -1
  897. package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -3
  898. package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -1
  899. package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -1
  900. package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -2
  901. package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -2
  902. package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -1
  903. package/docs/api/variables/GITHUB_API_URL.html +1 -1
  904. package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -2
  905. package/docs/api/variables/INSTALLER_VERSION.html +2 -2
  906. package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -2
  907. package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -3
  908. package/docs/api/variables/MANUAL_HEADER.html +1 -1
  909. package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -2
  910. package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -2
  911. package/docs/api/variables/MAX_WARNINGS.html +2 -2
  912. package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -2
  913. package/docs/api/variables/MODE_CONFIGS.html +4 -4
  914. package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -1
  915. package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -2
  916. package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -1
  917. package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -1
  918. package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -2
  919. package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -1
  920. package/docs/api/variables/NOTEPAD_DIR.html +2 -2
  921. package/docs/api/variables/NOTEPAD_FILENAME.html +1 -1
  922. package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -4
  923. package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -2
  924. package/docs/api/variables/PATTERNS_HEADER.html +1 -1
  925. package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -3
  926. package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -2
  927. package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -1
  928. package/docs/api/variables/PLAN_EXTENSION.html +2 -2
  929. package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -1
  930. package/docs/api/variables/PRD_FILENAME.html +1 -1
  931. package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -2
  932. package/docs/api/variables/PREVENTED_ERROR.html +2 -2
  933. package/docs/api/variables/PRIORITY_HEADER.html +1 -1
  934. package/docs/api/variables/PROGRESS_FILENAME.html +1 -1
  935. package/docs/api/variables/PROJECT_MARKERS.html +2 -2
  936. package/docs/api/variables/PROJECT_RULE_FILES.html +2 -2
  937. package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -2
  938. package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -2
  939. package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -7
  940. package/docs/api/variables/README_FILENAME.html +2 -2
  941. package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -1
  942. package/docs/api/variables/README_TRACKED_TOOLS.html +2 -2
  943. package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -2
  944. package/docs/api/variables/RECOVERY_MESSAGES.html +2 -2
  945. package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -2
  946. package/docs/api/variables/REMINDER_MESSAGE.html +2 -2
  947. package/docs/api/variables/REPO_NAME.html +1 -1
  948. package/docs/api/variables/REPO_OWNER.html +2 -2
  949. package/docs/api/variables/RETRY_CONFIG.html +6 -6
  950. package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -1
  951. package/docs/api/variables/RULE_EXTENSIONS.html +2 -2
  952. package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -3
  953. package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -2
  954. package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -1
  955. package/docs/api/variables/SKILL_EXTENSION.html +2 -2
  956. package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -2
  957. package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -2
  958. package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -2
  959. package/docs/api/variables/TARGET_TOOLS.html +2 -2
  960. package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -2
  961. package/docs/api/variables/THINKING_CONFIGS.html +2 -2
  962. package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -3
  963. package/docs/api/variables/THINKING_PART_TYPES.html +2 -2
  964. package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -2
  965. package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -2
  966. package/docs/api/variables/TOOL_PART_TYPES.html +2 -2
  967. package/docs/api/variables/TRACKED_TOOLS.html +2 -2
  968. package/docs/api/variables/TRUNCATE_CONFIG.html +6 -6
  969. package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -2
  970. package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -2
  971. package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -2
  972. package/docs/api/variables/USER_GATE_MESSAGE.html +1 -1
  973. package/docs/api/variables/USER_RULE_DIR.html +2 -2
  974. package/docs/api/variables/USER_SKILLS_DIR.html +2 -2
  975. package/docs/api/variables/VERIFICATION_REMINDER.html +2 -2
  976. package/docs/api/variables/VERSION_FILE.html +1 -1
  977. package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -1
  978. package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -2
  979. package/docs/api/variables/allCustomTools.html +3 -3
  980. package/docs/api/variables/analystAgent.html +1 -1
  981. package/docs/api/variables/architectAgent.html +1 -1
  982. package/docs/api/variables/astTools.html +2 -2
  983. package/docs/api/variables/contextCollector.html +2 -2
  984. package/docs/api/variables/criticAgent.html +1 -1
  985. package/docs/api/variables/designerAgent.html +1 -1
  986. package/docs/api/variables/executorAgent.html +1 -1
  987. package/docs/api/variables/exploreAgent.html +1 -1
  988. package/docs/api/variables/lspTools.html +2 -2
  989. package/docs/api/variables/nonInteractiveEnvHook.html +8 -8
  990. package/docs/api/variables/omcSystemPrompt.html +2 -2
  991. package/docs/api/variables/omcToolNames.html +3 -3
  992. package/docs/api/variables/omcToolsServer.html +4 -4
  993. package/docs/api/variables/plannerAgent.html +1 -1
  994. package/docs/api/variables/researcherAgent.html +1 -1
  995. package/docs/api/variables/visionAgent.html +1 -1
  996. package/docs/api/variables/writerAgent.html +1 -1
  997. package/docs/ccg-workflow/API.md +290 -130
  998. package/docs/ccg-workflow/BEST_PRACTICES.md +265 -124
  999. package/docs/ccg-workflow/README.md +29 -17
  1000. package/docs/ccg-workflow/TROUBLESHOOTING.md +120 -63
  1001. package/docs/ccg-workflow/VALIDATION_GUIDE.md +104 -46
  1002. package/docs/design/AGENTS.md +8 -4
  1003. package/docs/design/delegation-enforcer-integration.md +10 -8
  1004. package/docs/design/project-session-manager.md +82 -29
  1005. package/docs/dev-standards/context-collection.md +9 -2
  1006. package/docs/dev-standards/context-summary-template.md +48 -24
  1007. package/docs/dev-standards/dev-standards.md +28 -14
  1008. package/docs/dev-standards/quality-review.md +24 -13
  1009. package/docs/dev-standards/sufficiency-checklist.md +35 -14
  1010. package/docs/dev-standards/tools-integration.md +34 -15
  1011. package/docs/dev-standards/workflow.md +9 -3
  1012. package/docs/getting-started/concepts.md +27 -14
  1013. package/docs/getting-started/installation.md +25 -8
  1014. package/docs/getting-started/quickstart.md +17 -8
  1015. package/docs/guides/mcp-server-usage.md +24 -11
  1016. package/docs/guides/task-templates-guide.md +50 -25
  1017. package/docs/guides/tool-name-migration.md +67 -34
  1018. package/docs/guides/troubleshooting-guide.md +66 -32
  1019. package/docs/guides/v5.5.13-new-features.md +66 -31
  1020. package/docs/guides/wizard-user-guide.md +27 -15
  1021. package/docs/guides/workflow-recommendation-guide.md +22 -11
  1022. package/docs/issues/AGENTS.md +4 -2
  1023. package/docs/mcp/README.md +31 -18
  1024. package/docs/mcp/client-guide.md +37 -19
  1025. package/docs/mcp/configuration.md +27 -11
  1026. package/docs/mcp/overview.md +70 -36
  1027. package/docs/mcp/performance.md +23 -14
  1028. package/docs/mcp/server-guide.md +9 -4
  1029. package/docs/mcp-compatibility-matrix.md +36 -18
  1030. package/docs/partials/AGENTS.md +4 -2
  1031. package/docs/partials/agent-tiers.md +27 -17
  1032. package/docs/partials/features.md +37 -21
  1033. package/docs/partials/mode-hierarchy.md +19 -10
  1034. package/docs/partials/mode-selection-guide.md +20 -10
  1035. package/docs/partials/verification-tiers.md +36 -20
  1036. package/docs/plans/2025-11-22-opencode-support-design.md +37 -25
  1037. package/docs/plans/2025-11-22-opencode-support-implementation.md +93 -49
  1038. package/docs/plans/2025-11-28-skills-improvements-from-user-feedback.md +195 -104
  1039. package/docs/plans/2026-01-17-visual-brainstorming.md +48 -32
  1040. package/docs/plans/2026-02-24-axiom-integration-design.md +121 -67
  1041. package/docs/plans/2026-02-24-axiom-integration-plan.md +383 -191
  1042. package/docs/plans/2026-02-24-superpowers-ultrapower-integration-design.md +210 -98
  1043. package/docs/plans/2026-02-24-superpowers-ultrapower-integration-plan.md +251 -124
  1044. package/docs/plans/2026-02-24-ultrapower-integration-design.md +9 -6
  1045. package/docs/plans/2026-02-26-nexus-design.md +64 -38
  1046. package/docs/plans/2026-02-26-nexus-implementation-plan.md +171 -98
  1047. package/docs/plans/2026-02-26-phase2-active-learning-design.md +83 -44
  1048. package/docs/plans/2026-02-27-release-cicd-pipeline-design.md +30 -19
  1049. package/docs/plans/2026-02-27-release-cicd-pipeline-impl.md +27 -16
  1050. package/docs/plans/2026-02-28-nexus-self-evolution.md +30 -17
  1051. package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +106 -34
  1052. package/docs/plans/2026-03-02-docs-comprehensive-update.md +265 -133
  1053. package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +409 -180
  1054. package/docs/plans/2026-03-05-mcp-adoption-plan.md +278 -130
  1055. package/docs/plans/AGENTS.md +6 -3
  1056. package/docs/plans/axiom-migration-plan.md +127 -62
  1057. package/docs/prd/AGENTS.md +6 -3
  1058. package/docs/prd/documentation-system-draft.md +141 -71
  1059. package/docs/prd/documentation-system-rough.md +330 -171
  1060. package/docs/prd/memory-evolution-optimize-rough.md +199 -124
  1061. package/docs/prd/user_guide-rough.md +403 -200
  1062. package/docs/reviews/AGENTS.md +4 -2
  1063. package/docs/reviews/documentation-system/review_critic.md +129 -58
  1064. package/docs/reviews/documentation-system/review_domain.md +222 -104
  1065. package/docs/reviews/documentation-system/review_product.md +61 -27
  1066. package/docs/reviews/documentation-system/review_tech.md +86 -38
  1067. package/docs/reviews/documentation-system/review_ux.md +70 -35
  1068. package/docs/reviews/documentation-system/summary.md +94 -47
  1069. package/docs/reviews/draft-prd-agent-observability/review_critic.md +21 -17
  1070. package/docs/reviews/draft-prd-agent-observability/review_domain.md +61 -33
  1071. package/docs/reviews/draft-prd-agent-observability/review_product.md +19 -12
  1072. package/docs/reviews/draft-prd-agent-observability/review_tech.md +26 -15
  1073. package/docs/reviews/draft-prd-agent-observability/review_ux.md +16 -12
  1074. package/docs/reviews/draft-prd-agent-observability/rough_prd.md +64 -34
  1075. package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +72 -43
  1076. package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +45 -25
  1077. package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +5 -3
  1078. package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +112 -61
  1079. package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +1 -1
  1080. package/docs/reviews/draft-prd-three-directions/review_product.md +49 -26
  1081. package/docs/reviews/draft-prd-three-directions/review_tech.md +58 -34
  1082. package/docs/reviews/draft-prd-three-directions/review_ux.md +83 -42
  1083. package/docs/reviews/memory-evolution-optimize/summary.md +37 -22
  1084. package/docs/reviews/ultrapower-pain-points/review_critic.md +95 -48
  1085. package/docs/reviews/ultrapower-pain-points/review_ux.md +8 -7
  1086. package/docs/reviews/ultrapower-security/review_critic.md +187 -91
  1087. package/docs/reviews/ultrapower-standards/AGENTS.md +8 -4
  1088. package/docs/reviews/ultrapower-standards/review_critic.md +62 -39
  1089. package/docs/reviews/ultrapower-standards/review_domain.md +23 -14
  1090. package/docs/reviews/ultrapower-standards/review_product.md +16 -9
  1091. package/docs/reviews/ultrapower-standards/review_tech.md +47 -27
  1092. package/docs/reviews/ultrapower-standards/review_ux.md +45 -26
  1093. package/docs/reviews/ultrapower-standards/summary.md +54 -30
  1094. package/docs/reviews/ultrapower-tech-review/review_tech.md +61 -34
  1095. package/docs/reviews/user_guide/summary.md +44 -24
  1096. package/docs/shared/AGENTS.md +4 -2
  1097. package/docs/shared/agent-tiers.md +27 -17
  1098. package/docs/shared/features.md +37 -21
  1099. package/docs/shared/mode-hierarchy.md +19 -10
  1100. package/docs/shared/mode-selection-guide.md +20 -10
  1101. package/docs/shared/verification-tiers.md +36 -20
  1102. package/docs/standards/AGENTS.md +9 -5
  1103. package/docs/standards/README.md +17 -13
  1104. package/docs/standards/agent-lifecycle.md +46 -32
  1105. package/docs/standards/anti-patterns.md +2 -2
  1106. package/docs/standards/audit-report.md +75 -42
  1107. package/docs/standards/contribution-guide.md +74 -36
  1108. package/docs/standards/hook-execution-order.md +26 -16
  1109. package/docs/standards/release-process.md +9 -5
  1110. package/docs/standards/runtime-protection.md +57 -36
  1111. package/docs/standards/state-machine.md +15 -15
  1112. package/docs/standards/templates/AGENTS.md +8 -4
  1113. package/docs/standards/templates/agent-template.md +6 -4
  1114. package/docs/standards/templates/hook-template.md +7 -5
  1115. package/docs/standards/templates/skill-template.md +1 -1
  1116. package/docs/standards/testing-guide.md +6 -4
  1117. package/docs/standards/user-guide.md +27 -19
  1118. package/docs/superpowers/AGENTS.md +6 -3
  1119. package/docs/superpowers/plans/2026-01-22-document-review-system.md +46 -34
  1120. package/docs/superpowers/plans/2026-02-19-visual-brainstorming-refactor.md +71 -59
  1121. package/docs/superpowers/plans/AGENTS.md +8 -4
  1122. package/docs/superpowers/specs/2026-01-22-document-review-system-design.md +36 -19
  1123. package/docs/superpowers/specs/2026-02-19-visual-brainstorming-refactor-design.md +95 -49
  1124. package/docs/superpowers/specs/AGENTS.md +8 -4
  1125. package/docs/tasks/AGENTS.md +4 -2
  1126. package/docs/tasks/documentation-system/implementation-plan.md +86 -38
  1127. package/docs/tasks/documentation-system/manifest.md +328 -172
  1128. package/docs/tasks/memory-evolution-optimize/manifest.md +148 -84
  1129. package/docs/tasks/ultrapower-standards/AGENTS.md +10 -5
  1130. package/docs/tasks/ultrapower-standards/manifest.md +137 -71
  1131. package/docs/tasks/user_guide/manifest.md +185 -94
  1132. package/docs/testing.md +29 -11
  1133. package/docs/troubleshooting/agent-timeouts.md +14 -6
  1134. package/docs/troubleshooting/common-errors.md +4 -0
  1135. package/docs/troubleshooting/hook-failures.md +12 -6
  1136. package/docs/troubleshooting/performance-issues.md +24 -12
  1137. package/docs/troubleshooting/tool-name-length-error.md +1 -1
  1138. package/docs/troubleshooting.md +215 -47
  1139. package/docs/windows/AGENTS.md +6 -3
  1140. package/docs/windows/polyglot-hooks.md +43 -19
  1141. package/hooks/AGENTS.md +9 -5
  1142. package/hooks/run-hook.cmd +0 -0
  1143. package/hooks/session-start +0 -0
  1144. package/package.json +1 -1
  1145. package/scripts/AGENTS.md +28 -14
  1146. package/scripts/fix-agent-headers.py +58 -0
  1147. package/scripts/fix-blank-lines.py +19 -0
  1148. package/scripts/fix-long-lines.py +41 -0
  1149. package/scripts/fix-markdown-lint.mjs +48 -0
  1150. package/scripts/hooks/AGENTS.md +8 -4
  1151. package/scripts/lib/AGENTS.md +6 -3
  1152. package/scripts/persistent-mode.cjs +605 -605
  1153. package/skills/AGENTS.md +23 -17
  1154. package/skills/analyze/AGENTS.md +12 -6
  1155. package/skills/analyze/SKILL.md +53 -27
  1156. package/skills/autopilot/AGENTS.md +12 -6
  1157. package/skills/autopilot/SKILL.md +66 -35
  1158. package/skills/ax-analyze-error/AGENTS.md +12 -6
  1159. package/skills/ax-analyze-error/SKILL.md +9 -6
  1160. package/skills/ax-context/AGENTS.md +12 -6
  1161. package/skills/ax-context/SKILL.md +8 -2
  1162. package/skills/ax-decompose/AGENTS.md +12 -6
  1163. package/skills/ax-decompose/SKILL.md +19 -11
  1164. package/skills/ax-draft/AGENTS.md +12 -6
  1165. package/skills/ax-draft/SKILL.md +14 -8
  1166. package/skills/ax-evolution/AGENTS.md +12 -6
  1167. package/skills/ax-evolution/SKILL.md +16 -5
  1168. package/skills/ax-evolve/AGENTS.md +12 -6
  1169. package/skills/ax-evolve/SKILL.md +19 -10
  1170. package/skills/ax-export/AGENTS.md +12 -6
  1171. package/skills/ax-export/SKILL.md +50 -18
  1172. package/skills/ax-implement/AGENTS.md +12 -6
  1173. package/skills/ax-implement/SKILL.md +8 -5
  1174. package/skills/ax-knowledge/AGENTS.md +17 -10
  1175. package/skills/ax-knowledge/SKILL.md +54 -27
  1176. package/skills/ax-reflect/AGENTS.md +12 -6
  1177. package/skills/ax-reflect/SKILL.md +28 -14
  1178. package/skills/ax-review/AGENTS.md +12 -6
  1179. package/skills/ax-review/SKILL.md +14 -7
  1180. package/skills/ax-rollback/AGENTS.md +12 -6
  1181. package/skills/ax-rollback/SKILL.md +12 -5
  1182. package/skills/ax-status/AGENTS.md +12 -6
  1183. package/skills/ax-status/SKILL.md +55 -26
  1184. package/skills/ax-suspend/AGENTS.md +12 -6
  1185. package/skills/ax-suspend/SKILL.md +15 -7
  1186. package/skills/brainstorming/AGENTS.md +12 -6
  1187. package/skills/brainstorming/SKILL.md +66 -36
  1188. package/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
  1189. package/skills/brainstorming/visual-companion.md +57 -32
  1190. package/skills/build-fix/AGENTS.md +12 -6
  1191. package/skills/build-fix/SKILL.md +40 -22
  1192. package/skills/cancel/AGENTS.md +12 -6
  1193. package/skills/cancel/SKILL.md +102 -51
  1194. package/skills/ccg/AGENTS.md +12 -6
  1195. package/skills/ccg/SKILL.md +44 -24
  1196. package/skills/ccg-workflow/SKILL.md +8 -3
  1197. package/skills/code-review/AGENTS.md +12 -6
  1198. package/skills/code-review/SKILL.md +100 -52
  1199. package/skills/configure-discord/AGENTS.md +12 -6
  1200. package/skills/configure-discord/SKILL.md +11 -5
  1201. package/skills/configure-telegram/AGENTS.md +12 -6
  1202. package/skills/configure-telegram/SKILL.md +23 -11
  1203. package/skills/deepinit/AGENTS.md +12 -6
  1204. package/skills/deepinit/SKILL.md +118 -55
  1205. package/skills/deepsearch/AGENTS.md +12 -6
  1206. package/skills/deepsearch/SKILL.md +9 -6
  1207. package/skills/dispatching-parallel-agents/AGENTS.md +12 -6
  1208. package/skills/dispatching-parallel-agents/SKILL.md +64 -32
  1209. package/skills/executing-plans/AGENTS.md +12 -6
  1210. package/skills/executing-plans/SKILL.md +78 -37
  1211. package/skills/external-context/AGENTS.md +12 -6
  1212. package/skills/external-context/SKILL.md +25 -10
  1213. package/skills/finishing-a-development-branch/AGENTS.md +12 -6
  1214. package/skills/finishing-a-development-branch/SKILL.md +69 -28
  1215. package/skills/frontend-ui-ux/AGENTS.md +12 -6
  1216. package/skills/frontend-ui-ux/SKILL.md +16 -7
  1217. package/skills/git-master/AGENTS.md +12 -6
  1218. package/skills/git-master/SKILL.md +10 -5
  1219. package/skills/hud/AGENTS.md +12 -6
  1220. package/skills/hud/SKILL.md +32 -21
  1221. package/skills/learn-about-omc/AGENTS.md +12 -6
  1222. package/skills/learn-about-omc/SKILL.md +2 -2
  1223. package/skills/learner/AGENTS.md +12 -6
  1224. package/skills/learner/SKILL.md +77 -39
  1225. package/skills/mcp-setup/AGENTS.md +12 -6
  1226. package/skills/mcp-setup/SKILL.md +120 -49
  1227. package/skills/next-step-router/AGENTS.md +12 -6
  1228. package/skills/next-step-router/SKILL.md +61 -36
  1229. package/skills/nexus/AGENTS.md +11 -6
  1230. package/skills/nexus/SKILL.md +8 -5
  1231. package/skills/nexus/nexus-evolve/AGENTS.md +12 -6
  1232. package/skills/nexus/nexus-review/AGENTS.md +12 -6
  1233. package/skills/nexus/nexus-review/SKILL.md +1 -1
  1234. package/skills/nexus/nexus-status/AGENTS.md +12 -6
  1235. package/skills/note/AGENTS.md +12 -6
  1236. package/skills/note/SKILL.md +23 -12
  1237. package/skills/omc-doctor/AGENTS.md +12 -6
  1238. package/skills/omc-doctor/SKILL.md +86 -32
  1239. package/skills/omc-help/AGENTS.md +12 -6
  1240. package/skills/omc-help/SKILL.md +39 -20
  1241. package/skills/omc-setup/AGENTS.md +12 -6
  1242. package/skills/omc-setup/SKILL.md +169 -91
  1243. package/skills/pipeline/AGENTS.md +12 -6
  1244. package/skills/pipeline/SKILL.md +36 -14
  1245. package/skills/plan/AGENTS.md +12 -6
  1246. package/skills/plan/SKILL.md +95 -51
  1247. package/skills/project-session-manager/AGENTS.md +12 -6
  1248. package/skills/project-session-manager/SKILL.md +76 -50
  1249. package/skills/project-session-manager/lib/AGENTS.md +11 -6
  1250. package/skills/project-session-manager/lib/providers/AGENTS.md +8 -4
  1251. package/skills/project-session-manager/templates/AGENTS.md +8 -4
  1252. package/skills/project-session-manager/templates/feature.md +21 -11
  1253. package/skills/project-session-manager/templates/issue-fix.md +23 -12
  1254. package/skills/project-session-manager/templates/pr-review.md +22 -12
  1255. package/skills/psm/AGENTS.md +12 -6
  1256. package/skills/ralph/AGENTS.md +12 -6
  1257. package/skills/ralph/SKILL.md +86 -45
  1258. package/skills/ralph-init/AGENTS.md +12 -6
  1259. package/skills/ralph-init/SKILL.md +1 -1
  1260. package/skills/ralplan/AGENTS.md +12 -6
  1261. package/skills/receiving-code-review/AGENTS.md +12 -6
  1262. package/skills/receiving-code-review/SKILL.md +50 -25
  1263. package/skills/release/AGENTS.md +12 -6
  1264. package/skills/release/SKILL.md +95 -30
  1265. package/skills/requesting-code-review/AGENTS.md +12 -6
  1266. package/skills/requesting-code-review/SKILL.md +64 -32
  1267. package/skills/requesting-code-review/code-reviewer.md +89 -41
  1268. package/skills/review/AGENTS.md +12 -6
  1269. package/skills/sciomc/AGENTS.md +12 -6
  1270. package/skills/sciomc/SKILL.md +86 -46
  1271. package/skills/security-review/AGENTS.md +12 -6
  1272. package/skills/security-review/SKILL.md +115 -61
  1273. package/skills/skill/AGENTS.md +12 -6
  1274. package/skills/skill/SKILL.md +93 -49
  1275. package/skills/subagent-driven-development/AGENTS.md +12 -6
  1276. package/skills/subagent-driven-development/SKILL.md +114 -58
  1277. package/skills/swarm/AGENTS.md +12 -6
  1278. package/skills/systematic-debugging/AGENTS.md +12 -6
  1279. package/skills/systematic-debugging/CREATION-LOG.md +84 -42
  1280. package/skills/systematic-debugging/SKILL.md +128 -73
  1281. package/skills/systematic-debugging/condition-based-waiting.md +21 -11
  1282. package/skills/systematic-debugging/defense-in-depth.md +29 -13
  1283. package/skills/systematic-debugging/find-polluter.sh +0 -0
  1284. package/skills/systematic-debugging/root-cause-tracing.md +41 -18
  1285. package/skills/systematic-debugging/test-pressure-1.md +38 -19
  1286. package/skills/systematic-debugging/test-pressure-2.md +50 -25
  1287. package/skills/systematic-debugging/test-pressure-3.md +52 -26
  1288. package/skills/team/AGENTS.md +12 -6
  1289. package/skills/team/SKILL.md +139 -89
  1290. package/skills/test-driven-development/AGENTS.md +12 -6
  1291. package/skills/test-driven-development/SKILL.md +129 -67
  1292. package/skills/test-driven-development/testing-anti-patterns.md +54 -28
  1293. package/skills/trace/AGENTS.md +12 -6
  1294. package/skills/trace/SKILL.md +14 -7
  1295. package/skills/ultrapilot/AGENTS.md +12 -6
  1296. package/skills/ultrapilot/SKILL.md +98 -51
  1297. package/skills/ultraqa/AGENTS.md +12 -6
  1298. package/skills/ultraqa/SKILL.md +8 -6
  1299. package/skills/ultrawork/AGENTS.md +12 -6
  1300. package/skills/ultrawork/SKILL.md +57 -30
  1301. package/skills/using-git-worktrees/AGENTS.md +12 -6
  1302. package/skills/using-git-worktrees/SKILL.md +63 -28
  1303. package/skills/using-superpowers/AGENTS.md +12 -6
  1304. package/skills/using-superpowers/SKILL.md +13 -7
  1305. package/skills/using-superpowers/references/AGENTS.md +8 -4
  1306. package/skills/using-superpowers/references/codex-tools.md +1 -1
  1307. package/skills/verification-before-completion/AGENTS.md +12 -6
  1308. package/skills/verification-before-completion/SKILL.md +54 -29
  1309. package/skills/wizard/AGENTS.md +12 -6
  1310. package/skills/wizard/SKILL.md +27 -15
  1311. package/skills/writer-memory/AGENTS.md +12 -6
  1312. package/skills/writer-memory/SKILL.md +73 -42
  1313. package/skills/writer-memory/lib/AGENTS.md +8 -4
  1314. package/skills/writer-memory/templates/AGENTS.md +10 -5
  1315. package/skills/writing-plans/AGENTS.md +12 -6
  1316. package/skills/writing-plans/SKILL.md +57 -28
  1317. package/skills/writing-plans/plan-document-reviewer-prompt.md +1 -1
  1318. package/skills/writing-skills/AGENTS.md +12 -6
  1319. package/skills/writing-skills/SKILL.md +301 -134
  1320. package/skills/writing-skills/anthropic-best-practices.md +155 -37
  1321. package/skills/writing-skills/examples/AGENTS.md +8 -4
  1322. package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +37 -15
  1323. package/skills/writing-skills/graphviz-conventions.dot +171 -171
  1324. package/skills/writing-skills/persuasion-principles.md +124 -59
  1325. package/skills/writing-skills/render-graphs.js +0 -0
  1326. package/skills/writing-skills/testing-skills-with-subagents.md +119 -62
  1327. package/templates/AGENTS.md +12 -8
  1328. package/templates/axiom/AGENTS.md +7 -4
  1329. package/templates/axiom/dag-analysis.md +1 -1
  1330. package/templates/axiom/scripts/AGENTS.md +6 -3
  1331. package/templates/axiom/scripts/Check-Memory.ps1 +68 -68
  1332. package/templates/axiom/scripts/Poll-Memory.ps1 +36 -36
  1333. package/templates/axiom/scripts/README.md +7 -4
  1334. package/templates/axiom/scripts/Watch-Memory.ps1 +149 -149
  1335. package/templates/axiom/scripts/agent-runner.ps1 +101 -101
  1336. package/templates/axiom/scripts/start-reviews.ps1 +19 -19
  1337. package/templates/axiom/task-execution.md +10 -6
  1338. package/templates/hooks/AGENTS.md +9 -5
  1339. package/templates/hooks/lib/AGENTS.md +4 -2
  1340. package/templates/rules/AGENTS.md +8 -4
  1341. package/templates/rules/README.md +5 -1
  1342. package/templates/rules/axiom-gatekeepers.md +26 -16
  1343. package/templates/rules/axiom-provider-router.md +12 -7
  1344. package/templates/rules/axiom-router.md +8 -5
  1345. package/templates/rules/coding-style.md +30 -15
  1346. package/templates/rules/git-workflow.md +13 -7
  1347. package/templates/rules/performance.md +38 -19
  1348. package/templates/rules/security.md +24 -12
  1349. package/templates/rules/testing.md +25 -13
  1350. package/templates/tasks/README.md +15 -4
  1351. package/templates/tasks/bug-fix.md +48 -24
  1352. package/templates/tasks/code-review.md +46 -23
  1353. package/templates/tasks/feature-development.md +56 -28
  1354. package/templates/tasks/refactoring.md +48 -24
  1355. package/templates/tasks/security-audit.md +48 -24
@@ -5,13 +5,20 @@
5
5
  ## 背景
6
6
 
7
7
  Phase 1(被动学习 MVP)已完成并合并到 main。它建立了:
8
- - Skill 文件发现、解析、匹配、注入基础设施
9
- - 基于触发词的被动注入(用户消息 → 匹配 → 注入上下文)
10
- - 模式检测(`auto-learner.ts`):问题-解决方案对,置信度评分
11
- - 自动调用决策(`auto-invoke.ts`):置信度阈值、冷却时间
12
- - 使用指标追踪(`usage-tracker.ts`)
13
- - 会话结束自动反思(`session-reflector.ts`)
14
- - 进化引擎编排(`orchestrator.ts`)
8
+
9
+ * Skill 文件发现、解析、匹配、注入基础设施
10
+
11
+ * 基于触发词的被动注入(用户消息 → 匹配 → 注入上下文)
12
+
13
+ * 模式检测(`auto-learner.ts`):问题-解决方案对,置信度评分
14
+
15
+ * 自动调用决策(`auto-invoke.ts`):置信度阈值、冷却时间
16
+
17
+ * 使用指标追踪(`usage-tracker.ts`)
18
+
19
+ * 会话结束自动反思(`session-reflector.ts`)
20
+
21
+ * 进化引擎编排(`orchestrator.ts`)
15
22
 
16
23
  **Phase 1 的核心局限:**
17
24
  1. 没有用户反馈回路——skill 注入后不知道是否有用
@@ -115,14 +122,20 @@ function parseFeedbackFromMessage(message: string): FeedbackResponse | null;
115
122
  ```
116
123
 
117
124
  **`storage.ts`**
118
- - 存储路径:`.omc/axiom/evolution/skill_feedback.json`
119
- - 结构:`{ skillId: { ratings: [], averageScore: number, lastUpdated: string } }`
120
- - 使用 `atomicWriteJson` 防止并发写入
125
+
126
+ * 存储路径:`.omc/axiom/evolution/skill_feedback.json`
127
+
128
+ * 结构:`{ skillId: { ratings: [], averageScore: number, lastUpdated: string } }`
129
+
130
+ * 使用 `atomicWriteJson` 防止并发写入
121
131
 
122
132
  **触发时机:**
123
- - 注入 skill 后的第 2-3 条消息(给用户时间使用 skill)
124
- - 每个 skill 每会话最多请求一次反馈
125
- - 置信度 > 80% 的 skill 才请求反馈(避免噪音)
133
+
134
+ * 注入 skill 后的第 2-3 条消息(给用户时间使用 skill
135
+
136
+ * 每个 skill 每会话最多请求一次反馈
137
+
138
+ * 置信度 > 80% 的 skill 才请求反馈(避免噪音)
126
139
 
127
140
  ---
128
141
 
@@ -133,9 +146,12 @@ function parseFeedbackFromMessage(message: string): FeedbackResponse | null;
133
146
  **`adoption-detector.ts`**
134
147
 
135
148
  检测信号:
136
- - **代码模式匹配**:助手响应中是否出现 skill 建议的代码模式
137
- - **行为关键词**:响应中是否包含 skill 中的关键术语
138
- - **问题解决**:用户后续消息是否表明问题已解决("谢谢"、"成功了"、"works")
149
+
150
+ * **代码模式匹配**:助手响应中是否出现 skill 建议的代码模式
151
+
152
+ * **行为关键词**:响应中是否包含 skill 中的关键术语
153
+
154
+ * **问题解决**:用户后续消息是否表明问题已解决("谢谢"、"成功了"、"works")
139
155
 
140
156
  ```typescript
141
157
  interface AdoptionSignal {
@@ -159,9 +175,12 @@ function detectAdoption(
159
175
  ```
160
176
 
161
177
  **`tracker.ts`**
162
- - 维护会话内的 skill 注入记录
163
- - 在每条助手响应后检测采纳信号
164
- - 将采纳结果写入 `usage_metrics.json`(扩展 Phase 1 的 `UsageMetrics`)
178
+
179
+ * 维护会话内的 skill 注入记录
180
+
181
+ * 在每条助手响应后检测采纳信号
182
+
183
+ * 将采纳结果写入 `usage_metrics.json`(扩展 Phase 1 的 `UsageMetrics`)
165
184
 
166
185
  ---
167
186
 
@@ -235,9 +254,12 @@ function parseRecommendationResponse(message: string): {
235
254
  **`improver.ts`** — Skill 内容改进
236
255
 
237
256
  改进策略:
238
- - **触发词优化**:基于实际触发场景,添加/删除触发词
239
- - **内容精炼**:基于采纳模式,突出最有效的部分
240
- - **示例更新**:用实际使用案例替换通用示例
257
+
258
+ * **触发词优化**:基于实际触发场景,添加/删除触发词
259
+
260
+ * **内容精炼**:基于采纳模式,突出最有效的部分
261
+
262
+ * **示例更新**:用实际使用案例替换通用示例
241
263
 
242
264
  ```typescript
243
265
  interface ImprovementSuggestion {
@@ -288,17 +310,24 @@ function insightsToImprovements(insights: AggregatedInsight[]): ImprovementSugge
288
310
  ### Hook 集成
289
311
 
290
312
  **`UserPromptSubmit` hook(`skill-injector.mjs`)**
291
- - 现有:触发词匹配 → 被动注入
292
- - 新增:检查是否有待推荐的 skill 附加推荐消息
313
+
314
+ * 现有:触发词匹配被动注入
315
+
316
+ * 新增:检查是否有待推荐的 skill → 附加推荐消息
293
317
 
294
318
  **`PostToolUse` hook(新增 `skill-feedback.mjs`)**
295
- - 在助手响应后触发
296
- - 运行采纳检测
297
- - 判断是否需要请求反馈
319
+
320
+ * 在助手响应后触发
321
+
322
+ * 运行采纳检测
323
+
324
+ * 判断是否需要请求反馈
298
325
 
299
326
  **`SessionEnd` hook(`session-reflector.ts`)**
300
- - 现有:触发 Axiom 反思
301
- - 新增:运行跨会话聚合,生成改进建议
327
+
328
+ * 现有:触发 Axiom 反思
329
+
330
+ * 新增:运行跨会话聚合,生成改进建议
302
331
 
303
332
  ### 配置扩展(`.omc-config.json`)
304
333
 
@@ -337,26 +366,29 @@ function insightsToImprovements(insights: AggregatedInsight[]): ImprovementSugge
337
366
  ## 实现优先级
338
367
 
339
368
  ### P0(核心功能,必须实现)
369
+
340
370
  1. **反馈收集**(`feedback/collector.ts` + `storage.ts`)
341
371
  2. **主动推荐引擎**(`recommender/engine.ts` + `timing.ts`)
342
372
  3. **Hook 集成**(扩展 `skill-injector.mjs`,新增 `skill-feedback.mjs`)
343
373
 
344
374
  ### P1(重要功能)
345
- 4. **采纳检测**(`effectiveness/adoption-detector.ts`)
346
- 5. **触发词优化**(`quality/improver.ts` 的触发词部分)
347
- 6. **配置扩展**(`config.ts` 扩展)
375
+
376
+ 1. **采纳检测**(`effectiveness/adoption-detector.ts`)
377
+ 2. **触发词优化**(`quality/improver.ts` 的触发词部分)
378
+ 3. **配置扩展**(`config.ts` 扩展)
348
379
 
349
380
  ### P2(增强功能)
350
- 7. **跨会话聚合**(`quality/aggregator.ts`)
351
- 8. **内容精炼**(`quality/improver.ts` 的内容部分)
352
- 9. **效果仪表盘**(`/ultrapower:learner` skill 扩展)
381
+
382
+ 1. **跨会话聚合**(`quality/aggregator.ts`)
383
+ 2. **内容精炼**(`quality/improver.ts` 的内容部分)
384
+ 3. **效果仪表盘**(`/ultrapower:learner` skill 扩展)
353
385
 
354
386
  ---
355
387
 
356
388
  ## 风险与约束
357
389
 
358
390
  | 风险 | 影响 | 缓解策略 |
359
- |------|------|---------|
391
+ | ------ | ------ | --------- |
360
392
  | 反馈请求打扰用户 | 高 | 严格冷却时间 + 每会话上限 |
361
393
  | 采纳检测误报 | 中 | 多信号 AND 逻辑,高置信度阈值 |
362
394
  | 自动改进破坏 skill | 高 | 默认关闭自动改进,需用户确认 |
@@ -367,11 +399,18 @@ function insightsToImprovements(insights: AggregatedInsight[]): ImprovementSugge
367
399
 
368
400
  ## 验收标准
369
401
 
370
- - [ ] 用户注入 skill 后,系统能在适当时机请求反馈
371
- - [ ] 反馈数据正确持久化到 `skill_feedback.json`
372
- - [ ] 系统能检测到 skill 被采纳的信号(≥ 70% 准确率)
373
- - [ ] 当模式置信度 ≥ 70 且出现 ≥ 2 次时,系统主动推荐保存 skill
374
- - [ ] 用户确认后,推荐的 skill 正确保存到 `.omc/skills/`
375
- - [ ] 所有新功能可通过配置独立开关
376
- - [ ] 新增代码通过 `npm test` `tsc --noEmit`
377
- - [ ] 不破坏 Phase 1 的任何现有功能
402
+ * [ ] 用户注入 skill 后,系统能在适当时机请求反馈
403
+
404
+ * [ ] 反馈数据正确持久化到 `skill_feedback.json`
405
+
406
+ * [ ] 系统能检测到 skill 被采纳的信号(≥ 70% 准确率)
407
+
408
+ * [ ] 当模式置信度 70 且出现 2 次时,系统主动推荐保存 skill
409
+
410
+ * [ ] 用户确认后,推荐的 skill 正确保存到 `.omc/skills/`
411
+
412
+ * [ ] 所有新功能可通过配置独立开关
413
+
414
+ * [ ] 新增代码通过 `npm test` 和 `tsc --noEmit`
415
+
416
+ * [ ] 不破坏 Phase 1 的任何现有功能
@@ -11,15 +11,22 @@
11
11
  ### 问题陈述
12
12
 
13
13
  当前 ultrapower 发布流程依赖手动执行 `skills/release/SKILL.md` 中的步骤:
14
- - 手动更新版本号(多个文件)
15
- - 手动运行 `npm publish`
16
- - 手动创建 GitHub Release
17
- - 手动更新 `marketplace.json`
14
+
15
+ * 手动更新版本号(多个文件)
16
+
17
+ * 手动运行 `npm publish`
18
+
19
+ * 手动创建 GitHub Release
20
+
21
+ * 手动更新 `marketplace.json`
18
22
 
19
23
  这导致:
20
- - 发布步骤容易遗漏(如 REFERENCE.md 双重数量声明 — k-047)
21
- - 发布者机器环境依赖(NPM_TOKEN 本地配置)
22
- - 无法并行执行独立步骤
24
+
25
+ * 发布步骤容易遗漏(如 REFERENCE.md 双重数量声明 — k-047)
26
+
27
+ * 发布者机器环境依赖(NPM_TOKEN 本地配置)
28
+
29
+ * 无法并行执行独立步骤
23
30
 
24
31
  ### 目标
25
32
 
@@ -52,7 +59,7 @@
52
59
  ### 文件变更清单
53
60
 
54
61
  | 操作 | 文件 | 说明 |
55
- |------|------|------|
62
+ | ------ | ------ | ------ |
56
63
  | 新增 | `.github/workflows/release.yml` | GitHub Actions 主流程 |
57
64
  | 新增 | `scripts/release-steps.mjs` | 共享核心逻辑 |
58
65
  | 新增 | `scripts/release-local.mjs` | 本地执行入口 |
@@ -112,9 +119,11 @@ export async function runReleasePipeline(opts = {})
112
119
 
113
120
  ### 错误处理原则
114
121
 
115
- - 每步失败输出明确错误信息(步骤名 + 错误内容 + 建议操作)
116
- - 支持 `--start-from` 从失败步骤重试(跳过已完成步骤)
117
- - dry-run 模式:打印将执行的命令,不实际执行
122
+ * 每步失败输出明确错误信息(步骤名 + 错误内容 + 建议操作)
123
+
124
+ * 支持 `--start-from` 从失败步骤重试(跳过已完成步骤)
125
+
126
+ * dry-run 模式:打印将执行的命令,不实际执行
118
127
 
119
128
  ---
120
129
 
@@ -140,14 +149,16 @@ build-test
140
149
  └── marketplace-sync
141
150
  ```
142
151
 
143
- - `build-test` → `publish`:串行(确保验证通过才发布)
144
- - `publish` → `github-release`:串行(确保 npm 包存在才创建 Release)
145
- - `publish` → `marketplace-sync`:并行(与 github-release 独立)
152
+ * `build-test` → `publish`:串行(确保验证通过才发布)
153
+
154
+ * `publish` → `github-release`:串行(确保 npm 包存在才创建 Release)
155
+
156
+ * `publish` → `marketplace-sync`:并行(与 github-release 独立)
146
157
 
147
158
  ### Secrets 需求
148
159
 
149
160
  | Secret | 用途 | 配置位置 |
150
- |--------|------|---------|
161
+ | -------- | ------ | --------- |
151
162
  | `NPM_TOKEN` | npm publish 权限 | GitHub repo Settings → Secrets |
152
163
  | `GITHUB_TOKEN` | GitHub Release 创建 | Actions 内置,无需手动配置 |
153
164
 
@@ -174,7 +185,7 @@ jobs:
174
185
  - uses: actions/setup-node@v4
175
186
  with:
176
187
  node-version: '20'
177
- registry-url: 'https://registry.npmjs.org'
188
+ registry-url: '<https://registry.npmjs.org'>
178
189
  - run: npm ci
179
190
  - run: node scripts/release-steps.mjs publish
180
191
  env:
@@ -232,7 +243,7 @@ jobs:
232
243
  ## 6. 与现有 Release Skill 的分工
233
244
 
234
245
  | 步骤 | 负责方 | 工具 |
235
- |------|--------|------|
246
+ | ------ | -------- | ------ |
236
247
  | 版本号更新(package.json、CHANGELOG、文档) | release skill(手动) | 编辑文件 |
237
248
  | git commit + tag + push | release skill(手动) | git |
238
249
  | npm publish | **GitHub Actions(自动)** | release-steps.mjs |
@@ -247,7 +258,7 @@ jobs:
247
258
  ## 7. 测试策略
248
259
 
249
260
  | 测试类型 | 覆盖内容 |
250
- |---------|---------|
261
+ | --------- | --------- |
251
262
  | 单元测试 | `release-steps.mjs` 各函数(mock exec) |
252
263
  | dry-run 测试 | 验证 dry-run 模式不执行实际命令 |
253
264
  | 集成测试 | GitHub Actions workflow 语法验证(`actionlint`) |
@@ -258,7 +269,7 @@ jobs:
258
269
  ## 8. 风险与缓解
259
270
 
260
271
  | 风险 | 缓解措施 |
261
- |------|---------|
272
+ | ------ | --------- |
262
273
  | NPM_TOKEN 过期 | CI 失败时发邮件通知,本地脚本作为备用 |
263
274
  | marketplace-sync 提交冲突 | 使用 `git pull --rebase` 后再 push |
264
275
  | 版本号不一致 | validateBuild 步骤检查 package.json vs git tag 一致性 |
@@ -13,7 +13,8 @@
13
13
  ### Task 1: 创建共享核心 `scripts/release-steps.mjs`
14
14
 
15
15
  **Files:**
16
- - Create: `scripts/release-steps.mjs`
16
+
17
+ * Create: `scripts/release-steps.mjs`
17
18
 
18
19
  **Step 1: 写失败测试**
19
20
 
@@ -115,11 +116,11 @@ export async function publishNpm(opts = {}) {
115
116
 
116
117
  export async function createGithubRelease(opts = {}) {
117
118
  const { version, notes = '', dryRun = false } = opts;
118
- const v = version || getVersion();
119
+ const v = version | | getVersion();
119
120
  try {
120
121
  const notesFlag = notes ? `--notes "${notes}"` : '--generate-notes';
121
122
  run(`gh release create v${v} ${notesFlag}`, dryRun);
122
- return { success: true, url: `https://github.com/liangjie559567/ultrapower/releases/tag/v${v}` };
123
+ return { success: true, url: `<https://github.com/liangjie559567/ultrapower/releases/tag/v${v}`> };
123
124
  } catch (err) {
124
125
  return { success: false, url: '', output: err.message };
125
126
  }
@@ -127,7 +128,7 @@ export async function createGithubRelease(opts = {}) {
127
128
 
128
129
  export async function syncMarketplace(opts = {}) {
129
130
  const { version, dryRun = false } = opts;
130
- const v = version || getVersion();
131
+ const v = version | | getVersion();
131
132
  try {
132
133
  // marketplace.json version 字段由 release skill 手动更新,此步骤负责 git commit + push
133
134
  run(`git add .claude-plugin/marketplace.json`, dryRun);
@@ -149,7 +150,7 @@ export async function runReleasePipeline(opts = {}) {
149
150
  process.exit(1);
150
151
  }
151
152
 
152
- const v = version || getVersion();
153
+ const v = version | | getVersion();
153
154
 
154
155
  if (startIdx <= 0) {
155
156
  console.log('Step 1/4: validateBuild...');
@@ -199,8 +200,10 @@ git commit -m "feat(release): add shared release-steps.mjs core with dry-run sup
199
200
  ### Task 2: 创建本地入口 `scripts/release-local.mjs`
200
201
 
201
202
  **Files:**
202
- - Create: `scripts/release-local.mjs`
203
- - Modify: `package.json` (scripts 字段)
203
+
204
+ * Create: `scripts/release-local.mjs`
205
+
206
+ * Modify: `package.json` (scripts 字段)
204
207
 
205
208
  **Step 1: 写失败测试**
206
209
 
@@ -303,7 +306,8 @@ git commit -m "feat(release): add release-local.mjs entry point and package.json
303
306
  ### Task 3: 创建 GitHub Actions Workflow
304
307
 
305
308
  **Files:**
306
- - Create: `.github/workflows/release.yml`
309
+
310
+ * Create: `.github/workflows/release.yml`
307
311
 
308
312
  **Step 1: 写 workflow 语法验证测试**
309
313
 
@@ -343,7 +347,7 @@ jobs:
343
347
  - uses: actions/setup-node@v4
344
348
  with:
345
349
  node-version: '20'
346
- registry-url: 'https://registry.npmjs.org'
350
+ registry-url: '<https://registry.npmjs.org'>
347
351
  cache: 'npm'
348
352
  - run: npm ci
349
353
  - run: node scripts/release-steps.mjs publish
@@ -384,7 +388,7 @@ jobs:
384
388
  const cliStep = process.argv[2];
385
389
  if (cliStep && ['validate', 'publish', 'release', 'sync'].includes(cliStep)) {
386
390
  const dryRun = process.argv.includes('--dry-run');
387
- const version = process.env.GITHUB_REF_NAME?.replace(/^v/, '') || undefined;
391
+ const version = process.env.GITHUB_REF_NAME?.replace(/^v/, '') | | undefined;
388
392
  const stepMap = { validate: validateBuild, publish: publishNpm, release: createGithubRelease, sync: syncMarketplace };
389
393
  stepMap[cliStep]({ dryRun, version }).then(r => {
390
394
  if (!r.success) { console.error(`Step ${cliStep} failed`); process.exit(1); }
@@ -423,21 +427,26 @@ git commit -m "feat(ci): add GitHub Actions release workflow with 4-job dependen
423
427
  ### Task 4: 更新 `skills/release/SKILL.md`
424
428
 
425
429
  **Files:**
426
- - Modify: `skills/release/SKILL.md`
430
+
431
+ * Modify: `skills/release/SKILL.md`
427
432
 
428
433
  **Step 1: 在"发布步骤"末尾添加 CI 说明**
429
434
 
430
435
  在 `### 4. 创建并推送 Tag` 步骤之后,`### 5. 刷新本地 marketplace 缓存` 之前,插入:
431
436
 
432
437
  ```markdown
438
+
433
439
  ### 4b. GitHub Actions 自动接管(推荐)
434
440
 
435
441
  执行 `git push --tags` 后,GitHub Actions 自动接管后续步骤:
436
- - **npm 发布**(`publish` job)
437
- - **GitHub Release 创建**(`github-release` job)
438
- - **marketplace.json 版本同步**(`marketplace-sync` job)
439
442
 
440
- GitHub Actions 页面查看进度:https://github.com/liangjie559567/ultrapower/actions
443
+ * **npm 发布**(`publish` job)
444
+
445
+ * **GitHub Release 创建**(`github-release` job)
446
+
447
+ * **marketplace.json 版本同步**(`marketplace-sync` job)
448
+
449
+ 在 GitHub Actions 页面查看进度:<https://github.com/liangjie559567/ultrapower/actions>
441
450
 
442
451
  如需手动执行(紧急发布或 CI 不可用):
443
452
  ```bash
@@ -501,7 +510,9 @@ ls .github/workflows/release.yml
501
510
 
502
511
  ```bash
503
512
  git status
513
+
504
514
  # 确认无未提交变更
515
+
505
516
  ```
506
517
 
507
518
  ---
@@ -509,7 +520,7 @@ git status
509
520
  ## 任务队列
510
521
 
511
522
  | ID | 名称 | 依赖 | 并行组 | 预估 |
512
- |----|------|------|--------|------|
523
+ | ---- | ------ | ------ | -------- | ------ |
513
524
  | T1 | 创建 release-steps.mjs | 无 | G1 | 30min |
514
525
  | T2 | 创建 release-local.mjs + package.json | T1 | G2 | 20min |
515
526
  | T3 | 创建 GitHub Actions workflow | T1 | G2 | 20min |
@@ -9,8 +9,10 @@
9
9
  **Tech Stack:** Python 3.11+, pytest, aiohttp, collections.Counter, dataclasses, math, json, pathlib
10
10
 
11
11
  **Review History:**
12
- - v1: 初始计划 (T1-T12)
13
- - v2: Architect + Critic 两轮评审,融合 6 项强制修正
12
+
13
+ * v1: 初始计划 (T1-T12)
14
+
15
+ * v2: 经 Architect + Critic 两轮评审,融合 6 项强制修正
14
16
 
15
17
  ---
16
18
 
@@ -32,7 +34,7 @@
32
34
  ### P0 — 数据基础层(纯 Python,无 LLM 依赖)
33
35
 
34
36
  | ID | Name | Dependencies | Parallel Group | Estimated |
35
- |----|------|-------------|----------------|-----------|
37
+ | ---- | ------ | ------------- | ---------------- | ----------- |
36
38
  | T1 | Multi-dim pattern detection (evolution_engine.py) | none | G1 | 2-3h |
37
39
  | T2 | 6-dim health evaluation (self_evaluator.py) | none | G1 | 3h |
38
40
  | T4 | Anomaly detection — Strategy pattern (anomaly_detector.py) | T2 | G2 | 2h |
@@ -42,7 +44,7 @@
42
44
  ### P1 — LLM + 语义能力
43
45
 
44
46
  | ID | Name | Dependencies | Parallel Group | Estimated |
45
- |----|------|-------------|----------------|-----------|
47
+ | ---- | ------ | ------------- | ---------------- | ----------- |
46
48
  | T7 | LLM self-reflection Reflexion framework (consciousness_loop.py) | T6 | G5 | 3-4h |
47
49
  | T8 | Knowledge graph — chromadb + networkx (knowledge_graph.py) | T6 | G5 | 4-5h |
48
50
  | T17 | Cross-agent experience propagation (experience_sharing.py) | T8 | G5 | 2-3h |
@@ -50,7 +52,7 @@
50
52
  ### P2 — 安全沙箱 + 强化学习
51
53
 
52
54
  | ID | Name | Dependencies | Parallel Group | Estimated |
53
- |----|------|-------------|----------------|-----------|
55
+ | ---- | ------ | ------------- | ---------------- | ----------- |
54
56
  | T9 | Sandbox + canary release (self_modifier.py) | T6 | G6 | 3-4h |
55
57
  | T15 | Code health scorer — radon MI + complexity (code_health_scorer.py) | T2 | G6 | 2h |
56
58
  | T14 | Bottleneck analyzer (bottleneck_analyzer.py) | T6 | G6 | 2h |
@@ -58,7 +60,7 @@
58
60
  ### P3 — 集成 + 可视化
59
61
 
60
62
  | ID | Name | Dependencies | Parallel Group | Estimated |
61
- |----|------|-------------|----------------|-----------|
63
+ | ---- | ------ | ------------- | ---------------- | ----------- |
62
64
  | T10 | RL feedback loop (prompt_optimizer.py) | T7, T9 | G7 | 3-4h |
63
65
  | T11 | 4-layer memory model (memory_model.py) | T8 | G7 | 3-4h |
64
66
  | T12 | Final integration + CI Gate | T1-T11 | G8 | 1h |
@@ -71,8 +73,10 @@
71
73
  ### Task 1: Multi-dimensional Pattern Detection (evolution_engine.py)
72
74
 
73
75
  **Files:**
74
- - Modify: `nexus-daemon/evolution_engine.py`
75
- - Test: `nexus-daemon/tests/test_evolution_engine.py`
76
+
77
+ * Modify: `nexus-daemon/evolution_engine.py`
78
+
79
+ * Test: `nexus-daemon/tests/test_evolution_engine.py`
76
80
 
77
81
  **Context:** 当前 `detect_patterns()` 只检测 `mode_usage` 一个维度。扩展为 5 个维度:mode_usage、tool_sequence、agent_cooccurrence、error_pattern、skill_chain。
78
82
 
@@ -83,8 +87,10 @@
83
87
  ### Task 2: Six-Dimension Health Evaluation (self_evaluator.py)
84
88
 
85
89
  **Files:**
86
- - Modify: `nexus-daemon/self_evaluator.py`
87
- - Test: `nexus-daemon/tests/test_self_evaluator.py`
90
+
91
+ * Modify: `nexus-daemon/self_evaluator.py`
92
+
93
+ * Test: `nexus-daemon/tests/test_self_evaluator.py`
88
94
 
89
95
  **Context:** 当前 `SelfEvaluator` 只做 skill 触发计数和僵尸检测。扩展为 6 维健康评估。
90
96
 
@@ -106,8 +112,10 @@ class SelfEvaluator:
106
112
  ### Task 4: Anomaly Detection — Strategy Pattern (anomaly_detector.py)
107
113
 
108
114
  **Files:**
109
- - Create: `nexus-daemon/anomaly_detector.py`
110
- - Test: `nexus-daemon/tests/test_anomaly_detector.py`
115
+
116
+ * Create: `nexus-daemon/anomaly_detector.py`
117
+
118
+ * Test: `nexus-daemon/tests/test_anomaly_detector.py`
111
119
 
112
120
  **强制约束 — Strategy 模式接口:**
113
121
  ```python
@@ -127,8 +135,10 @@ P0 仅实现 ZScoreDetector。IQR 和 EWMA 留给后续迭代。
127
135
  ### Task 5: Recommendation Engine + Thompson Sampling (recommendation_engine.py)
128
136
 
129
137
  **Files:**
130
- - Create: `nexus-daemon/recommendation_engine.py`
131
- - Test: `nexus-daemon/tests/test_recommendation_engine.py`
138
+
139
+ * Create: `nexus-daemon/recommendation_engine.py`
140
+
141
+ * Test: `nexus-daemon/tests/test_recommendation_engine.py`
132
142
 
133
143
  **Context:** 基于使用模式推荐最优 agent/skill 组合。合并原 T5 和 T16,使用 Thompson Sampling (`θ ~ Beta(α_success, β_failure)`) 实现探索-利用平衡。
134
144
 
@@ -137,9 +147,12 @@ P0 仅实现 ZScoreDetector。IQR 和 EWMA 留给后续迭代。
137
147
  ### Task 6: Daemon Integration + God Class Refactor + Status Output
138
148
 
139
149
  **Files:**
140
- - Modify: `nexus-daemon/daemon.py`
141
- - Create: `nexus-daemon/module_registry.py`
142
- - Test: `nexus-daemon/tests/test_daemon.py`
150
+
151
+ * Modify: `nexus-daemon/daemon.py`
152
+
153
+ * Create: `nexus-daemon/module_registry.py`
154
+
155
+ * Test: `nexus-daemon/tests/test_daemon.py`
143
156
 
144
157
  **强制约束:**
145
158
  1. **God Class 拆分**: NexusDaemon 拆为 GitSync、EventProcessor、ImprovementManager、HealthReporter + ModuleRegistry 协调