primordial-creator-dpio / docs /ARCHITECTURE.md
HirModel's picture
Upload 937 files
41016fc verified
|
Raw
History Blame Contribute Delete
1.48 kB
# Architecture β€” v0.1.0
```text
CREATOR INPUT
β†’ SOURCE REGISTERED
β†’ EVENTS REGISTERED
β†’ CHRONOLOGY MAPPED
β†’ CAUSAL FAMILIES COLLAPSED
β†’ DISCRIMINATOR PREDICTIONS FROZEN
β†’ HYPOTHESES FROZEN
β†’ PRESSURE TESTED
β†’ MINIMUM-CUT CANDIDATES
β†’ SOURCE-RETURN REQUESTS
β†’ HUMAN REVIEW PACKET
β†’ DETERMINISTIC ZIP + SHA-256 SIDECAR
```
## Governing invariants
- Receipt remains the authority.
- Witness does not become automatic authority.
- Agreement does not become proof.
- Missing platform-controlled evidence does not erase an observed event.
- Corrections append descendants; they do not overwrite ancestors.
- Creator-defined content topology is preserved without system-inferred ideological labels.
- L5 attributed cause and L6 intent/motive are blocked.
- Comparison and publication remain separately gated.
## Main modules
- `lib/hashing.py` β€” source-byte SHA-256.
- `lib/canonical_json.py` β€” stable JSON and deterministic ZIP serialization.
- `lib/temporal_ratchet.py` β€” event ancestry and correction integrity.
- `lib/claim_ladder.py` β€” claim-level authority limits.
- `lib/consent_gate.py` β€” comparison and publication separation.
- `lib/sensitive_data.py` β€” narrow fail-closed text/filename scan.
- `lib/dpio_reader.py` β€” deterministic causal-family, prediction, hypothesis, and minimum-cut route.
- `lib/validation.py` β€” Draft 2020-12 schema plus semantic invariants.
- `lib/packet_builder.py` β€” governed packet compilation and export.