@liangjie559567/ultrapower 5.6.6 → 5.6.8

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 (1312) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/LICENSE +21 -21
  4. package/README.es.md +81 -40
  5. package/README.ja.md +82 -41
  6. package/README.ko.md +81 -40
  7. package/README.md +98 -56
  8. package/README.pt.md +74 -39
  9. package/README.vi.md +74 -39
  10. package/README.zh.md +82 -41
  11. package/agents/AGENTS.md +24 -12
  12. package/agents/analyst.md +15 -7
  13. package/agents/architect.md +37 -18
  14. package/agents/axiom-context-manager.md +1 -1
  15. package/agents/axiom-critic.md +27 -13
  16. package/agents/axiom-domain-expert.md +25 -12
  17. package/agents/axiom-evolution-engine.md +2 -2
  18. package/agents/axiom-product-director.md +31 -15
  19. package/agents/axiom-sub-prd-writer.md +37 -16
  20. package/agents/axiom-tech-lead.md +35 -17
  21. package/agents/axiom-ux-director.md +27 -13
  22. package/agents/code-reviewer.md +5 -5
  23. package/agents/critic.md +17 -8
  24. package/agents/dependency-expert.md +2 -2
  25. package/agents/document-specialist.md +1 -1
  26. package/agents/information-architect.md +129 -60
  27. package/agents/planner.md +1 -1
  28. package/agents/product-analyst.md +137 -66
  29. package/agents/product-manager.md +180 -80
  30. package/agents/quality-strategist.md +123 -56
  31. package/agents/ux-researcher.md +151 -66
  32. package/agents/writer.md +10 -2
  33. package/bridge/AGENTS.md +26 -13
  34. package/bridge/codex-server.cjs +2 -2
  35. package/bridge/gemini-server.cjs +1 -1
  36. package/bridge/gyoshu_bridge.py +846 -846
  37. package/commands/AGENTS.md +16 -8
  38. package/commands/ccg-workflow.md +8 -4
  39. package/dist/mcp/adapters/memory-adapter.d.ts +1 -1
  40. package/dist/mcp/adapters/state-adapter.d.ts +6 -6
  41. package/dist/mcp/adapters/trace-adapter.d.ts +2 -2
  42. package/dist/mcp/config/schema.d.ts +3 -3
  43. package/dist/mcp/config-schema.d.ts +3 -3
  44. package/docs/AGENTS.md +19 -10
  45. package/docs/ANALYTICS-SYSTEM.md +57 -26
  46. package/docs/ARCHITECTURE.md +42 -29
  47. package/docs/AXIOM.md +117 -32
  48. package/docs/CJK-IME-KNOWN-ISSUES.md +67 -32
  49. package/docs/CLAUDE.md +288 -144
  50. package/docs/COMPATIBILITY.md +142 -81
  51. package/docs/DELEGATION-ENFORCER.md +27 -16
  52. package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +25 -16
  53. package/docs/EVOLUTION.md +132 -62
  54. package/docs/FAQ.md +104 -45
  55. package/docs/FEATURES.md +122 -71
  56. package/docs/INSTALL.md +105 -35
  57. package/docs/INSTALL_FIX_SUMMARY.md +45 -23
  58. package/docs/INSTALL_FIX_VERIFICATION.md +7 -1
  59. package/docs/INSTALL_VERIFICATION_REPORT.md +31 -16
  60. package/docs/KNOWN_ISSUES.md +24 -7
  61. package/docs/LOCAL_INSTALL_VERIFICATION.md +44 -15
  62. package/docs/LOCAL_PLUGIN_INSTALL.md +27 -6
  63. package/docs/LOCAL_TEST_INSTALL_REPORT.md +10 -4
  64. package/docs/MAIN_DOCS_UPDATE_REPORT.md +26 -13
  65. package/docs/MIGRATION.md +340 -168
  66. package/docs/MIGRATION_GUIDE_v5.5.18.md +26 -10
  67. package/docs/NEXUS.md +79 -43
  68. package/docs/OMC-CLAUDE.md +274 -137
  69. package/docs/PERFORMANCE-MONITORING.md +73 -35
  70. package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +23 -8
  71. package/docs/QUICKSTART.md +10 -7
  72. package/docs/README.codex.md +17 -12
  73. package/docs/README.md +63 -29
  74. package/docs/README.opencode.md +66 -24
  75. package/docs/REFERENCE.md +182 -104
  76. package/docs/RELEASE.md +21 -11
  77. package/docs/RELEASE_GUIDE.md +71 -23
  78. package/docs/RELEASE_NOTES_v5.5.14.md +47 -24
  79. package/docs/RELEASE_RECOVERY.md +24 -8
  80. package/docs/RELEASE_SUMMARY_v5.5.18.md +44 -24
  81. package/docs/SYNC-SYSTEM.md +74 -35
  82. package/docs/TIERED_AGENTS_V2.md +203 -106
  83. package/docs/TUTORIAL.md +49 -18
  84. package/docs/UPGRADE_VERIFICATION.md +73 -17
  85. package/docs/UPGRADE_VERIFICATION_REPORT.md +25 -9
  86. package/docs/USER_GUIDE.md +337 -107
  87. package/docs/VALIDATION_REPORT.md +138 -68
  88. package/docs/VERIFICATION_SUMMARY.md +46 -25
  89. package/docs/adr/001-worker-state-adapter.md +96 -50
  90. package/docs/adr/002-caching-strategy.md +46 -25
  91. package/docs/adr/003-gradual-migration.md +113 -56
  92. package/docs/adr/template.md +47 -23
  93. package/docs/agent-templates/AGENTS.md +10 -5
  94. package/docs/agent-templates/README.md +54 -29
  95. package/docs/agent-templates/base-agent.md +49 -23
  96. package/docs/agent-templates/tier-instructions.md +51 -25
  97. package/docs/api/assets/highlight.css +85 -85
  98. package/docs/api/assets/style.css +1633 -1633
  99. package/docs/api/classes/ContextCollector.html +21 -21
  100. package/docs/api/functions/activateUltrawork.html +2 -2
  101. package/docs/api/functions/addCustomNote.html +5 -5
  102. package/docs/api/functions/addDirective.html +2 -2
  103. package/docs/api/functions/addManualEntry.html +2 -2
  104. package/docs/api/functions/addPattern.html +3 -3
  105. package/docs/api/functions/addWorker.html +2 -2
  106. package/docs/api/functions/addWorkingMemoryEntry.html +2 -2
  107. package/docs/api/functions/analyzeContextUsage.html +2 -2
  108. package/docs/api/functions/appendProgress.html +2 -2
  109. package/docs/api/functions/appendSessionId.html +2 -2
  110. package/docs/api/functions/applyCommentFilters.html +3 -3
  111. package/docs/api/functions/assignFileToWorker.html +2 -2
  112. package/docs/api/functions/backgroundUpdateCheck.html +2 -2
  113. package/docs/api/functions/buildAxiomBootContext.html +1 -1
  114. package/docs/api/functions/buildBoulderContinuation.html +2 -2
  115. package/docs/api/functions/buildDelegationTable.html +2 -2
  116. package/docs/api/functions/buildKeyTriggersSection.html +2 -2
  117. package/docs/api/functions/buildOrchestratorReminder.html +2 -2
  118. package/docs/api/functions/buildUseAvoidSection.html +2 -2
  119. package/docs/api/functions/buildVerificationReminder.html +2 -2
  120. package/docs/api/functions/canResumeAutopilot.html +10 -10
  121. package/docs/api/functions/canStartMode.html +5 -5
  122. package/docs/api/functions/cancelAutopilot.html +3 -3
  123. package/docs/api/functions/cancelUltraQA.html +2 -2
  124. package/docs/api/functions/checkBackgroundNotifications.html +2 -2
  125. package/docs/api/functions/checkBoulderContinuation.html +2 -2
  126. package/docs/api/functions/checkDuplicateTriggers.html +2 -2
  127. package/docs/api/functions/checkExpertGate.html +1 -1
  128. package/docs/api/functions/checkForComments.html +2 -2
  129. package/docs/api/functions/checkForUpdates.html +2 -2
  130. package/docs/api/functions/checkIncompleteTodos.html +13 -13
  131. package/docs/api/functions/checkPersistentModes.html +3 -3
  132. package/docs/api/functions/cleanupOrphanedState.html +2 -2
  133. package/docs/api/functions/cleanupStaleAgents.html +2 -2
  134. package/docs/api/functions/cleanupTransientState.html +2 -2
  135. package/docs/api/functions/clearAgentUsageState.html +1 -1
  136. package/docs/api/functions/clearAllModeStates.html +2 -2
  137. package/docs/api/functions/clearAutopilot.html +2 -2
  138. package/docs/api/functions/clearAutopilotState.html +2 -2
  139. package/docs/api/functions/clearBeadsContext.html +2 -2
  140. package/docs/api/functions/clearBoulderState.html +2 -2
  141. package/docs/api/functions/clearDetectionState.html +2 -2
  142. package/docs/api/functions/clearInjectedPaths.html +2 -2
  143. package/docs/api/functions/clearInjectedRules.html +2 -2
  144. package/docs/api/functions/clearLinkedUltraworkState.html +2 -2
  145. package/docs/api/functions/clearModeState.html +10 -10
  146. package/docs/api/functions/clearProjectMemorySession.html +4 -4
  147. package/docs/api/functions/clearRalphState.html +2 -2
  148. package/docs/api/functions/clearRapidFireDebounce.html +2 -2
  149. package/docs/api/functions/clearSkillSession.html +2 -2
  150. package/docs/api/functions/clearThinkModeState.html +2 -2
  151. package/docs/api/functions/clearTrackingState.html +2 -2
  152. package/docs/api/functions/clearUltraQAState.html +2 -2
  153. package/docs/api/functions/clearVerificationState.html +3 -3
  154. package/docs/api/functions/commandExists.html +2 -2
  155. package/docs/api/functions/compareVersions.html +3 -3
  156. package/docs/api/functions/completeUltraQA.html +2 -2
  157. package/docs/api/functions/completeUltrapilot.html +2 -2
  158. package/docs/api/functions/completeWorker.html +2 -2
  159. package/docs/api/functions/containsTokenLimitError.html +2 -2
  160. package/docs/api/functions/createAgentToolRestrictions.html +3 -3
  161. package/docs/api/functions/createAgentUsageReminderHook.html +1 -1
  162. package/docs/api/functions/createAutoSlashCommandHook.html +7 -7
  163. package/docs/api/functions/createBackgroundNotificationHook.html +7 -7
  164. package/docs/api/functions/createBackgroundTaskManager.html +2 -2
  165. package/docs/api/functions/createBoulderState.html +2 -2
  166. package/docs/api/functions/createCommentCheckerHook.html +6 -6
  167. package/docs/api/functions/createCompactCheckpoint.html +2 -2
  168. package/docs/api/functions/createContentHash.html +2 -2
  169. package/docs/api/functions/createContextInjectorHook.html +7 -7
  170. package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -9
  171. package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -6
  172. package/docs/api/functions/createEnvContext.html +2 -2
  173. package/docs/api/functions/createHookOutput.html +4 -4
  174. package/docs/api/functions/createLearnedSkillsHook.html +6 -6
  175. package/docs/api/functions/createMagicKeywordProcessor.html +2 -2
  176. package/docs/api/functions/createModeMarker.html +6 -6
  177. package/docs/api/functions/createPrd.html +2 -2
  178. package/docs/api/functions/createPreemptiveCompactionHook.html +6 -6
  179. package/docs/api/functions/createRalphLoopHook.html +2 -2
  180. package/docs/api/functions/createRecoveryHook.html +7 -7
  181. package/docs/api/functions/createRulesInjectorHook.html +8 -8
  182. package/docs/api/functions/createSimplePrd.html +2 -2
  183. package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -7
  184. package/docs/api/functions/createSisyphusSession.html +7 -7
  185. package/docs/api/functions/createThinkModeHook.html +7 -7
  186. package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -1
  187. package/docs/api/functions/createTodoContinuationHook.html +2 -2
  188. package/docs/api/functions/createUltraworkStateHook.html +2 -2
  189. package/docs/api/functions/deactivateUltrawork.html +8 -8
  190. package/docs/api/functions/decayHotPaths.html +2 -2
  191. package/docs/api/functions/decomposeTask.html +11 -11
  192. package/docs/api/functions/deepMerge.html +2 -2
  193. package/docs/api/functions/detectArchitectApproval.html +2 -2
  194. package/docs/api/functions/detectArchitectRejection.html +2 -2
  195. package/docs/api/functions/detectContextLimitError.html +2 -2
  196. package/docs/api/functions/detectContextLimitErrorInText.html +2 -2
  197. package/docs/api/functions/detectDirectivesFromMessage.html +2 -2
  198. package/docs/api/functions/detectEditError.html +2 -2
  199. package/docs/api/functions/detectEditErrorInOutput.html +2 -2
  200. package/docs/api/functions/detectEditErrorInText.html +2 -2
  201. package/docs/api/functions/detectExtractableMoment.html +2 -2
  202. package/docs/api/functions/detectKeywordsWithType.html +11 -11
  203. package/docs/api/functions/detectMagicKeywords.html +2 -2
  204. package/docs/api/functions/detectProjectEnvironment.html +2 -2
  205. package/docs/api/functions/detectRecoverableError.html +3 -3
  206. package/docs/api/functions/detectSessionErrorType.html +2 -2
  207. package/docs/api/functions/detectSlashCommand.html +3 -3
  208. package/docs/api/functions/detectThinkKeyword.html +2 -2
  209. package/docs/api/functions/detectUltrathinkKeyword.html +2 -2
  210. package/docs/api/functions/discoverAllCommands.html +2 -2
  211. package/docs/api/functions/enablePrdMode.html +2 -2
  212. package/docs/api/functions/enhancePrompt.html +2 -2
  213. package/docs/api/functions/ensureAutopilotDir.html +2 -2
  214. package/docs/api/functions/ensureDirectoryStructure.html +2 -2
  215. package/docs/api/functions/ensureModeStateDir.html +2 -2
  216. package/docs/api/functions/ensureSkillsDir.html +2 -2
  217. package/docs/api/functions/estimateTokens.html +2 -2
  218. package/docs/api/functions/executeSlashCommand.html +2 -2
  219. package/docs/api/functions/expandCommand.html +8 -8
  220. package/docs/api/functions/expandCommandPrompt.html +6 -6
  221. package/docs/api/functions/expandCommands.html +2 -2
  222. package/docs/api/functions/exportSessionSummary.html +2 -2
  223. package/docs/api/functions/exportWisdomToNotepad.html +2 -2
  224. package/docs/api/functions/extractPromptText.html +11 -11
  225. package/docs/api/functions/extractSlashPromptText.html +2 -2
  226. package/docs/api/functions/extractThinkPromptText.html +2 -2
  227. package/docs/api/functions/failWorker.html +2 -2
  228. package/docs/api/functions/findCommand.html +2 -2
  229. package/docs/api/functions/findMatchingSkills.html +2 -2
  230. package/docs/api/functions/findPlannerPlans.html +3 -3
  231. package/docs/api/functions/findPrdPath.html +2 -2
  232. package/docs/api/functions/findPreviousThinkingContent.html +1 -1
  233. package/docs/api/functions/findProgressPath.html +2 -2
  234. package/docs/api/functions/findProjectRoot.html +3 -3
  235. package/docs/api/functions/findRecoveryEmptyMessages.html +2 -2
  236. package/docs/api/functions/findRecoveryOrphanThinking.html +2 -2
  237. package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -2
  238. package/docs/api/functions/findRuleFiles.html +4 -4
  239. package/docs/api/functions/findSkillFiles.html +3 -3
  240. package/docs/api/functions/formatCancelMessage.html +2 -2
  241. package/docs/api/functions/formatCompactSummary.html +2 -2
  242. package/docs/api/functions/formatContextSummary.html +3 -3
  243. package/docs/api/functions/formatDirectivesForContext.html +2 -2
  244. package/docs/api/functions/formatFailureSummary.html +2 -2
  245. package/docs/api/functions/formatFile.html +2 -2
  246. package/docs/api/functions/formatFileChanges.html +2 -2
  247. package/docs/api/functions/formatFileList.html +2 -2
  248. package/docs/api/functions/formatFullContext.html +2 -2
  249. package/docs/api/functions/formatFullNotepad.html +2 -2
  250. package/docs/api/functions/formatLearningsForContext.html +2 -2
  251. package/docs/api/functions/formatNextStoryPrompt.html +2 -2
  252. package/docs/api/functions/formatNotepadContext.html +2 -2
  253. package/docs/api/functions/formatPatternsForContext.html +2 -2
  254. package/docs/api/functions/formatPrd.html +2 -2
  255. package/docs/api/functions/formatPrdStatus.html +2 -2
  256. package/docs/api/functions/formatPreCompactSummary.html +2 -2
  257. package/docs/api/functions/formatProgressForContext.html +2 -2
  258. package/docs/api/functions/formatProgressMessage.html +2 -2
  259. package/docs/api/functions/formatStory.html +2 -2
  260. package/docs/api/functions/formatSummary.html +2 -2
  261. package/docs/api/functions/formatUpdateNotification.html +2 -2
  262. package/docs/api/functions/formatValidationResults.html +2 -2
  263. package/docs/api/functions/generateExtractionPrompt.html +2 -2
  264. package/docs/api/functions/generateSkillFrontmatter.html +2 -2
  265. package/docs/api/functions/generateSummary.html +2 -2
  266. package/docs/api/functions/getActiveAgentCount.html +2 -2
  267. package/docs/api/functions/getActiveExclusiveMode.html +4 -4
  268. package/docs/api/functions/getActiveModes.html +2 -2
  269. package/docs/api/functions/getActivePlanPath.html +2 -2
  270. package/docs/api/functions/getAgentDefinitions.html +2 -2
  271. package/docs/api/functions/getAgentsByType.html +2 -2
  272. package/docs/api/functions/getAllCommands.html +2 -2
  273. package/docs/api/functions/getAllModeStatuses.html +5 -5
  274. package/docs/api/functions/getAllSkills.html +2 -2
  275. package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -2
  276. package/docs/api/functions/getArchitectVerificationPrompt.html +2 -2
  277. package/docs/api/functions/getAutoFormatMessage.html +2 -2
  278. package/docs/api/functions/getAutopilotStateAge.html +3 -3
  279. package/docs/api/functions/getAvailableAgents.html +2 -2
  280. package/docs/api/functions/getAxiomDir.html +1 -1
  281. package/docs/api/functions/getBackgroundTaskGuidance.html +4 -4
  282. package/docs/api/functions/getBeadsContextConfig.html +2 -2
  283. package/docs/api/functions/getBeadsInstructions.html +2 -2
  284. package/docs/api/functions/getBoulderFilePath.html +2 -2
  285. package/docs/api/functions/getCheckpointPath.html +2 -2
  286. package/docs/api/functions/getClaudeThinkingConfig.html +3 -3
  287. package/docs/api/functions/getCommand.html +2 -2
  288. package/docs/api/functions/getCommandsDir.html +2 -2
  289. package/docs/api/functions/getCompactionQueueDepth.html +3 -3
  290. package/docs/api/functions/getCompletedWorkers.html +2 -2
  291. package/docs/api/functions/getDefaultMcpServers.html +1 -1
  292. package/docs/api/functions/getDefaultModelForCategory.html +2 -2
  293. package/docs/api/functions/getDetectionStats.html +2 -2
  294. package/docs/api/functions/getDirectPlanningPrompt.html +3 -3
  295. package/docs/api/functions/getExecutionPrompt.html +2 -2
  296. package/docs/api/functions/getExpansionPrompt.html +3 -3
  297. package/docs/api/functions/getExpertGateMessage.html +1 -1
  298. package/docs/api/functions/getFailedWorkers.html +2 -2
  299. package/docs/api/functions/getFormatter.html +2 -2
  300. package/docs/api/functions/getGitDiffStats.html +2 -2
  301. package/docs/api/functions/getGlobalStateFilePath.html +4 -4
  302. package/docs/api/functions/getGoalCommand.html +2 -2
  303. package/docs/api/functions/getHighVariant.html +3 -3
  304. package/docs/api/functions/getInstallInfo.html +2 -2
  305. package/docs/api/functions/getInstalledVersion.html +2 -2
  306. package/docs/api/functions/getIssuesToFix.html +2 -2
  307. package/docs/api/functions/getLastDetection.html +2 -2
  308. package/docs/api/functions/getLearnerConfigValue.html +2 -2
  309. package/docs/api/functions/getLinter.html +2 -2
  310. package/docs/api/functions/getManualSection.html +2 -2
  311. package/docs/api/functions/getMemoryFilePaths.html +1 -1
  312. package/docs/api/functions/getModeMarkerFilePath.html +2 -2
  313. package/docs/api/functions/getModeStateFilePath.html +2 -2
  314. package/docs/api/functions/getNextStory.html +2 -2
  315. package/docs/api/functions/getNotepadPath.html +2 -2
  316. package/docs/api/functions/getNotepadStats.html +2 -2
  317. package/docs/api/functions/getOmcPrdPath.html +2 -2
  318. package/docs/api/functions/getOmcProgressPath.html +2 -2
  319. package/docs/api/functions/getOmcSystemPrompt.html +2 -2
  320. package/docs/api/functions/getOmcToolNames.html +3 -3
  321. package/docs/api/functions/getPatterns.html +2 -2
  322. package/docs/api/functions/getPhasePrompt.html +2 -2
  323. package/docs/api/functions/getPlanName.html +2 -2
  324. package/docs/api/functions/getPlanPath.html +2 -2
  325. package/docs/api/functions/getPlanProgress.html +2 -2
  326. package/docs/api/functions/getPlanSummaries.html +2 -2
  327. package/docs/api/functions/getPrdCompletionStatus.html +2 -2
  328. package/docs/api/functions/getPrdPath.html +2 -2
  329. package/docs/api/functions/getPrdStatus.html +2 -2
  330. package/docs/api/functions/getPreCommitReminderMessage.html +2 -2
  331. package/docs/api/functions/getPriorityContext.html +2 -2
  332. package/docs/api/functions/getProgressContext.html +2 -2
  333. package/docs/api/functions/getProgressPath.html +2 -2
  334. package/docs/api/functions/getPromotionCandidates.html +2 -2
  335. package/docs/api/functions/getQAPrompt.html +2 -2
  336. package/docs/api/functions/getRalphContext.html +3 -3
  337. package/docs/api/functions/getReadmesForPath.html +2 -2
  338. package/docs/api/functions/getRecentLearnings.html +2 -2
  339. package/docs/api/functions/getRulesForPath.html +2 -2
  340. package/docs/api/functions/getRunningAgents.html +2 -2
  341. package/docs/api/functions/getRunningWorkers.html +2 -2
  342. package/docs/api/functions/getSessionTokenEstimate.html +2 -2
  343. package/docs/api/functions/getSkillsDir.html +2 -2
  344. package/docs/api/functions/getSpecPath.html +2 -2
  345. package/docs/api/functions/getStaleAgents.html +2 -2
  346. package/docs/api/functions/getStateDir.html +2 -2
  347. package/docs/api/functions/getStory.html +2 -2
  348. package/docs/api/functions/getSubagentStateFilePath.html +2 -2
  349. package/docs/api/functions/getThinkModeState.html +2 -2
  350. package/docs/api/functions/getThinkingConfig.html +3 -3
  351. package/docs/api/functions/getTopHotPaths.html +2 -2
  352. package/docs/api/functions/getTrackingStats.html +2 -2
  353. package/docs/api/functions/getTransitionPrompt.html +2 -2
  354. package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -2
  355. package/docs/api/functions/getValidationPrompt.html +2 -2
  356. package/docs/api/functions/getValidationSpawnPrompt.html +2 -2
  357. package/docs/api/functions/getValidationStats.html +1 -1
  358. package/docs/api/functions/getValidationStatus.html +2 -2
  359. package/docs/api/functions/getWorkingMemory.html +2 -2
  360. package/docs/api/functions/handleBackgroundEvent.html +3 -3
  361. package/docs/api/functions/handleContextWindowRecovery.html +2 -2
  362. package/docs/api/functions/handleEditErrorRecovery.html +2 -2
  363. package/docs/api/functions/handlePermissionRequest.html +2 -2
  364. package/docs/api/functions/handleRecovery.html +10 -10
  365. package/docs/api/functions/handleSessionEnd.html +2 -2
  366. package/docs/api/functions/handleSessionRecovery.html +2 -2
  367. package/docs/api/functions/handleSharedFiles.html +7 -7
  368. package/docs/api/functions/handleSubagentStart.html +2 -2
  369. package/docs/api/functions/handleSubagentStop.html +2 -2
  370. package/docs/api/functions/hasBoulder.html +2 -2
  371. package/docs/api/functions/hasContentParts.html +1 -1
  372. package/docs/api/functions/hasModeState.html +3 -3
  373. package/docs/api/functions/hasPrd.html +2 -2
  374. package/docs/api/functions/hasTextContent.html +2 -2
  375. package/docs/api/functions/hasValidContent.html +3 -3
  376. package/docs/api/functions/incrementAgentCount.html +2 -2
  377. package/docs/api/functions/incrementRalphIteration.html +2 -2
  378. package/docs/api/functions/incrementReinforcement.html +2 -2
  379. package/docs/api/functions/initAutopilot.html +2 -2
  380. package/docs/api/functions/initNotepad.html +2 -2
  381. package/docs/api/functions/initPrd.html +2 -2
  382. package/docs/api/functions/initProgress.html +2 -2
  383. package/docs/api/functions/initUltrapilot.html +2 -2
  384. package/docs/api/functions/injectContextIntoText.html +2 -2
  385. package/docs/api/functions/injectPendingContext.html +3 -3
  386. package/docs/api/functions/injectRecoveryTextPart.html +2 -2
  387. package/docs/api/functions/install.html +2 -2
  388. package/docs/api/functions/integrateResults.html +5 -5
  389. package/docs/api/functions/isActiveModeRunning.html +2 -2
  390. package/docs/api/functions/isAllowedPath.html +2 -2
  391. package/docs/api/functions/isAlreadyHighVariant.html +2 -2
  392. package/docs/api/functions/isAutopilotActive.html +2 -2
  393. package/docs/api/functions/isAxiomEnabled.html +1 -1
  394. package/docs/api/functions/isClaudeInstalled.html +3 -3
  395. package/docs/api/functions/isClaudeModel.html +2 -2
  396. package/docs/api/functions/isCompactionInProgress.html +3 -3
  397. package/docs/api/functions/isDuplicateByContentHash.html +2 -2
  398. package/docs/api/functions/isDuplicateByRealPath.html +2 -2
  399. package/docs/api/functions/isExcludedCommand.html +2 -2
  400. package/docs/api/functions/isExtendedThinkingModel.html +1 -1
  401. package/docs/api/functions/isFileOwnedByWorker.html +2 -2
  402. package/docs/api/functions/isFormatterAvailable.html +2 -2
  403. package/docs/api/functions/isGptModel.html +2 -2
  404. package/docs/api/functions/isInstalled.html +2 -2
  405. package/docs/api/functions/isLearnerEnabled.html +2 -2
  406. package/docs/api/functions/isModeActive.html +6 -6
  407. package/docs/api/functions/isNonInteractive.html +1 -1
  408. package/docs/api/functions/isRecoverableError.html +2 -2
  409. package/docs/api/functions/isSafeCommand.html +2 -2
  410. package/docs/api/functions/isSessionRecoverable.html +2 -2
  411. package/docs/api/functions/isSharedFile.html +2 -2
  412. package/docs/api/functions/isThinkModeActive.html +2 -2
  413. package/docs/api/functions/isToolPart.html +2 -2
  414. package/docs/api/functions/isUltraQAActive.html +1 -1
  415. package/docs/api/functions/isWriteEditTool.html +2 -2
  416. package/docs/api/functions/learnFromToolOutput.html +7 -7
  417. package/docs/api/functions/lintFile.html +2 -2
  418. package/docs/api/functions/listAvailableCommands.html +2 -2
  419. package/docs/api/functions/listCommands.html +2 -2
  420. package/docs/api/functions/listPromotableLearnings.html +2 -2
  421. package/docs/api/functions/loadAgentPrompt.html +7 -7
  422. package/docs/api/functions/loadAgentUsageState.html +1 -1
  423. package/docs/api/functions/loadAllSkills.html +3 -3
  424. package/docs/api/functions/loadConfig.html +2 -2
  425. package/docs/api/functions/loadInjectedPaths.html +2 -2
  426. package/docs/api/functions/loadInjectedRules.html +2 -2
  427. package/docs/api/functions/loadLearnerConfig.html +2 -2
  428. package/docs/api/functions/loadProjectMemory.html +3 -3
  429. package/docs/api/functions/loadSkillById.html +2 -2
  430. package/docs/api/functions/mapDirectoryStructure.html +2 -2
  431. package/docs/api/functions/markStoryComplete.html +2 -2
  432. package/docs/api/functions/markStoryIncomplete.html +2 -2
  433. package/docs/api/functions/mergeAgentConfig.html +2 -2
  434. package/docs/api/functions/parseAxiomState.html +1 -1
  435. package/docs/api/functions/parseContextLimitError.html +2 -2
  436. package/docs/api/functions/parseProgress.html +2 -2
  437. package/docs/api/functions/parseRuleFrontmatter.html +10 -10
  438. package/docs/api/functions/parseSkillFile.html +2 -2
  439. package/docs/api/functions/parseSlashCommand.html +2 -2
  440. package/docs/api/functions/parseTokenLimitError.html +2 -2
  441. package/docs/api/functions/performUpdate.html +2 -2
  442. package/docs/api/functions/prependRecoveryThinkingPart.html +2 -2
  443. package/docs/api/functions/prependThinkingBlock.html +1 -1
  444. package/docs/api/functions/processAxiomBoot.html +1 -1
  445. package/docs/api/functions/processAxiomGuards.html +1 -1
  446. package/docs/api/functions/processBackgroundNotification.html +2 -2
  447. package/docs/api/functions/processBackgroundNotificationHook.html +2 -2
  448. package/docs/api/functions/processEditOutput.html +2 -2
  449. package/docs/api/functions/processHook.html +3 -3
  450. package/docs/api/functions/processMessageForSkills.html +2 -2
  451. package/docs/api/functions/processOrchestratorPostTool.html +3 -3
  452. package/docs/api/functions/processOrchestratorPreTool.html +3 -3
  453. package/docs/api/functions/processPermissionRequest.html +2 -2
  454. package/docs/api/functions/processPreCompact.html +6 -6
  455. package/docs/api/functions/processProjectMemoryPreCompact.html +3 -3
  456. package/docs/api/functions/processResponseForDetection.html +3 -3
  457. package/docs/api/functions/processSessionEnd.html +2 -2
  458. package/docs/api/functions/processSetup.html +2 -2
  459. package/docs/api/functions/processSetupInit.html +2 -2
  460. package/docs/api/functions/processSetupMaintenance.html +2 -2
  461. package/docs/api/functions/processSlashCommand.html +2 -2
  462. package/docs/api/functions/processSubagentStart.html +2 -2
  463. package/docs/api/functions/processSubagentStop.html +2 -2
  464. package/docs/api/functions/processThinkMode.html +3 -3
  465. package/docs/api/functions/promoteLearning.html +2 -2
  466. package/docs/api/functions/pruneOldEntries.html +2 -2
  467. package/docs/api/functions/pruneOldStateFiles.html +2 -2
  468. package/docs/api/functions/readActiveContext.html +1 -1
  469. package/docs/api/functions/readAutopilotState.html +2 -2
  470. package/docs/api/functions/readBoulderState.html +2 -2
  471. package/docs/api/functions/readModeMarker.html +4 -4
  472. package/docs/api/functions/readNotepad.html +2 -2
  473. package/docs/api/functions/readPrd.html +2 -2
  474. package/docs/api/functions/readProgress.html +2 -2
  475. package/docs/api/functions/readProgressRaw.html +2 -2
  476. package/docs/api/functions/readProjectDecisions.html +1 -1
  477. package/docs/api/functions/readRalphState.html +2 -2
  478. package/docs/api/functions/readRecoveryMessages.html +2 -2
  479. package/docs/api/functions/readRecoveryParts.html +2 -2
  480. package/docs/api/functions/readTrackingState.html +3 -3
  481. package/docs/api/functions/readUltraQAState.html +2 -2
  482. package/docs/api/functions/readUltrapilotState.html +2 -2
  483. package/docs/api/functions/readUltraworkState.html +4 -4
  484. package/docs/api/functions/readUserPreferences.html +1 -1
  485. package/docs/api/functions/readVerificationState.html +3 -3
  486. package/docs/api/functions/recordArchitectFeedback.html +2 -2
  487. package/docs/api/functions/recordConflict.html +2 -2
  488. package/docs/api/functions/recordFailure.html +2 -2
  489. package/docs/api/functions/recordHookFire.html +2 -2
  490. package/docs/api/functions/recordHookResult.html +2 -2
  491. package/docs/api/functions/recordKeywordDetected.html +2 -2
  492. package/docs/api/functions/recordModeChange.html +2 -2
  493. package/docs/api/functions/recordPattern.html +2 -2
  494. package/docs/api/functions/recordSessionMetrics.html +2 -2
  495. package/docs/api/functions/recordSkillActivated.html +2 -2
  496. package/docs/api/functions/recordSkillInvoked.html +2 -2
  497. package/docs/api/functions/recordStoryProgress.html +2 -2
  498. package/docs/api/functions/recordValidationVerdict.html +2 -2
  499. package/docs/api/functions/registerBeadsContext.html +3 -3
  500. package/docs/api/functions/registerProjectMemoryContext.html +6 -6
  501. package/docs/api/functions/removeCodeBlocks.html +12 -12
  502. package/docs/api/functions/removeModeMarker.html +5 -5
  503. package/docs/api/functions/removeSlashCodeBlocks.html +2 -2
  504. package/docs/api/functions/removeThinkCodeBlocks.html +2 -2
  505. package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -2
  506. package/docs/api/functions/rescanProjectEnvironment.html +4 -4
  507. package/docs/api/functions/resetSessionTokenEstimate.html +2 -2
  508. package/docs/api/functions/resumeAutopilot.html +2 -2
  509. package/docs/api/functions/runPreCommitChecks.html +2 -2
  510. package/docs/api/functions/runTests.html +2 -2
  511. package/docs/api/functions/runTypeCheck.html +2 -2
  512. package/docs/api/functions/sanitizeMessage.html +2 -2
  513. package/docs/api/functions/sanitizeMessages.html +2 -2
  514. package/docs/api/functions/saveAgentUsageState.html +1 -1
  515. package/docs/api/functions/saveInjectedPaths.html +2 -2
  516. package/docs/api/functions/saveInjectedRules.html +2 -2
  517. package/docs/api/functions/saveLearnerConfig.html +2 -2
  518. package/docs/api/functions/saveModeSummary.html +2 -2
  519. package/docs/api/functions/saveProjectMemory.html +3 -3
  520. package/docs/api/functions/saveVersionMetadata.html +2 -2
  521. package/docs/api/functions/setCurrentStory.html +2 -2
  522. package/docs/api/functions/setEnvironmentVariables.html +2 -2
  523. package/docs/api/functions/setLearnerConfigValue.html +2 -2
  524. package/docs/api/functions/setPriorityContext.html +2 -2
  525. package/docs/api/functions/shouldActivateThinkMode.html +3 -3
  526. package/docs/api/functions/shouldActivateUltrathink.html +2 -2
  527. package/docs/api/functions/shouldApplyRule.html +2 -2
  528. package/docs/api/functions/shouldCheckForUpdates.html +2 -2
  529. package/docs/api/functions/shouldCompleteByPrd.html +2 -2
  530. package/docs/api/functions/shouldPromptExtraction.html +2 -2
  531. package/docs/api/functions/shouldReinforceUltrawork.html +2 -2
  532. package/docs/api/functions/shouldRetryValidation.html +2 -2
  533. package/docs/api/functions/shouldRunInBackground.html +8 -8
  534. package/docs/api/functions/spawnWorkers.html +7 -7
  535. package/docs/api/functions/startUltraQA.html +3 -3
  536. package/docs/api/functions/startUltrapilot.html +7 -7
  537. package/docs/api/functions/startValidationRound.html +2 -2
  538. package/docs/api/functions/startVerification.html +2 -2
  539. package/docs/api/functions/startsWithThinkingBlock.html +1 -1
  540. package/docs/api/functions/stopUltraQA.html +2 -2
  541. package/docs/api/functions/stripRecoveryThinkingParts.html +2 -2
  542. package/docs/api/functions/toSdkMcpFormat.html +2 -2
  543. package/docs/api/functions/trackAccess.html +2 -2
  544. package/docs/api/functions/trackProgress.html +5 -5
  545. package/docs/api/functions/transitionPhase.html +2 -2
  546. package/docs/api/functions/transitionRalphToUltraQA.html +9 -9
  547. package/docs/api/functions/transitionToComplete.html +2 -2
  548. package/docs/api/functions/transitionToFailed.html +2 -2
  549. package/docs/api/functions/transitionUltraQAToValidation.html +2 -2
  550. package/docs/api/functions/updateDirectoryAccess.html +2 -2
  551. package/docs/api/functions/updateExecution.html +2 -2
  552. package/docs/api/functions/updateExpansion.html +2 -2
  553. package/docs/api/functions/updatePlanning.html +2 -2
  554. package/docs/api/functions/updateQA.html +2 -2
  555. package/docs/api/functions/updateValidation.html +2 -2
  556. package/docs/api/functions/updateWorkerState.html +2 -2
  557. package/docs/api/functions/validateAgentConfig.html +2 -2
  558. package/docs/api/functions/validateCommitMessage.html +2 -2
  559. package/docs/api/functions/validateConfigFiles.html +2 -2
  560. package/docs/api/functions/validateExtractionRequest.html +2 -2
  561. package/docs/api/functions/validateMessage.html +1 -1
  562. package/docs/api/functions/validateMessages.html +1 -1
  563. package/docs/api/functions/validateSkillMetadata.html +2 -2
  564. package/docs/api/functions/writeAutopilotState.html +2 -2
  565. package/docs/api/functions/writeBoulderState.html +2 -2
  566. package/docs/api/functions/writePrd.html +2 -2
  567. package/docs/api/functions/writeRalphState.html +2 -2
  568. package/docs/api/functions/writeSkill.html +2 -2
  569. package/docs/api/functions/writeTrackingState.html +5 -5
  570. package/docs/api/functions/writeUltraQAState.html +2 -2
  571. package/docs/api/functions/writeUltrapilotState.html +2 -2
  572. package/docs/api/functions/writeUltraworkState.html +2 -2
  573. package/docs/api/functions/writeVerificationState.html +2 -2
  574. package/docs/api/hierarchy.html +1 -1
  575. package/docs/api/index.html +843 -843
  576. package/docs/api/interfaces/AgentConfig.html +18 -18
  577. package/docs/api/interfaces/AgentOverrideConfig.html +10 -10
  578. package/docs/api/interfaces/AgentPromptMetadata.html +19 -19
  579. package/docs/api/interfaces/AgentState.html +5 -5
  580. package/docs/api/interfaces/AgentUsageState.html +8 -8
  581. package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -5
  582. package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -3
  583. package/docs/api/interfaces/AutoSlashCommandResult.html +5 -5
  584. package/docs/api/interfaces/AutopilotConfig.html +26 -26
  585. package/docs/api/interfaces/AutopilotExecution.html +16 -16
  586. package/docs/api/interfaces/AutopilotExpansion.html +12 -12
  587. package/docs/api/interfaces/AutopilotPlanning.html +8 -8
  588. package/docs/api/interfaces/AutopilotQA.html +12 -12
  589. package/docs/api/interfaces/AutopilotResult.html +10 -10
  590. package/docs/api/interfaces/AutopilotState.html +36 -36
  591. package/docs/api/interfaces/AutopilotSummary.html +16 -16
  592. package/docs/api/interfaces/AutopilotValidation.html +10 -10
  593. package/docs/api/interfaces/AutopilotValidationResult.html +8 -8
  594. package/docs/api/interfaces/AvailableAgent.html +5 -5
  595. package/docs/api/interfaces/AxiomBootInput.html +3 -3
  596. package/docs/api/interfaces/AxiomBootOutput.html +4 -4
  597. package/docs/api/interfaces/AxiomGuardsInput.html +4 -4
  598. package/docs/api/interfaces/AxiomGuardsOutput.html +4 -4
  599. package/docs/api/interfaces/AxiomMemoryFiles.html +5 -5
  600. package/docs/api/interfaces/AxiomState.html +8 -8
  601. package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -11
  602. package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -8
  603. package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -8
  604. package/docs/api/interfaces/BackgroundTask.html +7 -7
  605. package/docs/api/interfaces/BackgroundTaskManager.html +26 -26
  606. package/docs/api/interfaces/BeadsContextConfig.html +4 -4
  607. package/docs/api/interfaces/BoulderState.html +12 -12
  608. package/docs/api/interfaces/BuildInfo.html +6 -6
  609. package/docs/api/interfaces/CanStartResult.html +4 -4
  610. package/docs/api/interfaces/CancelResult.html +4 -4
  611. package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -4
  612. package/docs/api/interfaces/CodeConventions.html +5 -5
  613. package/docs/api/interfaces/CodebasePattern.html +5 -5
  614. package/docs/api/interfaces/CommandInfo.html +5 -5
  615. package/docs/api/interfaces/CommandMetadata.html +7 -7
  616. package/docs/api/interfaces/CommentCheckResult.html +10 -10
  617. package/docs/api/interfaces/CommentCheckerConfig.html +6 -6
  618. package/docs/api/interfaces/CommentInfo.html +14 -14
  619. package/docs/api/interfaces/CommentPendingCall.html +18 -18
  620. package/docs/api/interfaces/CommitConfig.html +9 -9
  621. package/docs/api/interfaces/CompactCheckpoint.html +7 -7
  622. package/docs/api/interfaces/ContextEntry.html +14 -14
  623. package/docs/api/interfaces/ContextUsageResult.html +12 -12
  624. package/docs/api/interfaces/CustomNote.html +5 -5
  625. package/docs/api/interfaces/DelegationDecision.html +7 -7
  626. package/docs/api/interfaces/DelegationRoute.html +7 -7
  627. package/docs/api/interfaces/DelegationRoutingConfig.html +5 -5
  628. package/docs/api/interfaces/DelegationTrigger.html +6 -6
  629. package/docs/api/interfaces/DetectedKeyword.html +13 -13
  630. package/docs/api/interfaces/DetectionConfig.html +8 -8
  631. package/docs/api/interfaces/DetectionResult.html +13 -13
  632. package/docs/api/interfaces/DirectoryInfo.html +7 -7
  633. package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -6
  634. package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -6
  635. package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -8
  636. package/docs/api/interfaces/ExecuteResult.html +5 -5
  637. package/docs/api/interfaces/ExpandedCommand.html +4 -4
  638. package/docs/api/interfaces/ExternalModelPreference.html +4 -4
  639. package/docs/api/interfaces/ExternalModelsConfig.html +6 -6
  640. package/docs/api/interfaces/ExternalModelsDefaults.html +5 -5
  641. package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -5
  642. package/docs/api/interfaces/FileOwnership.html +8 -8
  643. package/docs/api/interfaces/FormatConfig.html +7 -7
  644. package/docs/api/interfaces/FrameworkDetection.html +4 -4
  645. package/docs/api/interfaces/FullAgentConfig.html +26 -26
  646. package/docs/api/interfaces/GateCheckResult.html +5 -5
  647. package/docs/api/interfaces/GitBranchPattern.html +3 -3
  648. package/docs/api/interfaces/HookContext.html +5 -5
  649. package/docs/api/interfaces/HookDefinition.html +5 -5
  650. package/docs/api/interfaces/HookInput.html +18 -18
  651. package/docs/api/interfaces/HookOutput.html +10 -10
  652. package/docs/api/interfaces/HookResult.html +4 -4
  653. package/docs/api/interfaces/HotPath.html +6 -6
  654. package/docs/api/interfaces/InjectedPathsData.html +9 -9
  655. package/docs/api/interfaces/InjectedRulesData.html +10 -10
  656. package/docs/api/interfaces/InjectedSkillsData.html +8 -8
  657. package/docs/api/interfaces/InjectionResult.html +8 -8
  658. package/docs/api/interfaces/InstallOptions.html +9 -9
  659. package/docs/api/interfaces/InstallResult.html +10 -10
  660. package/docs/api/interfaces/IntegrationResult.html +14 -14
  661. package/docs/api/interfaces/LanguageDetection.html +5 -5
  662. package/docs/api/interfaces/LearnedSkill.html +16 -16
  663. package/docs/api/interfaces/LearnerConfig.html +18 -18
  664. package/docs/api/interfaces/LintConfig.html +7 -7
  665. package/docs/api/interfaces/MagicKeyword.html +4 -4
  666. package/docs/api/interfaces/MatchResult.html +6 -6
  667. package/docs/api/interfaces/MessageContext.html +8 -8
  668. package/docs/api/interfaces/MessageInfo.html +9 -9
  669. package/docs/api/interfaces/MessagePart.html +15 -15
  670. package/docs/api/interfaces/MessageWithModel.html +3 -3
  671. package/docs/api/interfaces/MessageWithParts.html +6 -6
  672. package/docs/api/interfaces/MessagesTransformHook.html +3 -3
  673. package/docs/api/interfaces/MessagesTransformInput.html +3 -3
  674. package/docs/api/interfaces/MessagesTransformOutput.html +3 -3
  675. package/docs/api/interfaces/ModeConfig.html +13 -13
  676. package/docs/api/interfaces/ModeStatus.html +4 -4
  677. package/docs/api/interfaces/ModelRef.html +4 -4
  678. package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -2
  679. package/docs/api/interfaces/NotepadConfig.html +7 -7
  680. package/docs/api/interfaces/NotepadStats.html +11 -11
  681. package/docs/api/interfaces/NotificationCheckResult.html +8 -8
  682. package/docs/api/interfaces/OrchestratorToolInput.html +6 -6
  683. package/docs/api/interfaces/OrchestratorToolOutput.html +6 -6
  684. package/docs/api/interfaces/OutputPart.html +4 -4
  685. package/docs/api/interfaces/PRD.html +9 -9
  686. package/docs/api/interfaces/PRDStatus.html +13 -13
  687. package/docs/api/interfaces/ParsedSlashCommand.html +8 -8
  688. package/docs/api/interfaces/ParsedTokenLimitError.html +16 -16
  689. package/docs/api/interfaces/PendingContext.html +8 -8
  690. package/docs/api/interfaces/PermissionHookOutput.html +4 -4
  691. package/docs/api/interfaces/PermissionRequestInput.html +9 -9
  692. package/docs/api/interfaces/PersistentModeResult.html +9 -9
  693. package/docs/api/interfaces/PlanProgress.html +8 -8
  694. package/docs/api/interfaces/PlanSummary.html +10 -10
  695. package/docs/api/interfaces/PluginConfig.html +17 -17
  696. package/docs/api/interfaces/PreCommitResult.html +3 -3
  697. package/docs/api/interfaces/PreCompactHookOutput.html +4 -4
  698. package/docs/api/interfaces/PreCompactInput.html +8 -8
  699. package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -14
  700. package/docs/api/interfaces/PriorityContextResult.html +5 -5
  701. package/docs/api/interfaces/ProgressEntry.html +11 -11
  702. package/docs/api/interfaces/ProgressLog.html +7 -7
  703. package/docs/api/interfaces/ProjectMemory.html +14 -14
  704. package/docs/api/interfaces/ProjectStructure.html +5 -5
  705. package/docs/api/interfaces/PromotionCandidate.html +9 -9
  706. package/docs/api/interfaces/PruneResult.html +5 -5
  707. package/docs/api/interfaces/QualityValidation.html +10 -10
  708. package/docs/api/interfaces/RalphLoopHook.html +4 -4
  709. package/docs/api/interfaces/RalphLoopOptions.html +5 -5
  710. package/docs/api/interfaces/RalphLoopState.html +21 -21
  711. package/docs/api/interfaces/RecoveryConfig.html +16 -16
  712. package/docs/api/interfaces/RecoveryMessageData.html +4 -4
  713. package/docs/api/interfaces/RecoveryResult.html +10 -10
  714. package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -8
  715. package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -7
  716. package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -9
  717. package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -9
  718. package/docs/api/interfaces/RegisterContextOptions.html +12 -12
  719. package/docs/api/interfaces/ReleaseInfo.html +9 -9
  720. package/docs/api/interfaces/ResolveDelegationOptions.html +7 -7
  721. package/docs/api/interfaces/ResolveOptions.html +6 -6
  722. package/docs/api/interfaces/ResolvedModel.html +5 -5
  723. package/docs/api/interfaces/RetryState.html +6 -6
  724. package/docs/api/interfaces/RuleFileCandidate.html +12 -12
  725. package/docs/api/interfaces/RuleFrontmatterResult.html +6 -6
  726. package/docs/api/interfaces/RuleInfo.html +18 -18
  727. package/docs/api/interfaces/RuleMetadata.html +9 -9
  728. package/docs/api/interfaces/RuleToInject.html +10 -10
  729. package/docs/api/interfaces/SessionEndHookOutput.html +2 -2
  730. package/docs/api/interfaces/SessionEndInput.html +9 -9
  731. package/docs/api/interfaces/SessionMetrics.html +9 -9
  732. package/docs/api/interfaces/SessionState.html +5 -5
  733. package/docs/api/interfaces/SetupHookOutput.html +3 -3
  734. package/docs/api/interfaces/SetupInput.html +7 -7
  735. package/docs/api/interfaces/SetupResult.html +5 -5
  736. package/docs/api/interfaces/ShellHook.html +4 -4
  737. package/docs/api/interfaces/SisyphusOptions.html +14 -14
  738. package/docs/api/interfaces/SisyphusSession.html +16 -16
  739. package/docs/api/interfaces/SkillExtractionRequest.html +12 -12
  740. package/docs/api/interfaces/SkillFileCandidate.html +10 -10
  741. package/docs/api/interfaces/SkillHookContext.html +5 -5
  742. package/docs/api/interfaces/SkillMetadata.html +22 -22
  743. package/docs/api/interfaces/SkillParseResult.html +5 -5
  744. package/docs/api/interfaces/SubagentHookOutput.html +3 -3
  745. package/docs/api/interfaces/SubagentInfo.html +14 -14
  746. package/docs/api/interfaces/SubagentStartInput.html +10 -10
  747. package/docs/api/interfaces/SubagentStopInput.html +11 -11
  748. package/docs/api/interfaces/SubagentTrackingState.html +6 -6
  749. package/docs/api/interfaces/TaskExecutionDecision.html +10 -10
  750. package/docs/api/interfaces/TechStack.html +5 -5
  751. package/docs/api/interfaces/ThinkModeInput.html +4 -4
  752. package/docs/api/interfaces/ThinkModeState.html +12 -12
  753. package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -6
  754. package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -9
  755. package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -4
  756. package/docs/api/interfaces/TodoContinuationHook.html +2 -2
  757. package/docs/api/interfaces/TransitionResult.html +4 -4
  758. package/docs/api/interfaces/TruncateState.html +6 -6
  759. package/docs/api/interfaces/UltraQAOptions.html +5 -5
  760. package/docs/api/interfaces/UltraQAResult.html +9 -9
  761. package/docs/api/interfaces/UltraQAState.html +19 -19
  762. package/docs/api/interfaces/UltrapilotConfig.html +14 -14
  763. package/docs/api/interfaces/UltrapilotState.html +26 -26
  764. package/docs/api/interfaces/UltraworkState.html +17 -17
  765. package/docs/api/interfaces/UpdateCheckResult.html +7 -7
  766. package/docs/api/interfaces/UpdateResult.html +7 -7
  767. package/docs/api/interfaces/UserDirective.html +7 -7
  768. package/docs/api/interfaces/UserStory.html +15 -15
  769. package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -6
  770. package/docs/api/interfaces/ValidationResult.html +10 -10
  771. package/docs/api/interfaces/VerificationState.html +17 -17
  772. package/docs/api/interfaces/VersionMetadata.html +12 -12
  773. package/docs/api/interfaces/WorkerState.html +24 -24
  774. package/docs/api/interfaces/WriteSkillResult.html +6 -6
  775. package/docs/api/media/EVOLUTION.md +132 -62
  776. package/docs/api/media/INSTALL.md +105 -35
  777. package/docs/api/media/MIGRATION.md +340 -168
  778. package/docs/api/media/NEXUS.md +79 -43
  779. package/docs/api/media/REFERENCE.md +182 -104
  780. package/docs/api/media/mcp-server-usage.md +24 -11
  781. package/docs/api/modules.html +1 -1
  782. package/docs/api/types/AgentCategory.html +2 -2
  783. package/docs/api/types/AgentCost.html +3 -3
  784. package/docs/api/types/AgentFactory.html +2 -2
  785. package/docs/api/types/AgentOverrides.html +2 -2
  786. package/docs/api/types/AutopilotPhase.html +2 -2
  787. package/docs/api/types/AutopilotSignal.html +2 -2
  788. package/docs/api/types/CommandScope.html +2 -2
  789. package/docs/api/types/ContextPriority.html +3 -3
  790. package/docs/api/types/ContextSourceType.html +3 -3
  791. package/docs/api/types/DelegationProvider.html +2 -2
  792. package/docs/api/types/DelegationTool.html +2 -2
  793. package/docs/api/types/ExecutionMode.html +3 -3
  794. package/docs/api/types/ExternalModelProvider.html +2 -2
  795. package/docs/api/types/GateType.html +3 -3
  796. package/docs/api/types/InjectionStrategy.html +2 -2
  797. package/docs/api/types/KeywordType.html +10 -10
  798. package/docs/api/types/ModelType.html +2 -2
  799. package/docs/api/types/QAStatus.html +2 -2
  800. package/docs/api/types/RecoveryErrorType.html +2 -2
  801. package/docs/api/types/RecoveryStoredPart.html +2 -2
  802. package/docs/api/types/TaskTool.html +1 -1
  803. package/docs/api/types/ThinkingConfig.html +2 -2
  804. package/docs/api/types/UltraQAGoalType.html +1 -1
  805. package/docs/api/types/UserStoryInput.html +2 -2
  806. package/docs/api/types/ValidationVerdict.html +2 -2
  807. package/docs/api/types/ValidationVerdictType.html +2 -2
  808. package/docs/api/variables/AGENTS_DIR.html +1 -1
  809. package/docs/api/variables/AGENTS_FILENAME.html +2 -2
  810. package/docs/api/variables/AGENT_TOOLS.html +2 -2
  811. package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -2
  812. package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -1
  813. package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -1
  814. package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -4
  815. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -1
  816. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -2
  817. package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -2
  818. package/docs/api/variables/BDD_KEYWORDS.html +2 -2
  819. package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -1
  820. package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -1
  821. package/docs/api/variables/BLOCKING_PATTERNS.html +3 -3
  822. package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -2
  823. package/docs/api/variables/BOULDER_DIR.html +2 -2
  824. package/docs/api/variables/BOULDER_FILE.html +2 -2
  825. package/docs/api/variables/BOULDER_STATE_PATH.html +2 -2
  826. package/docs/api/variables/CHARS_PER_TOKEN.html +2 -2
  827. package/docs/api/variables/CI_COMMANDS.html +2 -2
  828. package/docs/api/variables/CI_GATE_MESSAGE.html +1 -1
  829. package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -2
  830. package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -2
  831. package/docs/api/variables/COMMANDS_DIR.html +1 -1
  832. package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -2
  833. package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -2
  834. package/docs/api/variables/CONTENT_PART_TYPES.html +2 -2
  835. package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -2
  836. package/docs/api/variables/CONTEXT_FILENAMES.html +2 -2
  837. package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -2
  838. package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -2
  839. package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -2
  840. package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -2
  841. package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -1
  842. package/docs/api/variables/DEFAULT_CONFIG.html +2 -2
  843. package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -2
  844. package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -2
  845. package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -2
  846. package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -1
  847. package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -1
  848. package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -2
  849. package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -3
  850. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -2
  851. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -2
  852. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -2
  853. package/docs/api/variables/ENTRY_SEPARATOR.html +1 -1
  854. package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -3
  855. package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -1
  856. package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -1
  857. package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -2
  858. package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -2
  859. package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -1
  860. package/docs/api/variables/GITHUB_API_URL.html +1 -1
  861. package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -2
  862. package/docs/api/variables/INSTALLER_VERSION.html +2 -2
  863. package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -2
  864. package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -3
  865. package/docs/api/variables/MANUAL_HEADER.html +1 -1
  866. package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -2
  867. package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -2
  868. package/docs/api/variables/MAX_WARNINGS.html +2 -2
  869. package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -2
  870. package/docs/api/variables/MODE_CONFIGS.html +4 -4
  871. package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -1
  872. package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -2
  873. package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -1
  874. package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -1
  875. package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -2
  876. package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -1
  877. package/docs/api/variables/NOTEPAD_DIR.html +2 -2
  878. package/docs/api/variables/NOTEPAD_FILENAME.html +1 -1
  879. package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -4
  880. package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -2
  881. package/docs/api/variables/PATTERNS_HEADER.html +1 -1
  882. package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -3
  883. package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -2
  884. package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -1
  885. package/docs/api/variables/PLAN_EXTENSION.html +2 -2
  886. package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -1
  887. package/docs/api/variables/PRD_FILENAME.html +1 -1
  888. package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -2
  889. package/docs/api/variables/PREVENTED_ERROR.html +2 -2
  890. package/docs/api/variables/PRIORITY_HEADER.html +1 -1
  891. package/docs/api/variables/PROGRESS_FILENAME.html +1 -1
  892. package/docs/api/variables/PROJECT_MARKERS.html +2 -2
  893. package/docs/api/variables/PROJECT_RULE_FILES.html +2 -2
  894. package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -2
  895. package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -2
  896. package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -7
  897. package/docs/api/variables/README_FILENAME.html +2 -2
  898. package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -1
  899. package/docs/api/variables/README_TRACKED_TOOLS.html +2 -2
  900. package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -2
  901. package/docs/api/variables/RECOVERY_MESSAGES.html +2 -2
  902. package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -2
  903. package/docs/api/variables/REMINDER_MESSAGE.html +2 -2
  904. package/docs/api/variables/REPO_NAME.html +1 -1
  905. package/docs/api/variables/REPO_OWNER.html +2 -2
  906. package/docs/api/variables/RETRY_CONFIG.html +6 -6
  907. package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -1
  908. package/docs/api/variables/RULE_EXTENSIONS.html +2 -2
  909. package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -3
  910. package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -2
  911. package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -1
  912. package/docs/api/variables/SKILL_EXTENSION.html +2 -2
  913. package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -2
  914. package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -2
  915. package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -2
  916. package/docs/api/variables/TARGET_TOOLS.html +2 -2
  917. package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -2
  918. package/docs/api/variables/THINKING_CONFIGS.html +2 -2
  919. package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -3
  920. package/docs/api/variables/THINKING_PART_TYPES.html +2 -2
  921. package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -2
  922. package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -2
  923. package/docs/api/variables/TOOL_PART_TYPES.html +2 -2
  924. package/docs/api/variables/TRACKED_TOOLS.html +2 -2
  925. package/docs/api/variables/TRUNCATE_CONFIG.html +6 -6
  926. package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -2
  927. package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -2
  928. package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -2
  929. package/docs/api/variables/USER_GATE_MESSAGE.html +1 -1
  930. package/docs/api/variables/USER_RULE_DIR.html +2 -2
  931. package/docs/api/variables/USER_SKILLS_DIR.html +2 -2
  932. package/docs/api/variables/VERIFICATION_REMINDER.html +2 -2
  933. package/docs/api/variables/VERSION_FILE.html +1 -1
  934. package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -1
  935. package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -2
  936. package/docs/api/variables/allCustomTools.html +3 -3
  937. package/docs/api/variables/analystAgent.html +1 -1
  938. package/docs/api/variables/architectAgent.html +1 -1
  939. package/docs/api/variables/astTools.html +2 -2
  940. package/docs/api/variables/contextCollector.html +2 -2
  941. package/docs/api/variables/criticAgent.html +1 -1
  942. package/docs/api/variables/designerAgent.html +1 -1
  943. package/docs/api/variables/executorAgent.html +1 -1
  944. package/docs/api/variables/exploreAgent.html +1 -1
  945. package/docs/api/variables/lspTools.html +2 -2
  946. package/docs/api/variables/nonInteractiveEnvHook.html +8 -8
  947. package/docs/api/variables/omcSystemPrompt.html +2 -2
  948. package/docs/api/variables/omcToolNames.html +3 -3
  949. package/docs/api/variables/omcToolsServer.html +4 -4
  950. package/docs/api/variables/plannerAgent.html +1 -1
  951. package/docs/api/variables/researcherAgent.html +1 -1
  952. package/docs/api/variables/visionAgent.html +1 -1
  953. package/docs/api/variables/writerAgent.html +1 -1
  954. package/docs/ccg-workflow/API.md +290 -130
  955. package/docs/ccg-workflow/BEST_PRACTICES.md +265 -124
  956. package/docs/ccg-workflow/README.md +29 -17
  957. package/docs/ccg-workflow/TROUBLESHOOTING.md +120 -63
  958. package/docs/ccg-workflow/VALIDATION_GUIDE.md +104 -46
  959. package/docs/design/AGENTS.md +8 -4
  960. package/docs/design/delegation-enforcer-integration.md +10 -8
  961. package/docs/design/project-session-manager.md +82 -29
  962. package/docs/dev-standards/context-collection.md +9 -2
  963. package/docs/dev-standards/context-summary-template.md +48 -24
  964. package/docs/dev-standards/dev-standards.md +28 -14
  965. package/docs/dev-standards/quality-review.md +24 -13
  966. package/docs/dev-standards/sufficiency-checklist.md +35 -14
  967. package/docs/dev-standards/tools-integration.md +34 -15
  968. package/docs/dev-standards/workflow.md +9 -3
  969. package/docs/getting-started/concepts.md +27 -14
  970. package/docs/getting-started/installation.md +25 -8
  971. package/docs/getting-started/quickstart.md +17 -8
  972. package/docs/guides/mcp-server-usage.md +24 -11
  973. package/docs/guides/task-templates-guide.md +50 -25
  974. package/docs/guides/tool-name-migration.md +67 -34
  975. package/docs/guides/troubleshooting-guide.md +66 -32
  976. package/docs/guides/v5.5.13-new-features.md +66 -31
  977. package/docs/guides/wizard-user-guide.md +27 -15
  978. package/docs/guides/workflow-recommendation-guide.md +22 -11
  979. package/docs/issues/AGENTS.md +4 -2
  980. package/docs/mcp/README.md +31 -18
  981. package/docs/mcp/client-guide.md +37 -19
  982. package/docs/mcp/configuration.md +27 -11
  983. package/docs/mcp/overview.md +70 -36
  984. package/docs/mcp/performance.md +23 -14
  985. package/docs/mcp/server-guide.md +9 -4
  986. package/docs/mcp-compatibility-matrix.md +36 -18
  987. package/docs/partials/AGENTS.md +4 -2
  988. package/docs/partials/agent-tiers.md +27 -17
  989. package/docs/partials/features.md +37 -21
  990. package/docs/partials/mode-hierarchy.md +19 -10
  991. package/docs/partials/mode-selection-guide.md +20 -10
  992. package/docs/partials/verification-tiers.md +36 -20
  993. package/docs/plans/2025-11-22-opencode-support-design.md +37 -25
  994. package/docs/plans/2025-11-22-opencode-support-implementation.md +93 -49
  995. package/docs/plans/2025-11-28-skills-improvements-from-user-feedback.md +195 -104
  996. package/docs/plans/2026-01-17-visual-brainstorming.md +48 -32
  997. package/docs/plans/2026-02-24-axiom-integration-design.md +121 -67
  998. package/docs/plans/2026-02-24-axiom-integration-plan.md +383 -191
  999. package/docs/plans/2026-02-24-superpowers-ultrapower-integration-design.md +210 -98
  1000. package/docs/plans/2026-02-24-superpowers-ultrapower-integration-plan.md +251 -124
  1001. package/docs/plans/2026-02-24-ultrapower-integration-design.md +9 -6
  1002. package/docs/plans/2026-02-26-nexus-design.md +64 -38
  1003. package/docs/plans/2026-02-26-nexus-implementation-plan.md +171 -98
  1004. package/docs/plans/2026-02-26-phase2-active-learning-design.md +83 -44
  1005. package/docs/plans/2026-02-27-release-cicd-pipeline-design.md +30 -19
  1006. package/docs/plans/2026-02-27-release-cicd-pipeline-impl.md +27 -16
  1007. package/docs/plans/2026-02-28-nexus-self-evolution.md +30 -17
  1008. package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +106 -34
  1009. package/docs/plans/2026-03-02-docs-comprehensive-update.md +265 -133
  1010. package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +409 -180
  1011. package/docs/plans/2026-03-05-mcp-adoption-plan.md +278 -130
  1012. package/docs/plans/AGENTS.md +6 -3
  1013. package/docs/plans/axiom-migration-plan.md +127 -62
  1014. package/docs/prd/AGENTS.md +6 -3
  1015. package/docs/prd/documentation-system-draft.md +141 -71
  1016. package/docs/prd/documentation-system-rough.md +330 -171
  1017. package/docs/prd/memory-evolution-optimize-rough.md +199 -124
  1018. package/docs/prd/user_guide-rough.md +403 -200
  1019. package/docs/reviews/AGENTS.md +4 -2
  1020. package/docs/reviews/documentation-system/review_critic.md +129 -58
  1021. package/docs/reviews/documentation-system/review_domain.md +222 -104
  1022. package/docs/reviews/documentation-system/review_product.md +61 -27
  1023. package/docs/reviews/documentation-system/review_tech.md +86 -38
  1024. package/docs/reviews/documentation-system/review_ux.md +70 -35
  1025. package/docs/reviews/documentation-system/summary.md +94 -47
  1026. package/docs/reviews/draft-prd-agent-observability/review_critic.md +21 -17
  1027. package/docs/reviews/draft-prd-agent-observability/review_domain.md +61 -33
  1028. package/docs/reviews/draft-prd-agent-observability/review_product.md +19 -12
  1029. package/docs/reviews/draft-prd-agent-observability/review_tech.md +26 -15
  1030. package/docs/reviews/draft-prd-agent-observability/review_ux.md +16 -12
  1031. package/docs/reviews/draft-prd-agent-observability/rough_prd.md +64 -34
  1032. package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +72 -43
  1033. package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +45 -25
  1034. package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +5 -3
  1035. package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +112 -61
  1036. package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +1 -1
  1037. package/docs/reviews/draft-prd-three-directions/review_product.md +49 -26
  1038. package/docs/reviews/draft-prd-three-directions/review_tech.md +58 -34
  1039. package/docs/reviews/draft-prd-three-directions/review_ux.md +83 -42
  1040. package/docs/reviews/memory-evolution-optimize/summary.md +37 -22
  1041. package/docs/reviews/ultrapower-pain-points/review_critic.md +95 -48
  1042. package/docs/reviews/ultrapower-pain-points/review_ux.md +8 -7
  1043. package/docs/reviews/ultrapower-security/review_critic.md +187 -91
  1044. package/docs/reviews/ultrapower-standards/AGENTS.md +8 -4
  1045. package/docs/reviews/ultrapower-standards/review_critic.md +62 -39
  1046. package/docs/reviews/ultrapower-standards/review_domain.md +23 -14
  1047. package/docs/reviews/ultrapower-standards/review_product.md +16 -9
  1048. package/docs/reviews/ultrapower-standards/review_tech.md +47 -27
  1049. package/docs/reviews/ultrapower-standards/review_ux.md +45 -26
  1050. package/docs/reviews/ultrapower-standards/summary.md +54 -30
  1051. package/docs/reviews/ultrapower-tech-review/review_tech.md +61 -34
  1052. package/docs/reviews/user_guide/summary.md +44 -24
  1053. package/docs/shared/AGENTS.md +4 -2
  1054. package/docs/shared/agent-tiers.md +27 -17
  1055. package/docs/shared/features.md +37 -21
  1056. package/docs/shared/mode-hierarchy.md +19 -10
  1057. package/docs/shared/mode-selection-guide.md +20 -10
  1058. package/docs/shared/verification-tiers.md +36 -20
  1059. package/docs/standards/AGENTS.md +9 -5
  1060. package/docs/standards/README.md +16 -12
  1061. package/docs/standards/agent-lifecycle.md +46 -32
  1062. package/docs/standards/anti-patterns.md +2 -2
  1063. package/docs/standards/audit-report.md +75 -42
  1064. package/docs/standards/contribution-guide.md +74 -36
  1065. package/docs/standards/hook-execution-order.md +26 -16
  1066. package/docs/standards/release-process.md +9 -5
  1067. package/docs/standards/runtime-protection.md +57 -36
  1068. package/docs/standards/state-machine.md +15 -15
  1069. package/docs/standards/templates/AGENTS.md +8 -4
  1070. package/docs/standards/templates/agent-template.md +6 -4
  1071. package/docs/standards/templates/hook-template.md +7 -5
  1072. package/docs/standards/templates/skill-template.md +1 -1
  1073. package/docs/standards/testing-guide.md +6 -4
  1074. package/docs/standards/user-guide.md +27 -19
  1075. package/docs/superpowers/AGENTS.md +6 -3
  1076. package/docs/superpowers/plans/2026-01-22-document-review-system.md +46 -34
  1077. package/docs/superpowers/plans/2026-02-19-visual-brainstorming-refactor.md +71 -59
  1078. package/docs/superpowers/plans/AGENTS.md +8 -4
  1079. package/docs/superpowers/specs/2026-01-22-document-review-system-design.md +36 -19
  1080. package/docs/superpowers/specs/2026-02-19-visual-brainstorming-refactor-design.md +95 -49
  1081. package/docs/superpowers/specs/AGENTS.md +8 -4
  1082. package/docs/tasks/AGENTS.md +4 -2
  1083. package/docs/tasks/documentation-system/implementation-plan.md +86 -38
  1084. package/docs/tasks/documentation-system/manifest.md +328 -172
  1085. package/docs/tasks/memory-evolution-optimize/manifest.md +148 -84
  1086. package/docs/tasks/ultrapower-standards/AGENTS.md +10 -5
  1087. package/docs/tasks/ultrapower-standards/manifest.md +137 -71
  1088. package/docs/tasks/user_guide/manifest.md +185 -94
  1089. package/docs/testing.md +29 -11
  1090. package/docs/troubleshooting/agent-timeouts.md +14 -6
  1091. package/docs/troubleshooting/common-errors.md +4 -0
  1092. package/docs/troubleshooting/hook-failures.md +12 -6
  1093. package/docs/troubleshooting/performance-issues.md +24 -12
  1094. package/docs/troubleshooting/tool-name-length-error.md +1 -1
  1095. package/docs/troubleshooting.md +215 -47
  1096. package/docs/windows/AGENTS.md +6 -3
  1097. package/docs/windows/polyglot-hooks.md +43 -19
  1098. package/hooks/AGENTS.md +9 -5
  1099. package/hooks/run-hook.cmd +0 -0
  1100. package/hooks/session-start +0 -0
  1101. package/package.json +1 -1
  1102. package/scripts/AGENTS.md +28 -14
  1103. package/scripts/fix-agent-headers.py +58 -0
  1104. package/scripts/fix-blank-lines.py +19 -0
  1105. package/scripts/fix-long-lines.py +41 -0
  1106. package/scripts/fix-markdown-lint.mjs +48 -0
  1107. package/scripts/hooks/AGENTS.md +8 -4
  1108. package/scripts/lib/AGENTS.md +6 -3
  1109. package/scripts/persistent-mode.cjs +605 -605
  1110. package/skills/AGENTS.md +23 -17
  1111. package/skills/analyze/AGENTS.md +12 -6
  1112. package/skills/analyze/SKILL.md +53 -27
  1113. package/skills/autopilot/AGENTS.md +12 -6
  1114. package/skills/autopilot/SKILL.md +66 -35
  1115. package/skills/ax-analyze-error/AGENTS.md +12 -6
  1116. package/skills/ax-analyze-error/SKILL.md +9 -6
  1117. package/skills/ax-context/AGENTS.md +12 -6
  1118. package/skills/ax-context/SKILL.md +8 -2
  1119. package/skills/ax-decompose/AGENTS.md +12 -6
  1120. package/skills/ax-decompose/SKILL.md +19 -11
  1121. package/skills/ax-draft/AGENTS.md +12 -6
  1122. package/skills/ax-draft/SKILL.md +14 -8
  1123. package/skills/ax-evolution/AGENTS.md +12 -6
  1124. package/skills/ax-evolution/SKILL.md +16 -5
  1125. package/skills/ax-evolve/AGENTS.md +12 -6
  1126. package/skills/ax-evolve/SKILL.md +19 -10
  1127. package/skills/ax-export/AGENTS.md +12 -6
  1128. package/skills/ax-export/SKILL.md +50 -18
  1129. package/skills/ax-implement/AGENTS.md +12 -6
  1130. package/skills/ax-implement/SKILL.md +8 -5
  1131. package/skills/ax-knowledge/AGENTS.md +17 -10
  1132. package/skills/ax-knowledge/SKILL.md +54 -27
  1133. package/skills/ax-reflect/AGENTS.md +12 -6
  1134. package/skills/ax-reflect/SKILL.md +28 -14
  1135. package/skills/ax-review/AGENTS.md +12 -6
  1136. package/skills/ax-review/SKILL.md +14 -7
  1137. package/skills/ax-rollback/AGENTS.md +12 -6
  1138. package/skills/ax-rollback/SKILL.md +12 -5
  1139. package/skills/ax-status/AGENTS.md +12 -6
  1140. package/skills/ax-status/SKILL.md +55 -26
  1141. package/skills/ax-suspend/AGENTS.md +12 -6
  1142. package/skills/ax-suspend/SKILL.md +15 -7
  1143. package/skills/brainstorming/AGENTS.md +12 -6
  1144. package/skills/brainstorming/SKILL.md +66 -36
  1145. package/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
  1146. package/skills/brainstorming/visual-companion.md +57 -32
  1147. package/skills/build-fix/AGENTS.md +12 -6
  1148. package/skills/build-fix/SKILL.md +40 -22
  1149. package/skills/cancel/AGENTS.md +12 -6
  1150. package/skills/cancel/SKILL.md +102 -51
  1151. package/skills/ccg/AGENTS.md +12 -6
  1152. package/skills/ccg/SKILL.md +44 -24
  1153. package/skills/ccg-workflow/SKILL.md +8 -3
  1154. package/skills/code-review/AGENTS.md +12 -6
  1155. package/skills/code-review/SKILL.md +100 -52
  1156. package/skills/configure-discord/AGENTS.md +12 -6
  1157. package/skills/configure-discord/SKILL.md +11 -5
  1158. package/skills/configure-telegram/AGENTS.md +12 -6
  1159. package/skills/configure-telegram/SKILL.md +23 -11
  1160. package/skills/deepinit/AGENTS.md +12 -6
  1161. package/skills/deepinit/SKILL.md +118 -55
  1162. package/skills/deepsearch/AGENTS.md +12 -6
  1163. package/skills/deepsearch/SKILL.md +9 -6
  1164. package/skills/dispatching-parallel-agents/AGENTS.md +12 -6
  1165. package/skills/dispatching-parallel-agents/SKILL.md +64 -32
  1166. package/skills/executing-plans/AGENTS.md +12 -6
  1167. package/skills/executing-plans/SKILL.md +78 -37
  1168. package/skills/external-context/AGENTS.md +12 -6
  1169. package/skills/external-context/SKILL.md +25 -10
  1170. package/skills/finishing-a-development-branch/AGENTS.md +12 -6
  1171. package/skills/finishing-a-development-branch/SKILL.md +69 -28
  1172. package/skills/frontend-ui-ux/AGENTS.md +12 -6
  1173. package/skills/frontend-ui-ux/SKILL.md +16 -7
  1174. package/skills/git-master/AGENTS.md +12 -6
  1175. package/skills/git-master/SKILL.md +10 -5
  1176. package/skills/hud/AGENTS.md +12 -6
  1177. package/skills/hud/SKILL.md +32 -21
  1178. package/skills/learn-about-omc/AGENTS.md +12 -6
  1179. package/skills/learn-about-omc/SKILL.md +2 -2
  1180. package/skills/learner/AGENTS.md +12 -6
  1181. package/skills/learner/SKILL.md +77 -39
  1182. package/skills/mcp-setup/AGENTS.md +12 -6
  1183. package/skills/mcp-setup/SKILL.md +120 -49
  1184. package/skills/next-step-router/AGENTS.md +12 -6
  1185. package/skills/next-step-router/SKILL.md +61 -36
  1186. package/skills/nexus/AGENTS.md +11 -6
  1187. package/skills/nexus/SKILL.md +8 -5
  1188. package/skills/nexus/nexus-evolve/AGENTS.md +12 -6
  1189. package/skills/nexus/nexus-review/AGENTS.md +12 -6
  1190. package/skills/nexus/nexus-review/SKILL.md +1 -1
  1191. package/skills/nexus/nexus-status/AGENTS.md +12 -6
  1192. package/skills/note/AGENTS.md +12 -6
  1193. package/skills/note/SKILL.md +23 -12
  1194. package/skills/omc-doctor/AGENTS.md +12 -6
  1195. package/skills/omc-doctor/SKILL.md +86 -32
  1196. package/skills/omc-help/AGENTS.md +12 -6
  1197. package/skills/omc-help/SKILL.md +39 -20
  1198. package/skills/omc-setup/AGENTS.md +12 -6
  1199. package/skills/omc-setup/SKILL.md +169 -91
  1200. package/skills/pipeline/AGENTS.md +12 -6
  1201. package/skills/pipeline/SKILL.md +36 -14
  1202. package/skills/plan/AGENTS.md +12 -6
  1203. package/skills/plan/SKILL.md +95 -51
  1204. package/skills/project-session-manager/AGENTS.md +12 -6
  1205. package/skills/project-session-manager/SKILL.md +76 -50
  1206. package/skills/project-session-manager/lib/AGENTS.md +11 -6
  1207. package/skills/project-session-manager/lib/providers/AGENTS.md +8 -4
  1208. package/skills/project-session-manager/templates/AGENTS.md +8 -4
  1209. package/skills/project-session-manager/templates/feature.md +21 -11
  1210. package/skills/project-session-manager/templates/issue-fix.md +23 -12
  1211. package/skills/project-session-manager/templates/pr-review.md +22 -12
  1212. package/skills/psm/AGENTS.md +12 -6
  1213. package/skills/ralph/AGENTS.md +12 -6
  1214. package/skills/ralph/SKILL.md +86 -45
  1215. package/skills/ralph-init/AGENTS.md +12 -6
  1216. package/skills/ralph-init/SKILL.md +1 -1
  1217. package/skills/ralplan/AGENTS.md +12 -6
  1218. package/skills/receiving-code-review/AGENTS.md +12 -6
  1219. package/skills/receiving-code-review/SKILL.md +50 -25
  1220. package/skills/release/AGENTS.md +12 -6
  1221. package/skills/release/SKILL.md +95 -30
  1222. package/skills/requesting-code-review/AGENTS.md +12 -6
  1223. package/skills/requesting-code-review/SKILL.md +64 -32
  1224. package/skills/requesting-code-review/code-reviewer.md +89 -41
  1225. package/skills/review/AGENTS.md +12 -6
  1226. package/skills/sciomc/AGENTS.md +12 -6
  1227. package/skills/sciomc/SKILL.md +86 -46
  1228. package/skills/security-review/AGENTS.md +12 -6
  1229. package/skills/security-review/SKILL.md +115 -61
  1230. package/skills/skill/AGENTS.md +12 -6
  1231. package/skills/skill/SKILL.md +93 -49
  1232. package/skills/subagent-driven-development/AGENTS.md +12 -6
  1233. package/skills/subagent-driven-development/SKILL.md +114 -58
  1234. package/skills/swarm/AGENTS.md +12 -6
  1235. package/skills/systematic-debugging/AGENTS.md +12 -6
  1236. package/skills/systematic-debugging/CREATION-LOG.md +84 -42
  1237. package/skills/systematic-debugging/SKILL.md +128 -73
  1238. package/skills/systematic-debugging/condition-based-waiting.md +21 -11
  1239. package/skills/systematic-debugging/defense-in-depth.md +29 -13
  1240. package/skills/systematic-debugging/find-polluter.sh +0 -0
  1241. package/skills/systematic-debugging/root-cause-tracing.md +41 -18
  1242. package/skills/systematic-debugging/test-pressure-1.md +38 -19
  1243. package/skills/systematic-debugging/test-pressure-2.md +50 -25
  1244. package/skills/systematic-debugging/test-pressure-3.md +52 -26
  1245. package/skills/team/AGENTS.md +12 -6
  1246. package/skills/team/SKILL.md +139 -89
  1247. package/skills/test-driven-development/AGENTS.md +12 -6
  1248. package/skills/test-driven-development/SKILL.md +129 -67
  1249. package/skills/test-driven-development/testing-anti-patterns.md +54 -28
  1250. package/skills/trace/AGENTS.md +12 -6
  1251. package/skills/trace/SKILL.md +14 -7
  1252. package/skills/ultrapilot/AGENTS.md +12 -6
  1253. package/skills/ultrapilot/SKILL.md +98 -51
  1254. package/skills/ultraqa/AGENTS.md +12 -6
  1255. package/skills/ultraqa/SKILL.md +8 -6
  1256. package/skills/ultrawork/AGENTS.md +12 -6
  1257. package/skills/ultrawork/SKILL.md +57 -30
  1258. package/skills/using-git-worktrees/AGENTS.md +12 -6
  1259. package/skills/using-git-worktrees/SKILL.md +63 -28
  1260. package/skills/using-superpowers/AGENTS.md +12 -6
  1261. package/skills/using-superpowers/SKILL.md +13 -7
  1262. package/skills/using-superpowers/references/AGENTS.md +8 -4
  1263. package/skills/using-superpowers/references/codex-tools.md +1 -1
  1264. package/skills/verification-before-completion/AGENTS.md +12 -6
  1265. package/skills/verification-before-completion/SKILL.md +54 -29
  1266. package/skills/wizard/AGENTS.md +12 -6
  1267. package/skills/wizard/SKILL.md +27 -15
  1268. package/skills/writer-memory/AGENTS.md +12 -6
  1269. package/skills/writer-memory/SKILL.md +73 -42
  1270. package/skills/writer-memory/lib/AGENTS.md +8 -4
  1271. package/skills/writer-memory/templates/AGENTS.md +10 -5
  1272. package/skills/writing-plans/AGENTS.md +12 -6
  1273. package/skills/writing-plans/SKILL.md +57 -28
  1274. package/skills/writing-plans/plan-document-reviewer-prompt.md +1 -1
  1275. package/skills/writing-skills/AGENTS.md +12 -6
  1276. package/skills/writing-skills/SKILL.md +301 -134
  1277. package/skills/writing-skills/anthropic-best-practices.md +155 -37
  1278. package/skills/writing-skills/examples/AGENTS.md +8 -4
  1279. package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +37 -15
  1280. package/skills/writing-skills/graphviz-conventions.dot +171 -171
  1281. package/skills/writing-skills/persuasion-principles.md +124 -59
  1282. package/skills/writing-skills/render-graphs.js +0 -0
  1283. package/skills/writing-skills/testing-skills-with-subagents.md +119 -62
  1284. package/templates/AGENTS.md +12 -8
  1285. package/templates/axiom/AGENTS.md +7 -4
  1286. package/templates/axiom/dag-analysis.md +1 -1
  1287. package/templates/axiom/scripts/AGENTS.md +6 -3
  1288. package/templates/axiom/scripts/Check-Memory.ps1 +68 -68
  1289. package/templates/axiom/scripts/Poll-Memory.ps1 +36 -36
  1290. package/templates/axiom/scripts/README.md +7 -4
  1291. package/templates/axiom/scripts/Watch-Memory.ps1 +149 -149
  1292. package/templates/axiom/scripts/agent-runner.ps1 +101 -101
  1293. package/templates/axiom/scripts/start-reviews.ps1 +19 -19
  1294. package/templates/axiom/task-execution.md +10 -6
  1295. package/templates/hooks/AGENTS.md +9 -5
  1296. package/templates/hooks/lib/AGENTS.md +4 -2
  1297. package/templates/rules/AGENTS.md +8 -4
  1298. package/templates/rules/README.md +5 -1
  1299. package/templates/rules/axiom-gatekeepers.md +26 -16
  1300. package/templates/rules/axiom-provider-router.md +12 -7
  1301. package/templates/rules/axiom-router.md +8 -5
  1302. package/templates/rules/coding-style.md +30 -15
  1303. package/templates/rules/git-workflow.md +13 -7
  1304. package/templates/rules/performance.md +38 -19
  1305. package/templates/rules/security.md +24 -12
  1306. package/templates/rules/testing.md +25 -13
  1307. package/templates/tasks/README.md +15 -4
  1308. package/templates/tasks/bug-fix.md +48 -24
  1309. package/templates/tasks/code-review.md +46 -23
  1310. package/templates/tasks/feature-development.md +56 -28
  1311. package/templates/tasks/refactoring.md +48 -24
  1312. package/templates/tasks/security-audit.md +48 -24
@@ -32,9 +32,11 @@ PRD 未要求规范中包含输入校验或路径白名单策略。这是一个
32
32
 
33
33
  `hooks.json` 中所有 hook 均以 `async: false` 同步执行,且 matcher 为空字符串(匹配所有工具调用)。PRD 的 Hook 执行顺序规范中没有要求定义:
34
34
 
35
- - hook 脚本的执行权限边界
36
- - hook 输入数据的消毒(sanitization)策略
37
- - 恶意或损坏的 hook 脚本导致整个 Claude 会话阻塞的降级方案
35
+ * hook 脚本的执行权限边界
36
+
37
+ * hook 输入数据的消毒(sanitization)策略
38
+
39
+ * 恶意或损坏的 hook 脚本导致整个 Claude 会话阻塞的降级方案
38
40
 
39
41
  `bridge-normalize.ts` 中提到了"严格白名单过滤",但 PRD 没有要求将此策略形式化为规范,也没有要求覆盖所有 hook 类型(当前仅覆盖 permission-request、setup、session-end 三类)。
40
42
 
@@ -42,9 +44,11 @@ PRD 未要求规范中包含输入校验或路径白名单策略。这是一个
42
44
 
43
45
  `.omc/state/` 下的 `agent-replay-*.jsonl` 文件包含完整的 agent 对话历史,可能含有代码、密钥片段、用户指令等敏感信息。PRD 的"状态文件读写规范"仅关注并发锁,未要求规范中包含:
