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
fix(prompt): use explicit {{PROGRESS_PATH}} instead of ambiguous progress.md
The agent prompt referenced "progress.md" without a full path, causing
it to be written to the working directory instead of co-located with
prd.json. Add a {{PROGRESS_PATH}} template variable substituted at
runtime, matching the existing {{PRD_PATH}} pattern.
Copy file name to clipboardExpand all lines: embed/prompt.txt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ You are an autonomous coding agent working on a software project.
5
5
## Your Task
6
6
7
7
1. Read the PRD at `{{PRD_PATH}}`
8
-
2. Read `progress.md` if it exists (check Codebase Patterns section first)
8
+
2. Read `{{PROGRESS_PATH}}` if it exists (check Codebase Patterns section first)
9
9
3. Pick the **highest priority** user story where `passes: false` -- After determining which story to work on, output exact story id, e.g.: <ralph-status>US-056</ralph-status>
10
10
4. Implement that single user story
11
11
5. Run quality checks (e.g., typecheck, lint, test - use whatever your project requires)
12
12
6. If checks pass, commit ALL changes with message: `feat: [Story ID] - [Story Title]`
13
13
7. Update the PRD to set `passes: true` for the completed story
14
-
8. Append your progress to `progress.md`
14
+
8. Append your progress to `{{PROGRESS_PATH}}`
15
15
16
16
## Progress Report Format
17
17
18
-
APPEND to progress.md (never replace, always append):
18
+
APPEND to `{{PROGRESS_PATH}}` (never replace, always append):
19
19
```
20
20
## [Date/Time] - [Story ID]
21
21
- What was implemented
@@ -31,7 +31,7 @@ The learnings section is critical - it helps future iterations avoid repeating m
31
31
32
32
## Consolidate Patterns
33
33
34
-
If you discover a **reusable pattern** that future iterations should know, add it to the `## Codebase Patterns` section at the TOP of progress.md (create it if it doesn't exist). This section should consolidate the most important learnings:
34
+
If you discover a **reusable pattern** that future iterations should know, add it to the `## Codebase Patterns` section at the TOP of `{{PROGRESS_PATH}}` (create it if it doesn't exist). This section should consolidate the most important learnings:
35
35
36
36
```
37
37
## Codebase Patterns
@@ -63,4 +63,4 @@ If there are still stories with `passes: false`, end your response normally (ano
63
63
- Work on ONE story per iteration
64
64
- Commit frequently
65
65
- Keep CI green
66
-
- Read the Codebase Patterns section in progress.md before starting
66
+
- Read the Codebase Patterns section in `{{PROGRESS_PATH}}` before starting
0 commit comments