docs: fix events layout drift in CLAUDE.md
CLAUDE.md described events as JSON-lines files at events/YYYY-MM-DD/<node>/events.jsonl. Actual runtime layout (node-agent, executor, observer, health-monitor, stability-agent) is flat: one JSON file per event at events/<node>/evt-<node>-<unixts>-<type>[-<service>].json, no date subdirectory, no JSON-lines aggregation. grepped docs/ for the same drifted description: the only other hit is docs/sessions/2026-08-26.md, which is a historical session log recording this exact finding as a follow-up — left untouched. The same drift also appears in several kb/ files; out of scope here (docs/ only, kb/ has its own authoring conventions) — flagged as a follow-up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VMn76yx2CNuHKFVMrYcKWA
This commit is contained in:
parent
9a86843ddd
commit
40d78ce60d
|
|
@ -109,7 +109,7 @@ Agents must never execute destructive actions (restarts, deploys, config changes
|
||||||
|
|
||||||
## Event System
|
## Event System
|
||||||
|
|
||||||
Events are append-only JSON lines at `/opt/homelab/events/YYYY-MM-DD/<node>/events.jsonl`.
|
Events are append-only, one JSON file per event, flat under `/opt/homelab/events/<node>/evt-<node>-<unixts>-<type>[-<service>].json`.
|
||||||
|
|
||||||
Emit via `scripts/lib/events.sh` (shell) or `scripts/lib/events.py` (Python).
|
Emit via `scripts/lib/events.sh` (shell) or `scripts/lib/events.py` (Python).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue