Section 01 — classification-and-completeness-gate
Goal
Replace the per-category overwrite policy with a per-FILE four-class model and add a completeness gate (fixes root cause C: silent skips / missed conversions).
Implementation Sketch
Four classes: universal (copy verbatim, read-only base layer), adapted (render config markers, read-only base layer), orilang-only (never leaves ori_lang), local-scaffold (write-once-if-absent + drift-reference sidecar). Refines the existing 3-value portability taxonomy (portable->universal, tailorable->adapted, orilang_only->orilang-only) and splits the conflated preserve_on_exist rules into local-scaffold. The gate is what converts ‘misses full conversions’ into a loud error.
Spec References
missions.md §Tooling (fix the tool, never work around); manifest portability_notes (existing portable/tailorable/orilang_only taxonomy).
Work Items
- Define the four-class taxonomy in manifest_schema.json; migrate existing portable/tailorable/orilang_only entries and split preserve_on_exist rules into the local-scaffold class.
- classify.py: resolve EVERY file under the synced trees to exactly one class; deterministic, no ad-hoc filtering.
-
harness_dist verify: hard-error on any unclassified file in the synced trees (an unclassified file is the silent-skip failure mode). - Wire
harness_dist verifyinto ori_lang’s test-all so an unclassified or unrenderable artifact BLOCKS at the source, not three weeks later in a consumer. - pytest: an unclassified file fails verify; each of the four classes resolves; deletions are detected.
Fresh intel (regenerated)
{ “schema_version”: 1, “target”: { “kind”: “plan-section”, “ref”: “harness-distribution/s-34e024cb” }, “generated_at”: “2026-06-22T14:35:48.273518+00:00”, “graph_state”: { “head_sha”: “6809a0f2”, “last_code_import_at”: “2026-06-22T14:30:10.18Z”, “embedding_stale”: true, “insights_stale”: false, “cpg_stale”: false }, “surfaces”: {}, “summary”: “intel-package[plan-section:harness-distribution/s-34e024cb] agent-authored dossier”, “degraded”: false, “dossier”: { “objective_symbols”: [], “tiers”: {}, “agent_authored”: true, “difficulty”: { “class”: “routine”, “research_online”: false, “research_mode”: “auto”, “signals”: [], “plan_dir”: “/home/eric/projects/ori_lang/plans/harness-distribution” } } }
(full dossier: classification-and-completeness-gate—s-34e024cb.intel.json)