44
46
 
45
- - 敏感字段识别和脱敏策略
46
- - 文件权限设置(如 chmod 600)
47
- - 数据保留期限和清理策略
47
+ * 敏感字段识别和脱敏策略
48
+
49
+ * 文件权限设置(如 chmod 600)
50
+
51
+ * 数据保留期限和清理策略
48
52
 
49
53
  ---
50
54
 
@@ -54,9 +58,11 @@ PRD 未要求规范中包含输入校验或路径白名单策略。这是一个
54
58
 
55
59
  PRD 的 Hook 执行顺序规范(P0-1)定义了正常时序,但完全没有覆盖以下场景:
56
60
 
57
- - `PreToolUse` hook 超时或崩溃 → Claude 是否继续执行工具调用?
58
- - `PostToolUse` hook 写状态文件失败 → 状态是否回滚?下次读取会得到什么?
59
- - `Stop` hook 执行中 Claude 进程被强制终止 临时状态文件是否泄漏?
61
+ * `PreToolUse` hook 超时或崩溃 → Claude 是否继续执行工具调用?
62
+
63
+ * `PostToolUse` hook 写状态文件失败状态是否回滚?下次读取会得到什么?
64
+
65
+ * `Stop` hook 执行中 Claude 进程被强制终止 → 临时状态文件是否泄漏?
60
66
 
