Repository navigation
fix: read Grok 1.0.77 Fast model composer as empty when idle - #8418
Conversation
Grok 1.0.77 titles the grok-4.7-build-fast composer 'Grok 4.7 Fast (medium) · always-approve'. The two-word model name failed the typed-title check, so the idle composer read unknown and fm-control exit and relaunch refused to type /exit. Accept the single ' Fast' model word on the always-approve title only. Pin the real styled Rex captures as fixtures. Closes kunchenguid#8388
[Low impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "fix: read Grok 1.0.77's Fast model compo..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thank you @Azd325, this is a tight fix for #8388. What I checked on head Gates: the no-mistakes attestation binds this head with no skipped steps, and the "PR must be raised via no-mistakes" check passes. Coverage guard and repo invariants pass. Greptile is 5/5 with no threads. No workflow, network or credential changes. It merges cleanly. Contract class (my read): restore. Exiting and relaunching an idle Grok worker is an existing default path, and Grok 1.0.77's Fast title broke it. This accepts exactly the one observed shape. I've queued the full suite ( |
|
Speaking as Kun's firstmate: this is merged. Thank you @Azd325 — really appreciate you taking the time on this. |
Contract-class: restore
Grok 1.0.77 titles the
grok-4.7-build-fastcomposerGrok 4.7 Fast (medium) · always-approve.The approval-suffix rule added for Grok 1.0.44 accepts only a one-word model name, so this idle composer read
unknown, andbin/fm-control.shexitandrelaunchrefused to type/exit.The banner rows and the blank row above the shortcuts bar are not the cause: the
grok-4.7,grok-4.6, andgrok-4.5titles on Grok 1.0.77 already readempty.What Changed
bin/fm-composer-lib.shaccepts oneFastword after the model version, only on the· always-approvetitle, where Grok 1.0.77 draws it.tests/fm-composer-lib.test.shfeeds real styled Rex captures of Grok 1.0.77 (tests/fixtures/rex-grok-1.0.77/) through the classifier: idle after a turn and a Ctrl+C interrupt readsempty, typed text readspending, and unobserved titles (a second model word, another word, theFasttitle at Grok 1.0.5's overhang) stayunknown. The earlier Grok cases still pass.docs/verification/runtime-backends.mdrecords the verified Grok 1.0.77 release beside the 1.0.44 and 1.0.5 entries.The stop path that skips the empty-composer proof is out of scope.
Risk Assessment
✅ Low: The change is narrow: it accepts one
Fastmodel word, and only inside the rounded· always-approveGrok title. A real styled 1.0.77 capture readsunknownon the base andemptyafter the change, and the typed and unobserved-title negatives staypendingandunknown.Testing
I drove real Grok 1.0.77 in a throwaway Herdr lab pane. Its idle composer, titled
Grok 4.7 Fast (medium) · always-approve, readempty. With draft text typed it readpending, and it reademptyagain after the draft was cleared. The saved-fixture test passed, including the altered-title cases (Fast Mini,Turbo, and the 1.0.5 overhang), which readunknown. That fixture run is not a live run, so the altered-title scenario is marked untested. I did not run a livefm-control relaunch, because it would need a disposable fleet fixture. I did not run the classifier on the base commit, so the live evidence does not show the pre-fixunknownresult. The lab was torn down and the scratch directory removed. I answeredyto Grok's trust prompt for the scratch directory, which writes an entry to Grok's own trust store.Fast Mini,Turbo,Fastwith the 1.0.5 overhang) read unknown (saved fixtures)Evidence: Live Grok 1.0.77 classifier transcript (idle, typed, cleared)
Source: Live Grok 1.0.77 classifier transcript (idle, typed, cleared)
Evidence: Fixture test run
Source: Fixture test run
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
🔧 **Test** - 1 issue found → no changes applied ✅
Fast Fast,Slow): both read unknown, Run live Grok 1.0.77 andfm-control.sh relaunch: the pane is accepted as emptyFast Fast,Slow): both read unknownfm-control.sh relaunch: the pane is accepted as emptybash tests/fm-composer-lib.test.sh(full composer-lib file, all ok, including the new grok 1.0.77 Fast-title matrix test)Ranfm_composer_classify_screendirectly on the 1.0.77 idle and typed fixtures, plus two mutated titles (Fast Fast,Slow)🔧 No changes applied.
✅ Re-checked - no issues remain.
Fast Mini,Turbo,Fastwith the 1.0.5 overhang) read unknown (saved fixtures)Ran real Grok 1.0.77 (50ca579fa996) with--always-approve --model grok-4.7-build-fastin a scratch pane of a Herdr lab session created bybin/fm-herdr-lab.sh provision, then classified the pane withfm_backend_composer_state herdr <session>:w1:p1.Sent draft text, then cleared it with ctrl+u, and re-classified the pane.bash tests/fm-composer-lib.test.sh, which includestest_matrix_grok_1077_fast_model_title(idle, typed, and altered-title cases).Ranbin/fm-herdr-lab.sh teardownand removed the scratch directory.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
Issues
Closes #8388