# Try Equipo controller report

The guided entry point is `scripts/try-equipo.sh`, with logic in
`internal/tryequipo` and a small `cmd/equipo-try` entry point. No real sign-ins,
provider turns, enrolment, release or deployment were run for this change.
No other agents or copy-review server were used.

## Changes

V1 certificates use `certified_refresh: null` and `no_refresh_reason`. The Go
verifier, installation eligibility and Python release check accept this form.
Old refresh certificates grant no network authority. Egress rejects a named
refresh host. Refresh assertions are removed from the live contract; generation
and identity checks still run without a refresh host.

Expired Claude expiry timestamps and Codex access-token expiry claims are
checked in memory before staging or dispatch. An expired lease returns account
maintenance. Connection reports retain that reason, the connection page says
**Sign in again**, and a pinned unavailable account cannot fall back to another
account. Failed attempts retain the same visible reason.

The guide verifies pinned executable bytes and versions, user namespaces and
Go. It creates dedicated homes, runs official browser sign-in with provider
output suppressed, reads account status and asks for confirmation. It writes
private identities, bindings, environment and bounded live configuration. It
creates the disposable repository and sentinels, including the second Claude
home. Setup state and write intentions allow interrupted configuration to resume;
foreign edits and changed identities are refused. The runner state is not
enrolled or enabled.

The account-change exercise observes the second Claude account through the real
adapter, then presents that account's staged login against the first account's
expected identity in a disposable source. Preflight must return the second
identity and refuse dispatch. Original dedicated sources remain untouched by
this exercise. Existing generation and marker probes have durable private
rollback files; the guide restores them after interruption. Namespace recovery
requires a dead recorded controller and verified exit before removing records.

Codex policies request raw catalog events and incremental tools. The live driver
records the observed catalog before probing its tools, then compares the final
catalog with the tested inventory. Missing, foreign or expanded catalogs fail
closed. Resume requests omit the start-only `experimentalRawEvents` field,
checked against the pinned schemas. Portable policy inventory hashes were
updated without granting certification.

## Verification

The initial no-refresh acceptance test failed with “explicit no-refresh
certificate rejected”, then passed after implementation. New expiry, catalog,
setup and interruption tests were first run before their implementation and
failed to compile on the missing functions/types.

Compile-valid mutation checks were then run and restored:

| Guard deliberately broken | Command | Observed result |
| --- | --- | --- |
| Reject every no-refresh certificate | `go test ./internal/release -run TestNoRefreshCertificate -count=1` | Acceptance assertion failed |
| Allow refresh egress | `go test ./internal/runner/egress -run TestEgressPolicy -count=1` | Refresh rejection assertion failed |
| Ignore token expiry | `go test ./internal/runner/provider -run TestExpired -count=1` | Expiry and dispatch assertions failed |
| Ignore observed account mismatch | `go test ./internal/tryequipo -run TestAccountResumeAndMismatch -count=1` | Changed account accepted |
| Accept a foreign catalog session | `go test ./internal/directlive -run TestSpecialistObservedCatalog -count=1` | Foreign catalog accepted |
| Skip interrupted source restoration | `go test ./internal/directlive -run TestInterruptedSourceProbeRestores -count=1` | Original source not restored |
| Allow foreign configuration replacement | `go test ./internal/tryequipo -run TestResumeInterruptedConfigurationWrite -count=1` | Foreign edit overwritten |
| Hide the sign-in state | `go test ./internal/equipotest -run TestExpiredConnectionShowsSignInAgain -count=1` | HTTP page lacked Sign in again |

Targeted tests cover both fake official login/status CLIs, interrupted account
confirmation, private modes, interactive-home refusal, identity mismatch,
configuration ownership, no-refresh packaging, expired dispatch and the rendered
connection state. The fake driver exercised Claude account change and Codex
inventory. Coordinator and Investigation failures found in the first package
sweep were fixed and the targeted rerun passed. The first broad runner sweep
was interrupted after a slow namespace wait; the isolated candidate-order test
passed in 36.687 seconds. All builds and tests use `CGO_ENABLED=0`.

