docs: OPSF PCT spec public submission record + sentinel review (2026-06-27)#220
Merged
Merged
Conversation
🛡️ GraQle PR Guardian💥 Blast Radius: 1 module affected
Total blast radius: 1 🏛️ Governance Verdict
|
| Metric | Value |
|---|---|
| Blast Radius | 1 |
| Files Analyzed | 1 |
| Blocked | 0 |
| SHACL Violations | 0 |
| Verdict | WARN |
🔬 Powered by GraQle PR Guardian v0.1.0 · Scan completed 2026-06-28T07:25:09.722594+00:00
harishquantamix
approved these changes
Jun 27, 2026
798149b to
da4769c
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
OPSF PCT Spec — Public Submission (3 Issues filed 2026-06-27)
Three issues filed to
opsf-org/pct-specbefore the 30 June 2026 public-comment deadline, from accountquantamixsolunder Harish Kumar, Founder, Quantamix Solutions B.V. / GraQle.Filed Issues
Sentinel Review — Pre-Filing Sign-Off
Pass 1 — Issue 1 (
x-ai-euextension namespace) vsgraqle/pct/extensions/x_ai_eu.pyv0.76.0XAiEuExtensionhas fields 1-10 (ADR-205 §2.2) + field 11policy_version(CR-017)article_6_classificationwith 5 enum values (non_high_risk,annex_iii_high_risk,annex_i_high_risk,gpai_model,gpai_systemic_risk)Article6Classificationenum inx_ai_eu.pyarticle_14_human_oversight_modeenum:disabled | monitor | gatedArticle14OversightModeenumarticle_50_disclosure_modeenum:auto_banner | machine_only | suppress_with_logged_reasonArticle50DisclosureModeenumannex_iii_categorywith 8 Annex III categoriesAnnexIiiCategoryenum with all 8 valuespolicy_version(SHA-256 content-addressed hash)policy_version: str | None = Noneas field 11, added by CR-017article_9conditional: required when annex_iii or annex_i high-risk__post_init__conditional guardannex_iii_categoryconditional: required whenannex_iii_high_risk__post_init__conditional guardarticles_covereddefault includes Article 11baseline_doc.pyDEFAULT_ARTICLES_COVERED = ("4", "11", "12", "13", "14", "15", "25", "50")— confirmedx_ai_eu.pysays:"Public-comms status: NOT YET proposed to OPSF (per ADR-RT-001 Option 2A)"— this filing changes that status__version__.pyconfirms0.76.0; repo LICENSE is Apache 2.0Pass 1 verdict: ALL PASS — Issue 1 body cleared for filing.
Pass 2 — Issue 2 (reference implementation) vs
graqle/pct/issuer.py+graqle/pct/validator.pyv0.76.0issue_pct(request, signing_key, kid, issuer_url) -> compact-JWSdef issue_pct(request, *, signing_key, kid, issuer_url, now=None, pct_id=None) -> str— confirmedvalidate_pct(token, public_key_resolver, ...) -> PctValidationResult(decision: ALLOW|BLOCK)def validate_pct(token, *, public_key_resolver, expected_action=None, expected_jurisdiction=None, expected_purpose=None, now=None) -> PctValidationResult— confirmed_PROHIBITED_HASH_ALGORITHMS: frozenset = frozenset({"md5", "sha-1", "sha1"})at line 62 ofissuer.pyGRAQLE_PCT_MAX_TOKEN_BYTES)_MAX_TOKEN_BYTES = int(os.environ.get("GRAQLE_PCT_MAX_TOKEN_BYTES", 65536))at line 557 ofvalidator.pykidsanitisation in failure logs_sanitise_kid_for_log(kid)at line 572 ofvalidator.py— control char replacementtests/test_pct/test_opsf_example_compat.py— 4 scenario fixtures, round-trip validate, assert_expected_decisionopsf-org/pct-spec@developgraqle/pct/schema/pct_v0_1.jsonconfirmedPass 2 verdict: ALL PASS — Issue 2 body cleared for filing.
Pass 3 — Issue 3 (key custody + rotation) vs
issuer.py+validator.pykey design v0.76.0kidmandatory in JWS header_validate_kid(kid)enforces non-empty, ≤256 chars, safe charsetpublic_key_resolver(kid)callback in validatorvalidate_pct(..., public_key_resolver, ...)— resolver called withkidfrom JWS header.well-known/pct-keys.jsonkey-ring referencedissuer.pyreference the well-known endpoint patternvalid_untilpattern documentedrevoked: true+revoked_at_iso; tokens before revocation timestamp still ACCEPTvalidator.pykey-ring resolution patternPass 3 verdict: ALL PASS — Issue 3 body cleared for filing.
Corrections Applied Before Filing
articles_coveredin Issue 1 body: changed["4", "12", "13", "14", "15", "25", "50"]→["4", "11", "12", "13", "14", "15", "25", "50"](Article 11 = technical documentation, perbaseline_doc.pyDEFAULT_ARTICLES_COVERED)ADR References
graqle.pct.{issuer,validator}+graqle.pct.extensions.x_ai_eumodule layout — ACCEPTEDFiling Authority
lead-engine/posts/2026-05-28_reply_to_peter_borner_FINAL.md