Skip to content

Audit token and prompt-cache diagnostics parity #401

@shiny-code-bot

Description

@shiny-code-bot

Finish Line

Token, rate-limit, and prompt-cache diagnostics promised by Every Code are audited against the Codex-fork token pipeline and protected by fixtures before UI changes.

Current Status

State: Created from #397 parity ledger.

Deleted evidence from the pre-#390 tree includes old token/account usage modules, limits overlay/view code, rate-limit history cells, and limits snapshots. Current main has Codex token usage replay, app-server token events, login token data, and TUI token usage, but prompt-cache hit-rate parity is not proven.

Acceptance Criteria

  • Audit current ThreadTokenUsageUpdatedNotification and token replay behavior against Every Code docs/release promises.
  • Classify old token/rate-limit/limits snapshots as port, rewrite, covered, defer, or retire.
  • Add missing fixtures for prompt-cache hit-rate and rate-limit display semantics before UI changes.
  • Do not change token event schemas or replay processing until the prompt-cache gap is inventoried.
  • End code-bearing slices with ./build-fast.sh passing cleanly.

Relationships

Metadata

Metadata

Assignees

No one assigned

    Labels

    planDurable planning issueplan:waitingPlan is waiting on non-issue evidence or decision

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions