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
{{ message }}
Repository navigation
A {file:} config reference drops or rewrites dollar signs in the included text #753
A string replacement argument expands $ patterns. The {env:…} substitution a few lines above already uses a function replacement, so it is not affected.
A fix with a regression test is ready.
Steps to reproduce
In a project, write prompt.md containing Energy: $$E = mc^2$$ and Keep $& and $' as written.
Load the config (Config.get(), which is what the agent reads).
The physicist prompt is Energy: $E = mc^2$ / Keep {file:prompt.md} and as written.
Regression test (added to backend/cli/test/config/config.test.ts), on main at c296631:
- "Energy: $$E = mc^2$$
- Shell: echo $$ and ${HOME}
- Keep $& and $' and $` as written."
+ "Energy: $E = mc^2$
+ Shell: echo $ and ${HOME}
+ Keep {file:prompt.md} and and as written."
(fail) file inclusion keeps dollar signs in the included text
Activity