You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Terminal edges from the #322 review: job-control groups, secret fields split across reads #328
These are two Codex findings on #322, logged here so the PR can merge, per the "merge when green, log findings" rule.
Job-control groups outlive a terminal's kill. An interactive shell with job control (for example bash -i) puts each foreground job in its own process group. kill, pruning and daemon shutdown signal only the terminal's first group, so a job that also ignores SIGHUP keeps running after the terminal reports that it ended. Any command that leaves its group can already do the same with an ordinary shell call. Possible fixes are to kill every group in the terminal's session (walk /proc, or use TIOCGPGRP before the kill) or to run the terminal in a cgroup.
Secret-field redaction across reads. The heuristic field redactor (password=…, api_key: …) sees each read on its own. If password= arrives in one read and the value in the next, the value is shown. Registered credentials are already held back across reads (Credentials::unfinished). Fields could get the same treatment by holding back a trailing secret-field name and separator until the value's end arrives.
Activity
Let a bot type into a running program: shell tty and write_stdin (#322)
Daemon: terminals and detached commands share one lasting-process cap
Daemon: terminals and detached commands share one lasting-process cap (…
Daemon: a sandboxed bot's socket listens while its turns or commands …
Sonny: tool_processes is one total, ¾ for the tool host and ¼ for the…
Daemon: bots filters by maker; the perf screen sees Sonny (#573)
Daemon: limits from [daemon] formulas, and a load gate for new comman…
Sonny: a lead keeps so many task windows open, closing the least rece…
Lookout: replies read on a pool of connections, so 1,000 tasks' ends …
Store: plan statements once, so cached joins stop being parsed again …
Plan audit: plan with the stability guarantee, as the daemon's connec…