From c7afd1ea752aeff0310ac7c6b78d091ac360c760 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:38:57 +0100 Subject: 0.4.3: kill process groups, bound bash output, keep the key out of tool env - setsid-style process group kill on timeout and on Ctrl-C - 64 MiB RLIMIT_FSIZE so a runaway command cannot fill /tmp - OPENCODE_API_KEY removed from child environment - sessions 0600/0700, history 0600 and trimmed --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 9867621..79acd31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,23 @@ break the interface, **PATCH** for bug fixes. file, and the tool schemas the model sees. Anything a script or a resumed session could depend on counts as API. +## 0.4.3 + +### Fixed +- `bash` timeouts killed only the direct `sh`, leaving `make`, `cargo` or `sleep` + running on the 2-core box. The command now runs in its own process group and + the whole group is killed on timeout or on Ctrl-C. +- `bash` output was unbounded on disk while being truncated on read; the child now + has a 64 MiB file-size limit and reports when it hit it. +- A long-running command can now be stopped with Ctrl-C instead of waiting out + the 120 s timeout. +- `OPENCODE_API_KEY` was inherited by every command, so a failing build that + dumped the environment would put the key in the transcript and send it back to + the provider. It is removed from the child environment. +- Session files are created `0600` and their directories `0700`; older `0644` + files are tightened on open. History is `0600` and its file is trimmed. +- `--doctor` warns when the key file is readable by other users. + ## 0.4.2 ### Fixed -- cgit v1.2.3