feat(ui): surface the session's declared AI model (v1a) - #116
Open
logicflakes wants to merge 2 commits into
Open
feat(ui): surface the session's declared AI model (v1a)#116logicflakes wants to merge 2 commits into
logicflakes wants to merge 2 commits into
Conversation
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>
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.
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.
Session.primaryModel { uuid name version publisher }+modelAssertion(added to thefetchSessionquery).RUNTIME_OBSERVED→ "observed" label is wired for the future Path-B verb.Backend: relizaio/rearm-saas#168
Test plan
npm run build(vite + typecheck) cleanmodel @ version+ "declared"; tooltip renders the authority disclaimer🤖 Generated with Claude Code