Repository navigation
#234: plain model words for harness-prefixed notes - #242
Conversation
jparker2006
left a comment
There was a problem hiding this comment.
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 Mediumis shown raw, whileAntigravity GPT-6.2-Sol mediumstill reads asSol 6.2 · Medium, becausegptstayed 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 incloud.test.ts. - R2 (polish):
wizbar/src/agents/cloud.ts:24. The effort word is title-cased by hand, soxhighshows asXhigh. Cards, the hover card and the CLI showXHigh(effortNameinsrc/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: calleffortName(effort)and add a test row such asCodex 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 onlycodex,claude,claude codeandantigravityare removed from the front.Cursor Opus 5.5 Mediumandopencode Sol 6.2 loware shown raw. Fix: addcursorandopencodeto the list of harness words, with one test row each. Alternatively, drop the word when it equals the note's ownharnessfield.
Verdict: approve
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 typecheckpassed.npm test -- --maxWorkers=2passed 1,627 tests, with two opt-in render tests skipped.Built with Cloudroom