Skip to content

Commit a46c8bc

Browse files
committed
🔨 adapt ralph prompt for opencode
1 parent 0ce8369 commit a46c8bc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/ralph/prompt.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You are an autonomous coding agent working on a software project.
2020
APPEND to progress.txt (never replace, always append):
2121
```
2222
## [Date/Time] - [Story ID]
23-
Thread: https://ampcode.com/threads/$AMP_CURRENT_THREAD_ID
23+
Session: https://opencode.ai/sessions/[SESSION_ID]
2424
- What was implemented
2525
- Files changed
2626
- **Learnings for future iterations:**
@@ -30,7 +30,7 @@ Thread: https://ampcode.com/threads/$AMP_CURRENT_THREAD_ID
3030
---
3131
```
3232

33-
Include the thread URL so future iterations can use the `read_thread` tool to reference previous work if needed.
33+
Find your current Session ID by running `opencode session list` (it should be the first one). Include the session URL so future iterations can reference previous work if needed.
3434

3535
The learnings section is critical - it helps future iterations avoid repeating mistakes and understand the codebase better.
3636

@@ -84,10 +84,10 @@ Only update AGENTS.md if you have **genuinely reusable knowledge** that would he
8484

8585
For any story that changes UI, you MUST verify it works in the browser:
8686

87-
1. Load the `dev-browser` skill
88-
2. Navigate to the relevant page
89-
3. Verify the UI changes work as expected
90-
4. Take a screenshot if helpful for the progress log
87+
1. Use available browser verification tools.
88+
2. Navigate to the relevant page.
89+
3. Verify the UI changes work as expected.
90+
4. Take a screenshot if helpful for the progress log.
9191

9292
A frontend story is NOT complete until browser verification passes.
9393

0 commit comments

Comments
 (0)