# 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      = { tag = 'NuCmd, cmd = "", expect_exit = 0 },
      rationale  = "",
    },
  ],

  related_adrs = [],

  ontology_check = {
    decision_string    = "",
    invariants_at_risk = [],
    verdict            = "Safe",
  },
}
