Parent: https://github.com/aien-dev/omega-mv/issues/607 Depends on Omega #608; consumes #609 and aien-train #1 as they land.
Goal
An operator can inspect and compare all retained local training traces with the machine physically offline. Do not require a daemon, login server, hosted UI or third-party analytics stack.
Implement
- Provide versioned CLI commands for
trace list,trace show <run>,trace steps <run>,trace events <run> --type/--range,trace compare <run-a> <run-b>,trace verify <run>andtrace stats. Names may follow the existing Omega CLI convention after inspection. - Read local trace segments/index without modifying source bytes or canonical Cortex journals. Filter by run/session, source, semantic/realization ID, step, time range and event status; stable deterministic ordering for equal timestamps and thread merges.
- Report step duration distributions, operator/realization cost, loss and optimizer metrics, quota/dropped events, and optional energy only when it is measured and units match. Aggregate from numeric typed fields, never parse secrets from free-text logs.
- Show a causal timeline linking training step -> math/realization choice -> hardware observations -> receipt references. Clearly label estimated/synthetic/observed/verified and unknown, and distinguish verification of archive integrity from independent evidence verification.
- Export operator-requested aggregate tables to local CSV/JSON with a recorded source segment digest and query specification; no outbound transport. Keep this general diagnostic output separate from the constrained Open Humanity sharing bundle.
Acceptance
- Offline queries on frozen multi-threaded fixtures give exact expected ordering, totals and parent/child links; malformed index and missing/corrupt segments report partial/inconclusive, never silently omit.
- Same run data gives same query output; cross-run mismatched machine/build/precision never appears as directly comparable without visible qualification.
- Read-only CLI works with tracing currently disabled, including from a disconnected machine with no external dependencies.
- Unknown energy or uncalibrated prediction is displayed as unavailable, not 0 or proven; no evidence verifier bypass.
- Query scaling measured with increasing local archive sizes; no ClickHouse/Postgres/Redis/Kafka requirement.
Non-goals
Automatic tuning/selection, replacing #583, a cloud dashboard or a community upload endpoint.