[axe-1] events.rs — journal d'evenements JSONL #2

Closed
opened 2026-08-16 12:49:11 -04:00 by bruno · 0 comments
Owner

Objectif : tracer 100 % des actions de am dans un journal append-only.

Specification :

  • module src/events.rs : ecriture atomique d'une ligne JSONL par action
  • rotation mensuelle events-YYYYMM.jsonl dans state_dir
  • evenements : start, stop, run, install, update, uninstall, doctor, config, repl, shell
  • champs : ts (RFC3339), kind, agent, pid, cwd, project, session, args, env_keys, exit_code, duration_s
  • pas de verrou long : append simple, reessai si fichier verrouille (Windows)

Criteres d'acceptation :

  • tests unitaires (roundtrip, rotation, ligne corrompue ignoree)
  • am list a chaud reste < 100 ms avec journal actif
  • fixtures rejouables pour les tests de bout en bout

Reference : ROADMAP.md section 6 (socle) et axe 1.

Objectif : tracer 100 % des actions de am dans un journal append-only. Specification : - module src/events.rs : ecriture atomique d'une ligne JSONL par action - rotation mensuelle events-YYYYMM.jsonl dans state_dir - evenements : start, stop, run, install, update, uninstall, doctor, config, repl, shell - champs : ts (RFC3339), kind, agent, pid, cwd, project, session, args, env_keys, exit_code, duration_s - pas de verrou long : append simple, reessai si fichier verrouille (Windows) Criteres d'acceptation : - [ ] tests unitaires (roundtrip, rotation, ligne corrompue ignoree) - [ ] am list a chaud reste < 100 ms avec journal actif - [ ] fixtures rejouables pour les tests de bout en bout Reference : ROADMAP.md section 6 (socle) et axe 1.
bruno added this to the v0.3.0 milestone 2026-08-16 12:49:11 -04:00
bruno added the P0axe-1M labels 2026-08-16 12:49:11 -04:00
bruno added a new dependency 2026-08-16 12:50:56 -04:00
bruno added a new dependency 2026-08-16 12:51:08 -04:00
bruno added a new dependency 2026-08-16 12:51:08 -04:00
bruno added this to the Phase 0 — v0.3.0 project 2026-08-16 13:14:08 -04:00
bruno closed this issue 2026-08-16 13:50:24 -04:00
bruno moved this to En revue in Phase 0 — v0.3.0 on 2026-08-16 23:13:52 -04:00
bruno moved this to Livré in Phase 0 — v0.3.0 on 2026-08-16 23:14:27 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Projets/agent-manager#2