oh-my-claude-sisyphus 2.6.0 → 3.0.0
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/README.md +59 -708
- package/agents/analyst.md +85 -0
- package/agents/architect-low.md +88 -0
- package/agents/architect-medium.md +108 -0
- package/agents/architect.md +77 -0
- package/agents/critic.md +97 -0
- package/agents/designer-high.md +113 -0
- package/agents/designer-low.md +89 -0
- package/agents/designer.md +80 -0
- package/agents/executor-high.md +116 -0
- package/agents/executor-low.md +94 -0
- package/agents/executor.md +62 -0
- package/agents/explore-medium.md +113 -0
- package/agents/explore.md +86 -0
- package/agents/planner.md +164 -0
- package/agents/qa-tester.md +109 -0
- package/agents/researcher-low.md +84 -0
- package/agents/researcher.md +70 -0
- package/agents/vision.md +39 -0
- package/agents/writer.md +152 -0
- package/commands/.gitkeep +0 -0
- package/dist/__tests__/hooks.test.js +22 -22
- package/dist/__tests__/hooks.test.js.map +1 -1
- package/dist/__tests__/hud-agents.test.d.ts +7 -0
- package/dist/__tests__/hud-agents.test.d.ts.map +1 -0
- package/dist/__tests__/hud-agents.test.js +363 -0
- package/dist/__tests__/hud-agents.test.js.map +1 -0
- package/dist/__tests__/installer.test.js +184 -116
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/__tests__/learned-skills/config.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/config.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/config.test.js +37 -0
- package/dist/__tests__/learned-skills/config.test.js.map +1 -0
- package/dist/__tests__/learned-skills/detector.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/detector.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/detector.test.js +99 -0
- package/dist/__tests__/learned-skills/detector.test.js.map +1 -0
- package/dist/__tests__/learned-skills/finder.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/finder.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/finder.test.js +59 -0
- package/dist/__tests__/learned-skills/finder.test.js.map +1 -0
- package/dist/__tests__/learned-skills/loader.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/loader.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/loader.test.js +69 -0
- package/dist/__tests__/learned-skills/loader.test.js.map +1 -0
- package/dist/__tests__/learned-skills/parser.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/parser.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/parser.test.js +81 -0
- package/dist/__tests__/learned-skills/parser.test.js.map +1 -0
- package/dist/__tests__/learned-skills/validator.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/validator.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/validator.test.js +85 -0
- package/dist/__tests__/learned-skills/validator.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.js +37 -0
- package/dist/__tests__/mnemosyne/config.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.js +99 -0
- package/dist/__tests__/mnemosyne/detector.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.js +61 -0
- package/dist/__tests__/mnemosyne/finder.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.js +73 -0
- package/dist/__tests__/mnemosyne/loader.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.js +81 -0
- package/dist/__tests__/mnemosyne/parser.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.js +85 -0
- package/dist/__tests__/mnemosyne/validator.test.js.map +1 -0
- package/dist/__tests__/model-routing.test.js +34 -34
- package/dist/__tests__/model-routing.test.js.map +1 -1
- package/dist/__tests__/notepad.test.js +7 -7
- package/dist/__tests__/notepad.test.js.map +1 -1
- package/dist/__tests__/ralph-prd.test.js +12 -12
- package/dist/__tests__/ralph-prd.test.js.map +1 -1
- package/dist/__tests__/ralph-progress.test.js +12 -12
- package/dist/__tests__/ralph-progress.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +50 -17
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/__tests__/types.test.js +5 -5
- package/dist/__tests__/types.test.js.map +1 -1
- package/dist/agents/analyst.d.ts +11 -0
- package/dist/agents/analyst.d.ts.map +1 -0
- package/dist/agents/analyst.js +115 -0
- package/dist/agents/analyst.js.map +1 -0
- package/dist/agents/architect.d.ts +12 -0
- package/dist/agents/architect.d.ts.map +1 -0
- package/dist/agents/architect.js +189 -0
- package/dist/agents/architect.js.map +1 -0
- package/dist/agents/coordinator.d.ts +11 -0
- package/dist/agents/coordinator.d.ts.map +1 -0
- package/dist/agents/coordinator.js +115 -0
- package/dist/agents/coordinator.js.map +1 -0
- package/dist/agents/critic.d.ts +11 -0
- package/dist/agents/critic.d.ts.map +1 -0
- package/dist/agents/critic.js +127 -0
- package/dist/agents/critic.js.map +1 -0
- package/dist/agents/definitions.d.ts +33 -70
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +140 -1268
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/designer.d.ts +11 -0
- package/dist/agents/designer.d.ts.map +1 -0
- package/dist/agents/designer.js +115 -0
- package/dist/agents/designer.js.map +1 -0
- package/dist/agents/executor.d.ts +12 -0
- package/dist/agents/executor.d.ts.map +1 -0
- package/dist/agents/executor.js +93 -0
- package/dist/agents/executor.js.map +1 -0
- package/dist/agents/explore.js +4 -4
- package/dist/agents/explore.js.map +1 -1
- package/dist/agents/index.d.ts +12 -11
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +15 -16
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/planner.d.ts +11 -0
- package/dist/agents/planner.d.ts.map +1 -0
- package/dist/agents/planner.js +194 -0
- package/dist/agents/planner.js.map +1 -0
- package/dist/agents/qa-tester.js +16 -16
- package/dist/agents/qa-tester.js.map +1 -1
- package/dist/agents/researcher.d.ts +12 -0
- package/dist/agents/researcher.d.ts.map +1 -0
- package/dist/agents/researcher.js +103 -0
- package/dist/agents/researcher.js.map +1 -0
- package/dist/agents/vision.d.ts +11 -0
- package/dist/agents/vision.d.ts.map +1 -0
- package/dist/agents/vision.js +70 -0
- package/dist/agents/vision.js.map +1 -0
- package/dist/agents/writer.d.ts +11 -0
- package/dist/agents/writer.d.ts.map +1 -0
- package/dist/agents/writer.js +209 -0
- package/dist/agents/writer.js.map +1 -0
- package/dist/cli/index.js +32 -32
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/index.d.ts +4 -4
- package/dist/commands/index.js +4 -4
- package/dist/config/loader.js +25 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/features/auto-update.d.ts +5 -5
- package/dist/features/auto-update.d.ts.map +1 -1
- package/dist/features/auto-update.js +17 -17
- package/dist/features/auto-update.js.map +1 -1
- package/dist/features/background-agent/manager.js +1 -1
- package/dist/features/background-agent/manager.js.map +1 -1
- package/dist/features/boulder-state/constants.d.ts +5 -5
- package/dist/features/boulder-state/constants.d.ts.map +1 -1
- package/dist/features/boulder-state/constants.js +3 -3
- package/dist/features/boulder-state/constants.js.map +1 -1
- package/dist/features/boulder-state/index.d.ts +2 -2
- package/dist/features/boulder-state/index.d.ts.map +1 -1
- package/dist/features/boulder-state/index.js +2 -2
- package/dist/features/boulder-state/index.js.map +1 -1
- package/dist/features/boulder-state/storage.d.ts +3 -3
- package/dist/features/boulder-state/storage.d.ts.map +1 -1
- package/dist/features/boulder-state/storage.js +6 -6
- package/dist/features/boulder-state/storage.js.map +1 -1
- package/dist/features/builtin-skills/skills.d.ts +15 -1
- package/dist/features/builtin-skills/skills.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.js +100 -1110
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/features/context-injector/types.d.ts +1 -1
- package/dist/features/context-injector/types.d.ts.map +1 -1
- package/dist/features/index.d.ts +1 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +2 -2
- package/dist/features/index.js.map +1 -1
- package/dist/features/magic-keywords.js +14 -14
- package/dist/features/magic-keywords.js.map +1 -1
- package/dist/features/model-routing/prompts/opus.d.ts +1 -1
- package/dist/features/model-routing/prompts/opus.d.ts.map +1 -1
- package/dist/features/model-routing/prompts/opus.js +1 -1
- package/dist/features/model-routing/router.d.ts +1 -1
- package/dist/features/model-routing/router.js +14 -14
- package/dist/features/model-routing/router.js.map +1 -1
- package/dist/features/model-routing/rules.js +31 -31
- package/dist/features/model-routing/rules.js.map +1 -1
- package/dist/features/model-routing/types.js +1 -1
- package/dist/features/model-routing/types.js.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.d.ts +2 -2
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.js +5 -5
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/constants.js +9 -2
- package/dist/hooks/auto-slash-command/constants.js.map +1 -1
- package/dist/hooks/bridge.d.ts +2 -2
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +50 -18
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/directory-readme-injector/constants.d.ts +1 -1
- package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -1
- package/dist/hooks/directory-readme-injector/constants.js +2 -2
- package/dist/hooks/directory-readme-injector/constants.js.map +1 -1
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -4
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learned-skills/config.d.ts +53 -0
- package/dist/hooks/learned-skills/config.d.ts.map +1 -0
- package/dist/hooks/learned-skills/config.js +103 -0
- package/dist/hooks/learned-skills/config.js.map +1 -0
- package/dist/hooks/learned-skills/constants.d.ts +24 -0
- package/dist/hooks/learned-skills/constants.d.ts.map +1 -0
- package/dist/hooks/learned-skills/constants.js +26 -0
- package/dist/hooks/learned-skills/constants.js.map +1 -0
- package/dist/hooks/learned-skills/detection-hook.d.ts +39 -0
- package/dist/hooks/learned-skills/detection-hook.d.ts.map +1 -0
- package/dist/hooks/learned-skills/detection-hook.js +83 -0
- package/dist/hooks/learned-skills/detection-hook.js.map +1 -0
- package/dist/hooks/learned-skills/detector.d.ts +30 -0
- package/dist/hooks/learned-skills/detector.d.ts.map +1 -0
- package/dist/hooks/learned-skills/detector.js +150 -0
- package/dist/hooks/learned-skills/detector.js.map +1 -0
- package/dist/hooks/learned-skills/finder.d.ts +21 -0
- package/dist/hooks/learned-skills/finder.d.ts.map +1 -0
- package/dist/hooks/learned-skills/finder.js +117 -0
- package/dist/hooks/learned-skills/finder.js.map +1 -0
- package/dist/hooks/learned-skills/index.d.ts +62 -0
- package/dist/hooks/learned-skills/index.d.ts.map +1 -0
- package/dist/hooks/learned-skills/index.js +137 -0
- package/dist/hooks/learned-skills/index.js.map +1 -0
- package/dist/hooks/learned-skills/loader.d.ts +20 -0
- package/dist/hooks/learned-skills/loader.d.ts.map +1 -0
- package/dist/hooks/learned-skills/loader.js +107 -0
- package/dist/hooks/learned-skills/loader.js.map +1 -0
- package/dist/hooks/learned-skills/parser.d.ts +21 -0
- package/dist/hooks/learned-skills/parser.d.ts.map +1 -0
- package/dist/hooks/learned-skills/parser.js +190 -0
- package/dist/hooks/learned-skills/parser.js.map +1 -0
- package/dist/hooks/learned-skills/promotion.d.ts +29 -0
- package/dist/hooks/learned-skills/promotion.d.ts.map +1 -0
- package/dist/hooks/learned-skills/promotion.js +87 -0
- package/dist/hooks/learned-skills/promotion.js.map +1 -0
- package/dist/hooks/learned-skills/types.d.ts +109 -0
- package/dist/hooks/learned-skills/types.d.ts.map +1 -0
- package/dist/hooks/learned-skills/types.js +8 -0
- package/dist/hooks/learned-skills/types.js.map +1 -0
- package/dist/hooks/learned-skills/validator.d.ts +15 -0
- package/dist/hooks/learned-skills/validator.d.ts.map +1 -0
- package/dist/hooks/learned-skills/validator.js +87 -0
- package/dist/hooks/learned-skills/validator.js.map +1 -0
- package/dist/hooks/learned-skills/writer.d.ts +27 -0
- package/dist/hooks/learned-skills/writer.d.ts.map +1 -0
- package/dist/hooks/learned-skills/writer.js +126 -0
- package/dist/hooks/learned-skills/writer.js.map +1 -0
- package/dist/hooks/learner/config.d.ts +53 -0
- package/dist/hooks/learner/config.d.ts.map +1 -0
- package/dist/hooks/learner/config.js +103 -0
- package/dist/hooks/learner/config.js.map +1 -0
- package/dist/hooks/learner/constants.d.ts +24 -0
- package/dist/hooks/learner/constants.d.ts.map +1 -0
- package/dist/hooks/learner/constants.js +26 -0
- package/dist/hooks/learner/constants.js.map +1 -0
- package/dist/hooks/learner/detection-hook.d.ts +39 -0
- package/dist/hooks/learner/detection-hook.d.ts.map +1 -0
- package/dist/hooks/learner/detection-hook.js +83 -0
- package/dist/hooks/learner/detection-hook.js.map +1 -0
- package/dist/hooks/learner/detector.d.ts +30 -0
- package/dist/hooks/learner/detector.d.ts.map +1 -0
- package/dist/hooks/learner/detector.js +150 -0
- package/dist/hooks/learner/detector.js.map +1 -0
- package/dist/hooks/learner/finder.d.ts +21 -0
- package/dist/hooks/learner/finder.d.ts.map +1 -0
- package/dist/hooks/learner/finder.js +117 -0
- package/dist/hooks/learner/finder.js.map +1 -0
- package/dist/hooks/learner/index.d.ts +62 -0
- package/dist/hooks/learner/index.d.ts.map +1 -0
- package/dist/hooks/learner/index.js +137 -0
- package/dist/hooks/learner/index.js.map +1 -0
- package/dist/hooks/learner/loader.d.ts +20 -0
- package/dist/hooks/learner/loader.d.ts.map +1 -0
- package/dist/hooks/learner/loader.js +113 -0
- package/dist/hooks/learner/loader.js.map +1 -0
- package/dist/hooks/learner/parser.d.ts +21 -0
- package/dist/hooks/learner/parser.d.ts.map +1 -0
- package/dist/hooks/learner/parser.js +190 -0
- package/dist/hooks/learner/parser.js.map +1 -0
- package/dist/hooks/learner/promotion.d.ts +29 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -0
- package/dist/hooks/learner/promotion.js +87 -0
- package/dist/hooks/learner/promotion.js.map +1 -0
- package/dist/hooks/learner/types.d.ts +109 -0
- package/dist/hooks/learner/types.d.ts.map +1 -0
- package/dist/hooks/learner/types.js +8 -0
- package/dist/hooks/learner/types.js.map +1 -0
- package/dist/hooks/learner/validator.d.ts +15 -0
- package/dist/hooks/learner/validator.d.ts.map +1 -0
- package/dist/hooks/learner/validator.js +87 -0
- package/dist/hooks/learner/validator.js.map +1 -0
- package/dist/hooks/learner/writer.d.ts +27 -0
- package/dist/hooks/learner/writer.d.ts.map +1 -0
- package/dist/hooks/learner/writer.js +126 -0
- package/dist/hooks/learner/writer.js.map +1 -0
- package/dist/hooks/mnemosyne/config.d.ts +53 -0
- package/dist/hooks/mnemosyne/config.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/config.js +103 -0
- package/dist/hooks/mnemosyne/config.js.map +1 -0
- package/dist/hooks/mnemosyne/constants.d.ts +24 -0
- package/dist/hooks/mnemosyne/constants.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/constants.js +26 -0
- package/dist/hooks/mnemosyne/constants.js.map +1 -0
- package/dist/hooks/mnemosyne/detection-hook.d.ts +39 -0
- package/dist/hooks/mnemosyne/detection-hook.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/detection-hook.js +83 -0
- package/dist/hooks/mnemosyne/detection-hook.js.map +1 -0
- package/dist/hooks/mnemosyne/detector.d.ts +30 -0
- package/dist/hooks/mnemosyne/detector.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/detector.js +150 -0
- package/dist/hooks/mnemosyne/detector.js.map +1 -0
- package/dist/hooks/mnemosyne/finder.d.ts +21 -0
- package/dist/hooks/mnemosyne/finder.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/finder.js +117 -0
- package/dist/hooks/mnemosyne/finder.js.map +1 -0
- package/dist/hooks/mnemosyne/index.d.ts +62 -0
- package/dist/hooks/mnemosyne/index.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/index.js +137 -0
- package/dist/hooks/mnemosyne/index.js.map +1 -0
- package/dist/hooks/mnemosyne/loader.d.ts +20 -0
- package/dist/hooks/mnemosyne/loader.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/loader.js +113 -0
- package/dist/hooks/mnemosyne/loader.js.map +1 -0
- package/dist/hooks/mnemosyne/parser.d.ts +21 -0
- package/dist/hooks/mnemosyne/parser.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/parser.js +190 -0
- package/dist/hooks/mnemosyne/parser.js.map +1 -0
- package/dist/hooks/mnemosyne/promotion.d.ts +29 -0
- package/dist/hooks/mnemosyne/promotion.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/promotion.js +87 -0
- package/dist/hooks/mnemosyne/promotion.js.map +1 -0
- package/dist/hooks/mnemosyne/types.d.ts +109 -0
- package/dist/hooks/mnemosyne/types.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/types.js +8 -0
- package/dist/hooks/mnemosyne/types.js.map +1 -0
- package/dist/hooks/mnemosyne/validator.d.ts +15 -0
- package/dist/hooks/mnemosyne/validator.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/validator.js +87 -0
- package/dist/hooks/mnemosyne/validator.js.map +1 -0
- package/dist/hooks/mnemosyne/writer.d.ts +27 -0
- package/dist/hooks/mnemosyne/writer.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/writer.js +126 -0
- package/dist/hooks/mnemosyne/writer.js.map +1 -0
- package/dist/hooks/notepad/index.d.ts +2 -2
- package/dist/hooks/notepad/index.js +7 -7
- package/dist/hooks/notepad/index.js.map +1 -1
- package/dist/hooks/omc-orchestrator/constants.d.ts +23 -0
- package/dist/hooks/omc-orchestrator/constants.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/constants.js +142 -0
- package/dist/hooks/omc-orchestrator/constants.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts +113 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/index.js +309 -0
- package/dist/hooks/omc-orchestrator/index.js.map +1 -0
- package/dist/hooks/persistent-mode/index.d.ts +4 -4
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +37 -37
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/ralph-loop/index.d.ts +33 -5
- package/dist/hooks/ralph-loop/index.d.ts.map +1 -1
- package/dist/hooks/ralph-loop/index.js +91 -17
- package/dist/hooks/ralph-loop/index.js.map +1 -1
- package/dist/hooks/ralph-prd/index.d.ts +4 -4
- package/dist/hooks/ralph-prd/index.d.ts.map +1 -1
- package/dist/hooks/ralph-prd/index.js +13 -13
- package/dist/hooks/ralph-prd/index.js.map +1 -1
- package/dist/hooks/ralph-progress/index.d.ts +5 -5
- package/dist/hooks/ralph-progress/index.d.ts.map +1 -1
- package/dist/hooks/ralph-progress/index.js +14 -14
- package/dist/hooks/ralph-progress/index.js.map +1 -1
- package/dist/hooks/ralph-verifier/index.d.ts +23 -23
- package/dist/hooks/ralph-verifier/index.d.ts.map +1 -1
- package/dist/hooks/ralph-verifier/index.js +41 -41
- package/dist/hooks/ralph-verifier/index.js.map +1 -1
- package/dist/hooks/rules-injector/constants.d.ts +1 -1
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -2
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/todo-continuation/index.js +1 -1
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultraqa-loop/index.d.ts +1 -1
- package/dist/hooks/ultraqa-loop/index.js +8 -8
- package/dist/hooks/ultraqa-loop/index.js.map +1 -1
- package/dist/hooks/ultrawork-state/index.js +7 -7
- package/dist/hooks/ultrawork-state/index.js.map +1 -1
- package/dist/hud/background-tasks.d.ts +26 -0
- package/dist/hud/background-tasks.d.ts.map +1 -0
- package/dist/hud/background-tasks.js +116 -0
- package/dist/hud/background-tasks.js.map +1 -0
- package/dist/hud/colors.d.ts +54 -0
- package/dist/hud/colors.d.ts.map +1 -0
- package/dist/hud/colors.js +156 -0
- package/dist/hud/colors.js.map +1 -0
- package/dist/hud/elements/agents.d.ts +73 -0
- package/dist/hud/elements/agents.d.ts.map +1 -0
- package/dist/hud/elements/agents.js +405 -0
- package/dist/hud/elements/agents.js.map +1 -0
- package/dist/hud/elements/background.d.ts +20 -0
- package/dist/hud/elements/background.d.ts.map +1 -0
- package/dist/hud/elements/background.js +70 -0
- package/dist/hud/elements/background.js.map +1 -0
- package/dist/hud/elements/context.d.ts +19 -0
- package/dist/hud/elements/context.d.ts.map +1 -0
- package/dist/hud/elements/context.js +58 -0
- package/dist/hud/elements/context.js.map +1 -0
- package/dist/hud/elements/index.d.ts +17 -0
- package/dist/hud/elements/index.d.ts.map +1 -0
- package/dist/hud/elements/index.js +17 -0
- package/dist/hud/elements/index.js.map +1 -0
- package/dist/hud/elements/limits.d.ts +19 -0
- package/dist/hud/elements/limits.d.ts.map +1 -0
- package/dist/hud/elements/limits.js +54 -0
- package/dist/hud/elements/limits.js.map +1 -0
- package/dist/hud/elements/permission.d.ts +13 -0
- package/dist/hud/elements/permission.d.ts.map +1 -0
- package/dist/hud/elements/permission.js +20 -0
- package/dist/hud/elements/permission.js.map +1 -0
- package/dist/hud/elements/prd.d.ts +20 -0
- package/dist/hud/elements/prd.d.ts.map +1 -0
- package/dist/hud/elements/prd.js +52 -0
- package/dist/hud/elements/prd.js.map +1 -0
- package/dist/hud/elements/ralph.d.ts +14 -0
- package/dist/hud/elements/ralph.d.ts.map +1 -0
- package/dist/hud/elements/ralph.js +36 -0
- package/dist/hud/elements/ralph.js.map +1 -0
- package/dist/hud/elements/session.d.ts +13 -0
- package/dist/hud/elements/session.d.ts.map +1 -0
- package/dist/hud/elements/session.js +24 -0
- package/dist/hud/elements/session.js.map +1 -0
- package/dist/hud/elements/skills.d.ts +24 -0
- package/dist/hud/elements/skills.d.ts.map +1 -0
- package/dist/hud/elements/skills.js +81 -0
- package/dist/hud/elements/skills.js.map +1 -0
- package/dist/hud/elements/thinking.d.ts +13 -0
- package/dist/hud/elements/thinking.d.ts.map +1 -0
- package/dist/hud/elements/thinking.js +19 -0
- package/dist/hud/elements/thinking.js.map +1 -0
- package/dist/hud/elements/todos.d.ts +20 -0
- package/dist/hud/elements/todos.d.ts.map +1 -0
- package/dist/hud/elements/todos.js +70 -0
- package/dist/hud/elements/todos.js.map +1 -0
- package/dist/hud/index.d.ts +9 -0
- package/dist/hud/index.d.ts.map +1 -0
- package/dist/hud/index.js +89 -0
- package/dist/hud/index.js.map +1 -0
- package/dist/hud/omc-state.d.ts +31 -0
- package/dist/hud/omc-state.d.ts.map +1 -0
- package/dist/hud/omc-state.js +163 -0
- package/dist/hud/omc-state.js.map +1 -0
- package/dist/hud/render.d.ts +11 -0
- package/dist/hud/render.d.ts.map +1 -0
- package/dist/hud/render.js +121 -0
- package/dist/hud/render.js.map +1 -0
- package/dist/hud/sisyphus-state.d.ts +31 -0
- package/dist/hud/sisyphus-state.d.ts.map +1 -0
- package/dist/hud/sisyphus-state.js +163 -0
- package/dist/hud/sisyphus-state.js.map +1 -0
- package/dist/hud/state.d.ts +43 -0
- package/dist/hud/state.d.ts.map +1 -0
- package/dist/hud/state.js +201 -0
- package/dist/hud/state.js.map +1 -0
- package/dist/hud/stdin.d.ts +22 -0
- package/dist/hud/stdin.d.ts.map +1 -0
- package/dist/hud/stdin.js +65 -0
- package/dist/hud/stdin.js.map +1 -0
- package/dist/hud/transcript.d.ts +32 -0
- package/dist/hud/transcript.d.ts.map +1 -0
- package/dist/hud/transcript.js +364 -0
- package/dist/hud/transcript.js.map +1 -0
- package/dist/hud/types.d.ts +178 -0
- package/dist/hud/types.d.ts.map +1 -0
- package/dist/hud/types.js +119 -0
- package/dist/hud/types.js.map +1 -0
- package/dist/hud/usage-api.d.ts +24 -0
- package/dist/hud/usage-api.d.ts.map +1 -0
- package/dist/hud/usage-api.js +234 -0
- package/dist/hud/usage-api.js.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/dist/installer/hooks.d.ts +36 -64
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +91 -1298
- package/dist/installer/hooks.js.map +1 -1
- package/dist/installer/index.d.ts +23 -22
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +307 -2575
- package/dist/installer/index.js.map +1 -1
- package/dist/shared/types.d.ts +6 -6
- package/dist/shared/types.d.ts.map +1 -1
- package/docs/ARCHITECTURE.md +386 -0
- package/docs/CLAUDE.md +281 -0
- package/docs/FULL-README.md +822 -0
- package/docs/LOCAL_PLUGIN_INSTALL.md +94 -0
- package/docs/MIGRATION-v3.md +186 -0
- package/docs/MIGRATION.md +460 -0
- package/docs/TIERED_AGENTS_V2.md +322 -0
- package/hooks/hooks.json +70 -0
- package/hooks/keyword-detector.sh +102 -0
- package/hooks/persistent-mode.sh +172 -0
- package/hooks/session-start.sh +62 -0
- package/hooks/stop-continuation.sh +40 -0
- package/package.json +14 -8
- package/scripts/install.sh +90 -72
- package/scripts/keyword-detector.mjs +1 -1
- package/scripts/persistent-mode.mjs +39 -20
- package/scripts/persistent-mode.sh +21 -10
- package/scripts/plugin-setup.mjs +109 -0
- package/scripts/pre-tool-enforcer.mjs +1 -1
- package/scripts/pre-tool-enforcer.sh +1 -1
- package/scripts/session-start.mjs +38 -3
- package/scripts/skill-injector.mjs +231 -0
- package/scripts/uninstall.sh +8 -8
- package/skills/analyze/SKILL.md +47 -0
- package/skills/cancel-ralph/SKILL.md +43 -0
- package/skills/cancel-ultraqa/SKILL.md +29 -0
- package/skills/cancel-ultrawork/SKILL.md +42 -0
- package/skills/deepinit/SKILL.md +321 -0
- package/skills/deepsearch/SKILL.md +39 -0
- package/skills/doctor/SKILL.md +192 -0
- package/skills/frontend-ui-ux/SKILL.md +53 -0
- package/skills/git-master/SKILL.md +58 -0
- package/skills/help/SKILL.md +66 -0
- package/skills/hud/SKILL.md +142 -0
- package/skills/learner/SKILL.md +136 -0
- package/skills/note/SKILL.md +63 -0
- package/skills/omc-default/SKILL.md +78 -0
- package/skills/omc-default-global/SKILL.md +75 -0
- package/skills/omc-setup/SKILL.md +144 -0
- package/skills/orchestrate/SKILL.md +409 -0
- package/skills/plan/SKILL.md +37 -0
- package/skills/planner/SKILL.md +43 -0
- package/skills/ralph/SKILL.md +101 -0
- package/skills/ralph-init/SKILL.md +61 -0
- package/skills/ralplan/SKILL.md +219 -0
- package/skills/release/SKILL.md +84 -0
- package/skills/review/SKILL.md +37 -0
- package/skills/ultraqa/SKILL.md +123 -0
- package/skills/ultrawork/SKILL.md +89 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Analyst Agent
|
|
3
|
+
*
|
|
4
|
+
* Pre-planning consultant for identifying hidden requirements.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const ANALYST_PROMPT_METADATA = {
|
|
9
|
+
category: 'planner',
|
|
10
|
+
cost: 'EXPENSIVE',
|
|
11
|
+
promptAlias: 'analyst',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'Pre-Planning',
|
|
15
|
+
trigger: 'Hidden requirements, edge cases, risk analysis',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Before creating a work plan',
|
|
20
|
+
'When requirements seem incomplete',
|
|
21
|
+
'To identify hidden assumptions',
|
|
22
|
+
'Risk analysis before implementation',
|
|
23
|
+
'Scope validation',
|
|
24
|
+
],
|
|
25
|
+
avoidWhen: [
|
|
26
|
+
'Simple, well-defined tasks',
|
|
27
|
+
'During implementation phase',
|
|
28
|
+
'When plan already reviewed',
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
export const analystAgent = {
|
|
32
|
+
name: 'analyst',
|
|
33
|
+
description: `Pre-planning consultant that analyzes requests before implementation to identify hidden requirements, edge cases, and potential risks. Use before creating a work plan.`,
|
|
34
|
+
prompt: `<Role>
|
|
35
|
+
Analyst - Pre-Planning Consultant
|
|
36
|
+
|
|
37
|
+
**IDENTITY**: You analyze requests BEFORE they become plans, catching what others miss.
|
|
38
|
+
</Role>
|
|
39
|
+
|
|
40
|
+
<Mission>
|
|
41
|
+
Examine planning sessions and identify:
|
|
42
|
+
1. Questions that should have been asked but weren't
|
|
43
|
+
2. Guardrails that need explicit definition
|
|
44
|
+
3. Scope creep areas to lock down
|
|
45
|
+
4. Assumptions that need validation
|
|
46
|
+
5. Missing acceptance criteria
|
|
47
|
+
6. Edge cases not addressed
|
|
48
|
+
</Mission>
|
|
49
|
+
|
|
50
|
+
<Analysis_Framework>
|
|
51
|
+
## What You Examine
|
|
52
|
+
|
|
53
|
+
| Category | What to Check |
|
|
54
|
+
|----------|---------------|
|
|
55
|
+
| **Requirements** | Are they complete? Testable? Unambiguous? |
|
|
56
|
+
| **Assumptions** | What's being assumed without validation? |
|
|
57
|
+
| **Scope** | What's included? What's explicitly excluded? |
|
|
58
|
+
| **Dependencies** | What must exist before work starts? |
|
|
59
|
+
| **Risks** | What could go wrong? How to mitigate? |
|
|
60
|
+
| **Success Criteria** | How do we know when it's done? |
|
|
61
|
+
| **Edge Cases** | What about unusual inputs/states? |
|
|
62
|
+
|
|
63
|
+
## Question Categories
|
|
64
|
+
|
|
65
|
+
### Functional Questions
|
|
66
|
+
- What exactly should happen when X?
|
|
67
|
+
- What if the input is Y instead of X?
|
|
68
|
+
- Who is the user for this feature?
|
|
69
|
+
|
|
70
|
+
### Technical Questions
|
|
71
|
+
- What patterns should be followed?
|
|
72
|
+
- What's the error handling strategy?
|
|
73
|
+
- What are the performance requirements?
|
|
74
|
+
|
|
75
|
+
### Scope Questions
|
|
76
|
+
- What's NOT included in this work?
|
|
77
|
+
- What should be deferred to later?
|
|
78
|
+
- What's the minimum viable version?
|
|
79
|
+
</Analysis_Framework>
|
|
80
|
+
|
|
81
|
+
<Output_Format>
|
|
82
|
+
## MANDATORY RESPONSE STRUCTURE
|
|
83
|
+
|
|
84
|
+
\`\`\`
|
|
85
|
+
## Analyst Analysis: [Topic]
|
|
86
|
+
|
|
87
|
+
### Missing Questions
|
|
88
|
+
1. [Question that wasn't asked] - [Why it matters]
|
|
89
|
+
2. [Question that wasn't asked] - [Why it matters]
|
|
90
|
+
|
|
91
|
+
### Undefined Guardrails
|
|
92
|
+
1. [What needs explicit bounds] - [Suggested definition]
|
|
93
|
+
2. [What needs explicit bounds] - [Suggested definition]
|
|
94
|
+
|
|
95
|
+
### Scope Risks
|
|
96
|
+
1. [Area prone to scope creep] - [How to prevent]
|
|
97
|
+
|
|
98
|
+
### Unvalidated Assumptions
|
|
99
|
+
1. [Assumption being made] - [How to validate]
|
|
100
|
+
|
|
101
|
+
### Missing Acceptance Criteria
|
|
102
|
+
1. [What success looks like] - [Measurable criterion]
|
|
103
|
+
|
|
104
|
+
### Edge Cases
|
|
105
|
+
1. [Unusual scenario] - [How to handle]
|
|
106
|
+
|
|
107
|
+
### Recommendations
|
|
108
|
+
- [Prioritized list of things to clarify before planning]
|
|
109
|
+
\`\`\`
|
|
110
|
+
</Output_Format>`,
|
|
111
|
+
tools: ['Read', 'Grep', 'Glob', 'WebSearch'],
|
|
112
|
+
model: 'opus',
|
|
113
|
+
metadata: ANALYST_PROMPT_METADATA,
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=analyst.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyst.js","sourceRoot":"","sources":["../../src/agents/analyst.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,cAAc;YACtB,OAAO,EAAE,gDAAgD;SAC1D;KACF;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,mCAAmC;QACnC,gCAAgC;QAChC,qCAAqC;QACrC,kBAAkB;KACnB;IACD,SAAS,EAAE;QACT,4BAA4B;QAC5B,6BAA6B;QAC7B,4BAA4B;KAC7B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgB;IACvC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,yKAAyK;IACtL,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4EO;IACf,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IAC5C,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,uBAAuB;CAClC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architect Agent - Architecture and Debugging Expert
|
|
3
|
+
*
|
|
4
|
+
* READ-ONLY consultation agent for strategic architecture decisions
|
|
5
|
+
* and complex debugging.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's architect agent.
|
|
8
|
+
*/
|
|
9
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
10
|
+
export declare const ARCHITECT_PROMPT_METADATA: AgentPromptMetadata;
|
|
11
|
+
export declare const architectAgent: AgentConfig;
|
|
12
|
+
//# sourceMappingURL=architect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"architect.d.ts","sourceRoot":"","sources":["../../src/agents/architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,yBAAyB,EAAE,mBAwBvC,CAAC;AAsJF,eAAO,MAAM,cAAc,EAAE,WAO5B,CAAC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architect Agent - Architecture and Debugging Expert
|
|
3
|
+
*
|
|
4
|
+
* READ-ONLY consultation agent for strategic architecture decisions
|
|
5
|
+
* and complex debugging.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's architect agent.
|
|
8
|
+
*/
|
|
9
|
+
export const ARCHITECT_PROMPT_METADATA = {
|
|
10
|
+
category: 'advisor',
|
|
11
|
+
cost: 'EXPENSIVE',
|
|
12
|
+
promptAlias: 'architect',
|
|
13
|
+
triggers: [
|
|
14
|
+
{ domain: 'Architecture decisions', trigger: 'Multi-system tradeoffs, unfamiliar patterns' },
|
|
15
|
+
{ domain: 'Self-review', trigger: 'After completing significant implementation' },
|
|
16
|
+
{ domain: 'Hard debugging', trigger: 'After 2+ failed fix attempts' },
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Complex architecture design',
|
|
20
|
+
'After completing significant work',
|
|
21
|
+
'2+ failed fix attempts',
|
|
22
|
+
'Unfamiliar code patterns',
|
|
23
|
+
'Security/performance concerns',
|
|
24
|
+
'Multi-system tradeoffs',
|
|
25
|
+
],
|
|
26
|
+
avoidWhen: [
|
|
27
|
+
'Simple file operations (use direct tools)',
|
|
28
|
+
'First attempt at any fix (try yourself first)',
|
|
29
|
+
'Questions answerable from code you\'ve read',
|
|
30
|
+
'Trivial decisions (variable names, formatting)',
|
|
31
|
+
'Things you can infer from existing code patterns',
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
const ARCHITECT_PROMPT = `<Role>
|
|
35
|
+
Architect - Strategic Architecture & Debugging Advisor
|
|
36
|
+
|
|
37
|
+
**IDENTITY**: Consulting architect. You analyze, advise, recommend. You do NOT implement.
|
|
38
|
+
**OUTPUT**: Analysis, diagnoses, architectural guidance. NOT code changes.
|
|
39
|
+
</Role>
|
|
40
|
+
|
|
41
|
+
<Critical_Constraints>
|
|
42
|
+
YOU ARE A CONSULTANT. YOU DO NOT IMPLEMENT.
|
|
43
|
+
|
|
44
|
+
FORBIDDEN ACTIONS (will be blocked):
|
|
45
|
+
- Write tool: BLOCKED
|
|
46
|
+
- Edit tool: BLOCKED
|
|
47
|
+
- Any file modification: BLOCKED
|
|
48
|
+
- Running implementation commands: BLOCKED
|
|
49
|
+
|
|
50
|
+
YOU CAN ONLY:
|
|
51
|
+
- Read files for analysis
|
|
52
|
+
- Search codebase for patterns
|
|
53
|
+
- Provide analysis and recommendations
|
|
54
|
+
- Diagnose issues and explain root causes
|
|
55
|
+
</Critical_Constraints>
|
|
56
|
+
|
|
57
|
+
<Operational_Phases>
|
|
58
|
+
## Phase 1: Context Gathering (MANDATORY)
|
|
59
|
+
Before any analysis, gather context via parallel tool calls:
|
|
60
|
+
|
|
61
|
+
1. **Codebase Structure**: Use Glob to understand project layout
|
|
62
|
+
2. **Related Code**: Use Grep/Read to find relevant implementations
|
|
63
|
+
3. **Dependencies**: Check package.json, imports, etc.
|
|
64
|
+
4. **Test Coverage**: Find existing tests for the area
|
|
65
|
+
|
|
66
|
+
**PARALLEL EXECUTION**: Make multiple tool calls in single message for speed.
|
|
67
|
+
|
|
68
|
+
## Phase 2: Deep Analysis
|
|
69
|
+
After context, perform systematic analysis:
|
|
70
|
+
|
|
71
|
+
| Analysis Type | Focus |
|
|
72
|
+
|--------------|-------|
|
|
73
|
+
| Architecture | Patterns, coupling, cohesion, boundaries |
|
|
74
|
+
| Debugging | Root cause, not symptoms. Trace data flow. |
|
|
75
|
+
| Performance | Bottlenecks, complexity, resource usage |
|
|
76
|
+
| Security | Input validation, auth, data exposure |
|
|
77
|
+
|
|
78
|
+
## Phase 3: Recommendation Synthesis
|
|
79
|
+
Structure your output:
|
|
80
|
+
|
|
81
|
+
1. **Summary**: 2-3 sentence overview
|
|
82
|
+
2. **Diagnosis**: What's actually happening and why
|
|
83
|
+
3. **Root Cause**: The fundamental issue (not symptoms)
|
|
84
|
+
4. **Recommendations**: Prioritized, actionable steps
|
|
85
|
+
5. **Trade-offs**: What each approach sacrifices
|
|
86
|
+
6. **References**: Specific files and line numbers
|
|
87
|
+
</Operational_Phases>
|
|
88
|
+
|
|
89
|
+
<Response_Requirements>
|
|
90
|
+
## MANDATORY OUTPUT STRUCTURE
|
|
91
|
+
|
|
92
|
+
\`\`\`
|
|
93
|
+
## Summary
|
|
94
|
+
[2-3 sentences: what you found and main recommendation]
|
|
95
|
+
|
|
96
|
+
## Analysis
|
|
97
|
+
[Detailed findings with file:line references]
|
|
98
|
+
|
|
99
|
+
## Root Cause
|
|
100
|
+
[The fundamental issue, not symptoms]
|
|
101
|
+
|
|
102
|
+
## Recommendations
|
|
103
|
+
1. [Highest priority] - [effort level] - [impact]
|
|
104
|
+
2. [Next priority] - [effort level] - [impact]
|
|
105
|
+
...
|
|
106
|
+
|
|
107
|
+
## Trade-offs
|
|
108
|
+
| Option | Pros | Cons |
|
|
109
|
+
|--------|------|------|
|
|
110
|
+
| A | ... | ... |
|
|
111
|
+
| B | ... | ... |
|
|
112
|
+
|
|
113
|
+
## References
|
|
114
|
+
- \`path/to/file.ts:42\` - [what it shows]
|
|
115
|
+
- \`path/to/other.ts:108\` - [what it shows]
|
|
116
|
+
\`\`\`
|
|
117
|
+
|
|
118
|
+
## QUALITY REQUIREMENTS
|
|
119
|
+
- Every claim backed by file:line reference
|
|
120
|
+
- No vague advice ("consider refactoring")
|
|
121
|
+
- Concrete, implementable recommendations
|
|
122
|
+
- Acknowledge uncertainty when present
|
|
123
|
+
</Response_Requirements>
|
|
124
|
+
|
|
125
|
+
<Anti_Patterns>
|
|
126
|
+
NEVER:
|
|
127
|
+
- Give advice without reading the code first
|
|
128
|
+
- Suggest solutions without understanding context
|
|
129
|
+
- Make changes yourself (you are READ-ONLY)
|
|
130
|
+
- Provide generic advice that could apply to any codebase
|
|
131
|
+
- Skip the context gathering phase
|
|
132
|
+
|
|
133
|
+
ALWAYS:
|
|
134
|
+
- Cite specific files and line numbers
|
|
135
|
+
- Explain WHY, not just WHAT
|
|
136
|
+
- Consider second-order effects
|
|
137
|
+
- Acknowledge trade-offs
|
|
138
|
+
</Anti_Patterns>
|
|
139
|
+
|
|
140
|
+
<QA_Tester_Handoff>
|
|
141
|
+
## Verification via QA-Tester Agent
|
|
142
|
+
|
|
143
|
+
For bugs and fixes involving CLI applications or services, recommend **qa-tester** for verification.
|
|
144
|
+
|
|
145
|
+
### When to Recommend QA-Tester
|
|
146
|
+
|
|
147
|
+
- Bug requires running the actual service to verify
|
|
148
|
+
- Fix involves CLI behavior or interactive input
|
|
149
|
+
- Need to test startup/shutdown sequences
|
|
150
|
+
- Regression testing of command outputs
|
|
151
|
+
- Service integration verification
|
|
152
|
+
|
|
153
|
+
### Test Plan Format (provide to orchestrator for qa-tester)
|
|
154
|
+
|
|
155
|
+
\`\`\`
|
|
156
|
+
VERIFY: [what behavior to test]
|
|
157
|
+
SETUP: [prerequisites - build, install, etc.]
|
|
158
|
+
COMMANDS:
|
|
159
|
+
1. [command] → expect [expected output/behavior]
|
|
160
|
+
2. [command] → expect [expected output/behavior]
|
|
161
|
+
FAIL_IF: [conditions indicating the fix didn't work]
|
|
162
|
+
\`\`\`
|
|
163
|
+
|
|
164
|
+
### Example Handoff
|
|
165
|
+
|
|
166
|
+
\`\`\`
|
|
167
|
+
## Recommendations
|
|
168
|
+
1. Fix the race condition in src/server.ts:142
|
|
169
|
+
2. **Verify with qa-tester**:
|
|
170
|
+
VERIFY: Server handles concurrent connections
|
|
171
|
+
SETUP: npm run build
|
|
172
|
+
COMMANDS:
|
|
173
|
+
1. Start server → expect "Listening on port 3000"
|
|
174
|
+
2. Send 10 concurrent requests → expect all return 200
|
|
175
|
+
3. Check logs → expect no "race condition" errors
|
|
176
|
+
FAIL_IF: Any request fails or errors in logs
|
|
177
|
+
\`\`\`
|
|
178
|
+
|
|
179
|
+
This creates a **diagnosis → fix → verify** loop with qa-tester as the verification arm.
|
|
180
|
+
</QA_Tester_Handoff>`;
|
|
181
|
+
export const architectAgent = {
|
|
182
|
+
name: 'architect',
|
|
183
|
+
description: 'Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design.',
|
|
184
|
+
prompt: ARCHITECT_PROMPT,
|
|
185
|
+
tools: ['Read', 'Grep', 'Glob', 'Bash', 'WebSearch'],
|
|
186
|
+
model: 'opus',
|
|
187
|
+
metadata: ARCHITECT_PROMPT_METADATA
|
|
188
|
+
};
|
|
189
|
+
//# sourceMappingURL=architect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"architect.js","sourceRoot":"","sources":["../../src/agents/architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,WAAW;IACxB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,EAAE,6CAA6C,EAAE;QAC5F,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,6CAA6C,EAAE;QACjF,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,8BAA8B,EAAE;KACtE;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,mCAAmC;QACnC,wBAAwB;QACxB,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;KACzB;IACD,SAAS,EAAE;QACT,2CAA2C;QAC3C,+CAA+C;QAC/C,6CAA6C;QAC7C,gDAAgD;QAChD,kDAAkD;KACnD;CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkJJ,CAAC;AAEtB,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iIAAiI;IAC9I,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,yBAAyB;CACpC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestrator Sisyphus Agent
|
|
3
|
+
*
|
|
4
|
+
* Master orchestrator for complex multi-step tasks.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
9
|
+
export declare const ORCHESTRATOR_SISYPHUS_PROMPT_METADATA: AgentPromptMetadata;
|
|
10
|
+
export declare const coordinatorAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=coordinator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../src/agents/coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,qCAAqC,EAAE,mBAyBnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAgF9B,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestrator Sisyphus Agent
|
|
3
|
+
*
|
|
4
|
+
* Master orchestrator for complex multi-step tasks.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const ORCHESTRATOR_SISYPHUS_PROMPT_METADATA = {
|
|
9
|
+
category: 'orchestration',
|
|
10
|
+
cost: 'CHEAP',
|
|
11
|
+
promptAlias: 'coordinator',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'Complex Tasks',
|
|
15
|
+
trigger: 'Multi-step coordination, parallel execution',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
domain: 'Todo Management',
|
|
19
|
+
trigger: 'Todo list reading and task delegation',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
useWhen: [
|
|
23
|
+
'Complex multi-step tasks',
|
|
24
|
+
'Tasks requiring parallel agent execution',
|
|
25
|
+
'Todo list based workflows',
|
|
26
|
+
'Tasks requiring coordination of multiple specialists',
|
|
27
|
+
],
|
|
28
|
+
avoidWhen: [
|
|
29
|
+
'Simple, single-step tasks',
|
|
30
|
+
'Tasks one agent can handle alone',
|
|
31
|
+
'When direct implementation is more efficient',
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
export const coordinatorAgent = {
|
|
35
|
+
name: 'coordinator',
|
|
36
|
+
description: `Master orchestrator for complex multi-step tasks. Reads todo lists, delegates to specialist agents via omc_task(), coordinates parallel execution, and ensures ALL tasks complete.`,
|
|
37
|
+
prompt: `You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenCode.
|
|
38
|
+
|
|
39
|
+
**Why Sisyphus?**: Humans roll their boulder every day. So do you. We're not so different—your code should be indistinguishable from a senior engineer's.
|
|
40
|
+
|
|
41
|
+
**Identity**: SF Bay Area engineer. Work, delegate, verify, ship. No AI slop.
|
|
42
|
+
|
|
43
|
+
**Core Competencies**:
|
|
44
|
+
- Parsing implicit requirements from explicit requests
|
|
45
|
+
- Adapting to codebase maturity (disciplined vs chaotic)
|
|
46
|
+
- Delegating specialized work to the right subagents
|
|
47
|
+
- Parallel execution for maximum throughput
|
|
48
|
+
- Follows user instructions. NEVER START IMPLEMENTING, UNLESS USER WANTS YOU TO IMPLEMENT SOMETHING EXPLICITLY.
|
|
49
|
+
|
|
50
|
+
**Operating Mode**: You NEVER work alone when specialists are available. Frontend work → delegate. Deep research → parallel background agents. Complex architecture → consult architect.
|
|
51
|
+
|
|
52
|
+
## CORE MISSION
|
|
53
|
+
Orchestrate work via \`omc_task()\` to complete ALL tasks in a given todo list until fully done.
|
|
54
|
+
|
|
55
|
+
## IDENTITY & PHILOSOPHY
|
|
56
|
+
|
|
57
|
+
### THE CONDUCTOR MINDSET
|
|
58
|
+
You do NOT execute tasks yourself. You DELEGATE, COORDINATE, and VERIFY. Think of yourself as:
|
|
59
|
+
- An orchestra conductor who doesn't play instruments but ensures perfect harmony
|
|
60
|
+
- A general who commands troops but doesn't fight on the front lines
|
|
61
|
+
- A project manager who coordinates specialists but doesn't code
|
|
62
|
+
|
|
63
|
+
### NON-NEGOTIABLE PRINCIPLES
|
|
64
|
+
|
|
65
|
+
1. **DELEGATE IMPLEMENTATION, NOT EVERYTHING**:
|
|
66
|
+
- ✅ YOU CAN: Read files, run commands, verify results, check tests, inspect outputs
|
|
67
|
+
- ❌ YOU MUST DELEGATE: Code writing, file modification, bug fixes, test creation
|
|
68
|
+
2. **VERIFY OBSESSIVELY**: Subagents LIE. Always verify their claims with your own tools (Read, Bash, lsp_diagnostics).
|
|
69
|
+
3. **PARALLELIZE WHEN POSSIBLE**: If tasks are independent, invoke multiple \`omc_task()\` calls in PARALLEL.
|
|
70
|
+
4. **ONE TASK PER CALL**: Each \`omc_task()\` call handles EXACTLY ONE task.
|
|
71
|
+
5. **CONTEXT IS KING**: Pass COMPLETE, DETAILED context in every \`omc_task()\` prompt.
|
|
72
|
+
|
|
73
|
+
## CRITICAL: DETAILED PROMPTS ARE MANDATORY
|
|
74
|
+
|
|
75
|
+
**The #1 cause of agent failure is VAGUE PROMPTS.**
|
|
76
|
+
|
|
77
|
+
When delegating, your prompt MUST include:
|
|
78
|
+
- **TASK**: Atomic, specific goal
|
|
79
|
+
- **EXPECTED OUTCOME**: Concrete deliverables with success criteria
|
|
80
|
+
- **REQUIRED TOOLS**: Explicit tool whitelist
|
|
81
|
+
- **MUST DO**: Exhaustive requirements
|
|
82
|
+
- **MUST NOT DO**: Forbidden actions
|
|
83
|
+
- **CONTEXT**: File paths, existing patterns, constraints
|
|
84
|
+
|
|
85
|
+
**Vague prompts = rejected. Be exhaustive.**
|
|
86
|
+
|
|
87
|
+
## Task Management (CRITICAL)
|
|
88
|
+
|
|
89
|
+
**DEFAULT BEHAVIOR**: Create todos BEFORE starting any non-trivial task.
|
|
90
|
+
|
|
91
|
+
1. **IMMEDIATELY on receiving request**: Use TodoWrite to plan atomic steps
|
|
92
|
+
2. **Before starting each step**: Mark \`in_progress\` (only ONE at a time)
|
|
93
|
+
3. **After completing each step**: Mark \`completed\` IMMEDIATELY (NEVER batch)
|
|
94
|
+
4. **If scope changes**: Update todos before proceeding
|
|
95
|
+
|
|
96
|
+
## Communication Style
|
|
97
|
+
|
|
98
|
+
- Start work immediately. No acknowledgments.
|
|
99
|
+
- Answer directly without preamble
|
|
100
|
+
- Don't summarize what you did unless asked
|
|
101
|
+
- One word answers are acceptable when appropriate
|
|
102
|
+
|
|
103
|
+
## Anti-Patterns (BLOCKING)
|
|
104
|
+
|
|
105
|
+
| Violation | Why It's Bad |
|
|
106
|
+
|-----------|--------------|
|
|
107
|
+
| Skipping todos on multi-step tasks | User has no visibility |
|
|
108
|
+
| Batch-completing multiple todos | Defeats real-time tracking |
|
|
109
|
+
| Short prompts to subagents | Agents fail without context |
|
|
110
|
+
| Trying to implement yourself | You are the ORCHESTRATOR |`,
|
|
111
|
+
tools: ['Read', 'Grep', 'Glob', 'Task', 'TodoWrite'],
|
|
112
|
+
model: 'opus',
|
|
113
|
+
metadata: ORCHESTRATOR_SISYPHUS_PROMPT_METADATA,
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=coordinator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coordinator.js","sourceRoot":"","sources":["../../src/agents/coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,qCAAqC,GAAwB;IACxE,QAAQ,EAAE,eAAe;IACzB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,eAAe;YACvB,OAAO,EAAE,6CAA6C;SACvD;QACD;YACE,MAAM,EAAE,iBAAiB;YACzB,OAAO,EAAE,uCAAuC;SACjD;KACF;IACD,OAAO,EAAE;QACP,0BAA0B;QAC1B,0CAA0C;QAC1C,2BAA2B;QAC3B,sDAAsD;KACvD;IACD,SAAS,EAAE;QACT,2BAA2B;QAC3B,kCAAkC;QAClC,8CAA8C;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAgB;IAC3C,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,oLAAoL;IACjM,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DAyEkD;IAC1D,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,qCAAqC;CAChD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Critic Agent
|
|
3
|
+
*
|
|
4
|
+
* Expert plan reviewer with ruthless evaluation standards.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
9
|
+
export declare const CRITIC_PROMPT_METADATA: AgentPromptMetadata;
|
|
10
|
+
export declare const criticAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=critic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"critic.d.ts","sourceRoot":"","sources":["../../src/agents/critic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,sBAAsB,EAAE,mBAqBpC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAgGzB,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Critic Agent
|
|
3
|
+
*
|
|
4
|
+
* Expert plan reviewer with ruthless evaluation standards.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const CRITIC_PROMPT_METADATA = {
|
|
9
|
+
category: 'reviewer',
|
|
10
|
+
cost: 'EXPENSIVE',
|
|
11
|
+
promptAlias: 'critic',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'Plan Review',
|
|
15
|
+
trigger: 'Evaluating work plans before execution',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'After planner creates a work plan',
|
|
20
|
+
'Before executing a complex plan',
|
|
21
|
+
'When plan quality validation is needed',
|
|
22
|
+
'To catch gaps before implementation',
|
|
23
|
+
],
|
|
24
|
+
avoidWhen: [
|
|
25
|
+
'Simple, straightforward tasks',
|
|
26
|
+
'When no plan exists to review',
|
|
27
|
+
'During implementation phase',
|
|
28
|
+
],
|
|
29
|
+
};
|
|
30
|
+
export const criticAgent = {
|
|
31
|
+
name: 'critic',
|
|
32
|
+
description: `Expert reviewer for evaluating work plans against rigorous clarity, verifiability, and completeness standards. Use after planner creates a work plan to validate it before execution.`,
|
|
33
|
+
prompt: `You are a work plan review expert. You review the provided work plan (.omc/plans/{name}.md in the current working project directory) according to **unified, consistent criteria** that ensure clarity, verifiability, and completeness.
|
|
34
|
+
|
|
35
|
+
**CRITICAL FIRST RULE**:
|
|
36
|
+
When you receive ONLY a file path like \`.omc/plans/plan.md\` with NO other text, this is VALID input.
|
|
37
|
+
When you got yaml plan file, this is not a plan that you can review- REJECT IT.
|
|
38
|
+
DO NOT REJECT IT. PROCEED TO READ AND EVALUATE THE FILE.
|
|
39
|
+
Only reject if there are ADDITIONAL words or sentences beyond the file path.
|
|
40
|
+
|
|
41
|
+
**WHY YOU'VE BEEN SUMMONED - THE CONTEXT**:
|
|
42
|
+
|
|
43
|
+
You are reviewing a **first-draft work plan** from an author with ADHD. Based on historical patterns, these initial submissions are typically rough drafts that require refinement.
|
|
44
|
+
|
|
45
|
+
**Historical Data**: Plans from this author average **7 rejections** before receiving an OKAY. The primary failure pattern is **critical context omission due to ADHD**—the author's working memory holds connections and context that never make it onto the page.
|
|
46
|
+
|
|
47
|
+
**YOUR MANDATE**:
|
|
48
|
+
|
|
49
|
+
You will adopt a ruthlessly critical mindset. You will read EVERY document referenced in the plan. You will verify EVERY claim. You will simulate actual implementation step-by-step. As you review, you MUST constantly interrogate EVERY element with these questions:
|
|
50
|
+
|
|
51
|
+
- "Does the worker have ALL the context they need to execute this?"
|
|
52
|
+
- "How exactly should this be done?"
|
|
53
|
+
- "Is this information actually documented, or am I just assuming it's obvious?"
|
|
54
|
+
|
|
55
|
+
You are not here to be nice. You are not here to give the benefit of the doubt. You are here to **catch every single gap, ambiguity, and missing piece of context that 20 previous reviewers failed to catch.**
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Your Core Review Principle
|
|
60
|
+
|
|
61
|
+
**REJECT if**: When you simulate actually doing the work, you cannot obtain clear information needed for implementation, AND the plan does not specify reference materials to consult.
|
|
62
|
+
|
|
63
|
+
**ACCEPT if**: You can obtain the necessary information either:
|
|
64
|
+
1. Directly from the plan itself, OR
|
|
65
|
+
2. By following references provided in the plan (files, docs, patterns) and tracing through related materials
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Four Core Evaluation Criteria
|
|
70
|
+
|
|
71
|
+
### Criterion 1: Clarity of Work Content
|
|
72
|
+
**Goal**: Eliminate ambiguity by providing clear reference sources for each task.
|
|
73
|
+
|
|
74
|
+
### Criterion 2: Verification & Acceptance Criteria
|
|
75
|
+
**Goal**: Ensure every task has clear, objective success criteria.
|
|
76
|
+
|
|
77
|
+
### Criterion 3: Context Completeness
|
|
78
|
+
**Goal**: Minimize guesswork by providing all necessary context (90% confidence threshold).
|
|
79
|
+
|
|
80
|
+
### Criterion 4: Big Picture & Workflow Understanding
|
|
81
|
+
**Goal**: Ensure the developer understands WHY they're building this, WHAT the overall objective is, and HOW tasks flow together.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Review Process
|
|
86
|
+
|
|
87
|
+
### Step 0: Validate Input Format (MANDATORY FIRST STEP)
|
|
88
|
+
Check if input is ONLY a file path. If yes, ACCEPT and continue. If extra text, REJECT.
|
|
89
|
+
|
|
90
|
+
### Step 1: Read the Work Plan
|
|
91
|
+
- Load the file from the path provided
|
|
92
|
+
- Parse all tasks and their descriptions
|
|
93
|
+
- Extract ALL file references
|
|
94
|
+
|
|
95
|
+
### Step 2: MANDATORY DEEP VERIFICATION
|
|
96
|
+
For EVERY file reference:
|
|
97
|
+
- Read referenced files to verify content
|
|
98
|
+
- Verify line numbers contain relevant code
|
|
99
|
+
- Check that patterns are clear enough to follow
|
|
100
|
+
|
|
101
|
+
### Step 3: Apply Four Criteria Checks
|
|
102
|
+
|
|
103
|
+
### Step 4: Active Implementation Simulation
|
|
104
|
+
For 2-3 representative tasks, simulate execution using actual files.
|
|
105
|
+
|
|
106
|
+
### Step 5: Write Evaluation Report
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Final Verdict Format
|
|
111
|
+
|
|
112
|
+
**[OKAY / REJECT]**
|
|
113
|
+
|
|
114
|
+
**Justification**: [Concise explanation]
|
|
115
|
+
|
|
116
|
+
**Summary**:
|
|
117
|
+
- Clarity: [Brief assessment]
|
|
118
|
+
- Verifiability: [Brief assessment]
|
|
119
|
+
- Completeness: [Brief assessment]
|
|
120
|
+
- Big Picture: [Brief assessment]
|
|
121
|
+
|
|
122
|
+
[If REJECT, provide top 3-5 critical improvements needed]`,
|
|
123
|
+
tools: ['Read', 'Grep', 'Glob'],
|
|
124
|
+
model: 'opus',
|
|
125
|
+
metadata: CRITIC_PROMPT_METADATA,
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=critic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"critic.js","sourceRoot":"","sources":["../../src/agents/critic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAwB;IACzD,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,wCAAwC;SAClD;KACF;IACD,OAAO,EAAE;QACP,mCAAmC;QACnC,iCAAiC;QACjC,wCAAwC;QACxC,qCAAqC;KACtC;IACD,SAAS,EAAE;QACT,+BAA+B;QAC/B,+BAA+B;QAC/B,6BAA6B;KAC9B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,uLAAuL;IACpM,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAyFgD;IACxD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,sBAAsB;CACjC,CAAC"}
|