oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

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