Orrery.
← All Stars

public Star · 0.1.0

orrery/kida-check

Static Kida template validation with coded findings — no render.

Use this when

  • You need Kida component call-site findings before render
  • You want a sealed check over caller-supplied templates with no egress

Not for

  • Rendering Kida to HTML (sibling kida-render, not this star)
  • Fetching templates from the network
  • Markdown structure audit (use structure-audit)

Inputs / Outputs

Inputs

NameTypeNotes
templates required array [{path, content}] .html/.kida
validate_calls boolean default true
strict boolean default false

Outputs

NameTypeNotes
findings array
finding_codes array
passed boolean
envelope signed-envelope

Example

{
  "method": "tools/call",
  "params": {
    "name": "check",
    "arguments": {
      "templates": []
    }
  }
}

Tools

check Statically validate caller-supplied Kida templates and return coded findings · schema
{
  "type": "object",
  "properties": {
    "templates": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "content": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      }
    },
    "validate_calls": {
      "type": "boolean",
      "description": "Validate component call sites against {% def %} signatures."
    },
    "strict": {
      "type": "boolean",
      "description": "Fail on unified {% end %} closers instead of explicit tags."
    }
  },
  "required": [
    "templates"
  ],
  "additionalProperties": false
}

In constellations