Add last-request and cache fields to Usage (N3 WP6) #23

Merged
weichen merged 1 commits from feature/n3-usage-fields into main 2026-10-07 17:04:22 +00:00
Owner

Why: the loop now emits Last* and cache token usage (Agent-Native#35); the product run record needs the same fields for display and accounting (additive JSON, old records deserialize as zero values).

Evidence: GOWORK=off go build + go test green.

Impact: additive only.

Refs: Agent-Native#35, Agent-System-Documents#43

Why: the loop now emits Last* and cache token usage (Agent-Native#35); the product run record needs the same fields for display and accounting (additive JSON, old records deserialize as zero values). Evidence: GOWORK=off go build + go test green. Impact: additive only. Refs: Agent-Native#35, Agent-System-Documents#43
weichen added 1 commit 2026-10-07 16:34:40 +00:00
Why: the loop now emits Last* and cache token usage; the product run
record needs the same fields for display and accounting (additive JSON,
old records deserialize as zero values).
Evidence: GOWORK=off go build + go test green.
Impact: additive only.
Refs: Agent-Native#35, N3 plan WP6
weichen merged commit 1b7e2c0f47 into main 2026-10-07 17:04:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#23