7 Deployment View
7.1 Infrastructure Level 1
Where the setup runs and which account each place acts as. Each place below has a subsection
that lists what runs there and how it is configured; the setup steps stay in setup/
and are linked, not repeated. The channels to the external systems are
3.2, the accounts
3.1.2.
flowchart TB
subgraph ws["Owner's workstation"]
l1["Claude Code, Claude Desktop"]
l2["Docker Sandboxes<br/>(on hold)"]
end
subgraph host["Linux host"]
h1["claude-remote<br/>home session"]
h3["claude-sandbox@repo<br/>Docker Sandboxes"]
h4["user timers<br/>ops-patrol, janitor, vault sync"]
end
subgraph pi["Raspberry Pi hub"]
p1["hello-mcp, dashboard,<br/>alarms"]
end
subgraph actions["GitHub Actions"]
a1["check.yml, pages.yml"]
a2["claude-review.yml"]
end
subgraph gcp["Google Cloud"]
g1["Cloud Run services<br/>of the apps"]
end
subgraph claudeai["claude.ai"]
c1["Remote Control, artifacts"]
k1["cloud sessions"]
end
cf["Cloudflare<br/>tunnels, Access"]
gh[("GitHub<br/>repositories")]
l1 -- "owner's account" --> gh
l2 -- "bot account" --> gh
h1 -- "bot account" --> gh
h3 -- "bot account,<br/>sbx proxy" --> gh
k1 -- "Claude GitHub App:<br/>owner's account" --> gh
a2 --> gh
c1 -- "Remote Control" --> h1
c1 -- "Remote Control" --> h3
l1 -- "ops-doctor" --> g1
h1 -- "ops-doctor" --> g1
h4 -- "alarms, heartbeat" --> p1
cf --> p1
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class l1,l2,h1,h3,h4,p1,a1,a2,k1 built
class g1,c1,cf,gh external
style ws fill:none,stroke:#666
style host fill:none,stroke:#666
style pi fill:none,stroke:#666
style actions fill:none,stroke:#666
style gcp fill:none,stroke:#666
style claudeai fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: the place |
Each arrow into GitHub names the account it acts as. A claude.ai session reached over Remote
Control acts through the host.
| Element |
Runs |
Configuration |
Status |
| Linux host |
the Docker Sandboxes with each repository's coordinator and workers, the home session, the timers (7.1.1) |
user claude, no sudo; systemd user units; the token file; acts as the bot account |
built |
| Owner's workstation |
Claude Code CLI and Claude Desktop, the overall coordinator, the watcher, the intake and research sessions; no workers; the owner watches the boards and answers there; the operator's desk is on the Linux host (guides/operator-and-watch.md, #973); Docker Sandboxes: not in use, on hold since 2026-11-21 (7.1.2, #947) |
tokens in the user environment (HKCU); outside a sandbox the owner's account, inside one the bot account |
built |
| Raspberry Pi hub |
hello-mcp, the dashboard, the alarm push and the heartbeat monitor, Cockpit (7.1.3) |
Docker; reached over the tailnet and through its Cloudflare tunnel |
built |
| GitHub |
the repositories, the Actions workflows, GitHub Pages (7.1.4) |
the owner's account and the bot account; the Actions secrets |
built |
| claude.ai |
Remote Control, artifacts, connectors, cloud sessions (7.1.5) |
the owner's Claude account |
built |
| Google Cloud |
the apps' Cloud Run services (7.1.6) |
the owner's Google login through gcloud |
built |
| Cloudflare |
the tunnels and Access in front of the owner hosts' hostnames (7.1.7) |
the development domain; CLOUDFLARE_API_TOKEN |
built; the console and the MCP server planned (epic #88) |
Claude Code itself is the main agent everywhere: a coordinator session picks issues and
starts workers, background sessions that each take one issue in a worktree of their own. It
runs as the CLI on both machines, as Claude Desktop on the owner's workstation, as claude.ai
sessions that reach the host through Remote Control, and as cloud sessions of its own on claude.ai
(sdlc/parallel-work.md,
workflow plugin (plugins/workflow/README.md)).
7.1.1 The Linux host
A laptop that serves as host. Claude Code runs as systemd user units of the user claude, which
has no sudo; linger starts them at boot (#319). Set up by
setup/linux-host.md; the tokens by setup/secrets.md
and setup/token-rotation.md.
flowchart TB
subgraph host["Linux host · user claude"]
remote["claude-remote<br/>home session"]
sbxd["sandboxd<br/>sbx daemon"]
subgraph vm["claude-sandbox@name · microVM"]
coord["coordinator<br/>Claude Code"]
workers["workers<br/>claude --bg"]
end
watch["claude-sandbox-watch@name<br/>timer"]
proxy["sbx proxy"]
helper["token helper"]
tokens[("token file")]
timers["janitor, ops-patrol,<br/>vault sync · timers"]
end
services["GitHub, MCP services, Gemini<br/>[External system]"]
claudeai["claude.ai<br/>[External system]"]
vault["Bitwarden<br/>[External system]"]
pi["Raspberry Pi hub"]
sbxd --> vm
coord --> workers
watch -- "resume" --> coord
vm -- "every request" --> proxy
proxy -- "token" --> helper
helper --> tokens
remote -- "EnvironmentFile" --> tokens
proxy --> services
claudeai -- "Remote Control" --> coord
claudeai -- "Remote Control" --> remote
vault -- "hourly sync" --> timers
timers -- "writes" --> tokens
timers -- "heartbeat, alarms" --> pi
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class remote,sbxd,coord,workers,watch,proxy,helper,tokens,timers,pi built
class services,claudeai,vault external
style host fill:none,stroke:#666
style vm fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: the host and one sandbox |
| Element |
Runs |
Configuration |
Status |
| systemd user manager |
every unit below, without a login |
user@<uid>.service of claude; linger, the group kvm and the stop window of 150 s are the owner's one-time root steps (linux-host.md) |
built |
sandboxd.service |
the Docker Sandboxes daemon, sbx daemon start in the foreground |
enabled; the sbx package ships no unit of its own |
built |
claude-sandbox@<name>.service |
one Docker Sandbox (sbx), a microVM, per repository, and in it the repository's coordinator and its workers |
one line per sandbox in systemd/sandboxes.conf with its checkout, memory and worker cap (#306); mounts only the checkout and /srv/worktrees; created from the template docker/sandbox-templates:claude-code; the coordinator starts as a background session with Remote Control, named <user>:<host>/<name>, on Opus at low effort (#789); after a start it resumes the coordinator's last session when its transcript is in the sandbox, otherwise it starts a new one; started detached, never attached (#529); the stop window sends SIGTERM first, then sbx stop (linux-host.md) |
built |
claude-sandbox-watch@<name>.timer |
resumes a coordinator whose process ended, or restarts a stopped sandbox or a dead guest, every 5 minutes |
at most 3 restarts an hour, then it gives up and leaves a marker (#585, #609) |
built |
| Network policy of the sandboxes |
what a sandbox may reach |
sbx's balanced profile plus the hosts of the network allowlist, each for every sandbox or one; a change is a pull request |
built |
| sbx secrets and the token helper |
the real token in each request a sandbox sends to GitHub, Aikido, Context7 and the Gemini API; inside the VM GH_TOKEN, AIKIDO_API_KEY, CONTEXT7_API_KEY and GEMINI_API_KEY are placeholders |
the helper sbx-token reads the token file on every refresh; the Anthropic sign-in of the bot account kept by sbx (secrets.md) |
built |
| Token file |
the tokens of the host, the one store everything reads |
~/.config/claude-dev-doctor/claude-remote.env, mode 0600, owned by claude; read by the home session as its EnvironmentFile, by the token helper, and by login shells through a block in ~/.profile. Its service keys: GITHUB_TOKEN, GITHUB_PERSONAL_ACCESS_TOKEN, CONTEXT7_API_KEY, SONATYPE_GUIDE_TOKEN, AIKIDO_API_KEY, SBX_GEMINI_API_KEY, CLAUDE_GITHUB_LOGIN, and the names in service-keys (linux-host.md) |
built |
claude-remote.service |
the home session, native on the host, for setting up and investigating the host and for the operator's desk (ops:operator, guides/operator-and-watch.md, #973)—never for development |
disabled by default, because it holds every token; GITHUB_TOKEN, GH_TOKEN and ANTHROPIC_API_KEY unset; --permission-mode auto (#323); a value written to the token file is staged until its restart |
built |
ops-vault-sync timer |
syncs the token file from a Bitwarden Secrets Manager project, hourly |
vault.sh of dev-env:ops-doctor; the machine stores one access token (secrets.md) |
built (#376, #479) |
claude-janitor.timer |
deletes merged worker branches and their leftover worktree folders, with no agent in the loop |
a pinned copy of janitor.ps1, its hashes checked before each run (setup/janitor.md) |
built (#153, #350) |
ops-patrol timer |
the read-only snapshot ops-status every 15 minutes, the alarms to the owner's phone and the heartbeat to the Pi hub |
OPS_NTFY_URL, OPS_NTFY_TOKEN, OPS_HEARTBEAT_URL, OPS_HEARTBEAT_TOKEN in the token file; kill switch ~/.config/ops/off (ops README (plugins/ops/README.md), guides/operator-and-watch.md) |
built |
| Remote desktop |
the host's desktop in the browser, behind Cloudflare Access |
a cloudflared user service of the owner's user, at <host desktop host> (7.1.7) |
built (#377) |
| Session names |
every session shows in claude.ai through Remote Control |
<user>:<host>/<repo>#<issue>, where <host> is the machine's name and its Tailscale node: the home session claude:<host>, a coordinator claude:<host>/claude, its workers claude:<host>/claude#276 (#277, linux-host.md) |
built |
7.1.2 The owner's workstation
The owner's machine: Claude Desktop to monitor the sessions, the owner's answers to blocked
sessions over Remote Control, the intake and research sessions, and the overall coordinator and the
watcher; the owner watches the boards there. The operator's desk stays in the home session on the
Linux host (#973). Autonomous agents run on the Linux hosts only: the workstation
runs no workers and, since 2026-11-21, no Docker Sandboxes (#947). Set up by
setup/owners-workstation.md; a Desktop session on the host by
setup/desktop-remote.md; how the two machines share the work:
sdlc/parallel-work.md.
flowchart TB
subgraph ws["Owner's workstation · the owner's user"]
cli["Claude Code CLI<br/>overall coordinator"]
desktop["Claude Desktop"]
hkcu[("user environment<br/>HKCU")]
tasks["Claude Sandboxes (on hold), vault sync,<br/>janitor · scheduled tasks"]
subgraph vm["sbx sandbox · microVM (on hold)"]
coord["coordinator and workers"]
end
helper["token helper (on hold)"]
dash["dashboard<br/>Docker Compose"]
end
host["Linux host"]
github["GitHub<br/>[External system]"]
vault["Bitwarden<br/>[External system]"]
drive["Google Drive<br/>[External system]"]
desktop -- "SSH" --> host
cli -- "owner's account" --> github
coord -- "bot account, sbx proxy" --> github
tasks -- "start, every 15 min" --> vm
vault -- "hourly sync" --> hkcu
vault -- "project dev" --> helper
helper -- "token" --> vm
cli -- "reads" --> hkcu
ws -- "%USERPROFILE%\.claude" --> drive
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class cli,desktop,hkcu,tasks,coord,helper,dash,host built
class github,vault,drive external
style ws fill:none,stroke:#666
style vm fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: the workstation and one sandbox |
| Element |
Runs |
Configuration |
Status |
| Claude Code CLI |
interactive sessions, the overall coordinator, the watcher, and the intake and research sessions, as the owner |
gh auth login and GITHUB_PERSONAL_ACCESS_TOKEN act as the owner's account, whose login is CLAUDE_GITHUB_LOGIN in the user environment |
built |
| Claude Desktop |
Desktop sessions; one can run on the Linux host over SSH, with the workstation's plugin copies |
desktop-remote.md |
built |
User environment (HKCU) |
the tokens of the workstation |
never a settings file under %USERPROFILE%\.claude, which is synced to Google Drive; vault.ps1 syncs them from the Bitwarden projects ops and owner through the scheduled task ops-vault-sync, with BWS_ACCESS_TOKEN as the bootstrap (secrets.md, #413) |
built |
| Docker Sandboxes |
not in use: on hold since 2026-11-21 (#947) |
one sandbox per repository with its coordinator and workers, as the bot account; listed in scripts/windows/sandboxes.conf and managed by Sandboxes.ps1; clone mode, the checkout mounted read-only; the same template, provisioning and network allowlist as on the host; Remote Control allowed in sbx's settings (#831) (owners-workstation.md) |
built |
Token helper sbx-token.ps1 |
not in use: on hold since 2026-11-21 (#947) |
the sandboxes' secrets, read from the Bitwarden project dev; in %LOCALAPPDATA%\claude-sandbox\, outside every folder a sandbox can mount; the dev access token stored DPAPI-encrypted; the bot account's commit identity from SBX_GIT_IDENTITY (#625, #790) |
built |
| Scheduled task Claude Sandboxes |
not in use: on hold since 2026-11-21 (#947) |
starts the sandboxes at logon and every 15 minutes; registered by the owner with Sandboxes.ps1 install-task; runs through conhost.exe --headless (#841) |
built |
| Janitor task |
deletes merged worker branches and leftover worktree folders |
Task Scheduler task \claude-janitor\claude-janitor of the current user (setup/janitor.md) |
built |
| Agent dashboard |
Homarr with custom widgets, the feed cost-feed and LiteLLM in front of Claude Code for cost by role |
Docker Compose, every port on loopback; the /desk feed runs on the workstation itself (servers/dashboard README (servers/dashboard/README.md)); a proof of concept (spike #558), its technology ADR 0003 (docs/adr/0003-console-technology.md) proposed |
built |
7.1.3 The Raspberry Pi hub
The owner's always-on hub. It runs the setup's own server, the dashboard, and the receiving end of
the host's alarms. Each service listens on the hub's loopback only; the tailnet and the hub's
Cloudflare tunnel are its two ways in. Sources: the
hello-mcp README (servers/hello-mcp/README.md), the
dashboard README (servers/dashboard/README.md),
plugins/dev-env/skills/ops-doctor/remote-access.md and the
ops README (plugins/ops/README.md).
flowchart LR
subgraph pi["Raspberry Pi hub"]
subgraph docker["Docker"]
hello["hello-mcp<br/>container"]
homarr["homarr<br/>container"]
end
ts["tailscale serve<br/>HTTPS"]
cfd["cloudflared<br/>user service"]
cockpit["Cockpit"]
ntfy["ntfy"]
kuma["Uptime Kuma"]
vsync["vault sync<br/>timer"]
end
tailnet["Tailscale<br/>[External system]"]
cf["Cloudflare Access<br/>[External system]"]
host["Linux host<br/>ops-patrol"]
phone["Owner's phone"]
ghcr["GitHub Packages<br/>[External system]"]
vault["Bitwarden<br/>[External system]"]
tailnet --> ts --> hello
cf --> cfd
cfd --> homarr
cfd --> cockpit
host -- "alarms" --> ntfy
host -- "heartbeat" --> kuma
kuma -- "heartbeat missing" --> ntfy
ntfy --> phone
ghcr -- "dashboard images" --> docker
vault --> vsync
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class phone person
class hello,homarr,ts,cfd,cockpit,ntfy,kuma,vsync,host built
class tailnet,cf,ghcr,vault external
style pi fill:none,stroke:#666
style docker fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: the hub and its Docker |
| light orange |
the owner |
| Element |
Runs |
Configuration |
Status |
hello-mcp |
the hello-world MCP server, the skeleton of the setup's own MCP server: two read-only tools over Streamable HTTP |
the container image of servers/hello-mcp, base image pinned by digest, --restart unless-stopped, on the hub's loopback; MCP_ALLOWED_HOSTS names the hub's tailnet name; holds no token (#386) |
built |
tailscale serve |
HTTPS with the hub's tailnet certificate in front of hello-mcp |
reachable only from devices on the tailnet; MagicDNS and HTTPS certificates on in the tailnet |
built |
homarr |
the agent dashboard's board, alone on the hub |
Compose project dashboard, profile hub, image pinned by tag, loopback port, volume dashboard_homarr-appdata; HOMARR_SECRET_ENCRYPTION_KEY from the env file ~/.config/ops-doctor/ops.env; no Docker socket mounted (#559) |
built; its tiles' data on the hub is open in epic #557 |
| Dashboard images |
dashboard-feed and dashboard-sync for linux/arm64 |
built and pushed to GitHub Packages by the dashboard-images workflow; the hub pulls them with deploy.sh (ci/checks.md, #604) |
built |
cloudflared |
the hub's remotely managed tunnel |
the .deb's system service, kept with CONNECTOR=system (plugins/dev-env/skills/ops-doctor/remote-access.md), its token installed by the printed root commands; the hostnames in PUBLISH of ~/.config/ops-doctor/remote-access.env (7.1.7) |
built (#377) |
| Cockpit |
the hub's admin UI at <cockpit host> |
installed by host-base.sh with ufw keeping SSH open; an independent app behind Access (ADR 0001 (docs/adr/0001-hosting-console-and-mcp.md)) |
built |
| ntfy |
the push of the host's alarms to the owner's phone |
topic operator-alarms, closed by default; the host writes with a write-only token (OPS_NTFY_TOKEN) |
built |
| Uptime Kuma |
a push monitor on the host's patrol: "heartbeat missing" after 30 minutes, through the same ntfy topic |
the host calls its push URL after every patrol run (OPS_HEARTBEAT_URL) |
built |
| Vault sync |
the hub's ops.env from Bitwarden |
vault.sh sync of dev-env:ops-doctor, hourly timer; no janitor runs on the hub |
built |
7.1.4 GitHub
The record: issues, milestones, claims (agent:claimed), pull requests, Actions CI and the branch
ruleset for main. The saved issue views for the owner, with their queries, are in
sdlc/parallel-work.md; the checks in
ci/checks.md; the work streams in
sdlc/work-streams.md; what a repository sets up in
sdlc/repository-setup.md.
flowchart LR
sessions["Claude Code sessions"]
reader["Reader<br/>[Person]"]
subgraph gh["GitHub"]
repo["<owner>/claude<br/>private repository"]
others["aise-* repositories"]
rules["ruleset main,<br/>CODEOWNERS"]
subgraph actions["Actions"]
check["check.yml"]
review["claude-review.yml"]
pagesw["pages.yml"]
images["dashboard-images.yml"]
end
copilot["Copilot<br/>code review"]
pages["GitHub Pages<br/>docs site"]
packages["GitHub Packages<br/>container images"]
end
sessions -- "plugins, pull requests" --> repo
sessions -- "pull requests" --> others
rules -- "guards merges" --> repo
repo --> check
repo --> review
repo --> copilot
repo --> pagesw --> pages
repo --> images --> packages
reader -- "HTTPS" --> pages
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class reader person
class sessions,repo,rules,check,review,pagesw,images,pages,packages built
class others,copilot external
style gh fill:none,stroke:#666
style actions fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: GitHub and its Actions |
| light orange |
a reader of the docs site |
| Element |
Runs |
Configuration |
Status |
<owner>/claude |
this repository: the setup scripts for both machines and the <owner> marketplace with the plugins dev-env, git-flow, workflow, ops and backend and the mods coordinator-mod and owner-desk; every session installs the plugins from it and picks up updates |
private, so the host reads it through gh's stored login and a sandbox through the sbx proxy (README (README.md), setup/marketplace.md, plugins/index.md) |
built |
aise-* repositories |
the owner's other repositories, which enable the plugins |
their own settings; Dependabot runs in aise-feecheck-poc, not in this repository |
built |
Ruleset for main and CODEOWNERS |
which reviews a merge needs, and that the owner's files are merged by the owner |
the live ruleset asks for a Copilot review; the file .github/rulesets/main.json is not imported yet (ci/copilot-review.md, ci/codeowners.md) |
built |
check.yml |
the machine checks of every pull request and of main, on Linux |
every action pinned to a commit SHA (ci/checks.md) |
built |
claude-review.yml |
the Claude review of every pull request |
secret CLAUDE_CODE_OAUTH_TOKEN; --setting-sources user, so the checkout's settings stay out (ci/claude-review.md) |
built |
| Copilot code review |
the second AI review, asked for by git-flow:pull-request |
ci/copilot-review.md |
built |
pages.yml and GitHub Pages |
this repository's public docs site, https://claude.lauper.net |
built with MkDocs Material from the exclude_docs allowlist and deployed only after the docs-site gate (ci/checks.md); the working default of ADR 0006 (docs/adr/0006-public-docs-site.md), proposed |
built |
GitHub Pages of aise-feecheck-poc |
that repository's docs site at feecheck.lauper.net, published by its own workflow; its public website moved to Firebase Hosting (#256 there) (stacks/frontend-static.md) |
in that repository |
built |
dashboard-images.yml and GitHub Packages |
the dashboard's two images for linux/amd64 and linux/arm64 |
pushed with the workflow's GITHUB_TOKEN on a push to main; the 5 newest sha-* versions kept (ci/checks.md) |
built |
7.1.5 claude.ai
The owner's Claude account on claude.ai: the sessions reached over Remote Control, the published
pages, the connectors, and the Claude Code cloud sessions—where agents run besides
the Linux hosts. A cloud session runs on Anthropic's infrastructure; it is started from
claude.ai/code, the Claude app, claude --cloud or another session, and it does not reach the
host (sdlc/parallel-work.md,
Claude Code on the web,
cloud environments).
flowchart LR
owner["Owner<br/>[Person]"]
subgraph claudeai["claude.ai · the owner's Claude account"]
rc["Remote Control"]
artifacts["Artifacts<br/>decision pages, boards"]
connectors["Connectors<br/>Notion, Gmail, Drive"]
subgraph cloud["cloud session · VM"]
ccc["Claude Code<br/>fresh clone"]
subagents["subagents<br/>own worktrees"]
end
env["cloud environment"]
proxy["GitHub proxy"]
end
host["Linux host and sandboxes"]
github["GitHub<br/>[External system]"]
owner --> rc
owner --> ccc
rc --> host
host -- "publish" --> artifacts
ccc -- "publish" --> artifacts
ccc --> connectors
env --> cloud
ccc --> subagents
ccc --> proxy
proxy -- "Claude GitHub App" --> github
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class owner person
class artifacts,ccc,subagents,env,host built
class rc,connectors,proxy,github external
style claudeai fill:none,stroke:#666
style cloud fill:none,stroke:#666
| Colour |
Meaning |
| green |
built: what the setup runs or publishes there |
| grey |
external system; grey frame: claude.ai and one cloud session |
| light orange |
person |
| Element |
Runs |
Configuration |
Status |
| Remote Control |
the owner's way into the sessions on the host and in the sandboxes, from claude.ai and the phone |
each session shows under its session name (7.1.1) |
built |
| Artifacts |
published HTML pages, private to the owner: the owner-feedback decision pages, one per milestone, epic or issue (workflow:owner-feedback); the Question Board of open question issues (workflow:intake), whose quick check on GitHub is the saved view Waiting for me; the Session Board of running sessions, kept in sync by workflow:board-sync |
published from a session (owner-feedback (plugins/workflow/skills/owner-feedback/SKILL.md), intake (plugins/workflow/skills/intake/SKILL.md)) |
built |
| Connectors |
Notion, Gmail, Drive and others |
go through Anthropic's servers, not the session's network; they sign in with the owner's Claude account |
built |
| Cloud session (container) |
a Claude Code session in a fresh VM with a clone of the repository on a branch of its own |
the VM is reclaimed after inactivity; reopening restores the conversation, not running subagents or shell commands, so anything worth keeping is committed and pushed |
built |
| Cloud environment |
the saved configuration every cloud session runs in |
network access, environment variables (never a secret), network secrets and the setup script; what this repository puts there: repository-setup.md |
built |
| GitHub proxy and the Claude GitHub App |
a cloud session's access to GitHub |
the app is installed on the repository and the credential stays outside the VM; the proxy rejects GraphQL, so only REST works (#302); pull requests and comments appear as the owner's account, commits are authored Claude <noreply@anthropic.com> (parallel-work.md) |
built; the move to the bot account waits until the bot identity reaches cloud sessions (#191) |
| Agents in a cloud session |
subagents in their own worktree (isolation: worktree), and further cloud sessions started with create_session |
parallel-work.md |
built |
| Plugins in a cloud session |
the repository's own .claude/skills/, .claude/rules/ and hooks, and the skills enabled on claude.ai |
a cloud session does not install the plugins a repository's .claude/settings.json enables; how the <owner> plugins reach one: repository-setup.md |
built |
| Coordinator in the cloud |
workflow:cloud-coordinator |
workflow:coordinator needs gh and claude --bg, which a cloud session lacks |
built |
7.1.6 Google Cloud
Operations for the apps of the aise-* repositories; the setup itself runs nothing there.
dev-env:ops-doctor checks and sets up access—the gcloud CLI and login, Application Default
Credentials, the project, APIs and impersonation—and compares the Cloud Run services a
repository declares in .claude/ops-doctor.json with the live ones
(ops-doctor (plugins/dev-env/skills/ops-doctor/SKILL.md)). What runs there is that
repository's own deployment view; aise-feecheck-poc's describes its services in its
docs/architecture/07_deployment_view.md.
flowchart LR
od["dev-env:ops-doctor<br/>on the owner's workstation and the host"]
subgraph gcp["Google Cloud project"]
cr["Cloud Run services<br/>docling-serve, feecheck"]
end
od -- "gcloud, ADC" --> cr
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class od built
class cr external
style gcp fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| grey |
external system; grey frame: the Google Cloud project |
| Element |
Runs |
Configuration |
Status |
dev-env:ops-doctor |
the access check, the deployment compare and the proof that a service can be called, also through gcloud run services proxy |
the owner's Google login through gcloud; Application Default Credentials |
built |
Cloud Run services of aise-feecheck-poc |
docling-serve, and the backend with the web app, feecheck |
declared in that repository's .claude/ops-doctor.json and described in its own deployment view |
built |
7.1.7 Cloudflare
The development domain lauper.app is development infrastructure on Cloudflare: each owner
host's tunnel and the hostnames behind Cloudflare Access. lauper.net holds the deployed versions
of the apps, unless an app gets a domain of its own, and the owner's email addresses. The machine
names of the Linux host and the owner's workstation are local and Tailscale names, not Cloudflare
ones. The model and the scripts: plugins/dev-env/skills/ops-doctor/remote-access.md
of dev-env:ops-doctor; the hosting decision for the console and the MCP server:
ADR 0001 (docs/adr/0001-hosting-console-and-mcp.md), accepted.
flowchart LR
owner["Owner<br/>[Person]"]
subgraph cf["Cloudflare · lauper.app"]
access["Access<br/>policy ops-doctor: users"]
tpi["tunnel of the Pi hub"]
thost["tunnel of the Linux host"]
console["console<br/>console host"]
mcp["MCP server<br/>mcp host"]
end
google["Google sign-in<br/>[External system]"]
pi["Pi hub: Cockpit, dashboard"]
host["Linux host: desktop"]
owner -- "HTTPS" --> access
access -- "login" --> google
access --> tpi --> pi
access --> thost --> host
access -.-> console
access -.-> mcp
classDef person fill:#ffe8b0,stroke:#9a6b00,color:#000
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
classDef external fill:#e6e6e6,stroke:#6b6b6b,color:#000
class owner person
class access,tpi,thost,pi,host built
class console,mcp planned
class google external
style cf fill:none,stroke:#666
| Colour |
Meaning |
| green |
built |
| blue, dashed border; dotted arrows |
planned |
| grey |
external system; grey frame: the Cloudflare zone |
| light orange |
person |
| Element |
Runs |
Configuration |
Status |
| Access |
the login in front of every published hostname |
one reusable policy shared by all hosts, ops-doctor: users: a member of the Access group (ACCESS_GROUP) who logged in with Google; ops-doctor: owner behind it as the fallback; service tokens for machine clients, on the hostnames in SERVICE_AUTH only |
built |
| Tunnel of each owner host |
one remotely managed tunnel per host, its ingress kept in Cloudflare |
remote-access.sh plan, then apply after the owner's yes; CLOUDFLARE_API_TOKEN stored by ops-token.sh (#377) |
built |
<cockpit host>, the dashboard's hostname |
the Pi hub's Cockpit and its Homarr board |
ingress to the hub's loopback (7.1.3) |
built |
<host desktop host> |
the Linux host's desktop in the browser, and a raw RDP hostname for the cloudflared access rdp fallback |
a private route of the host's own /32 only, never the whole LAN |
built |
The console at <console host> |
a private dev and ops console |
epic #88, behind Access; ADR 0003 (docs/adr/0003-console-technology.md) for its technology, proposed |
planned |
The MCP server at <mcp host> |
an MCP server that holds no tokens; #381 scoped what it adds over Claude Code's own features |
epic #88, milestone MCP server (<mcp host>); its skeleton is hello-mcp on the hub |
planned |
Additional notes
Destructive command guard
dcg is a PreToolUse hook that dev-env:dev-doctor installs and checks on every machine; it
blocks destructive shell commands that the committed deny rules
(8.3) cannot express
(plugins/dev-env/skills/dev-doctor/reference/dcg-guard.md).
Per-machine files
A project can also declare per-machine files its Gradle properties name (a licence file, say) in
its dev-doctor configuration; dev-env:dev-doctor reports one row each and -Fix
copies the file to a folder outside every repository and sets the property (#702,
plugins/dev-env/skills/dev-doctor/reference/machine-files.md).