61
67
  实际的 `hooks.json` 中没有超时配置,没有重试策略,没有 fallback。PRD 要求制定的规范如果不覆盖这些场景,规范本身就是不完整的。
62
68
 
@@ -64,9 +70,11 @@ PRD 的 Hook 执行顺序规范(P0-1)定义了正常时序,但完全没有
64
70
 
65
71
  PRD 提到"状态文件并发读写冲突"是已知问题,但规范要求仅停留在"禁止并发写入"这一预防层面。没有要求定义:
66
72
 
67
- - 检测到损坏 JSON 时的恢复流程
68
- - 部分写入(写到一半进程崩溃)的检测和修复
69
- - 状态文件版本不兼容时的迁移路径
73
+ * 检测到损坏 JSON 时的恢复流程
74
+
75
+ * 部分写入(写到一半进程崩溃)的检测和修复
76
+
77
+ * 状态文件版本不兼容时的迁移路径
70
78
 
71
79
  当前 `.omc/state/` 下存在 `last-tool-error.json`,说明错误状态已经在被持久化,但没有对应的清理和恢复规范。
72
80
 
@@ -81,17 +89,21 @@ ERROR --> SHUTDOWN : 错误处理完成
81
89
 
82
90
  问题:如果"错误处理"本身也失败了,状态机卡在 `ERROR` 状态,没有强制退出路径。这是一个死状态(dead state)。此外:
