ontoref/adrs/_template.ncl
Jesús Pérez 0396e4037b
Some checks failed
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
chore: add ontology and reflection
2026-03-13 00:21:04 +00:00

52 lines
1006 B
Plaintext

# ADR template — plain record for typedialog roundtrip input.
# No contracts applied here; contracts are enforced in the Jinja2 output template.
#
# Usage:
# typedialog nickel-roundtrip \
# --input adrs/_template.ncl \
# --form reflection/forms/new_adr.ncl \
# --output adrs/adr-NNN-title.ncl \
# --ncl-template reflection/templates/adr.ncl.j2
{
id = "adr-000",
title = "",
status = "Proposed",
date = "2026-03",
context = "",
decision = "",
rationale = [
{ claim = "", detail = "" },
],
consequences = {
positive = [""],
negative = [""],
},
alternatives_considered = [
{ option = "", why_rejected = "" },
],
constraints = [
{
id = "",
claim = "",
scope = "",
severity = "Hard",
check_hint = "",
rationale = "",
},
],
related_adrs = [],
ontology_check = {
decision_string = "",
invariants_at_risk = [],
verdict = "Safe",
},
}