Frontmatter Schema Reference¶
Story files use YAML frontmatter between --- delimiters to provide metadata for HPNC.
Schema¶
| Field | Type | Required | Default | Validation |
|---|---|---|---|---|
night_ready |
bool | Yes | false |
Must be true for night run |
executor |
string | Yes | "" |
Must be a known agent: opus, codex, mock |
reviewer |
string | Yes | "" |
Must be a known agent, different from executor |
risk |
string | No | low |
low, medium, high |
tests_required |
bool | Yes | true |
Must be defined |
touches |
list[str] | No | [] |
Abstract resource names |
blocking_questions |
list[str] | No | [] |
Must be empty for night-ready |
gates_required |
list[str] | Yes | [] |
Known gates: build, tests, lint |
Validation rules¶
hpnc validate checks:
night_readyistrue- All mandatory fields are present and non-empty
blocking_questionsis empty- All
gates_requiredvalues are recognized
Known gates (Phase 1)¶
build— project builds/imports successfullytests— test suite passeslint— linter passes (ruff, eslint, etc.)