Concrete
Rulescontract

concrete/contract/display-evidence

A filled display entry has a declared fact read to judge its case from.

A filled display entry has a declared fact read to judge its case from.

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

A display entry decided by a fill.pick is answered from its brief and the refs its reads names, and from nothing else. It is handed another fill's output only when it reads that slot, so a brief written about the photo an image fill chose, or the line a text fill wrote, that does not read it is asking about material that never arrives.

Nothing downstream can tell that from a considered answer. The model answers from what little it was shown, the verdict names a declared case, and the section renders. So the entry must declare its evidence: a reads naming the facts or slots it judges. The check is a floor rather than a proof — it passes on a read the display entries declare, or on any fact the section's fills read, so it cannot know that what is read is what this entry judges — but a section with neither decides the entry from nothing, which is the shape every ungrounded pick took.

Check-caught. reads is optional by construction: a pick of one photo needs none to see its candidates.

Fix

Name the facts or slots the entry judges in its fill's reads.

Before and after

import { fill, select } from "@homepages/concrete";

// display: { variant: … }
select({
  from: ["classic", "editorial"],
  source: fill.pick({ brief: "Editorial where the property photographs carry the story." }),
  locked: true,
});
import { fact, fill, select } from "@homepages/concrete";

// display: { variant: … }
select({
  from: ["classic", "editorial"],
  source: fill.pick({
    brief: "Editorial where the property photographs carry the story.",
    reads: [fact.property.uploads],
  }),
  locked: true,
});

On this page