mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-05 18:44:41 +01:00
Concept Packs are data-only directories or byte-deterministic .cvpack zips: manifest.yaml, positive.jsonl, controls/*.jsonl, and optional neighbours, battery, baseline and reference files, plus a dataset card. Every file carries a SHA-256 and an SPDX licence. A packaged JSON Schema and built-in validation gate the schema_version major. Tiers: core (refusal only), research, and user (namespaced user/<id>). Loading treats packs as untrusted. It rejects hash mismatches, missing licences, executable content, symlinks, hardlinks, special files, nested archives, path traversal, duplicate and colliding names, unsafe YAML, control characters in decoded text, oversized members and unknown major versions. A data file may instead be a pinned remote reference (https repository, 40-hex commit, path, sha256). It is fetched only by an explicit fetch step, cached atomically and verified, and a mismatch fails closed; lint works before fetch. URL import requires --sha256, and installs are exclusive. The built-in refusal pack is generated from the built-in harmful and harmless sets and equals the #224 refusal target. New CLI group: concepts list | show | init | lint | pack | import | fetch. Ids resolve before paths, and corrupt cache entries are skipped with a warning. DatasetSource gains an optional licence field. No new runtime dependencies. Closes #225 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>