Skip to content

Specify and test Core observation producer enrollment - #400

Open
agent-relay-code[bot] wants to merge 3 commits into
mainfrom
review/t257-core-producer-enrollment
Open

agent-relay-code[bot] wants to merge 3 commits into
mainfrom
review/t257-core-producer-enrollment

Conversation

@agent-relay-code

@agent-relay-code agent-relay-code Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

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.

Written for commit b8aa1c8. Summary will update on new commits.

View guided diff Turn on auto-fix

@agent-relay-code agent-relay-code Bot added the merge-train:hold Do not merge until the owner gives the go label Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5e470e46-97e7-42ae-89df-028e3f87ea5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-train:hold Do not merge until the owner gives the go

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants