Repository navigation
feat(config)!: [shell.tmux] section, strict config keys, no tmux righ… - #1186
Merged
Merged
Conversation
…t-click menu tmux settings move to [shell.tmux]: `enabled` replaces [shell] use_tmux, which is removed, and the new `right_click_menu` (default false) unbinds tmux's right-click and Alt+right-click pane menu each time coi starts or reuses the tool's tmux session. Mouse mode and wheel scrolling stay on. Global, $COI_CONFIG and project config files now refuse keys coi does not know instead of ignoring them, as profiles already did via the schema. The removed [network.logging] section fails everywhere instead of being dropped with a warning, and the hints for config-shaped flags removed in 0.10.0 are gone: they fail as plain unknown flags. coi validate profile now names an unknown key inside a section instead of reporting only "<section>: validation failed".
The unknown-key test used a deliberate misspelling that the misspell linter rejects. The unknown-key error listed an unknown table and each key under it; it now names the table once. The CHANGELOG notes that turning right_click_menu back on in a persistent container takes a tmux server restart.
test_large_write_triggers_high_threat waited a fixed 15s after the container started, then wrote 200MB and expected a HIGH write threat. The tool's startup reads (Claude Code's ~400MB binary) exceed the 50MB read threshold; when they landed after the monitor's first sample, a HIGH read threat froze the container first and the write never reached the disk (io.stat: rbytes=525844480 wbytes=13516800), failing all three attempts. Wait until the container's reads have been quiet for 5s, and if a startup read threat already froze it, unfreeze and wait again. The write threat is still audited after an earlier pause.
test_memory_limit_is_enforced set [limits.memory] max, which is not a memory key (the key is limit), so the loader silently ignored it and the test never applied a memory limit. Config files now refuse unknown keys, which surfaced it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…t-click menu
tmux settings move to [shell.tmux]:
enabledreplaces [shell] use_tmux, which is removed, and the newright_click_menu(default false) unbinds tmux's right-click and Alt+right-click pane menu each time coi starts or reuses the tool's tmux session. Mouse mode and wheel scrolling stay on.Global, $COI_CONFIG and project config files now refuse keys coi does not know instead of ignoring them, as profiles already did via the schema. The removed [network.logging] section fails everywhere instead of being dropped with a warning, and the hints for config-shaped flags removed in 0.10.0 are gone: they fail as plain unknown flags.
coi validate profile now names an unknown key inside a section instead of reporting only "