Documents

Organizing Content

Workspaces, projects, and folders β€” a flexible hierarchy that scales from a single team to an entire organization.

The Content Hierarchy

Every piece of content in Stable Baseline lives within a four-level hierarchy. Each level serves a distinct organizational purpose:

W

Workspace

Top-level boundary

A workspace is your highest-level organizational boundary. Think of it like a team or a department. Each workspace has its own members, permissions, and billing. Most organizations use one workspace per team or business unit.

EngineeringProductPlatform TeamClient Delivery
P

Project

A collection of related docs

A project groups related documents together. It could represent a product, a service, a client engagement, or any logical body of work. Projects contain folders and documents, and each project has its own permissions that roll up from the workspace.

Auth ServiceMobile AppQ1 AuditData Pipeline
F

Folder

Nestable grouping

Folders organize documents within a project. They can be nested β€” folders inside folders β€” giving you as much or as little depth as you need. Folder structure is completely flexible: group by feature, by lifecycle stage, by audience, or however makes sense for your team.

ArchitectureAPI SpecsRunbooksMeeting NotesArchive
D

Document

The actual content

The document is your unit of content β€” a rich CDMD file with text, diagrams, images, and version history. Documents live inside folders (or directly at the project root). Each document has its own title, version timeline, and can be independently shared or linked.

Folder Nesting

Folders support unlimited nesting depth. This lets you mirror your actual project structure:

πŸ“‚ Auth Service
β”œβ”€β”€ πŸ“‚ Architecture
β”‚   β”œβ”€β”€ πŸ“„ System Context (C4)
β”‚   β”œβ”€β”€ πŸ“„ Container Diagram
β”‚   └── πŸ“„ Data Flow
β”œβ”€β”€ πŸ“‚ API Reference
β”‚   β”œβ”€β”€ πŸ“„ /auth/login
β”‚   β”œβ”€β”€ πŸ“„ /auth/refresh
β”‚   └── πŸ“„ /auth/revoke
β”œβ”€β”€ πŸ“‚ Runbooks
β”‚   β”œβ”€β”€ πŸ“‚ Incident Response
β”‚   β”‚   β”œβ”€β”€ πŸ“„ Token Leak Playbook
β”‚   β”‚   └── πŸ“„ Rate Limiting Escalation
β”‚   └── πŸ“„ Deployment Checklist
└── πŸ“„ README

Nest as deep as makes sense for your content. There is no hard limit. However, as a best practice, keep nesting to 3–4 levels to maintain discoverability.

When to Use What

LevelUse When…Examples
WorkspaceYou need a completely separate access boundary (different team, different client, different billing).Eng team, Platform ops, Client XYZ
ProjectYou have a logical body of work with its own docs β€” a service, a product, an engagement.Payment Service, iOS App, SOC 2 Audit
FolderYou want to group documents by topic, area, or stage within a project.Architecture, API Specs, Decision Logs
DocumentYou have a single piece of content β€” a design doc, a runbook, a spec.System Context Diagram, Deploy Guide

Organizational Patterns

Here are some patterns that work well for teams of different sizes:

Small Team (1 workspace, few projects)

One workspace for the whole team. One project per product or service. Use folders to separate architecture docs, API specs, and guides. Simple and flat.

Engineering Org (1 workspace, many projects)

One workspace for engineering. A project for each microservice or component. Consistent folder structure within each project (Architecture, API, Runbooks, Decision Logs). Makes it easy for anyone to navigate to the right place in any service.

Multi-Team Org (multiple workspaces)

Separate workspaces for engineering, product, and ops. Each team manages their own content and permissions. Use MCP API keys scoped to specific workspaces for cross-team integrations.

Consulting / Agency (workspace per client)

One workspace per client for clean access separation. Projects within each workspace for different engagements or deliverables. Strict permission boundaries ensure no cross-client data leaks.

Tips

  • β€’ Use project-level navigation (getProjectHierarchy) to see the full tree in one call.
  • β€’ Keep folder names short and descriptive β€” they appear in sidebar navigation and breadcrumbs.
  • β€’ Documents at the project root are fine for READMEs and high-level overviews.
  • β€’ Use consistent folder names across projects (e.g. always "Architecture", "API", "Runbooks") so people know where to look.

Next Steps