Files
hermes-agent/tools
Maciej Lisiewski c6bc048fcc fix(approval): fold an escaped space in the home whatever the quote state
The quote check read the shell with a lexical scanner that a quote in a
comment, heredoc body or backtick desyncs, so a real unquoted
/home/John\ Smith/hermes/config.yaml after one looked quoted, stayed
unfolded and passed as safe. Read every \ inside the home as a space:
a quoted one now costs a prompt instead of a lost gate. The rule for a
\ right after the home needs no quote state and stays. Dropping the
scanner also removes its per-$( recursion.
2026-11-19 00:57:29 +01:00
..