Architecture description (arc42)¶
The architecture of this repository, one file per arc42 chapter: the software built here—the
plugins, the scripts, the servers, the checks and the docs site—and the infrastructure it runs
on. It links rather than repeats: the goals and qualities are in SPEC.md (SPEC.md), the
decisions in docs/adr/ (docs/adr/README.md), the process in sdlc/ and the
how-tos in setup/ and ci/. Open architecture questions
are collected in one place, open.md; a section that cannot be answered yet says only
TBD.
Where a chapter and the repository disagree, the repository wins.
Start here¶
What this repository is. One place that holds everything Claude Code needs to work on the owner's machines and in the owner's repositories—the infrastructure, the tooling, the stacks and the AI SDLC—delivered as plugins of one marketplace (1.1).
Reading order. 1 Introduction and Goals →
4 Solution Strategy →
2 Architecture Constraints →
9 Architecture Decisions. The infrastructure follows in
3 Context and Scope and 7 Deployment View,
the software built here in 5 Building Block View and how its parts
work together in 6 Runtime View. Terms are in the
glossary. The other chapters say TBD until they are written.
Chapters¶
- Introduction and Goals
- Architecture Constraints
- Context and Scope
- Solution Strategy
- Building Block View
- Runtime View
- Deployment View
- Cross-cutting Concepts
- Architecture Decisions
- Quality Requirements
- Risks and Technical Debts
- Glossary
Diagrams¶
Every diagram is Mermaid, and its colours say the build state of each element. A cut from the first one, the setup among its neighbours (3.1.1), with the planned console of 7.1.7 added so that all four colours show:
flowchart TB
owner["Owner<br/>[Person]"]
setup["The setup<br/>[Software system]"]
github["GitHub<br/>[External system]"]
console["Console<br/>[Software system]"]
owner -- "ideas, decisions" --> setup
setup -- "issues, pull requests" --> github
owner -.-> console
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 console planned
class github external
| Colour | Meaning |
|---|---|
| green | built |
| blue, dashed border; dotted arrows | planned |
| grey | external: a system, account or service the setup does not build; a grey frame groups what runs in one place |
| light orange | person |
Below each diagram its legend repeats the rows it uses, and a table lists each element with its Status column: "built", "planned" or "proposed".
| Diagram | Section |
|---|---|
| The setup among its neighbours | 3.1.1 System context |
| The places Claude Code runs and their channels | 3.2 Technical Context |
| The building blocks and the systems around them | 5.1 Whitebox Overall System |
| From idea to merge, as an overview and as a sequence | 6.1 |
| A coordinator round | 6.2 |
| A token rotation | 6.3 |
| A sandbox's setup | 6.4 |
| A docs-site publish | 6.5 |
| Where things run and which account they use | 7.1 Infrastructure Level 1 |
| The Linux host | 7.1.1 |
| The owner's workstation | 7.1.2 |
| The Raspberry Pi hub | 7.1.3 |
| GitHub | 7.1.4 |
| claude.ai and its cloud sessions | 7.1.5 |
| Google Cloud | 7.1.6 |
| Cloudflare | 7.1.7 |
Layout¶
The description follows the arc42 template, template version 9.1-EN: one
file per chapter, with the template's numbered headings (## 1.2 Quality Goals) and this
repository's own subsections numbered below them. arc42 is linked, not copied: the template's
help text and its own pages stay on arc42.org, whose licence is
CC BY-SA 4.0.
Other pages in this folder:
| Page | Place |
|---|---|
| open.md | every open architecture question, with where it comes from |
blocks/ |
one page per building block that is not a plugin, with its detailed view; chapter 5 summarises each and links it: Linux host scripts, owner's workstation scripts, sandbox scripts, repository tools, hello-mcp, agent dashboard, CI checks, docs site. A plugin's detailed view is its page under Plugins |
concepts/ |
one page per cross-cutting concept; chapter 8 numbers them and summarises each: secrets and tokens, identities, permissions and sandboxing, the quality gate, the merge kinds, idempotent scripts, staged versus active, the docs site's privacy gate, cost |
In the repository only, not on the docs site: CLAUDE.md (docs/architecture/CLAUDE.md), how the chapters are
written—headings, sources, TBD, diagram style, tables. It is instructions for the writers,
not architecture.