mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-04 05:07:04 +00:00
- status honesty: TraceConfig::has_sink() (feeds status "tracing") returns false once the writer has failed, so status no longer reports active tracing while emits are being dropped. - gc data race: re-check recent activity (snapshot/trace mtime, created-recently) AFTER acquiring the session write lock, so a trace segment written between the pre-check and remove is not deleted. - session end honors the resolved session: `--session X session end` (no id) now ends X, not whatever the current_session pointer names. - degrade precision: manifest/pointer reads degrade only symlinked/corrupt files (the structural attack) but let genuine I/O/permission errors surface, instead of masking every failure as "absent". - strict batch override: a batch item overriding to a valid no-trace/ended session no longer fails INVALID_ARGS under a --trace-strict parent (clone_with_session_segment(None) yields a sinkless config, not a strict error). Kept: BatchSessionArgs deny_unknown_fields (session batch args are new — no legacy generators to break — and it catches the no_trce typo the prior review required). Guards added: failed-writer-reports-no-sink, strict-parent-allows-no-trace- batch-override. |
||
|---|---|---|
| .. | ||
| core | ||
| ffi | ||
| linux | ||
| macos | ||
| windows | ||