You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub Contents API retrieval of external JSON as data;
external source-commit ancestry verification;
a fully pinned gh attestation verify invocation;
automatic construction of a third governance domain;
mandatory organizational-independence ACCEPT after admission;
14 admission mutation/identity tests and 7 workflow-security tests;
a separate conformance workflow that keyless-attests a readiness HOLD until a real external submission exists;
reference workflow output of deterministic provenance.json.
Security boundary
The trusted intake workflow:
pull_request_target
↓
checkout base SHA only
↓
download exactly three JSON files through GitHub API
↓
never execute external code
↓
verify repo + owner + workflow + source + signer + attestation
↓
admit domain
↓
require organizational governance ACCEPT
Permissions are limited to:
contents: readpull-requests: write
The write permission is used only to comment the verified result on the pull request.
Honest live result
No repository owned by another GitHub account is connected to the current session. Therefore the conformance workflow must emit:
decision: HOLD
reason: EXTERNAL_SUBMISSION_NOT_PRESENT
next transition: AWAIT_EXTERNAL_SUBMISSION_PR
It does not generate a synthetic external acceptance.
Bootstrap limitation
pull_request_target workflows are loaded from the target branch. This PR validates the verifier and security contract; the live external intake endpoint becomes active after the trusted workflow reaches the branch targeted by an external submission.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 2912b64a-8405-4ae2-a8c2-abb61598748f
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
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.
Bootstrap boundary: the pull_request_target intake workflow is validated here but becomes an active external endpoint only after trusted workflow bytes reach the target branch of a future external submission. No merge has been performed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds the twelfth PoCI slice: a secure admission path for an independently owned external witness submission.
The implementation adds:
pull_request_targetintake workflow that checks out only trusted base code;response.json,submission.json,provenance.json);gh attestation verifyinvocation;ACCEPTafter admission;HOLDuntil a real external submission exists;provenance.json.Security boundary
The trusted intake workflow:
Permissions are limited to:
The write permission is used only to comment the verified result on the pull request.
Honest live result
No repository owned by another GitHub account is connected to the current session. Therefore the conformance workflow must emit:
It does not generate a synthetic external acceptance.
Bootstrap limitation
pull_request_targetworkflows are loaded from the target branch. This PR validates the verifier and security contract; the live external intake endpoint becomes active after the trusted workflow reaches the branch targeted by an external submission.Stacked PR
Base:
agent/poci-external-witness-sdk-v0.1/ #204No merge is performed by this PR.