agentscope diagnose: how to find what is wrong, in English agentscope expired leases Graph Quota Guardrails Diagnostics Theme: Light EnglishSessions (t) deniedwaiting for the collector... Sonnet 4 Opus 3 ? 1 d3m00001 acme-demo/web-shop d3m00002 acme-demo/api-gateway d3m00003 example-labs/notebook d3m00004 example-labs/docs-site d3m00005 acme-demo/web-shop (cwd) d3m00006 acme-demo/billing other repositories d3m00001 demo reviewer demo tester acme-demo/web-sh… d3m00002 demo explorer acme-demo/api-gat… d3m00003 example-labs/noteb… d3m00004 example-labs/docs-… d3m00006 acme-demo/billing acme-demo/old-site + example-labs (3) session reviewer idle session no transcript testerheld repoexplorer repoorgdenied 6 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomalies connected Any activity Context ACTIVE 190k / 200k demo: Add the checkout page 150k / 200k Sonnet 5.5 acme-demo/api-gateway demo: Rate-limit the public API example-labs/notebook demo: Fix the notebook export 22k / 200k example-labs/docs-site demo: install guide, held while i… (no data) ANOMALIES (3): shown, not hidden acme-demo/api-gat… d3m00005 session reviewer tester held repo repo org denied explorer Sessions and details State Session Model Repository Task Last Agents Opus 5.5 acme-demo/web-shop 3m 2 6m 1 91k / 200k 9m 0 idleHaiku 53h0 Details Context of lease owner has no transcript: d3m00006 - acme-demo/billing tell from unknown session: d3m0ffff - tell to d3m00002 unparsable line: d3m00003 - line 412 Sessions All states session d3m0000515k / 200k session d3m00005-0000-4000-8000-000000000005state: idle, last activity 2h agotask: Triage open issuesmodel: Sonnet 5.5 (claude-sonnet-5-5) - example-labs (3) example-la…/bench… example-…/noteboo… example…/notebook… demo: the checkout page needs the new rate limit demo reviewer span 7 days 4 x 7 days tokens (4 x 7 days) output cache read Rename... Colour... 100 % Acme Lab Personal Accounts: usage and capacity left capacity left: 0.79 account-weeks (2 of 4 accounts counted) account All (aggregated) 5 h 0 % 50 % Thu Jan 10 10:00 Thu Jan 17 10:00 Output tokens Sonnet Haiku Fable Cache-read tokens Opus Sonnet Haiku Fable Acme Lab - active Official usage (each window, in %) Opus Opus Sonnet Haiku Fable Dec 20 10:00 Jan 17 10:00 Cumulative tokens by day of the week this week (in progress) Tokens per week day 7Official weekly usage, in % (recorded) 0 % 50 %100 % Jan 17 10:00 official weekly % per week, oldest first: not recorded, 30 %, not recorded, 60 % (in progress) 100 % Dec 18 10:00 Jan 15 10:00 Weekly reset Active team 91 % 97 % 0.03 active max 12 % 24 % 0.76 Sat Jan 19 12:00 Dec 18 10:00Jan 15 10:00 Official weekly usage by account, in %, each account's resets marked0 %50 % AccountPlan5 hWeeklyWeeks left Rename...Colour...Tokens per calendar day, all accountsunattributed025.8G 51.5G capacity left: 0.79 account-weeks (2 of 4 accounts counted) | aiquota: quota API: HTTP 429 (too many requests) max 12 % 24 % 0.76 Sat Jan 19 12:00 Rename an account Select a row, then Rename...: a display name makes the charts readable. Nothing is saved until OK. Rename account Display name (empty removes it) CancelOK Side project Colour an account Colour... gives an account its own colour in every chart and in the table, so two accounts are never confused. Reset goes back to automatic. team91 %97 %0.03active decision All decisions Recurrences per week (dashed lines: a gate landed) 0 Gate refusals per week, by gate Lesson Recur. Last Decision Gate After gate Flag pushed-to-the-default-branch pre-push hook refuses the default branch 1 retry-without-backoff 2 2029-09-04 gate a retry helper with jitter 0 SILENT stale-clone-reused 2 2029-08-15 no-gate a judgement call, no gate can exist 0 token-in-a-url 3 2029-10-11 gate wrong-timezone-assumed guard-bash refuses a token in a command line0unchecked-exit-code1-untriaged 042029-12-20pendinggate to be written0 Selected lesson 6 lessons; 2 undated recurrences are not on the chart; 1 dated ones have an inferred year (drawn as their own line) untriaged 1leaking gates 1silent gates 1refusals 14 this week, 9 last 23 recurrences (dated) year inferredOct 29Jan 21guard-bashprwaitgitpush02448 Oct 29Jan 21 Lessons Flag Recur.Last DecisionGateAfter gate Not measured is not zero GitHub REST budget Token Who spent the last hour Session Program Lease queues Resource Refusals (last 2 h) Session Gate Refused Last Alarm Select a row to read the gates' latest words to that session. reading the lease queues... reading the transcripts... Holder UntilWaiting, in order not measured: no readable token file; ledger empty ResourceLeftResetsRead CallsUnits -unattributed-not measured partly measured: 1 queue file(s) unreadable HolderUntilWaiting, in order10:101 d3m00005 (4m) Alarm burst RefusedLast read from the transcripts; a session refused three times by one gate within 15 minutes, or whose last three tool results were all refusals, is red Who the gates refuseDiagnostics, fourth pane: which session was refused by which gate in the last two hours, read from the transcripts. A session refused three times by one gate within fifteen minutes is red; select a row to read the gates' own words, with secrets removed. Before the first pass it says not measured, never none. agentscope Sonnet 4 Opus 3 Context of connected ? 1 expired leasesTheme: Dark EnglishSessions (t)GraphQuotaGuardrailsDiagnosticssessionreviewertesterheld repoexplorerrepoorgdeniedSessions All states StateSessionModelRepositoryTaskLastAgentsOpus 5.53m26m191k / 200k9m0idleHaiku 53h0Details connectingIs it connected?The chip beside the name says connecting: nothing has arrived yet, and the status line says it is waiting for the collector. An empty screen is not an idle fleet. cannot dial: connection refusedCannot dialThe chip now reads cannot dial: connection refused. The server is not running, or the address is wrong. Fix that before reading anything else on the screen. d3m00005Connected: the graphThe status line counts sessions, active ones, agents, repositories, held leases, tells and anomalies. Each cluster is a session; its colour says active, idle or no transcript. The header counts the models in use. d3m00005Sessions and detailsSessionsAll statesStateSessionModelRepositoryTaskLastAgentsOpus 5.5acme-demo/web-shop3m26m191k / 200k9m0idleHaiku 53h0DetailsContext oflease owner has no transcript: d3m00006 - acme-demo/billingtell from unknown session: d3m0ffff - tell toThe Sessions panelSessions (t) opens the table: state, context gauge, model, repository, task, last activity and number of sub-agents. One row per session. Make roomDrag the panel's left edge, the divider between Sessions and Details, or a column border. The layout is yours, and it is kept for your next visit. Opus 5.53m2session d3m00001session d3m00001-0000-4000-8000-000000000001state: ACTIVE (written within 10m0s), last activity 3m agotask: demo: Add the checkout pagemodel: Opus 5.5 (claude-opus-5-5)Context pressureSelect a session: the gauge is its context over the compaction window. Calm under 40 percent, then fair, warm, hot from 75, critical from 90. At 95 percent this session is about to be compacted. reviewer a00sub-agent a00type: reviewerstate: ACTIVEspawn depth: 1Sub-agentsA sub-agent has a context of its own. The reviewer spawned by this session is at 75 percent: hot, although its parent looks fine. Select its node for its type, its depth and its parent. idleHaiku 53h0session d3m00004session d3m00004-0000-4000-8000-000000000004state: idle, last activity 3h agotask: demo: install guide, held while idlemodel: Haiku 5 (claude-haiku-5)Idle, but holdingIdle for 3 hours, this session still holds example-labs/docs-site until its lease expires. Anyone else who needs that repository waits for it. session d3m00006- / 200ksession d3m00006-0000-4000-8000-000000000006state: no transcript found, last activity 50m agotask: demo: migrate the billing schemamodel: ? (none seen)No transcriptState no tr.: the session holds a lease, but there is no transcript to show it is alive. Treat the lease as suspect: its owner may be gone. Expired leasesTick expired leases: dashed edges show the leases that ran out. They are history, listed in the details with how long ago they ended. A repository nobody holds is free to take. Folded repositoriesRepositories nobody holds are folded by organisation: + example-labs (3). Enter, or a second click, unfolds it; Escape folds it again. tell d3m00001 -> d3m00002 (session)at 2030-01-15 09:58:00TellsA tell is a message from one session to another, always drawn. Select its edge to read who sent it, to whom and when: it explains a change of plan you did not ask for. AnomaliesWith nothing selected, the details list the ANOMALIES: shown, never hidden. An orphan lease, a tell from an unknown session, an unparsable line. The status line counts them. ratexdemo testerd3m000056m1no tr.- / 200k?demo: migrate the billing schema50m02 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomaliesSearchTyping in the search box dims the graph and narrows the table to the sessions that match. Here: the rate-limit work. Active< 1 h3 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomaliesFiltersState, last activity, repository and model filters combine with the search. The status line says how many sessions the filters leave out of how many exist. Clear filtersOne button puts every filter back to all. If the table looks empty, look at the filters before you suspect the collector. Official usage by account (each window, in %)0 %50 %Tue Jan 8 10:00Tue Jan 15 10:00Output tokensCache-read tokensAccountPlan5 hWeeklyWeeks leftWeekly resetActiveQuota: all accountsThe Quota tab adds up every account: the official usage of each window in percent, the tokens per day, and the accounts table. Choose a span and a kind of token to change the charts. reset Thu Jan 17 10:00Weekly (7 day)0192384016k33kAn account near its limitSelect Acme Lab: its week is at 97 percent and its 5 h window at 91. Only 0.03 of a week is left: slow down, or move to another account before the reset. Session (5hr)04:0009:0002k3k04:0009:00098k197k04:0009:00Span: 5 hThe 5 h span shows the current window in 10-minute buckets: what burned the quota just now. 06.3M12.6M016.8M33.6M3 weeks ago2 weeks agolast weekday 0Span: 4 x 7 daysFour weeks side by side, the current one still in progress. Is this week's burn normal, or a new habit? 06.4G12.9G017.2G34.4G3 weeks ago2 weeks agolast weekday 0Kind of tokenOutput is what the model wrote, cache read is what it read again. A spike in only one of them says which behaviour to fix. The accounts tablestale: the reading is older than its reset, so it is not counted. not counted: an unknown account, recorded before accounts were told apart. n/a: no data. Only counted accounts add up to the weeks left. Notes under the chartsThe line under the charts says what is missing. Here the quota API answered HTTP 429, so the official percentages are unavailable. A missing value is never drawn as zero. Colour of accountColour of the account's lines (Reset: automatic)ResetCancelOK 52029-12-02gateGuardrailsDo the gates work? Recurrences per week (dashed lines: a gate landed), refusals per gate, and the table of lessons. The chips give the headline counts. 52029-12-02gatedecision: gaterecurrences: 5 (5 dated, 0 of them with an inferred year; 0 undated)ledger: pre-push hook refuses the default branchA leaking gateSelect a lesson: this one has a gate, yet it recurred once after the gate landed. That is leaking. The silent flag marks a gate that refuses nothing: obsolete, or switched off. pending42029-12-20pendinggate to be written0Decisions and sortFilter the lessons by decision (gate, pending, no-gate, untriaged) and click a column to sort: After gate puts the leaking ones first. untriaged: not measuredleaking gates: not measuredsilent gates: not measuredrefusals 0 this week, 0 last01001recur not measured: recur: command not foundWhen recur cannot be read, the tab says so (here: command not found) instead of showing zero lessons. Same rule everywhere: missing data is never drawn as good news. ResourceLeftResetsRead5f3a91c2 (.github-token)core380 / 5000 (7 %), secondary limit 3m10:21 (in 22 min)now, rate_limitCallsUnitsprwait12401240partly measured: ledger has unreadable linesGitHub REST budgetDiagnostics, first pane: what is left of the REST quota, until when, and who spent the last hour. Core is under a tenth of its limit, so it is red, and a secondary limit answered 3 minutes ago, which the free rate-limit endpoint cannot see. What no recorded call explains stays on its own unattributed line. No token file and an empty call ledger: the pane says not measured and why, shows no number, and nothing in it is green. A budget it could not read is never a budget at 0. Lease queuesDiagnostics, third pane: who waits for which repository, behind whom. The holder of docs-site has done nothing for hours while two sessions wait, so its cell is red. A queue file that could not be read is counted under the table, never hidden. replystamp32m replystamp32mSession d3m00003 ThemeTheme: System, Light or Dark. The charts and the pressure gauges keep their meaning in both. LanguageLanguage: Auto, English or French. Every label, the details and these captions change with it. lostConnection lostThe chip says lost: the stream broke. The picture stays on screen but it is frozen. Do not diagnose from it. stream endedStream endedThe server closed the stream. Start it again, then read in this order: connection, context, leases, quota, gates.
0:00 / 0:00