The size gate passes with the existing ceilings. Repeated accepted-copy comments
were consolidated under one dated acceptance note; pending entries remain
individually marked. The connection test reuses existing assertion helpers.

The first full CI attempt stopped at exact reference classifications. After
updating those entries, the next full test run passed 23 packages and found two
obsolete expectations: the exact documented environment path and acceptance of
a refresh egress contract. Both were corrected. The final setup review also
added failing tests for same-account re-sign-in and the recorded Codex startup
notification arriving before the identity response. Both now pass; mismatched
identities and unrecognized or uncorrelated responses still fail closed.

The post-commit history scan initially flagged two synthetic expired-token
fixture literals. The tests now construct the unsigned fixture in memory; no
scan exemption was added. Expiry tests and the amended history scan passed.

Full `make ci`: **PASS, exit 0**. Build, vet, formatting, staticcheck,
govulncheck, gitleaks, unchanged size budgets, the full test suite, pinned adapter
checks, namespace tests, migration checks and performance checks completed.
The full test step took 5m1.339s. Cold boot had a 92ms median against 500ms;
every measured GET stayed below 150ms. No reachable vulnerabilities or leaked
secrets were reported.

The final editable-defaults regression first failed with the saved mistyped
path, then passed. After that small setup-only change, `go test
./internal/tryequipo -count=1`, `go vet ./internal/tryequipo` and
`go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./internal/tryequipo` all passed.
This lets a rerun correct saved values while detecting environment-supplied
values without another question.

## Remaining live evidence

The real live gate has not run. Existing conservative guards for unobserved
Claude hook settings, absence of a subscription currency cap and explicit FD
alias denials remain in place. These were recorded in the Plan 2b report and
were not changed into passing observations here. They can still block the
candidate. The manifest retains its uncertified policies and copy-release gate.
The controller must review actual captures and resolve those evidence limits
before a versioned release can pass. The browser sign-in also needs a working
browser opener on docs-t1; no sign-in URLs are printed as a fallback.

## New strings

Every new runtime string is individually marked pending in
`internal/equipo/copy.go` and listed in the existing Plan 3 copy inventory, which
the repository's inventory test checks. The new guide is `docs/live-gate.md`.
The shell's Go-missing fallback is `Missing prerequisite: Go`.

- `connections.empty`: Connections are not available yet.

- `account.sign_in_again`: Sign in again

- `prerequisite`: Missing prerequisite: %s / 

- `prompt`: %s [%s]: 

- `confirm`: Observed account for %s: %s. Confirm this account? [yes/no]: 

- `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. / 

- `failed`: Stopped at %s. Saved setup can be resumed by running scripts/try-equipo.sh again. No release was made. / 

- `ready`: Manifest candidate: %s / After reviewing and importing the evidence bundle and candidate manifest, the controller releases with: / %s / 

- `live`: Type RUN LIVE GATE to authorize the displayed limits and disposable exercises

- `signin`: Type SIGN IN to start official sign-ins in dedicated homes

- `instance`: Instance ID from Equipo

- `person`: Your Equipo person ID

- `claude-model`: Exact Claude model

- `codex-model`: Exact Codex model

- `forge`: Absolute path to the runner's Amadan credential file

- `Calls`: Maximum calibration calls

- `InputTokens`: Maximum calibration input tokens

- `OutputTokens`: Maximum calibration output tokens

- `Seconds`: Maximum calibration seconds

- `JobInput`: Job input token funding

- `JobOutput`: Job output token funding

- `ProjectInputHeadroom`: Remaining project input tokens

- `ProjectOutputHeadroom`: Remaining project output tokens

- `TeamInputHeadroom`: Remaining team input tokens

- `TeamOutputHeadroom`: Remaining team output tokens

- `limits`: Authorized limits: %s / 
