| type | ProcessSpec | |
|---|---|---|
| summary | Explains how docs/specs/ is organized, including nested spec-family directories and ontology classification rules. | |
| id | SPEC-0005 | |
| spec-status | active | |
| last-updated | 2026-05-02 | |
| aliases |
|
This repo's docs/specs/ tree is an enforced taxonomy, not a suggestion. Each spec-family root maps to an ontology type declared in .rhizome/ontology/schema.graphql, and the schema's @node(paths: [...]) directives make the mapping load-bearing. Subdirectories are allowed under each family root for organization, but classification is not based on filename precision alone: explicit type: frontmatter or required identifier presence determines whether a note is actually a spec.
- give authors a single rule for where a new spec goes
- keep the ontology and the filesystem in lock-step without forcing every sibling note under a spec directory to become a spec
- make
alignment-auditfindings actionable by folder
- documenting the full schema; see
.rhizome/ontology/schema.graphql - documenting every reference-note convention; see
docs/reference/README.md
| Folder | Ontology type | What belongs there |
|---|---|---|
docs/specs/product/** |
ProductSpec |
User-visible behavior, scope, product intent |
docs/specs/technical/** |
TechnicalSpec |
Engineering contracts, architecture boundaries |
docs/specs/process/** |
ProcessSpec |
How work flows: development loop, audits, skills |
docs/specs/experience/** |
ExperienceSpec |
Interaction design, flows, content behavior |
docs/specs/operations/** |
OperationsSpec |
Deployment, support, migration, operational readiness |
Each type uses a nested @node(paths: ["docs/specs/<folder>/**/*.md"]) directive, so specs can be organized by area, for example docs/specs/technical/search/SPEC-0042-foo.md. For important top-level families with a required @identifier field, path is only the discovery default: an undeclared note under the path must also present the required identifier field before Rhizome classifies it as that type. A ProductSpec placed under docs/specs/technical/ still fails validation rather than silently mistyping, because explicit type: must agree with selectors.
Freeform sibling notes are allowed under spec directories when they are not intended to be typed specs. A plan.md or notes.md file with no type: and no required id: stays untyped instead of inheriting the parent directory's spec type.
- New specs pick the folder whose type matches the intent. If no type fits, propose a schema change before filing the note.
- Spec frontmatter includes
type,summary,id,spec-status, andlast-updated.last-updatedis the sole versioning marker; bump it on substantive edits and treat it as the read-time freshness signal that downstream skills (alignment-audit, frozen-scope-drift) consume. - Specs may live in subdirectories under their family root. Do not rely on filenames such as
SPEC-*.mdfor classification; required identifier presence is the gate for undeclared notes in identifier-backed families. - Top-level spec ids use the
SPEC-XXXXformat defined inid-allocation.md. - Specs that participate in delivery work usually include a
User Storiessection with required authored, block-safe story id lines. Writeid::with a leading caret before the story id, such asSPEC-XXXX-US1. - Specs can link to
docs/feature-areas/**notes throughfeature-areas:frontmatter. Use feature areas to group specs by product/system surface without turning folder layout into ownership metadata. TechnicalSpecmay omitUser Storieswhen requirements-only structure is a better fit for the subsystem contract.alignment-auditwithaudit_type: documentationcatches folder/type mismatches viarzm agent validate --check ontology.
- Use folder
README.mdfiles as plain navigation docs explaining reading order for that folder. - Keep scratch planning and working notes visibly freeform unless they should become specs or effort content.
- none currently; use
docs/specs/technical/for normative technical targets anddocs/reference/for descriptive supporting architecture material