Fix live-open framing and config checks
Co-Authored-By: Astra <noreply@openai.com>
18 files changed,
+2,124
−29
docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md+168 −0internal/runner/capture.go+10 −3internal/runner/capture_framing.go+46 −0internal/runner/capture_test.go+3 −3internal/runner/live_open_test.go+63 −0internal/runner/provider/account_diagnostics_test.go+88 −0internal/runner/provider/accounts.go+19 −14internal/runner/provider/codex/config_readback.go+37 −0internal/runner/provider/codex/launcher.go+5 −4internal/runner/provider/codex/live_config_test.go+64 −0internal/runner/provider/codex/testdata/live-config-0.165.0.json+991 −0internal/runner/provider/runtime_home.go+18 −4internal/runner/provider/testdata/codex-empty-home-0.165.0.json+374 −0internal/runner/testdata/claude-auth-status-2.1.312.json+8 −0internal/tryequipo/live_open_test.go+20 −0internal/tryequipo/run.go+1 −0internal/tryequipo/state.go+6 −1scripts/runner-reference-allowlist.json+203 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md b/docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md| new file mode 100644 |
| index 00000000..d60599b2 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md |
| @@ -0,0 +1,168 @@ |
| +# Live open failures |
| + |
| +The Claude auth framing bug, Codex coordinator config mismatch, and guide |
| +path diagnostic are fixed. Codex specialist containment still needs the |
| +next authenticated observation. Its guards remain strict, with reason codes |
| +that distinguish the failing checks. This branch is not live-certified. |
| + |
| +## Causes and confidence |
| + |
| +| Symptom | Cause and evidence | Confidence and result | |
| +| --- | --- | --- | |
| +| Claude open ends with SIGKILL and `runner.invalid` | Claude 2.1.312 `auth status --json` writes one indented JSON document. The production capture loop treated its first line, `{`, as a complete frame. `AppendFrame` rejected it and capture called `Contain`, producing signal 9. See `internal/runner/capture.go:241`, `:318`, and the recorded empty-home output in `internal/runner/testdata/claude-auth-status-2.1.312.json`. | High for the framing defect and kill mechanism. The real authenticated output was not inspected. The production-capture regression reproduced the failure before the fix. | |
| +| Codex coordinator rejects config | Saved `codex-Coordinator/capture.json`, response `equipo:3`, retains `tools.update_plan.enabled=false` and `tools.experimental_request_user_input.enabled=false` in `sessionFlags`, but effective `config.tools` is exactly `{"web_search":null}`. Recursive subset comparison rejected those two absent fields. The proposed `allow_login_shell` and `approvals_reviewer` leads were not the mismatch: the former is an expanded default; the latter matches `user`. | High. The saved response fails on the base and passes with the narrow exception. | |
| +| Codex specialists report containment | The saved specialist captures are null, so they do not identify the failing check. A pinned 0.165.0 app-server in an empty, network-isolated home creates `.tmp`, `goals_1.sqlite`, `installation_id`, `memories_1.sqlite`, `queue_1.sqlite`, `skills/.system`, and `tmp`. The existing runtime-home validator rejects `.tmp` first, and independently forbids `skills`. Replaying the recorded names reproduces containment. | High for the startup-layout conflict; insufficient evidence to assign that exact cause to the authenticated failures. No speculative permission change. Added diagnostics identify lease, probe, or post-preflight runtime-policy failure. | |
| +| Every calibration reports policy rejection | All opens failed, so every saved certification has null usage. `internal/directlive/driver.go:117` pools those empty samples and still invokes calibration at `:131`; `internal/directlive/probes.go:149` calls `DirectReservations`, which rejects absent samples (`internal/runner/provider/direct_certification.go:77`). | High. Consequence of failed opens, not a second provider config failure. Unknown usage remains unknown; calibration is unchanged. | |
| +| Guide reports `forge` for a private-directory failure | `Wizard.Run` retained its last configuration-field phase while creating runner directories and writing bindings. `privateDir` omitted the offending path from policy errors. | High. The phase now names the runner root, and the directory error includes the actual path. | |
| + |
| +The saved evidence was read only from |
| +`~/.local/share/equipo/try/run-2425960409/`. Files under |
| +`~/.local/share/equipo/accounts/` were only listed and statted. No account |
| +file contents were read, copied, printed, or hashed. No existing Equipo |
| +state was changed. No sign-in, live gate, authenticated CLI call, merge, |
| +default-branch push, deployment, or copy-review server was run. |
| + |
| +The coordinator cannot explain the earlier specialist failures by running first: |
| +`runRoles` schedules it last (`internal/directlive/driver.go:54`), and each |
| +exercise opens a fresh lease. Source-home SQLite files are not copied by |
| +`AccountLease.stage`; the runtime guard inspects the staged home, not the |
| +source account directory. These details rule out those two proposed paths, |
| +but do not identify the exact failed authenticated check. |
| + |
| +## Fix boundaries |
| + |
| +`internal/runner/capture_framing.go:16` selects document framing only for the |
| +exact launcher-generated auth command, Claude 2.1.312, and a matching |
| +manifest hash. It reads at most 1 MiB plus one byte, requires one JSON object, |
| +and rejects duplicate keys or trailing documents. Agent streams keep their |
| +existing line framing. Invalid output gets a fixed `stdout_invalid_json` |
| +reason without echoing output bytes. |
| + |
| +`internal/runner/provider/codex/config_readback.go:9` accepts only the recorded |
| +omission, only for a hashed coordinator manifest at 0.165.0. Both requested |
| +tools must be exactly disabled, and effective tools must be exactly the |
| +recorded `{"web_search":null}` object. The original settings are still |
| +checked against the full command-line layer. Other configured fields, |
| +approvals, config layers, origins, and the MCP server inventory remain checked. |
| +Live certification must still verify the available tools before a release. |
| +The fixture preserves response `equipo:3`; `/home/paulca` was replaced with |
| +`/home/fixture`. It contains no account response or credentials. |
| + |
| +`internal/runner/provider/accounts.go` and `runtime_home.go` now attach fixed |
| +reason codes to containment failures. They never include file contents, |
| +arbitrary filenames, or underlying filesystem errors. Known Codex startup |
| +artifacts get fixed categories, such as `runtime_codex_tmp`. This does not |
| +allow those artifacts or bypass identity, permissions, refresh, or policy |
| +checks. In particular, bundled skills are still rejected. |
| + |
| +`internal/tryequipo/run.go:90` sets the phase to the runner directory. |
| +`internal/tryequipo/state.go:72` adds the actual failing directory to the |
| +existing error. For the reported case it names |
| +`/home/paulca/.local/share/equipo-runner`. Existing reviewed guide wording is |
| +reused; no new app copy or README prose was added. |
| + |
| +## Reproductions and verification |
| + |
| +Both binary probes used the pinned executables under |
| +`~/.local/share/equipo/try/bin`, with separate fresh empty homes under the |
| +on-disk `$TMPDIR`. SHA-256 checks matched both adapter pins: |
| +Claude `4f4178ce41d83e23341ebfbaecdbcf8ea6bf7baea0690025abe49eeec3a5d01d` |
| +and Codex `c06a67fd8ac76508dc78bd99ce20c9f317b8d568beda59485f3f4134df9962d5`. |
| +Bubblewrap used `--unshare-all --die-with-parent |
| +--new-session`, read-only `/usr` and binary mounts, `/proc`, `/dev`, a private |
| +`/tmp`, and only the new home and workspace as writable mounts. The environment |
| +was cleared, with `HOME` and the provider home set to `/home/runner`. |
| + |
| +- Claude command: `/opt/claude --setting-sources '' auth status --json`, |
| + with updater and nonessential traffic disabled. Exit 1, empty stderr, |
| + indented JSON with `loggedIn:false`. The stdout fixture is byte-for-byte. |
| +- Codex command: `/opt/codex app-server --strict-config --listen stdio:// -c |
| + features.remote_control=false`. Sent `initialize` with experimental API, |
| + `initialized`, then `account/read` with `refreshToken:false`. Account was |
| + null. No thread or turn was started. Only path names and file kinds were |
| + retained in `internal/runner/provider/testdata/codex-empty-home-0.165.0.json`. |
| + This minimal startup probe was not the full specialist policy. |
| + |
| +All Go commands used `CGO_ENABLED=0 GOTOOLCHAIN=go1.26.10`, with default Go |
| +caches. Tests were written before implementation: |
| + |
| +```sh |
| +go test ./internal/runner ./internal/runner/provider/codex ./internal/tryequipo \ |
| + -run 'TestDirectClaudeAuthDocument|TestDirectFrameDiagnosticNoContents|TestCodexLiveConfig|TestPrivateDirectoryFailureNamesPath' -count=1 |
| +go test ./internal/runner/provider -run '^TestAccountContainmentDiagnostics$' -count=1 |
| +go test ./internal/runner/provider -run '^TestAccountRecordedCodexRuntimeRefused$' -count=1 |
| +``` |
| + |
| +The first command failed on auth framing, opaque frame errors, the saved |
| +Codex config, and the missing directory path. All five diagnostic subtests |
| +in the second command failed before their fixes. The inventory replay in |
| +the third failed to identify the startup directory before the diagnostic |
| +change. All pass after implementation. |
| + |
| +Guard mutations were applied separately and restored immediately. Each |
| +command below failed by assertion, not by a compile error: |
| + |
| +| Temporary break | Command after `go test` | |
| +| --- | --- | |
| +| Accept any nonempty Claude version for document framing | `./internal/runner -run '^TestDirectClaudeAuthDocument/other-version$' -count=1` | |
| +| Remove the exact auth argv comparison | `./internal/runner -run '^TestDirectClaudeAuthDocument/(stream\|extra-arg)$' -count=1` | |
| +| Bypass config validation | `./internal/runner/provider/codex -run '^TestCodexLiveConfigStrict$' -count=1` | |
| +| Bypass runtime entry checks | `./internal/runner/provider -run '^TestAccount(ContainmentDiagnostics\|RecordedCodexRuntimeRefused)$' -count=1` | |
| +| Drop the failing path from the guide error | `./internal/tryequipo -run '^TestPrivateDirectoryFailureNamesPath$' -count=1` | |
| + |
| +After restoring all guards, the targeted suite was run with: |
| + |
| +```sh |
| +go test ./internal/runner ./internal/runner/provider/... ./internal/tryequipo \ |
| + -run 'TestAccountContainmentDiagnostics|TestAccountRecordedCodexRuntimeRefused|TestDirectClaudeAuthDocument|TestDirectFrameDiagnosticNoContents|TestCodexLiveConfig|TestPrivateDirectoryFailureNamesPath|TestDirectJournalFailureContains|TestCodexRecorded|TestPlanWorkflowProviderPoliciesLauncher|TestCoordinatorOnlyMCPServer|TestAccount' \ |
| + -count=1 |
| +``` |
| + |
| +The first `make -k ci` completed with two causes of failure: the supplied |
| +brief lacked two reference-inventory entries, and the runner test package |
| +was 14 lines over its existing limit. The inventory issue also failed |
| +`TestDirectDeadReferencesRepository`. All other checks passed. The runner |
| +package took 350.106 seconds against its 330-second local advisory budget; |
| +the budget was not raised. |
| + |
| +The frame diagnostic assertion now shares the existing malformed-frame |
| +case in `TestDirectJournalFailureContains`, preserving all coverage and |
| +bringing the runner tests to exactly 8,800 lines. The reference inventory |
| +includes exact, reasoned entries for the supplied brief and new artifacts. |
| + |
| +The first full rerun of `make -k ci` passed (exit 0): reference inventory, |
| +build, vet, formatting, staticcheck, govulncheck, gitleaks, size budgets, |
| +all tests, adapter checks, namespace checks, migration check, and performance. |
| +The main suite ran 27 packages with no cached results and no failures. |
| +The runner package took 299.643 seconds, within its 330-second limit. |
| +The performance lane passed, including a 101 ms median cold boot against |
| +500 ms. There were two full gate runs total, with no second rerun needed. |
| +`EQUIPO_LIVE_DIRECT` and `EQUIPO_LIVE_CONFIG` were unset. |
| + |
| +The standalone frame-diagnostic test named in the initial failing command |
| +was consolidated into `TestDirectJournalFailureContains/malformed` for the |
| +size gate. After consolidation, `go test ./internal/runner -run |
| +'TestDirectClaudeAuthDocument|TestDirectJournalFailureContains' -count=1` |
| +also passed. Temporary guard mutations were all restored before either |
| +full gate. |
| + |
| +## Next authenticated observation |
| + |
| +Only Paul may authorize and run a new live trial. Retain its |
| +`tuple-completed.json`, `capture.json`, and `certification.json`. The new |
| +Codex error prefix separates these cases: |
| + |
| +- `codex_preflight_lease`: source or runtime identity/credential validation |
| + failed before the probe. The fixed suffix identifies which check. |
| +- `codex_preflight_probe`: process/identity/config readback or post-probe |
| + account validation failed. |
| +- `codex_open_runtime_policy` with `runtime_codex_tmp` or |
| + `runtime_policy_entry`: the CLI created startup files that conflict with |
| + the strict runtime policy. |
| + |
| +If an unexpected entry remains, capture only its path, type, mode, owner, |
| +link count, size, and mtime before the disposable runtime home is removed. |
| +Do not capture credential, SQLite, or skill contents. Any policy adjustment |
| +needs evidence that the particular files cannot introduce tools or settings; |
| +the empty-home observation alone does not establish that. No claim is made |
| +that the next authenticated run will pass. |
diff --git a/internal/runner/capture.go b/internal/runner/capture.go| index 8e4b75a3..ad6fc775 100644 |
| --- a/internal/runner/capture.go |
| +++ b/internal/runner/capture.go |
| @@ -7,6 +7,7 @@ import ( |
| "database/sql" |
| "encoding/json" |
| "errors" |
| + "fmt" |
| "io" |
| "strings" |
| "sync" |
| @@ -237,10 +238,10 @@ func (f *captureFactory) Open(ctx context.Context, p provider.Process, l provide |
| } |
| diagnostics <- e |
| }() |
| - reader := bufio.NewReaderSize(stdout, MaxFrameBytes+2) |
| + reader := stdoutFrames{reader: bufio.NewReaderSize(stdout, MaxFrameBytes+2), document: claudeAuthDocument(l)} |
| var seq int64 |
| for { |
| - raw, e := reader.ReadSlice('\n') |
| + raw, e := reader.read() |
| if e == io.EOF && len(raw) == 0 { |
| break |
| } |
| @@ -308,9 +309,15 @@ func (f *captureFactory) Open(ctx context.Context, p provider.Process, l provide |
| return &provider.Capture{Input: ci, Frames: frames, Done: done, Diagnostics: func() string { diagnosticMu.Lock(); defer diagnosticMu.Unlock(); return diagnosticText }}, nil |
| } |
| func (j *Journal) AppendFrame(ctx context.Context, attempt, stream string, seq int64, frame []byte) error { |
| - if attempt == "" || stream == "" || seq <= 0 || len(frame) > MaxFrameBytes || !uniqueFrame(frame) { |
| + if attempt == "" || stream == "" || seq <= 0 { |
| return runnerproto.ErrInvalid |
| } |
| + if len(frame) > MaxFrameBytes { |
| + return fmt.Errorf("stdout_frame_too_large: %w", runnerproto.ErrInvalid) |
| + } |
| + if !uniqueFrame(frame) { |
| + return fmt.Errorf("stdout_invalid_json: %w", runnerproto.ErrInvalid) |
| + } |
| body := redactFrame(frame) |
| if len(body) > MaxFrameBytes { |
| return runnerproto.ErrInvalid |
diff --git a/internal/runner/capture_framing.go b/internal/runner/capture_framing.go| new file mode 100644 |
| index 00000000..bb5674ab |
| --- /dev/null |
| +++ b/internal/runner/capture_framing.go |
| @@ -0,0 +1,46 @@ |
| +package runner |
| + |
| +import ( |
| + "bufio" |
| + "encoding/json" |
| + "fmt" |
| + "io" |
| + "slices" |
| + |
| + "amadan.net/oficina/equipo/internal/runner/provider" |
| + "amadan.net/oficina/equipo/internal/runnerproto" |
| +) |
| + |
| +// Claude 2.1.312 auth status writes one indented document. Agent sessions |
| +// still require one complete JSON object per line. |
| +func claudeAuthDocument(l provider.Launch) bool { |
| + var m struct{ Argv []string } |
| + want := []string{"/opt/claude", "--setting-sources", "", "--settings", provider.SettingsPath, "--strict-mcp-config", "--mcp-config", provider.MCPPath, "--disable-slash-commands", "auth", "status", "--json"} |
| + return l.Selection.Provider == "claude" && l.Binding.Expected.ProviderVersion == "2.1.312" && l.Policy.ManifestHash == provider.DigestDirectEvidence(l.Policy.Manifest) && json.Unmarshal(l.Policy.Manifest, &m) == nil && slices.Equal(m.Argv, want) |
| +} |
| + |
| +type stdoutFrames struct { |
| + reader *bufio.Reader |
| + document, consumed bool |
| +} |
| + |
| +func (r *stdoutFrames) read() ([]byte, error) { |
| + if !r.document { |
| + return r.reader.ReadSlice('\n') |
| + } |
| + if r.consumed { |
| + return nil, io.EOF |
| + } |
| + r.consumed = true |
| + raw, err := io.ReadAll(io.LimitReader(r.reader, MaxFrameBytes+1)) |
| + if err != nil { |
| + return nil, err |
| + } |
| + if len(raw) > MaxFrameBytes { |
| + return nil, fmt.Errorf("stdout_document_too_large: %w", runnerproto.ErrInvalid) |
| + } |
| + if !uniqueFrame(raw) { |
| + return nil, fmt.Errorf("stdout_invalid_json: %w", runnerproto.ErrInvalid) |
| + } |
| + return raw, nil |
| +} |
diff --git a/internal/runner/capture_test.go b/internal/runner/capture_test.go| index e47c8f0f..6ff2ccad 100644 |
| --- a/internal/runner/capture_test.go |
| +++ b/internal/runner/capture_test.go |
| @@ -126,7 +126,7 @@ func TestDirectJournalFailureContains(t *testing.T) { |
| case "unterminated": |
| raw = `{"type":"system"}` |
| case "malformed": |
| - raw = "nope\n" |
| + raw = "secret-sentinel\n" |
| case "duplicate-key": |
| raw = "{\"type\":1,\"type\":2}\n" |
| case "oversized": |
| @@ -184,8 +184,8 @@ func TestDirectJournalFailureContains(t *testing.T) { |
| case <-time.After(2 * time.Second): |
| t.Fatal("capture blocked") |
| } |
| - if err = <-cap.Done; err == nil || !p.stopped.Load() { |
| - t.Fatalf("not contained: %v", err) |
| + if err = <-cap.Done; err == nil || !p.stopped.Load() || (kind == "malformed" && (!strings.Contains(err.Error(), "stdout_invalid_json") || strings.Contains(err.Error(), "secret-sentinel"))) { |
| + t.Fatalf("not contained or unsafe diagnostic: %v", err) |
| } |
| }) |
| } |
diff --git a/internal/runner/live_open_test.go b/internal/runner/live_open_test.go| new file mode 100644 |
| index 00000000..92f46c58 |
| --- /dev/null |
| +++ b/internal/runner/live_open_test.go |
| @@ -0,0 +1,63 @@ |
| +package runner |
| + |
| +import ( |
| + "context" |
| + "encoding/json" |
| + "io" |
| + "os" |
| + "strings" |
| + "testing" |
| + |
| + "amadan.net/oficina/equipo/internal/runner/provider" |
| +) |
| + |
| +func TestDirectClaudeAuthDocument(t *testing.T) { |
| + recorded, err := os.ReadFile("testdata/claude-auth-status-2.1.312.json") |
| + mustJournal(t, err) |
| + for _, mode := range []string{"auth", "stream", "other-version", "extra-arg", "tampered-manifest", "other-provider", "duplicate", "trailing", "oversized"} { |
| + t.Run(mode, func(t *testing.T) { |
| + j, l, _, p := directFixture(t, "claude") |
| + args := []string{"/opt/claude", "--setting-sources", "", "--settings", provider.SettingsPath, "--strict-mcp-config", "--mcp-config", provider.MCPPath, "--disable-slash-commands", "auth", "status", "--json"} |
| + raw := string(recorded) |
| + switch mode { |
| + case "stream": |
| + args = []string{"/opt/claude", "-p", "--output-format", "stream-json"} |
| + case "other-version": |
| + l.Binding.Expected.ProviderVersion = "other" |
| + case "other-provider": |
| + l.Selection.Provider = "codex" |
| + case "extra-arg": |
| + args = append(args, "--unknown") |
| + case "duplicate": |
| + raw = "{\n\"loggedIn\":false,\n\"loggedIn\":true\n}\n" |
| + case "trailing": |
| + raw += "{}\n" |
| + case "oversized": |
| + raw = "{\"secret\":\"" + strings.Repeat("x", MaxFrameBytes) + "\"}\n" |
| + } |
| + l.Policy.Manifest, _ = json.Marshal(map[string]any{"Argv": args}) |
| + l.Policy.ManifestHash = provider.DigestDirectEvidence(l.Policy.Manifest) |
| + if mode == "tampered-manifest" { |
| + l.Policy.ManifestHash = "wrong" |
| + } |
| + // Replace the fixture's pre-recorded launch before opening capture. |
| + _, err = j.db.Exec("DELETE FROM direct_attempts") |
| + mustJournal(t, err) |
| + p.out = io.NopCloser(strings.NewReader(raw)) |
| + cap, err := NewCaptureFactory(j).Open(context.Background(), p, l) |
| + mustJournal(t, err) |
| + var frames []provider.Frame |
| + for frame := range cap.Frames { |
| + frames = append(frames, frame) |
| + } |
| + err = <-cap.Done |
| + if mode == "auth" { |
| + if err != nil || len(frames) != 1 || !json.Valid(frames[0].Bytes) || p.stopped.Load() { |
| + t.Fatalf("auth document: frames=%d stopped=%v error=%v", len(frames), p.stopped.Load(), err) |
| + } |
| + } else if err == nil || !p.stopped.Load() || len(frames) != 0 { |
| + t.Fatalf("unsafe framing accepted: %v, %d", err, len(frames)) |
| + } |
| + }) |
| + } |
| +} |
diff --git a/internal/runner/provider/account_diagnostics_test.go b/internal/runner/provider/account_diagnostics_test.go| new file mode 100644 |
| index 00000000..7fca0e84 |
| --- /dev/null |
| +++ b/internal/runner/provider/account_diagnostics_test.go |
| @@ -0,0 +1,88 @@ |
| +package provider |
| + |
| +import ( |
| + "context" |
| + "encoding/json" |
| + "errors" |
| + "os" |
| + "path/filepath" |
| + "strings" |
| + "testing" |
| +) |
| + |
| +func TestAccountContainmentDiagnostics(t *testing.T) { |
| + for _, kind := range []string{"runtime-credential", "source-identity", "runtime-directory", "runtime-policy", "runtime-entry"} { |
| + t.Run(kind, func(t *testing.T) { |
| + b, r := accountFixture(t) |
| + l := openFixture(t, b, r) |
| + preflightFixture(t, l) |
| + want := "" |
| + switch kind { |
| + case "runtime-credential": |
| + if err := os.Chmod(filepath.Join(l.runtime, "auth.json"), 0644); err != nil { |
| + t.Fatal(err) |
| + } |
| + want = "runtime_credential" |
| + case "source-identity": |
| + if err := os.Chmod(filepath.Join(b.Home, IdentityFile), 0644); err != nil { |
| + t.Fatal(err) |
| + } |
| + want = "source_identity_file" |
| + case "runtime-directory": |
| + if err := os.Chmod(l.runtime, 0755); err != nil { |
| + t.Fatal(err) |
| + } |
| + defer os.Chmod(l.runtime, 0700) |
| + want = "runtime_directory" |
| + case "runtime-policy": |
| + if err := os.Mkdir(filepath.Join(l.runtime, "skills"), 0700); err != nil { |
| + t.Fatal(err) |
| + } |
| + want = "runtime_policy_entry" |
| + case "runtime-entry": |
| + writeFake(t, filepath.Join(l.runtime, "secret-sentinel"), "secret-sentinel") |
| + want = "runtime_unexpected_entry" |
| + } |
| + err := l.ValidatePolicy(context.Background()) |
| + if !errors.Is(err, ErrContainment) || !strings.Contains(err.Error(), want) || strings.Contains(err.Error(), "secret-sentinel") { |
| + t.Fatalf("opaque or unsafe diagnostic: %v", err) |
| + } |
| + }) |
| + } |
| +} |
| + |
| +// Replay only names and file kinds from the empty-home probe. No bundled |
| +// skill text or SQLite contents are needed to exercise the guard. |
| +func TestAccountRecordedCodexRuntimeRefused(t *testing.T) { |
| + raw, err := os.ReadFile("testdata/codex-empty-home-0.165.0.json") |
| + if err != nil { |
| + t.Fatal(err) |
| + } |
| + var inventory struct { |
| + Entries []struct { |
| + Path string |
| + Directory bool |
| + } |
| + } |
| + if err = json.Unmarshal(raw, &inventory); err != nil { |
| + t.Fatal(err) |
| + } |
| + b, r := accountFixture(t) |
| + l := openFixture(t, b, r) |
| + preflightFixture(t, l) |
| + for _, entry := range inventory.Entries { |
| + path := filepath.Join(l.runtime, entry.Path) |
| + if entry.Directory { |
| + err = os.MkdirAll(path, 0700) |
| + } else { |
| + err = os.WriteFile(path, []byte("fixture"), 0600) |
| + } |
| + if err != nil { |
| + t.Fatal(err) |
| + } |
| + } |
| + err = l.ValidatePolicy(context.Background()) |
| + if !errors.Is(err, ErrContainment) || !strings.Contains(err.Error(), "runtime_codex_tmp") { |
| + t.Fatalf("startup directory not identified: %v", err) |
| + } |
| +} |
diff --git a/internal/runner/provider/accounts.go b/internal/runner/provider/accounts.go| index f05c0b92..a0f45039 100644 |
| --- a/internal/runner/provider/accounts.go |
| +++ b/internal/runner/provider/accounts.go |
| @@ -8,6 +8,7 @@ import ( |
| "encoding/hex" |
| "encoding/json" |
| "errors" |
| + "fmt" |
| "io" |
| "os" |
| "os/user" |
| @@ -268,11 +269,11 @@ func (l *AccountLease) sourceUnchanged() bool { |
| func (l *AccountLease) snapshot() ([]byte, [32]byte, error) { |
| var zero [32]byte |
| if !l.sourceUnchanged() { |
| - return nil, zero, ErrContainment |
| + return nil, zero, accountContainment("source_directory") |
| } |
| metadata, e := readPrivate(l.dir, IdentityFile) |
| if e != nil { |
| - return nil, zero, ErrContainment |
| + return nil, zero, accountContainment("source_identity_file") |
| } |
| metadata, e = canonical(metadata) |
| if e != nil { |
| @@ -286,7 +287,7 @@ func (l *AccountLease) snapshot() ([]byte, [32]byte, error) { |
| } |
| raw, e := readPrivate(l.dir, credentialName(l.source.Provider)) |
| if e != nil { |
| - return nil, zero, ErrContainment |
| + return nil, zero, accountContainment("source_credential") |
| } |
| if credentialsExpired(raw, time.Now()) { |
| return nil, zero, ErrAccountMaintenance |
| @@ -314,12 +315,12 @@ func (l *AccountLease) snapshot() ([]byte, [32]byte, error) { |
| func (l *AccountLease) runtimeDir() (*os.File, error) { |
| f, e := pinDirectory(l.runtime) |
| if e != nil { |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_directory") |
| } |
| info, e := f.Stat() |
| if e != nil || !os.SameFile(info, l.runtimeInfo) || !privateDirectory(f) { |
| f.Close() |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_directory") |
| } |
| return f, nil |
| } |
| @@ -406,22 +407,22 @@ func (l *AccountLease) runtimeSnapshot() ([]byte, error) { |
| defer dir.Close() |
| metadata, e := readPrivate(dir, IdentityFile) |
| if e != nil { |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_identity_file") |
| } |
| metadata, e = canonical(metadata) |
| var id Identity |
| if e != nil || json.Unmarshal(metadata, &id) != nil || id != l.source.Expected { |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_identity_changed") |
| } |
| if l.source.Provider == "claude" { |
| native, e := claudeAccountMetadata(dir) |
| if e != nil || !bytes.Equal(native, l.claudeIdentity) { |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_claude_identity") |
| } |
| } |
| raw, e := readPrivate(dir, credentialName(l.source.Provider)) |
| if e != nil { |
| - return nil, ErrContainment |
| + return nil, accountContainment("runtime_credential") |
| } |
| return raw, nil |
| } |
| @@ -452,7 +453,7 @@ func (l *AccountLease) latch(err error) { |
| func (l *AccountLease) validate(ctx context.Context) (err error) { |
| defer func() { l.latch(err) }() |
| if l.contained { |
| - return ErrContainment |
| + return accountContainment("latched") |
| } |
| if e := ctx.Err(); e != nil { |
| return e |
| @@ -464,18 +465,18 @@ func (l *AccountLease) validate(ctx context.Context) (err error) { |
| if e != nil { |
| l.ready = false |
| if l.active { |
| - return ErrContainment |
| + return accountContainment("active_source_snapshot") |
| } |
| return e |
| } |
| if generation != l.generation && l.active { |
| l.ready = false |
| - return ErrContainment |
| + return accountContainment("active_source_changed") |
| } |
| runtimeRaw, runtimeErr := l.runtimeSnapshot() |
| if runtimeErr != nil { |
| l.ready = false |
| - return ErrContainment |
| + return runtimeErr |
| } |
| if sha256.Sum256(runtimeRaw) != l.runtimeGeneration { |
| l.ready = false |
| @@ -534,7 +535,7 @@ func (l *AccountLease) check(ctx context.Context, probe func(context.Context, Bi |
| if runtimeErr != nil { |
| l.contained = true |
| l.mu.Unlock() |
| - return ErrContainment |
| + return runtimeErr |
| } |
| if !refresh && sha256.Sum256(runtimeCurrent) != l.runtimeGeneration { |
| l.mu.Unlock() |
| @@ -806,3 +807,7 @@ func (l *AccountLease) PreflightFingerprint(ctx context.Context) (string, error) |
| sum := sha256.Sum256(raw) |
| return hex.EncodeToString(sum[:]), nil |
| } |
| + |
| +func accountContainment(reason string) error { |
| + return fmt.Errorf("%w: %s", ErrContainment, reason) |
| +} |
diff --git a/internal/runner/provider/codex/config_readback.go b/internal/runner/provider/codex/config_readback.go| new file mode 100644 |
| index 00000000..ea345a96 |
| --- /dev/null |
| +++ b/internal/runner/provider/codex/config_readback.go |
| @@ -0,0 +1,37 @@ |
| +package codex |
| + |
| +import ( |
| + "encoding/json" |
| + |
| + "amadan.net/oficina/equipo/internal/runner/provider" |
| +) |
| + |
| +func effectiveConfigMatches(p provider.Policy, got map[string]json.RawMessage) bool { |
| + if configSubset(p.Settings, marshal(got)) { |
| + return true |
| + } |
| + var m struct{ ProviderVersion string } |
| + if !p.Coordinator() || json.Unmarshal(p.Manifest, &m) != nil || m.ProviderVersion != Version { |
| + return false |
| + } |
| + var want map[string]json.RawMessage |
| + if json.Unmarshal(p.Settings, &want) != nil { |
| + return false |
| + } |
| + // 0.165.0 keeps these two disabled flags in the session layer but omits |
| + // them from typed effective config. The unmodified layer is checked too. |
| + var tools, effective map[string]json.RawMessage |
| + if json.Unmarshal(want["tools"], &tools) != nil || len(tools) != 2 || json.Unmarshal(got["tools"], &effective) != nil { |
| + return false |
| + } |
| + if len(effective) != 1 || !sameJSON(effective["web_search"], []byte(`null`)) { |
| + return false |
| + } |
| + for _, key := range []string{"update_plan", "experimental_request_user_input"} { |
| + if !sameJSON(tools[key], []byte(`{"enabled":false}`)) { |
| + return false |
| + } |
| + } |
| + delete(want, "tools") |
| + return configSubset(marshal(want), marshal(got)) |
| +} |
diff --git a/internal/runner/provider/codex/launcher.go b/internal/runner/provider/codex/launcher.go| index a5ce2d9f..4fdc7d86 100644 |
| --- a/internal/runner/provider/codex/launcher.go |
| +++ b/internal/runner/provider/codex/launcher.go |
| @@ -7,6 +7,7 @@ import ( |
| "encoding/hex" |
| "encoding/json" |
| "errors" |
| + "fmt" |
| "io" |
| "path/filepath" |
| "reflect" |
| @@ -349,7 +350,7 @@ func validateConfig(raw []byte, p provider.Policy) error { |
| var want map[string]json.RawMessage |
| json.Unmarshal(p.Settings, &want) |
| // The pinned binary expands defaults; configured values must still match. |
| - if !configSubset(p.Settings, marshal(v.Config)) { |
| + if !effectiveConfigMatches(p, v.Config) { |
| return provider.ErrPolicy |
| } |
| var expectedMCP, effectiveMCP map[string]json.RawMessage |
| @@ -449,13 +450,13 @@ func (l *Launcher) preflight(ctx context.Context, b provider.Binding, lease *pro |
| } |
| e := lease.Validate(ctx) |
| if errors.Is(e, provider.ErrContainment) { |
| - return observed, e |
| + return observed, fmt.Errorf("codex_preflight_lease: %w", e) |
| } |
| if errors.Is(e, provider.ErrRefreshPending) { |
| return observed, provider.ErrAccountMaintenance |
| } |
| if e = lease.Preflight(ctx, probe); e != nil { |
| - return observed, e |
| + return observed, fmt.Errorf("codex_preflight_probe: %w", e) |
| } |
| _, e = provider.BuildPolicy(b, in) |
| return observed, e |
| @@ -499,7 +500,7 @@ func (l *Launcher) Open(ctx context.Context, launch provider.Launch) (provider.S |
| return provider.Session{}, e |
| } |
| if e = lease.ValidatePolicy(ctx); e != nil { |
| - return provider.Session{}, e |
| + return provider.Session{}, fmt.Errorf("codex_open_runtime_policy: %w", e) |
| } |
| attempt, cancel := context.WithCancel(ctx) |
| s := &sessionState{launch: launch, lease: lease, ctx: attempt, cancel: cancel, events: make(chan provider.Event, 128), done: make(chan struct{}), used: map[string]bool{}} |
diff --git a/internal/runner/provider/codex/live_config_test.go b/internal/runner/provider/codex/live_config_test.go| new file mode 100644 |
| index 00000000..0e05f9fb |
| --- /dev/null |
| +++ b/internal/runner/provider/codex/live_config_test.go |
| @@ -0,0 +1,64 @@ |
| +package codex |
| + |
| +import ( |
| + "encoding/json" |
| + "os" |
| + "testing" |
| + |
| + "amadan.net/oficina/equipo/internal/runner/provider" |
| +) |
| + |
| +func liveConfig(t *testing.T) (map[string]any, provider.Policy) { |
| + t.Helper() |
| + raw, err := os.ReadFile("testdata/live-config-0.165.0.json") |
| + if err != nil { |
| + t.Fatal(err) |
| + } |
| + var frame struct{ Result map[string]any } |
| + if err = json.Unmarshal(raw, &frame); err != nil { |
| + t.Fatal(err) |
| + } |
| + settings := marshal(frame.Result["layers"].([]any)[0].(map[string]any)["config"]) |
| + manifest := marshal(map[string]any{"Action": "coordinate", "ProviderVersion": Version}) |
| + return frame.Result, provider.Policy{Settings: settings, Manifest: manifest, ManifestHash: provider.DigestDirectEvidence(manifest)} |
| +} |
| +func TestCodexLiveConfigReadback(t *testing.T) { |
| + v, p := liveConfig(t) |
| + if err := validateConfig(marshal(v), p); err != nil { |
| + t.Fatal(err) |
| + } |
| +} |
| +func TestCodexLiveConfigStrict(t *testing.T) { |
| + for _, mode := range []string{"enabled-tool", "unknown-tool", "missing-feature", "changed-approval", "changed-layer", "extra-server", "other-action", "other-version"} { |
| + t.Run(mode, func(t *testing.T) { |
| + v, p := liveConfig(t) |
| + cfg := v["config"].(map[string]any) |
| + switch mode { |
| + case "enabled-tool": |
| + cfg["tools"].(map[string]any)["update_plan"] = map[string]any{"enabled": true} |
| + case "unknown-tool": |
| + cfg["tools"].(map[string]any)["unknown"] = map[string]any{"enabled": false} |
| + case "missing-feature": |
| + delete(cfg["features"].(map[string]any), "shell_tool") |
| + case "changed-approval": |
| + cfg["approvals_reviewer"] = "auto_review" |
| + case "changed-layer": |
| + v["layers"].([]any)[0].(map[string]any)["config"].(map[string]any)["tools"].(map[string]any)["update_plan"] = map[string]any{"enabled": true} |
| + case "extra-server": |
| + cfg["mcp_servers"].(map[string]any)["other"] = map[string]any{} |
| + case "other-action", "other-version": |
| + m := map[string]any{"Action": "coordinate", "ProviderVersion": Version} |
| + if mode == "other-action" { |
| + m["Action"] = "implement" |
| + } else { |
| + m["ProviderVersion"] = "other" |
| + } |
| + p.Manifest = marshal(m) |
| + p.ManifestHash = provider.DigestDirectEvidence(p.Manifest) |
| + } |
| + if validateConfig(marshal(v), p) == nil { |
| + t.Fatal("unsafe readback accepted") |
| + } |
| + }) |
| + } |
| +} |
diff --git a/internal/runner/provider/codex/testdata/live-config-0.165.0.json b/internal/runner/provider/codex/testdata/live-config-0.165.0.json| new file mode 100644 |
| index 00000000..d5c6ed6f |
| --- /dev/null |
| +++ b/internal/runner/provider/codex/testdata/live-config-0.165.0.json |
| @@ -0,0 +1,991 @@ |
| +{ |
| + "id": "equipo:3", |
| + "result": { |
| + "config": { |
| + "agents": null, |
| + "allow_login_shell": true, |
| + "allow_symlinked_codex_home": null, |
| + "analytics": null, |
| + "approval_policy": "on-request", |
| + "approvals_reviewer": "user", |
| + "apps": null, |
| + "apps_mcp_product_sku": null, |
| + "audio": null, |
| + "auto_review": null, |
| + "background_terminal_max_timeout": 300000, |
| + "browser_use": null, |
| + "chatgpt_base_url": "https://chatgpt.com/backend-api/", |
| + "check_for_update_on_startup": null, |
| + "cli_auth_credentials_store": "file", |
| + "cloud": null, |
| + "compact_prompt": null, |
| + "computer_use": null, |
| + "daybreak": null, |
| + "default_permissions": "equipo", |
| + "desktop": null, |
| + "developer_instructions": null, |
| + "disable_paste_burst": null, |
| + "experimental_compact_prompt_file": null, |
| + "experimental_realtime_start_instructions": null, |
| + "experimental_realtime_webrtc_call_base_url": null, |
| + "experimental_realtime_ws_backend_prompt": null, |
| + "experimental_realtime_ws_base_url": null, |
| + "experimental_realtime_ws_model": null, |
| + "experimental_realtime_ws_startup_context": null, |
| + "experimental_thread_store": null, |
| + "experimental_thread_store_endpoint": null, |
| + "experimental_use_unified_exec_tool": null, |
| + "features": { |
| + "agent_message_board": false, |
| + "api_key_cyber_access_programs": true, |
| + "api_key_model_discovery": true, |
| + "apply_patch_freeform": false, |
| + "apps": false, |
| + "auth_elicitation": true, |
| + "background_paginated_rollout_migration": false, |
| + "browser_use": false, |
| + "browser_use_external": false, |
| + "code_mode": false, |
| + "code_mode_host": false, |
| + "code_mode_only": false, |
| + "code_mode_tool_search": false, |
| + "codex_apps_mcp_2026_07_28": false, |
| + "collaboration_modes": false, |
| + "computer_use": false, |
| + "context_management": false, |
| + "current_time_reminder": false, |
| + "default_mode_request_user_input": false, |
| + "deferred_executor": false, |
| + "goals": false, |
| + "image_generation": false, |
| + "imagegenext": false, |
| + "incremental_tools": true, |
| + "js_repl": false, |
| + "mcp_2026_07_28": false, |
| + "memories": false, |
| + "memory_tool": false, |
| + "mentions_v2": true, |
| + "multi_agent": false, |
| + "multi_agent_mode": false, |
| + "multi_agent_v2": false, |
| + "multi_agent_v2_dynamic_tools": false, |
| + "multi_env_copy_file": false, |
| + "network_proxy": null, |
| + "plugins": false, |
| + "remote_control": false, |
| + "remote_plugin": false, |
| + "request_permissions_tool": false, |
| + "runtime_agent_instances": false, |
| + "search_tool": false, |
| + "send_message_to_user_async": false, |
| + "shell_tool": false, |
| + "skill_search": false, |
| + "sleep_tool": false, |
| + "standalone_web_search": false, |
| + "token_budget": false, |
| + "tool_call_mcp_elicitation": true, |
| + "tool_search": false, |
| + "tool_suggest": false, |
| + "unified_exec": false, |
| + "view_image": false, |
| + "web_search": false, |
| + "web_search_cached": false, |
| + "web_search_request": false, |
| + "windows_sandbox_service": false |
| + }, |
| + "feedback": null, |
| + "file_opener": "vscode", |
| + "forced_chatgpt_workspace_id": null, |
| + "forced_login_method": null, |
| + "ghost_snapshot": null, |
| + "goals": null, |
| + "hide_agent_reasoning": false, |
| + "history": { |
| + "max_bytes": null, |
| + "persistence": "save-all" |
| + }, |
| + "hooks": null, |
| + "include_apps_instructions": true, |
| + "include_collaboration_mode_instructions": true, |
| + "include_environment_context": true, |
| + "include_environment_context_time": true, |
| + "include_permissions_instructions": true, |
| + "instructions": null, |
| + "js_repl_node_module_dirs": null, |
| + "js_repl_node_path": null, |
| + "log_dir": null, |
| + "marketplaces": {}, |
| + "mcp_enterprise_managed_auth": null, |
| + "mcp_oauth_callback_port": null, |
| + "mcp_oauth_callback_url": null, |
| + "mcp_oauth_credentials_store": "auto", |
| + "mcp_optional_startup_grace_ms": null, |
| + "mcp_servers": { |
| + "equipo": { |
| + "args": [ |
| + "--socket", |
| + "/tool/equipo.sock" |
| + ], |
| + "command": "/opt/equipo-tool-proxy", |
| + "enabled": true, |
| + "enabled_tools": [ |
| + "read_project", |
| + "read_task", |
| + "propose_plan", |
| + "ask_person", |
| + "route_to_task", |
| + "post_message", |
| + "suggest_preference", |
| + "suggest_specialist", |
| + "suggest_playbook" |
| + ], |
| + "environment_id": "local", |
| + "tool_timeout_sec": null |
| + } |
| + }, |
| + "memories": null, |
| + "model": "gpt-6-astra", |
| + "model_auto_compact_token_limit": null, |
| + "model_auto_compact_token_limit_scope": null, |
| + "model_catalog_json": "/config/equipo-coordinator-models.json", |
| + "model_context_window": null, |
| + "model_instructions_file": null, |
| + "model_post_turn_compact_threshold_percent": null, |
| + "model_provider": "openai", |
| + "model_providers": {}, |
| + "model_reasoning_effort": null, |
| + "model_reasoning_summary": null, |
| + "model_verbosity": null, |
| + "notice": null, |
| + "notify": null, |
| + "openai_base_url": null, |
| + "orchestrator": null, |
| + "oss_provider": null, |
| + "otel": null, |
| + "permissions": { |
| + "equipo": { |
| + "description": null, |
| + "extends": null, |
| + "filesystem": { |
| + "/config": "deny", |
| + "/dev/fd": "deny", |
| + "/egress": "deny", |
| + "/home/fixture/.claude": "deny", |
| + "/home/fixture/.codex": "deny", |
| + "/home/fixture/.local/share/equipo-runner/amadan.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/bindings.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/credentials.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/journal.db": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/private": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-1004981892": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-240644064": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-2598223264": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-281608613": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-314091796": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-3713324690": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-411082886": "deny", |
| + "/home/fixture/.local/share/equipo/scratch/homes/account-363415812": "deny", |
| + "/home/fixture/.paseo": "deny", |
| + "/home/fixture/.ssh": "deny", |
| + "/home/runner": "deny", |
| + "/proc": "deny", |
| + "/tmp": "write", |
| + "/tool": "deny", |
| + "/tool/equipo.sock": "deny", |
| + "/workspace": "read", |
| + ":root": "read", |
| + "glob_scan_max_depth": null |
| + }, |
| + "network": { |
| + "allow_local_binding": null, |
| + "allow_upstream_proxy": null, |
| + "dangerously_allow_all_unix_sockets": null, |
| + "dangerously_allow_non_loopback_proxy": null, |
| + "domains": null, |
| + "enable_socks5": null, |
| + "enable_socks5_udp": null, |
| + "enabled": false, |
| + "mitm": null, |
| + "mode": null, |
| + "proxy_url": null, |
| + "socks_url": null, |
| + "unix_sockets": null |
| + }, |
| + "workspace_roots": null |
| + } |
| + }, |
| + "personality": null, |
| + "plan_mode_reasoning_effort": null, |
| + "plugins": {}, |
| + "profile": null, |
| + "profiles": {}, |
| + "project_doc_fallback_filenames": [], |
| + "project_doc_max_bytes": 32768, |
| + "project_root_markers": [ |
| + ".git" |
| + ], |
| + "projects": null, |
| + "realtime": null, |
| + "responses_api_metadata": null, |
| + "review_model": null, |
| + "sandbox_mode": null, |
| + "sandbox_workspace_write": null, |
| + "service_tier": null, |
| + "shell_environment_policy": { |
| + "exclude": null, |
| + "experimental_use_profile": null, |
| + "filters": null, |
| + "ignore_default_excludes": null, |
| + "include_only": null, |
| + "inherit": null, |
| + "set": null |
| + }, |
| + "show_raw_agent_reasoning": null, |
| + "skills": null, |
| + "sqlite_home": null, |
| + "suppress_unstable_features_warning": null, |
| + "thread_unload_delay_secs": null, |
| + "tool_output_token_limit": null, |
| + "tool_suggest": null, |
| + "tools": { |
| + "web_search": null |
| + }, |
| + "tui": null, |
| + "web_search": "disabled", |
| + "windows": null |
| + }, |
| + "layers": [ |
| + { |
| + "config": { |
| + "approval_policy": "on-request", |
| + "approvals_reviewer": "user", |
| + "default_permissions": "equipo", |
| + "features": { |
| + "agent_message_board": false, |
| + "apply_patch_freeform": false, |
| + "apps": false, |
| + "browser_use": false, |
| + "browser_use_external": false, |
| + "code_mode": false, |
| + "code_mode_host": false, |
| + "code_mode_only": false, |
| + "code_mode_tool_search": false, |
| + "collaboration_modes": false, |
| + "computer_use": false, |
| + "context_management": false, |
| + "current_time_reminder": false, |
| + "default_mode_request_user_input": false, |
| + "deferred_executor": false, |
| + "goals": false, |
| + "image_generation": false, |
| + "imagegenext": false, |
| + "incremental_tools": true, |
| + "js_repl": false, |
| + "memories": false, |
| + "memory_tool": false, |
| + "multi_agent": false, |
| + "multi_agent_mode": false, |
| + "multi_agent_v2": false, |
| + "multi_agent_v2_dynamic_tools": false, |
| + "multi_env_copy_file": false, |
| + "plugins": false, |
| + "remote_control": false, |
| + "remote_plugin": false, |
| + "request_permissions_tool": false, |
| + "runtime_agent_instances": false, |
| + "search_tool": false, |
| + "send_message_to_user_async": false, |
| + "shell_tool": false, |
| + "skill_search": false, |
| + "sleep_tool": false, |
| + "standalone_web_search": false, |
| + "token_budget": false, |
| + "tool_call_mcp_elicitation": true, |
| + "tool_search": false, |
| + "tool_suggest": false, |
| + "unified_exec": false, |
| + "view_image": false, |
| + "web_search": false, |
| + "web_search_cached": false, |
| + "web_search_request": false |
| + }, |
| + "mcp_servers": { |
| + "equipo": { |
| + "args": [ |
| + "--socket", |
| + "/tool/equipo.sock" |
| + ], |
| + "command": "/opt/equipo-tool-proxy", |
| + "enabled_tools": [ |
| + "read_project", |
| + "read_task", |
| + "propose_plan", |
| + "ask_person", |
| + "route_to_task", |
| + "post_message", |
| + "suggest_preference", |
| + "suggest_specialist", |
| + "suggest_playbook" |
| + ] |
| + } |
| + }, |
| + "model": "gpt-6-astra", |
| + "model_catalog_json": "/config/equipo-coordinator-models.json", |
| + "model_provider": "openai", |
| + "permissions": { |
| + "equipo": { |
| + "filesystem": { |
| + "/config": "deny", |
| + "/dev/fd": "deny", |
| + "/egress": "deny", |
| + "/home/fixture/.claude": "deny", |
| + "/home/fixture/.codex": "deny", |
| + "/home/fixture/.local/share/equipo-runner/amadan.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/bindings.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/credentials.json": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/journal.db": "deny", |
| + "/home/fixture/.local/share/equipo-runner/state/private": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-1004981892": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-240644064": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-2598223264": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-281608613": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-314091796": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-3713324690": "deny", |
| + "/home/fixture/.local/share/equipo/accounts/account-411082886": "deny", |
| + "/home/fixture/.local/share/equipo/scratch/homes/account-363415812": "deny", |
| + "/home/fixture/.paseo": "deny", |
| + "/home/fixture/.ssh": "deny", |
| + "/home/runner": "deny", |
| + "/proc": "deny", |
| + "/tmp": "write", |
| + "/tool": "deny", |
| + "/tool/equipo.sock": "deny", |
| + "/workspace": "read", |
| + ":root": "read" |
| + }, |
| + "network": { |
| + "enabled": false |
| + } |
| + } |
| + }, |
| + "tools": { |
| + "experimental_request_user_input": { |
| + "enabled": false |
| + }, |
| + "update_plan": { |
| + "enabled": false |
| + } |
| + }, |
| + "web_search": "disabled" |
| + }, |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + { |
| + "config": {}, |
| + "name": { |
| + "file": "/home/runner/config.toml", |
| + "profile": null, |
| + "type": "user" |
| + }, |
| + "version": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" |
| + }, |
| + { |
| + "config": {}, |
| + "name": { |
| + "file": "/etc/codex/config.toml", |
| + "type": "system" |
| + }, |
| + "version": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" |
| + } |
| + ], |
| + "origins": { |
| + "approval_policy": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "approvals_reviewer": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "default_permissions": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.agent_message_board": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.apply_patch_freeform": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.apps": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.browser_use": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.browser_use_external": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.code_mode.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.code_mode_host": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.code_mode_only": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.code_mode_tool_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.collaboration_modes": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.computer_use": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.context_management": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.current_time_reminder": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.default_mode_request_user_input": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.deferred_executor": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.goals": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.image_generation": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.imagegenext": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.incremental_tools": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.js_repl": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.memories": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.memory_tool": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.multi_agent": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.multi_agent_mode": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.multi_agent_v2.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.multi_agent_v2_dynamic_tools": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.multi_env_copy_file": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.plugins": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.remote_control": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.remote_plugin": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.request_permissions_tool": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.runtime_agent_instances.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.search_tool": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.send_message_to_user_async": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.shell_tool": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.skill_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.sleep_tool.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.standalone_web_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.token_budget": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.tool_call_mcp_elicitation": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.tool_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.tool_suggest": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.unified_exec": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.view_image": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.web_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.web_search_cached": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "features.web_search_request": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.args.0": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.args.1": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.command": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.0": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.1": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.2": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.3": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.4": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.5": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.6": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.7": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "mcp_servers.equipo.enabled_tools.8": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "model": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "model_catalog_json": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "model_provider": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./config": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./dev/fd": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./egress": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.claude": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.codex": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/amadan.json": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/bindings.json": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/state": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/state/credentials.json": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/state/journal.db": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo-runner/state/private": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-1004981892": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-240644064": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-2598223264": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-281608613": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-314091796": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-3713324690": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/accounts/account-411082886": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.local/share/equipo/scratch/homes/account-363415812": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.paseo": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/fixture/.ssh": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./home/runner": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./proc": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./tmp": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./tool": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./tool/equipo.sock": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem./workspace": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.filesystem.:root": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "permissions.equipo.network.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "tools.experimental_request_user_input.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "tools.update_plan.enabled": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + }, |
| + "web_search": { |
| + "name": { |
| + "type": "sessionFlags" |
| + }, |
| + "version": "sha256:fb627c3ee35661bcc9a7f69cc65aca80ae8b482e569ccc04169d3bd4759742ba" |
| + } |
| + } |
| + } |
| +} |
diff --git a/internal/runner/provider/runtime_home.go b/internal/runner/provider/runtime_home.go| index be50b86a..376d8229 100644 |
| --- a/internal/runner/provider/runtime_home.go |
| +++ b/internal/runner/provider/runtime_home.go |
| @@ -11,21 +11,35 @@ func (l *AccountLease) validateRuntimeEntries() error { |
| allowed := map[string]bool{IdentityFile: true, credentialName(l.source.Provider): true, ".claude.json": true, "history.jsonl": true, "sessions": true, "archived_sessions": true, "session_index.jsonl": true, "shell_snapshots": true, "log": true, "logs": true, "debug": true, "projects": true, "todos": true, "tasks": true, "plans": true, "backups": true, "file-history": true, "telemetry": true, "statsig": true, "paste-cache": true, "downloads": true, "stats-cache.json": true, "models_cache.json": true, "version.json": true, ".last_migration": true, ".codex-global-state.json": true, "equipo-read-sentinel": true} |
| return filepath.WalkDir(l.runtime, func(path string, d fs.DirEntry, err error) error { |
| if err != nil { |
| - return ErrContainment |
| + return accountContainment("runtime_walk") |
| } |
| if path == l.runtime { |
| return nil |
| } |
| name := d.Name() |
| if d.Type()&os.ModeSymlink != 0 || d.Type()&(os.ModeSocket|os.ModeDevice|os.ModeNamedPipe) != 0 { |
| - return ErrContainment |
| + return accountContainment("runtime_special_entry") |
| } |
| switch strings.ToLower(name) { |
| case "config.toml", "agents.md", "claude.md", "settings.json", "settings.local.json", "hooks", "plugins", "skills", ".mcp.json": |
| - return ErrContainment |
| + return accountContainment("runtime_policy_entry") |
| } |
| if filepath.Dir(path) == l.runtime && !allowed[name] && !strings.HasPrefix(name, "state_") && !strings.HasPrefix(name, "logs_") { |
| - return ErrContainment |
| + if l.source.Provider == "codex" { |
| + switch name { |
| + case ".tmp", "tmp": |
| + return accountContainment("runtime_codex_tmp") |
| + case "installation_id": |
| + return accountContainment("runtime_codex_installation_id") |
| + case "goals_1.sqlite", "goals_1.sqlite-shm", "goals_1.sqlite-wal": |
| + return accountContainment("runtime_codex_goals") |
| + case "memories_1.sqlite", "memories_1.sqlite-shm", "memories_1.sqlite-wal": |
| + return accountContainment("runtime_codex_memories") |
| + case "queue_1.sqlite", "queue_1.sqlite-shm", "queue_1.sqlite-wal": |
| + return accountContainment("runtime_codex_queue") |
| + } |
| + } |
| + return accountContainment("runtime_unexpected_entry") |
| } |
| return nil |
| }) |
diff --git a/internal/runner/provider/testdata/codex-empty-home-0.165.0.json b/internal/runner/provider/testdata/codex-empty-home-0.165.0.json| new file mode 100644 |
| index 00000000..f500534e |
| --- /dev/null |
| +++ b/internal/runner/provider/testdata/codex-empty-home-0.165.0.json |
| @@ -0,0 +1,374 @@ |
| +{ |
| + "provider_version": "0.165.0", |
| + "authenticated": false, |
| + "entries": [ |
| + { |
| + "path": ".tmp", |
| + "directory": true |
| + }, |
| + { |
| + "path": ".tmp/plugins.sync.lock", |
| + "directory": false |
| + }, |
| + { |
| + "path": "goals_1.sqlite", |
| + "directory": false |
| + }, |
| + { |
| + "path": "goals_1.sqlite-shm", |
| + "directory": false |
| + }, |
| + { |
| + "path": "goals_1.sqlite-wal", |
| + "directory": false |
| + }, |
| + { |
| + "path": "installation_id", |
| + "directory": false |
| + }, |
| + { |
| + "path": "logs_2.sqlite", |
| + "directory": false |
| + }, |
| + { |
| + "path": "logs_2.sqlite-shm", |
| + "directory": false |
| + }, |
| + { |
| + "path": "logs_2.sqlite-wal", |
| + "directory": false |
| + }, |
| + { |
| + "path": "memories_1.sqlite", |
| + "directory": false |
| + }, |
| + { |
| + "path": "memories_1.sqlite-shm", |
| + "directory": false |
| + }, |
| + { |
| + "path": "memories_1.sqlite-wal", |
| + "directory": false |
| + }, |
| + { |
| + "path": "queue_1.sqlite", |
| + "directory": false |
| + }, |
| + { |
| + "path": "queue_1.sqlite-shm", |
| + "directory": false |
| + }, |
| + { |
| + "path": "queue_1.sqlite-wal", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/.codex-system-skills.marker", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/LICENSE.txt", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/SKILL.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/agents", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/agents/openai.yaml", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/assets", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/assets/imagegen-small.svg", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/assets/imagegen.png", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references/cli.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references/codex-network.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references/image-api.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references/prompting.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/references/sample-prompts.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/scripts", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/scripts/image_gen.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/imagegen/scripts/remove_chroma_key.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/LICENSE.txt", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/SKILL.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/agents", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/agents/openai.yaml", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/assets", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/assets/openai-small.svg", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/assets/openai.png", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/codex-self-knowledge.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/latest-model.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/mcp-diagnostics.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/model-migration.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/model-selection.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/official-docs.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/prompting-guide.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/upgrade-guide.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/references/upgrading-to-gpt-6-astra.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/scripts", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/scripts/fetch-codex-manual.mjs", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/scripts/resolve-latest-model-info", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/openai-docs/scripts/resolve-latest-model-info.cjs", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/review-agent", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/review-agent/SKILL.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/review-agent/agents", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/review-agent/agents/openai.yaml", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/SKILL.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/agents", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/agents/openai.yaml", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/assets", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/assets/skill-creator-small.svg", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/assets/skill-creator.png", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/license.txt", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/references", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/references/openai_yaml.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/scripts", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/scripts/generate_openai_yaml.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/scripts/init_skill.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-creator/scripts/quick_validate.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/LICENSE.txt", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/SKILL.md", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/agents", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/agents/openai.yaml", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/assets", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/assets/skill-installer-small.svg", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/assets/skill-installer.png", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/scripts", |
| + "directory": true |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/scripts/github_utils.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/scripts/install-skill-from-github.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "skills/.system/skill-installer/scripts/list-skills.py", |
| + "directory": false |
| + }, |
| + { |
| + "path": "state_5.sqlite", |
| + "directory": false |
| + }, |
| + { |
| + "path": "state_5.sqlite-shm", |
| + "directory": false |
| + }, |
| + { |
| + "path": "state_5.sqlite-wal", |
| + "directory": false |
| + }, |
| + { |
| + "path": "tmp", |
| + "directory": true |
| + }, |
| + { |
| + "path": "tmp/arg0-linux", |
| + "directory": true |
| + } |
| + ] |
| +} |
diff --git a/internal/runner/testdata/claude-auth-status-2.1.312.json b/internal/runner/testdata/claude-auth-status-2.1.312.json| new file mode 100644 |
| index 00000000..ec68a876 |
| --- /dev/null |
| +++ b/internal/runner/testdata/claude-auth-status-2.1.312.json |
| @@ -0,0 +1,8 @@ |
| +{ |
| + "loggedIn": false, |
| + "authMethod": "none", |
| + "apiProvider": "firstParty", |
| + "analyticsDisabled": true, |
| + "projectsDirectory": "/home/runner/projects", |
| + "configDirectory": "/home/runner" |
| +} |
diff --git a/internal/tryequipo/live_open_test.go b/internal/tryequipo/live_open_test.go| new file mode 100644 |
| index 00000000..debecff6 |
| --- /dev/null |
| +++ b/internal/tryequipo/live_open_test.go |
| @@ -0,0 +1,20 @@ |
| +package tryequipo |
| + |
| +import ( |
| + "os" |
| + "path/filepath" |
| + "strings" |
| + "testing" |
| +) |
| + |
| +func TestPrivateDirectoryFailureNamesPath(t *testing.T) { |
| + root := t.TempDir() |
| + path := filepath.Join(root, "equipo-runner") |
| + if err := os.Mkdir(path, 0755); err != nil { |
| + t.Fatal(err) |
| + } |
| + err := privateDir(path) |
| + if err == nil || !strings.Contains(err.Error(), path) { |
| + t.Fatalf("missing failing path: %v", err) |
| + } |
| +} |
diff --git a/internal/tryequipo/run.go b/internal/tryequipo/run.go| index bc0677c7..54ca8ef4 100644 |
| --- a/internal/tryequipo/run.go |
| +++ b/internal/tryequipo/run.go |
| @@ -87,6 +87,7 @@ func (w *Wizard) Run(ctx context.Context) (err error) { |
| return err |
| } |
| runnerRoot := filepath.Join(home, ".local/share/equipo-runner") |
| + w.phase = runnerRoot |
| for key, path := range map[string]string{ |
| "EQUIPO_RUNNER_STATE_DIR": filepath.Join(runnerRoot, "state"), |
| "EQUIPO_WORKSPACE_ROOT": filepath.Join(home, ".local/share/equipo/workspaces"), |
diff --git a/internal/tryequipo/state.go b/internal/tryequipo/state.go| index 39201c67..e554650d 100644 |
| --- a/internal/tryequipo/state.go |
| +++ b/internal/tryequipo/state.go |
| @@ -69,7 +69,12 @@ func writeJSON(path string, v any) error { |
| } |
| return privateWrite(path, append(raw, '\n')) |
| } |
| -func privateDir(path string) error { |
| +func privateDir(path string) (err error) { |
| + defer func() { |
| + if err != nil { |
| + err = fmt.Errorf("%s: %w", path, err) |
| + } |
| + }() |
| if !filepath.IsAbs(path) || filepath.Clean(path) != path { |
| return refusal("private-directory", provider.ErrPolicy) |
| } |
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json| index 6ad11c03..cdba5577 100644 |
| --- a/scripts/runner-reference-allowlist.json |
| +++ b/scripts/runner-reference-allowlist.json |
| @@ -7215,5 +7215,208 @@ |
| "match": "paseo", |
| "count": 1, |
| "reason": "Regression fixture verifies rejection of ZeroSub credential-home sources and copy destinations." |
| + }, |
| + { |
| + "path": "docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md", |
| + "line_sha256": "feb572ce8902aa6cc7933e2d071d96ee457410fd999db797fc7147d481ebc294", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Live-open debugging brief or controller evidence: retained runner path or explicitly human-authorized future trial, not legacy execution." |
| + }, |
| + { |
| + "path": "docs/superpowers/plans/CONTROLLER-REPORT-live-open-failures.md", |
| + "line_sha256": "953ae051dd7f5a9726e322b2afd9752898ba4fa7cb91ecf584ecbac61361c5ef", |
| + "match": "trial", |
| + "count": 1, |
| + "reason": "Live-open debugging brief or controller evidence: retained runner path or explicitly human-authorized future trial, not legacy execution." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "b0603ea4cac37a23f1e561220e4297cd6cd8cc1cc7ecba2530c3f2d24f267ca4", |
| + "match": "node", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "4b5f337b2c5a4e7cf38e9ab5b2d76daabff73d12babe521ffa7d15b4511900fa", |
| + "match": "node", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "f6c039be0fb749533c1a2a92023036b8ad3b6efa70a4a844315939eb193f06df", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "59520be8b29cb3f2de456808c7ed2f8d51d92972415f41356dc4a24e49c5a3b4", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "946aeb1b5bf865931599adafe6b5fd247cd919ca47b61e0d38cf8677297dcc22", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "1a5fe5244050bf60ea6acd3ec35143933cbd47c8e9ab089d4f7d2d727c1e215c", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "9a95c4cf27c8dd4b47963153bf5ef3b9c6c13d347f4f52f9059f819eae0d8fd5", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "56c37d89dd2d09385db693b4a3e0158adfcddb9e0e3b079e29a8de7ec457a564", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "b56b45c60b4fb5503d67de1fac55f761fc4cb2ce6d0495c1b58498badbff36c2", |
| + "match": "paseo", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "3e68ff602deba6a989070ee0e6bffc8e322ea3e317e1f56e86abb644d1d4e0ac", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "4880b98322b4c065921a94093a9e1577750d53fc0549be3452f1597269e5a48e", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "498341a9d5b06387e7595cab619647d37e362d98a420e6b2fcb852b13e5421a4", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "a7e5871074ec1cffb12d074cd08405b36c2134d89301a95bab486e99faea4c54", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "f27b544bc2273494945258538035ffe6229a1d1fdbb23297e51a95e62be32c65", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "c5312f56177660838149e4f407ccdee48c34731306d8b407823dcce023869793", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "c70c137d310b3ea4576fc62d2a40cb0147d189551a7dd7ad9b7c30e6f1042879", |
| + "match": "paseo", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "b185ca22d1345f2e4fc0d4b696c0fe5d4552ac10bedfe900fba3b8a891ad4ff6", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "394edfb5f0a357608fce2836840d11b38762c6016fef34bb0ec742f357c47aa4", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "d7e6d1961f891150e8bf2a51982d2b91e5e0ce6e39edcd71df0cf09521e246bd", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "9d2a7460580f376851f2829421927806d932fac399843557929f2c80cbd26300", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "2d65cc621feb09ed2e20c69a2d8ec27e99c345928d0c3cc4ac67d9cac78f20dd", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "ba1b59714c5fbf7457cd0c434a79eca13a367212f49adcdb7dd260838435f6de", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/codex/testdata/live-config-0.165.0.json", |
| + "line_sha256": "0898bcad9b05430864c6db22bdd8531e5daa037ad9814126523965cd45421f87", |
| + "match": "paseo", |
| + "count": 1, |
| + "reason": "Recorded pinned Codex config response: disabled/default provider fields and denied host paths, not an enabled legacy runtime." |
| + }, |
| + { |
| + "path": "internal/runner/provider/testdata/codex-empty-home-0.165.0.json", |
| + "line_sha256": "0fafbb03994aac97a1f8ce7aa222bdfdb007dcbed60bae7dacbcac65af900a67", |
| + "match": ".mjs", |
| + "count": 1, |
| + "reason": "Names-only empty-home Codex startup inventory used to prove strict containment refusal, not executable skill content." |
| + }, |
| + { |
| + "path": "internal/tryequipo/live_open_test.go", |
| + "line_sha256": "8a0f283a726b9d1f7c9556f978f97f4aa7657af6b1228ec8262de1608b169a58", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Current runner directory path or private-directory regression fixture; retained direct runner setup, not legacy execution." |
| + }, |
| + { |
| + "path": "docs/superpowers/plans/CODEX-BRIEF-live-open-failures.md", |
| + "line_sha256": "fbf6092a9a12600c39d955bd6cbf381198ae0aea8db25a6c2b82c9e4016e9393", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Live-open debugging brief or controller evidence: retained runner path or explicitly human-authorized future trial, not legacy execution." |
| + }, |
| + { |
| + "path": "docs/superpowers/plans/CODEX-BRIEF-live-open-failures.md", |
| + "line_sha256": "e8dfae0c9b85d543c7531f89e98ad707895454941abb50e60966b8f7c00dd1a8", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Live-open debugging brief or controller evidence: retained runner path or explicitly human-authorized future trial, not legacy execution." |
| } |
| ] |