logoalt Hacker News

bkotryslast Sunday at 6:25 PM2 repliesview on HN

At the shell level, the agent does not need to know about Bash. The contents of "$OUT" are passed to echo as one argument, then sent to claude-mem-save over stdin. Bash does not re-evaluate them as shell code. printf '%s\n' "$OUT" would be more robust than echo. Whether claude-mem-save can use arbitrary output is a separate question.


Replies

iririririrtoday at 7:58 AM

there are a million ways both of those can break.

but the other comment point this out is already dead and buried. lol. so much cope from vibecoders.

killixyesterday at 12:32 PM

[flagged]