Skip to content
open.blog documentation
open.blog

ADR 0200: Nothing published means nothing written, and a refused file is left out whole

Context#

Existing sites must build exactly as before, a site that curates but currently publishes nothing is not a site with a new empty file, and a failure of one object must not take the page down or write a gap.

Decision#

  • Off is the legacy build. While curatedContext.publish is off the selections are never read and no file, section, manifest projection or guard allowance exists: every output is what it was, byte for byte, except the shared stylesheet that now also carries the section's rules.
  • No published selection, no file. A site that curates but publishes no selection (none, or all withdrawn, stale or for no published post) writes no file, lists none and renders no section: it builds exactly as it did with the switch off.
  • Failures are object-scoped and non-destructive. A refused projection (over a bound, or not consistent) leaves out the data file only, with a boundary: warning and a withheld item in Admin's preview; the pages' sections, the selections and every other projection are unaffected. A refusal never names an item's text. Nothing is written into the private files.
  • B3 is untouched. atlas-query.json, the atlas pages and the atlas: concept links are derived from the published atlas alone and are byte for byte the same with or without curation; the atlas: leak guard is unchanged.
  • Deterministic. The same site builds the same bytes, in the same order, every time.

View this page's source