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
feat: require named context placeholders, remove bulk {{ contexts }} and implicit append
Forces explicit placement of each context with {{ contexts.name }}.
Contexts not referenced by a named placeholder are excluded from the
prompt, preventing accidental data dumps.
Closes#8 (comment)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,15 +195,7 @@ Run the context command manually to verify it produces output. Note that context
195
195
196
196
### Some contexts are missing from the prompt
197
197
198
-
If you use a **named placeholder** like `{{ contexts.git-log }}` but don't include a bulk `{{ contexts }}` placeholder, any other contexts are silently excluded. Add `{{ contexts }}` somewhere in your prompt to catch all remaining contexts:
199
-
200
-
```markdown
201
-
{{ contexts.git-log }}
202
-
203
-
Do the work.
204
-
205
-
{{ contexts }}
206
-
```
198
+
Each context must be referenced by a named placeholder like `{{ contexts.git-log }}` to appear in the prompt. Contexts without a placeholder are excluded. Make sure every context you want included has a corresponding `{{ contexts.name }}` in your `RALPH.md`.
207
199
208
200
See [Placement in the prompt](primitives.md#placement-in-the-prompt) for full details.
0 commit comments