Commit 4a09544
docs: add prompt resolution priority chain to How It Works so users understand the full prompt flow
The How It Works page explained prompt *assembly* (contexts, instructions,
check failures) but didn't explain prompt *resolution* — how ralphify decides
which prompt to use when multiple sources are available (-p flag, named
prompts, --prompt-file, ralph.toml, fallback PROMPT.md). Added a priority
chain table between the assembly diagram and the context resolution section.
Also fixed the project detection order in cli.md to match the actual code
(package.json is checked before pyproject.toml).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e8cd507 commit 4a09544
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
| |||
0 commit comments