Repository navigation
Session status card: acpmux fills Host, Auth source, Routing, Settings and Usage limits - #32835
Merged
Merged
Conversation
…s and Usage limits Leo, 2026-11-03: "how come the status doesn't say anything". The card read host, authSource, route and settingsSources from the session detail, and the daemon never set them; a claude-sr2 chat was not even remembered, because only family "claude" kept its spawn env. acpmux now sets them in session detail (session_status.rs), from the spawn env it remembers for every Claude family (kinds and origins only, never a value), the bound route's name, the launcher argv (sr2 claude, sr claude proxy) and the settings files in force plus the autocompact window. A sign-in with no plan limits (API key, Bedrock/Vertex) sends usageLimitsApply: false and the card hides that row; otherwise no limit yet reads "No limit reported yet". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-6a36e7fb7cbfd03d48fc
Contributor
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on c5d7e8d to compare; do not merge until green; see lane-rules Shipped in:
|
… off async workers Review of 7e7ef49: a `host` on a local chat's detail made the web treat it as remote (model memory, New Tab model, full-access row, Account item, @-mention recents). The card now reads `machine` after host and peer. A source's rank reads its leading words only, so a path holding "aws" never ranks a sign-in; the settings reads run under block_in_place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-6a36e7fb7cbfd03d48fc
teamleaderleo
temporarily deployed
to
ci-routing-agent
November 3, 2026 02:07 — with
GitHub Actions
Inactive
|
Found 6 test failures on Blacksmith runners: Failures
|
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 02:16 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
sentry-dsyms
November 3, 2026 02:16 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 02:19 — with
GitHub Actions
Inactive
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-6a36e7fb7cbfd03d48fc
teamleaderleo
temporarily deployed
to
ci-routing-agent
November 3, 2026 02:35 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
sentry-dsyms
November 3, 2026 02:45 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 02:45 — with
GitHub Actions
Inactive
…orts limits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-6a36e7fb7cbfd03d48fc
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 02:48 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
ci-routing-agent
November 3, 2026 02:51 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
sentry-dsyms
November 3, 2026 03:02 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 03:02 — with
GitHub Actions
Inactive
teamleaderleo
temporarily deployed
to
artifacts
November 3, 2026 03:05 — with
GitHub Actions
Inactive
This was referenced Nov 3, 2026
This was referenced Nov 3, 2026
gallery: HarnessStatusCard fixture names a neutral machine (base red: fleet host names check)
#33110
Merged
lawrencecchen
pushed a commit
that referenced
this pull request
Nov 3, 2026
…leet host (#33110) `No fleet host names in gallery fixtures` (cmux-next checks) is red on feat-cmux-next: HarnessStatusCard.gallery.tsx (#32835) names "cosmic-gray". The fixture now names studio-mac, as the check asks. The DOM test keeps its own fixture (the check reads gallery fixtures only). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
teamleaderleo
added a commit
that referenced
this pull request
Nov 3, 2026
…eet host (#32835) (#33022) Agent-Session: https://cmux.com/deeplink/agent?id=aid-d750cf10922c785efa64 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: cmux-bot[bot] <348531757+cmux-bot[bot]@users.noreply.github.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Leo, 2026-11-03: "how come the status doesn't say anything"
On a Claude chat the Session status card (
/status, added in 11c3f51 "feat(cmux-next): add shared harness status card", limits row from #27762) filled in Version, Session, CWD, Model, Effort and Context. Host, Auth source, Routing, Settings and Usage limits all said "Not reported".Why
The card reads
host,authSource,route/baseUrlandsettingsSourcesfrom the session detail. acpmux never set them. For aclaude-sr2chat it also kept no spawn env at all, becauseclaude_auth::rememberran only for familyclaude.What changed
session_status.rs, new): session detail now carrieshost: this daemon's machine name. A peer's chat names the peer's own machine, since the detail comes from the remote daemon.authSource: the sign-in Claude Code uses, picked in Claude Code's own precedence order: a cloud provider, thenANTHROPIC_AUTH_TOKEN,ANTHROPIC_API_KEY,apiKeyHelper,CLAUDE_CODE_OAUTH_TOKEN, a/loginkey, then the subscription login. It names the kind and where it came from (route, profile, environment, or a file path), never the value. A launcher (sr2 claude,sr claude proxy) is named as such.route: the bound route's name, else the SR2 gateway, a subrouter, a custom endpoint, or "Direct (Anthropic)". It is never hidden for a direct login.settingsSources: the settings files that exist (managed, the Claude home'ssettings.json, the project's.claude/settings*.json), plus "autocompact at 400K" when that window is set.usageLimitsApply: falseonly when the sign-in has no plan limits (an API key, Bedrock or Vertex) and none were reported.remembernow runs for every Claude family.explain(the sign-in failure text) still applies to plainclaudeonly, soclaude-sr2errors are unchanged. The route's name reaches the spawn through the internalACPMUX_ROUTE_NAMEkey, whichcommand.rsstrips before the harness starts.~/.claude.jsoneach time.claude-sr2andclaude-api-keyshow both.Tests
tests/claude_auth_env.rs::session_info_names_host_sign_in_route_settings_and_limits: a fake Claude launched with a profile that setsCLAUDE_CONFIG_DIR,ANTHROPIC_AUTH_TOKENand an SR2 gateway URL._acpmux/infocarries host, "Auth token (ANTHROPIC_AUTH_TOKEN, from its profile)", "SR2 gateway (…)", both settings files plus autocompact, and the reported limits. The token value appears nowhere.session_status_tests.rs: auth precedence and labels, route labels, launcher detection, settings files, plan-limit applicability.HarnessStatusCard.dom.test.tsx: the card shows the daemon's rows, says "No limit reported yet", hides Usage limits when it does not apply, and still shows limits that were reported.Observed / Not run
bun test src/agent-session/acpmux/HarnessStatusCard(19 pass) andscripts/web-lint.sh(pass).risk: normal. No capture: the gallery variants
agent-pane.harness-status/claude-sr2and/claude-api-keyrender the new states.Changelog
Agent session: agent session
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
The Session status card now shows the machine, sign-in source, routing, settings files, and usage-limit state for Claude chats instead of "Not reported".
sr2 claude,sr claude proxy), and the settings files in force.machinefield so the web does not treat a local chat as remote.Tests
CLAUDE_CONFIG_DIR,ANTHROPIC_AUTH_TOKENand an SR2 gateway URL;_acpmux/infocarries the machine, sign-in kind and origin (never the token value), route, settings files plus autocompact, and the reported limits.HarnessStatusCard.dom.test.tsxcovers the new rows, "No limit reported yet", the hidden Usage limits row, and limits that were reported.Written for commit ef29650. Summary will update on new commits.