Command Palette
Search for a command to run...

Format specification

Version: draft 1 (pre-implementation)

This document is normative for the on-disk format: how code is anchored, how markdown carries references, how content is hashed, and what states a reference can be in. The tool that operates on the format is specified in Tooling & CLI.

  • Anchor: an addressable piece of code. Either a symbol (a named declaration found by parsing) or a region (a span delimited by marker comments) or a whole file.
  • Reference (ref): a locator string naming an anchor, optionally in another repository.
  • Snippet: a fenced code block whose contents the tool keeps in sync with the anchored code.
  • Claim: a comment-delimited span of prose asserting something about anchored code; it needs a human re-approval when that code changes.
  • Approval: recording the hash of the anchored content at the moment a human or agent confirmed the prose is still true.