| 1 | # Fewer prompts, 2026-11-05 |
| 2 | |
| 3 | The first specialist tuple in run order uses a person for its controls, once |
| 4 | per provider. Later tuples supply the expected answers automatically. Both |
| 5 | sources use the same validation, 60-second answer deadline and production |
| 6 | relay. The native approval receipt records the selected source too. |
| 7 | |
| 8 | Answer artifacts and control checks record `answered_by: "person"` or |
| 9 | `"automatic"`. MCP questions inherit the active turn's control expectation |
| 10 | and deadline; their proxy context previously lacked that information. |
| 11 | Control checks count answers from their own control turns, so unrelated probe |
| 12 | answers cannot satisfy them. |
| 13 | |
| 14 | Each manifest candidate needs `provider_checks.<provider>.person-answered-controls` |
| 15 | for every provider it certifies. The reference identifies a certified tuple. |
| 16 | The candidate builder and release checker verify that tuple's passing control |
| 17 | checks, source attribution and hashed answer artifacts. Allow, deny and question |
| 18 | answers are required. Workspace approval answers are verified when the provider |
| 19 | requests approval; a workspace read that needs no approval still has to pass. |
| 20 | Coordinator evidence cannot satisfy this requirement. |
| 21 | |
| 22 | The terminal retries misspellings, malformed JSON and JSON values that are not |
| 23 | objects. It clears the previous line without extending the deadline. A parsed |
| 24 | object still goes straight to `ValidateAnswer`, so an invalid structured answer |
| 25 | fails normally. `TCIFLUSH` remains before each prompt. |
| 26 | |
| 27 | `docs/live-gate.md` changes one sentence under the brief's copy acceptance. |
| 28 | The new `live.answer-retry` hint in `internal/equipo/copy.go` is individually |
| 29 | marked `COPY REVIEW PENDING`: “Enter Allow once, Deny, or a valid JSON object.” |
| 30 | The same hint is listed as pending in the existing Plan 3 copy inventory. |
| 31 | No copy-review server was started. README prose is unchanged. |
| 32 | |
| 33 | ## Verification |
| 34 | |
| 35 | Before implementation, these commands failed for the reported defects: |
| 36 | |
| 37 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^TestControlTerminalRetriesTypos$' -count=1`: all three line endings failed on `Alloe once` with `runner.invalid`. |
| 38 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^TestCandidateRequiresPersonControls$' -count=1`: a candidate with no person-answered tuple was accepted. |
| 39 | |
| 40 | After implementation: |
| 41 | |
| 42 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^Test(Candidate|CoordinatorManifest|ControlSources|AnswerSources|ControlTerminal|TerminalRetry)' -count=1`: passed. Covers run-order selection, validation, deadlines, false person proofs, typo retries, CR/LF/CRLF, valid but invalid answer objects, and queued-input flushing. |
| 43 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^TestFewerPromptsFakeCLI$' -count=1`: passed in 79.482 seconds. Both providers run Review first and Engineering second. The first tuples use a person; later tuples answer automatically through the production relay. Every control check passes and all answer artifacts have attribution. The fixture's workspace reads need no approval, giving six person answers total. The source-selection test also exercises workspace approval and counts eight answers. Removing one provider's proof, then both proofs, fails the same provider gate used by the candidate builder. |
| 44 | - `CGO_ENABLED=0 go test ./internal/equipotest -run '^TestDirectReleaseRequiresCertification$' -count=1`: passed for both release targets. Missing person proof, automatic proof, missing provider checks, another provider's reference and changed answer artifacts all fail before a build. |
| 45 | |
| 46 | An early version of the driver test attempted to certify the fake CLI's entire |
| 47 | bundle. It correctly failed because the fake Codex has no provider sandbox. |
| 48 | The test now verifies its real control observations through the provider gate; |
| 49 | separate synthetic candidate fixtures test complete manifest construction. |
| 50 | No fake CLI bundle is represented as production certification. |
| 51 | |
| 52 | Each guard below was disabled separately. Every listed test failed for the |
| 53 | protected behavior, with no compilation failures. The original source was |
| 54 | restored after each test. Commands use `CGO_ENABLED=0 go test <package> -run |
| 55 | '<pattern>' -count=1`. |
| 56 | |
| 57 | | Guard disabled | Package | Pattern | Observed failure | |
| 58 | | --- | --- | --- | --- | |
| 59 | | First tuple only | `./internal/directlive` | `^TestControlSourcesFollowRunOrder$` | Later Codex tuple selected a person | |
| 60 | | Candidate provider requirement | `./internal/directlive` | `^TestCandidateRequiresPersonControls$` | Candidate accepted without person proof | |
| 61 | | Individual answer attribution | `./internal/directlive` | `^TestCandidateRejectsFalsePersonProof$/automatic-answer$` | Automatic answer accepted as person proof | |
| 62 | | Release provider requirement | `./internal/equipotest` | `^TestDirectReleaseRequiresCertification$/release$/no_person_controls$` | Synthetic release reached its fake build without person proof | |
| 63 | | Typo recognition | `./internal/directlive` | `^TestControlTerminalRetriesTypos$` | Misspelling ended each control | |
| 64 | | Parsed-object validation | `./internal/directlive` | `^TestTerminalRetryDeadlineAndValidObject$/object$` | `{}` was accepted | |
| 65 | | Deadline enforcement | `./internal/directlive` | `^TestTerminalRetryDeadlineAndValidObject$/deadline$` | Typo loop outlived its deadline | |
| 66 | | Input flushing | `./internal/directlive` | `^TestControlTerminalFlushPending$` | Queued `Deny` answered the next allow prompt | |
| 67 | |
| 68 | The restored targeted commands passed again before the full gate. |
| 69 | |
| 70 | The first `make -k ci` completed with failures in size budgets and the Plan 3 |
| 71 | copy inventory. All other lanes passed. The app was one source line over its |
| 72 | limit; the release tests were 26 test lines over. The inventory was missing the |
| 73 | new hint. The fixture setup now lives with the existing provider test helpers, |
| 74 | spare blank lines were removed, and the hint has its required inventory row. |
| 75 | All existing budget limits remain unchanged. `make budget` and the targeted |
| 76 | release, candidate and `TestPlan3ReleaseBoundaries` tests passed after repair. |
| 77 | The new fake-driver test joins the existing parallel queue and three-worker |
| 78 | limit, so it does not hold up unrelated fake-driver scenarios. |
| 79 | |
| 80 | The single full rerun, `make -k ci`, exited 0. It passed build, vet, |
| 81 | formatting, staticcheck, govulncheck, gitleaks, size budgets, all 29 tested |
| 82 | packages, adapter checks, namespace checks, migrations and performance. |
| 83 | The test step took 5m31.608s; directlive took 4m11.981s, within its 360s budget. |
| 84 | Cold boot measured 102ms against 500ms. There were no vulnerability findings |
| 85 | in called code and no secret findings. |
| 86 | |
| 87 | Provider timing warnings were nonfatal locally: provider 20.656s against 15s, |
| 88 | Claude 45.989s against 45s, and Codex 38.361s against 35s. CI mode enforces those |
| 89 | timing limits, so equivalent load on the remote runner could still fail them. |
| 90 | No timing allowance was raised. Total full gate runs: two, including one rerun. |
| 91 | |
| 92 | ## Delivery |
| 93 | |
| 94 | OFFLINE ONLY: zero live provider launches and no account-home reads. Tests used |
| 95 | disposable fake accounts and executables. No default-branch push, merge, |
| 96 | deployment or execution enablement was attempted. Go caches stayed at their |
| 97 | default locations. |
| 98 | |
| 99 | Delivery branch: `fewer-prompts`. Commit subject: |
| 100 | `Reduce live control prompts to the first tuple per provider`. |
| 101 | Commit body: `Co-Authored-By: Astra <noreply@openai.com>`. |
| 102 | The verification scratch was removed. No process started for this task remains |
| 103 | running. The branch is for controller review; deployment remains a human action. |
| 104 | |
| 105 | ## Round 2 |
| 106 | |
| 107 | The read-only Codex hang was a file-change approval waiting for a person. |
| 108 | In Paul's read-only `run-1968907576` evidence, each of codex-Review, |
| 109 | codex-Scope, codex-Research and codex-Investigation ends its routing turn at |
| 110 | `item/fileChange/requestApproval`. The preceding item is an `apply_patch` |
| 111 | update of `/workspace/equipo-routing-0`. Review's request identifies |
| 112 | `call_dfbf641058eb4c7299ae257daac18f05`. Turn 5 completed; turn 6 never |
| 113 | produced a completed artifact. The configured workspace was read-only. |
| 114 | The routing answer handler handled questions automatically but fell through |
| 115 | to the terminal for native approvals. This is separate from the expected |
| 116 | unanswered person-control timeouts. |
| 117 | |
| 118 | Automatic probe expectations now select the automatic answer source for native |
| 119 | approvals too. Read-only file changes receive `deny` through the existing |
| 120 | validation and relay. Ordinary person controls retain their selected source. |
| 121 | Answer-source attribution also inherits the active turn for proxy callbacks. |
| 122 | No provider policy, sandbox or production authority check was relaxed. |
| 123 | |
| 124 | Routing completion, Go certification and the Python release checker now require |
| 125 | `denied` for a read-only specialist's workspace write tool. Permitted workspace |
| 126 | tools still require `pass`. A model decline without a write attempt does not |
| 127 | prove the workspace refusal. Codex patch refusals require the matching call ID, |
| 128 | path, update kind and completed file-change item with status `declined`. |
| 129 | Uncorrelated results and successful writes cannot satisfy that row. |
| 130 | |
| 131 | Claude Review exposed a second defect. Its catalog lists `submit_review` before |
| 132 | `ask_person`. The review submission occupies the broker's pending slot, so the |
| 133 | following question is rejected before the answer callback. Saved evidence and |
| 134 | the first focused Claude run both show that rejection. Claude Review exposes |
| 135 | Read, Glob, Grep, Bash and its two Equipo tools; Write and Edit are absent. |
| 136 | The routing prompt now puts `ask_person` first and requests sequential calls. |
| 137 | The existing callback acknowledges the answered question before the submission. |
| 138 | The other tools retain their order, including candidate before render. |
| 139 | |
| 140 | ### Live launch log |
| 141 | |
| 142 | All times below are UTC on 2026-11-05. Launches were sequential and used only |
| 143 | Paul's `paul@tito.io` bindings: Codex `codex` and Claude `claude-a`. Total model |
| 144 | turns: **9 of 10 authorized**. Each launch used one catalog turn followed by |
| 145 | workspace and outside routing turns. |
| 146 | |
| 147 | | UTC interval | Tuple | Turns | Result | |
| 148 | | --- | --- | ---: | --- | |
| 149 | | 16:51:01–16:52:03 | codex-Review | 3 | Catalog and routing passed; no person prompt | |
| 150 | | 16:53:00–16:53:37 | claude-Review | 3 | Reproduced question rejection after review submission | |
| 151 | | 16:55:31–16:56:15 | claude-Review | 3 | Final ordering passed every routing row; no person prompt | |
| 152 | |
| 153 | Codex discovered nine tools. Workspace outcomes were `denied` for apply_patch |
| 154 | and `pass` for exec_command, list_mcp_resource_templates, list_mcp_resources, |
| 155 | ask_person, submit_review, read_mcp_resource, view_image and write_stdin. |
| 156 | All outside rows were `declined`, which is the existing accepted outside |
| 157 | outcome. The write refusal passed through the production relay automatically. Its two |
| 158 | answer artifacts record automatic denial of the patch and automatic allowance |
| 159 | of the question. The final Claude question artifact also records automatic |
| 160 | allowance. |
| 161 | |
| 162 | Final Claude outcomes were `pass` for all six exposed workspace tools and |
| 163 | `denied` for all six outside rows. Its first focused run also left the outside |
| 164 | Bash row uncertified because the debug harness had omitted the outer-isolation |
| 165 | proof. The final harness ran the production direct isolation probe before |
| 166 | routing. No parser allowance was added for that harness omission. |
| 167 | |
| 168 | The temporary harness used this branch's production leases, policy builder, |
| 169 | launchers, journal, broker, answer relay and routing code. A Go overlay stopped |
| 170 | the normal exercise after the focused phases. The answer callback failed on |
| 171 | any person prompt. Disposable observations were debugging scratch: no full live |
| 172 | gate, certification bundle, manifest candidate, generation or account-change |
| 173 | exercise ran. The harness did not inspect credential contents, sign in, or |
| 174 | change saved setup, bindings or Paul's evidence. Production leases staged the |
| 175 | authorized credentials. The final Claude run included the attribution fix; |
| 176 | Codex's successful run preceded that fix and the question-order change. |
| 177 | |
| 178 | ### Tests and guard checks |
| 179 | |
| 180 | Before implementation: |
| 181 | |
| 182 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^TestRoutingApprovalsNeverAskPerson$' -count=1` failed because native routing approvals called the person. Its later callback-attribution assertion also failed before that fix. |
| 183 | - `CGO_ENABLED=0 go test ./internal/runner/provider -run '^TestRoutingReadOnlyWriteRefusal$' -count=1` rejected Review's expected refusal. |
| 184 | - `CGO_ENABLED=0 go test ./internal/directlive -run '^TestRoutingQuestionPrecedesSubmission$' -count=1` failed with the question after the review submission. |
| 185 | |
| 186 | The restored targeted tests passed: |
| 187 | |
| 188 | ```sh |
| 189 | CGO_ENABLED=0 go test ./internal/directlive ./internal/runner/provider ./internal/runner/provider/providertest ./internal/equipotest -run 'TestRouting|TestReadOnlyPatch|TestToolRouting|TestCodexRouting|TestReleaseIsolation|TestControlSources|TestAnswerSources|TestPlan3ReleaseBoundaries|TestDirectReleaseRequiresCertification' -count=1 |
| 190 | CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Review$' -count=1 |
| 191 | ``` |
| 192 | |
| 193 | The fake-driver Review test passed in 31.719s and exercised both providers. |
| 194 | A temporary `TestRound2ClaudeReplay` read all 12 saved Claude routing artifacts. |
| 195 | It confirmed five workspace passes, the rejected workspace question, four |
| 196 | outside filesystem refusals and two outside MCP declines. The initial replay |
| 197 | assertion expecting all workspace tools to pass failed on ask_person; the |
| 198 | replay then checked that observed failure explicitly. No old evidence was |
| 199 | changed or promoted to a passing certificate. |
| 200 | |
| 201 | Each guard below was disabled separately and restored. Every test failed for |
| 202 | the intended behavior, without a compilation failure. Go mutations used |
| 203 | `CGO_ENABLED=0 go test -overlay <overlay> <package> -run '<pattern>' -count=1`. |
| 204 | The Python mutation was restored in a `finally` block and tested through Go. |
| 205 | |
| 206 | | Guard disabled | Package | Test | Observed failure | |
| 207 | | --- | --- | --- | --- | |
| 208 | | Automatic probe source | `./internal/directlive` | TestRoutingApprovalsNeverAskPerson | Person callback called | |
| 209 | | Read-only write denial | `./internal/directlive` | TestRoutingApprovalsNeverAskPerson | Write or Edit allowed | |
| 210 | | Active-turn attribution | `./internal/directlive` | TestRoutingApprovalsNeverAskPerson | Proxy callback attributed to a person | |
| 211 | | Role-specific completion | `./internal/directlive` | TestRoutingCompletionUsesRole | Review's successful patch accepted | |
| 212 | | Role-specific Go certification | `./internal/runner/provider` | TestRoutingReadOnlyWriteRefusal | Expected refusal rejected | |
| 213 | | Patch result correlation | `./internal/directlive` | TestReadOnlyPatchRoutingRequiresCorrelatedRefusal | Wrong call ID accepted | |
| 214 | | Question before submission | `./internal/directlive` | TestRoutingQuestionPrecedesSubmission | Submission retained the first broker slot | |
| 215 | | Role-specific release certification | `./internal/runner/provider/providertest` | TestReleaseIsolationGuards | Expected refusal rejected | |
| 216 | |
| 217 | ### Copy and delivery |
| 218 | |
| 219 | Both `live.answer-retry` and `CopyCalibrationFunding` now have the exact marker |
| 220 | `// COPY ACCEPTED FOR NOW (Paul, 2026-11-05; iterate in context)`. |
| 221 | Their current Plan 3 inventory rows record the same acceptance. This supersedes |
| 222 | the pending status described in the earlier report. Runtime wording is unchanged. |
| 223 | No copy-review server was started and README prose was left unchanged. |
| 224 | |
| 225 | The first full `make -k ci` completed with two test failures. The Plan 3 inventory |
| 226 | validator did not recognize the new acceptance date for these two entries; its |
| 227 | exception now names exactly those entries and Paul's exact marker. The other |
| 228 | failure was `TestReviewExpiredAccountSignsIn/claude`, which returned |
| 229 | `provider_account_busy`. It passed on an isolated rerun without account-code |
| 230 | changes. All other lanes passed. The test step took 5m25.533s, directlive took |
| 231 | 4m9.612s and cold boot measured 105ms against 500ms. |
| 232 | |
| 233 | The repaired inventory gate passed with |
| 234 | `CGO_ENABLED=0 go test ./internal/plan3test -run '^TestPlan3ReleaseBoundaries$' -count=1`. |
| 235 | The account retry used |
| 236 | `CGO_ENABLED=0 go test ./internal/tryequipo -run '^TestReviewExpiredAccountSignsIn$' -count=1`. |
| 237 | |
| 238 | The single full rerun, `make -k ci`, exited 0. All 29 tested packages and every |
| 239 | other lane passed, including adapter checks, namespace checks, migrations and |
| 240 | performance. The test step took 5m26.229s; directlive took 4m13.755s against its |
| 241 | 360s limit. Cold boot measured 100ms against 500ms. There were no called-code |
| 242 | vulnerability findings or secret findings. Total full gate runs for Round 2: |
| 243 | two, including one rerun. |
| 244 | |
| 245 | Provider timing warnings remain nonfatal locally: provider 20.509s against |
| 246 | 15s, Claude 45.710s against 45s, and Codex 38.199s against 35s. CI mode enforces |
| 247 | those limits, so equivalent load on a remote runner could fail them. No timing |
| 248 | allowance was raised. |
| 249 | |
| 250 | Delivery branch: `fewer-prompts`. Commit subject: |
| 251 | `Fix read-only routing approvals and question ordering` (53 characters). |
| 252 | Commit body: `Co-Authored-By: Astra <noreply@openai.com>`. |
| 253 | The temporary harness, observations, binaries, overlays and logs were removed. |
| 254 | No task process or server remains running. Go caches stayed at their defaults. |
| 255 | No default-branch push, merge, release or deployment was performed. |
| 256 | |