83
91
 
84
- - `WAITING` 状态没有超时转换,agent 可以永久等待用户输入
85
- - `IDLE` 状态没有最大存活时间,资源永不释放
86
- - 没有定义 `ZOMBIE` 状态(进程已退出但状态文件未清理)
92
+ * `WAITING` 状态没有超时转换,agent 可以永久等待用户输入
93
+
94
+ * `IDLE` 状态没有最大存活时间,资源永不释放
95
+
96
+ * 没有定义 `ZOMBIE` 状态(进程已退出但状态文件未清理)
87
97
 
88
98
  ### [HIGH] 并发写入"禁止"策略的执行机制缺失
89
99
 
90
100
  P0-2 要求"禁止并发写入同一状态文件",但 PRD 没有说明这个禁止是如何被强制执行的:
91
101
 
92
- - 是文件系统锁(flock)?
93
- - 是应用层乐观锁(版本号 CAS)?
94
- - 是进程间信号量?
102
+ * 是文件系统锁(flock)?
103
+
104
+ * 是应用层乐观锁(版本号 CAS)?
105
+
106
+ * 是进程间信号量?
95
107
 
96
108
  在 Windows 平台(当前开发环境为 Windows 11)上,`flock` 语义与 Unix 不同,Node.js 的文件锁行为存在已知差异。PRD 完全没有提及跨平台兼容性。
