Skip to content

Commit 8bc9d6a

Browse files
committed
fix(ci): fix YAML indentation in sisyphus-agent workflow heredoc
PR #439 added ultrawork-mode content without proper YAML indentation. In GitHub Actions run: | blocks, all lines must be indented at least as much as the first content line. The unindented heredoc content broke YAML parsing, causing 'workflow file issue' failures. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent 6a6e20c commit 8bc9d6a

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

.github/workflows/sisyphus-agent.yml

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -156,71 +156,71 @@ jobs:
156156
157157
OMO_JSON=~/.config/opencode/oh-my-opencode.json
158158
PROMPT_APPEND=$(cat << 'PROMPT_EOF'
159-
<ultrawork-mode>
160-
[CODE RED] Maximum precision required. Ultrathink before acting.
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)
169+
- **High-IQ Reasoning**: Leverage specialized agents for architecture decisions, code review, strategic planning
170+
- **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.
204+
205+
</ultrawork-mode>
161206
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)
169-
- **High-IQ Reasoning**: Leverage specialized agents for architecture decisions, code review, strategic planning
170-
- **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.
204-
205-
</ultrawork-mode>
206-
207-
---
207+
---
208208
209209
210-
[analyze-mode]
211-
ANALYSIS MODE. Gather context before diving deep:
210+
[analyze-mode]
211+
ANALYSIS MODE. Gather context before diving deep:
212212
213-
CONTEXT GATHERING (parallel):
214-
- 1-2 explore agents (codebase patterns, implementations)
215-
- 1-2 librarian agents (if external library involved)
216-
- Direct tools: Grep, AST-grep, LSP for targeted searches
213+
CONTEXT GATHERING (parallel):
214+
- 1-2 explore agents (codebase patterns, implementations)
215+
- 1-2 librarian agents (if external library involved)
216+
- Direct tools: Grep, AST-grep, LSP for targeted searches
217217
218-
IF COMPLEX (architecture, multi-system, debugging after 2+ failures):
219-
- Consult oracle for strategic guidance
218+
IF COMPLEX (architecture, multi-system, debugging after 2+ failures):
219+
- Consult oracle for strategic guidance
220220
221-
SYNTHESIZE findings before proceeding.
221+
SYNTHESIZE findings before proceeding.
222222
223-
---
223+
---
224224
225225
## GitHub Actions Environment
226226

0 commit comments

Comments
 (0)