1 Commits
Author SHA1 Message Date
qbot 74d99f8705 fix(media): derive agent workspace root from glob-free prefix of cwd_whitelist
cwd_whitelist entries are fnmatch patterns (`~/workspace/*`), but
_agent_cwd() only ran expanduser() on the first entry, so media_in/ and the
outbound media sentinel used a literal `*` directory
(`~/workspace/*/media_in`). _glob_root() now strips the glob segment.

Also covers sending files prematurely: sentinel scan of the literal dir
never saw agent output.
2026-10-22 18:54:58 +08:00