Files
Liran Hason b35bec9c60 docs: add read-only mode docs, rename allow_costly_commands to olly_enabled (#99)
CXAI-2089

## Summary
- Document `--read-only` flag, `CX_READ_ONLY` env var, and `read_only`
config option in `docs/configuration.md`
- Add previously undocumented `allow_risky_commands` and `olly_enabled`
fields to the global config table and example
- Rename `allow_costly_commands` to `olly_enabled` throughout code,
tests, and docs - the old name was overly generic for what it actually
gates (`olly ask`)

## Test plan
- [x] `cargo fmt` - clean
- [x] `cargo clippy` - no warnings
- [x] `cargo test` - 590 passed
- [x] `cargo test --test risky_costly_gating` - 10 passed (includes
renamed olly gating tests)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-14 19:07:17 +03:00
..