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 follow-up controller report
2
3The guide asks for total account counts, defaulting to six Claude accounts and
4two Codex accounts. It requires at least two of each and keeps existing accounts
5connected. Each account gets its own private home and confirmed identity. All
6connected accounts enter the bindings file; coordinator selection is unchanged.
7
8Saved counts become the next run's defaults. Existing home paths, identity
9markers and binding IDs survive reruns, including upgrades from the original
10three-home setup. Finished sign-ins are probed without another sign-in. A new
11home that resolves to an already connected account is refused before its
12identity is saved. On rerun, that unconfirmed home can sign in to another account.
13
14Certification now selects two connected accounts per provider. Both adapters
15observe the second account, then must refuse its login when the expected
16identity is the first account. The source homes remain untouched. Marker
17modification has its own separate observation and cannot substitute for a second
18account. The input format adds `account_changes`, keyed by provider. The previous
19Claude-only `account_change` input remains readable; ambiguous inputs are refused.
20
21No real sign-ins, provider sessions, other agents, copy-review server, enrolment,
22release or deployment were run. README prose is unchanged. The live gate still
23requires real evidence before release.
24
25## Verification
26
27The new setup tests first failed to compile because `connectAccounts` and
28`writeBindings` did not exist. The first driver test exposed an incorrect
29observation path in the test; that path was corrected before guard checks.
30
31Targeted setup and configuration checks passed:
32
33`CGO_ENABLED=0 go test ./internal/tryequipo ./internal/runner/provider -run 'TestConnectAll|TestAccount|TestDuplicateAccount|TestLiveConfig|TestUpgradeOriginal|TestDirectLive' -count=1`
34
35The fake Engineering driver passed with second-account evidence for both
36providers:
37
38`CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$' -count=1`
39
40Each guard below was deliberately broken with a compile-valid mutation, tested,
41and restored. Every command uses `CGO_ENABLED=0` and `-count=1`.
42
43| Broken guard | Test command | Result |
44| --- | --- | --- |
45| Default to two Claude accounts | `go test ./internal/tryequipo -run '^TestConnectAllAccountsAndAddOnRerun$'` | Failed: only four accounts connected |
46| Allow fewer than two accounts | `go test ./internal/tryequipo -run '^TestAccountCountMinimumAndNoRemoval$'` | Failed: sign-in began before valid counts |
47| Allow dropping existing accounts | `go test ./internal/tryequipo -run '^TestUpgradeOriginalThreeHomes$'` | Failed: existing sixth account removed |
48| Accept duplicate identities | `go test ./internal/tryequipo -run '^TestDuplicateAccountRefusedAndRetryable$'` | Failed for both providers |
49| Repeat finished sign-ins | `go test ./internal/tryequipo -run '^TestConnectAllAccountsAndAddOnRerun$'` | Failed: finished sign-ins repeated |
50| Write only two bindings | `go test ./internal/tryequipo -run '^TestConnectAllAccountsAndAddOnRerun$'` | Failed: not every account was bound |
51| Omit the second Codex account | `go test ./internal/tryequipo -run '^TestLiveConfigAccountChangeBothProviders$'` | Failed: missing account-change configuration |
52| Accept the primary account as the second account | `go test ./internal/runner/provider -run '^TestDirectLiveAccountChanges$'` | Failed for both providers |
53| Skip Codex account change | `go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$'` | Failed: Codex account-change evidence was not certified |
54
55The tests use temporary directories managed by Go and do not require `TMPDIR`.
56The fake sign-in programs inherit only the provider login environment. They
57record login counts and emit synthetic login output to verify it stays hidden.
58The driver checks that both primary and secondary credential sources stay intact.
59
60Full affected-package checks passed:
61
62`CGO_ENABLED=0 go test ./internal/tryequipo ./internal/directlive ./internal/runner/provider -count=1`
63
64Results: setup 7.693s, certification 156.581s, provider 9.689s. The added binding
65write on rerun and the exact copy-inventory check also passed:
66
67`CGO_ENABLED=0 go test ./internal/tryequipo ./internal/plan3test -run 'TestConnectAllAccountsAndAddOnRerun|TestPlan3ReleaseBoundaries/inventory' -count=1`
68
69Targeted `go vet`, the reference inventory and unchanged size budgets passed.
70The single background `make ci` run passed with exit 0. Its full test step ran
7127 packages without cached results or failures in 5m4.889s. Build, vet,
72formatting, staticcheck, govulncheck, gitleaks, size budgets, adapter checks,
73namespace checks, migrations and performance all passed. Cold boot had a 102ms
74median against 500ms; every measured GET stayed below its 150ms budget.
75No reachable vulnerabilities or leaked secrets were reported. Network access
76remained enabled and Go caches used their defaults.
77
78## New strings
79
80All four entries are individually marked `COPY REVIEW PENDING` in
81`internal/equipo/copy.go` and listed in the Plan 3 copy inventory. The guide's
82account-count, rerun and certification paragraphs were updated in
83`docs/live-gate.md`. No copy-review server was started, as instructed.
84
85| Key | Text |
86| --- | --- |
87| `claude-accounts` | Total Claude accounts to connect |
88| `codex-accounts` | Total Codex accounts to connect |
89| `account-minimum` | Enter a whole number of at least %d. Keep all existing accounts connected. |
90| `duplicate-account` | This account is already connected in another home. Run the guide again and sign in to a different account. |
91
92The last two strings end with a newline.
93