Skip to content

#234: plain model words for harness-prefixed notes - #242

Merged
jparker2006 merged 3 commits into
mainfrom
room/234-model-words
Nov 24, 2026
Merged

jparker2006 merged 3 commits into
mainfrom
room/234-model-words

Conversation

@jparker2006

Copy link
Copy Markdown
Member

Follow-up to #239 and #234.

Cloud agent model labels recognize Codex, Claude, Claude Code, and Antigravity prefixes on known model names. Unknown model text keeps its spelling and is trimmed.

The table includes the four reported note strings and covers the Claude Code and Antigravity forms. Three cases failed before the fix. All seven passed after it.

npm run typecheck passed. npm test -- --maxWorkers=2 passed 1,627 tests, with two opt-in render tests skipped.

Built with Cloudroom

@jparker2006 jparker2006 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of a1d0971:

Checked the diff against #234 (G1 of #231) and the follow-up scope: status notes whose model text starts with a harness word should read in plain words. The four reported strings plus the Claude Code and Antigravity forms now give Sol 6.2 · Medium, Opus 5.5 · Medium and Neon · Medium. Unknown text keeps its spelling and is trimmed. The red commit comes before the green one. In wizbar/, npm ci, npm run typecheck and npm test -- --maxWorkers=2 all pass: 1,627 passed, 2 opt-in render tests skipped.

I also tried these inputs: Claude-Code Opus 5.5 high gives Opus 5.5 · High. CLAUDE CODE OPUS 5.5 MAX gives Opus 5.5 · Max. Codex Sol 6.2 (two spaces) gives Sol 6.2. A bare Claude Code or Codex stays as it is. No settings or stored data change, so nothing needs migrating.

Findings:

  • R1 (polish): wizbar/src/agents/cloud.ts:22. Removing (?:claude\s+)? from the Opus pattern means a harness word followed by the vendor word is not recognized. Antigravity Claude Opus 5.5 Medium is shown raw, while Antigravity GPT-6.2-Sol medium still reads as Sol 6.2 · Medium, because gpt stayed optional. Antigravity also runs Claude models, so this form is realistic. Fix: put back ^(?:claude\s+)?opus\s+5[. ]5(?:\s|$) and add that string to the table in cloud.test.ts.
  • R2 (polish): wizbar/src/agents/cloud.ts:24. The effort word is title-cased by hand, so xhigh shows as Xhigh. Cards, the hover card and the CLI show XHigh (effortName in src/model-names.ts). This was already the case before this change, but it is on the same line and in the same plain-words scope. Fix: call effortName(effort) and add a test row such as Codex GPT-6.2-Sol xhigh → Sol 6.2 · XHigh.
  • R3 (polish): wizbar/src/agents/cloud.ts:18. G1 also names Cursor and opencode as sandboxed agents, but only codex, claude, claude code and antigravity are removed from the front. Cursor Opus 5.5 Medium and opencode Sol 6.2 low are shown raw. Fix: add cursor and opencode to the list of harness words, with one test row each. Alternatively, drop the word when it equals the note's own harness field.

Verdict: approve

@jparker2006
jparker2006 merged commit 6f255d4 into main Nov 24, 2026
1 check passed
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