Concrete
Rulescontract

concrete/contract/decision-kind

Every fill decision names a kind the platform runs: text, number, pick, list or display.

Every fill decision names a kind the platform runs: text, number, pick, list or display.

Graded by the contracts stage of concrete check, in the contract venue. A violation reports this id and the file it failed at — see every rule and concrete check.

Reason

Every decision in a published fill spec names the executor that runs it by its kind: text writes a value, number estimates one, pick chooses one, list originates items, and display decides a display entry's case. Every other contract rule over a decision reads that kind to know what to grade, so a decision without one — or with one no executor runs — would pass them all ungraded and then fail on the platform, where nothing runs it. This rule refuses it once, by name, before the others look at it.

A decision that names its executor by a type field (text-block, list-fill, …) is a fill-spec shape the platform no longer runs; the message says so.

Neither type-caught nor reachable from an authored section. The build stamps the kind from the slot a fill is declared on, so an authored fill always carries one. The rule holds a published spec assembled somewhere other than a section's declaration; publishing re-runs the contract venue over the built artifact, and this is its half of that guard.

Fix

Rebuild the section with the current Concrete. In a workspace a fill is declared as source: fill.write(…), fill.pick(…) or fill.find(…) on the slot itself — see fill — and its kind follows from that slot.

Before and after

Both halves are the published section, not source: a decision without a kind cannot be authored.

{
  "id": "headline",
  "type": "text-block",
  "produces": ["headline"],
  "voice": "One plain sentence on the property."
}
{
  "id": "headline",
  "kind": "text",
  "produces": ["headline"],
  "fills": [
    {
      "kind": "fill",
      "verb": "write",
      "brief": "One plain sentence on the property.",
      "reads": [{ "kind": "home", "key": "description" }]
    }
  ]
}

On this page