Skip to content
LITHOEN

Evidence platform and governance

Document

Data Classification

Repository path
docs/data-governance/DATA_CLASSIFICATION.md
Size · SHA-256
2.9 KB · 86854d3cdc526d3b21693f05ec43dacd03bd16aa7e9233f062c1241df343e72a

Normative machine-readable definitions: packages/domain/src/classification.ts.

Class Sensitivity Lives in May reach public web
PUBLIC 0 data/public/, content/ yes (when PUBLISHED)
INTERNAL 1 data/internal/, research/methodologies/, research/notes/ never as canon; published as research records (ADR-0065) unless held back
RESTRICTED 2 data/restricted/, research/hypotheses/, research/experiments/ never (not opened by ADR-0065)
CONFIDENTIAL 3 (no store yet — see below) never

Definitions

  • PUBLIC — publication-safe structured science, publishable source metadata, public educational content and visualisations.
  • INTERNAL — working research: normalisation notes, derived intermediate datasets, non-sensitive experimentation. Not secret; not asserted publicly.
  • RESTRICTED — proprietary derived intelligence: exploration hypotheses, prospectivity outputs, internal rankings, proprietary methodology, unreleased analytical results.
  • CONFIDENTIAL — partner/client data, licensed no-redistribution datasets, contractual material. Phase 0 is architectural-only for this class: the vocabulary member, ordering and prohibitions exist, but no directory is mapped, so nothing can be stored as CONFIDENTIAL yet. Opening the store is a deliberate future act: map directories in the classification definition, add a canary exemplar, and extend the leakage tests — in the same change.

Rules

  1. Classification is declared on the record AND implied by its directory; disagreement fails the load gate (proved by mutation test).
  2. Only PUBLIC records may be projected; the projection layer throws otherwise.
  3. A published public record's reference chain must itself be publishable (public-chain rule).
  4. Notes (working records) structurally cannot be PUBLIC.
  5. Every non-public store carries at least one canary-marked record; build output is scanned for canaries after every build.
  6. Reclassifying anything downward (toward PUBLIC) is a reviewed act under PUBLICATION_POLICY.md, never a side effect.

The research record (ADR-0065)

Classification decides what may become canon — an entity, claim or article on the public site. It no longer decides whether the working record may be read. Since 2026-11-14 every file under data/internal/, research/ and docs/ is published at /research as a research record, labelled as such, unless a rule in packages/corpus/src/research.ts holds it back: canary fixtures, the RESTRICTED store, files containing personal data, third-party publication and dataset copies, derived geometry bytes and binaries. Held-back files are listed at /research/held-back with their reasons. Documents under docs/ were never classified records; they follow the same rules.