docs: the handbook follows the three layers: swarm, hives, agents
The handbook's sections were agent-lifecycle, integrations, swarm, tools, trust-boundary and web-ui, which do not follow how the system is built, so a reader could not tell which layer a page is about. Its pages now sit in swarm/, hives/ and agents/, with the accounts an agent can hold outside the system in external-accounts/. - swarm/: forge, matrix and the knowledge repo join the swarm pages, and so does the swarmctl reference. - hives/: the dashboard, hivectl and its reference, and the operator/agent boundary, with a README that takes over the old web-ui and tools pages. - agents/: the roster, persistence, config changes, the agent's own web page (was web-ui/agent) and the security model, with a README. - external-accounts/: GitHub and GitLab. Pages are moved whole; none is split yet. Every reference follows: relative links in the docs, `docs/2-handbook/...` paths in code comments, the nix checks that regenerate the CLI references and the ignore list, and docs/README.md, whose handbook section is now by layer.
This commit is contained in:
parent
263b21021a
commit
0e84fe8bc4
1 changed files with 393 additions and 363 deletions
|
|
@ -15,13 +15,13 @@
|
|||
//! enumerated and re-emitted, and an enumeration that can silently drift
|
||||
//! advertises a boundary it does not hold. A wide grant that says so beats a
|
||||
//! narrow one that only looks narrow. The narrower shapes, and what they would
|
||||
//! cost, are in `docs/2-handbook/trust-boundary/security.md`.
|
||||
//! cost, are in `docs/2-handbook/agents/security.md`.
|
||||
//!
|
||||
//! The **hive** stanza has no such problem and is therefore narrow: that path
|
||||
//! names its principal, so scoping it to the reader's own name costs nothing
|
||||
//! and drifts nowhere. Do not widen it to match the agent stanza — the
|
||||
//! asymmetry is the point, and only holds if a one-per-hive credential is
|
||||
//! stored under [`Kind::Hive`] — see docs/2-handbook/trust-boundary/security.md.
|
||||
//! stored under [`Kind::Hive`] — see docs/2-handbook/agents/security.md.
|
||||
//!
|
||||
//! A hive reads nothing under `swarm/services/` or `swarm/controller/`. A swarm
|
||||
//! service's OIDC client secret is read under a certificate that is not a
|
||||
|
|
|
|||
Loading…
Reference in a new issue