@repospec/templates
The default content the Repospec protocol is seeded from, plus the adapter
templates that render .repospec/ into each assistant's native entrypoint. Mostly
data and a manifest — minimal logic (ADR-0001).
Templates are bundled, so repospec init is deterministic and offline
(ADR-0006).
What it provides
getSeedDocuments(project) returns the human-owned .repospec/ seed files for a
freshly initialized project:
constitution.md,architecture.md,workflow.md(rendered from the init answers),- starter agents (
reviewer,implementer), - starter rules (
tests-required,small-changes,document-public-api).
project.yaml is serialized by the engine, not here. interpolate (a
{{ dotted.path }} substitution engine that throws on a missing variable) and
partials (reusable snippets) are exported for authoring templates — see
docs/templates.md.
Ownership
Every template entry declares an owner (human | repospec) so the engine can
honor the ownership model in ADR-0004:
human— source artifacts under.repospec/, seeded once, never silently overwritten.repospec— generated outputs (e.g.CLAUDE.md), regenerated byrepospec sync.
Dependencies
@repospec/protocol(types only).