@liangjie559567/ultrapower 5.6.8 → 5.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/LICENSE +21 -21
- package/README.es.md +298 -298
- package/README.ja.md +298 -298
- package/README.ko.md +298 -298
- package/README.md +486 -486
- package/README.pt.md +289 -289
- package/README.vi.md +289 -289
- package/README.zh.md +300 -300
- package/agents/AGENTS.md +72 -72
- package/agents/analyst.md +162 -162
- package/agents/architect.md +170 -170
- package/agents/axiom-context-manager.md +91 -91
- package/agents/axiom-critic.md +62 -62
- package/agents/axiom-domain-expert.md +60 -60
- package/agents/axiom-evolution-engine.md +121 -121
- package/agents/axiom-product-director.md +66 -66
- package/agents/axiom-sub-prd-writer.md +87 -87
- package/agents/axiom-tech-lead.md +70 -70
- package/agents/axiom-ux-director.md +62 -62
- package/agents/code-reviewer.md +48 -48
- package/agents/critic.md +117 -117
- package/agents/dependency-expert.md +101 -101
- package/agents/document-specialist.md +98 -98
- package/agents/information-architect.md +338 -338
- package/agents/planner.md +117 -117
- package/agents/product-analyst.md +372 -372
- package/agents/product-manager.md +371 -371
- package/agents/quality-strategist.md +274 -274
- package/agents/ux-researcher.md +388 -388
- package/agents/writer.md +133 -133
- package/bridge/AGENTS.md +64 -64
- package/bridge/codex-server.cjs +2 -2
- package/bridge/gemini-server.cjs +1 -1
- package/bridge/gyoshu_bridge.py +846 -846
- package/commands/AGENTS.md +55 -55
- package/commands/ccg-workflow.md +40 -40
- package/dist/mcp/adapters/memory-adapter.d.ts +1 -1
- package/dist/mcp/adapters/state-adapter.d.ts +6 -6
- package/dist/mcp/adapters/trace-adapter.d.ts +2 -2
- package/dist/mcp/config/schema.d.ts +3 -3
- package/dist/mcp/config-schema.d.ts +3 -3
- package/docs/AGENTS.md +101 -101
- package/docs/ANALYTICS-SYSTEM.md +181 -181
- package/docs/ARCHITECTURE.md +624 -624
- package/docs/AXIOM.md +401 -401
- package/docs/CJK-IME-KNOWN-ISSUES.md +214 -214
- package/docs/CLAUDE.md +503 -503
- package/docs/COMPATIBILITY.md +1140 -1140
- package/docs/DELEGATION-ENFORCER.md +288 -288
- package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +106 -106
- package/docs/EVOLUTION.md +675 -675
- package/docs/FAQ.md +365 -365
- package/docs/FEATURES.md +1289 -1289
- package/docs/INSTALL.md +631 -631
- package/docs/INSTALL_FIX_SUMMARY.md +119 -119
- package/docs/INSTALL_FIX_VERIFICATION.md +67 -67
- package/docs/INSTALL_VERIFICATION_REPORT.md +83 -83
- package/docs/KNOWN_ISSUES.md +121 -121
- package/docs/LOCAL_INSTALL_VERIFICATION.md +188 -188
- package/docs/LOCAL_PLUGIN_INSTALL.md +115 -115
- package/docs/LOCAL_TEST_INSTALL_REPORT.md +102 -102
- package/docs/MAIN_DOCS_UPDATE_REPORT.md +54 -54
- package/docs/MIGRATION.md +1330 -1330
- package/docs/MIGRATION_GUIDE_v5.5.18.md +193 -193
- package/docs/NEXUS.md +598 -598
- package/docs/OMC-CLAUDE.md +487 -487
- package/docs/PERFORMANCE-MONITORING.md +568 -568
- package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +202 -202
- package/docs/QUICKSTART.md +116 -116
- package/docs/README.codex.md +131 -131
- package/docs/README.md +144 -144
- package/docs/README.opencode.md +372 -372
- package/docs/REFERENCE.md +1300 -1300
- package/docs/RELEASE.md +59 -59
- package/docs/RELEASE_GUIDE.md +266 -266
- package/docs/RELEASE_NOTES_v5.5.14.md +120 -120
- package/docs/RELEASE_RECOVERY.md +100 -100
- package/docs/RELEASE_SUMMARY_v5.5.18.md +80 -80
- package/docs/SYNC-SYSTEM.md +565 -565
- package/docs/TIERED_AGENTS_V2.md +504 -504
- package/docs/TUTORIAL.md +254 -254
- package/docs/UPGRADE_VERIFICATION.md +556 -556
- package/docs/UPGRADE_VERIFICATION_REPORT.md +112 -112
- package/docs/USER_GUIDE.md +2274 -2274
- package/docs/VALIDATION_REPORT.md +235 -235
- package/docs/VERIFICATION_SUMMARY.md +137 -137
- package/docs/adr/001-worker-state-adapter.md +214 -214
- package/docs/adr/002-caching-strategy.md +133 -133
- package/docs/adr/003-gradual-migration.md +250 -250
- package/docs/adr/template.md +121 -121
- package/docs/agent-templates/AGENTS.md +34 -34
- package/docs/agent-templates/README.md +135 -135
- package/docs/agent-templates/base-agent.md +89 -89
- package/docs/agent-templates/tier-instructions.md +120 -120
- package/docs/api/assets/highlight.css +85 -85
- package/docs/api/assets/style.css +1633 -1633
- package/docs/api/classes/ContextCollector.html +21 -21
- package/docs/api/functions/activateUltrawork.html +2 -2
- package/docs/api/functions/addCustomNote.html +5 -5
- package/docs/api/functions/addDirective.html +2 -2
- package/docs/api/functions/addManualEntry.html +2 -2
- package/docs/api/functions/addPattern.html +3 -3
- package/docs/api/functions/addWorker.html +2 -2
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -2
- package/docs/api/functions/analyzeContextUsage.html +2 -2
- package/docs/api/functions/appendProgress.html +2 -2
- package/docs/api/functions/appendSessionId.html +2 -2
- package/docs/api/functions/applyCommentFilters.html +3 -3
- package/docs/api/functions/assignFileToWorker.html +2 -2
- package/docs/api/functions/backgroundUpdateCheck.html +2 -2
- package/docs/api/functions/buildAxiomBootContext.html +1 -1
- package/docs/api/functions/buildBoulderContinuation.html +2 -2
- package/docs/api/functions/buildDelegationTable.html +2 -2
- package/docs/api/functions/buildKeyTriggersSection.html +2 -2
- package/docs/api/functions/buildOrchestratorReminder.html +2 -2
- package/docs/api/functions/buildUseAvoidSection.html +2 -2
- package/docs/api/functions/buildVerificationReminder.html +2 -2
- package/docs/api/functions/canResumeAutopilot.html +10 -10
- package/docs/api/functions/canStartMode.html +5 -5
- package/docs/api/functions/cancelAutopilot.html +3 -3
- package/docs/api/functions/cancelUltraQA.html +2 -2
- package/docs/api/functions/checkBackgroundNotifications.html +2 -2
- package/docs/api/functions/checkBoulderContinuation.html +2 -2
- package/docs/api/functions/checkDuplicateTriggers.html +2 -2
- package/docs/api/functions/checkExpertGate.html +1 -1
- package/docs/api/functions/checkForComments.html +2 -2
- package/docs/api/functions/checkForUpdates.html +2 -2
- package/docs/api/functions/checkIncompleteTodos.html +13 -13
- package/docs/api/functions/checkPersistentModes.html +3 -3
- package/docs/api/functions/cleanupOrphanedState.html +2 -2
- package/docs/api/functions/cleanupStaleAgents.html +2 -2
- package/docs/api/functions/cleanupTransientState.html +2 -2
- package/docs/api/functions/clearAgentUsageState.html +1 -1
- package/docs/api/functions/clearAllModeStates.html +2 -2
- package/docs/api/functions/clearAutopilot.html +2 -2
- package/docs/api/functions/clearAutopilotState.html +2 -2
- package/docs/api/functions/clearBeadsContext.html +2 -2
- package/docs/api/functions/clearBoulderState.html +2 -2
- package/docs/api/functions/clearDetectionState.html +2 -2
- package/docs/api/functions/clearInjectedPaths.html +2 -2
- package/docs/api/functions/clearInjectedRules.html +2 -2
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -2
- package/docs/api/functions/clearModeState.html +10 -10
- package/docs/api/functions/clearProjectMemorySession.html +4 -4
- package/docs/api/functions/clearRalphState.html +2 -2
- package/docs/api/functions/clearRapidFireDebounce.html +2 -2
- package/docs/api/functions/clearSkillSession.html +2 -2
- package/docs/api/functions/clearThinkModeState.html +2 -2
- package/docs/api/functions/clearTrackingState.html +2 -2
- package/docs/api/functions/clearUltraQAState.html +2 -2
- package/docs/api/functions/clearVerificationState.html +3 -3
- package/docs/api/functions/commandExists.html +2 -2
- package/docs/api/functions/compareVersions.html +3 -3
- package/docs/api/functions/completeUltraQA.html +2 -2
- package/docs/api/functions/completeUltrapilot.html +2 -2
- package/docs/api/functions/completeWorker.html +2 -2
- package/docs/api/functions/containsTokenLimitError.html +2 -2
- package/docs/api/functions/createAgentToolRestrictions.html +3 -3
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -1
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -7
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -7
- package/docs/api/functions/createBackgroundTaskManager.html +2 -2
- package/docs/api/functions/createBoulderState.html +2 -2
- package/docs/api/functions/createCommentCheckerHook.html +6 -6
- package/docs/api/functions/createCompactCheckpoint.html +2 -2
- package/docs/api/functions/createContentHash.html +2 -2
- package/docs/api/functions/createContextInjectorHook.html +7 -7
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -9
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -6
- package/docs/api/functions/createEnvContext.html +2 -2
- package/docs/api/functions/createHookOutput.html +4 -4
- package/docs/api/functions/createLearnedSkillsHook.html +6 -6
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -2
- package/docs/api/functions/createModeMarker.html +6 -6
- package/docs/api/functions/createPrd.html +2 -2
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -6
- package/docs/api/functions/createRalphLoopHook.html +2 -2
- package/docs/api/functions/createRecoveryHook.html +7 -7
- package/docs/api/functions/createRulesInjectorHook.html +8 -8
- package/docs/api/functions/createSimplePrd.html +2 -2
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -7
- package/docs/api/functions/createSisyphusSession.html +7 -7
- package/docs/api/functions/createThinkModeHook.html +7 -7
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -1
- package/docs/api/functions/createTodoContinuationHook.html +2 -2
- package/docs/api/functions/createUltraworkStateHook.html +2 -2
- package/docs/api/functions/deactivateUltrawork.html +8 -8
- package/docs/api/functions/decayHotPaths.html +2 -2
- package/docs/api/functions/decomposeTask.html +11 -11
- package/docs/api/functions/deepMerge.html +2 -2
- package/docs/api/functions/detectArchitectApproval.html +2 -2
- package/docs/api/functions/detectArchitectRejection.html +2 -2
- package/docs/api/functions/detectContextLimitError.html +2 -2
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -2
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -2
- package/docs/api/functions/detectEditError.html +2 -2
- package/docs/api/functions/detectEditErrorInOutput.html +2 -2
- package/docs/api/functions/detectEditErrorInText.html +2 -2
- package/docs/api/functions/detectExtractableMoment.html +2 -2
- package/docs/api/functions/detectKeywordsWithType.html +11 -11
- package/docs/api/functions/detectMagicKeywords.html +2 -2
- package/docs/api/functions/detectProjectEnvironment.html +2 -2
- package/docs/api/functions/detectRecoverableError.html +3 -3
- package/docs/api/functions/detectSessionErrorType.html +2 -2
- package/docs/api/functions/detectSlashCommand.html +3 -3
- package/docs/api/functions/detectThinkKeyword.html +2 -2
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -2
- package/docs/api/functions/discoverAllCommands.html +2 -2
- package/docs/api/functions/enablePrdMode.html +2 -2
- package/docs/api/functions/enhancePrompt.html +2 -2
- package/docs/api/functions/ensureAutopilotDir.html +2 -2
- package/docs/api/functions/ensureDirectoryStructure.html +2 -2
- package/docs/api/functions/ensureModeStateDir.html +2 -2
- package/docs/api/functions/ensureSkillsDir.html +2 -2
- package/docs/api/functions/estimateTokens.html +2 -2
- package/docs/api/functions/executeSlashCommand.html +2 -2
- package/docs/api/functions/expandCommand.html +8 -8
- package/docs/api/functions/expandCommandPrompt.html +6 -6
- package/docs/api/functions/expandCommands.html +2 -2
- package/docs/api/functions/exportSessionSummary.html +2 -2
- package/docs/api/functions/exportWisdomToNotepad.html +2 -2
- package/docs/api/functions/extractPromptText.html +11 -11
- package/docs/api/functions/extractSlashPromptText.html +2 -2
- package/docs/api/functions/extractThinkPromptText.html +2 -2
- package/docs/api/functions/failWorker.html +2 -2
- package/docs/api/functions/findCommand.html +2 -2
- package/docs/api/functions/findMatchingSkills.html +2 -2
- package/docs/api/functions/findPlannerPlans.html +3 -3
- package/docs/api/functions/findPrdPath.html +2 -2
- package/docs/api/functions/findPreviousThinkingContent.html +1 -1
- package/docs/api/functions/findProgressPath.html +2 -2
- package/docs/api/functions/findProjectRoot.html +3 -3
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -2
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -2
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -2
- package/docs/api/functions/findRuleFiles.html +4 -4
- package/docs/api/functions/findSkillFiles.html +3 -3
- package/docs/api/functions/formatCancelMessage.html +2 -2
- package/docs/api/functions/formatCompactSummary.html +2 -2
- package/docs/api/functions/formatContextSummary.html +3 -3
- package/docs/api/functions/formatDirectivesForContext.html +2 -2
- package/docs/api/functions/formatFailureSummary.html +2 -2
- package/docs/api/functions/formatFile.html +2 -2
- package/docs/api/functions/formatFileChanges.html +2 -2
- package/docs/api/functions/formatFileList.html +2 -2
- package/docs/api/functions/formatFullContext.html +2 -2
- package/docs/api/functions/formatFullNotepad.html +2 -2
- package/docs/api/functions/formatLearningsForContext.html +2 -2
- package/docs/api/functions/formatNextStoryPrompt.html +2 -2
- package/docs/api/functions/formatNotepadContext.html +2 -2
- package/docs/api/functions/formatPatternsForContext.html +2 -2
- package/docs/api/functions/formatPrd.html +2 -2
- package/docs/api/functions/formatPrdStatus.html +2 -2
- package/docs/api/functions/formatPreCompactSummary.html +2 -2
- package/docs/api/functions/formatProgressForContext.html +2 -2
- package/docs/api/functions/formatProgressMessage.html +2 -2
- package/docs/api/functions/formatStory.html +2 -2
- package/docs/api/functions/formatSummary.html +2 -2
- package/docs/api/functions/formatUpdateNotification.html +2 -2
- package/docs/api/functions/formatValidationResults.html +2 -2
- package/docs/api/functions/generateExtractionPrompt.html +2 -2
- package/docs/api/functions/generateSkillFrontmatter.html +2 -2
- package/docs/api/functions/generateSummary.html +2 -2
- package/docs/api/functions/getActiveAgentCount.html +2 -2
- package/docs/api/functions/getActiveExclusiveMode.html +4 -4
- package/docs/api/functions/getActiveModes.html +2 -2
- package/docs/api/functions/getActivePlanPath.html +2 -2
- package/docs/api/functions/getAgentDefinitions.html +2 -2
- package/docs/api/functions/getAgentsByType.html +2 -2
- package/docs/api/functions/getAllCommands.html +2 -2
- package/docs/api/functions/getAllModeStatuses.html +5 -5
- package/docs/api/functions/getAllSkills.html +2 -2
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -2
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -2
- package/docs/api/functions/getAutoFormatMessage.html +2 -2
- package/docs/api/functions/getAutopilotStateAge.html +3 -3
- package/docs/api/functions/getAvailableAgents.html +2 -2
- package/docs/api/functions/getAxiomDir.html +1 -1
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -4
- package/docs/api/functions/getBeadsContextConfig.html +2 -2
- package/docs/api/functions/getBeadsInstructions.html +2 -2
- package/docs/api/functions/getBoulderFilePath.html +2 -2
- package/docs/api/functions/getCheckpointPath.html +2 -2
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -3
- package/docs/api/functions/getCommand.html +2 -2
- package/docs/api/functions/getCommandsDir.html +2 -2
- package/docs/api/functions/getCompactionQueueDepth.html +3 -3
- package/docs/api/functions/getCompletedWorkers.html +2 -2
- package/docs/api/functions/getDefaultMcpServers.html +1 -1
- package/docs/api/functions/getDefaultModelForCategory.html +2 -2
- package/docs/api/functions/getDetectionStats.html +2 -2
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -3
- package/docs/api/functions/getExecutionPrompt.html +2 -2
- package/docs/api/functions/getExpansionPrompt.html +3 -3
- package/docs/api/functions/getExpertGateMessage.html +1 -1
- package/docs/api/functions/getFailedWorkers.html +2 -2
- package/docs/api/functions/getFormatter.html +2 -2
- package/docs/api/functions/getGitDiffStats.html +2 -2
- package/docs/api/functions/getGlobalStateFilePath.html +4 -4
- package/docs/api/functions/getGoalCommand.html +2 -2
- package/docs/api/functions/getHighVariant.html +3 -3
- package/docs/api/functions/getInstallInfo.html +2 -2
- package/docs/api/functions/getInstalledVersion.html +2 -2
- package/docs/api/functions/getIssuesToFix.html +2 -2
- package/docs/api/functions/getLastDetection.html +2 -2
- package/docs/api/functions/getLearnerConfigValue.html +2 -2
- package/docs/api/functions/getLinter.html +2 -2
- package/docs/api/functions/getManualSection.html +2 -2
- package/docs/api/functions/getMemoryFilePaths.html +1 -1
- package/docs/api/functions/getModeMarkerFilePath.html +2 -2
- package/docs/api/functions/getModeStateFilePath.html +2 -2
- package/docs/api/functions/getNextStory.html +2 -2
- package/docs/api/functions/getNotepadPath.html +2 -2
- package/docs/api/functions/getNotepadStats.html +2 -2
- package/docs/api/functions/getOmcPrdPath.html +2 -2
- package/docs/api/functions/getOmcProgressPath.html +2 -2
- package/docs/api/functions/getOmcSystemPrompt.html +2 -2
- package/docs/api/functions/getOmcToolNames.html +3 -3
- package/docs/api/functions/getPatterns.html +2 -2
- package/docs/api/functions/getPhasePrompt.html +2 -2
- package/docs/api/functions/getPlanName.html +2 -2
- package/docs/api/functions/getPlanPath.html +2 -2
- package/docs/api/functions/getPlanProgress.html +2 -2
- package/docs/api/functions/getPlanSummaries.html +2 -2
- package/docs/api/functions/getPrdCompletionStatus.html +2 -2
- package/docs/api/functions/getPrdPath.html +2 -2
- package/docs/api/functions/getPrdStatus.html +2 -2
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -2
- package/docs/api/functions/getPriorityContext.html +2 -2
- package/docs/api/functions/getProgressContext.html +2 -2
- package/docs/api/functions/getProgressPath.html +2 -2
- package/docs/api/functions/getPromotionCandidates.html +2 -2
- package/docs/api/functions/getQAPrompt.html +2 -2
- package/docs/api/functions/getRalphContext.html +3 -3
- package/docs/api/functions/getReadmesForPath.html +2 -2
- package/docs/api/functions/getRecentLearnings.html +2 -2
- package/docs/api/functions/getRulesForPath.html +2 -2
- package/docs/api/functions/getRunningAgents.html +2 -2
- package/docs/api/functions/getRunningWorkers.html +2 -2
- package/docs/api/functions/getSessionTokenEstimate.html +2 -2
- package/docs/api/functions/getSkillsDir.html +2 -2
- package/docs/api/functions/getSpecPath.html +2 -2
- package/docs/api/functions/getStaleAgents.html +2 -2
- package/docs/api/functions/getStateDir.html +2 -2
- package/docs/api/functions/getStory.html +2 -2
- package/docs/api/functions/getSubagentStateFilePath.html +2 -2
- package/docs/api/functions/getThinkModeState.html +2 -2
- package/docs/api/functions/getThinkingConfig.html +3 -3
- package/docs/api/functions/getTopHotPaths.html +2 -2
- package/docs/api/functions/getTrackingStats.html +2 -2
- package/docs/api/functions/getTransitionPrompt.html +2 -2
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -2
- package/docs/api/functions/getValidationPrompt.html +2 -2
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -2
- package/docs/api/functions/getValidationStats.html +1 -1
- package/docs/api/functions/getValidationStatus.html +2 -2
- package/docs/api/functions/getWorkingMemory.html +2 -2
- package/docs/api/functions/handleBackgroundEvent.html +3 -3
- package/docs/api/functions/handleContextWindowRecovery.html +2 -2
- package/docs/api/functions/handleEditErrorRecovery.html +2 -2
- package/docs/api/functions/handlePermissionRequest.html +2 -2
- package/docs/api/functions/handleRecovery.html +10 -10
- package/docs/api/functions/handleSessionEnd.html +2 -2
- package/docs/api/functions/handleSessionRecovery.html +2 -2
- package/docs/api/functions/handleSharedFiles.html +7 -7
- package/docs/api/functions/handleSubagentStart.html +2 -2
- package/docs/api/functions/handleSubagentStop.html +2 -2
- package/docs/api/functions/hasBoulder.html +2 -2
- package/docs/api/functions/hasContentParts.html +1 -1
- package/docs/api/functions/hasModeState.html +3 -3
- package/docs/api/functions/hasPrd.html +2 -2
- package/docs/api/functions/hasTextContent.html +2 -2
- package/docs/api/functions/hasValidContent.html +3 -3
- package/docs/api/functions/incrementAgentCount.html +2 -2
- package/docs/api/functions/incrementRalphIteration.html +2 -2
- package/docs/api/functions/incrementReinforcement.html +2 -2
- package/docs/api/functions/initAutopilot.html +2 -2
- package/docs/api/functions/initNotepad.html +2 -2
- package/docs/api/functions/initPrd.html +2 -2
- package/docs/api/functions/initProgress.html +2 -2
- package/docs/api/functions/initUltrapilot.html +2 -2
- package/docs/api/functions/injectContextIntoText.html +2 -2
- package/docs/api/functions/injectPendingContext.html +3 -3
- package/docs/api/functions/injectRecoveryTextPart.html +2 -2
- package/docs/api/functions/install.html +2 -2
- package/docs/api/functions/integrateResults.html +5 -5
- package/docs/api/functions/isActiveModeRunning.html +2 -2
- package/docs/api/functions/isAllowedPath.html +2 -2
- package/docs/api/functions/isAlreadyHighVariant.html +2 -2
- package/docs/api/functions/isAutopilotActive.html +2 -2
- package/docs/api/functions/isAxiomEnabled.html +1 -1
- package/docs/api/functions/isClaudeInstalled.html +3 -3
- package/docs/api/functions/isClaudeModel.html +2 -2
- package/docs/api/functions/isCompactionInProgress.html +3 -3
- package/docs/api/functions/isDuplicateByContentHash.html +2 -2
- package/docs/api/functions/isDuplicateByRealPath.html +2 -2
- package/docs/api/functions/isExcludedCommand.html +2 -2
- package/docs/api/functions/isExtendedThinkingModel.html +1 -1
- package/docs/api/functions/isFileOwnedByWorker.html +2 -2
- package/docs/api/functions/isFormatterAvailable.html +2 -2
- package/docs/api/functions/isGptModel.html +2 -2
- package/docs/api/functions/isInstalled.html +2 -2
- package/docs/api/functions/isLearnerEnabled.html +2 -2
- package/docs/api/functions/isModeActive.html +6 -6
- package/docs/api/functions/isNonInteractive.html +1 -1
- package/docs/api/functions/isRecoverableError.html +2 -2
- package/docs/api/functions/isSafeCommand.html +2 -2
- package/docs/api/functions/isSessionRecoverable.html +2 -2
- package/docs/api/functions/isSharedFile.html +2 -2
- package/docs/api/functions/isThinkModeActive.html +2 -2
- package/docs/api/functions/isToolPart.html +2 -2
- package/docs/api/functions/isUltraQAActive.html +1 -1
- package/docs/api/functions/isWriteEditTool.html +2 -2
- package/docs/api/functions/learnFromToolOutput.html +7 -7
- package/docs/api/functions/lintFile.html +2 -2
- package/docs/api/functions/listAvailableCommands.html +2 -2
- package/docs/api/functions/listCommands.html +2 -2
- package/docs/api/functions/listPromotableLearnings.html +2 -2
- package/docs/api/functions/loadAgentPrompt.html +7 -7
- package/docs/api/functions/loadAgentUsageState.html +1 -1
- package/docs/api/functions/loadAllSkills.html +3 -3
- package/docs/api/functions/loadConfig.html +2 -2
- package/docs/api/functions/loadInjectedPaths.html +2 -2
- package/docs/api/functions/loadInjectedRules.html +2 -2
- package/docs/api/functions/loadLearnerConfig.html +2 -2
- package/docs/api/functions/loadProjectMemory.html +3 -3
- package/docs/api/functions/loadSkillById.html +2 -2
- package/docs/api/functions/mapDirectoryStructure.html +2 -2
- package/docs/api/functions/markStoryComplete.html +2 -2
- package/docs/api/functions/markStoryIncomplete.html +2 -2
- package/docs/api/functions/mergeAgentConfig.html +2 -2
- package/docs/api/functions/parseAxiomState.html +1 -1
- package/docs/api/functions/parseContextLimitError.html +2 -2
- package/docs/api/functions/parseProgress.html +2 -2
- package/docs/api/functions/parseRuleFrontmatter.html +10 -10
- package/docs/api/functions/parseSkillFile.html +2 -2
- package/docs/api/functions/parseSlashCommand.html +2 -2
- package/docs/api/functions/parseTokenLimitError.html +2 -2
- package/docs/api/functions/performUpdate.html +2 -2
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -2
- package/docs/api/functions/prependThinkingBlock.html +1 -1
- package/docs/api/functions/processAxiomBoot.html +1 -1
- package/docs/api/functions/processAxiomGuards.html +1 -1
- package/docs/api/functions/processBackgroundNotification.html +2 -2
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -2
- package/docs/api/functions/processEditOutput.html +2 -2
- package/docs/api/functions/processHook.html +3 -3
- package/docs/api/functions/processMessageForSkills.html +2 -2
- package/docs/api/functions/processOrchestratorPostTool.html +3 -3
- package/docs/api/functions/processOrchestratorPreTool.html +3 -3
- package/docs/api/functions/processPermissionRequest.html +2 -2
- package/docs/api/functions/processPreCompact.html +6 -6
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -3
- package/docs/api/functions/processResponseForDetection.html +3 -3
- package/docs/api/functions/processSessionEnd.html +2 -2
- package/docs/api/functions/processSetup.html +2 -2
- package/docs/api/functions/processSetupInit.html +2 -2
- package/docs/api/functions/processSetupMaintenance.html +2 -2
- package/docs/api/functions/processSlashCommand.html +2 -2
- package/docs/api/functions/processSubagentStart.html +2 -2
- package/docs/api/functions/processSubagentStop.html +2 -2
- package/docs/api/functions/processThinkMode.html +3 -3
- package/docs/api/functions/promoteLearning.html +2 -2
- package/docs/api/functions/pruneOldEntries.html +2 -2
- package/docs/api/functions/pruneOldStateFiles.html +2 -2
- package/docs/api/functions/readActiveContext.html +1 -1
- package/docs/api/functions/readAutopilotState.html +2 -2
- package/docs/api/functions/readBoulderState.html +2 -2
- package/docs/api/functions/readModeMarker.html +4 -4
- package/docs/api/functions/readNotepad.html +2 -2
- package/docs/api/functions/readPrd.html +2 -2
- package/docs/api/functions/readProgress.html +2 -2
- package/docs/api/functions/readProgressRaw.html +2 -2
- package/docs/api/functions/readProjectDecisions.html +1 -1
- package/docs/api/functions/readRalphState.html +2 -2
- package/docs/api/functions/readRecoveryMessages.html +2 -2
- package/docs/api/functions/readRecoveryParts.html +2 -2
- package/docs/api/functions/readTrackingState.html +3 -3
- package/docs/api/functions/readUltraQAState.html +2 -2
- package/docs/api/functions/readUltrapilotState.html +2 -2
- package/docs/api/functions/readUltraworkState.html +4 -4
- package/docs/api/functions/readUserPreferences.html +1 -1
- package/docs/api/functions/readVerificationState.html +3 -3
- package/docs/api/functions/recordArchitectFeedback.html +2 -2
- package/docs/api/functions/recordConflict.html +2 -2
- package/docs/api/functions/recordFailure.html +2 -2
- package/docs/api/functions/recordHookFire.html +2 -2
- package/docs/api/functions/recordHookResult.html +2 -2
- package/docs/api/functions/recordKeywordDetected.html +2 -2
- package/docs/api/functions/recordModeChange.html +2 -2
- package/docs/api/functions/recordPattern.html +2 -2
- package/docs/api/functions/recordSessionMetrics.html +2 -2
- package/docs/api/functions/recordSkillActivated.html +2 -2
- package/docs/api/functions/recordSkillInvoked.html +2 -2
- package/docs/api/functions/recordStoryProgress.html +2 -2
- package/docs/api/functions/recordValidationVerdict.html +2 -2
- package/docs/api/functions/registerBeadsContext.html +3 -3
- package/docs/api/functions/registerProjectMemoryContext.html +6 -6
- package/docs/api/functions/removeCodeBlocks.html +12 -12
- package/docs/api/functions/removeModeMarker.html +5 -5
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -2
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -2
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -2
- package/docs/api/functions/rescanProjectEnvironment.html +4 -4
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -2
- package/docs/api/functions/resumeAutopilot.html +2 -2
- package/docs/api/functions/runPreCommitChecks.html +2 -2
- package/docs/api/functions/runTests.html +2 -2
- package/docs/api/functions/runTypeCheck.html +2 -2
- package/docs/api/functions/sanitizeMessage.html +2 -2
- package/docs/api/functions/sanitizeMessages.html +2 -2
- package/docs/api/functions/saveAgentUsageState.html +1 -1
- package/docs/api/functions/saveInjectedPaths.html +2 -2
- package/docs/api/functions/saveInjectedRules.html +2 -2
- package/docs/api/functions/saveLearnerConfig.html +2 -2
- package/docs/api/functions/saveModeSummary.html +2 -2
- package/docs/api/functions/saveProjectMemory.html +3 -3
- package/docs/api/functions/saveVersionMetadata.html +2 -2
- package/docs/api/functions/setCurrentStory.html +2 -2
- package/docs/api/functions/setEnvironmentVariables.html +2 -2
- package/docs/api/functions/setLearnerConfigValue.html +2 -2
- package/docs/api/functions/setPriorityContext.html +2 -2
- package/docs/api/functions/shouldActivateThinkMode.html +3 -3
- package/docs/api/functions/shouldActivateUltrathink.html +2 -2
- package/docs/api/functions/shouldApplyRule.html +2 -2
- package/docs/api/functions/shouldCheckForUpdates.html +2 -2
- package/docs/api/functions/shouldCompleteByPrd.html +2 -2
- package/docs/api/functions/shouldPromptExtraction.html +2 -2
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -2
- package/docs/api/functions/shouldRetryValidation.html +2 -2
- package/docs/api/functions/shouldRunInBackground.html +8 -8
- package/docs/api/functions/spawnWorkers.html +7 -7
- package/docs/api/functions/startUltraQA.html +3 -3
- package/docs/api/functions/startUltrapilot.html +7 -7
- package/docs/api/functions/startValidationRound.html +2 -2
- package/docs/api/functions/startVerification.html +2 -2
- package/docs/api/functions/startsWithThinkingBlock.html +1 -1
- package/docs/api/functions/stopUltraQA.html +2 -2
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -2
- package/docs/api/functions/toSdkMcpFormat.html +2 -2
- package/docs/api/functions/trackAccess.html +2 -2
- package/docs/api/functions/trackProgress.html +5 -5
- package/docs/api/functions/transitionPhase.html +2 -2
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -9
- package/docs/api/functions/transitionToComplete.html +2 -2
- package/docs/api/functions/transitionToFailed.html +2 -2
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -2
- package/docs/api/functions/updateDirectoryAccess.html +2 -2
- package/docs/api/functions/updateExecution.html +2 -2
- package/docs/api/functions/updateExpansion.html +2 -2
- package/docs/api/functions/updatePlanning.html +2 -2
- package/docs/api/functions/updateQA.html +2 -2
- package/docs/api/functions/updateValidation.html +2 -2
- package/docs/api/functions/updateWorkerState.html +2 -2
- package/docs/api/functions/validateAgentConfig.html +2 -2
- package/docs/api/functions/validateCommitMessage.html +2 -2
- package/docs/api/functions/validateConfigFiles.html +2 -2
- package/docs/api/functions/validateExtractionRequest.html +2 -2
- package/docs/api/functions/validateMessage.html +1 -1
- package/docs/api/functions/validateMessages.html +1 -1
- package/docs/api/functions/validateSkillMetadata.html +2 -2
- package/docs/api/functions/writeAutopilotState.html +2 -2
- package/docs/api/functions/writeBoulderState.html +2 -2
- package/docs/api/functions/writePrd.html +2 -2
- package/docs/api/functions/writeRalphState.html +2 -2
- package/docs/api/functions/writeSkill.html +2 -2
- package/docs/api/functions/writeTrackingState.html +5 -5
- package/docs/api/functions/writeUltraQAState.html +2 -2
- package/docs/api/functions/writeUltrapilotState.html +2 -2
- package/docs/api/functions/writeUltraworkState.html +2 -2
- package/docs/api/functions/writeVerificationState.html +2 -2
- package/docs/api/hierarchy.html +1 -1
- package/docs/api/index.html +843 -843
- package/docs/api/interfaces/AgentConfig.html +18 -18
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -10
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -19
- package/docs/api/interfaces/AgentState.html +5 -5
- package/docs/api/interfaces/AgentUsageState.html +8 -8
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -5
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -3
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -5
- package/docs/api/interfaces/AutopilotConfig.html +26 -26
- package/docs/api/interfaces/AutopilotExecution.html +16 -16
- package/docs/api/interfaces/AutopilotExpansion.html +12 -12
- package/docs/api/interfaces/AutopilotPlanning.html +8 -8
- package/docs/api/interfaces/AutopilotQA.html +12 -12
- package/docs/api/interfaces/AutopilotResult.html +10 -10
- package/docs/api/interfaces/AutopilotState.html +36 -36
- package/docs/api/interfaces/AutopilotSummary.html +16 -16
- package/docs/api/interfaces/AutopilotValidation.html +10 -10
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -8
- package/docs/api/interfaces/AvailableAgent.html +5 -5
- package/docs/api/interfaces/AxiomBootInput.html +3 -3
- package/docs/api/interfaces/AxiomBootOutput.html +4 -4
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -4
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -4
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -5
- package/docs/api/interfaces/AxiomState.html +8 -8
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -11
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -8
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -8
- package/docs/api/interfaces/BackgroundTask.html +7 -7
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -26
- package/docs/api/interfaces/BeadsContextConfig.html +4 -4
- package/docs/api/interfaces/BoulderState.html +12 -12
- package/docs/api/interfaces/BuildInfo.html +6 -6
- package/docs/api/interfaces/CanStartResult.html +4 -4
- package/docs/api/interfaces/CancelResult.html +4 -4
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -4
- package/docs/api/interfaces/CodeConventions.html +5 -5
- package/docs/api/interfaces/CodebasePattern.html +5 -5
- package/docs/api/interfaces/CommandInfo.html +5 -5
- package/docs/api/interfaces/CommandMetadata.html +7 -7
- package/docs/api/interfaces/CommentCheckResult.html +10 -10
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -6
- package/docs/api/interfaces/CommentInfo.html +14 -14
- package/docs/api/interfaces/CommentPendingCall.html +18 -18
- package/docs/api/interfaces/CommitConfig.html +9 -9
- package/docs/api/interfaces/CompactCheckpoint.html +7 -7
- package/docs/api/interfaces/ContextEntry.html +14 -14
- package/docs/api/interfaces/ContextUsageResult.html +12 -12
- package/docs/api/interfaces/CustomNote.html +5 -5
- package/docs/api/interfaces/DelegationDecision.html +7 -7
- package/docs/api/interfaces/DelegationRoute.html +7 -7
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -5
- package/docs/api/interfaces/DelegationTrigger.html +6 -6
- package/docs/api/interfaces/DetectedKeyword.html +13 -13
- package/docs/api/interfaces/DetectionConfig.html +8 -8
- package/docs/api/interfaces/DetectionResult.html +13 -13
- package/docs/api/interfaces/DirectoryInfo.html +7 -7
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -6
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -6
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -8
- package/docs/api/interfaces/ExecuteResult.html +5 -5
- package/docs/api/interfaces/ExpandedCommand.html +4 -4
- package/docs/api/interfaces/ExternalModelPreference.html +4 -4
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -6
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -5
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -5
- package/docs/api/interfaces/FileOwnership.html +8 -8
- package/docs/api/interfaces/FormatConfig.html +7 -7
- package/docs/api/interfaces/FrameworkDetection.html +4 -4
- package/docs/api/interfaces/FullAgentConfig.html +26 -26
- package/docs/api/interfaces/GateCheckResult.html +5 -5
- package/docs/api/interfaces/GitBranchPattern.html +3 -3
- package/docs/api/interfaces/HookContext.html +5 -5
- package/docs/api/interfaces/HookDefinition.html +5 -5
- package/docs/api/interfaces/HookInput.html +18 -18
- package/docs/api/interfaces/HookOutput.html +10 -10
- package/docs/api/interfaces/HookResult.html +4 -4
- package/docs/api/interfaces/HotPath.html +6 -6
- package/docs/api/interfaces/InjectedPathsData.html +9 -9
- package/docs/api/interfaces/InjectedRulesData.html +10 -10
- package/docs/api/interfaces/InjectedSkillsData.html +8 -8
- package/docs/api/interfaces/InjectionResult.html +8 -8
- package/docs/api/interfaces/InstallOptions.html +9 -9
- package/docs/api/interfaces/InstallResult.html +10 -10
- package/docs/api/interfaces/IntegrationResult.html +14 -14
- package/docs/api/interfaces/LanguageDetection.html +5 -5
- package/docs/api/interfaces/LearnedSkill.html +16 -16
- package/docs/api/interfaces/LearnerConfig.html +18 -18
- package/docs/api/interfaces/LintConfig.html +7 -7
- package/docs/api/interfaces/MagicKeyword.html +4 -4
- package/docs/api/interfaces/MatchResult.html +6 -6
- package/docs/api/interfaces/MessageContext.html +8 -8
- package/docs/api/interfaces/MessageInfo.html +9 -9
- package/docs/api/interfaces/MessagePart.html +15 -15
- package/docs/api/interfaces/MessageWithModel.html +3 -3
- package/docs/api/interfaces/MessageWithParts.html +6 -6
- package/docs/api/interfaces/MessagesTransformHook.html +3 -3
- package/docs/api/interfaces/MessagesTransformInput.html +3 -3
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -3
- package/docs/api/interfaces/ModeConfig.html +13 -13
- package/docs/api/interfaces/ModeStatus.html +4 -4
- package/docs/api/interfaces/ModelRef.html +4 -4
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -2
- package/docs/api/interfaces/NotepadConfig.html +7 -7
- package/docs/api/interfaces/NotepadStats.html +11 -11
- package/docs/api/interfaces/NotificationCheckResult.html +8 -8
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -6
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -6
- package/docs/api/interfaces/OutputPart.html +4 -4
- package/docs/api/interfaces/PRD.html +9 -9
- package/docs/api/interfaces/PRDStatus.html +13 -13
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -8
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -16
- package/docs/api/interfaces/PendingContext.html +8 -8
- package/docs/api/interfaces/PermissionHookOutput.html +4 -4
- package/docs/api/interfaces/PermissionRequestInput.html +9 -9
- package/docs/api/interfaces/PersistentModeResult.html +9 -9
- package/docs/api/interfaces/PlanProgress.html +8 -8
- package/docs/api/interfaces/PlanSummary.html +10 -10
- package/docs/api/interfaces/PluginConfig.html +17 -17
- package/docs/api/interfaces/PreCommitResult.html +3 -3
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -4
- package/docs/api/interfaces/PreCompactInput.html +8 -8
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -14
- package/docs/api/interfaces/PriorityContextResult.html +5 -5
- package/docs/api/interfaces/ProgressEntry.html +11 -11
- package/docs/api/interfaces/ProgressLog.html +7 -7
- package/docs/api/interfaces/ProjectMemory.html +14 -14
- package/docs/api/interfaces/ProjectStructure.html +5 -5
- package/docs/api/interfaces/PromotionCandidate.html +9 -9
- package/docs/api/interfaces/PruneResult.html +5 -5
- package/docs/api/interfaces/QualityValidation.html +10 -10
- package/docs/api/interfaces/RalphLoopHook.html +4 -4
- package/docs/api/interfaces/RalphLoopOptions.html +5 -5
- package/docs/api/interfaces/RalphLoopState.html +21 -21
- package/docs/api/interfaces/RecoveryConfig.html +16 -16
- package/docs/api/interfaces/RecoveryMessageData.html +4 -4
- package/docs/api/interfaces/RecoveryResult.html +10 -10
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -8
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -7
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -9
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -9
- package/docs/api/interfaces/RegisterContextOptions.html +12 -12
- package/docs/api/interfaces/ReleaseInfo.html +9 -9
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -7
- package/docs/api/interfaces/ResolveOptions.html +6 -6
- package/docs/api/interfaces/ResolvedModel.html +5 -5
- package/docs/api/interfaces/RetryState.html +6 -6
- package/docs/api/interfaces/RuleFileCandidate.html +12 -12
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -6
- package/docs/api/interfaces/RuleInfo.html +18 -18
- package/docs/api/interfaces/RuleMetadata.html +9 -9
- package/docs/api/interfaces/RuleToInject.html +10 -10
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -2
- package/docs/api/interfaces/SessionEndInput.html +9 -9
- package/docs/api/interfaces/SessionMetrics.html +9 -9
- package/docs/api/interfaces/SessionState.html +5 -5
- package/docs/api/interfaces/SetupHookOutput.html +3 -3
- package/docs/api/interfaces/SetupInput.html +7 -7
- package/docs/api/interfaces/SetupResult.html +5 -5
- package/docs/api/interfaces/ShellHook.html +4 -4
- package/docs/api/interfaces/SisyphusOptions.html +14 -14
- package/docs/api/interfaces/SisyphusSession.html +16 -16
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -12
- package/docs/api/interfaces/SkillFileCandidate.html +10 -10
- package/docs/api/interfaces/SkillHookContext.html +5 -5
- package/docs/api/interfaces/SkillMetadata.html +22 -22
- package/docs/api/interfaces/SkillParseResult.html +5 -5
- package/docs/api/interfaces/SubagentHookOutput.html +3 -3
- package/docs/api/interfaces/SubagentInfo.html +14 -14
- package/docs/api/interfaces/SubagentStartInput.html +10 -10
- package/docs/api/interfaces/SubagentStopInput.html +11 -11
- package/docs/api/interfaces/SubagentTrackingState.html +6 -6
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -10
- package/docs/api/interfaces/TechStack.html +5 -5
- package/docs/api/interfaces/ThinkModeInput.html +4 -4
- package/docs/api/interfaces/ThinkModeState.html +12 -12
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -6
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -9
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -4
- package/docs/api/interfaces/TodoContinuationHook.html +2 -2
- package/docs/api/interfaces/TransitionResult.html +4 -4
- package/docs/api/interfaces/TruncateState.html +6 -6
- package/docs/api/interfaces/UltraQAOptions.html +5 -5
- package/docs/api/interfaces/UltraQAResult.html +9 -9
- package/docs/api/interfaces/UltraQAState.html +19 -19
- package/docs/api/interfaces/UltrapilotConfig.html +14 -14
- package/docs/api/interfaces/UltrapilotState.html +26 -26
- package/docs/api/interfaces/UltraworkState.html +17 -17
- package/docs/api/interfaces/UpdateCheckResult.html +7 -7
- package/docs/api/interfaces/UpdateResult.html +7 -7
- package/docs/api/interfaces/UserDirective.html +7 -7
- package/docs/api/interfaces/UserStory.html +15 -15
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -6
- package/docs/api/interfaces/ValidationResult.html +10 -10
- package/docs/api/interfaces/VerificationState.html +17 -17
- package/docs/api/interfaces/VersionMetadata.html +12 -12
- package/docs/api/interfaces/WorkerState.html +24 -24
- package/docs/api/interfaces/WriteSkillResult.html +6 -6
- package/docs/api/media/EVOLUTION.md +675 -675
- package/docs/api/media/INSTALL.md +612 -612
- package/docs/api/media/MIGRATION.md +1330 -1330
- package/docs/api/media/NEXUS.md +598 -598
- package/docs/api/media/REFERENCE.md +1300 -1300
- package/docs/api/media/mcp-server-usage.md +253 -253
- package/docs/api/modules.html +1 -1
- package/docs/api/types/AgentCategory.html +2 -2
- package/docs/api/types/AgentCost.html +3 -3
- package/docs/api/types/AgentFactory.html +2 -2
- package/docs/api/types/AgentOverrides.html +2 -2
- package/docs/api/types/AutopilotPhase.html +2 -2
- package/docs/api/types/AutopilotSignal.html +2 -2
- package/docs/api/types/CommandScope.html +2 -2
- package/docs/api/types/ContextPriority.html +3 -3
- package/docs/api/types/ContextSourceType.html +3 -3
- package/docs/api/types/DelegationProvider.html +2 -2
- package/docs/api/types/DelegationTool.html +2 -2
- package/docs/api/types/ExecutionMode.html +3 -3
- package/docs/api/types/ExternalModelProvider.html +2 -2
- package/docs/api/types/GateType.html +3 -3
- package/docs/api/types/InjectionStrategy.html +2 -2
- package/docs/api/types/KeywordType.html +10 -10
- package/docs/api/types/ModelType.html +2 -2
- package/docs/api/types/QAStatus.html +2 -2
- package/docs/api/types/RecoveryErrorType.html +2 -2
- package/docs/api/types/RecoveryStoredPart.html +2 -2
- package/docs/api/types/TaskTool.html +1 -1
- package/docs/api/types/ThinkingConfig.html +2 -2
- package/docs/api/types/UltraQAGoalType.html +1 -1
- package/docs/api/types/UserStoryInput.html +2 -2
- package/docs/api/types/ValidationVerdict.html +2 -2
- package/docs/api/types/ValidationVerdictType.html +2 -2
- package/docs/api/variables/AGENTS_DIR.html +1 -1
- package/docs/api/variables/AGENTS_FILENAME.html +2 -2
- package/docs/api/variables/AGENT_TOOLS.html +2 -2
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -2
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -4
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -1
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -2
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -2
- package/docs/api/variables/BDD_KEYWORDS.html +2 -2
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -1
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -1
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -3
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -2
- package/docs/api/variables/BOULDER_DIR.html +2 -2
- package/docs/api/variables/BOULDER_FILE.html +2 -2
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -2
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -2
- package/docs/api/variables/CI_COMMANDS.html +2 -2
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -2
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -2
- package/docs/api/variables/COMMANDS_DIR.html +1 -1
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -2
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -2
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -2
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -2
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -2
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -2
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -2
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -2
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -2
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -2
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -2
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -3
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -2
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -2
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -2
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -1
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -3
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -2
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -2
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/GITHUB_API_URL.html +1 -1
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -2
- package/docs/api/variables/INSTALLER_VERSION.html +2 -2
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -2
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -3
- package/docs/api/variables/MANUAL_HEADER.html +1 -1
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -2
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -2
- package/docs/api/variables/MAX_WARNINGS.html +2 -2
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -2
- package/docs/api/variables/MODE_CONFIGS.html +4 -4
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -2
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -1
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -1
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -2
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -1
- package/docs/api/variables/NOTEPAD_DIR.html +2 -2
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -1
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -4
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -2
- package/docs/api/variables/PATTERNS_HEADER.html +1 -1
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -3
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -2
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/PLAN_EXTENSION.html +2 -2
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -1
- package/docs/api/variables/PRD_FILENAME.html +1 -1
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -2
- package/docs/api/variables/PREVENTED_ERROR.html +2 -2
- package/docs/api/variables/PRIORITY_HEADER.html +1 -1
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -1
- package/docs/api/variables/PROJECT_MARKERS.html +2 -2
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -2
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -2
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -2
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -7
- package/docs/api/variables/README_FILENAME.html +2 -2
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -1
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -2
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -2
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -2
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -2
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -2
- package/docs/api/variables/REPO_NAME.html +1 -1
- package/docs/api/variables/REPO_OWNER.html +2 -2
- package/docs/api/variables/RETRY_CONFIG.html +6 -6
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -1
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -2
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -3
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -2
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/SKILL_EXTENSION.html +2 -2
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -2
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -2
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -2
- package/docs/api/variables/TARGET_TOOLS.html +2 -2
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -2
- package/docs/api/variables/THINKING_CONFIGS.html +2 -2
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -3
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -2
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -2
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -2
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -2
- package/docs/api/variables/TRACKED_TOOLS.html +2 -2
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -6
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -2
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -2
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -2
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/USER_RULE_DIR.html +2 -2
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -2
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -2
- package/docs/api/variables/VERSION_FILE.html +1 -1
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -1
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -2
- package/docs/api/variables/allCustomTools.html +3 -3
- package/docs/api/variables/analystAgent.html +1 -1
- package/docs/api/variables/architectAgent.html +1 -1
- package/docs/api/variables/astTools.html +2 -2
- package/docs/api/variables/contextCollector.html +2 -2
- package/docs/api/variables/criticAgent.html +1 -1
- package/docs/api/variables/designerAgent.html +1 -1
- package/docs/api/variables/executorAgent.html +1 -1
- package/docs/api/variables/exploreAgent.html +1 -1
- package/docs/api/variables/lspTools.html +2 -2
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -8
- package/docs/api/variables/omcSystemPrompt.html +2 -2
- package/docs/api/variables/omcToolNames.html +3 -3
- package/docs/api/variables/omcToolsServer.html +4 -4
- package/docs/api/variables/plannerAgent.html +1 -1
- package/docs/api/variables/researcherAgent.html +1 -1
- package/docs/api/variables/visionAgent.html +1 -1
- package/docs/api/variables/writerAgent.html +1 -1
- package/docs/ccg-workflow/API.md +643 -643
- package/docs/ccg-workflow/BEST_PRACTICES.md +630 -630
- package/docs/ccg-workflow/README.md +188 -188
- package/docs/ccg-workflow/TROUBLESHOOTING.md +454 -454
- package/docs/ccg-workflow/VALIDATION_GUIDE.md +258 -258
- package/docs/design/AGENTS.md +30 -30
- package/docs/design/delegation-enforcer-integration.md +185 -185
- package/docs/design/project-session-manager.md +1086 -1086
- package/docs/dev-standards/context-collection.md +50 -50
- package/docs/dev-standards/context-summary-template.md +73 -73
- package/docs/dev-standards/dev-standards.md +37 -37
- package/docs/dev-standards/quality-review.md +45 -45
- package/docs/dev-standards/sufficiency-checklist.md +61 -61
- package/docs/dev-standards/tools-integration.md +77 -77
- package/docs/dev-standards/workflow.md +32 -32
- package/docs/getting-started/concepts.md +116 -116
- package/docs/getting-started/installation.md +117 -117
- package/docs/getting-started/quickstart.md +105 -105
- package/docs/guides/mcp-server-usage.md +253 -253
- package/docs/guides/task-templates-guide.md +178 -178
- package/docs/guides/tool-name-migration.md +130 -130
- package/docs/guides/troubleshooting-guide.md +144 -144
- package/docs/guides/v5.5.13-new-features.md +269 -269
- package/docs/guides/wizard-user-guide.md +97 -97
- package/docs/guides/workflow-recommendation-guide.md +108 -108
- package/docs/issues/AGENTS.md +22 -22
- package/docs/mcp/README.md +95 -95
- package/docs/mcp/client-guide.md +355 -355
- package/docs/mcp/configuration.md +308 -308
- package/docs/mcp/overview.md +238 -238
- package/docs/mcp/performance.md +309 -309
- package/docs/mcp/server-guide.md +305 -305
- package/docs/mcp-compatibility-matrix.md +70 -70
- package/docs/partials/AGENTS.md +26 -26
- package/docs/partials/agent-tiers.md +183 -183
- package/docs/partials/features.md +169 -169
- package/docs/partials/mode-hierarchy.md +129 -129
- package/docs/partials/mode-selection-guide.md +92 -92
- package/docs/partials/verification-tiers.md +123 -123
- package/docs/plans/2025-11-22-opencode-support-design.md +306 -306
- package/docs/plans/2025-11-22-opencode-support-implementation.md +965 -965
- package/docs/plans/2025-11-28-skills-improvements-from-user-feedback.md +766 -766
- package/docs/plans/2026-01-17-visual-brainstorming.md +587 -587
- package/docs/plans/2026-02-24-axiom-integration-design.md +451 -451
- package/docs/plans/2026-02-24-axiom-integration-plan.md +1088 -1088
- package/docs/plans/2026-02-24-superpowers-ultrapower-integration-design.md +795 -795
- package/docs/plans/2026-02-24-superpowers-ultrapower-integration-plan.md +768 -768
- package/docs/plans/2026-02-24-ultrapower-integration-design.md +54 -54
- package/docs/plans/2026-02-26-nexus-design.md +380 -380
- package/docs/plans/2026-02-26-nexus-implementation-plan.md +2611 -2611
- package/docs/plans/2026-02-26-phase2-active-learning-design.md +416 -416
- package/docs/plans/2026-02-27-release-cicd-pipeline-design.md +276 -276
- package/docs/plans/2026-02-27-release-cicd-pipeline-impl.md +530 -530
- package/docs/plans/2026-02-28-nexus-self-evolution.md +161 -161
- package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +259 -259
- package/docs/plans/2026-03-02-docs-comprehensive-update.md +1527 -1527
- package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1665 -1665
- package/docs/plans/2026-03-05-mcp-adoption-plan.md +679 -679
- package/docs/plans/AGENTS.md +36 -36
- package/docs/plans/axiom-migration-plan.md +384 -384
- package/docs/prd/AGENTS.md +25 -25
- package/docs/prd/documentation-system-draft.md +297 -297
- package/docs/prd/documentation-system-rough.md +674 -674
- package/docs/prd/memory-evolution-optimize-rough.md +583 -583
- package/docs/prd/user_guide-rough.md +839 -839
- package/docs/reviews/AGENTS.md +22 -22
- package/docs/reviews/documentation-system/review_critic.md +383 -383
- package/docs/reviews/documentation-system/review_domain.md +508 -508
- package/docs/reviews/documentation-system/review_product.md +185 -185
- package/docs/reviews/documentation-system/review_tech.md +284 -284
- package/docs/reviews/documentation-system/review_ux.md +248 -248
- package/docs/reviews/documentation-system/summary.md +196 -196
- package/docs/reviews/draft-prd-agent-observability/review_critic.md +75 -75
- package/docs/reviews/draft-prd-agent-observability/review_domain.md +128 -128
- package/docs/reviews/draft-prd-agent-observability/review_product.md +85 -85
- package/docs/reviews/draft-prd-agent-observability/review_tech.md +77 -77
- package/docs/reviews/draft-prd-agent-observability/review_ux.md +74 -74
- package/docs/reviews/draft-prd-agent-observability/rough_prd.md +165 -165
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +331 -331
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +257 -257
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +142 -142
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +291 -291
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -121
- package/docs/reviews/draft-prd-three-directions/review_product.md +126 -126
- package/docs/reviews/draft-prd-three-directions/review_tech.md +159 -159
- package/docs/reviews/draft-prd-three-directions/review_ux.md +129 -129
- package/docs/reviews/memory-evolution-optimize/summary.md +109 -109
- package/docs/reviews/ultrapower-pain-points/review_critic.md +228 -228
- package/docs/reviews/ultrapower-pain-points/review_ux.md +168 -168
- package/docs/reviews/ultrapower-security/review_critic.md +546 -546
- package/docs/reviews/ultrapower-standards/AGENTS.md +34 -34
- package/docs/reviews/ultrapower-standards/review_critic.md +253 -253
- package/docs/reviews/ultrapower-standards/review_domain.md +252 -252
- package/docs/reviews/ultrapower-standards/review_product.md +109 -109
- package/docs/reviews/ultrapower-standards/review_tech.md +162 -162
- package/docs/reviews/ultrapower-standards/review_ux.md +129 -129
- package/docs/reviews/ultrapower-standards/summary.md +109 -109
- package/docs/reviews/ultrapower-tech-review/review_tech.md +207 -207
- package/docs/reviews/user_guide/summary.md +149 -149
- package/docs/shared/AGENTS.md +26 -26
- package/docs/shared/agent-tiers.md +183 -183
- package/docs/shared/features.md +169 -169
- package/docs/shared/mode-hierarchy.md +129 -129
- package/docs/shared/mode-selection-guide.md +92 -92
- package/docs/shared/verification-tiers.md +123 -123
- package/docs/standards/AGENTS.md +44 -44
- package/docs/standards/README.md +89 -89
- package/docs/standards/agent-lifecycle.md +538 -538
- package/docs/standards/anti-patterns.md +365 -365
- package/docs/standards/audit-report.md +421 -421
- package/docs/standards/contribution-guide.md +342 -342
- package/docs/standards/hook-execution-order.md +330 -330
- package/docs/standards/release-process.md +89 -89
- package/docs/standards/runtime-protection.md +398 -398
- package/docs/standards/state-machine.md +316 -316
- package/docs/standards/templates/AGENTS.md +32 -32
- package/docs/standards/templates/agent-template.md +65 -65
- package/docs/standards/templates/hook-template.md +76 -76
- package/docs/standards/templates/skill-template.md +48 -48
- package/docs/standards/testing-guide.md +96 -96
- package/docs/standards/user-guide.md +351 -351
- package/docs/superpowers/AGENTS.md +29 -29
- package/docs/superpowers/plans/2026-01-22-document-review-system.md +313 -313
- package/docs/superpowers/plans/2026-02-19-visual-brainstorming-refactor.md +535 -535
- package/docs/superpowers/plans/AGENTS.md +30 -30
- package/docs/superpowers/specs/2026-01-22-document-review-system-design.md +153 -153
- package/docs/superpowers/specs/2026-02-19-visual-brainstorming-refactor-design.md +208 -208
- package/docs/superpowers/specs/AGENTS.md +30 -30
- package/docs/tasks/AGENTS.md +22 -22
- package/docs/tasks/documentation-system/implementation-plan.md +340 -340
- package/docs/tasks/documentation-system/manifest.md +581 -581
- package/docs/tasks/memory-evolution-optimize/manifest.md +539 -539
- package/docs/tasks/ultrapower-standards/AGENTS.md +32 -32
- package/docs/tasks/ultrapower-standards/manifest.md +507 -507
- package/docs/tasks/user_guide/manifest.md +424 -424
- package/docs/testing.md +321 -321
- package/docs/troubleshooting/agent-timeouts.md +45 -45
- package/docs/troubleshooting/common-errors.md +41 -41
- package/docs/troubleshooting/hook-failures.md +35 -35
- package/docs/troubleshooting/performance-issues.md +53 -53
- package/docs/troubleshooting/tool-name-length-error.md +57 -57
- package/docs/troubleshooting.md +789 -789
- package/docs/windows/AGENTS.md +28 -28
- package/docs/windows/polyglot-hooks.md +236 -236
- package/hooks/AGENTS.md +37 -37
- package/hooks/run-hook.cmd +0 -0
- package/hooks/session-start +0 -0
- package/package.json +1 -1
- package/scripts/AGENTS.md +80 -80
- package/scripts/hooks/AGENTS.md +32 -32
- package/scripts/lib/AGENTS.md +28 -28
- package/scripts/persistent-mode.cjs +605 -605
- package/scripts/sync-version.mjs +6 -1
- package/skills/AGENTS.md +113 -113
- package/skills/analyze/AGENTS.md +34 -34
- package/skills/analyze/SKILL.md +119 -119
- package/skills/autopilot/AGENTS.md +34 -34
- package/skills/autopilot/SKILL.md +187 -187
- package/skills/ax-analyze-error/AGENTS.md +34 -34
- package/skills/ax-analyze-error/SKILL.md +76 -76
- package/skills/ax-context/AGENTS.md +34 -34
- package/skills/ax-context/SKILL.md +79 -79
- package/skills/ax-decompose/AGENTS.md +34 -34
- package/skills/ax-decompose/SKILL.md +57 -57
- package/skills/ax-draft/AGENTS.md +34 -34
- package/skills/ax-draft/SKILL.md +55 -55
- package/skills/ax-evolution/AGENTS.md +34 -34
- package/skills/ax-evolution/SKILL.md +71 -71
- package/skills/ax-evolve/AGENTS.md +34 -34
- package/skills/ax-evolve/SKILL.md +82 -82
- package/skills/ax-export/AGENTS.md +34 -34
- package/skills/ax-export/SKILL.md +178 -178
- package/skills/ax-implement/AGENTS.md +34 -34
- package/skills/ax-implement/SKILL.md +78 -78
- package/skills/ax-knowledge/AGENTS.md +60 -60
- package/skills/ax-knowledge/SKILL.md +162 -162
- package/skills/ax-reflect/AGENTS.md +34 -34
- package/skills/ax-reflect/SKILL.md +83 -83
- package/skills/ax-review/AGENTS.md +34 -34
- package/skills/ax-review/SKILL.md +60 -60
- package/skills/ax-rollback/AGENTS.md +34 -34
- package/skills/ax-rollback/SKILL.md +69 -69
- package/skills/ax-status/AGENTS.md +34 -34
- package/skills/ax-status/SKILL.md +124 -124
- package/skills/ax-suspend/AGENTS.md +34 -34
- package/skills/ax-suspend/SKILL.md +64 -64
- package/skills/brainstorming/AGENTS.md +34 -34
- package/skills/brainstorming/SKILL.md +176 -176
- package/skills/brainstorming/spec-document-reviewer-prompt.md +50 -50
- package/skills/brainstorming/visual-companion.md +274 -274
- package/skills/build-fix/AGENTS.md +34 -34
- package/skills/build-fix/SKILL.md +141 -141
- package/skills/cancel/AGENTS.md +34 -34
- package/skills/cancel/SKILL.md +432 -432
- package/skills/ccg/AGENTS.md +34 -34
- package/skills/ccg/SKILL.md +188 -188
- package/skills/ccg-workflow/SKILL.md +30 -30
- package/skills/code-review/AGENTS.md +34 -34
- package/skills/code-review/SKILL.md +256 -256
- package/skills/configure-discord/AGENTS.md +34 -34
- package/skills/configure-discord/SKILL.md +250 -250
- package/skills/configure-telegram/AGENTS.md +34 -34
- package/skills/configure-telegram/SKILL.md +244 -244
- package/skills/deepinit/AGENTS.md +34 -34
- package/skills/deepinit/SKILL.md +426 -426
- package/skills/deepsearch/AGENTS.md +34 -34
- package/skills/deepsearch/SKILL.md +41 -41
- package/skills/dispatching-parallel-agents/AGENTS.md +34 -34
- package/skills/dispatching-parallel-agents/SKILL.md +219 -219
- package/skills/executing-plans/AGENTS.md +34 -34
- package/skills/executing-plans/SKILL.md +176 -176
- package/skills/external-context/AGENTS.md +34 -34
- package/skills/external-context/SKILL.md +111 -111
- package/skills/finishing-a-development-branch/AGENTS.md +34 -34
- package/skills/finishing-a-development-branch/SKILL.md +248 -248
- package/skills/frontend-ui-ux/AGENTS.md +34 -34
- package/skills/frontend-ui-ux/SKILL.md +50 -50
- package/skills/git-master/AGENTS.md +34 -34
- package/skills/git-master/SKILL.md +34 -34
- package/skills/hud/AGENTS.md +34 -34
- package/skills/hud/SKILL.md +294 -294
- package/skills/learn-about-omc/AGENTS.md +34 -34
- package/skills/learn-about-omc/SKILL.md +37 -37
- package/skills/learner/AGENTS.md +34 -34
- package/skills/learner/SKILL.md +227 -227
- package/skills/mcp-setup/AGENTS.md +34 -34
- package/skills/mcp-setup/SKILL.md +426 -426
- package/skills/next-step-router/AGENTS.md +34 -34
- package/skills/next-step-router/SKILL.md +204 -204
- package/skills/nexus/AGENTS.md +40 -40
- package/skills/nexus/SKILL.md +38 -38
- package/skills/nexus/nexus-evolve/AGENTS.md +34 -34
- package/skills/nexus/nexus-review/AGENTS.md +34 -34
- package/skills/nexus/nexus-review/SKILL.md +39 -39
- package/skills/nexus/nexus-status/AGENTS.md +34 -34
- package/skills/note/AGENTS.md +34 -34
- package/skills/note/SKILL.md +73 -73
- package/skills/omc-doctor/AGENTS.md +34 -34
- package/skills/omc-doctor/SKILL.md +351 -351
- package/skills/omc-help/AGENTS.md +34 -34
- package/skills/omc-help/SKILL.md +211 -211
- package/skills/omc-setup/AGENTS.md +34 -34
- package/skills/omc-setup/SKILL.md +1396 -1396
- package/skills/pipeline/AGENTS.md +34 -34
- package/skills/pipeline/SKILL.md +452 -452
- package/skills/plan/AGENTS.md +34 -34
- package/skills/plan/SKILL.md +274 -274
- package/skills/project-session-manager/AGENTS.md +34 -34
- package/skills/project-session-manager/SKILL.md +586 -586
- package/skills/project-session-manager/lib/AGENTS.md +42 -42
- package/skills/project-session-manager/lib/providers/AGENTS.md +36 -36
- package/skills/project-session-manager/templates/AGENTS.md +33 -33
- package/skills/project-session-manager/templates/feature.md +66 -66
- package/skills/project-session-manager/templates/issue-fix.md +68 -68
- package/skills/project-session-manager/templates/pr-review.md +75 -75
- package/skills/psm/AGENTS.md +34 -34
- package/skills/ralph/AGENTS.md +34 -34
- package/skills/ralph/SKILL.md +223 -223
- package/skills/ralph-init/AGENTS.md +34 -34
- package/skills/ralph-init/SKILL.md +38 -38
- package/skills/ralplan/AGENTS.md +34 -34
- package/skills/receiving-code-review/AGENTS.md +34 -34
- package/skills/receiving-code-review/SKILL.md +245 -245
- package/skills/release/AGENTS.md +34 -34
- package/skills/release/SKILL.md +396 -396
- package/skills/requesting-code-review/AGENTS.md +34 -34
- package/skills/requesting-code-review/SKILL.md +167 -167
- package/skills/requesting-code-review/code-reviewer.md +194 -194
- package/skills/review/AGENTS.md +34 -34
- package/skills/sciomc/AGENTS.md +34 -34
- package/skills/sciomc/SKILL.md +557 -557
- package/skills/security-review/AGENTS.md +34 -34
- package/skills/security-review/SKILL.md +338 -338
- package/skills/skill/AGENTS.md +34 -34
- package/skills/skill/SKILL.md +619 -619
- package/skills/subagent-driven-development/AGENTS.md +34 -34
- package/skills/subagent-driven-development/SKILL.md +334 -334
- package/skills/swarm/AGENTS.md +34 -34
- package/skills/systematic-debugging/AGENTS.md +34 -34
- package/skills/systematic-debugging/CREATION-LOG.md +161 -161
- package/skills/systematic-debugging/SKILL.md +386 -386
- package/skills/systematic-debugging/condition-based-waiting.md +125 -125
- package/skills/systematic-debugging/defense-in-depth.md +138 -138
- package/skills/systematic-debugging/find-polluter.sh +0 -0
- package/skills/systematic-debugging/root-cause-tracing.md +192 -192
- package/skills/systematic-debugging/test-pressure-1.md +77 -77
- package/skills/systematic-debugging/test-pressure-2.md +93 -93
- package/skills/systematic-debugging/test-pressure-3.md +95 -95
- package/skills/team/AGENTS.md +34 -34
- package/skills/team/SKILL.md +898 -898
- package/skills/test-driven-development/AGENTS.md +34 -34
- package/skills/test-driven-development/SKILL.md +440 -440
- package/skills/test-driven-development/testing-anti-patterns.md +325 -325
- package/skills/trace/AGENTS.md +34 -34
- package/skills/trace/SKILL.md +81 -81
- package/skills/ultrapilot/AGENTS.md +34 -34
- package/skills/ultrapilot/SKILL.md +553 -553
- package/skills/ultraqa/AGENTS.md +34 -34
- package/skills/ultraqa/SKILL.md +137 -137
- package/skills/ultrawork/AGENTS.md +34 -34
- package/skills/ultrawork/SKILL.md +154 -154
- package/skills/using-git-worktrees/AGENTS.md +34 -34
- package/skills/using-git-worktrees/SKILL.md +260 -260
- package/skills/using-superpowers/AGENTS.md +34 -34
- package/skills/using-superpowers/SKILL.md +119 -119
- package/skills/using-superpowers/references/AGENTS.md +30 -30
- package/skills/using-superpowers/references/codex-tools.md +25 -25
- package/skills/verification-before-completion/AGENTS.md +34 -34
- package/skills/verification-before-completion/SKILL.md +171 -171
- package/skills/wizard/AGENTS.md +34 -34
- package/skills/wizard/SKILL.md +171 -171
- package/skills/writer-memory/AGENTS.md +34 -34
- package/skills/writer-memory/SKILL.md +304 -304
- package/skills/writer-memory/lib/AGENTS.md +34 -34
- package/skills/writer-memory/templates/AGENTS.md +32 -32
- package/skills/writing-plans/AGENTS.md +34 -34
- package/skills/writing-plans/SKILL.md +189 -189
- package/skills/writing-plans/plan-document-reviewer-prompt.md +52 -52
- package/skills/writing-skills/AGENTS.md +34 -34
- package/skills/writing-skills/SKILL.md +825 -825
- package/skills/writing-skills/anthropic-best-practices.md +1057 -1057
- package/skills/writing-skills/examples/AGENTS.md +30 -30
- package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +211 -211
- package/skills/writing-skills/graphviz-conventions.dot +171 -171
- package/skills/writing-skills/persuasion-principles.md +252 -252
- package/skills/writing-skills/render-graphs.js +0 -0
- package/skills/writing-skills/testing-skills-with-subagents.md +441 -441
- package/templates/AGENTS.md +32 -32
- package/templates/axiom/AGENTS.md +35 -35
- package/templates/axiom/dag-analysis.md +40 -40
- package/templates/axiom/scripts/AGENTS.md +29 -29
- package/templates/axiom/scripts/Check-Memory.ps1 +68 -68
- package/templates/axiom/scripts/Poll-Memory.ps1 +36 -36
- package/templates/axiom/scripts/README.md +25 -25
- package/templates/axiom/scripts/Watch-Memory.ps1 +149 -149
- package/templates/axiom/scripts/agent-runner.ps1 +101 -101
- package/templates/axiom/scripts/start-reviews.ps1 +19 -19
- package/templates/axiom/task-execution.md +56 -56
- package/templates/hooks/AGENTS.md +42 -42
- package/templates/hooks/lib/AGENTS.md +23 -23
- package/templates/rules/AGENTS.md +39 -39
- package/templates/rules/README.md +44 -44
- package/templates/rules/axiom-gatekeepers.md +50 -50
- package/templates/rules/axiom-provider-router.md +45 -45
- package/templates/rules/axiom-router.md +57 -57
- package/templates/rules/coding-style.md +89 -89
- package/templates/rules/git-workflow.md +47 -47
- package/templates/rules/performance.md +59 -59
- package/templates/rules/security.md +53 -53
- package/templates/rules/testing.md +54 -54
- package/templates/tasks/README.md +56 -56
- package/templates/tasks/bug-fix.md +61 -61
- package/templates/tasks/code-review.md +59 -59
- package/templates/tasks/feature-development.md +71 -71
- package/templates/tasks/refactoring.md +61 -61
- package/templates/tasks/security-audit.md +61 -61
|
@@ -1,507 +1,507 @@
|
|
|
1
|
-
# 任务清单: ultrapower 全链路规范体系
|
|
2
|
-
|
|
3
|
-
> 生成时间: 2026-02-26
|
|
4
|
-
> 真理之源: Rough PRD (ultrapower 全链路规范体系)
|
|
5
|
-
> 状态: 待执行(已拆分大任务)
|
|
6
|
-
> 拆分时间: 2026-02-26
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## 1. 架构图(全局上下文)
|
|
11
|
-
|
|
12
|
-
```mermaid
|
|
13
|
-
graph TD
|
|
14
|
-
T01a["T-01a: Hook/Bridge 审计<br/>(P-1, ~4h)"]
|
|
15
|
-
T01b["T-01b: Mode/Agent/State 审计<br/>(P-1, ~4h)"]
|
|
16
|
-
|
|
17
|
-
T02["T-02: 规范体系入口 README.md"]
|
|
18
|
-
T03a["T-03a: Hook 输入防护规范"]
|
|
19
|
-
T03b["T-03b: State/Mode 防护规范"]
|
|
20
|
-
T04a["T-04a: HookType 枚举与路由规范"]
|
|
21
|
-
T04b["T-04b: 执行顺序与优先级规范"]
|
|
22
|
-
T05["T-05: 状态机规范"]
|
|
23
|
-
T06["T-06: Agent 生命周期规范"]
|
|
24
|
-
T07["T-07: validateMode.ts 实现"]
|
|
25
|
-
|
|
26
|
-
T08a["T-08a: Skill 决策树"]
|
|
27
|
-
T08b["T-08b: Agent 路由指南"]
|
|
28
|
-
T09["T-09: 反模式清单"]
|
|
29
|
-
|
|
30
|
-
T10["T-10: 贡献规范"]
|
|
31
|
-
T11["T-11: Skill/Agent/Hook 模板"]
|
|
32
|
-
|
|
33
|
-
T12["T-12: 项目 README 索引更新"]
|
|
34
|
-
T13["T-13: CLAUDE.md 规范引用追加"]
|
|
35
|
-
T14["T-14: 集成验证 + CI 门禁"]
|
|
36
|
-
|
|
37
|
-
T01a --> T02
|
|
38
|
-
T01a --> T03a
|
|
39
|
-
T01a --> T04a
|
|
40
|
-
T01b --> T03b
|
|
41
|
-
T01b --> T04b
|
|
42
|
-
T01b --> T05
|
|
43
|
-
T01b --> T06
|
|
44
|
-
T01b --> T07
|
|
45
|
-
|
|
46
|
-
T01a --> T08a
|
|
47
|
-
T01b --> T08b
|
|
48
|
-
T01a --> T09
|
|
49
|
-
T01b --> T09
|
|
50
|
-
|
|
51
|
-
T03a --> T10
|
|
52
|
-
T03b --> T10
|
|
53
|
-
T04a --> T10
|
|
54
|
-
T04b --> T10
|
|
55
|
-
T05 --> T10
|
|
56
|
-
T06 --> T10
|
|
57
|
-
T07 --> T10
|
|
58
|
-
|
|
59
|
-
T10 --> T11
|
|
60
|
-
|
|
61
|
-
T02 --> T12
|
|
62
|
-
T03a --> T12
|
|
63
|
-
T03b --> T12
|
|
64
|
-
T08a --> T12
|
|
65
|
-
T08b --> T12
|
|
66
|
-
|
|
67
|
-
T10 --> T13
|
|
68
|
-
T11 --> T13
|
|
69
|
-
|
|
70
|
-
T12 --> T14
|
|
71
|
-
T13 --> T14
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## 2. 任务总览表
|
|
77
|
-
|
|
78
|
-
| ID | 标题 | 优先级 | 工作量 | 依赖 | 涉及文件数 | 标记 |
|
|
79
|
-
| ---- | ------ | -------- | -------- | ------ | ----------- | ------ |
|
|
80
|
-
| T-01a | Hook/Bridge 审计 | P-1 | ~4h | None | 3 (只读) | - |
|
|
81
|
-
| T-01b | Mode/Agent/State 审计 | P-1 | ~4h | None | 4 (只读) | - |
|
|
82
|
-
| T-02 | 规范体系入口 README.md | P0 | ~2h | T-01a | 1 | - |
|
|
83
|
-
| T-03a | Hook 输入防护规范 | P0 | ~3h | T-01a | 1 | - |
|
|
84
|
-
| T-03b | State/Mode 防护规范 | P0 | ~3h | T-01b | 1 | - |
|
|
85
|
-
| T-04a | HookType 枚举与路由规范 | P0 | ~3h | T-01a | 1 | - |
|
|
86
|
-
| T-04b | 执行顺序与优先级规范 | P0 | ~3h | T-01a | 1 | - |
|
|
87
|
-
| T-05 | 状态机规范 | P0 | ~4h | T-01b | 1 | - |
|
|
88
|
-
| T-06 | Agent 生命周期规范 | P0 | ~4h | T-01b | 1 | - |
|
|
89
|
-
| T-07 | validateMode.ts 实现 | P0 | ~3h | T-01b | 2 | - |
|
|
90
|
-
| T-08a | Skill 决策树 | P0-并行 | ~3h | T-01a | 1 | - |
|
|
91
|
-
| T-08b | Agent 路由指南 | P0-并行 | ~3h | T-01b | 1 | - |
|
|
92
|
-
| T-09 | 反模式清单 | P1 | ~3h | T-01a,T-01b | 1 | - |
|
|
93
|
-
| T-10 | 贡献规范 | P1 | ~3h | T-03a,T-03b,T-04a,T-04b,T-05,T-06,T-07 | 1 | - |
|
|
94
|
-
| T-11 | Skill/Agent/Hook 模板 | P2 | ~4h | T-10 | 3 | - |
|
|
95
|
-
| T-12 | 项目 README 索引更新 | P2 | ~1h | T-02,T-03a,T-03b,T-08a,T-08b | 1 | - |
|
|
96
|
-
| T-13 | CLAUDE.md 规范引用追加 | P2 | ~2h | T-10,T-11 | 1 | - |
|
|
97
|
-
| T-14 | 集成验证 + CI 门禁 | P2 | ~4h | T-12,T-13 | 2+ | - |
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## 3. 任务详细描述(DAG 顺序)
|
|
102
|
-
|
|
103
|
-
### T-01a: Hook/Bridge 审计(P-1,前置)
|
|
104
|
-
|
|
105
|
-
**目标**:审计 `src/hooks/bridge.ts` 和相关 hook 文件,提取完整 HookType 定义和执行规则。
|
|
106
|
-
|
|
107
|
-
**输入文件(只读)**:
|
|
108
|
-
|
|
109
|
-
* `src/hooks/bridge.ts`:提取全部 HookType 枚举(已知 15 类)
|
|
110
|
-
|
|
111
|
-
* `src/hooks/guards/pre-tool.ts`、`post-tool.ts`:提取 hook 执行顺序
|
|
112
|
-
|
|
113
|
-
* `src/hooks/persistent-mode/index.ts`:提取 Stop 阶段优先级规则
|
|
114
|
-
|
|
115
|
-
**产出**:`docs/standards/audit-report.md`(T-01a 部分)
|
|
116
|
-
|
|
117
|
-
**验收条件**:
|
|
118
|
-
|
|
119
|
-
* 列出全部 15 个 HookType,与 bridge.ts 定义一一对应
|
|
120
|
-
|
|
121
|
-
* 记录 Stop 阶段优先级链:Ralph > Ultrawork > Todo-Continuation
|
|
122
|
-
|
|
123
|
-
* 记录 hook 失败降级策略(静默 vs 阻塞)
|
|
124
|
-
|
|
125
|
-
* 记录 bridge-normalize.ts 当前白名单覆盖范围
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
### T-01b: Mode/Agent/State 审计(P-1,前置)
|
|
130
|
-
|
|
131
|
-
**目标**:审计状态机、Agent 生命周期和并发保护机制,提取实现细节。
|
|
132
|
-
|
|
133
|
-
**输入文件(只读)**:
|
|
134
|
-
|
|
135
|
-
* `src/hooks/mode-registry/index.ts`:状态机转换规则、stale marker 阈值
|
|
136
|
-
|
|
137
|
-
* `src/agents/definitions.ts`:AgentConfig 类型定义和生命周期约束
|
|
138
|
-
|
|
139
|
-
* `src/hooks/subagent-tracker/index.ts`:并发保护机制
|
|
140
|
-
|
|
141
|
-
* `src/lib/atomic-write.ts`:原子写入实现细节
|
|
142
|
-
|
|
143
|
-
**产出**:`docs/standards/audit-report.md`(T-01b 部分,与 T-01a 合并)
|
|
144
|
-
|
|
145
|
-
**验收条件**:
|
|
146
|
-
|
|
147
|
-
* 记录 STALE_THRESHOLD_MS(5 分钟)、COST_LIMIT_USD(1.0)、DEADLOCK_CHECK_THRESHOLD(3)
|
|
148
|
-
|
|
149
|
-
* 记录 SubagentStopInput.success 已废弃(@deprecated)
|
|
150
|
-
|
|
151
|
-
* 记录 Windows rename 语义差异
|
|
152
|
-
|
|
153
|
-
* 记录各状态文件并发保护级别不一致性
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
### T-02: 规范体系入口 README.md(P0)
|
|
158
|
-
|
|
159
|
-
**依赖**:T-01a 完成
|
|
160
|
-
|
|
161
|
-
**产出文件**:`docs/standards/README.md`
|
|
162
|
-
|
|
163
|
-
**内容要求**:
|
|
164
|
-
|
|
165
|
-
* 规范体系概述(一段话)
|
|
166
|
-
|
|
167
|
-
* 所有规范文档的索引表(文件名、优先级、说明)
|
|
168
|
-
|
|
169
|
-
* 快速导航:新用户 → user-guide.md,贡献者 → contribution-guide.md,维护者 → runtime-protection.md
|
|
170
|
-
|
|
171
|
-
* 版本声明:`ultrapower-version: 5.0.21`
|
|
172
|
-
|
|
173
|
-
**验收条件**:文件存在,索引覆盖全部 P0/P1/P2 规范文档,单一入口可从 README.md 和 CLAUDE.md 访问
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
### T-03a: Hook 输入防护规范(P0)
|
|
178
|
-
|
|
179
|
-
**依赖**:T-01a 完成
|
|
180
|
-
|
|
181
|
-
**产出文件**:`docs/standards/runtime-protection.md`(与 T-03b 合并为同一文件)
|
|
182
|
-
|
|
183
|
-
**内容要求**(基于 T-01a 审计结果):
|
|
184
|
-
|
|
185
|
-
* 全部 15 类 HookType 的必需字段白名单
|
|
186
|
-
|
|
187
|
-
* bridge-normalize.ts 扩展要求(从 3 类扩展至 15 类)
|
|
188
|
-
|
|
189
|
-
* 未知字段丢弃规则
|
|
190
|
-
|
|
191
|
-
* permission-request 类型不可静默降级的强制要求
|
|
192
|
-
|
|
193
|
-
**验收条件**:规范覆盖全部 15 个 HookType,每类有明确的必需字段和禁止字段列表
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
### T-03b: State/Mode 防护规范(P0)
|
|
198
|
-
|
|
199
|
-
**依赖**:T-01b 完成
|
|
200
|
-
|
|
201
|
-
**产出文件**:`docs/standards/runtime-protection.md`(追加到 T-03a 产出)
|
|
202
|
-
|
|
203
|
-
**内容要求**(基于 T-01b 审计结果):
|
|
204
|
-
|
|
205
|
-
* 原子写入强制要求(atomicWriteJsonSync / atomicWriteJson)
|
|
206
|
-
|
|
207
|
-
* 各状态文件并发保护级别对照表(含不一致性说明)
|
|
208
|
-
|
|
209
|
-
* Windows 平台 rename 语义差异说明
|
|
210
|
-
|
|
211
|
-
* 路径安全:mode 参数白名单校验(7 个合法值)
|
|
212
|
-
|
|
213
|
-
* 状态文件损坏恢复流程
|
|
214
|
-
|
|
215
|
-
* agent-replay-*.jsonl 敏感数据处理(权限 600,7 天清理)
|
|
216
|
-
|
|
217
|
-
**验收条件**:规范明确记录并发保护不一致性,Windows 差异有专门说明,路径安全规则可操作
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
|
|
221
|
-
### T-04a: HookType 枚举与路由规范(P0)
|
|
222
|
-
|
|
223
|
-
**依赖**:T-01a 完成
|
|
224
|
-
|
|
225
|
-
**产出文件**:`docs/standards/hook-execution-order.md`(与 T-04b 合并)
|
|
226
|
-
|
|
227
|
-
**内容要求**:
|
|
228
|
-
|
|
229
|
-
* 全部 15 个 HookType 的完整分类表(阶段、触发时机、必需字段)
|
|
230
|
-
|
|
231
|
-
* 每类 HookType 的路由规则
|
|
232
|
-
|
|
233
|
-
* HookType 完整性验证方法(自动化脚本对比 bridge.ts)
|
|
234
|
-
|
|
235
|
-
**验收条件**:HookType 数量与 bridge.ts 定义一致(15 个),分类覆盖六个阶段
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
### T-04b: 执行顺序与优先级规范(P0)
|
|
240
|
-
|
|
241
|
-
**依赖**:T-01a 完成
|
|
242
|
-
|
|
243
|
-
**产出文件**:`docs/standards/hook-execution-order.md`(追加到 T-04a 产出)
|
|
244
|
-
|
|
245
|
-
**内容要求**:
|
|
246
|
-
|
|
247
|
-
* Stop 阶段优先级链:Ralph(最高) > Ultrawork > Todo-Continuation(最低)
|
|
248
|
-
|
|
249
|
-
* 高优先级 hook 处理后低优先级不得重复处理的互斥规则
|
|
250
|
-
|
|
251
|
-
* hook 失败降级策略:大多数静默降级,permission-request 例外
|
|
252
|
-
|
|
253
|
-
* hook 超时处理:PreToolUse 超时 5s 继续执行,PostToolUse 超时标记"待重试"
|
|
254
|
-
|
|
255
|
-
**验收条件**:Stop 阶段优先级规则可执行,超时处理有明确数值,降级策略有例外清单
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
### T-05: 状态机规范(P0)
|
|
260
|
-
|
|
261
|
-
**依赖**:T-01b 完成
|
|
262
|
-
|
|
263
|
-
**产出文件**:`docs/standards/state-machine.md`
|
|
264
|
-
|
|
265
|
-
**内容要求**(基于 T-01b 审计结果):
|
|
266
|
-
|
|
267
|
-
* Agent 完整状态机(含 TIMEOUT、ZOMBIE 死状态)
|
|
268
|
-
|
|
269
|
-
* Team Pipeline 状态转换矩阵
|
|
270
|
-
|
|
271
|
-
* 各模式状态文件路径
|
|
272
|
-
|
|
273
|
-
* stale marker 阈值:1 小时
|
|
274
|
-
|
|
275
|
-
* 互斥模式检测规则(autopilot 与 ultrapilot 互斥)
|
|
276
|
-
|
|
277
|
-
**验收条件**:状态机覆盖所有已知边界情况,TIMEOUT(5 分钟)和 ZOMBIE(30 秒)有明确数值
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
### T-06: Agent 生命周期规范(P0)
|
|
282
|
-
|
|
283
|
-
**依赖**:T-01b 完成
|
|
284
|
-
|
|
285
|
-
**产出文件**:`docs/standards/agent-lifecycle.md`
|
|
286
|
-
|
|
287
|
-
**内容要求**(基于 T-01b 审计结果):
|
|
288
|
-
|
|
289
|
-
* Agent 边界情况矩阵(超时/孤儿状态/成本超限/死锁检测)
|
|
290
|
-
|
|
291
|
-
* SubagentStopInput.success 废弃说明及推断机制替代方案
|
|
292
|
-
|
|
293
|
-
* 孤儿 agent 检测:session-end hook 触发强制 SHUTDOWN
|
|
294
|
-
|
|
295
|
-
* 成本限制:COST_LIMIT_USD = 1.0
|
|
296
|
-
|
|
297
|
-
* 死锁检测:DEADLOCK_CHECK_THRESHOLD = 3
|
|
298
|
-
|
|
299
|
-
**验收条件**:边界情况矩阵覆盖 4 种情况,每种有触发条件和处理策略
|
|
300
|
-
|
|
301
|
-
---
|
|
302
|
-
|
|
303
|
-
### T-07: validateMode.ts 实现(P0)
|
|
304
|
-
|
|
305
|
-
**依赖**:T-01b 完成
|
|
306
|
-
|
|
307
|
-
**产出文件**:`src/lib/validateMode.ts`(新增)+ 测试文件
|
|
308
|
-
|
|
309
|
-
**实现要求**:
|
|
310
|
-
```typescript
|
|
311
|
-
const VALID_MODES = ['autopilot', 'ultrapilot', 'team', 'pipeline', 'ralph', 'ultrawork', 'ultraqa'] as const;
|
|
312
|
-
export type ValidMode = typeof VALID_MODES[number];
|
|
313
|
-
export function validateMode(mode: string): mode is ValidMode
|
|
314
|
-
export function assertValidMode(mode: string): ValidMode
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
**验收条件**:
|
|
318
|
-
|
|
319
|
-
* 通过 `tsc --noEmit`
|
|
320
|
-
|
|
321
|
-
* 单元测试覆盖 7 个合法值 + 非法值(路径遍历)
|
|
322
|
-
|
|
323
|
-
* 所有状态文件路径构建调用此函数
|
|
324
|
-
|
|
325
|
-
---
|
|
326
|
-
|
|
327
|
-
### T-08a: Skill 决策树(P0-并行)
|
|
328
|
-
|
|
329
|
-
**依赖**:T-01a 完成
|
|
330
|
-
|
|
331
|
-
**产出文件**:`docs/standards/user-guide.md`(与 T-08b 合并)
|
|
332
|
-
|
|
333
|
-
**内容要求**:
|
|
334
|
-
|
|
335
|
-
* 3 层决策树(第一层:5 个用户意图分支)
|
|
336
|
-
|
|
337
|
-
* 意图关键词 → skill 名称对照表
|
|
338
|
-
|
|
339
|
-
* 每个 skill 附示例命令(至少 1 条)
|
|
340
|
-
|
|
341
|
-
* autopilot vs ultrapilot 互斥说明
|
|
342
|
-
|
|
343
|
-
* 歧义输入处理规则
|
|
344
|
-
|
|
345
|
-
**验收条件**:决策树覆盖 5 个意图分支,关键词对照表可直接使用
|
|
346
|
-
|
|
347
|
-
---
|
|
348
|
-
|
|
349
|
-
### T-08b: Agent 路由指南(P0-并行)
|
|
350
|
-
|
|
351
|
-
**依赖**:T-01b 完成
|
|
352
|
-
|
|
353
|
-
**产出文件**:`docs/standards/user-guide.md`(追加到 T-08a 产出)
|
|
354
|
-
|
|
355
|
-
**内容要求**:
|
|
356
|
-
|
|
357
|
-
* 四个路由选项:直接处理 / skill / agent / MCP 工具
|
|
358
|
-
|
|
359
|
-
* 各 agent 角色适用场景边界
|
|
360
|
-
|
|
361
|
-
* 系统反馈标准化格式(进度/成功/错误/等待四种)
|
|
362
|
-
|
|
363
|
-
**验收条件**:四个路由选项有明确边界,系统反馈格式有可复用模板
|
|
364
|
-
|
|
365
|
-
---
|
|
366
|
-
|
|
367
|
-
### T-09: 反模式清单(P1)
|
|
368
|
-
|
|
369
|
-
**依赖**:T-01a、T-01b 均完成
|
|
370
|
-
|
|
371
|
-
**产出文件**:`docs/standards/anti-patterns.md`
|
|
372
|
-
|
|
373
|
-
**内容要求**:10 条反模式,每条格式:错误现象 + 根因 + 正确做法 + Bad/Good 示例
|
|
374
|
-
|
|
375
|
-
覆盖:
|
|
376
|
-
1. 用 executor 做分析任务
|
|
377
|
-
2. 用 autopilot 做简单单步操作
|
|
378
|
-
3. 并发写入同一状态文件
|
|
379
|
-
4. mode 参数未校验直接拼接路径
|
|
380
|
-
5. 忽略 hook 失败直接继续
|
|
381
|
-
6. 假设 SubagentStopInput.success 可用
|
|
382
|
-
7. 在 Windows 上假设 rename 是原子操作
|
|
383
|
-
8. 修改 CLAUDE.md 不做回归验证
|
|
384
|
-
9. 新增 skill 不写触发词
|
|
385
|
-
10. Team 模式跳过 team-prd 阶段
|
|
386
|
-
|
|
387
|
-
**验收条件**:10 条全部覆盖,每条有 Bad/Good 示例,根因可追溯到具体规范文档
|
|
388
|
-
|
|
389
|
-
---
|
|
390
|
-
|
|
391
|
-
### T-10: 贡献规范(P1)
|
|
392
|
-
|
|
393
|
-
**依赖**:T-03a、T-03b、T-04a、T-04b、T-05、T-06、T-07 均完成
|
|
394
|
-
|
|
395
|
-
**产出文件**:`docs/standards/contribution-guide.md`
|
|
396
|
-
|
|
397
|
-
**内容要求**:
|
|
398
|
-
|
|
399
|
-
* 贡献者旅程(3 步流程)
|
|
400
|
-
|
|
401
|
-
* 必须项检查清单(5 条,CI 自动验证):
|
|
402
|
-
1. 触发词已在 CLAUDE.md 中注册
|
|
403
|
-
2. 有至少 1 个测试用例
|
|
404
|
-
3. 版本兼容性已声明
|
|
405
|
-
4. 使用了对应标准模板
|
|
406
|
-
5. Impact Scope 已在 manifest.md 中声明
|
|
407
|
-
|
|
408
|
-
* CI 门禁说明
|
|
409
|
-
|
|
410
|
-
* 规范版本化策略
|
|
411
|
-
|
|
412
|
-
**验收条件**:必须项恰好 5 条,CI 门禁说明可操作
|
|
413
|
-
|
|
414
|
-
---
|
|
415
|
-
|
|
416
|
-
### T-11: Skill/Agent/Hook 模板(P2)
|
|
417
|
-
|
|
418
|
-
**依赖**:T-10 完成
|
|
419
|
-
|
|
420
|
-
**产出文件**:
|
|
421
|
-
|
|
422
|
-
* `docs/standards/templates/skill-template.md`
|
|
423
|
-
|
|
424
|
-
* `docs/standards/templates/agent-template.md`
|
|
425
|
-
|
|
426
|
-
* `docs/standards/templates/hook-template.md`
|
|
427
|
-
|
|
428
|
-
**内容要求**:
|
|
429
|
-
|
|
430
|
-
* Skill 模板:触发词列表、约束条件、输出格式、测试用例(≥2)、版本兼容性声明
|
|
431
|
-
|
|
432
|
-
* Agent 模板:角色定义、工具权限列表、输入契约、输出契约、错误处理策略
|
|
433
|
-
|
|
434
|
-
* Hook 模板:HookType 声明、必需字段、可选字段、失败降级策略
|
|
435
|
-
|
|
436
|
-
**验收条件**:3 个模板文件存在,每个有完整占位符,可直接复制使用
|
|
437
|
-
|
|
438
|
-
---
|
|
439
|
-
|
|
440
|
-
### T-12: 项目 README 索引更新(P2)
|
|
441
|
-
|
|
442
|
-
**依赖**:T-02、T-03a、T-03b、T-08a、T-08b 均完成
|
|
443
|
-
|
|
444
|
-
**产出文件**:`README.md`(修改)
|
|
445
|
-
|
|
446
|
-
**修改内容**:添加"规范文档"章节,链接到 `docs/standards/README.md`
|
|
447
|
-
|
|
448
|
-
**验收条件**:README.md 包含规范文档链接,链接有效,说明简洁(≤3 句话)
|
|
449
|
-
|
|
450
|
-
---
|
|
451
|
-
|
|
452
|
-
### T-13: CLAUDE.md 规范引用追加(P2)
|
|
453
|
-
|
|
454
|
-
**依赖**:T-10、T-11 均完成
|
|
455
|
-
|
|
456
|
-
**产出文件**:`docs/CLAUDE.md`(修改,仅追加)
|
|
457
|
-
|
|
458
|
-
**修改内容**:追加 `<standards>` 章节,引用规范文档入口和贡献检查清单 5 个必须项
|
|
459
|
-
|
|
460
|
-
**风险说明**:高风险(影响所有 agent 运行时行为),修改后必须进行集成测试回归验证
|
|
461
|
-
|
|
462
|
-
**验收条件**:仅追加内容,现有内容完整保留,集成测试通过
|
|
463
|
-
|
|
464
|
-
---
|
|
465
|
-
|
|
466
|
-
### T-14: 集成验证 + CI 门禁(P2)
|
|
467
|
-
|
|
468
|
-
**依赖**:T-12、T-13 均完成
|
|
469
|
-
|
|
470
|
-
**产出文件**:CI 配置文件 + 验证脚本(新增)
|
|
471
|
-
|
|
472
|
-
**CI 门禁内容**:
|
|
473
|
-
1. 新增 skill/agent/hook 的 PR 必须包含触发词注册、测试用例、版本声明
|
|
474
|
-
2. 静态分析:检查未经 validateMode 校验的 mode 参数路径拼接
|
|
475
|
-
3. 验证 .gitignore 包含 .omc/ 目录
|
|
476
|
-
4. 自动对比 bridge.ts 中的 HookType 定义与规范文档,检测遗漏
|
|
477
|
-
|
|
478
|
-
**人工验证**:用新模板创建 demo skill,确认模板可用;验证 CLAUDE.md 修改未破坏现有 agent 行为
|
|
479
|
-
|
|
480
|
-
**验收条件**:CI 门禁覆盖 4 项自动检查,demo skill 创建成功,集成测试通过
|
|
481
|
-
|
|
482
|
-
---
|
|
483
|
-
|
|
484
|
-
## 4. 执行阶段映射
|
|
485
|
-
|
|
486
|
-
| 阶段 | 任务 | 可并行 | 预计工时 |
|
|
487
|
-
| ------ | ------ | -------- | --------- |
|
|
488
|
-
| 阶段 0(前置审计) | T-01a、T-01b | 是 | ~8h |
|
|
489
|
-
| 阶段 1(P0 规范) | T-02、T-03a、T-03b、T-04a、T-04b、T-05、T-06、T-07、T-08a、T-08b | 部分并行 | ~24h |
|
|
490
|
-
| 阶段 2(P1) | T-09、T-10 | T-09 可与 T-10 并行 | ~6h |
|
|
491
|
-
| 阶段 3(P2) | T-11、T-12、T-13 | T-11/T-12 可并行 | ~7h |
|
|
492
|
-
| 阶段 4(验证) | T-14 | 否 | ~4h |
|
|
493
|
-
|
|
494
|
-
**总估算**:~49h(含并行优化后实际约 35h)
|
|
495
|
-
|
|
496
|
-
---
|
|
497
|
-
|
|
498
|
-
## 5. 验收标准追溯矩阵
|
|
499
|
-
|
|
500
|
-
| AC 编号 | 验收项 | 覆盖任务 |
|
|
501
|
-
| --------- | -------- | --------- |
|
|
502
|
-
| AC-01 | P0 规范覆盖已知 BUG 场景 | T-03a、T-03b、T-04a、T-04b、T-05、T-06 |
|
|
503
|
-
| AC-02 | 新用户首次选出正确 skill 的时间 | T-08a、T-08b |
|
|
504
|
-
| AC-03 | 新增 skill 检查清单覆盖率 | T-10、T-14 |
|
|
505
|
-
| AC-04 | Hook 类型规范完整性 | T-01a、T-04a |
|
|
506
|
-
| AC-05 | 系统反馈标准化 | T-08b |
|
|
507
|
-
| AC-06 | 规范执行机制(CI 门禁) | T-14 |
|
|
1
|
+
# 任务清单: ultrapower 全链路规范体系
|
|
2
|
+
|
|
3
|
+
> 生成时间: 2026-02-26
|
|
4
|
+
> 真理之源: Rough PRD (ultrapower 全链路规范体系)
|
|
5
|
+
> 状态: 待执行(已拆分大任务)
|
|
6
|
+
> 拆分时间: 2026-02-26
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1. 架构图(全局上下文)
|
|
11
|
+
|
|
12
|
+
```mermaid
|
|
13
|
+
graph TD
|
|
14
|
+
T01a["T-01a: Hook/Bridge 审计<br/>(P-1, ~4h)"]
|
|
15
|
+
T01b["T-01b: Mode/Agent/State 审计<br/>(P-1, ~4h)"]
|
|
16
|
+
|
|
17
|
+
T02["T-02: 规范体系入口 README.md"]
|
|
18
|
+
T03a["T-03a: Hook 输入防护规范"]
|
|
19
|
+
T03b["T-03b: State/Mode 防护规范"]
|
|
20
|
+
T04a["T-04a: HookType 枚举与路由规范"]
|
|
21
|
+
T04b["T-04b: 执行顺序与优先级规范"]
|
|
22
|
+
T05["T-05: 状态机规范"]
|
|
23
|
+
T06["T-06: Agent 生命周期规范"]
|
|
24
|
+
T07["T-07: validateMode.ts 实现"]
|
|
25
|
+
|
|
26
|
+
T08a["T-08a: Skill 决策树"]
|
|
27
|
+
T08b["T-08b: Agent 路由指南"]
|
|
28
|
+
T09["T-09: 反模式清单"]
|
|
29
|
+
|
|
30
|
+
T10["T-10: 贡献规范"]
|
|
31
|
+
T11["T-11: Skill/Agent/Hook 模板"]
|
|
32
|
+
|
|
33
|
+
T12["T-12: 项目 README 索引更新"]
|
|
34
|
+
T13["T-13: CLAUDE.md 规范引用追加"]
|
|
35
|
+
T14["T-14: 集成验证 + CI 门禁"]
|
|
36
|
+
|
|
37
|
+
T01a --> T02
|
|
38
|
+
T01a --> T03a
|
|
39
|
+
T01a --> T04a
|
|
40
|
+
T01b --> T03b
|
|
41
|
+
T01b --> T04b
|
|
42
|
+
T01b --> T05
|
|
43
|
+
T01b --> T06
|
|
44
|
+
T01b --> T07
|
|
45
|
+
|
|
46
|
+
T01a --> T08a
|
|
47
|
+
T01b --> T08b
|
|
48
|
+
T01a --> T09
|
|
49
|
+
T01b --> T09
|
|
50
|
+
|
|
51
|
+
T03a --> T10
|
|
52
|
+
T03b --> T10
|
|
53
|
+
T04a --> T10
|
|
54
|
+
T04b --> T10
|
|
55
|
+
T05 --> T10
|
|
56
|
+
T06 --> T10
|
|
57
|
+
T07 --> T10
|
|
58
|
+
|
|
59
|
+
T10 --> T11
|
|
60
|
+
|
|
61
|
+
T02 --> T12
|
|
62
|
+
T03a --> T12
|
|
63
|
+
T03b --> T12
|
|
64
|
+
T08a --> T12
|
|
65
|
+
T08b --> T12
|
|
66
|
+
|
|
67
|
+
T10 --> T13
|
|
68
|
+
T11 --> T13
|
|
69
|
+
|
|
70
|
+
T12 --> T14
|
|
71
|
+
T13 --> T14
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 2. 任务总览表
|
|
77
|
+
|
|
78
|
+
| ID | 标题 | 优先级 | 工作量 | 依赖 | 涉及文件数 | 标记 |
|
|
79
|
+
| ---- | ------ | -------- | -------- | ------ | ----------- | ------ |
|
|
80
|
+
| T-01a | Hook/Bridge 审计 | P-1 | ~4h | None | 3 (只读) | - |
|
|
81
|
+
| T-01b | Mode/Agent/State 审计 | P-1 | ~4h | None | 4 (只读) | - |
|
|
82
|
+
| T-02 | 规范体系入口 README.md | P0 | ~2h | T-01a | 1 | - |
|
|
83
|
+
| T-03a | Hook 输入防护规范 | P0 | ~3h | T-01a | 1 | - |
|
|
84
|
+
| T-03b | State/Mode 防护规范 | P0 | ~3h | T-01b | 1 | - |
|
|
85
|
+
| T-04a | HookType 枚举与路由规范 | P0 | ~3h | T-01a | 1 | - |
|
|
86
|
+
| T-04b | 执行顺序与优先级规范 | P0 | ~3h | T-01a | 1 | - |
|
|
87
|
+
| T-05 | 状态机规范 | P0 | ~4h | T-01b | 1 | - |
|
|
88
|
+
| T-06 | Agent 生命周期规范 | P0 | ~4h | T-01b | 1 | - |
|
|
89
|
+
| T-07 | validateMode.ts 实现 | P0 | ~3h | T-01b | 2 | - |
|
|
90
|
+
| T-08a | Skill 决策树 | P0-并行 | ~3h | T-01a | 1 | - |
|
|
91
|
+
| T-08b | Agent 路由指南 | P0-并行 | ~3h | T-01b | 1 | - |
|
|
92
|
+
| T-09 | 反模式清单 | P1 | ~3h | T-01a,T-01b | 1 | - |
|
|
93
|
+
| T-10 | 贡献规范 | P1 | ~3h | T-03a,T-03b,T-04a,T-04b,T-05,T-06,T-07 | 1 | - |
|
|
94
|
+
| T-11 | Skill/Agent/Hook 模板 | P2 | ~4h | T-10 | 3 | - |
|
|
95
|
+
| T-12 | 项目 README 索引更新 | P2 | ~1h | T-02,T-03a,T-03b,T-08a,T-08b | 1 | - |
|
|
96
|
+
| T-13 | CLAUDE.md 规范引用追加 | P2 | ~2h | T-10,T-11 | 1 | - |
|
|
97
|
+
| T-14 | 集成验证 + CI 门禁 | P2 | ~4h | T-12,T-13 | 2+ | - |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 3. 任务详细描述(DAG 顺序)
|
|
102
|
+
|
|
103
|
+
### T-01a: Hook/Bridge 审计(P-1,前置)
|
|
104
|
+
|
|
105
|
+
**目标**:审计 `src/hooks/bridge.ts` 和相关 hook 文件,提取完整 HookType 定义和执行规则。
|
|
106
|
+
|
|
107
|
+
**输入文件(只读)**:
|
|
108
|
+
|
|
109
|
+
* `src/hooks/bridge.ts`:提取全部 HookType 枚举(已知 15 类)
|
|
110
|
+
|
|
111
|
+
* `src/hooks/guards/pre-tool.ts`、`post-tool.ts`:提取 hook 执行顺序
|
|
112
|
+
|
|
113
|
+
* `src/hooks/persistent-mode/index.ts`:提取 Stop 阶段优先级规则
|
|
114
|
+
|
|
115
|
+
**产出**:`docs/standards/audit-report.md`(T-01a 部分)
|
|
116
|
+
|
|
117
|
+
**验收条件**:
|
|
118
|
+
|
|
119
|
+
* 列出全部 15 个 HookType,与 bridge.ts 定义一一对应
|
|
120
|
+
|
|
121
|
+
* 记录 Stop 阶段优先级链:Ralph > Ultrawork > Todo-Continuation
|
|
122
|
+
|
|
123
|
+
* 记录 hook 失败降级策略(静默 vs 阻塞)
|
|
124
|
+
|
|
125
|
+
* 记录 bridge-normalize.ts 当前白名单覆盖范围
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
### T-01b: Mode/Agent/State 审计(P-1,前置)
|
|
130
|
+
|
|
131
|
+
**目标**:审计状态机、Agent 生命周期和并发保护机制,提取实现细节。
|
|
132
|
+
|
|
133
|
+
**输入文件(只读)**:
|
|
134
|
+
|
|
135
|
+
* `src/hooks/mode-registry/index.ts`:状态机转换规则、stale marker 阈值
|
|
136
|
+
|
|
137
|
+
* `src/agents/definitions.ts`:AgentConfig 类型定义和生命周期约束
|
|
138
|
+
|
|
139
|
+
* `src/hooks/subagent-tracker/index.ts`:并发保护机制
|
|
140
|
+
|
|
141
|
+
* `src/lib/atomic-write.ts`:原子写入实现细节
|
|
142
|
+
|
|
143
|
+
**产出**:`docs/standards/audit-report.md`(T-01b 部分,与 T-01a 合并)
|
|
144
|
+
|
|
145
|
+
**验收条件**:
|
|
146
|
+
|
|
147
|
+
* 记录 STALE_THRESHOLD_MS(5 分钟)、COST_LIMIT_USD(1.0)、DEADLOCK_CHECK_THRESHOLD(3)
|
|
148
|
+
|
|
149
|
+
* 记录 SubagentStopInput.success 已废弃(@deprecated)
|
|
150
|
+
|
|
151
|
+
* 记录 Windows rename 语义差异
|
|
152
|
+
|
|
153
|
+
* 记录各状态文件并发保护级别不一致性
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### T-02: 规范体系入口 README.md(P0)
|
|
158
|
+
|
|
159
|
+
**依赖**:T-01a 完成
|
|
160
|
+
|
|
161
|
+
**产出文件**:`docs/standards/README.md`
|
|
162
|
+
|
|
163
|
+
**内容要求**:
|
|
164
|
+
|
|
165
|
+
* 规范体系概述(一段话)
|
|
166
|
+
|
|
167
|
+
* 所有规范文档的索引表(文件名、优先级、说明)
|
|
168
|
+
|
|
169
|
+
* 快速导航:新用户 → user-guide.md,贡献者 → contribution-guide.md,维护者 → runtime-protection.md
|
|
170
|
+
|
|
171
|
+
* 版本声明:`ultrapower-version: 5.0.21`
|
|
172
|
+
|
|
173
|
+
**验收条件**:文件存在,索引覆盖全部 P0/P1/P2 规范文档,单一入口可从 README.md 和 CLAUDE.md 访问
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
### T-03a: Hook 输入防护规范(P0)
|
|
178
|
+
|
|
179
|
+
**依赖**:T-01a 完成
|
|
180
|
+
|
|
181
|
+
**产出文件**:`docs/standards/runtime-protection.md`(与 T-03b 合并为同一文件)
|
|
182
|
+
|
|
183
|
+
**内容要求**(基于 T-01a 审计结果):
|
|
184
|
+
|
|
185
|
+
* 全部 15 类 HookType 的必需字段白名单
|
|
186
|
+
|
|
187
|
+
* bridge-normalize.ts 扩展要求(从 3 类扩展至 15 类)
|
|
188
|
+
|
|
189
|
+
* 未知字段丢弃规则
|
|
190
|
+
|
|
191
|
+
* permission-request 类型不可静默降级的强制要求
|
|
192
|
+
|
|
193
|
+
**验收条件**:规范覆盖全部 15 个 HookType,每类有明确的必需字段和禁止字段列表
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
### T-03b: State/Mode 防护规范(P0)
|
|
198
|
+
|
|
199
|
+
**依赖**:T-01b 完成
|
|
200
|
+
|
|
201
|
+
**产出文件**:`docs/standards/runtime-protection.md`(追加到 T-03a 产出)
|
|
202
|
+
|
|
203
|
+
**内容要求**(基于 T-01b 审计结果):
|
|
204
|
+
|
|
205
|
+
* 原子写入强制要求(atomicWriteJsonSync / atomicWriteJson)
|
|
206
|
+
|
|
207
|
+
* 各状态文件并发保护级别对照表(含不一致性说明)
|
|
208
|
+
|
|
209
|
+
* Windows 平台 rename 语义差异说明
|
|
210
|
+
|
|
211
|
+
* 路径安全:mode 参数白名单校验(7 个合法值)
|
|
212
|
+
|
|
213
|
+
* 状态文件损坏恢复流程
|
|
214
|
+
|
|
215
|
+
* agent-replay-*.jsonl 敏感数据处理(权限 600,7 天清理)
|
|
216
|
+
|
|
217
|
+
**验收条件**:规范明确记录并发保护不一致性,Windows 差异有专门说明,路径安全规则可操作
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
### T-04a: HookType 枚举与路由规范(P0)
|
|
222
|
+
|
|
223
|
+
**依赖**:T-01a 完成
|
|
224
|
+
|
|
225
|
+
**产出文件**:`docs/standards/hook-execution-order.md`(与 T-04b 合并)
|
|
226
|
+
|
|
227
|
+
**内容要求**:
|
|
228
|
+
|
|
229
|
+
* 全部 15 个 HookType 的完整分类表(阶段、触发时机、必需字段)
|
|
230
|
+
|
|
231
|
+
* 每类 HookType 的路由规则
|
|
232
|
+
|
|
233
|
+
* HookType 完整性验证方法(自动化脚本对比 bridge.ts)
|
|
234
|
+
|
|
235
|
+
**验收条件**:HookType 数量与 bridge.ts 定义一致(15 个),分类覆盖六个阶段
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
### T-04b: 执行顺序与优先级规范(P0)
|
|
240
|
+
|
|
241
|
+
**依赖**:T-01a 完成
|
|
242
|
+
|
|
243
|
+
**产出文件**:`docs/standards/hook-execution-order.md`(追加到 T-04a 产出)
|
|
244
|
+
|
|
245
|
+
**内容要求**:
|
|
246
|
+
|
|
247
|
+
* Stop 阶段优先级链:Ralph(最高) > Ultrawork > Todo-Continuation(最低)
|
|
248
|
+
|
|
249
|
+
* 高优先级 hook 处理后低优先级不得重复处理的互斥规则
|
|
250
|
+
|
|
251
|
+
* hook 失败降级策略:大多数静默降级,permission-request 例外
|
|
252
|
+
|
|
253
|
+
* hook 超时处理:PreToolUse 超时 5s 继续执行,PostToolUse 超时标记"待重试"
|
|
254
|
+
|
|
255
|
+
**验收条件**:Stop 阶段优先级规则可执行,超时处理有明确数值,降级策略有例外清单
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
### T-05: 状态机规范(P0)
|
|
260
|
+
|
|
261
|
+
**依赖**:T-01b 完成
|
|
262
|
+
|
|
263
|
+
**产出文件**:`docs/standards/state-machine.md`
|
|
264
|
+
|
|
265
|
+
**内容要求**(基于 T-01b 审计结果):
|
|
266
|
+
|
|
267
|
+
* Agent 完整状态机(含 TIMEOUT、ZOMBIE 死状态)
|
|
268
|
+
|
|
269
|
+
* Team Pipeline 状态转换矩阵
|
|
270
|
+
|
|
271
|
+
* 各模式状态文件路径
|
|
272
|
+
|
|
273
|
+
* stale marker 阈值:1 小时
|
|
274
|
+
|
|
275
|
+
* 互斥模式检测规则(autopilot 与 ultrapilot 互斥)
|
|
276
|
+
|
|
277
|
+
**验收条件**:状态机覆盖所有已知边界情况,TIMEOUT(5 分钟)和 ZOMBIE(30 秒)有明确数值
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
### T-06: Agent 生命周期规范(P0)
|
|
282
|
+
|
|
283
|
+
**依赖**:T-01b 完成
|
|
284
|
+
|
|
285
|
+
**产出文件**:`docs/standards/agent-lifecycle.md`
|
|
286
|
+
|
|
287
|
+
**内容要求**(基于 T-01b 审计结果):
|
|
288
|
+
|
|
289
|
+
* Agent 边界情况矩阵(超时/孤儿状态/成本超限/死锁检测)
|
|
290
|
+
|
|
291
|
+
* SubagentStopInput.success 废弃说明及推断机制替代方案
|
|
292
|
+
|
|
293
|
+
* 孤儿 agent 检测:session-end hook 触发强制 SHUTDOWN
|
|
294
|
+
|
|
295
|
+
* 成本限制:COST_LIMIT_USD = 1.0
|
|
296
|
+
|
|
297
|
+
* 死锁检测:DEADLOCK_CHECK_THRESHOLD = 3
|
|
298
|
+
|
|
299
|
+
**验收条件**:边界情况矩阵覆盖 4 种情况,每种有触发条件和处理策略
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
### T-07: validateMode.ts 实现(P0)
|
|
304
|
+
|
|
305
|
+
**依赖**:T-01b 完成
|
|
306
|
+
|
|
307
|
+
**产出文件**:`src/lib/validateMode.ts`(新增)+ 测试文件
|
|
308
|
+
|
|
309
|
+
**实现要求**:
|
|
310
|
+
```typescript
|
|
311
|
+
const VALID_MODES = ['autopilot', 'ultrapilot', 'team', 'pipeline', 'ralph', 'ultrawork', 'ultraqa'] as const;
|
|
312
|
+
export type ValidMode = typeof VALID_MODES[number];
|
|
313
|
+
export function validateMode(mode: string): mode is ValidMode
|
|
314
|
+
export function assertValidMode(mode: string): ValidMode
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
**验收条件**:
|
|
318
|
+
|
|
319
|
+
* 通过 `tsc --noEmit`
|
|
320
|
+
|
|
321
|
+
* 单元测试覆盖 7 个合法值 + 非法值(路径遍历)
|
|
322
|
+
|
|
323
|
+
* 所有状态文件路径构建调用此函数
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
### T-08a: Skill 决策树(P0-并行)
|
|
328
|
+
|
|
329
|
+
**依赖**:T-01a 完成
|
|
330
|
+
|
|
331
|
+
**产出文件**:`docs/standards/user-guide.md`(与 T-08b 合并)
|
|
332
|
+
|
|
333
|
+
**内容要求**:
|
|
334
|
+
|
|
335
|
+
* 3 层决策树(第一层:5 个用户意图分支)
|
|
336
|
+
|
|
337
|
+
* 意图关键词 → skill 名称对照表
|
|
338
|
+
|
|
339
|
+
* 每个 skill 附示例命令(至少 1 条)
|
|
340
|
+
|
|
341
|
+
* autopilot vs ultrapilot 互斥说明
|
|
342
|
+
|
|
343
|
+
* 歧义输入处理规则
|
|
344
|
+
|
|
345
|
+
**验收条件**:决策树覆盖 5 个意图分支,关键词对照表可直接使用
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
### T-08b: Agent 路由指南(P0-并行)
|
|
350
|
+
|
|
351
|
+
**依赖**:T-01b 完成
|
|
352
|
+
|
|
353
|
+
**产出文件**:`docs/standards/user-guide.md`(追加到 T-08a 产出)
|
|
354
|
+
|
|
355
|
+
**内容要求**:
|
|
356
|
+
|
|
357
|
+
* 四个路由选项:直接处理 / skill / agent / MCP 工具
|
|
358
|
+
|
|
359
|
+
* 各 agent 角色适用场景边界
|
|
360
|
+
|
|
361
|
+
* 系统反馈标准化格式(进度/成功/错误/等待四种)
|
|
362
|
+
|
|
363
|
+
**验收条件**:四个路由选项有明确边界,系统反馈格式有可复用模板
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
### T-09: 反模式清单(P1)
|
|
368
|
+
|
|
369
|
+
**依赖**:T-01a、T-01b 均完成
|
|
370
|
+
|
|
371
|
+
**产出文件**:`docs/standards/anti-patterns.md`
|
|
372
|
+
|
|
373
|
+
**内容要求**:10 条反模式,每条格式:错误现象 + 根因 + 正确做法 + Bad/Good 示例
|
|
374
|
+
|
|
375
|
+
覆盖:
|
|
376
|
+
1. 用 executor 做分析任务
|
|
377
|
+
2. 用 autopilot 做简单单步操作
|
|
378
|
+
3. 并发写入同一状态文件
|
|
379
|
+
4. mode 参数未校验直接拼接路径
|
|
380
|
+
5. 忽略 hook 失败直接继续
|
|
381
|
+
6. 假设 SubagentStopInput.success 可用
|
|
382
|
+
7. 在 Windows 上假设 rename 是原子操作
|
|
383
|
+
8. 修改 CLAUDE.md 不做回归验证
|
|
384
|
+
9. 新增 skill 不写触发词
|
|
385
|
+
10. Team 模式跳过 team-prd 阶段
|
|
386
|
+
|
|
387
|
+
**验收条件**:10 条全部覆盖,每条有 Bad/Good 示例,根因可追溯到具体规范文档
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
### T-10: 贡献规范(P1)
|
|
392
|
+
|
|
393
|
+
**依赖**:T-03a、T-03b、T-04a、T-04b、T-05、T-06、T-07 均完成
|
|
394
|
+
|
|
395
|
+
**产出文件**:`docs/standards/contribution-guide.md`
|
|
396
|
+
|
|
397
|
+
**内容要求**:
|
|
398
|
+
|
|
399
|
+
* 贡献者旅程(3 步流程)
|
|
400
|
+
|
|
401
|
+
* 必须项检查清单(5 条,CI 自动验证):
|
|
402
|
+
1. 触发词已在 CLAUDE.md 中注册
|
|
403
|
+
2. 有至少 1 个测试用例
|
|
404
|
+
3. 版本兼容性已声明
|
|
405
|
+
4. 使用了对应标准模板
|
|
406
|
+
5. Impact Scope 已在 manifest.md 中声明
|
|
407
|
+
|
|
408
|
+
* CI 门禁说明
|
|
409
|
+
|
|
410
|
+
* 规范版本化策略
|
|
411
|
+
|
|
412
|
+
**验收条件**:必须项恰好 5 条,CI 门禁说明可操作
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
### T-11: Skill/Agent/Hook 模板(P2)
|
|
417
|
+
|
|
418
|
+
**依赖**:T-10 完成
|
|
419
|
+
|
|
420
|
+
**产出文件**:
|
|
421
|
+
|
|
422
|
+
* `docs/standards/templates/skill-template.md`
|
|
423
|
+
|
|
424
|
+
* `docs/standards/templates/agent-template.md`
|
|
425
|
+
|
|
426
|
+
* `docs/standards/templates/hook-template.md`
|
|
427
|
+
|
|
428
|
+
**内容要求**:
|
|
429
|
+
|
|
430
|
+
* Skill 模板:触发词列表、约束条件、输出格式、测试用例(≥2)、版本兼容性声明
|
|
431
|
+
|
|
432
|
+
* Agent 模板:角色定义、工具权限列表、输入契约、输出契约、错误处理策略
|
|
433
|
+
|
|
434
|
+
* Hook 模板:HookType 声明、必需字段、可选字段、失败降级策略
|
|
435
|
+
|
|
436
|
+
**验收条件**:3 个模板文件存在,每个有完整占位符,可直接复制使用
|
|
437
|
+
|
|
438
|
+
---
|
|
439
|
+
|
|
440
|
+
### T-12: 项目 README 索引更新(P2)
|
|
441
|
+
|
|
442
|
+
**依赖**:T-02、T-03a、T-03b、T-08a、T-08b 均完成
|
|
443
|
+
|
|
444
|
+
**产出文件**:`README.md`(修改)
|
|
445
|
+
|
|
446
|
+
**修改内容**:添加"规范文档"章节,链接到 `docs/standards/README.md`
|
|
447
|
+
|
|
448
|
+
**验收条件**:README.md 包含规范文档链接,链接有效,说明简洁(≤3 句话)
|
|
449
|
+
|
|
450
|
+
---
|
|
451
|
+
|
|
452
|
+
### T-13: CLAUDE.md 规范引用追加(P2)
|
|
453
|
+
|
|
454
|
+
**依赖**:T-10、T-11 均完成
|
|
455
|
+
|
|
456
|
+
**产出文件**:`docs/CLAUDE.md`(修改,仅追加)
|
|
457
|
+
|
|
458
|
+
**修改内容**:追加 `<standards>` 章节,引用规范文档入口和贡献检查清单 5 个必须项
|
|
459
|
+
|
|
460
|
+
**风险说明**:高风险(影响所有 agent 运行时行为),修改后必须进行集成测试回归验证
|
|
461
|
+
|
|
462
|
+
**验收条件**:仅追加内容,现有内容完整保留,集成测试通过
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
### T-14: 集成验证 + CI 门禁(P2)
|
|
467
|
+
|
|
468
|
+
**依赖**:T-12、T-13 均完成
|
|
469
|
+
|
|
470
|
+
**产出文件**:CI 配置文件 + 验证脚本(新增)
|
|
471
|
+
|
|
472
|
+
**CI 门禁内容**:
|
|
473
|
+
1. 新增 skill/agent/hook 的 PR 必须包含触发词注册、测试用例、版本声明
|
|
474
|
+
2. 静态分析:检查未经 validateMode 校验的 mode 参数路径拼接
|
|
475
|
+
3. 验证 .gitignore 包含 .omc/ 目录
|
|
476
|
+
4. 自动对比 bridge.ts 中的 HookType 定义与规范文档,检测遗漏
|
|
477
|
+
|
|
478
|
+
**人工验证**:用新模板创建 demo skill,确认模板可用;验证 CLAUDE.md 修改未破坏现有 agent 行为
|
|
479
|
+
|
|
480
|
+
**验收条件**:CI 门禁覆盖 4 项自动检查,demo skill 创建成功,集成测试通过
|
|
481
|
+
|
|
482
|
+
---
|
|
483
|
+
|
|
484
|
+
## 4. 执行阶段映射
|
|
485
|
+
|
|
486
|
+
| 阶段 | 任务 | 可并行 | 预计工时 |
|
|
487
|
+
| ------ | ------ | -------- | --------- |
|
|
488
|
+
| 阶段 0(前置审计) | T-01a、T-01b | 是 | ~8h |
|
|
489
|
+
| 阶段 1(P0 规范) | T-02、T-03a、T-03b、T-04a、T-04b、T-05、T-06、T-07、T-08a、T-08b | 部分并行 | ~24h |
|
|
490
|
+
| 阶段 2(P1) | T-09、T-10 | T-09 可与 T-10 并行 | ~6h |
|
|
491
|
+
| 阶段 3(P2) | T-11、T-12、T-13 | T-11/T-12 可并行 | ~7h |
|
|
492
|
+
| 阶段 4(验证) | T-14 | 否 | ~4h |
|
|
493
|
+
|
|
494
|
+
**总估算**:~49h(含并行优化后实际约 35h)
|
|
495
|
+
|
|
496
|
+
---
|
|
497
|
+
|
|
498
|
+
## 5. 验收标准追溯矩阵
|
|
499
|
+
|
|
500
|
+
| AC 编号 | 验收项 | 覆盖任务 |
|
|
501
|
+
| --------- | -------- | --------- |
|
|
502
|
+
| AC-01 | P0 规范覆盖已知 BUG 场景 | T-03a、T-03b、T-04a、T-04b、T-05、T-06 |
|
|
503
|
+
| AC-02 | 新用户首次选出正确 skill 的时间 | T-08a、T-08b |
|
|
504
|
+
| AC-03 | 新增 skill 检查清单覆盖率 | T-10、T-14 |
|
|
505
|
+
| AC-04 | Hook 类型规范完整性 | T-01a、T-04a |
|
|
506
|
+
| AC-05 | 系统反馈标准化 | T-08b |
|
|
507
|
+
| AC-06 | 规范执行机制(CI 门禁) | T-14 |
|