# Final gaps, 2026-11-05

Round 2 below resolves H1. The earlier question and limitations in this report
record round 1 and are superseded by the round 2 results.

H2, H3 and H4 are implemented. H1 remains incomplete: the captured Codex
0.165.0 catalog describes `request_user_input` as available only in Plan mode.
The normal specialist routing turn does not use Plan mode, and the model
declined that tool. No tool exclusion or passing verdict was invented.

## Controller question

May specialist policies explicitly enable
`features.default_mode_request_user_input`, with their constructor hashes
updated and a new focused live check? The alternative is to retain the current
policy and leave H1 blocked. The coordinator would retain its existing disabled
question tool. This question was raised with Paul; no policy change or further
live launch has been made pending his answer.

The brief says to stop and write the question when a tool cannot be exercised.
The limitation above comes from the captured provider tool description, not
only the model's explanation. The model did not invoke the tool, so a runtime
refusal has not been observed. Four of the authorized 25 model turns were used.

## Changes and limits

Equipo advertises one static, read-only MCP resource,
`equipo://routing-check`, containing only `equipo-routing-ready`. Discovery
returns that resource and no templates. Other URIs, write methods and unknown
read fields are refused. Standard MCP `_meta` is accepted without affecting the
response. The handler has no account, team or filesystem input. Both task and
coordinator transports use it. The coordinator's native inventory comment now
reflects the fixture; its tool inventory and policy authority are unchanged.

The routing prompt supplies the resource URI, an explicit question, and a
`head -n1` process before `write_stdin`. Routing questions receive the fixed
answer automatically, including MCP requests whose context originates at
session open. The guide acknowledges an answered MCP question before the next
submission needs the broker slot. Native approval still uses the person path.
Outside probes retain automatic refusal.

Resource proof now requires matching call IDs, the Equipo server and the fixed
resource or template result. Stdin proof still requires process start, a returned
session ID, input to that same session, the marker and exit code zero. It also
accepts the CRLF output observed from the live pseudo-terminal.

The second live run passed six rows: `apply_patch`, `exec_command`,
`mcp__equipo__ask_person`, `mcp__equipo__submit_candidate`,
`mcp__equipo__submit_render` and `view_image`. Resource discovery and stdin
completed successfully, but the old proof reader did not recognize their
results. Their proof changes pass targeted tests and replay of the saved live-2 frames.
That replay now recognizes nine of eleven workspace rows as passing. The resource read returned
an MCP invalid-arguments error. Accepting standard read metadata is tested,
but the incoming MCP parameters were not captured, so metadata as the cause
remains an inference. The changed read handler and proof readers have not been
rechecked live. All-workspace-rows-pass is not established.

Claude native file actions with an omitted or relative `path` or `file_path` are refused,
including paths that could resolve differently after a working-directory
change. They cannot become automatic approvals by being joined to `/workspace`.
For Glob, the literal pattern components before the first metacharacter are
joined to the supplied absolute path before protected-path and symlink checks.
Tests cover a symlink in that literal base and a denied path in it. Ordinary
absolute workspace file actions remain automatic.

The comment introduced at 07d9f80 now records the accepted residual race:
Equipo's check and Claude's later filesystem operation are not atomic. A symlink
swapped after Equipo checks relies on Claude's own symlink-aware `/home` deny
rules for refusal. The check does not eliminate that race.

The terminal reader calls `TCIFLUSH` before printing each prompt. A real
pseudo-terminal test queues an initial stray answer and another line after each
response. Each subsequent prompt waits for its own answer. CR, LF and CRLF are
covered, along with the existing native allow, native deny and structured-answer
sequence.

## Launch log

Only the confirmed `paul@tito.io` Codex binding `codex`, home
`account-2598223264`, was launched. No Claude launch was needed for the targeted
path tests. No other account was used. Credential contents were not inspected;
only production account-lease staging handled credentials. No sign-in or edit
to state.json, bindings.json or runner.env occurred.

