Documentation Structure
This page defines the current documentation structure and the intent of each lane.
Audience: Documentation maintainers and contributors.
Context: Use this map before adding new pages, moving concepts, or expanding a section.
Top-Level Structure
The documentation system is split into four top-level areas:
| Area | Purpose | Content status |
|---|---|---|
Open Source | Complete public documentation for the open-source runtime and codebase | Active content |
SDK | Future SDK documentation for client libraries and integration flows | Structure only |
Enterprise | Public enterprise user-facing navigation only | Placeholder only |
Documentation System | Rules, structure, and future authoring standards | Active content |
Open Source Structure
Open-source documentation is split by audience first, then by depth.
Overview
Open Source OverviewExplains the runtime model, the host-versus-runtime split, and how the rest of the docs are organized.
End Users
Open Source End UsersLanding page for operators using the runtime.InstallationPrerequisites, install path, and runtime setup expectations.QuickstartShortest successful path to a working runtime.ConceptsCore public concepts: workspaces, principals, policies, mandates, delegation, ledgers, providers.CLIHost command model, in-container CLI model, and restricted shell behavior.TUIFlow navigation, onboarding, and screen model.ConfigurationWorkspace config, environment variables, secrets, and provider configuration.CommandsGrouped reference for the user-visible command surface.WorkflowsEnd-to-end operational flows across workspace, providers, policy, mandate, backup, and recovery tasks.SecurityPublic security model, fail-closed behavior, secrets handling, and runtime boundary explanations.TroubleshootingStartup, runtime, workspace, database, Redis, and provider diagnostics.
Developers
Open Source DevelopersLanding page for contributors and repository readers.ArchitectureSystem-level map of the repository and runtime.Runtime ModelEntrypoints, Docker Compose runtime, restricted shell, and command-surface boundaries.Core Authority SystemPrincipal, policy, mandate, delegation, intent, validation, and ledger behavior.Storage and DataWorkspace layout, configuration loading, PostgreSQL models, Redis cache, Merkle integrity, and migrations.Services and IntegrationsMCP service, monitoring, provider catalog, deployment helpers, and integration boundaries.Flow TUI InternalsFlow app orchestration, persisted state, onboarding, and screen organization.Development SetupLocal setup for contributors.ContributingContribution workflow and expectations.TestingTest suite layout and strategy.ReleasesVersioning, release scripts, and packaging surfaces.ChangelogScope and responsibility of change summaries.Enterprise ConnectorPublic open-source boundary to enterprise behavior.
SDK Structure
SDK documentation is present in navigation but intentionally deferred for content.
SDK OverviewSDK ConceptsSDK AuthenticationPython SDKTypeScript SDKSDK WorkflowsSDK Reference
These pages exist so the information architecture is stable before SDK content is written.
Enterprise Structure
Enterprise remains public and high-level only.
OverviewGetting StartedConfigurationAdministrationAccess / AuthDeploymentMonitoringTroubleshootingReference
No enterprise implementation internals belong in this documentation system.
Page Ownership Rules
- End-user pages own operational guidance.
- Developer pages own internals and codebase behavior.
- Overview pages own orientation, not detailed reference.
- Reference pages own grouped command or API lookup material.
- Workflow pages own ordered task sequences.
- Concept pages own shared mental models.
Expansion Rules
Add a new page only when one of these is true:
- A concept has become too large for its current page.
- Two audiences need materially different explanations.
- The same explanation is being repeated in multiple places.
- A module boundary needs a canonical internal explanation.
Do not add a page just to mirror a directory in the repo. Add it only when the reader benefits from a stable conceptual boundary.