trace: the coordinator is the one unpriced worker #108

Closed
opened 2026-08-12 16:37:00 +00:00 by john · 0 comments
Owner

trace.jsonl prices every subagent, and the orchestrating session itself - half of the original cost spiral - is invisible. Verbatim phase 1: ~968k recorded subagent tokens, coordinator spend unknown.

Smallest honest version: a per-step marker event carrying what the coordinator can actually know (context bytes at dispatch time, or turn count between brackets), never a fabricated token figure. Calibrate the shape against verbatim's completed phase 1 trace, which is the fixture sitting on disk already. Feeds /cad-report's record-health line and trace suggest's evidence floors.

trace.jsonl prices every subagent, and the orchestrating session itself - half of the original cost spiral - is invisible. Verbatim phase 1: ~968k recorded subagent tokens, coordinator spend unknown. Smallest honest version: a per-step marker event carrying what the coordinator can actually know (context bytes at dispatch time, or turn count between brackets), never a fabricated token figure. Calibrate the shape against verbatim's completed phase 1 trace, which is the fixture sitting on disk already. Feeds /cad-report's record-health line and trace suggest's evidence floors.
john added this to the v3.1.0 milestone 2026-08-12 16:37:00 +00:00
john closed this issue 2026-08-13 15:32:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: crenshawdev/cadence-archived#108
No description provided.