v1.0.164
context-mode v1.0.164
A focused follow-up to v1.0.163: two community-reported fixes — a security containment for the sandbox file tool and a Pi/omp prompt-injection fix — plus adapter and lifecycle improvements.
Security
-
ctx_execute_fileis now confined to the project boundary (#852, reported by @Project579). Previously an absolute or../-escaping path could read files outside the project root, which a sandboxed host would otherwise block. The tool now refuses out-of-project paths (symlink-canonical escapes included); the opt-in escape hatch reuses the host's existingpermissions.allowRead(...)rules rather than a bespoke setting, and thectx_execute/ctx_execute_filetool titles now state plainly that they execute code.This closes the reported file-read vector. The broader hardening of
ctx_execute/ctx_batch_executearbitrary code execution (which still inherits the process filesystem and needs OS-level confinement) is tracked separately in #857.
Bug fixes
-
Casual phrases no longer freeze as a re-injected behavioral directive (#856, reported by @riddlex-beep). On the Pi/omp adapter, a throwaway phrase such as "that's fine for now" could be classified as a standing
roleand re-injected every turn, producing a do-nothing loop. Three changes resolve it: the role classifier now requires a genuine persona/directive cue (so real personas still persist, casual phrases don't), the Pi adapter no longer replaysroleevents as a per-turn standing directive, and the routing-block framing was softened so the user's most recent message always takes precedence. -
Idle MCP bridge children are now reaped (#854 by @ken-jo). Stops Pi/omp sessions from accumulating orphaned MCP bridge processes over time.
Adapters
- Antigravity CLI: one-command plugin install (#853 by @ken-jo). Drops the npm wrapper in favor of a single
agyplugin install, with documentation cleanup.
Contributors
Thanks to @ken-jo for the adapter and lifecycle work, and to @Project579 and @riddlex-beep for precise reports with reproductions that made both fixes straightforward.
Install
npx skills add mksglu/context-mode
Existing installs: /context-mode:ctx-upgrade.
Links
- Full changelog: v1.0.163...v1.0.164
- License: Elastic License 2.0 (ELv2)