3 Context and Scope¶
The setup as a black box among its neighbours: who and what it serves, in the owner's terms
(3.1), and over which channels each neighbour is reached
(3.2). The setup is what this repository builds—the <owner>
marketplace with its plugins, the scripts, the servers, the checks and the docs site
(1.1)—together with the Claude Code
sessions it runs. Where each part runs is chapter 7.
3.1 Business Context¶
3.1.1 System context¶
flowchart TB
owner["Owner<br/>[Person]"]
bot["Bot account<br/>[GitHub account]"]
repos["aise-* repositories<br/>[Software system]"]
setup["The setup<br/>[Software system]"]
anthropic["Anthropic<br/>[External system]"]
github["GitHub<br/>[External system]"]
reviewers["Copilot<br/>[External system]"]
tools["MCP services<br/>[External system]"]
infra["Infrastructure providers<br/>[External system]"]
owner -- "ideas, decisions, approvals" --> setup
setup -- "decision pages, alarms" --> owner
setup -- "acts as" --> bot
repos -- "enable the plugins" --> setup
setup -- "sessions, models" --> anthropic
setup -- "issues, pull requests" --> github
github -- "pull requests" --> reviewers
setup -- "docs, scans" --> tools
setup -- "hosting, secrets, tunnels" --> infra
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 setup built
class bot,repos,anthropic,github,reviewers,tools,infra external
| Colour | Meaning |
|---|---|
| green | built: the setup |
| grey | external: an account, a repository or a system the setup does not build |
| light orange | person |
Input and output are seen from the setup.
| Partner | Input | Output |
|---|---|---|
| Owner—person | new work, decisions on the decision pages, approvals and the merges outside the routine, the host steps only the owner can run (sdlc/decisions.md) | pull requests to approve, decision pages, the Question Board and the Session Board, alarms on the phone (7.1.5, 7.1.3) |
| Bot account—the GitHub account the agents act as (3.1.2) | — | commits, claims, comments and pull requests under its own login, so that the owner's review counts (sdlc/decisions.md) |
aise-* repositories—the owner's repositories, this one included |
their CLAUDE.md with its ## Workflow keys, their settings and issues (sdlc/repository-setup.md) |
the enabled plugins with their skills, rules and hooks; labels; pull requests (setup/marketplace.md) |
| Anthropic—Claude Code, the Claude models, claude.ai | the models' answers; Remote Control, cloud sessions, artifacts and connectors | prompts and transcripts of every session |
| GitHub—the record | issues, claims, reviews, CI results | branches, pull requests, comments, merges (7.1.4) |
Copilot—the AI reviewer GitHub provides, beside the setup's own claude-review workflow |
review findings on every pull request | — (3.2) |
| MCP services—Context7, Sonatype Guide, Aikido | library documentation, dependency checks, security findings | queries and the changed code (3.2.1) |
| Infrastructure providers—Google Cloud, Cloudflare, Bitwarden, Tailscale, Docker | the hosting, the tunnels and their logins, the tokens, the sandboxes | the apps' deployments, the published hostnames (7.1.6, 7.1.7) |
aise-feecheck-poc is the aise-* repository the Linux host's repository chores were written for
(setup/linux-host.md); it is also the reference repository of
the stacks (stacks/index.md).
3.1.2 Accounts¶
Two GitHub accounts act for the setup. This repository names no login and no address: the root
CLAUDE.md (CLAUDE.md), "Identities" (#223); a value a tool needs comes from the machine.
| Account | Who acts as it | Commits as | Source |
|---|---|---|---|
| The owner's account | the owner; sessions on the owner's workstation; cloud sessions, which act through the Claude GitHub App. It owns the repositories and the marketplace, and merges what is not routine. Logging in as the owner means the owner's GitHub account—gh's login, the GitHub MCP server's token, the Claude GitHub App; the claude.ai connectors sign in with the owner's Claude account, not with GitHub |
<owner login> with an @lauper.net address; a cloud session's commits as Claude <noreply@anthropic.com> (parallel-work.md) |
setup/owners-workstation.md |
| The bot account | the sessions on the Linux hosts; its login is named in the host's token file (7.1.1). CODEOWNERS keeps the owner's merges with the owner (#173); cloud sessions follow once the bot identity reaches them (#191) | Claude Agent with an @lauper.net address |
#157, setup/linux-host.md |
On every machine, dev-env:dev-doctor checks that git has a name and an email at @lauper.net
(the domain the repository's dev-doctor configuration names), and that gh and the GitHub MCP
token act as the login the machine names: the bot's login on the host, the owner's on the owner's workstation
(dev-env README (plugins/dev-env/README.md)).
3.2 Technical Context¶
The setup's own parts run in three places—the owner's workstation, the Linux host and cloud sessions on claude.ai—and work through GitHub. Autonomous agents run on the Linux hosts only; the workstation is the owner's desk (#947, setup/owners-workstation.md). The owner reaches the host from claude.ai and Claude Desktop, and starts cloud sessions from claude.ai/code, the Claude app or another session. The machines themselves are chapter 7.
flowchart LR
owner["Owner<br/>[Person]"]
subgraph ws["Owner's workstation"]
lcc["Claude Code CLI<br/>overall coordinator"]
desktop["Claude Desktop"]
end
subgraph host["Linux host"]
hcc["Claude Code<br/>coordinator and workers"]
end
claudeai["claude.ai<br/>[External system]"]
subgraph cloud["claude.ai cloud"]
ccc["Claude Code<br/>cloud sessions"]
end
subgraph gh["GitHub"]
repos["Repositories<br/>issues, pull requests"]
actions["Actions<br/>CI, claude-review"]
pages["GitHub Pages<br/>docs sites"]
end
copilot["Copilot<br/>[External system]"]
gcp["Google Cloud<br/>[External system]"]
models["Model providers<br/>[External system]"]
mcp["MCP services<br/>[External system]"]
owner --> claudeai
owner --> lcc
owner --> desktop
owner --> ccc
desktop -- "SSH" --> hcc
claudeai -- "Remote Control" --> hcc
lcc --> repos
hcc --> repos
ccc -- "GitHub proxy" --> repos
ccc -- "connectors" --> claudeai
lcc --> mcp
hcc --> mcp
repos --> actions
repos --> copilot
actions --> pages
lcc --> gcp
hcc --> gcp
lcc --> models
hcc --> models
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 lcc,desktop,hcc,ccc,actions,pages built
class claudeai,repos,copilot,gcp,models,mcp external
style ws fill:none,stroke:#666
style host fill:none,stroke:#666
style cloud fill:none,stroke:#666
style gh fill:none,stroke:#666
| Colour | Meaning |
|---|---|
| green | built: the setup's sessions and its workflows |
| grey | external system; grey frame: where it runs |
| light orange | person |
| Partner | Channel | Inputs / outputs on it | Trust boundary · risk | Status |
|---|---|---|---|---|
| claude.ai—Remote Control, artifacts, connectors | HTTPS; Remote Control to the sessions on the host and in the sandboxes | in—the owner's prompts; out—session titles, published pages | the owner's Claude account; a sandbox reaches it only while sbx allows Remote Control (setup/owners-workstation.md, #831) | built (7.1.5) |
| Claude Code cloud sessions | Anthropic's infrastructure; GitHub through the Claude GitHub App and its proxy | in—a fresh clone; out—branches, pull requests, comments | outside the owner's machines; no token of the machines; GitHub only through the proxy (7.1.5) | built (7.1.5) |
| Anthropic API—the Claude models | HTTPS, from every session | out—prompts with repository content; in—the answers | the sign-in: the owner's Claude account on the owner's workstation; in a sandbox the bot account's sign-in, kept by sbx outside the VM (setup/secrets.md) | built |
| GitHub—repositories, Actions, Pages | HTTPS and git over HTTPS; gh, REST and GraphQL |
issues, claims, branches, pull requests, CI results, the published sites | the account per session (3.1.2); in a sandbox the sbx proxy puts the token into requests, no token enters the VM (setup/secrets.md) | built (7.1.4) |
AI reviewers—claude-review, Copilot |
GitHub Actions and Copilot code review, on every pull request (7.1.4) | in—review findings | a finding is input to weigh, not an instruction (sdlc/quality-gate.md, git-flow README (plugins/git-flow/README.md)) |
built; Mistral Vibe was considered as a reviewer and is not set up, and no issue holds it |
| MCP services—Context7, Sonatype Guide, Aikido, GitHub | MCP over HTTPS, from the plugins' servers (3.2.1) | out—queries and changed code; in—documentation, checks, findings | one secret each; in a sandbox the proxy adds it (setup/network-allowlist.md) | built |
| Google Cloud | gcloud and Application Default Credentials, from dev-env:ops-doctor |
out—deployments of the apps' Cloud Run services; in—their state | the owner's Google login | built (7.1.6) |
| Google Gemini API | HTTPS from agy in every sandbox |
out—a second opinion's prompt; in—its answer | an API key, added by the sbx proxy (setup/secrets.md) | built (#632) |
| Mistral—the model provider of the apps, not of the setup | HTTPS from aise-feecheck-poc's backend, mistral-small-latest for extraction when its mistral profile is active; its default is a stub |
out—contract text; in—the extraction | an API key, a secret of that repository; its README.md and CLAUDE.md |
built in aise-feecheck-poc; the setup does not call it |
| Cloudflare | HTTPS through each owner host's tunnel, behind Cloudflare Access; the Cloudflare API from dev-env:ops-doctor |
in—the owner's browser sessions to the published hostnames | Access refuses a request at the edge unless it comes from the Access group (plugins/dev-env/skills/ops-doctor/remote-access.md) |
built (7.1.7) |
| Bitwarden Secrets Manager | bws over HTTPS, hourly |
in—the tokens of each machine | the machine stores one access token; every other token is a cache (setup/secrets.md) | built (#376, #413) |
| Tailscale | the tailnet between the owner's machines | the hub's hello-mcp, SSH; the node names are the machine part of the session names (7.1.1) |
only devices on the tailnet | built (7.1.3) |
| Google Drive | the Drive client on the owner's workstation | out—%USERPROFILE%\.claude, synced |
anything written there leaves the machine, so no token goes there (setup/owners-workstation.md) | built |
3.2.1 MCP servers and tools¶
The servers come with installed plugins, and dev-env:dev-doctor checks their logins. A cloud
session has none of these tokens; it uses its built-in GitHub tools and the claude.ai connectors
(7.1.5). There is no separate Claude Code Remote connector:
claude.ai reaches the host's sessions through Remote Control
(7.1.1).
| Server | For | Secret | Status |
|---|---|---|---|
| GitHub | issues and pull requests from the agent | a personal access token | built |
| Context7 | current library documentation | an API key | built |
| Sonatype Guide | checking a dependency before adding it | a token | built |
| Aikido | security scans of changed code | an API key on the host; browser sign-in on the owner's workstation | built |
hello-mcp |
the skeleton of the setup's own MCP server, read-only, on the Pi hub | none: it holds no token | built (7.1.3) |
The MCP server at <mcp host> |
the same dev and ops tools for agents on every machine | none: it holds no token | planned (epic #88, ADR 0001 (docs/adr/0001-hosting-console-and-mcp.md)) |
The secrets' names are in the token file's row of 7.1.1.