(paths: DecisionPaths)
| 215 | |
| 216 | /** Read all events tolerantly (skips malformed/partial-tail lines). */ |
| 217 | export function readEvents(paths: DecisionPaths): DecisionEvent[] { |
| 218 | return readJsonl<DecisionEvent>(paths.log); |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Write the bounded active snapshot (`decisions.active.json`) atomically. Context |
no test coverage detected