A temporary source overlay retained production exercise setup, account leasing,
policies, containment, journal, tool broker, launch and shutdown. It replaced
the full driver sequence with catalog discovery and workspace routing only.
It ran through the built direct-live entry point. Its workspace was a disposable
Git repository. It did not run outside probes, the full live gate, recovery
certification, certificate writers or bundle writers. Saved observations were
debugging captures only.

All times are UTC on 2026-11-05. Launches were sequential.

| Start | End | Tuple | Turns | Outcome |
| --- | --- | --- | ---: | --- |
| 14:45:14 | 14:47:30 | Codex Engineering, live-1 | 2 | Catalog and routing started. After the person answered `ask_person` through the actual terminal reader, the pending question occupied the submission slot. Candidate approval failed with `runner.invalid`. |
| 14:50:48 | 14:52:19 | Codex Engineering, live-2 | 2 | Automatic question answer and candidate/render submissions succeeded. Six rows passed. Resource discovery and stdin succeeded but lacked recognized proof. Resource read failed; the Plan-only question tool was declined. |

An earlier harness invocation used a binary built without the `direct_live`
tag. It rejected the internal command before a provider launch and admitted no
model turn. The build tag was corrected before live-1.

## Verification

Failing tests preceded the fixes. All commands used `CGO_ENABLED=0` and
`-count=1`:

- `go test ./internal/runner/provider/claude -run 'TestWorkspacePathsMustBeAbsolute|TestGlobLiteralBaseProtected'`
  reproduced relative auto-approval and the unchecked Glob symlink base.
- `go test ./internal/runner/provider/claude -run '^TestWorkspacePathMustBeExplicit$'`
  reproduced automatic approval when the path was omitted.
- `go test ./internal/runner/provider/claude -run '^TestGlobBaseDeniedPath$'`
  reproduced protected-path checking before the literal base was appended.
- `go test ./internal/runner -run '^TestRoutingResourceOnly$'`
  reproduced missing resource discovery/read support, then rejected read
  metadata. The final handler and test live in `internal/runner/mcpresource`.
- `go test ./internal/directlive -run '^TestControlTerminalFlushPending$'`
  consumed a queued stray answer in each line-ending case.
- `go test ./internal/directlive -run 'TestRoutingSetupCompletable|TestRoutingQuestionAutomatic'`
  reproduced missing concrete setup and the question reaching the person.
- `go test ./internal/directlive -run '^TestRoutingMCPQuestionAutomatic$'`
  reproduced the session-context MCP question reaching the person.
- `go test ./internal/directlive -run '^TestCodexRoutingResourceResults$'`
  rejected correlated successful resource-result fixtures.
- `go test ./internal/directlive -run '^TestCodexWriteStdinRoutingPrecondition$'`
  rejected successful pseudo-terminal CRLF output.

The combined targeted tests pass, including ordinary workspace approval,
protected-path refusal, coordinator transport, terminal controls, routing setup,
question answers, static resources and stdin proof.

Temporary overlays deliberately restored the omitted-path default, relative
auto-approval, relative
protected-path normalization, omission of the Glob base, omission of denied
paths, omission of the terminal flush, acceptance of another resource URI,
changed resource contents, rejected read metadata, omission of CRLF handling,
disabled resource-result correlation, disabled automatic answers and bypassed
stdin proof.
Each corresponding test failed with an assertion. The mutations were not kept.
Commands had the form
`CGO_ENABLED=0 go test -overlay <overlay.json> <package> -run '^<test>$' -count=1`.

The first `make -k ci` exited 2. The added transport tests exceeded the
existing test-line budget, and changing the MCP initialize line invalidated its
exact reference hash. The full test step ran in 5m11.446s; its only failing test
was the same reference check. The static-resource handler and tests were moved
into `internal/runner/mcpresource`, keeping the existing budget unchanged, and
the one reference entry was updated. Every other lane passed. Cold boot was
92ms against 500ms; all screens met 150ms.

The first permitted rerun exited 2. All 29 packages passed uncached in
5m9.912s, but the new resource package lacked the required test timing hook.
Adding its standard `budget.Main` hook made the targeted budget check pass.
Every other lane passed. Cold boot was 93ms; all screens met 150ms.

These two runs reported local timing warnings for provider (20.533s and
20.537s against 15s), Claude (46.024s and 45.908s against 45s) and Codex
(38.465s and 38.402s against 35s). The local gate reports these warnings;
CI timing enforcement would fail them. No passing remote gate is claimed.

The second and final permitted rerun exited 0. All 29 packages passed uncached
in 5m10.061s. Build, vet, formatting, static analysis, vulnerability and secret
scans, reference checks, size budgets, adapter and namespace checks, migration
and performance passed. Cold boot was 94ms; all screens met 150ms. Local timing
warnings remained: provider 20.499s, Claude 46.669s and Codex 39.005s. There were
exactly three full `make -k ci` invocations, within the permitted retry limit.

## Delivery

The delivery branch is `final-gaps`. H1 is explicitly incomplete; this is not
a certification or a release. The remaining work requires the controller's
question-mode decision, a fresh resource-read check, and an all-rows-pass run.
All 18 release inventory entries retain their existing uncertified status.

No README prose or user-facing copy entries changed. The resource text is a
fixed protocol fixture. No copy-review server, merge, default-branch push or
deployment was performed. Temporary harnesses, overlays, debugging captures,
binaries and logs were removed after their results were recorded here. Both
provider launches closed normally; their namespace records and staged homes
were retired. No task process or server remains.

## Round 2

H1 is complete. Both focused Codex Engineering launches passed every exposed
workspace routing row. The native `request_user_input` tool was absent from
both captured catalogs. Specialists retain `mcp__equipo__ask_person` for questions.

The pinned 0.165.0 honors `tools.experimental_request_user_input.enabled=false`.
Specialist construction now sets that flag and explicitly keeps
`features.default_mode_request_user_input=false`. These settings are included
in the existing policy manifest and hash. The live specialist inventory rejects
`request_user_input` in any captured catalog frame. The obsolete routing prompt
for that native question tool was removed. The coordinator policy is unchanged.

Typed effective config omits the disabled tool flag, as it already did for the
coordinator. Specialist readback now accepts that exact pinned omission only
when the tool map is `{"web_search":null}` and the requested flag is false.
The command-line layer must retain the requested settings. Enabled, missing or
changed settings are rejected, and catalog absence is checked independently.
Eight Codex specialist inventory hashes changed; the coordinator hash did not.
All 18 release inventory entries remain uncertified.

### Resource read diagnosis

The first launch captured these incoming `resources/read` parameters:

```json
{"_meta":{"progressToken":6},"uri":"equipo://routing-check"}
```

The previous round had already added `_meta` support after live-2, without a
fresh live check. The new capture confirms that Codex sends this field. Removing
that support reproduces `runner.invalid` with the captured parameters. The
existing fix is retained, documented and covered by the exact captured input;
no broader resource handler change was needed. Unknown fields and other URIs
remain refused. The second launch used the uninstrumented handler and returned
the fixed resource successfully.

### Launch log

Only binding `codex`, account `paul@tito.io`, home `account-2598223264`, model
`gpt-6-astra`, provider 0.165.0 was launched. No Claude launch or other account
was used. Credential contents were not inspected. Credential staging used the
production account lease. No sign-in or edit to state.json, bindings.json or
runner.env occurred.

The temporary source overlay kept production exercise setup, policy
construction, account leasing, containment, journal, broker, terminal reader,
launch and shutdown. It restricted execution to catalog discovery and workspace
routing for Codex Engineering. It skipped outside probes, recovery, the full
live gate and certificate/bundle writers. The input validator retained its
ordinary two-binding configuration, but only the authorized Codex binding was
opened. Every launch used a fresh disposable Git repository and private scratch.

Live-1 temporarily attached the fixed resource's incoming parameters as response
metadata for diagnosis, without changing its contents or acceptance decision.
Live-2 removed that instrumentation from both executables. Captures were debugging
observations only, not certification evidence. Times below are UTC, 2026-11-05.

| Start | End | Tuple | Turns | Result |
| --- | --- | --- | ---: | --- |
| 15:22:38 | 15:23:45 | codex-Engineering, live-1 | 2 | All ten workspace rows pass; native question tool absent; resource parameters captured. |
| 15:25:40 | 15:26:48 | codex-Engineering, live-2 | 2 | All ten workspace rows pass with uninstrumented resource handler; native question tool absent. |

Four model turns were used, within the ten-turn budget. Both launches passed
observed effective policy, strict MCP and disabled hooks/plugins readback.
The ten passing rows in each run were `apply_patch`, `exec_command`,
`list_mcp_resource_templates`, `list_mcp_resources`, `mcp__equipo__ask_person`,
`mcp__equipo__submit_candidate`, `mcp__equipo__submit_render`, `read_mcp_resource`,
`view_image` and `write_stdin`. Stdin proof included the waiting process,
matching session ID, input marker and successful exit.

### Verification

The first targeted command failed before implementation:

```sh
CGO_ENABLED=0 go test ./internal/directlive ./internal/runner/provider/codex -run 'TestSpecialist(NoGoalOrPluginTools|ObservableToolCatalog)$' -count=1
```

It caught the accepted native question tool and both missing disabled settings.
The release inventory test then failed for exactly the eight changed specialist
hashes before the manifest was updated. Coordinator inventory remained valid.

The restored combined targeted command passed all four packages:

```sh
CGO_ENABLED=0 go test ./internal/directlive ./internal/runner/provider/codex ./internal/runner/mcpresource ./internal/release -run 'TestSpecialist|TestCodexLiveConfig|TestRouting(ResourceOnly|SetupCompletable)|TestCodexRoutingResourceResults|TestCodexWriteStdinRoutingPrecondition|TestPlanWorkflowReleasePolicyInventory|TestCoordinator' -count=1
```

Seven temporary mutation overlays each produced a failing assertion, then were
removed from use. Each ran with
`CGO_ENABLED=0 go test -overlay <overlay.json> <package> -run '^<test>$' -count=1`:

| Broken behavior | Failing test |
| --- | --- |
| Accept native question tool in inventory | TestSpecialistNoGoalOrPluginTools |
| Enable specialist native question tool | TestSpecialistObservableToolCatalog |
| Enable default-mode questions | TestSpecialistObservableToolCatalog |
| Reject captured resource metadata | TestRoutingResourceOnly |
| Restore coordinator-only readback exception | TestSpecialistQuestionReadback |
| Accept enabled effective tool config | TestSpecialistQuestionReadback |
| Skip constructor settings comparison | TestSpecialistCatalogAuthority/question |

The single full `make -k ci` invocation exited 0; no rerun was needed.
All 29 test packages passed uncached in 5m21.516s. Build, vet, formatting,
static analysis, vulnerability and secret scans, reference checks, size budgets,
provider and namespace checks, migration and performance passed. Cold boot was
117ms against 500ms, and every screen met its 150ms budget.

Local timing warnings remained: provider 20.577s against 15s, Claude 45.969s
against 45s, and Codex 38.495s against 35s. These are reported locally and
would fail with CI timing enforcement; no passing remote gate is claimed.

### Delivery

The delivery branch remains `final-gaps`. No README prose or app-owned runtime
copy changed. No copy-review server was started. No merge, default-branch push,
deployment, full live gate or certification bundle was performed.

Both live sessions closed normally. Their namespace records and staged homes
were retired. All task-created harnesses, overlays, captures, binaries and logs
were removed after recording the results here. No task process or server remains.
