Skip to content

Dispatch guidance covers network reach, and the codex seats pin their model #212

Closed

Description

@davison

Goal

Adopts #202. docs/identities.md's Dispatching a role session section says the dispatched session must reach GitHub, with the codex sandbox's network flag as the worked example and how a codex seat's reasoning effort is set; .codecrew.yml pins model: for the reviewer and qa rows.

Requirements

M10-R5

Plan

Docs and config only; no Go source changes (one test fixture line at most — see step 4).

  1. docs/identities.md, "Dispatching a role session": add a Reachability bullet ahead of Credentials — the dispatched session must reach api.github.com, which every credential step assumes; a sandboxed harness may deny network by default, and the seat then does real work and can post none of it (Backlog capture: the dispatch guidance says nothing about the harness's network access #202, codecrew-www#7). Worked example: Codex CLI --sandbox workspace-write denies network unless -c sandbox_workspace_write.network_access=true is passed; confirm the mint succeeded before the seat starts reviewing. Same bullet (or an adjacent one) says how a codex seat's reasoning effort is set at dispatch — -c model_reasoning_effort=<level> — as a fact verified against the installed CLI (codex-cli 0.152.1), with the verification recorded as a Decision comment. Mention the writable cache dir note from Backlog capture: the dispatch guidance says nothing about the harness's network access #202 in one clause.
  2. .codecrew.yml: reviewer and qa rows gain model: gpt-5.6-sol — the model the codex seats run under today, read from the installed CLI's default (codex exec banner with no -m; ~/.codex/config.toml sets no model) and confirmed in the seat sessions' own logs. Comment style of the file kept.
  3. SPEC.md §5 and docs/platform-interop.md routing-table examples: decide pin-or-generic, record the Decision, apply. README.md untouched (Show the hub's routing table in the README #213 owns it).
  4. internal/config: check whether the roles table is validated. It is a plain map[string]Role with a Model field; the existing TestParse fixture carries model: only on the implementer row. Extend the fixture so a codex row with model: is asserted to load — test-only, no parsing code changes.
  5. CHANGELOG entry under ## [Unreleased]; PR body Closes #212 and Closes #202.

Requirement covered: M10-R5.

Ask-the-human points

None. The reasoning-effort level the codex seats should run at is not fixed by this task — the guidance says how to set it, the routing table carries no effort key, and choosing a level is the coordination layer's call at dispatch (recorded as a Decision).

Activity

  1. added
    cc:task
    on Sep 4, 2026
  2. radiusred-cody commented on Sep 4, 2026

    @radiusred-cody
    Contributor

    Started by @radiusred-cody[bot].

  3. radiusred-cody commented on Sep 4, 2026

    @radiusred-cody
    Contributor

    Decision: The dispatch guidance states the codex reasoning-effort knob as -c model_reasoning_effort=<level> and the network knob as -c sandbox_workspace_write.network_access=true, both as verified facts against the installed CLI, codex-cli 0.152.1 (codex --version).
    Verification: Neither codex --help nor codex exec --help names either key, and ~/.codex/config.toml sets neither, so the check was done with --strict-config, which refuses unrecognised -c overrides: codex exec --strict-config -c bogus_key_xyz=1 … fails with unknown configuration field `bogus_key_xyz` in -c/--config override; codex exec --strict-config -c model_reasoning_effort=high -c model_provider=no_such_provider_xyz … passes config validation and fails only on the deliberately bogus provider (Model provider `no_such_provider_xyz` not found), as does the same run with -c sandbox_workspace_write.network_access=true; and -c sandbox_workspace_write.network_access=bogus fails with invalid type: string "bogus", expected a boolean in sandbox_workspace_write.network_access. The seat sessions' own rollout logs (~/.codex/sessions/2026/09/04/, the checky runs on #206 and #215) record "sandbox_policy":{"type":"workspace-write","network_access":true} and "reasoning_effort":null — the network flag in use, and no effort ever pinned. The level names the guidance lists (low, medium, high, xhigh, max, ultra) are the supported_reasoning_levels for gpt-5.6-sol in the CLI's cached model catalog (~/.codex/models_cache.json), which also gives that model's default level as low.
    Trade-off: The verification is against one CLI version on one machine; the doc names the version so a reader with a different one knows to re-check.
    Rejected: Stating the key names from the operator's notes alone — the task asked for a verified fact, and #202's own comment is about a note that gave the wrong recipe.

  4. radiusred-cody commented on Sep 4, 2026

    @radiusred-cody
    Contributor

    Decision: .codecrew.yml pins model: gpt-5.6-sol on the reviewer and qa rows — the model the two codex seats run under today.
    Where it was read: ~/.codex/config.toml sets no model, so the seats run the CLI default; codex exec with no -m prints model: gpt-5.6-sol in its banner (codex-cli 0.152.1), and the two checky rollout logs from today (~/.codex/sessions/2026/09/04/, cwd checky-hub206-r2 and checky-hub215) record "model":"gpt-5.6-sol" for every turn. The operator's notes say the same.
    Trade-off: A pinned default is a snapshot: when the CLI's default moves, the file still names what the seats are meant to run under, which is the point of the pin — the dispatch passes -m gpt-5.6-sol (or -c model=…) rather than inheriting whatever the CLI ships. The routing table gains no reasoning-effort key: the schema has none, adding one is a protocol change, and effort is a dispatch-time flag the guidance now documents — choosing the level is the coordination layer's call.
    Rejected: Pinning a model slug with a reasoning level baked in — the CLI models them as separate settings, and the table should mirror the CLI.

  5. radiusred-cody commented on Sep 4, 2026

    @radiusred-cody
    Contributor

    Decision: The routing-table examples in SPEC.md §5 and docs/platform-interop.md pin model: gpt-5.6-sol on their codex rows too, matching the hub's own table.
    Trade-off: One more model name to refresh when the CLIs move — but the examples already carry claude-fable-5 on the implementer row, so that maintenance cost exists regardless, and the alternative kept teaching the asymmetry the hub's file just corrected: model: shown on one row and absent from the other two reads as "codex seats do not take a model", which is how the hub's table came to be missing it. With #213 putting the hub's real table in the README, the three places now show the same shape.
    Rejected: Leaving the examples generic on the codex rows. Also rejected: removing model: from every example row to make them fully generic — SPEC's block is the example decided at the M6 gate (#114), and showing the field is the way the doc says it exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions