Skip to Content
Specification

Specification

The Context Nest Specification is the canonical reference for the protocol. It defines the complete format, rules, and behavior that implementations must follow.

Current version

The specification is maintained in the context-nest-spec  repository.

Sections

§SectionDescription
1Vault StructureLayout modes, CONTEXT.md, config.yaml
2Selector GrammarComposable query syntax
3Source NodesLive data instructions, transports, dependencies
4Addressingcontextnest:// URI scheme, resolution, federation
5Context Indexcontext.yaml manifest format
6Per-Document VersioningKeyframe + diff storage, history.yaml
7Nest CheckpointsVault-level atomic snapshots
8Integrity VerificationSHA-256 hash chains, cross-chain binding
9Context Injection & TracingQuery flow, audit tracing
10Context PacksPack format, agent instructions
11Configurationconfig.yaml schema, server registry
12Inline SyntaxContext links, tags, mentions
13Validation RulesDocument, source, and cross-reference validation
14Obsidian CompatibilityFlat layout, properties panel
15Git CompatibilityDiff-friendly design, merge behavior
16Extension PointsCustom fields, transports, edge types

Implementations

PackageDescription
@promptowl/contextnest-engineCore engine (TypeScript)
@promptowl/contextnest-cliCLI tool
@promptowl/contextnest-mcp-serverMCP server

License

The specification is licensed under Apache-2.0.

Contributing

Contributions to the specification are welcome. See the spec repository  for guidelines.

Last updated on