Skip to content

feat(ui): surface the session's declared AI model (v1a) - #116

Open
logicflakes wants to merge 2 commits into
mainfrom
2026-06-agent-session-model
Open

feat(ui): surface the session's declared AI model (v1a)#116
logicflakes wants to merge 2 commits into
mainfrom
2026-06-agent-session-model

Conversation

@logicflakes

Copy link
Copy Markdown
Contributor

Summary

Companion to the rearm-core v1a slice that records the AI model on the session (not the durable agent). The session view now shows the model as a hero badge and an overview "Model" item, labelled "declared" with a tooltip stating the label does not carry the authority of the session's commit signatures — the model is the agent's self-report, not independently verified.

  • Reads Session.primaryModel { uuid name version publisher } + modelAssertion (added to the fetchSession query).
  • Read-only; RUNTIME_OBSERVED → "observed" label is wired for the future Path-B verb.

Backend: relizaio/rearm-saas#168

Test plan

  • npm run build (vite + typecheck) clean
  • On sandbox: open a session with a declared model → badge shows model @ version + "declared"; tooltip renders the authority disclaimer
  • Session with no model → "Model: —", no badge

🤖 Generated with Claude Code

Rhythm Claude and others added 2 commits June 2, 2026 19:38
Companion to the rearm-core v1a slice that records the model on the
session. The session view now shows the model as a hero badge and an
overview "Model" item, labelled "declared" with a tooltip stating the
label does not carry the authority of the session's commit signatures
(the model is the agent's self-report, not independently verified).
Reads Session.primaryModel + modelAssertion; read-only.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
assertionLabel/assertionTip collapsed everything that wasn't the literal
'RUNTIME_OBSERVED' — including null on legacy rows and any future enum
member the UI predates — into the specific 'declared' provenance claim.
Mislabeling provenance is worse than admitting it's unknown, so map the
known states explicitly and fall back to a neutral 'unknown' label/tip.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant