Specify and test Core observation producer enrollment

AG
4d ago
+243-0

Documents the distinct Core producer authority and runs a two-connection synthetic SQLite contract in normal CI. At b8aa1c83, all 21 focused synthetic tests passed locally with zero skips. The capture-time cases refuse pre-enrollment facts and old pending facts presented with a fresh credential after remapping. Bootstrap facts and verifier output are modeled. Production issuer, clock, mapping authority, and distributed admission fencing remain open.


Run Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Documents the Core observation producer enrollment contract and models it with a synthetic two-connection test run in normal CI. The contract now requires capture-time mapping evidence: a pending observation is only admissible if it was captured on the enrollment generation still current at admission, so remaps, revocation, or pre-enrollment captures fence old bytes even when a fresh upload proof exists.

  • Adds docs/proposals/core-observation-producer-enrollment.md covering source ownership, admission rules, bootstrap authority, and open design inputs.
  • Adds test/core-observation-enrollment.test.mjs with 24 tests covering refused proofs, remap/revocation fencing, key-rollover deduplication, erase-replay refusal, bootstrap requirements, cross-origin isolation, and stale-capture refusal.
  • Adds a CI step running the new test file serially.

Production issuer, proof verification, authoritative clock, and the cross-service atomic admission fence remain out of scope.