Schema Repos — Documentation-Only Contracts
RULES.md
Five repos document HAX's core contracts/data-shapes; each is documentation-only (no runtime code) — the consuming runtime lives in `webcomponents`. Read the relevant one before authoring against, or asking an agent to reason about, that contract: `json-outline-schema` (`site.json`'s outline structure: `items` with `id`/`parent`/`order`/`indent`/`location`/`slug`, plus the Skeleton API for starter-site templates; consumed by both HAXcms backends and `haxcms-site-store`); `hax-schema` (`haxProperties`/HAXSchema — the contract that makes a web component HAX-capable: gizmo metadata, `settings` form fields, `haxHooks` lifecycle integration, `demoSchema`); `hax-element-schema` (`HAXElementSchema`, the lightweight `{tag, properties, content, eventName}` virtual-DOM object HAX uses for insertion, duplication, and DOM↔schema conversion via `haxElementToNode`/`nodeToHaxElement`; companion to `hax-schema`, since `demoSchema` entries are `HAXElementSchema` objects); `merlin-schema` (the Option/Program contract for Merlin, the universal command palette and voice assistant implemented by `<super-daemon>`, opened with `Alt+Shift` and shared across HAXcms, the HAX body editor, and app-hax); `appstore-spec` (the schema for HAX's media/app browser — external media provider definitions in `apps`, reusable content stacks in `stax`, and preloaded custom elements in `autoloader`, backing `generateAppStore`-style endpoints that feed the HAX editor's media tray). In PRAW RULES.md (scope: global). Guidance by design: no check enforces this, and none is planned. Says which contract repo to read before working against it.
Status: guidance
Connects to
- Architecture & File Structure Rules includes this