Enforce public-domain/free-licence provenance gates #109
Labels
No labels
area: build
area: ci
area: compare
area: data
area: engine
area: model
area: provenance
area: rite
area: validation
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
github_actions
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: bug
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Core#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Only public-domain or freely-licensed text may enter the corpus. The pipeline must reject strings without acceptable provenance to avoid licence contamination.
Acceptance criteria
Notes
This gate protects the whole platform's licensing posture.
Done. The gate is
tools/generator/src/provenance.mjs, build-time and fail-closed:0a1c00f— the original born-cited gate and CC0 corpus licensing9d96cc9— generalized from a name-only allowlist to office/text leaves (Stage 0.4a)d073227— enforce thekey:locatorscan-locator on text-leaf citations (§4.4)ACs: an allowlist of acceptable licences is defined ✓ —
sources.yamlis the enforced registry, and a text body may cite only akind: text/rights: public-domainsource (one narrow carve-out lets an uncopyrightable name descriptor cite areferencesource); strings with disallowed or missing provenance are rejected ✓ —checkProvenancethrows frombuild.mjs; a provenance report is produced per build ✓ — each cited source with its rights and usage count, sorted by key (provenance.mjs:206); CI fails on any disallowed string ✓ — the build throws, and CI runs the build.This is the control that keeps the clean-room enforceable rather than merely documented.