oficina / equipo Public
DRAFT: copy review required
Supervised trial controller report
Implemented the 2026-11-03 trial brief on runner, starting at 96aaefd. The trial brief supersedes plan 2's refusal for the four named Paseo gaps. The design, plan 2 rulings and dispositions, live-gate instructions and Equipo discussion 3 were read. No other agents or model reviewers were used.
Behaviour
A current team owner can enable or turn off supervised trial for an enrolled runner from Machines. The additive supervised_trials table records the owner, owner revision, runner, time and reported provider/server versions. Each write checks the roster inside its transaction and records an audit event. A version change revokes consent durably, including a change followed by a downgrade. Owner removal or demotion makes the saved owner revision unusable. Reports must be fresh; missing connections cannot remain eligible through trial metadata.
Discovery can report trial eligibility while preflight still refuses dispatch. The runner needs an authenticated, current assignment carrying consent before trial preflight succeeds. Codex's separate acknowledgement remains required. The requested credential home travels through Paseo's supported per-agent environment. An observed account mismatch refuses the session. Missing account observation remains labelled, with no retry against another account.
The runner executes the configured provider's --version under its own OS user. Trial records distinguish this local observation from Paseo reporting. The requested policy hash identifies the tuple; it is never evidence that the policy took effect. Every trial connection is unconfined. Historical trial consent, local version provenance and unverified checks survive in step, artifact, event, executor and publication isolation records and in the views.
A trial subscription cannot be resumed or replaced after a gap. The runner persists the admitted action before sending, reports an interrupted action as lost, and preserves the full reservation. The task waits visibly for a person. Restart recovery reports saved in-flight trial actions before containment. Containment and credential rotation continue through the existing supervisor.
Production publication remains disabled. forge.ReadBranchDescription prepares the announced GET request with escaped branch names, authenticated readback, redirect refusal, bounded response size, author checks and content-hash checks. Its request and response match the Amadan branch-description-read worktree. The deployed contract and ordering still require verification before enabling it.
The live-gate draft describes Paul's commands for a dedicated equipo-runner user, locked password, lingering, pinned installations, separate loopback Paseo service, provider logins, private credentials, runner-owned clones and enrolment. The script requires that OS user and its daemon home. New runtime strings are individually marked pending in internal/equipo/copy.go; release copy checking continues to refuse pending copy. README prose and vendored static files are unchanged.
Verification
Initial failing tests:
CGO_ENABLED=0 go test ./internal/runner/paseo ./internal/equipotest -run TestSupervisedTrial -count=1failed because the trial types and methods did not exist.node --test --test-name-pattern='trial routes' runner/paseo/bridge.test.mjsfailed withinvalid_requestbefore credential-home routing was implemented.CGO_ENABLED=0 go test ./internal/runner/forge -run TestPlannedAmadanDescriptionReadback -count=1failed because the planned client did not exist.
Restored targeted gate:
CGO_ENABLED=0 go test ./internal/runner/paseo ./internal/equipotest ./internal/equipo/team ./internal/runner ./internal/runner/forge -run 'TestSupervisedTrial|TestTrial|TestPlannedAmadan' -count=1
node --test runner/paseo/bridge.test.mjs
sh -n scripts/live-gate.sh
git diff --checkAll passed. The Go gate covers trial off/on, missing consent, all four gap behaviours, owner and version lapse, downgrade after lapse, missing profiles, account mismatch, local version reads, unconfined labels on the task surfaces, evidence and descriptions, charged reconnect waiting and refusal of readmission. The bridge suite passes all 31 tests. Existing unsupported-capability, unconfined-label and migration parity tests also passed in targeted runs.
Each mutation below was applied alone, observed failing its named test, then restored. Commands used CGO_ENABLED=0 go test <package> -run '^<test>$' -count=1.
| Broken guard | Package | Failing test | | --- | --- | --- | | Authorize trial without consent | ./internal/runner/paseo | TestSupervisedTrialDispatchAccount/off | | Accept a different observed account | ./internal/runner/paseo | TestSupervisedTrialPreflight/mismatch | | Accept unknown process coverage | ./internal/runner/paseo | TestSupervisedTrialPreflight/containment | | Ignore the approving owner's role | ./internal/equipotest | TestSupervisedTrialConsent/demote | | Stop recording permanent version lapse | ./internal/equipotest | TestSupervisedTrialConsent/provider | | Strip trial from selection provenance | ./internal/equipotest | TestSupervisedTrialConsent/on | | Complete an uncertain trial as failed | ./internal/runner | TestTrialReconnectWaitsWithoutRetry | | Use the wrong description endpoint | ./internal/runner/forge | TestPlannedAmadanDescriptionReadback |
The first owner-guard mutation caused an unused-variable build failure. It was restored and replaced with a compiling mutation; the named assertion then failed. The full bridge suite also exposed shared fixture state in the new routing test; the assertion now checks the provider selected by that fixture. Both targeted and complete bridge runs pass.
make ci ran once in the background with network access and default Go caches. Build, vet, formatting, staticcheck, govulncheck, gitleaks and size budgets passed. The full Go suite had one failure: TestLiveGateConfirmation used the old shared user fixture. All other packages and tests passed. The runner package took 199.588 seconds; the integration package took 203.007 seconds, within their existing budgets.
The confirmation fixture now supplies a fake dedicated user and the required loopback daemon configuration. The real live gate is never invoked by the test. CGO_ENABLED=0 go test ./internal/equipotest -run 'TestLiveGateConfirmation|TestLiveGateRequiresDedicatedUser' -count=1 passes. Removing each of the script's user, daemon-home and loopback checks individually failed TestLiveGateRequiresDedicatedUser/user, /home and /endpoint; the script was restored and both tests passed again.
make runner-adapter-test migration-check perf then completed the remaining CI targets successfully. The complete bridge suite passed 31 tests, migration parity passed, all screen medians were below 150 ms, and cold boot was 59 ms against 500 ms. make vet fmt-check staticcheck budget also passed after the test fixture change. There was no second full-suite or make ci run.
Remaining human work
Review pending copy before a release. Verify Amadan's deployed readback and ordering before enabling the production transport. Complete the live probes and calibration before claiming live acceptance. Trial never enters the verified isolation tuple list.
No machine was enrolled, no real Paseo agent or service was started, and no sudo, merge or deployment command was executed. Only test fixtures and local inspection were used. The final handback records the commit, push and CI result. Task scratch and test processes are removed before handback.
Round 2 review fixes, 2026-11-03
Applied trial2-brief.md from ad32cda. No other agents, copy-review server, enrolment, deployment or real Paseo agents were used.
Trial preflight now requires a dedicated UID. It reads the account database, refuses login shells, checks the locked password status without reading password hashes, and checks that the canonical Paseo home belongs to that user inside its home. Every live process with that UID must belong to the runner, its installed Paseo CLI daemon tree, user systemd, or an open tracked attempt. Arbitrary user services, unrelated Node scripts, closed attempts and old boot records cannot supply ownership. The connection report carries routing.dedicated_user; the server requires it for trial routing. Missing observations deny admission.
An observed account mismatch has the terminal reason account_mismatch, both at preflight and after agent creation. The scheduler refuses another attempt regardless of the task's retry allowance. Both runner trial authorization and workspace admission require Codex's separate acknowledgement, including the current authorization returned by the instance.
Local version reads retain at most 256 bytes and discard stderr. They run only when strict preflight failed or the current assignment carries trial consent. A failed read clears the version observation, which ends saved consent. The publisher requires both supervised trial and unconfined in a trial branch description. Other errors during an interrupted, admitted trial turn now keep the same charged human wait as reconnect errors; account mismatches remain terminal. Cancel is the documented exit from the wait. No outcome-resolution action was added.
A current owner can turn trial off with a stale runner revision or after the runner person leaves the roster. Revoked runners with saved trial consent remain visible to owners until trial is off. Enable and ordinary revoke controls are hidden for those revoked runners. Authority still comes from the current owner inside the write transaction, and disablement is audited.
The live-gate draft uses a non-login shell, names Claude's login directory, disables the Paseo relay, checks the listener with ss -ltnp, and explains that all trial work, including Claude, can read world-readable files on docs-t1. It includes service shutdown, lingering removal and user deletion. Temporary setup shells and unrelated user services must stop before trial admission.
Tests and guard checks
The first regression run failed on strict preflight running the provider CLI, account mismatch losing its terminal reason, a second scheduler attempt after mismatch, non-reconnect errors failing the job, missing trial publication labels, and trial disablement with a stale revision or removed person. After correcting two fixture prerequisites, the workspace acknowledgement and publication tests also failed on their intended guards. The new dedicated-user tests initially failed to compile because the checks did not exist. The owner-page test failed because the disable action disappeared when its runner was revoked. A separate process test accepted an unrelated Node script before CLI identity was checked.
The restored targeted command passed:
CGO_ENABLED=0 go test ./internal/runner/paseo ./internal/runner ./internal/runner/workspace ./internal/runner/forge ./internal/equipo/team ./internal/equipotest -run 'TestSupervisedTrial|TestTrial|TestRunnerService|TestPreflight|TestConnections' -count=1The full Paseo adapter Go package passed. All 31 bridge tests passed with node --test runner/paseo/bridge.test.mjs. sh -n scripts/live-gate.sh, git diff --check, and make vet fmt-check staticcheck budget passed.
Each mutation below was applied alone, caused a test failure, and was restored. The command for each row was CGO_ENABLED=0 go test <package> -run '^<test>$' -count=1.
| Guard removed | Package | Failing test | | --- | --- | --- | | Non-login shell | ./internal/runner | TestTrialDedicatedIdentity/shell | | Locked password | ./internal/runner | TestTrialDedicatedIdentity/password | | Paseo home inside own home | ./internal/runner | TestTrialDedicatedIdentity/outside | | Reject unrelated UID processes | ./internal/runner | TestTrialDedicatedProcessInventory/shared | | Verify installed Paseo CLI | ./internal/runner | TestTrialDedicatedProcessInventory/unrelated-node | | Dedicated UID trial capability | ./internal/runner/paseo | TestTrialSharedUIDRefused | | Server requires dedicated UID | ./internal/equipotest | TestSupervisedTrialConsent/dedicated | | Terminal account mismatch | ./internal/equipo/team | TestTrialAccountMismatchNoSecondAttempt | | Typed mismatch after creation | ./internal/runner/paseo | TestTrialAccountMismatchTyped | | Workspace Codex acknowledgement | ./internal/runner/workspace | TestTrialCodexRequiresSeparateAcknowledgement | | Local Codex acknowledgement | ./internal/runner | TestTrialRuntimeCodexAcknowledgement | | Current Codex acknowledgement | ./internal/runner | TestTrialRuntimeCodexAcknowledgement | | Version output limit | ./internal/runner | TestTrialVersionOutputBounded | | Strict preflight skips local read | ./internal/runner/paseo | TestTrialStrictPreflightSkipsLocalVersion | | Trial consent forces local read | ./internal/runner/paseo | TestTrialConsentForcesLocalVersion | | Failed read clears version | ./internal/runner/paseo | TestTrialVersionFailureClearsObservation | | Trial publication label | ./internal/runner/forge | TestTrialPublisherRequiresBothLabels | | Other interrupted errors wait | ./internal/runner | TestTrialOtherTurnErrorWaits | | Disable ignores stale revision | ./internal/equipotest | TestTrialDisableIgnoresStaleRunnerAndRemovedMember/revision | | Disable permits revoked runner | ./internal/equipotest | TestTrialDisableIgnoresStaleRunnerAndRemovedMember/removed | | Revoked runner keeps disable action | ./internal/equipotest | TestTrialRevokedRunnerKeepsDisableAction |
The failed-version mutation first exposed a weak fixture: its version was already empty. The corrected fixture starts with a reported version and trial consent; removing the clearing guard then failed the test. The guard was restored.
The final full gate is make ci, started in the background after these source, test and report changes, with network access and default Go caches. Its log is polled until the process exits; the five-line handback records the exit status. This report is written before that run so the final gate covers it too.
Copy awaiting review
The changed app string is trial.reconnect: trial outcome uncertain. It stays individually marked pending in internal/equipo/copy.go. The diagnostic reason dedicated_user_required is new; account_mismatch is now also a terminal attempt reason. Review these with docs/live-gate.md and this draft report. README prose is unchanged. No copy-review server was started.