From 40d78ce60de857b9b387d9e418fdda949e7a2467 Mon Sep 17 00:00:00 2001 From: oskar Date: Thu, 27 Aug 2026 14:46:34 +0200 Subject: [PATCH] docs: fix events layout drift in CLAUDE.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CLAUDE.md described events as JSON-lines files at events/YYYY-MM-DD//events.jsonl. Actual runtime layout (node-agent, executor, observer, health-monitor, stability-agent) is flat: one JSON file per event at events//evt---[-].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 Claude-Session: https://claude.ai/code/session_01VMn76yx2CNuHKFVMrYcKWA --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 7a090b8..62951fa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -109,7 +109,7 @@ Agents must never execute destructive actions (restarts, deploys, config changes ## Event System -Events are append-only JSON lines at `/opt/homelab/events/YYYY-MM-DD//events.jsonl`. +Events are append-only, one JSON file per event, flat under `/opt/homelab/events//evt---[-].json`. Emit via `scripts/lib/events.sh` (shell) or `scripts/lib/events.py` (Python).