Summary
hook-context-intelligence writes a near-duplicate of the session event stream to <session>/context-intelligence/events.jsonl unconditionally — the local disk write is always-on even when no CI server is configured. This is asserted by design:
test_silent_by_default.py: "Disk always writes even without server config (always-on JSONL)"
mount() docstring: "Always: ... LoggingHandler — writes events.jsonl + dispatches to CI server(s)"
The only way to avoid the duplicate today is to not compose the bundle at all.
Measured impact (one real machine)
Ask
A config knob to disable the local disk copy while keeping server dispatch, for users who compose the bundle only for the graph-server features, e.g.:
hooks:
- module: hook-context-intelligence
config:
local_mirror: false
Related: #332, #333.
Summary
hook-context-intelligencewrites a near-duplicate of the session event stream to<session>/context-intelligence/events.jsonlunconditionally — the local disk write is always-on even when no CI server is configured. This is asserted by design:test_silent_by_default.py: "Disk always writes even without server config (always-on JSONL)"mount()docstring: "Always: ... LoggingHandler — writes events.jsonl + dispatches to CI server(s)"The only way to avoid the duplicate today is to not compose the bundle at all.
Measured impact (one real machine)
events.jsonl(e.g. 75.77 MB vs 75.79 MB for one active session), doubling the cost of already-unbounded event logs (see [app-cli] Defaultraw: trueinjection makes full LLM payload logging the out-of-box behavior — events.jsonl grows unboundedly (97% of bytes measured) #332 for theraw: truedefault that makes individual files huge, and [hooks-logging] No retention/rotation/size-cap option for events.jsonl — append-only files reach 1.1 GB per session #333 for the lack of any retention option)Ask
A config knob to disable the local disk copy while keeping server dispatch, for users who compose the bundle only for the graph-server features, e.g.:
Related: #332, #333.