Repository navigation
fix: preserve dispatch identity across authentication checks - #1233
Merged
Merged
Conversation
quinnbot-ai
pushed a commit
to quinnbot-ai/firstmate
that referenced
this pull request
Jul 30, 2026
…guid#1233) * fix: preserve dispatch harness identity * no-mistakes(review): Fix Grok counterfactual tuple validation * no-mistakes(document): Scope dispatch authentication to selected tuple * fix: restore dispatch instruction budget * no-mistakes(review): Scope dispatch authentication after candidate selection
allstargg
added a commit
to allstargg/firstmate
that referenced
this pull request
Jul 30, 2026
Intent
Prevent Firstmate dispatch identity conflation while preserving the minimal captain-approved contract: keep the explicit harness/model/provider tuple intact, keep Pi with xai/grok-* distinct from the standalone Grok Build CLI harness without requiring Grok CLI login, scope authentication evidence to the selected candidate, and require blocked credential reports to name the harness, model, authentication surface, and concrete failure evidence. Restore the established 550-word quota-array-dispatch ceiling by pruning existing prose without losing quota pace, strongest-reasoning, malformed-configuration, full-candidate-accounting, tie, or authentication guarantees, and retain deterministic Pi/xAI versus explicit Grok regression coverage without adding instruction or schema expansion.
What Changed
Risk Assessment
✅ Low: The fix cleanly restores post-selection authentication, preserves the dispatch tuple and quota rules, adds ordered Pi/xAI versus Grok regression coverage, and remains within the 550-word ceiling.
Testing
Inspected the change, ran the focused quota-selection and spawn-profile suites, and captured an operator-visible counterfactual transcript. Pi using xAI authenticated through Pi xAI OAuth despite unavailable Grok CLI login; explicit Grok produced a complete blocked credential report. Pace, strongest-reasoning, malformed-configuration, full-accounting, tie, tuple-forwarding, and compactness guarantees also passed. No screenshot was applicable because this is an instruction and CLI dispatch change with no rendered UI.
Evidence: Pi/xAI versus standalone Grok dispatch evidence
ready: harness=pi model=xai/grok-4.5 provider=xai authentication surface checked=Pi xAI OAuth blocked: harness=grok model=grok-4.5 provider=grok authentication surface checked=Grok Build CLI failure evidence=Grok Build CLI login missingPipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
.agents/skills/quota-array-dispatch/SKILL.md:48- Intent requires authentication evidence to be scoped to the selected candidate, but rule 1 now treats unresolved auth as a pre-selection blocker. With an authenticated Pi/xAI candidate and an unauthenticated explicit Grok candidate, this rule stops on Grok before Pi can be selected, despite line 63's later constraint. Restore authentication checking exclusively after selection and make the regression exercise that ordered sequence; the current fixture evaluates both candidates independently and cannot catch this failure.🔧 Fix: Scope dispatch authentication after candidate selection
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
Inspected the commit-range diff and dispatch ownership paths for41ffd450..27cb472.tests/fm-quota-array-dispatch.test.shtests/fm-spawn-dispatch-profile.test.shwc -w .agents/skills/quota-array-dispatch/SKILL.mdVerifiedgit status --shortremained clean after testing.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.