diff --git a/CLAUDE.md b/CLAUDE.md index f00ce17..2614fb4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -292,6 +292,17 @@ fix flows to every page automatically; two hand-written HTML pages never will. recurring mistake. The changelog lives ONLY in `docs/development/arena-studio-release-notes.md` — add an entry there for user-visible changes. +- **Run logs are `.jsonl.gz` (v0.72+, `docs/development/runlog-behavior-v2-plan.md`).** + `commitRunLog` gzips the bridge export (`GH.gzipBytes`) and commits + `runlogs//.jsonl.gz` via `GH.commitFile`, which routes >30 MiB payloads + through the Git Database API (`GH.directCommitLarge`) because the Contents API + rejects ~35 MiB+ files. Every reader (dashboard, replay viewer, adapter) must inflate + on the gzip magic and accept both `behavior_v1` and `behavior_v2` line formats. The + log level is a runtime setting (File ▾ → Run logging, localStorage `studio_log_level`, + default `behavior_v2`); the runner asserts it via `log_control` and the bridge ACKS + the level it will actually write (`bridge.waitForLogLevelAck`) — a pre-3.0 bridge + never acks, so treat "no ack" as behavior_v1. Never write `log_format` into + `run_metadata` from anything but the acked/inferred level. - Bump the footer version/timestamp on every edit; never Prettier the HTML. ## Pattern Designer (`pattern_editor.html`) diff --git a/arena_studio.html b/arena_studio.html index dc56446..a5928ab 100644 --- a/arena_studio.html +++ b/arena_studio.html @@ -2134,8 +2134,9 @@
- + +
→ writes a local .yaml file (sign in to GitHub to open a PR instead)
@@ -2249,7 +2250,7 @@

Sequence · test any single condition ▶ Clear - + @@ -2917,7 +2918,7 @@

Import error