mirror of
https://github.com/razzant/ouroboros.git
synced 2026-08-16 14:13:14 +00:00
rotate_chat_log_if_needed becomes a thin wrapper over the generalized rotate_jsonl_log_if_needed(drive_root, name, archive_prefix, max_bytes), which keeps the atomic os.replace under the append sidecar lock, suppresses itself in .ouroboros_isolated_benchmark data roots (bench harnesses read trial-local single files), and avoids same-second archive-name collisions with a suffix that still sorts chronologically. progress.jsonl now rotates on the same supervisor tick as chat. Log archives are durable history: no GC/retention sweep touches archive/ (verified: retention.py governs worktrees, task drives and service logs only). The TB ATIF trajectory builder reads the full archive chain (oldest-first + live) for progress and chat, since not every harness writes the suppression sentinel. |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| __init__.py | ||
| README.md | ||
Ouroboros Devtools
devtools/ contains operator-side and benchmark support code that should be
versioned with Ouroboros without becoming part of the runtime core.
Rules:
- Generated logs, datasets, run outputs, Docker layers, and secrets do not live here.
- Default benchmark outputs go under
/Users/anton/Ouroboros/bench_runs/. - Runtime modules must not import
devtools. - This is not an immune-system bypass: touched files are reviewed normally.
- Promote code out of
devtoolsonly through a separate reviewed runtime plan.