| 1 | # Try Equipo controller report |
| 2 | |
| 3 | The guided entry point is `scripts/try-equipo.sh`, with logic in |
| 4 | `internal/tryequipo` and a small `cmd/equipo-try` entry point. No real sign-ins, |
| 5 | provider turns, enrolment, release or deployment were run for this change. |
| 6 | No other agents or copy-review server were used. |
| 7 | |
| 8 | ## Changes |
| 9 | |
| 10 | V1 certificates use `certified_refresh: null` and `no_refresh_reason`. The Go |
| 11 | verifier, installation eligibility and Python release check accept this form. |
| 12 | Old refresh certificates grant no network authority. Egress rejects a named |
| 13 | refresh host. Refresh assertions are removed from the live contract; generation |
| 14 | and identity checks still run without a refresh host. |
| 15 | |
| 16 | Expired Claude expiry timestamps and Codex access-token expiry claims are |
| 17 | checked in memory before staging or dispatch. An expired lease returns account |
| 18 | maintenance. Connection reports retain that reason, the connection page says |
| 19 | **Sign in again**, and a pinned unavailable account cannot fall back to another |
| 20 | account. Failed attempts retain the same visible reason. |
| 21 | |
| 22 | The guide verifies pinned executable bytes and versions, user namespaces and |
| 23 | Go. It creates dedicated homes, runs official browser sign-in with provider |
| 24 | output suppressed, reads account status and asks for confirmation. It writes |
| 25 | private identities, bindings, environment and bounded live configuration. It |
| 26 | creates the disposable repository and sentinels, including the second Claude |
| 27 | home. Setup state and write intentions allow interrupted configuration to resume; |
| 28 | foreign edits and changed identities are refused. The runner state is not |
| 29 | enrolled or enabled. |
| 30 | |
| 31 | The account-change exercise observes the second Claude account through the real |
| 32 | adapter, then presents that account's staged login against the first account's |
| 33 | expected identity in a disposable source. Preflight must return the second |
| 34 | identity and refuse dispatch. Original dedicated sources remain untouched by |
| 35 | this exercise. Existing generation and marker probes have durable private |
| 36 | rollback files; the guide restores them after interruption. Namespace recovery |
| 37 | requires a dead recorded controller and verified exit before removing records. |
| 38 | |
| 39 | Codex policies request raw catalog events and incremental tools. The live driver |
| 40 | records the observed catalog before probing its tools, then compares the final |
| 41 | catalog with the tested inventory. Missing, foreign or expanded catalogs fail |
| 42 | closed. Resume requests omit the start-only `experimentalRawEvents` field, |
| 43 | checked against the pinned schemas. Portable policy inventory hashes were |
| 44 | updated without granting certification. |
| 45 | |
| 46 | ## Verification |
| 47 | |
| 48 | The initial no-refresh acceptance test failed with “explicit no-refresh |
| 49 | certificate rejected”, then passed after implementation. New expiry, catalog, |
| 50 | setup and interruption tests were first run before their implementation and |
| 51 | failed to compile on the missing functions/types. |
| 52 | |
| 53 | Compile-valid mutation checks were then run and restored: |
| 54 | |
| 55 | | Guard deliberately broken | Command | Observed result | |
| 56 | | --- | --- | --- | |
| 57 | | Reject every no-refresh certificate | `go test ./internal/release -run TestNoRefreshCertificate -count=1` | Acceptance assertion failed | |
| 58 | | Allow refresh egress | `go test ./internal/runner/egress -run TestEgressPolicy -count=1` | Refresh rejection assertion failed | |
| 59 | | Ignore token expiry | `go test ./internal/runner/provider -run TestExpired -count=1` | Expiry and dispatch assertions failed | |
| 60 | | Ignore observed account mismatch | `go test ./internal/tryequipo -run TestAccountResumeAndMismatch -count=1` | Changed account accepted | |
| 61 | | Accept a foreign catalog session | `go test ./internal/directlive -run TestSpecialistObservedCatalog -count=1` | Foreign catalog accepted | |
| 62 | | Skip interrupted source restoration | `go test ./internal/directlive -run TestInterruptedSourceProbeRestores -count=1` | Original source not restored | |
| 63 | | Allow foreign configuration replacement | `go test ./internal/tryequipo -run TestResumeInterruptedConfigurationWrite -count=1` | Foreign edit overwritten | |
| 64 | | Hide the sign-in state | `go test ./internal/equipotest -run TestExpiredConnectionShowsSignInAgain -count=1` | HTTP page lacked Sign in again | |
| 65 | |
| 66 | Targeted tests cover both fake official login/status CLIs, interrupted account |
| 67 | confirmation, private modes, interactive-home refusal, identity mismatch, |
| 68 | configuration ownership, no-refresh packaging, expired dispatch and the rendered |
| 69 | connection state. The fake driver exercised Claude account change and Codex |
| 70 | inventory. Coordinator and Investigation failures found in the first package |
| 71 | sweep were fixed and the targeted rerun passed. The first broad runner sweep |
| 72 | was interrupted after a slow namespace wait; the isolated candidate-order test |
| 73 | passed in 36.687 seconds. All builds and tests use `CGO_ENABLED=0`. |
| 74 | |
| 75 | The size gate passes with the existing ceilings. Repeated accepted-copy comments |
| 76 | were consolidated under one dated acceptance note; pending entries remain |
| 77 | individually marked. The connection test reuses existing assertion helpers. |
| 78 | |
| 79 | The first full CI attempt stopped at exact reference classifications. After |
| 80 | updating those entries, the next full test run passed 23 packages and found two |
| 81 | obsolete expectations: the exact documented environment path and acceptance of |
| 82 | a refresh egress contract. Both were corrected. The final setup review also |
| 83 | added failing tests for same-account re-sign-in and the recorded Codex startup |
| 84 | notification arriving before the identity response. Both now pass; mismatched |
| 85 | identities and unrecognized or uncorrelated responses still fail closed. |
| 86 | |
| 87 | The post-commit history scan initially flagged two synthetic expired-token |
| 88 | fixture literals. The tests now construct the unsigned fixture in memory; no |
| 89 | scan exemption was added. Expiry tests and the amended history scan passed. |
| 90 | |
| 91 | Full `make ci`: **PASS, exit 0**. Build, vet, formatting, staticcheck, |
| 92 | govulncheck, gitleaks, unchanged size budgets, the full test suite, pinned adapter |
| 93 | checks, namespace tests, migration checks and performance checks completed. |
| 94 | The full test step took 5m1.339s. Cold boot had a 92ms median against 500ms; |
| 95 | every measured GET stayed below 150ms. No reachable vulnerabilities or leaked |
| 96 | secrets were reported. |
| 97 | |
| 98 | The final editable-defaults regression first failed with the saved mistyped |
| 99 | path, then passed. After that small setup-only change, `go test |
| 100 | ./internal/tryequipo -count=1`, `go vet ./internal/tryequipo` and |
| 101 | `go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./internal/tryequipo` all passed. |
| 102 | This lets a rerun correct saved values while detecting environment-supplied |
| 103 | values without another question. |
| 104 | |
| 105 | ## Remaining live evidence |
| 106 | |
| 107 | The real live gate has not run. Existing conservative guards for unobserved |
| 108 | Claude hook settings, absence of a subscription currency cap and explicit FD |
| 109 | alias denials remain in place. These were recorded in the Plan 2b report and |
| 110 | were not changed into passing observations here. They can still block the |
| 111 | candidate. The manifest retains its uncertified policies and copy-release gate. |
| 112 | The controller must review actual captures and resolve those evidence limits |
| 113 | before a versioned release can pass. The browser sign-in also needs a working |
| 114 | browser opener on docs-t1; no sign-in URLs are printed as a fallback. |
| 115 | |
| 116 | ## New strings |
| 117 | |
| 118 | Every new runtime string is individually marked pending in |
| 119 | `internal/equipo/copy.go` and listed in the existing Plan 3 copy inventory, which |
| 120 | the repository's inventory test checks. The new guide is `docs/live-gate.md`. |
| 121 | The shell's Go-missing fallback is `Missing prerequisite: Go`. |
| 122 | |
| 123 | - `connections.empty`: Connections are not available yet. |
| 124 | |
| 125 | - `account.sign_in_again`: Sign in again |
| 126 | |
| 127 | - `prerequisite`: Missing prerequisite: %s / |
| 128 | |
| 129 | - `prompt`: %s [%s]: |
| 130 | |
| 131 | - `confirm`: Observed account for %s: %s. Confirm this account? [yes/no]: |
| 132 | |
| 133 | - `login`: Signing in to %s in its dedicated home. Complete the official browser flow. Provider output is hidden to keep sign-in links and tokens private. / |
| 134 | |
| 135 | - `failed`: Stopped at %s. Saved setup can be resumed by running scripts/try-equipo.sh again. No release was made. / |
| 136 | |
| 137 | - `ready`: Manifest candidate: %s / After reviewing and importing the evidence bundle and candidate manifest, the controller releases with: / %s / |
| 138 | |
| 139 | - `live`: Type RUN LIVE GATE to authorize the displayed limits and disposable exercises |
| 140 | |
| 141 | - `signin`: Type SIGN IN to start official sign-ins in dedicated homes |
| 142 | |
| 143 | - `instance`: Instance ID from Equipo |
| 144 | |
| 145 | - `person`: Your Equipo person ID |
| 146 | |
| 147 | - `claude-model`: Exact Claude model |
| 148 | |
| 149 | - `codex-model`: Exact Codex model |
| 150 | |
| 151 | - `forge`: Absolute path to the runner's Amadan credential file |
| 152 | |
| 153 | - `Calls`: Maximum calibration calls |
| 154 | |
| 155 | - `InputTokens`: Maximum calibration input tokens |
| 156 | |
| 157 | - `OutputTokens`: Maximum calibration output tokens |
| 158 | |
| 159 | - `Seconds`: Maximum calibration seconds |
| 160 | |
| 161 | - `JobInput`: Job input token funding |
| 162 | |
| 163 | - `JobOutput`: Job output token funding |
| 164 | |
| 165 | - `ProjectInputHeadroom`: Remaining project input tokens |
| 166 | |
| 167 | - `ProjectOutputHeadroom`: Remaining project output tokens |
| 168 | |
| 169 | - `TeamInputHeadroom`: Remaining team input tokens |
| 170 | |
| 171 | - `TeamOutputHeadroom`: Remaining team output tokens |
| 172 | |
| 173 | - `limits`: Authorized limits: %s / |
| 174 | |