You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wire existing model plan and usage windows into live Lead Usage #95
Dogfood from oxstack/ox-llm#1030 and #91. The deployed Lead renderer has no model plan/window observation. The landed Lead view accepts the gateway usage type and filters expired windows, but the server currently sets only Board and GitHub App quota. oxstack/ox-llm#1324 covers App quota separately.
Owner lanes: N0 owns backend integration in coordination with the provider usage reader owner. Work3 owns rendering and unavailable-state copy.
Acceptance: consume the existing authorized usage reader or its native retained observation, preserve plan, both windows and original freshness, and render unavailable when no valid observation exists. Use the current provider policy and identity; do not add credentials, fallback or a separate model request to refresh a web page.
N0 source check at 0d2eafbd: oxc_gateway::status::chatgpt_usage exposes a pure decoder. The only landed code that fetches wham/usage is the HTTP mock fixture. The production Lead listener supplies only Board and App quota and has no protected retained plan observation to bind. Provider/LAN needs to expose an authorized, timestamped observation from the normal status path. N0 will consume it after that boundary lands. For OpenCode Go, the explicit reader is already tracked in oxstack/ox-llm#1403 / #62, so use that path and retain its rolling, weekly and monthly windows. Keep Usage unavailable until a valid observation exists. Page requests must never generate a model turn or open an alternate credential path.
oxstack/ox-llm#1403 landed as b4483393. The exact entry point Gateway::opencode_plan_usage returns typed PlanUsage with rolling, weekly, and monthly windows, checked status, used_percent and reset seconds. Source search finds no production caller and the result has no observation timestamp attached. LAN owns the existing status observation/pacing path. Please hand N0/Work3 that same typed observation plus its successful read time and availability for display. The UI should consume the retained native status projection through the approved profile. No direct POST, model turn, new credential source or additional producer from the listener.
Update to the prior ChatGPT decoder evidence. The deployed main 5da4de68 includes oxstack/ox-llm#1403 (b4483393) and oxstack/ox-llm#1429 (b91cf67d). These provide the native OpenCode Go usage reader and its cache scoped to the protected account and discovery base. Gateway::opencode_plan_observation retains the observation timestamp and returns three separately optional windows: rolling, weekly, and monthly.
On this exact source the Lead listener does not call that reader, and its existing View.model_plan accepts the separate ChatGPT usage type. A production Go binding can reuse the gateway reader and display its actual three windows with their age; the ChatGPT decoder and its two windows stay separate. Unknown data remains unknown. This source check made no provider request and does not establish live window values.
Triage 2026-11-19: this issue is now tracked in #153 (Cluster: Lead web UI: live board, workers, usage, chat, session attach, priority P0), planned PR 1: "Live data". It will be fixed there together with its related issues, not one by one.
Activity
oxa-agent commentedon Nov 18, 2026
N0 source check at 0d2eafbd: oxc_gateway::status::chatgpt_usage exposes a pure decoder. The only landed code that fetches wham/usage is the HTTP mock fixture. The production Lead listener supplies only Board and App quota and has no protected retained plan observation to bind. Provider/LAN needs to expose an authorized, timestamped observation from the normal status path. N0 will consume it after that boundary lands. For OpenCode Go, the explicit reader is already tracked in oxstack/ox-llm#1403 / #62, so use that path and retain its rolling, weekly and monthly windows. Keep Usage unavailable until a valid observation exists. Page requests must never generate a model turn or open an alternate credential path.
oxstack/ox-llm#1403 landed as b4483393. The exact entry point Gateway::opencode_plan_usage returns typed PlanUsage with rolling, weekly, and monthly windows, checked status, used_percent and reset seconds. Source search finds no production caller and the result has no observation timestamp attached. LAN owns the existing status observation/pacing path. Please hand N0/Work3 that same typed observation plus its successful read time and availability for display. The UI should consume the retained native status projection through the approved profile. No direct POST, model turn, new credential source or additional producer from the listener.
oxa-agent commentedon Nov 18, 2026
Update to the prior ChatGPT decoder evidence. The deployed main
5da4de68includes oxstack/ox-llm#1403 (b4483393) and oxstack/ox-llm#1429 (b91cf67d). These provide the native OpenCode Go usage reader and its cache scoped to the protected account and discovery base.Gateway::opencode_plan_observationretains the observation timestamp and returns three separately optional windows: rolling, weekly, and monthly.On this exact source the Lead listener does not call that reader, and its existing
View.model_planaccepts the separate ChatGPT usage type. A production Go binding can reuse the gateway reader and display its actual three windows with their age; the ChatGPT decoder and its two windows stay separate. Unknown data remains unknown. This source check made no provider request and does not establish live window values.n0rpan commentedon Nov 19, 2026
Triage 2026-11-19: this issue is now tracked in #153 (Cluster: Lead web UI: live board, workers, usage, chat, session attach, priority P0), planned PR 1: "Live data". It will be fixed there together with its related issues, not one by one.