scion / docs-site
AGENTS.md1.7k starsChanged 5 months agoApache-2.0View on GitHub
This guide outlines the organizational philosophy, architecture, and curation standards for the Scion documentation project. It serves as a blueprint for both human and AI contributors to ensure a consistent and navigable documentation experience. Scion documentation is organized on the operational-mode spine defined in the root GLOSSARY.md — the single source of truth for terminology. The site is not organized by persona. Instead, readers self-select by the deployment target they are running: Local → Workstation → Single-node hosted → HA…
Trending
More talk lately.about the whole repository
Who's talking about GoogleCloudPlatform/scion
- @jauntywunderkind.bsky.social“A lot of similar ish things keep rolling out from Google. Scion, github.com/GoogleCloudP...”Bluesky · May 21, 2026 · 3 likes
- jdx/mise“fix(go): Query module proxy directly for version resolution”GitHub · Apr 9, 2026 · 2 reactions
- ptone/scion“fix(broker): skip docker runtime initialization when docker binary is unavailable”GitHub · Jul 12, 2026 · 1 reactions
- @jauntywunderkind.bsky.social“+1 more multi-agent system. Scion looking pretty good, covering all the necessary pieces? I appreciate …”Bluesky · Apr 9, 2026 · 1 likes
- shunkakinoki/dotfiles“chore: update dependencies”GitHub · Apr 8, 2026 · 1 reactions
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Bluesky (22 times).
On GitHub · 20
- Apr 9, 2026fix(go): Query module proxy directly for version resolution — jdx/mise2 reactions · 3 comments
- Jul 12, 2026fix(broker): skip docker runtime initialization when docker binary is unavailable — ptone/scion1 reaction · 1 comment
- Apr 8, 2026chore: update dependencies — shunkakinoki/dotfiles1 reaction · 3 comments
- Apr 2, 2026feat(templates): replace bootstrap container sync with direct server-side import — ptone/scion1 reaction
- Oct 5, 2026CI: Build & Test step stalled for 78 min after a test FAIL on GoogleCloudPlatform/scion#2469 (no local repro) — ptone/scion0 reactions · 1 comment
15 more on GitHub
- Oct 3, 2026docs: qualify attach UAT reach as built-in project roles (super-admin and custom roles also authorize) — ptone/scion0 reactions
- Oct 2, 2026test: cover keys API and raw-bridge gaps from the 4.1 plan — ptone/scion0 reactions · 1 comment
- Oct 1, 2026fix(store): SQLite store boundary in UTC (tz-refactor task 2) — ptone/scion0 reactions · 1 comment
- Oct 1, 2026web: gate the agent-detail Exposed Ports card on port_access capability — ptone/scion0 reactions
- Oct 1, 2026feat(authz): grant agent.port_access to project owners and admins — ptone/scion0 reactions · 1 comment
- Sep 30, 2026ci: Build & Test vet fails on main after GoogleCloudPlatform/scion#2088 (authzTestSetup undefined under -tags no_sqlite) — ptone/scion0 reactions · 1 comment
- Sep 30, 2026test(fixturegen): TestFixtureCoverage fails on main (stale table count 60→63; agent_identity_keys and external_identities have no fixture rows) — ptone/scion0 reactions
- Sep 30, 2026test(authzop): TestMutationClassificationBidirectional fails on main after GoogleCloudPlatform/scion#2090 (stale classification entry) — ptone/scion0 reactions
- Sep 29, 2026test(hub): TestEvaluateSAAssignment_CeilingDelegatorLacksPermission fails on main after GoogleCloudPlatform/scion#2062 — ptone/scion0 reactions
- Sep 27, 2026fix(single-node-vm): support custom-mode default network; correct deployer permissions — ptone/scion0 reactions
- Sep 25, 2026Finish grove -> project rename cleanup — ptone/scion0 reactions · 1 comment
- Sep 16, 2026fix(hub): populate scopes in explainAgentIdentity for cross-principal /api/v1/authz/explain — ghchinoy/scion0 reactions
- Jul 28, 2026Question: should the `!no_sqlite` test files run on any cadence at all? — ptone/scion0 reactions · 4 comments
- Apr 8, 2026📱 SNS 콘텐츠 - 2026-04-08 11:32 KST — leaf468/autothreads0 reactions
- Apr 8, 2026🤖 AI 트렌드 리포트 - 2026-04-08 11:32 KST — leaf468/autothreads0 reactions
On Bluesky · 2
- May 21, 2026A lot of similar ish things keep rolling out from Google. Scion, github.com/GoogleCloudP... — @jauntywunderkind.bsky.social3 likes and reposts · 1 reply
- Apr 9, 2026+1 more multi-agent system. Scion looking pretty good, covering all the necessary pieces? I appreciate their runtime flexibility, that… — @jauntywunderkind.bsky.social1 likes and repost · 2 replies
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/adk_scion_agent/templates/adk/agents.mdAGENTS.md
- examples/amp/templates/amp/agents.mdAGENTS.md
- pkg/config/embeds/templates/default/agents.mdAGENTS.md
- .scion/templates/instance-manager/agents.mdAGENTS.md
- .scion/templates/release-notes/agents.mdAGENTS.md
- .scion/templates/web-dev/agents.mdAGENTS.md
- web/AGENTS.mdAGENTS.md
- claude.mdCLAUDE.md
- git-operationsSkill
- git-sandboxSkill
- scion-agent-manageSkill
- scion-cli-operationsSkill
- scion-conversationSkill
- scion-messagingSkill
- scion-schedulerSkill
- team-creationSkill
- chrome-devtoolsSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 89
Use current terminology from the root GLOSSARY.md.
- Distinctive: line 126
Mode-Specific Placement: Put a page in the mode it belongs to.
- Very specific: line 130
Diagrams: Use D2 in d2 code blocks within Markdown files.
- Very specific: line 138
Redirects: When moving or renaming a page, add a redirect in the redirects map in astro.config.mjs so old URLs do not 404.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scion Documentation Meta-Guide
This guide outlines the organizational philosophy, architecture, and curation standards for the Scion documentation project. It serves as a blueprint for both human and AI contributors to ensure a consistent and navigable documentation experience.
1. The Primary Axis: Operational Mode
Scion documentation is organized on the operational-mode spine defined in the
root GLOSSARY.md — the single source of truth for terminology.
The site is not organized by persona. Instead, readers self-select by the
deployment target they are running:
Local → Workstation → Single-node hosted → HA hosted
This spine is a ladder of increasing infrastructure, separated by two orthogonal dimensions:
| Dimension | Meaning | Control |
| Availability tier | Whether the Hub is a single instance on an embedded database or replicated on an external one. | SCION_SERVER_DATABASE_DRIVER (sqlite vs postgres) |
| Tenancy | Single-user vs multi-user. Only opens up once hosted. | Orthogonal to the tier |
| Mode | Control plane | State & durability | Tenancy |
| Local | None (CLI only) | Local machine; git-worktree isolation | Single-user |
| Workstation | Combo server (Hub + Runtime Broker + Web) on loopback | Embedded SQLite | Single-user |
| Single-node hosted | One networked Hub on a single node | Embedded SQLite; non-HA | Single- or multi-user |
| HA hosted | Hub replicated behind a load balancer | External Postgres + object storage; HA | Single- or multi-user |
The secondary fork: user vs admin
Inside each mode, content forks into a user and an admin track. The depth of the fork scales with the mode's complexity:
- Local — single audience, no admin.
- Workstation — single audience; "admin" tasks (start the combo server, pick a runtime, network bridge) are light and self-served.
- Single-node hosted — moderate user/admin split.
- HA hosted — the fullest user/admin split (Postgres, object storage, load-balanced replicas, brokers, IAP, RBAC, observability).
The hosted user journey is shared by both hosted tiers. Its pages live once
under hosted/user/ and are referenced from both tiers' sidebars — link, don't
duplicate.
2. Content Architecture
The sidebar (astro.config.mjs) reflects the mode axis directly:
- Introduction & Foundations — Everyone, mode-agnostic. Overview, Choosing a Mode, Core Concepts, Philosophy, Supported Harnesses, Glossary, Release Notes.
- Getting Started (Workstation) — Install, the Onboarding Wizard, first-agent Tutorial.
- Local Mode — Single audience. CLI-only usage: agent lifecycle, workspaces & sharing modes, templates, credentials, custom images, tmux, completions, local configuration.
- Workstation Mode — Single audience; the hosted experience locally. The combo server, the Web Dashboard, Hub-managed vs Linked projects.
- Hosted — Single-node — Cheap networked Hub. User Guide + Admin Guide (one VM / Cloud Run + SQLite, auth & tenancy, secrets, observability).
- Hosted — HA — Durable, always-on. User Guide (shared) + Admin Guide (Postgres + object storage + LB replicas, brokers & profiles, Kubernetes, identity & access, lifecycle hooks, observability).
- Technical Reference — Mode-agnostic; autogenerated from
reference/. CLI, API, config schemas, security. - Contributing — Autogenerated from
contributing/. Architecture, ADK, harness-dev, runtime-dev, design catalog, logging. (The former "Development" section is folded in here.)
Directory layout
Content directories mirror the mode axis:
src/content/docs/
├── (foundations pages at root: overview, choosing-a-mode, concepts, …)
├── getting-started/ (install, onboarding, tutorial)
├── local/ (Local Mode)
├── workstation/ (Workstation Mode)
├── hosted/
│ ├── user/ (shared hosted user journey)
│ ├── single-node/ (Single-node admin)
│ └── ha/ (HA admin)
├── reference/ (autogenerated Technical Reference)
└── contributing/ (autogenerated Contributing)3. Vocabulary
Use current terminology from the root GLOSSARY.md. Do not use deprecated terms:
| Deprecated | Use instead |
| Grove | Project |
| Solo mode | Local mode |
| "Mode 3" (numeric) | HA hosted |
| bare "Broker" | Runtime Broker (a service), or a specific broker type (Node-Bound / Proxy / Embedded / Hosted) |
| "two workspace strategies" | the three sharing modes: Shared-plain, Worktree-per-agent, Clone-per-agent |
Key distinctions to preserve:
- A Runtime Broker is a service, not a machine. A machine that offers runtimes is a node-bound broker.
- A Project is not a Group. A Group is a permissions-system collection of users (multi-user, hosted only).
- Harnesses are not plugins. They are external, vendor-supplied agent software
Scion drives, integrated via a harness-config, not the
go-plugininterface. - Message Broker (chat/notification transport) ≠ Event Bus (internal event fan-out). Keep them distinct.
4. Config Files
Scion accepts both settings.yaml and settings.json on disk, in precedence
order settings.yaml → settings.yml → settings.json (YAML preferred). scion init
writes YAML by default. The JSON schema lives at
pkg/config/schemas/settings-v1.schema.json. Never show a JSON object inside a
```yaml fence.
5. Curation Standards
- Code-First Truth: Documentation should be updated in the same PR as the feature implementation. Docs follow code — if they diverge, fix the docs and flag it.
- Source of Truth:
GLOSSARY.md(root) for terminology and the mode spine..design/for architectural intent.pkg/for implementation details; verify CLI flags incmd/.
- Mode-Specific Placement: Put a page in the mode it belongs to. When a topic spans modes, place it in the most logical one and cross-link — do not duplicate.
- Tone: User docs are practical and task-oriented; admin docs are technical and detail-oriented; reference docs are exhaustive and dry.
- Diagrams: Use D2 in
d2code blocks within Markdown files. - Cross-Linking: Link from high-level guides to specific references to avoid
duplication. Internal links use the absolute form
/scion/<slug>/.
6. Verification
- Sidebar: Register new pages in
docs-site/astro.config.mjsunder the correct mode group. - Redirects: When moving or renaming a page, add a redirect in the
redirectsmap inastro.config.mjsso old URLs do not 404. - Link Check:
starlight-links-validatorruns duringnpm run build(Node ≥ 22). Fix every reported broken link. - Formatting: Standard Markdown. Starlight supports Callouts (Note, Tip, Caution, Danger).
Note on D2: The d2 CLI may not be available in all environments. If you cannot
run ./check-d2.sh, ensure your D2 syntax is correct per the
D2 documentation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

