| 1 | # Final gaps, 2026-11-05 |
| 2 | |
| 3 | Round 2 below resolves H1. The earlier question and limitations in this report |
| 4 | record round 1 and are superseded by the round 2 results. |
| 5 | |
| 6 | H2, H3 and H4 are implemented. H1 remains incomplete: the captured Codex |
| 7 | 0.165.0 catalog describes `request_user_input` as available only in Plan mode. |
| 8 | The normal specialist routing turn does not use Plan mode, and the model |
| 9 | declined that tool. No tool exclusion or passing verdict was invented. |
| 10 | |
| 11 | ## Controller question |
| 12 | |
| 13 | May specialist policies explicitly enable |
| 14 | `features.default_mode_request_user_input`, with their constructor hashes |
| 15 | updated and a new focused live check? The alternative is to retain the current |
| 16 | policy and leave H1 blocked. The coordinator would retain its existing disabled |
| 17 | question tool. This question was raised with Paul; no policy change or further |
| 18 | live launch has been made pending his answer. |
| 19 | |
| 20 | The brief says to stop and write the question when a tool cannot be exercised. |
| 21 | The limitation above comes from the captured provider tool description, not |
| 22 | only the model's explanation. The model did not invoke the tool, so a runtime |
| 23 | refusal has not been observed. Four of the authorized 25 model turns were used. |
| 24 | |
| 25 | ## Changes and limits |
| 26 | |
| 27 | Equipo advertises one static, read-only MCP resource, |
| 28 | `equipo://routing-check`, containing only `equipo-routing-ready`. Discovery |
| 29 | returns that resource and no templates. Other URIs, write methods and unknown |
| 30 | read fields are refused. Standard MCP `_meta` is accepted without affecting the |
| 31 | response. The handler has no account, team or filesystem input. Both task and |
| 32 | coordinator transports use it. The coordinator's native inventory comment now |
| 33 | reflects the fixture; its tool inventory and policy authority are unchanged. |
| 34 | |
| 35 | The routing prompt supplies the resource URI, an explicit question, and a |
| 36 | `head -n1` process before `write_stdin`. Routing questions receive the fixed |
| 37 | answer automatically, including MCP requests whose context originates at |
| 38 | session open. The guide acknowledges an answered MCP question before the next |
| 39 | submission needs the broker slot. Native approval still uses the person path. |
| 40 | Outside probes retain automatic refusal. |
| 41 | |
| 42 | Resource proof now requires matching call IDs, the Equipo server and the fixed |
| 43 | resource or template result. Stdin proof still requires process start, a returned |
| 44 | session ID, input to that same session, the marker and exit code zero. It also |
| 45 | accepts the CRLF output observed from the live pseudo-terminal. |
| 46 | |
| 47 | The second live run passed six rows: `apply_patch`, `exec_command`, |
| 48 | `mcp__equipo__ask_person`, `mcp__equipo__submit_candidate`, |
| 49 | `mcp__equipo__submit_render` and `view_image`. Resource discovery and stdin |
| 50 | completed successfully, but the old proof reader did not recognize their |
| 51 | results. Their proof changes pass targeted tests and replay of the saved live-2 frames. |
| 52 | That replay now recognizes nine of eleven workspace rows as passing. The resource read returned |
| 53 | an MCP invalid-arguments error. Accepting standard read metadata is tested, |
| 54 | but the incoming MCP parameters were not captured, so metadata as the cause |
| 55 | remains an inference. The changed read handler and proof readers have not been |
| 56 | rechecked live. All-workspace-rows-pass is not established. |
| 57 | |
| 58 | Claude native file actions with an omitted or relative `path` or `file_path` are refused, |
| 59 | including paths that could resolve differently after a working-directory |
| 60 | change. They cannot become automatic approvals by being joined to `/workspace`. |
| 61 | For Glob, the literal pattern components before the first metacharacter are |
| 62 | joined to the supplied absolute path before protected-path and symlink checks. |
| 63 | Tests cover a symlink in that literal base and a denied path in it. Ordinary |
| 64 | absolute workspace file actions remain automatic. |
| 65 | |
| 66 | The comment introduced at 07d9f80 now records the accepted residual race: |
| 67 | Equipo's check and Claude's later filesystem operation are not atomic. A symlink |
| 68 | swapped after Equipo checks relies on Claude's own symlink-aware `/home` deny |
| 69 | rules for refusal. The check does not eliminate that race. |
| 70 | |
| 71 | The terminal reader calls `TCIFLUSH` before printing each prompt. A real |
| 72 | pseudo-terminal test queues an initial stray answer and another line after each |
| 73 | response. Each subsequent prompt waits for its own answer. CR, LF and CRLF are |
| 74 | covered, along with the existing native allow, native deny and structured-answer |
| 75 | sequence. |
| 76 | |
| 77 | ## Launch log |
| 78 | |
| 79 | Only the confirmed `paul@tito.io` Codex binding `codex`, home |
| 80 | `account-2598223264`, was launched. No Claude launch was needed for the targeted |
| 81 | path tests. No other account was used. Credential contents were not inspected; |
| 82 | only production account-lease staging handled credentials. No sign-in or edit |
| 83 | to state.json, bindings.json or runner.env occurred. |
| 84 | |
| 85 | A temporary source overlay retained production exercise setup, account leasing, |
| 86 | policies, containment, journal, tool broker, launch and shutdown. It replaced |
| 87 | the full driver sequence with catalog discovery and workspace routing only. |
| 88 | It ran through the built direct-live entry point. Its workspace was a disposable |
| 89 | Git repository. It did not run outside probes, the full live gate, recovery |
| 90 | certification, certificate writers or bundle writers. Saved observations were |
| 91 | debugging captures only. |
| 92 | |
| 93 | All times are UTC on 2026-11-05. Launches were sequential. |
| 94 | |
| 95 | | Start | End | Tuple | Turns | Outcome | |
| 96 | | --- | --- | --- | ---: | --- | |
| 97 | | 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`. | |
| 98 | | 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. | |
| 99 | |
| 100 | An earlier harness invocation used a binary built without the `direct_live` |
| 101 | tag. It rejected the internal command before a provider launch and admitted no |
| 102 | model turn. The build tag was corrected before live-1. |
| 103 | |
| 104 | ## Verification |
| 105 | |
| 106 | Failing tests preceded the fixes. All commands used `CGO_ENABLED=0` and |
| 107 | `-count=1`: |
| 108 | |
| 109 | - `go test ./internal/runner/provider/claude -run 'TestWorkspacePathsMustBeAbsolute|TestGlobLiteralBaseProtected'` |
| 110 | reproduced relative auto-approval and the unchecked Glob symlink base. |
| 111 | - `go test ./internal/runner/provider/claude -run '^TestWorkspacePathMustBeExplicit$'` |
| 112 | reproduced automatic approval when the path was omitted. |
| 113 | - `go test ./internal/runner/provider/claude -run '^TestGlobBaseDeniedPath$'` |
| 114 | reproduced protected-path checking before the literal base was appended. |
| 115 | - `go test ./internal/runner -run '^TestRoutingResourceOnly$'` |
| 116 | reproduced missing resource discovery/read support, then rejected read |
| 117 | metadata. The final handler and test live in `internal/runner/mcpresource`. |
| 118 | - `go test ./internal/directlive -run '^TestControlTerminalFlushPending$'` |
| 119 | consumed a queued stray answer in each line-ending case. |
| 120 | - `go test ./internal/directlive -run 'TestRoutingSetupCompletable|TestRoutingQuestionAutomatic'` |
| 121 | reproduced missing concrete setup and the question reaching the person. |
| 122 | - `go test ./internal/directlive -run '^TestRoutingMCPQuestionAutomatic$'` |
| 123 | reproduced the session-context MCP question reaching the person. |
| 124 | - `go test ./internal/directlive -run '^TestCodexRoutingResourceResults$'` |
| 125 | rejected correlated successful resource-result fixtures. |
| 126 | - `go test ./internal/directlive -run '^TestCodexWriteStdinRoutingPrecondition$'` |
| 127 | rejected successful pseudo-terminal CRLF output. |
| 128 | |
| 129 | The combined targeted tests pass, including ordinary workspace approval, |
| 130 | protected-path refusal, coordinator transport, terminal controls, routing setup, |
| 131 | question answers, static resources and stdin proof. |
| 132 | |
| 133 | Temporary overlays deliberately restored the omitted-path default, relative |
| 134 | auto-approval, relative |
| 135 | protected-path normalization, omission of the Glob base, omission of denied |
| 136 | paths, omission of the terminal flush, acceptance of another resource URI, |
| 137 | changed resource contents, rejected read metadata, omission of CRLF handling, |
| 138 | disabled resource-result correlation, disabled automatic answers and bypassed |
| 139 | stdin proof. |
| 140 | Each corresponding test failed with an assertion. The mutations were not kept. |
| 141 | Commands had the form |
| 142 | `CGO_ENABLED=0 go test -overlay <overlay.json> <package> -run '^<test>$' -count=1`. |
| 143 | |
| 144 | The first `make -k ci` exited 2. The added transport tests exceeded the |
| 145 | existing test-line budget, and changing the MCP initialize line invalidated its |
| 146 | exact reference hash. The full test step ran in 5m11.446s; its only failing test |
| 147 | was the same reference check. The static-resource handler and tests were moved |
| 148 | into `internal/runner/mcpresource`, keeping the existing budget unchanged, and |
| 149 | the one reference entry was updated. Every other lane passed. Cold boot was |
| 150 | 92ms against 500ms; all screens met 150ms. |
| 151 | |
| 152 | The first permitted rerun exited 2. All 29 packages passed uncached in |
| 153 | 5m9.912s, but the new resource package lacked the required test timing hook. |
| 154 | Adding its standard `budget.Main` hook made the targeted budget check pass. |
| 155 | Every other lane passed. Cold boot was 93ms; all screens met 150ms. |
| 156 | |
| 157 | These two runs reported local timing warnings for provider (20.533s and |
| 158 | 20.537s against 15s), Claude (46.024s and 45.908s against 45s) and Codex |
| 159 | (38.465s and 38.402s against 35s). The local gate reports these warnings; |
| 160 | CI timing enforcement would fail them. No passing remote gate is claimed. |
| 161 | |
| 162 | The second and final permitted rerun exited 0. All 29 packages passed uncached |
| 163 | in 5m10.061s. Build, vet, formatting, static analysis, vulnerability and secret |
| 164 | scans, reference checks, size budgets, adapter and namespace checks, migration |
| 165 | and performance passed. Cold boot was 94ms; all screens met 150ms. Local timing |
| 166 | warnings remained: provider 20.499s, Claude 46.669s and Codex 39.005s. There were |
| 167 | exactly three full `make -k ci` invocations, within the permitted retry limit. |
| 168 | |
| 169 | ## Delivery |
| 170 | |
| 171 | The delivery branch is `final-gaps`. H1 is explicitly incomplete; this is not |
| 172 | a certification or a release. The remaining work requires the controller's |
| 173 | question-mode decision, a fresh resource-read check, and an all-rows-pass run. |
| 174 | All 18 release inventory entries retain their existing uncertified status. |
| 175 | |
| 176 | No README prose or user-facing copy entries changed. The resource text is a |
| 177 | fixed protocol fixture. No copy-review server, merge, default-branch push or |
| 178 | deployment was performed. Temporary harnesses, overlays, debugging captures, |
| 179 | binaries and logs were removed after their results were recorded here. Both |
| 180 | provider launches closed normally; their namespace records and staged homes |
| 181 | were retired. No task process or server remains. |
| 182 | |
| 183 | ## Round 2 |
| 184 | |
| 185 | H1 is complete. Both focused Codex Engineering launches passed every exposed |
| 186 | workspace routing row. The native `request_user_input` tool was absent from |
| 187 | both captured catalogs. Specialists retain `mcp__equipo__ask_person` for questions. |
| 188 | |
| 189 | The pinned 0.165.0 honors `tools.experimental_request_user_input.enabled=false`. |
| 190 | Specialist construction now sets that flag and explicitly keeps |
| 191 | `features.default_mode_request_user_input=false`. These settings are included |
| 192 | in the existing policy manifest and hash. The live specialist inventory rejects |
| 193 | `request_user_input` in any captured catalog frame. The obsolete routing prompt |
| 194 | for that native question tool was removed. The coordinator policy is unchanged. |
| 195 | |
| 196 | Typed effective config omits the disabled tool flag, as it already did for the |
| 197 | coordinator. Specialist readback now accepts that exact pinned omission only |
| 198 | when the tool map is `{"web_search":null}` and the requested flag is false. |
| 199 | The command-line layer must retain the requested settings. Enabled, missing or |
| 200 | changed settings are rejected, and catalog absence is checked independently. |
| 201 | Eight Codex specialist inventory hashes changed; the coordinator hash did not. |
| 202 | All 18 release inventory entries remain uncertified. |
| 203 | |
| 204 | ### Resource read diagnosis |
| 205 | |
| 206 | The first launch captured these incoming `resources/read` parameters: |
| 207 | |
| 208 | ```json |
| 209 | {"_meta":{"progressToken":6},"uri":"equipo://routing-check"} |
| 210 | ``` |
| 211 | |
| 212 | The previous round had already added `_meta` support after live-2, without a |
| 213 | fresh live check. The new capture confirms that Codex sends this field. Removing |
| 214 | that support reproduces `runner.invalid` with the captured parameters. The |
| 215 | existing fix is retained, documented and covered by the exact captured input; |
| 216 | no broader resource handler change was needed. Unknown fields and other URIs |
| 217 | remain refused. The second launch used the uninstrumented handler and returned |
| 218 | the fixed resource successfully. |
| 219 | |
| 220 | ### Launch log |
| 221 | |
| 222 | Only binding `codex`, account `paul@tito.io`, home `account-2598223264`, model |
| 223 | `gpt-6-astra`, provider 0.165.0 was launched. No Claude launch or other account |
| 224 | was used. Credential contents were not inspected. Credential staging used the |
| 225 | production account lease. No sign-in or edit to state.json, bindings.json or |
| 226 | runner.env occurred. |
| 227 | |
| 228 | The temporary source overlay kept production exercise setup, policy |
| 229 | construction, account leasing, containment, journal, broker, terminal reader, |
| 230 | launch and shutdown. It restricted execution to catalog discovery and workspace |
| 231 | routing for Codex Engineering. It skipped outside probes, recovery, the full |
| 232 | live gate and certificate/bundle writers. The input validator retained its |
| 233 | ordinary two-binding configuration, but only the authorized Codex binding was |
| 234 | opened. Every launch used a fresh disposable Git repository and private scratch. |
| 235 | |
| 236 | Live-1 temporarily attached the fixed resource's incoming parameters as response |
| 237 | metadata for diagnosis, without changing its contents or acceptance decision. |
| 238 | Live-2 removed that instrumentation from both executables. Captures were debugging |
| 239 | observations only, not certification evidence. Times below are UTC, 2026-11-05. |
| 240 | |
| 241 | | Start | End | Tuple | Turns | Result | |
| 242 | | --- | --- | --- | ---: | --- | |
| 243 | | 15:22:38 | 15:23:45 | codex-Engineering, live-1 | 2 | All ten workspace rows pass; native question tool absent; resource parameters captured. | |
| 244 | | 15:25:40 | 15:26:48 | codex-Engineering, live-2 | 2 | All ten workspace rows pass with uninstrumented resource handler; native question tool absent. | |
| 245 | |
| 246 | Four model turns were used, within the ten-turn budget. Both launches passed |
| 247 | observed effective policy, strict MCP and disabled hooks/plugins readback. |
| 248 | The ten passing rows in each run were `apply_patch`, `exec_command`, |
| 249 | `list_mcp_resource_templates`, `list_mcp_resources`, `mcp__equipo__ask_person`, |
| 250 | `mcp__equipo__submit_candidate`, `mcp__equipo__submit_render`, `read_mcp_resource`, |
| 251 | `view_image` and `write_stdin`. Stdin proof included the waiting process, |
| 252 | matching session ID, input marker and successful exit. |
| 253 | |
| 254 | ### Verification |
| 255 | |
| 256 | The first targeted command failed before implementation: |
| 257 | |
| 258 | ```sh |
| 259 | CGO_ENABLED=0 go test ./internal/directlive ./internal/runner/provider/codex -run 'TestSpecialist(NoGoalOrPluginTools|ObservableToolCatalog)$' -count=1 |
| 260 | ``` |
| 261 | |
| 262 | It caught the accepted native question tool and both missing disabled settings. |
| 263 | The release inventory test then failed for exactly the eight changed specialist |
| 264 | hashes before the manifest was updated. Coordinator inventory remained valid. |
| 265 | |
| 266 | The restored combined targeted command passed all four packages: |
| 267 | |
| 268 | ```sh |
| 269 | 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 |
| 270 | ``` |
| 271 | |
| 272 | Seven temporary mutation overlays each produced a failing assertion, then were |
| 273 | removed from use. Each ran with |
| 274 | `CGO_ENABLED=0 go test -overlay <overlay.json> <package> -run '^<test>$' -count=1`: |
| 275 | |
| 276 | | Broken behavior | Failing test | |
| 277 | | --- | --- | |
| 278 | | Accept native question tool in inventory | TestSpecialistNoGoalOrPluginTools | |
| 279 | | Enable specialist native question tool | TestSpecialistObservableToolCatalog | |
| 280 | | Enable default-mode questions | TestSpecialistObservableToolCatalog | |
| 281 | | Reject captured resource metadata | TestRoutingResourceOnly | |
| 282 | | Restore coordinator-only readback exception | TestSpecialistQuestionReadback | |
| 283 | | Accept enabled effective tool config | TestSpecialistQuestionReadback | |
| 284 | | Skip constructor settings comparison | TestSpecialistCatalogAuthority/question | |
| 285 | |
| 286 | The single full `make -k ci` invocation exited 0; no rerun was needed. |
| 287 | All 29 test packages passed uncached in 5m21.516s. Build, vet, formatting, |
| 288 | static analysis, vulnerability and secret scans, reference checks, size budgets, |
| 289 | provider and namespace checks, migration and performance passed. Cold boot was |
| 290 | 117ms against 500ms, and every screen met its 150ms budget. |
| 291 | |
| 292 | Local timing warnings remained: provider 20.577s against 15s, Claude 45.969s |
| 293 | against 45s, and Codex 38.495s against 35s. These are reported locally and |
| 294 | would fail with CI timing enforcement; no passing remote gate is claimed. |
| 295 | |
| 296 | ### Delivery |
| 297 | |
| 298 | The delivery branch remains `final-gaps`. No README prose or app-owned runtime |
| 299 | copy changed. No copy-review server was started. No merge, default-branch push, |
| 300 | deployment, full live gate or certification bundle was performed. |
| 301 | |
| 302 | Both live sessions closed normally. Their namespace records and staged homes |
| 303 | were retired. All task-created harnesses, overlays, captures, binaries and logs |
| 304 | were removed after recording the results here. No task process or server remains. |
| 305 | |