Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
75d0b4b
feat(codex)!: bind native child models from subagents and FULLSEND_CO…
dhshah13 Oct 26, 2026
4b80950
feat(codex): run sub-agents as native Codex children
dhshah13 Oct 26, 2026
2762f38
docs(codex): document native sub-agents, child models and child trans…
dhshah13 Oct 26, 2026
144ad64
fix(codex): name a reserved or unregistered subagents key plainly
dhshah13 Oct 27, 2026
3c34754
docs(codex): give codex's fallback for a cleared --subagent entry
dhshah13 Oct 27, 2026
6a26a79
fix(codex): give the skip reason for a subagents key a skipped person…
dhshah13 Oct 27, 2026
adffa7d
docs(codex): link native Codex children from the runtime guide
dhshah13 Oct 27, 2026
44d182c
fix(codex): keep explore children apart from default in transcript names
dhshah13 Oct 27, 2026
8a079a0
fix(codex): keep children off a gateway parent and fail on a lost spawn
dhshah13 Oct 27, 2026
b687fc5
docs(codex): say code and fix ran with the roles registered
dhshah13 Oct 27, 2026
4c0c056
fix(codex)!: bind the run's effort for children and count spawns on disk
dhshah13 Oct 28, 2026
b845a4c
fix(codex): say spawn where failed spawn items count
dhshah13 Oct 28, 2026
a582931
fix(codex): count a child whose rollout head is empty or cut once
dhshah13 Oct 28, 2026
af43b0b
fix(codex): read a session_meta line cut before its parent by its name
dhshah13 Oct 28, 2026
10d9fb0
docs(runtime): list every BootstrapInput method in the interface table
dhshah13 Oct 29, 2026
29d64bb
Merge branch 'main' into feat/6970-codex-native-children
dhshah13 Oct 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ flowchart TB
without overlays, and `FULLSEND_FALLBACK_MODELS` applies as each runtime
allows. Decided, not yet implemented.
- Plugins are runtime-scoped harness resources: a harness declares `plugins:` as one list of directories in its own repository (same trust and fetch path as skills), and each entry's format decides which runtime loads it — a `plugin.json` bundle is Claude Code's, a directory pi's `-e` loader resolves is uploaded and loaded after a tree-hash preflight computed from the host copy. Each runtime names and skips the entries in the other format, so the list survives a runtime switch. Because `--no-extensions` plus explicit `-e` closes the set of code that can register tools, no per-tool declaration is needed ([ADR 0094](ADRs/0094-pi-extensions-are-harness-resources.md)).
- Native Codex children run under a runner-owned policy: Bootstrap registers roles for an agent with the `Agent` tool, under harness security, whose parent model Codex resolves to collaboration V1 (a V2 or unlisted parent keeps the multi-agent tools off), and binds each child's model (a persona's own entry in its role file, the run-level default otherwise), and a mandatory dispatch hook admits only fresh-context V1 spawns of registered roles after checking `hooks.json` and the role files against runner-held digests ([ADR 0126](ADRs/0126-fullsend-owned-codex-subagents.md)); not yet implemented, so review and retro still run in one context on Codex ([#6970](https://github.com/fullsend-ai/fullsend/issues/6970)).
- Native Codex children run under a runner-owned policy: Bootstrap registers roles for an agent with the `Agent` tool, under harness security, whose parent model Codex resolves to collaboration V1 on the direct route (a V2, unlisted or `gateway/` parent keeps the multi-agent tools off), and binds each child's model (a persona's own entry in its role file, the run-level default otherwise) and the run's effort, and a mandatory dispatch hook admits only fresh-context V1 spawns of registered roles after checking `hooks.json` and the role files against runner-held digests; after each iteration the runner checks the spawns seen in the stream or in the children's rollouts on disk, each child once, against the hook's admissions ([ADR 0126](ADRs/0126-fullsend-owned-codex-subagents.md), [#6970](https://github.com/fullsend-ai/fullsend/issues/6970)).

### Behaviour testing

Expand Down
7 changes: 4 additions & 3 deletions docs/cli/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,12 @@ fullsend agent set review --subagent correctness=opus --subagent default=haiku
| `--runtime` | Agent runtime for this agent (`claude`, `pi`, `codex` or `opencode`) |
| `--model` | Model for this agent — an alias, a model id, or `provider/id` on pi, codex, and opencode (codex takes OpenAI ids and `gateway/<model>` only) |
| `--effort` | Effort level for this agent (`low`, `medium`, `high`, `xhigh`, `max`) |
| `--subagent` | Per-persona model override as `key=value` (repeatable). Key is a persona name or `default`; value is a model reference. Pass an empty value (`--subagent key=`) to clear an inherited entry — that writes `key: ~` in the config, after which the persona resolves the way an unmentioned one does (its frontmatter model, then `subagents.default`). On pi, a value that resolves to `openai/` prints a warning when the agent's local harness declares no `openai` provider; see [pi § Route a persona to OpenAI](../runtimes/pi.md#route-a-persona-to-openai) |
| `--subagent` | Per-persona model override as `key=value` (repeatable). Key is a persona name or `default`; value is a model reference (on codex, an OpenAI id the pinned CLI's catalog lists). Pass an empty value (`--subagent key=`) to clear an inherited entry — that writes `key: ~` in the config, after which the persona resolves the way an unmentioned one does (on pi, its frontmatter model, then `subagents.default`; on codex, the run-level child model, see [Codex § Child models](../runtimes/codex.md#child-models)). On pi, a value that resolves to `openai/` prints a warning when the agent's local harness declares no `openai` provider; see [pi § Route a persona to OpenAI](../runtimes/pi.md#route-a-persona-to-openai) |

See [Runtimes — per-agent settings](../runtimes.md#per-agent-runtime-model-and-effort) for precedence.
See [pi § Per-persona model configuration](../runtimes/pi.md#per-persona-model-configuration) for
how `subagents` map to persona dispatch.
See [pi § Per-persona model configuration](../runtimes/pi.md#per-persona-model-configuration) and
[Codex § Child models](../runtimes/codex.md#child-models) for how `subagents` map to persona
dispatch on each runtime.

## `agent remove`

Expand Down
6 changes: 5 additions & 1 deletion docs/cli/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ subagents: correctness → anthropic-vertex/claude-opus-4-6 (from frontmatter)
subagents: docs-currency → google-vertex/gemini-3.8-flash (from subagents.docs-currency)
```

On codex a delegating agent prints the run-level default and one line per persona with its own
`subagents` entry; see [Codex › Child models](../runtimes/codex.md#child-models).

A malformed `subagents` key or model reference is rejected by config validation, before the
sandbox is created, like the other invalid overrides above. A key that names no discovered
persona, or a model this run cannot serve, is caught slightly later — at Bootstrap, once the
Expand Down Expand Up @@ -173,7 +176,8 @@ differences in the last bullet.
sub-agent, which is what keeps the invariant true across a retry.
- **What stays parent-only.** `num_turns` and `tool_calls` are read from the parent's stream and are
not broken down or added to per model — a child's turns and tool calls are recorded in its own
session transcript (`transcripts/<agent>-sub<seq>-*.jsonl`) instead.
session transcript (`transcripts/<agent>-sub<seq>-*.jsonl`; on codex
`transcripts/<agent>-sub<seq>-<role>.jsonl`, see [Codex › At a glance](../runtimes/codex.md#at-a-glance)) instead.
- A model spec of `unknown` is a pi usage record, or a codex child rollout, that carries no model
at all; its usage is bucketed there rather than dropped. A dispatch rejected *before* a model was
resolved writes no record, so it never reaches the breakdown.
Expand Down
Loading
Loading