97
109
 
@@ -99,10 +111,11 @@ P0-2 要求"禁止并发写入同一状态文件",但 PRD 没有说明这个
99
111
 
100
112
  AC-02 要求新用户 5 分钟内选出正确 skill,但决策树(图 4.1)没有覆盖:
101
113
 
102
- - 用户输入同时匹配多个 skill 触发词时的优先级
103
- - 用户输入不匹配任何分支时的 fallback 路径
104
- - `autopilot` 和 `ultrapilot` 互斥规则在决策树中没有体现
114
+ * 用户输入同时匹配多个 skill 触发词时的优先级
105
115
 
116
+ * 用户输入不匹配任何分支时的 fallback 路径
117
+
118
+ * `autopilot` 和 `ultrapilot` 互斥规则在决策树中没有体现
106
119
 
107
120
  ---
108
121
 
@@ -114,10 +127,13 @@ AC-02 要求新用户 5 分钟内选出正确 skill,但决策树(图 4.1)
114
127
 
115
128
  以 P0-2"状态文件读写规范"为例,PRD 只说"明确读写锁策略,禁止并发写入",但没有回答:
116
129
 
117
- - 用什么锁机制?(文件锁 / 内存锁 / 数据库事务)
118
- - 锁的粒度是什么?(文件级 / 字段级)
119
- - 锁超时时间是多少?
120
- - 死锁检测和解除策略是什么?
130
+ * 用什么锁机制?(文件锁 / 内存锁 / 数据库事务)
131
+
132
+ * 锁的粒度是什么?(文件级 / 字段级)
133
+
134
+ * 锁超时时间是多少?
135
+
136
+ * 死锁检测和解除策略是什么?
121
137
 
122
138
  这意味着实现者拿到这份 PRD 后,仍然需要自行设计所有关键决策。PRD 没有减少任何歧义。
123
139
 
@@ -133,10 +149,13 @@ AC-04:"三类 BUG 来源均有对应规范" — 验证方法是"逐一映射
133
149
 
134
150
  "新用户 5 分钟内选出正确 skill,准确率 ≥ 80%"需要用户测试。但 PRD 没有定义:
135
151
 
136
- - "新用户"的定义(完全没用过 ultrapower?还是没用过 v5.x?)
137
- - "正确 skill"由谁判定?(存在主观性)
138
- - 3 个典型场景是哪 3 个?(不同场景难度差异极大)
139
- - 测试在什么环境下进行?(有无文档辅助?)
152
+ * "新用户"的定义(完全没用过 ultrapower?还是没用过 v5.x?)
153
+
154
+ * "正确 skill"由谁判定?(存在主观性)
155
+
156
+ * 3 个典型场景是哪 3 个?(不同场景难度差异极大)
157
+
158
+ * 测试在什么环境下进行?(有无文档辅助?)
140
159
 
141
160
  这个 AC 在当前形式下无法被客观验证,也无法被重复执行。
142
161
 
@@ -162,9 +181,11 @@ PRD 没有分析这两个目标之间的张力,也没有提供解决方案。
162
181
 
163
182
  实际上,从 hooks 目录结构来看,还存在以下未被 P0 覆盖的运行时风险:
164
183
 
165
- - `recovery` hook:崩溃恢复逻辑的规范缺失
166
- - `pre-compact` / `preemptive-compaction`:上下文压缩时序的规范缺失
167
- - `subagent-tracker`:子 agent 追踪状态的一致性规范缺失
184
+ * `recovery` hook:崩溃恢复逻辑的规范缺失
185
+
186
+ * `pre-compact` / `preemptive-compaction`:上下文压缩时序的规范缺失
187
+
188
+ * `subagent-tracker`:子 agent 追踪状态的一致性规范缺失
168
189
 
169
190
  ---
170
191
 
@@ -174,9 +195,11 @@ PRD 没有分析这两个目标之间的张力,也没有提供解决方案。
174
195
 
175
196
  P2 要求制定 Skill、Agent、Hook 三类标准模板。但当前系统规模是:
176
197
 
177
- - 49 个 agent
178
- - 35 个 hook
179
- - 20+skill
198
+ * 49 个 agent
199
+
200
+ * 35hook
201
+
202
+ * 20+ 个 skill
180
203
 
181
204
  制定模板需要先对现有实现进行全面审计,提炼共性,识别差异,处理例外情况。这不是"写几个模板文件"的工作量,而是一次系统性的架构梳理。PRD 将其列为 P2(可选),但实际上它是 P0 规范能否落地的前提条件。
182
205
 
@@ -213,13 +236,13 @@ PRD 在第 7 节明确将"自动化规范检查工具"和"规范合规性 CI 检
213
236
 
214
237
  1. **PRD 没有定义规范内容,只定义了规范的名称** — 实现者无法从这份 PRD 推导出任何具体的规范条目。必须在 PRD 中至少给出每个规范文档的核心条目草稿。
215
238
 
216
- 2. **状态文件安全边界完全缺失** — 路径遍历风险、敏感数据明文存储、hook 命令注入面均未被识别,规范体系不能在安全问题上留白。
239
+ 1. **状态文件安全边界完全缺失** — 路径遍历风险、敏感数据明文存储、hook 命令注入面均未被识别,规范体系不能在安全问题上留白。
217
240
 
218
- 3. **验收标准不可验证** — AC-01 和 AC-04 是存在性检查而非质量检查;AC-02 缺乏可重复执行的测量方法。必须重写所有 AC,使其具备明确的通过/失败判定条件。
241
+ 1. **验收标准不可验证** — AC-01 和 AC-04 是存在性检查而非质量检查;AC-02 缺乏可重复执行的测量方法。必须重写所有 AC,使其具备明确的通过/失败判定条件。
219
242
 
220
- 4. **Agent 生命周期状态机存在死状态** — `ERROR` 状态没有强制退出路径,`WAITING` 状态没有超时,这是会在生产环境中触发的设计缺陷,不能进入实现。
243
+ 1. **Agent 生命周期状态机存在死状态** — `ERROR` 状态没有强制退出路径,`WAITING` 状态没有超时,这是会在生产环境中触发的设计缺陷,不能进入实现。
221
244
 
222
- 5. **跨平台兼容性(Windows)完全未考虑** — 文件锁策略在 Windows 上的行为与 Unix 不同,这是当前开发环境的直接风险,必须在 P0 规范中明确处理。
245
+ 1. **跨平台兼容性(Windows)完全未考虑** — 文件锁策略在 Windows 上的行为与 Unix 不同,这是当前开发环境的直接风险,必须在 P0 规范中明确处理。
223
246
 
224
247
  ### 修复建议(按优先级)
225
248
 
@@ -55,16 +55,23 @@ PRD 的三分类遗漏了:SubagentStart/Stop、PreCompact、PermissionRequest
55
55
  PRD 提到"并发保护",实际代码中已有实现,但实现细节比 PRD 描述的更复杂,规范需要准确反映这些细节。
56
56
 
57
57
  已实现的并发保护机制(`src/lib/atomic-write.ts`):
58
- - 使用 `temp file + atomic rename` 模式(`wx` 标志确保独占创建)
59
- - 写入前 `fsync` 确保数据落盘
60
- - rename 后尝试目录级 `fsync`(Windows 上可能失败,代码已处理)
61
- - 同步版本(`atomicWriteJsonSync`)和异步版本(`atomicWriteJson`)均已实现
58
+
59
+ * 使用 `temp file + atomic rename` 模式(`wx` 标志确保独占创建)
60
+
61
+ * 写入前 `fsync` 确保数据落盘
62
+
63
+ * rename 后尝试目录级 `fsync`(Windows 上可能失败,代码已处理)
64
+
65
+ * 同步版本(`atomicWriteJsonSync`)和异步版本(`atomicWriteJson`)均已实现
62
66
 
63
67
  **已知问题的根因**(Race Condition,2026-02-12):
64
68
  subagent-tracker 的并发写入问题实际上已有专门的缓解机制(`src/hooks/subagent-tracker/index.ts`):
65
- - `pendingWrites` Map 实现写入防抖(100ms debounce)
66
- - `flushInProgress` Set 防止重复并发 flush
67
- - `mergeTrackerStates` 函数实现确定性状态合并(Math.max 计数器 + 时间戳仲裁)
69
+
70
+ * `pendingWrites` Map 实现写入防抖(100ms debounce)
71
+
72
+ * `flushInProgress` Set 防止重复并发 flush
73
+
74
+ * `mergeTrackerStates` 函数实现确定性状态合并(Math.max 计数器 + 时间戳仲裁)
68
75
 
69
76
  但规范中需要明确:**这套机制只保护 subagent-tracking.json,其他状态文件(team-state.json、ralph-state.json 等)使用的是 atomicWriteJsonSync,没有 debounce 层**。这是一个不一致性,规范应该统一说明各类状态文件的保护级别差异。
70
77
 
@@ -134,9 +141,11 @@ PRD 的 CLAUDE.md 描述与此基本一致,但遗漏了一个关键约束:`t
134
141
 
135
142
  PRD 描述的 Hook 系统是 ultrapower 特有的架构,不对应任何通用行业标准。这本身没有问题,但规范需要清晰定义:
136
143
 
137
- - Hook 的输入/输出契约(`HookInput` / `HookOutput` 接口)
138
- - Hook 的执行超时保证(当前代码未见明确超时限制)
139
- - Hook 失败时的降级行为(当前实现:大多数 hook 失败时返回 `{ continue: true }`,即静默降级)
144
+ * Hook 的输入/输出契约(`HookInput` / `HookOutput` 接口)
145
+
146
+ * Hook 的执行超时保证(当前代码未见明确超时限制)
147
+
148
+ * Hook 失败时的降级行为(当前实现:大多数 hook 失败时返回 `{ continue: true }`,即静默降级)
140
149
 
141
150
  **静默降级是一个重要的领域决策**,规范应该明确这是设计选择而非疏漏,并说明其理由(hook 不应阻塞用户工作流)。
142
151
 
@@ -217,7 +226,7 @@ Windows 上 `rename` 不是真正的原子操作(目标文件被持有时会
217
226
  ### 评分明细
218
227
 
219
228
  | 维度 | 得分 | 说明 |
220
- |------|------|------|
229
+ | ------ | ------ | ------ |
221
230
  | 技术规范完整性 | 5/10 | Hook 类型分类不完整,遗漏 8 个类型 |
222
231
  | Hook 时序设计准确性 | 6/10 | Stop 阶段优先级规则缺失,是核心遗漏 |
223
232
  | 状态文件并发保护方案 | 7/10 | 原子写入方案可行,但各状态文件保护级别不一致未说明 |
@@ -234,9 +243,9 @@ Windows 上 `rename` 不是真正的原子操作(目标文件被持有时会
234
243
 
235
244
  ### 建议修复的问题(可在迭代中处理)
236
245
 
237
- 5. 说明各状态文件的并发保护级别差异(subagent-tracker 有 debounce,其他没有)
238
- 6. 在决策树中增加"orchestrator 直接处理"分支
239
- 7. 记录 Windows 平台的 rename 语义差异
246
+ 1. 说明各状态文件的并发保护级别差异(subagent-tracker 有 debounce,其他没有)
247
+ 2. 在决策树中增加"orchestrator 直接处理"分支
248
+ 3. 记录 Windows 平台的 rename 语义差异
240
249
 
241
250
  ### 与 Product Review 的交叉验证
242
251
 
@@ -15,18 +15,18 @@
15
15
 
16
16
  ## 1. Strategic Fit (战略匹配: High)
17
17
 
18
- - Alignment: ultrapower 已迭代至 v5.0.21,拥有 49 个 agents、70 个 skills、35 个 hooks,系统复杂度已到达"规范真空"临界点。从 CHANGELOG 可见,v5.0.9~v5.0.14 的主要工作都是修复文档不一致、数量对不上、缓存嵌套等"规范缺失"导致的问题。这份 PRD 的战略时机是对的——不是超前,而是已经有点滞后。
18
+ * Alignment: ultrapower 已迭代至 v5.0.21,拥有 49 个 agents、70 个 skills、35 个 hooks,系统复杂度已到达"规范真空"临界点。从 CHANGELOG 可见,v5.0.9~v5.0.14 的主要工作都是修复文档不一致、数量对不上、缓存嵌套等"规范缺失"导致的问题。这份 PRD 的战略时机是对的——不是超前,而是已经有点滞后。
19
19
 
20
- - Differentiation: 规范体系本身不是差异化来源,但它是差异化能力(多 agent 编排)能被用户稳定使用的前提。没有规范,用户无法信任框架,贡献者无法安全扩展。
20
+ * Differentiation: 规范体系本身不是差异化来源,但它是差异化能力(多 agent 编排)能被用户稳定使用的前提。没有规范,用户无法信任框架,贡献者无法安全扩展。
21
21
 
22
- - Roadmap Fit: 与 Q1/Q2 目标高度契合。框架已从"能用"阶段进入"可靠用"阶段,规范体系是这个跃迁的基础设施。
22
+ * Roadmap Fit: 与 Q1/Q2 目标高度契合。框架已从"能用"阶段进入"可靠用"阶段,规范体系是这个跃迁的基础设施。
23
23
 
24
24
  ---
25
25
 
26
26
  ## 2. Prioritization Matrix (优先级矩阵)
27
27
 
28
28
  | 维度 | P0 运行时防护 | P1 用户使用规范 | P2 开发贡献规范 |
29
- |------|-------------|--------------|--------------|
29
+ | ------ | ------------- | -------------- | -------------- |
30
30
  | Impact | 5 | 4 | 3 |
31
31
  | Effort | 3 | 2 | 2 |
32
32
  | Score | 1.67 | 2.00 | 1.50 |
@@ -42,7 +42,7 @@ P0(Hook执行顺序、状态文件读写、Agent生命周期)是内部运行
42
42
  ## 3. Success Metrics (成功指标评估)
43
43
 
44
44
  | 指标 | 可量化性 | 问题 |
45
- |------|---------|------|
45
+ | ------ | --------- | ------ |
46
46
  | 并发场景覆盖率 100% | 中 | "并发场景"边界未定义,谁来认定"覆盖"? |
47
47
  | 新用户选出正确 skill ≤ 5分钟 | 高 | 需要用户测试数据,当前无基线,无法验证改善 |
48
48
  | 新增 skill 检查清单覆盖 100% | 高 | 可通过 CI 门禁自动验证,这是最强的指标 |
@@ -52,23 +52,28 @@ P0(Hook执行顺序、状态文件读写、Agent生命周期)是内部运行
52
52
 
53
53
  **最弱指标**:三类 BUG 来源全覆盖——需要先定义这三类是什么,否则无法验证。
54
54
 
55
- - Primary KPI: 新增 skill/agent/hook 的检查清单覆盖率(目标 100%,可 CI 验证)
56
- - Secondary KPI: 用户首次选出正确 skill 的时间(需建立基线测量)
55
+ * Primary KPI: 新增 skill/agent/hook 的检查清单覆盖率(目标 100%,可 CI 验证)
56
+
57
+ * Secondary KPI: 用户首次选出正确 skill 的时间(需建立基线测量)
57
58
 
58
59
  ---
59
60
 
60
61
  ## 4. 战略遗漏分析
61
62
 
62
63
  ### 遗漏 1:规范的"执行机制"缺失(高优先级)
64
+
63
65
  PRD 定义了规范内容,但没有说明规范如何被执行。文档规范如果没有 CI 门禁或 lint 规则支撑,会退化为"参考文档"而非"约束机制"。建议明确:哪些规范通过自动化工具强制执行,哪些依赖人工审查。
64
66
 
65
67
  ### 遗漏 2:规范的版本化策略缺失(中优先级)
68
+
66
69
  ultrapower 迭代速度快(v5.0.9 到 v5.0.21 在短期内完成),规范文档如何随版本演进?没有版本化策略,规范会很快过时,反而增加混乱。
67
70
 
68
71
  ### 遗漏 3:现有反模式的来源分析缺失(中优先级)
72
+
69
73
  PRD 提到"三类 BUG 来源有对应规范",但没有基于真实 issue/bug 数据来定义这三类。从 CHANGELOG 看,实际高频问题是:缓存嵌套、文档数量不一致、plugin 发布失败。规范应从真实痛点反推,而非自上而下设计。
70
74
 
71
75
  ### 遗漏 4:用户分层缺失(低优先级)
76
+
72
77
  P1 和 P2 面向不同用户群(终端用户 vs 贡献者),但 PRD 没有区分这两类用户的使用场景和需求差异,导致规范设计可能混淆受众。
73
78
 
74
79
  ---
@@ -80,8 +85,10 @@ P1 和 P2 面向不同用户群(终端用户 vs 贡献者),但 PRD 没有
80
85
  三个优先级(P0/P1/P2)同时在 MVP 中,实际上是三个独立的产品交付物。真正的 MVP 应该是:
81
86
 
82
87
  **建议 MVP(最小可验证版本):**
83
- - Skill 调用决策树(P1)——直接解决用户最高频痛点
84
- - 新增 skill 标准模板 + 检查清单(P2 子集)——可立即通过 CI 验证,形成闭环
88
+
89
+ * Skill 调用决策树(P1)——直接解决用户最高频痛点
90
+
91
+ * 新增 skill 标准模板 + 检查清单(P2 子集)——可立即通过 CI 验证,形成闭环
85
92
 
86
93
  P0 的运行时规范(Hook执行顺序、状态文件读写)更适合作为内部技术文档,不需要作为用户可见的产品功能交付。
87
94
 
@@ -9,10 +9,13 @@
9
9
 
10
10
  ## 1. Architecture Impact (架构影响)
11
11
 
12
- - Schema Changes: No(纯文档工程,不涉及数据模型变更)
13
- - API Changes: No(不修改任何运行时接口)
14
- - Runtime Impact: No(仅新增 docs/ 文件,修改 README.md 和 CLAUDE.md)
15
- - Build Pipeline Impact: No(无需修改 tsconfig.json、vitest.config.ts)
12
+ * Schema Changes: No(纯文档工程,不涉及数据模型变更)
13
+
14
+ * API Changes: No(不修改任何运行时接口)
15
+
16
+ * Runtime Impact: No(仅新增 docs/ 文件,修改 README.md 和 CLAUDE.md)
17
+
18
+ * Build Pipeline Impact: No(无需修改 tsconfig.json、vitest.config.ts)
16
19
 
17
20
  **关键发现**:本 PRD 的 Impact Scope 定义为"纯文档工程",但存在一个隐性架构影响被忽略——CLAUDE.md 的修改会直接影响所有 agent 的运行时行为(CLAUDE.md 在每次会话启动时被注入为系统上下文)。这不是普通文档修改,属于**运行时配置变更**,需要单独的回归测试策略。
18
21
 
@@ -20,10 +23,13 @@
20
23
 
21
24
  ## 2. Risk Assessment (风险评估)
22
25
 
23
- - Complexity Score (1-10): **3**
24
- - POC Required: No
25
- - Regression Risk: Medium(CLAUDE.md 修改影响 agent 行为)
26
- - Consistency Risk: High(规范文档与现有代码实现存在潜在不一致)
26
+ * Complexity Score (1-10): **3**
27
+
28
+ * POC Required: No
29
+
30
+ * Regression Risk: Medium(CLAUDE.md 修改影响 agent 行为)
31
+
32
+ * Consistency Risk: High(规范文档与现有代码实现存在潜在不一致)
27
33
 
28
34
  ### 风险明细
29
35
 
@@ -48,7 +54,7 @@ PRD P0 提到"禁止并发写入同一状态文件",但 `mode-registry/index.t
48
54
  ### PRD 已列出文件(合理)
49
55
 
50
56
  | 文件 | 评估 |
51
- |------|------|
57
+ | ------ | ------ |
52
58
  | `docs/standards/runtime-protection.md` | 合理,对应 P0 Hook/状态规范 |
53
59
  | `docs/standards/user-guide.md` | 合理,对应 P1 决策树/路由规范 |
54
60
  | `docs/standards/contribution-guide.md` | 合理,对应 P2 贡献检查清单 |
@@ -83,26 +89,35 @@ PRD P1 包含"常见反模式清单",但 Impact Scope 中未列出对应文件
83
89
 
84
90
  从现有代码反向提取规范,确保文档与实现一致:
85
91
 
86
- - 从 `src/hooks/bridge-normalize.ts` 提取 Hook 字段白名单规范
87
- - 从 `src/hooks/mode-registry/index.ts` 提取状态机转换规则和 stale marker 阈值
88
- - 从 `src/agents/definitions.ts` 提取 Agent 生命周期规范
89
- - 从 `src/hooks/guards/pre-tool.ts`、`post-tool.ts` 提取 Hook 执行顺序
92
+ * 从 `src/hooks/bridge-normalize.ts` 提取 Hook 字段白名单规范
93
+
94
+ * 从 `src/hooks/mode-registry/index.ts` 提取状态机转换规则和 stale marker 阈值
95
+
96
+ * 从 `src/agents/definitions.ts` 提取 Agent 生命周期规范
97
+
98
+ * 从 `src/hooks/guards/pre-tool.ts`、`post-tool.ts` 提取 Hook 执行顺序
90
99
 
91
100
  撰写文件:`runtime-protection.md`、`hook-execution-order.md`、`state-machine.md`、`agent-lifecycle.md`
92
101
 
93
102
  ### 阶段二:规范扩展(2-3天)
94
103
 
95
- - 撰写 `user-guide.md`(Skill 调用决策树 + Agent 路由规范)
96
- - 撰写 `anti-patterns.md`(常见反模式清单)
97
- - 撰写 `contribution-guide.md`(贡献检查清单)
98
- - 撰写 3 个模板文件(skill/agent/hook)
99
- - 撰写 `docs/standards/README.md`(目录索引)
104
+ * 撰写 `user-guide.md`(Skill 调用决策树 + Agent 路由规范)
105
+
106
+ * 撰写 `anti-patterns.md`(常见反模式清单)
107
+
108
+ * 撰写 `contribution-guide.md`(贡献检查清单)
109
+
110
+ * 撰写 3 个模板文件(skill/agent/hook)
111
+
112
+ * 撰写 `docs/standards/README.md`(目录索引)
100
113
 
101
114
  ### 阶段三:集成与验证(1天)
102
115
 
103
- - 更新 `README.md` 指向新规范
104
- - 审慎修改 `CLAUDE.md`(仅追加,不删除现有规则)
105
- - 人工验证:用新模板创建一个 demo skill,确认模板可用
116
+ * 更新 `README.md` 指向新规范
117
+
118
+ * 审慎修改 `CLAUDE.md`(仅追加,不删除现有规则)
119
+
120
+ * 人工验证:用新模板创建一个 demo skill,确认模板可用
106
121
 
107
122
  ---
108
123
 
@@ -124,9 +139,11 @@ P0 规范"禁止并发写入同一状态文件"目前仅靠约定,`mode-regist
124
139
 
125
140
  ## Conclusion (结论)
126
141
 
127
- - **结论**: Pass(条件通过)
128
- - **Estimated Effort**: 6-8 天(1 名工程师)
129
- - **综合评分**: 7/10
142
+ * **结论**: Pass(条件通过)
143
+
144
+ * **Estimated Effort**: 6-8 天(1 名工程师)
145
+
146
+ * **综合评分**: 7/10
130
147
 
131
148
  **通过理由**:技术可行性高,纯文档工程,无运行时风险,团队具备完整技术栈。
132
149
 
@@ -137,6 +154,9 @@ P0 规范"禁止并发写入同一状态文件"目前仅靠约定,`mode-regist
137
154
  4. TD-4(并发写入原子性)建议在本次迭代中一并解决,避免规范与实现脱节
138
155
 
139
156
  **扣分项(-3分)**:
140
- - Impact Scope 遗漏 5 个关键文件(-1.5)
141
- - 未识别 CLAUDE.md 的运行时影响(-1)
142
- - 未规划规范与代码的同步机制(-0.5)
157
+
158
+ * Impact Scope 遗漏 5 个关键文件(-1.5
159
+
160
+ * 未识别 CLAUDE.md 的运行时影响(-1)
161
+
162
+ * 未规划规范与代码的同步机制(-0.5)
@@ -14,7 +14,7 @@
14
14
  本 PRD 涉及三类核心用户,其旅程差异显著:
15
15
 
16
16
  | 用户类型 | 核心目标 | 当前 PRD 覆盖 |
17
- |---------|---------|-------------|
17
+ | --------- | --------- | ------------- |
18
18
  | 新用户(首次使用) | 5 分钟内选出正确 skill | AC-02 有提及,但路径未设计 |
19
19
  | 日常使用者 | 快速决策、避免反模式 | P1 有规划,细节缺失 |
20
20
  | 贡献者 | 新增 skill/agent/hook | P2 有规划,模板未定义 |
@@ -22,20 +22,28 @@
22
22
  ### 流程问题逐项分析
23
23
 
24
24
  **Step 1 - 用户入口(发现阶段)**
25
- - 问题:PRD 未定义用户从哪里"进入"规范体系。是 README?是 CLAUDE.md?是 AGENTS.md?
26
- - 建议:明确规范体系的单一入口文档,避免用户在 49 agents + 70 个 skills 的海洋中迷失。
25
+
26
+ * 问题:PRD 未定义用户从哪里"进入"规范体系。是 README?是 CLAUDE.md?是 AGENTS.md?
27
+
28
+ * 建议:明确规范体系的单一入口文档,避免用户在 49 个 agents + 70 个 skills 的海洋中迷失。
27
29
 
28
30
  **Step 2 - 决策树(选择 skill 阶段)**
29
- - 问题:P1 提到"Skill 调用决策树",但 PRD 未描述决策树的维度和深度。用户面对 70 个 skills,需要几步才能收敛到正确选择?
30
- - 建议:决策树不超过 3 层,每层不超过 5 个分支。第一层应基于用户意图("我想做什么"),而非系统分类("这是什么类型的 skill")。
31
+
32
+ * 问题:P1 提到"Skill 调用决策树",但 PRD 未描述决策树的维度和深度。用户面对 70 个 skills,需要几步才能收敛到正确选择?
33
+
34
+ * 建议:决策树不超过 3 层,每层不超过 5 个分支。第一层应基于用户意图("我想做什么"),而非系统分类("这是什么类型的 skill")。
31
35
 
32
36
  **Step 3 - 执行阶段(使用 skill)**
33
- - 问题:PRD 未涉及执行中的用户反馈机制。用户如何知道 skill 正在运行?如何知道出错了?
34
- - 建议:补充"执行状态可见性"规范,定义进度提示、错误提示的标准格式。
37
+
38
+ * 问题:PRD 未涉及执行中的用户反馈机制。用户如何知道 skill 正在运行?如何知道出错了?
39
+
40
+ * 建议:补充"执行状态可见性"规范,定义进度提示、错误提示的标准格式。
35
41
 
36
42
  **Step 4 - 错误恢复(出错后)**
37
- - 问题:AC-04 提到"三类 BUG 来源均有对应规范",但未说明用户视角的错误恢复路径。
38
- - 建议:合并 Step 3 & 4,设计"错误 -> 诊断 -> 恢复"的标准流程,而非仅列出 BUG 来源。
43
+
44
+ * 问题:AC-04 提到"三类 BUG 来源均有对应规范",但未说明用户视角的错误恢复路径。
45
+
46
+ * 建议:合并 Step 3 & 4,设计"错误 -> 诊断 -> 恢复"的标准流程,而非仅列出 BUG 来源。
39
47
 
40
48
  ---
41
49
 
@@ -43,27 +51,35 @@
43
51
 
44
52
  ### 决策树组件
45
53
 
46
- - 当前状态:仅在 MVP 范围中提及"Skill 调用决策树",无任何结构定义。
47
- - 改进点:需要定义决策树的呈现形式。纯文本 Markdown 表格?流程图?交互式命令行提示?
48
- - 建议:对于 CLI 工具,决策树应以"意图关键词 -> skill 名称"的对照表形式呈现,配合示例命令。
54
+ * 当前状态:仅在 MVP 范围中提及"Skill 调用决策树",无任何结构定义。
55
+
56
+ * 改进点:需要定义决策树的呈现形式。纯文本 Markdown 表格?流程图?交互式命令行提示?
57
+
58
+ * 建议:对于 CLI 工具,决策树应以"意图关键词 -> skill 名称"的对照表形式呈现,配合示例命令。
49
59
 
50
60
  ### 反模式清单组件
51
61
 
52
- - 当前状态:P1 列出"常见反模式清单",但未定义格式。
53
- - 改进点:反模式清单如果只是文字列表,用户不会在出错时主动查阅。
54
- - 建议:每条反模式应包含:错误现象描述 + 根因 + 正确做法 + 示例对比(Bad vs Good)。
62
+ * 当前状态:P1 列出"常见反模式清单",但未定义格式。
63
+
64
+ * 改进点:反模式清单如果只是文字列表,用户不会在出错时主动查阅。
65
+
66
+ * 建议:每条反模式应包含:错误现象描述 + 根因 + 正确做法 + 示例对比(Bad vs Good)。
55
67
 
56
68
  ### 状态文件规范组件(P0)
57
69
 
58
- - 当前状态:P0 包含"状态文件读写规范",但未说明用户如何感知状态。
59
- - 改进点:状态文件是内部机制,但用户需要知道"系统现在在做什么"。
60
- - 建议:规范中应包含面向用户的状态可见性标准,不仅仅是技术读写规范。
70
+ * 当前状态:P0 包含"状态文件读写规范",但未说明用户如何感知状态。
71
+
72
+ * 改进点:状态文件是内部机制,但用户需要知道"系统现在在做什么"。
73
+
74
+ * 建议:规范中应包含面向用户的状态可见性标准,不仅仅是技术读写规范。
61
75
 
62
76
  ### 贡献检查清单组件(P2)
63
77
 
64
- - 当前状态:P2 提到"贡献检查清单",格式未定义。
65
- - 改进点:检查清单如果条目过多,贡献者会跳过。
66
- - 建议:检查清单分为"必须项"(5 条以内)和"建议项",必须项用醒目标记区分。
78
+ * 当前状态:P2 提到"贡献检查清单",格式未定义。
79
+
80
+ * 改进点:检查清单如果条目过多,贡献者会跳过。
81
+
82
+ * 建议:检查清单分为"必须项"(5 条以内)和"建议项",必须项用醒目标记区分。
67
83
 
68
84
  ---
69
85
 
@@ -74,7 +90,7 @@
74
90
  ### 评分依据
75
91
 
76
92
  | 维度 | 得分 | 理由 |
77
- |------|------|------|
93
+ | ------ | ------ | ------ |
78
94
  | 效率(Efficiency) | 4/10 | AC-02"5 分钟选出正确 skill"是好目标,但 PRD 未提供实现路径。70 个 skills 无导航,5 分钟目标难以达成。 |
79
95
  | 清晰度(Clarity) | 5/10 | P0/P1/P2 分层清晰,但每层内部的用户交互点模糊。"规范"和"用户体验"之间的桥梁缺失。 |
80
96
  | 学习曲线(Learning Curve) | 5/10 | 有 Axiom 工作流路由表作为参考,但规范体系本身的入门路径未设计。新用户仍需阅读大量文档才能上手。 |
@@ -104,7 +120,10 @@ PRD 缺少对三类用户(新用户、日常用户、贡献者)的完整旅
104
120
 
105
121
  以下痛点在当前 PRD 中未被覆盖:
106
122
 
107
- - **并发冲突的用户感知**:AC-01 提到并发场景处理,但用户如何感知冲突、如何手动干预未定义。
108
- - **规范版本升级的迁移体验**:当规范体系从 v1 升级时,已有用户如何知道哪些内容变了?
109
- - **错误信息的可读性**:三类 BUG 来源有规范,但错误信息本身是否对用户友好未纳入范围。
110
- - **规范文档的可搜索性**:70 个 skills 的规范如果分散在多个文件,用户无法快速定位。需要统一的索引或搜索入口。
123
+ * **并发冲突的用户感知**:AC-01 提到并发场景处理,但用户如何感知冲突、如何手动干预未定义。
124
+
125
+ * **规范版本升级的迁移体验**:当规范体系从 v1 升级时,已有用户如何知道哪些内容变了?
126
+
127
+ * **错误信息的可读性**:三类 BUG 来源有规范,但错误信息本身是否对用户友好未纳入范围。
128
+
129
+ * **规范文档的可搜索性**:70 个 skills 的规范如果分散在多个文件,用户无法快速定位。需要统一的索引或搜索入口。