Home / Docs / ODS Features & Architecture Overview

ODS Features & Architecture Overview

stable profile: note

Complete reference for frontmatter keys, root index configuration, profiles vs packs, AI context, and CLI commands.


ODS Features & Architecture Overview

Open Document Specs (ODS) is a lightweight, graph-native Markdown convention layer. This document provides a complete guide to all frontmatter keys, workspace mechanics, profiles, tags, code references, AI context rules, and ODS Packs.


1. Core Frontmatter Features

FieldTypeLevelPurpose & Usage
profilestring1+Document Classification: Defines document kind (guide, decision, feature, sop, etc.). Defaults to note.
statusstring1+Document Lifecycle: Maturity state (draft, stable, deprecated, archived). Defaults to draft.
sharestring1+Visibility Control: public (default), org, or private.
idstring2+Explicit Identity: Override the path-derived default ID (docs/setup).
descriptionstring1+Summary: One-line summary used to populate generated index.md lockfiles.
dependslist of refs2+Prerequisite Edges: Graph prerequisite links to other documents (- ../auth/sessions.md).
relatedlist of refs2+Association Edges: Non-binding reference links (- ../products/glow.md).
resourceslist2+Native Asset Links: Non-Markdown files attached to the document (- path: docs/diagram.pdf).
codelist2+Implementation Map: Fixed-role source code mappings (path, symbol, role: entrypoint|implementation|test|...).
contextmap2+Bounded AI Reading Scope: Directives for AI agents (load: [...], ignore: [...], max-depth: 2).
ownerstring1+Maintainer: Responsible individual or team (support-team).
tagslist of strings1+Search Facets: Free-form lowercase facets (- customer-care).

2. Root index.md Configuration Keys

FieldTypeScopePurpose
odsstringRoot index.mdWorkspace Spec Marker: Declares ODS workspace boundary and version (ods: 0.1).
ods-clistringRoot index.mdCLI Requirement: Minimum CLI version requirement (ods-cli: ">=0.1.18").
profileslist of pathsRoot index.mdCustom Profile Catalogs: Workspace paths to custom profile schemas ([".ods-profiles"]).
packslist of pathsRoot index.mdImported ODS Packs: Reusable workspace bundles containing profiles, skills, and SOPs (["vendor/engineering-pack"]).
ignorelist of pathsRoot index.mdWorkspace Excludes: Workspace-relative path prefixes excluded from scan (["src/", "dist/"]).
aliasesmapRoot index.mdSection Heading Aliases: Workspace-wide H2 section aliases (Goal: [Objective, Purpose]).