2 Commits

Author SHA1 Message Date
dobbry-vechur 269f45ad45 debug_capture: rename trace-file settings and harden writer
- Rename jsonl settings to trace_file; keep on-disk key for compat
- Escape trace-file strings via flatbuffers::EscapeString, including category
- Leak the singleton to drop exit-time teardown
- Rotate the trace file with a temp rename for Windows safety
- Bump feed generation only when a resize drops entries
- Reorder log/eoc entry fields, add wants() gate, drop redundant returns
2026-05-24 18:11:58 +04:00
dumb-kevin 7af83771a9 Add debug capture pipeline
- ring buffers for add_msg_debug, event_bus events, EOC fire traces
- optional JSONL/CSV writer with size-based rotation
- monitor subsystem with every_turn/on_change/manual modes; DF_MONITOR filter
- hook add_msg_debug, EOC activate, do_turn, ~game shutdown
- debug_capture_test covers escape, ring trim, monitor, JSONL rebase
2026-05-24 17:31:24 +04:00