Task · CAOT-0001

Freeze the unified model and its provenance contract

Description

internal/model already carries a scaffolded Session/Turn/Item. Every decoder and every sink depends on it alone, so it has to be correct and complete before parallel work starts; changing it later invalidates every lane at once.

The contract that matters is provenance. Codex measures TTFT and per-item boundaries. Claude Code measures neither and everything comparable is derived from record write times. A duration without its Source is uninterpretable and no test catches a dashboard that averages the two.

Acceptance Criteria

Definition of Done

Final Summary

Unified Session, Turn and Item provenance contract is implemented and covered by the integrated unit suite; just check passed at 0d177e3.

References

View the source file on GitHub