Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
bd74f71
chore(plan): complete planning for PAN-5754
Dec 3, 2026
8548111
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
2501084
feat(infra): add agents.isolation config and the isolated-role predicate
Dec 3, 2026
a3f0ea9
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
9d659da
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
ff7ae46
feat(infra): move agent tokens under agent-tokens/ and add a fail-clo…
Dec 3, 2026
effc750
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
43a5ddc
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
86fe329
feat(infra): build the pure agent isolation policy and its input reso…
Dec 3, 2026
c58319c
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
eb0b721
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
75eb4fe
feat(infra): render the Claude Code isolation settings file
Dec 3, 2026
104dc3b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
102a284
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
3cdfe97
feat(infra): add the agent-isolation-guard PreToolUse write guard
Dec 3, 2026
b889175
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
7593262
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
41a8cd2
fix(infra): keep a plain clone's .git writable in the isolation policy
Dec 3, 2026
c2d79ca
fix(infra): resolve guard hook paths without GNU realpath -m
Dec 3, 2026
dda1946
feat(infra): wire agent isolation into the launcher
Dec 3, 2026
b3ab387
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
329b749
fix(infra): check the sandbox prerequisites through host-tools
Dec 3, 2026
687c243
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
0353107
feat(infra): clamp isolated Codex launches to workspace-write
Dec 3, 2026
1616198
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
1b72d53
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
1960f21
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
e83fc43
feat(infra): isolate agents at the spawn, recovery and resume sites
Dec 3, 2026
e651f25
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
c03fee6
feat(infra): isolate planners and lane conversations at their launch …
Dec 3, 2026
d0bc07a
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
13de3cc
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
e7f921a
feat(dashboard): serve the HTTP app on the credential-only agent socket
Dec 3, 2026
3989ed6
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
95398c0
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
2c19288
feat(cli): add the isolated-context dashboard credential and transport
Dec 3, 2026
42c2335
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
ddd0da7
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
19282e9
feat(cli): route CLI-side dashboard calls through the agent credential
Dec 3, 2026
2d717c4
chore(cli): record cli-callers acceptance evidence
Dec 3, 2026
5f83061
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
0b44ed6
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
a58e7e6
feat(infra): hook scripts authenticate with the agent token when isol…
Dec 3, 2026
fdb472c
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
ffa2f3b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
d0929d5
feat(infra): in-pane helpers use the agent token when isolated
Dec 3, 2026
4ce30ed
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
a738f6a
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
f8690fc
feat(dashboard): hook and self-report routes accept a self agent token
Dec 3, 2026
417e533
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
a04fe6b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
c271cdd
feat(dashboard): route-scope rows for the routes isolated agents call
Dec 3, 2026
22855f9
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
4c49e28
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
c06ee7f
feat(dashboard): pi extension routes accept a self agent token
Dec 3, 2026
098dead
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
cf061fb
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
8a0bc22
feat(infra): the pi extension authenticates with the agent token when…
Dec 3, 2026
070c925
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
80cd72b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
6ef634b
fix(cloister): make gate admission liveness PID-namespace aware
Dec 3, 2026
0450c2e
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
b67c30b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
91de114
feat(dashboard): connections from isolated process trees are not trus…
Dec 3, 2026
7d36afb
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
e03b4e7
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
491c912
feat(dashboard): no uncredentialed Traefik trust while agent isolatio…
Dec 3, 2026
521bfac
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
41679cc
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
5e677ec
fix(infra): keep the isolation launch wiring out of import cycles
Dec 3, 2026
4fe3c14
feat(infra): prepare isolation inside every runtime spawnAgent
Dec 3, 2026
a3df7e4
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
0ba2e31
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
c7906a3
feat(cli): declare each harness's isolation class and report it in pa…
Dec 3, 2026
93ec33d
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
81f448e
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
93cec4d
feat(dashboard): forward isolated agents' operator-rights verbs as se…
Dec 3, 2026
a44dbea
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
2c2dd03
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
460d182
feat(dashboard): forward tell, ask, sync-main and review request
Dec 3, 2026
faaa3b0
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
da54de1
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
ba18927
feat(dashboard): forward plan finalize/done and the review/test verbs
Dec 3, 2026
76630ad
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
3cf9006
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
8e4c5b1
feat(dashboard): forward swarm, spawn, worker, backlog and knowledge …
Dec 3, 2026
331c03b
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
32f0a59
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
7d9e016
test(dashboard): every agent-facing pan verb is forwarded or a local …
Dec 3, 2026
e3abdeb
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
b1ce773
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
0fc2cc9
docs(infra): document agent isolation
Dec 3, 2026
8b931b3
chore(workspace): plan artifacts for PAN-5754
Dec 3, 2026
73ab22d
chore(workspace): record the PAN-5754 spec lifecycle status
Dec 3, 2026
a2e858e
fix(infra): run wrapped runtime commands with exec env and merge only…
Dec 4, 2026
fb174f2
fix(dashboard): a forwarded handoff never yields an operator conversa…
Dec 4, 2026
2495b58
fix(dashboard): accept a fresh session's first hook with a self claim
Dec 4, 2026
b8043c6
docs(infra): record the open isolation gaps and the planning checkpoints
Dec 4, 2026
c3ff227
fix(infra): satisfy the hooks type lane and the overdeck boundary lint
Dec 4, 2026
c3ae972
feat(cli): make missing sandbox prerequisites a friendly, early failure
Dec 4, 2026
0c125bc
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
492624a
docs(infra): list the new scoped routes in the telemetry client_route…
Dec 4, 2026
1dc0b8e
chore(workspace): record the CI feedback in the PAN-5754 continue file
Dec 4, 2026
183ed25
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
0eb4cfa
fix(infra): narrow the isolated agent sandbox policy
Dec 4, 2026
11640a4
fix(cli): reach the dashboard through the sandbox proxy
Dec 4, 2026
1609d10
fix(dashboard): fence isolated agent tokens to their own sessions
Dec 4, 2026
313df50
fix(dashboard): fail closed on the peer check
Dec 4, 2026
45395be
fix(dashboard): ignore repository hooks in git the dashboard runs
Dec 4, 2026
6a87327
feat(cli): warn when agents have no usable push credential
Dec 4, 2026
33fa5d5
docs(infra): document the narrower isolation policy and residuals
Dec 4, 2026
7069377
chore(workspace): record the review feedback in the PAN-5754 continue…
Dec 4, 2026
d90477a
test(cli): run the operator-store memory round trip with isolation off
Dec 4, 2026
70be7f4
fix(infra): deny each shared git dir entry and scope cache variables …
Dec 4, 2026
240c880
fix(dashboard): keep what an isolated agent starts isolated
Dec 4, 2026
93982b0
fix(dashboard): start the Codex app server without the git guard
Dec 4, 2026
91efb31
docs(infra): document sandbox consequences, start limits and R-13
Dec 4, 2026
a80da57
chore(workspace): record the CI feedback in the PAN-5754 continue file
Dec 4, 2026
ca636f2
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
7007419
fix(specialists): escalate pipeline stalls with pan ask instead of a …
Dec 4, 2026
fadc34e
fix(infra): read-deny more home credential files in the sandbox
Dec 4, 2026
6086d92
fix(cli): pan done continues only the rebase it started
Dec 4, 2026
f8a0a8b
fix(infra): pre-create and deny the shared git dir's commondir
Dec 4, 2026
6074936
docs(infra): state the scope of agent isolation layer 1
Dec 4, 2026
2912d16
chore(workspace): record the review feedback in the PAN-5754 continue…
Dec 4, 2026
59722fa
fix(infra): keep rr-cache out of the agent's reach
Dec 4, 2026
51efe95
fix(infra): refuse isolated launches when a shared git dir has a fore…
Dec 4, 2026
7170a1b
docs(infra): scope the isolation claims to Claude Code agents and res…
Dec 4, 2026
c48a793
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
4382e7e
fix(infra): check commondir without git, before any token mint
Dec 4, 2026
71512fb
fix(infra): always set rerere off for the agent's git
Dec 4, 2026
12d8459
chore(workspace): record the review feedback in the PAN-5754 continue…
Dec 4, 2026
1025c9d
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
0afbeb8
chore(workspace): record the PAN-5754 session resume in the continue …
Dec 4, 2026
f3b8893
Merge remote-tracking branch 'origin/main' into feature/pan-5754
Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .overdeck/context/codebase/concerns.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,9 +983,31 @@ Live landmines a change in this repo can step on. Verified 2026-09-26 (Fly, link
description, the `pan --help` `--yolo` text and `docs/CONFIGURATION.md` still say it blocks
destructive commands (#5566). The real guardrails are the agent `git`/`gh` PATH shims
(`launcher-git-guard.ts`), the workspace deny rules (`claude-settings-overlay.ts`), the
tmux-send-keys guard and the primary-checkout `--cwd` refusals; none is a sandbox. A project's
tmux-send-keys guard and the primary-checkout `--cwd` refusals; none is a sandbox. Since PAN-5754 an
isolated Claude Code agent (any token role but `conversation`/`flywheel`) runs Bash in Claude Code's
sandbox with `allowUnsandboxedCommands: false`, and its `--settings` deny rules hold even when this hook
answers allow (`agent-isolation/claude-settings.ts`); operator conversations and the Flywheel keep the
old behaviour. A project's
`.pan.yaml` can also set `claude.permissionMode` / `codex.permissionMode` (`stripProjectSecurity`
keeps them), resolved from the launching process's cwd.
keeps them), resolved from the launching process's cwd. `stripProjectSecurity`
(`config-yaml/load.ts`) strips only `security`, `harnesses`, `computer_use` and `mcp.public`,
so a committed `.pan.yaml` can set any `agents.*` key (PAN-5754 adds `agents.isolation` to it).
- **Any local process is the operator on the dashboard** (verified 2026-12-03, PAN-5754 planning) —
an uncredentialed loopback peer passes gate rule 4 and always mints the root session
(`isTrustedLocalCaller`), so an agent needs no token file: `curl -X POST
127.0.0.1:3011/api/dashboard/session` is enough. Claude Code's Bash sandbox does not close
this: its proxy forwards to host loopback when `NO_PROXY` is cleared, `deniedDomains` ignores
CIDR (`127.0.0.0/8` blocks nothing), and Traefik is reachable through a Docker bridge gateway
the dashboard trusts as a local client. Name entries (`127.0.0.1`, `localhost`, `*.localhost`)
are checked after DNS resolution. Other sandbox facts from the same probes: permission rules
need `Read(//abs/path)` (a single `/` is relative to the settings file and silently matches
nothing); `denyWrite` on a directory does not stop `connect()` to a Unix socket inside it, but
`denyRead` masks it; `allowUnixSockets` path lists do nothing on Linux; hooks and stdio MCP
servers run outside the sandbox; sandboxed commands get their own PID namespace.
- **Gate admission misreads pids from a PID namespace** (found planning PAN-5754) —
`quality-gate-admission.ts` `processIsAlive` uses `process.kill(pid, 0)`. A gate run inside a
sandbox (own PID namespace) sees every outside holder as dead and clears live slots; its own
pids are namespace-local. Records need the PID namespace before liveness can be trusted.
- **Codex app-server threads ignore `codex.permissionMode`** (verified 2026-11-18, #5567) —
`codex/app-server-host.ts` `threadOptions` always passes `runtimeMode: 'default'`, which
`app-server-manager.ts` `mapRuntimeMode` turns into on-request approval and `workspace-write`;
Expand Down
Loading
Loading