oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Try Equipo controller report
2
3The 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,
5provider turns, enrolment, release or deployment were run for this change.
6No other agents or copy-review server were used.
7
8## Changes
9
10V1 certificates use `certified_refresh: null` and `no_refresh_reason`. The Go
11verifier, installation eligibility and Python release check accept this form.
12Old refresh certificates grant no network authority. Egress rejects a named
13refresh host. Refresh assertions are removed from the live contract; generation
14and identity checks still run without a refresh host.
15
16Expired Claude expiry timestamps and Codex access-token expiry claims are
17checked in memory before staging or dispatch. An expired lease returns account
18maintenance. Connection reports retain that reason, the connection page says
19**Sign in again**, and a pinned unavailable account cannot fall back to another
20account. Failed attempts retain the same visible reason.
21
22The guide verifies pinned executable bytes and versions, user namespaces and
23Go. It creates dedicated homes, runs official browser sign-in with provider
24output suppressed, reads account status and asks for confirmation. It writes
25private identities, bindings, environment and bounded live configuration. It
26creates the disposable repository and sentinels, including the second Claude
27home. Setup state and write intentions allow interrupted configuration to resume;
28foreign edits and changed identities are refused. The runner state is not
29enrolled or enabled.
30
31The account-change exercise observes the second Claude account through the real
32adapter, then presents that account's staged login against the first account's
33expected identity in a disposable source. Preflight must return the second
34identity and refuse dispatch. Original dedicated sources remain untouched by
35this exercise. Existing generation and marker probes have durable private
36rollback files; the guide restores them after interruption. Namespace recovery
37requires a dead recorded controller and verified exit before removing records.
38
39Codex policies request raw catalog events and incremental tools. The live driver
40records the observed catalog before probing its tools, then compares the final
41catalog with the tested inventory. Missing, foreign or expanded catalogs fail
42closed. Resume requests omit the start-only `experimentalRawEvents` field,
43checked against the pinned schemas. Portable policy inventory hashes were
44updated without granting certification.
45
46## Verification
47
48The initial no-refresh acceptance test failed with “explicit no-refresh
49certificate rejected”, then passed after implementation. New expiry, catalog,
50setup and interruption tests were first run before their implementation and
51failed to compile on the missing functions/types.
52
53Compile-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
66Targeted tests cover both fake official login/status CLIs, interrupted account
67confirmation, private modes, interactive-home refusal, identity mismatch,
68configuration ownership, no-refresh packaging, expired dispatch and the rendered
69connection state. The fake driver exercised Claude account change and Codex
70inventory. Coordinator and Investigation failures found in the first package
71sweep were fixed and the targeted rerun passed. The first broad runner sweep
72was interrupted after a slow namespace wait; the isolated candidate-order test
73passed in 36.687 seconds. All builds and tests use `CGO_ENABLED=0`.
74
75The size gate passes with the existing ceilings. Repeated accepted-copy comments
76were consolidated under one dated acceptance note; pending entries remain
77individually marked. The connection test reuses existing assertion helpers.
78
79The first full CI attempt stopped at exact reference classifications. After
80updating those entries, the next full test run passed 23 packages and found two
81obsolete expectations: the exact documented environment path and acceptance of
82a refresh egress contract. Both were corrected. The final setup review also
83added failing tests for same-account re-sign-in and the recorded Codex startup
84notification arriving before the identity response. Both now pass; mismatched
85identities and unrecognized or uncorrelated responses still fail closed.
86
87The post-commit history scan initially flagged two synthetic expired-token
88fixture literals. The tests now construct the unsigned fixture in memory; no
89scan exemption was added. Expiry tests and the amended history scan passed.
90
91Full `make ci`: **PASS, exit 0**. Build, vet, formatting, staticcheck,
92govulncheck, gitleaks, unchanged size budgets, the full test suite, pinned adapter
93checks, namespace tests, migration checks and performance checks completed.
94The full test step took 5m1.339s. Cold boot had a 92ms median against 500ms;
95every measured GET stayed below 150ms. No reachable vulnerabilities or leaked
96secrets were reported.
97
98The final editable-defaults regression first failed with the saved mistyped
99path, 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.
102This lets a rerun correct saved values while detecting environment-supplied
103values without another question.
104
105## Remaining live evidence
106
107The real live gate has not run. Existing conservative guards for unobserved
108Claude hook settings, absence of a subscription currency cap and explicit FD
109alias denials remain in place. These were recorded in the Plan 2b report and
110were not changed into passing observations here. They can still block the
111candidate. The manifest retains its uncertified policies and copy-release gate.
112The controller must review actual captures and resolve those evidence limits
113before a versioned release can pass. The browser sign-in also needs a working
114browser opener on docs-t1; no sign-in URLs are printed as a fallback.
115
116## New strings
117
118Every new runtime string is individually marked pending in
119`internal/equipo/copy.go` and listed in the existing Plan 3 copy inventory, which
120the repository's inventory test checks. The new guide is `docs/live-gate.md`.
121The 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