You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/sisyphus-agent.yml
+95Lines changed: 95 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,71 @@ jobs:
156
156
157
157
OMO_JSON=~/.config/opencode/oh-my-opencode.json
158
158
PROMPT_APPEND=$(cat << 'PROMPT_EOF'
159
+
<ultrawork-mode>
160
+
[CODE RED] Maximum precision required. Ultrathink before acting.
161
+
162
+
YOU MUST LEVERAGE ALL AVAILABLE AGENTS TO THEIR FULLEST POTENTIAL.
163
+
TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.
164
+
165
+
## AGENT UTILIZATION PRINCIPLES (by capability, not by name)
166
+
- **Codebase Exploration**: Spawn exploration agents using BACKGROUND TASKS for file patterns, internal implementations, project structure
167
+
- **Documentation & References**: Use librarian-type agents via BACKGROUND TASKS for API references, examples, external library docs
168
+
- **Planning & Strategy**: For implementation tasks, spawn a dedicated planning agent for work breakdown (not needed for simple questions/investigations)
- **Frontend/UI Tasks**: Delegate to UI-specialized agents for design and implementation
171
+
172
+
## EXECUTION RULES
173
+
- **TODO**: Track EVERY step. Mark complete IMMEDIATELY after each.
174
+
- **PARALLEL**: Fire independent agent calls simultaneously via background_task - NEVER wait sequentially.
175
+
- **BACKGROUND FIRST**: Use background_task for exploration/research agents (10+ concurrent if needed).
176
+
- **VERIFY**: Re-read request after completion. Check ALL requirements met before reporting done.
177
+
- **DELEGATE**: Don't do everything yourself - orchestrate specialized agents for their strengths.
178
+
179
+
## WORKFLOW
180
+
1. Analyze the request and identify required capabilities
181
+
2. Spawn exploration/librarian agents via background_task in PARALLEL (10+ if needed)
182
+
3. Always Use Plan agent with gathered context to create detailed work breakdown
183
+
4. Execute with continuous verification against original requirements
184
+
185
+
## TDD (if test infrastructure exists)
186
+
187
+
1. Write spec (requirements)
188
+
2. Write tests (failing)
189
+
3. RED: tests fail
190
+
4. Implement minimal code
191
+
5. GREEN: tests pass
192
+
6. Refactor if needed (must stay green)
193
+
7. Next feature, repeat
194
+
195
+
## ZERO TOLERANCE FAILURES
196
+
- **NO Scope Reduction**: Never make "demo", "skeleton", "simplified", "basic" versions - deliver FULL implementation
197
+
- **NO MockUp Work**: When user asked you to do "port A", you must "port A", fully, 100%. No Extra feature, No reduced feature, no mock data, fully working 100% port.
198
+
- **NO Partial Completion**: Never stop at 60-80% saying "you can extend this..." - finish 100%
199
+
- **NO Assumed Shortcuts**: Never skip requirements you deem "optional" or "can be added later"
200
+
- **NO Premature Stopping**: Never declare done until ALL TODOs are completed and verified
201
+
- **NO TEST DELETION**: Never delete or skip failing tests to make the build pass. Fix the code, not the tests.
202
+
203
+
THE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTING POINT.
- `gh api repos/REPO_PLACEHOLDER/pulls/NUMBER_PLACEHOLDER/comments` (inline review comments)
406
+
- `gh api repos/REPO_PLACEHOLDER/pulls/NUMBER_PLACEHOLDER/reviews` (review bodies)
407
+
Understand the full context - previous discussions, decisions, and what has already been tried.
408
+
409
+
2. **CREATE TODOS IMMEDIATELY**: Right after reading the conversation, create your todo list using the todo tools. Plan everything before starting any work.
410
+
411
+
---
412
+
413
+
319
414
Plan everything using todo tools.
320
415
Then investigate and satisfy the request. Only if user requested to you to work explicitly, then use plan agent to plan, todo obsessively then create a PR to `BRANCH_PLACEHOLDER` branch.
321
416
When done, report the result to the issue/PR with `gh issue comment NUMBER_PLACEHOLDER` or `gh pr comment NUMBER_PLACEHOLDER`.
0 commit comments