Skip to content

feat: let dispatch profiles select Codex quota seats - #31

Merged
jazz127 merged 2 commits into
housefrom
fm/firstmate-dispatch-profile-seat-r1
Sep 25, 2026
Merged

jazz127 merged 2 commits into
housefrom
fm/firstmate-dispatch-profile-seat-r1

Conversation

@jazz127

@jazz127 jazz127 commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Intent

Crew-dispatch profiles choose a worker's harness, model and effort, but they cannot name which Codex plan a candidate belongs to.

The fleet runs two Codex plans with separate quotas. A profile naming a model that is available on the cheap plan is currently evaluated against the main plan's window - exhausted - so the candidate is rejected even though the plan it was intended for has capacity. Dispatch therefore cannot choose the plan whose quota is actually healthy, and the seat has to be named by hand at every spawn.

This adds an optional seat to a dispatch profile, so a rule can name the plan a candidate belongs to, and resolution scores that candidate against the quota of the plan it names rather than against whichever account happens to be default.

What changed

  • A dispatch profile's candidate and the configured default may carry a seat, naming the plan that candidate belongs to.
  • Resolution scores a candidate against the account its seat names rather than whichever account is ambient, which is the behaviour this change exists for.
  • An unsupported seat is refused with a diagnostic instead of being accepted and ignored.
  • The schema is documented where it is owned, and the validator accepts the field while leaving seatless profiles unchanged.

Testing

One of the four scenarios was exercised against the primary configuration, its API and its quota; the other three were exercised through the same resolver and validator against a configuration copy, because the field this change introduces cannot exist in the primary configuration until it lands. Each scenario's exact command, capture time and output is recorded in the manifest kept with this task's records: data/firstmate-dispatch-profile-seat-r1/seat-evidence/manifest.md

@jazz127
jazz127 merged commit 01a13eb into house Sep 25, 2026
1 check passed
@jazz127 jazz127 added the house-only Part of our own line by design - not intended for upstream label Sep 26, 2026
@jazz127
jazz127 deleted the fm/firstmate-dispatch-profile-seat-r1 branch September 28, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

house-only Part of our own line by design - not intended for upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant