Skip to Content
AddressingURI Format

URI Format

The contextnest:// URI scheme follows RFC 3986 conventions.

Syntax

contextnest://[authority/]path[#fragment][@checkpoint]

Components

ComponentRequiredDescription
authorityNoNamespace for cross-namespace references
pathYesDocument path, folder path, tag, or search query
fragmentNoHeading anchor within the document
checkpointNoPin to a specific checkpoint number

Path patterns

PatternExampleResolves to
Documentcontextnest://nodes/api-designSingle document
Foldercontextnest://engineering/All docs in folder (trailing /)
Tagcontextnest://tag/engineeringAll docs with #engineering tag
Searchcontextnest://search/rate+limitingFull-text search results

Canonicalization

Implementations must normalize URIs before resolution:

  • Case folding: Path segments are case-insensitive and normalized to lowercase
  • Percent decoding: Standard RFC 3986 percent-decoding applies
  • Dot segments: . and .. are resolved before resolution. A .. that escapes the vault root is rejected
  • Trailing slashes: A trailing / indicates a folder reference, not a document

Anchors

Anchors reference headings within a document:

contextnest://nodes/architecture#key-decisions

Anchors are matched against the rendered heading list using GitHub-style slug generation (lowercase, hyphens for spaces, strip special characters).

Last updated on