Repository navigation
Wire the language-independent conformance suite into CI (#311) - #696
Noctis-dev1 wants to merge 4 commits into
Conversation
…ty-Project#311) Vendors the independent, stdlib-only ACS Guardian conformance suite (canonical source: Noctis-dev1/acs-conformance, Apache-2.0) at reference-implementations/conformance/, and adds .github/workflows/conformance-wire.yml, which starts the TS reference Guardian and runs the suite's Layer A protocol checks against it. run_conformance.py exits non-zero on a hard Layer A failure; a PENDING check (system/ping, or Section 10 when no signature algorithm is advertised) stays an open observation and does not gate. verify.py re-derives every verdict from the frozen wire transcript on each run. Placement under reference-implementations/ is a proposal for scope review. Layer B (delegated-authority invariant) ships with the suite but is N/A against the AGT Guardian and reports informationally. Signed-off-by: Malachi Zion Kopman <335312439+Noctis-dev1@users.noreply.github.com>
|
Thanks for this. It is queued rather than ignored until a lead reads it, and the lead may close it. No lead has reviewed this pull request, and it references no issue a lead assigned to you. Under Part 2 of the Code of Conduct, a pull request that changes behavior, normative text, or code starts from an issue labeled status:accepted that a lead assigned to you before you opened or reopened it. If a lead closes this one, you can reopen it once a lead assigns the work. An editorial fix needs no issue. If a check below fails, please fix it. |
|
Noted, and thanks. Per Part 2 / D-041 this should have started from a #311 that a lead had marked status:accepted and assigned to me; I opened ahead of that, so it earns no assignment. I've kept it open only as a ready, CI-green reference for what #311's acceptance describes: the suite running against the reference Guardian in CI, pointable at any Guardian URL. So there's a working thing to look at if a lead triages #311. No ask beyond that, and no rush; queue it or close it, your call. |
Re-vendors Noctis-dev1/acs-conformance@9d1ed07: describes AIMM Pillar 2 §5.1 as the delegated-authority discussion the suite draws on rather than asserting it 'Approved' (status not independently verifiable from a public source), and aligns the suite's manifest so verify.py reproduces. No behaviour change; the protocol layer and CI wiring are unaffected. Signed-off-by: Malachi Zion Kopman <335312439+Noctis-dev1@users.noreply.github.com>
Mirror Noctis-dev1/acs-conformance@2e69cbe into the vendored copy: the ClientHello provenance_producer fix (to the v0.1 enum value), external §10 signing via --secret/--key-id, the §17.1 undeclared-method floor (refuse vs. silently decide), and the posture disclosure. verify.py re-derives every verdict in-tree here and reproduces the §10 key vector (VERIFIED). Signed-off-by: Malachi Zion Kopman <335312439+Noctis-dev1@users.noreply.github.com>
…uires The standalone reference Guardian requires ACS_HMAC_SECRET and ACS_HMAC_KEY_ID to start, then rejects every unsigned request, the ClientHello included, so the wire-conformance job failed at Guardian startup and never reached the suite. Mint one ephemeral key per run: hand the Guardian its base64 form and the suite the same bytes as hex under a shared key_id, so every request the suite sends is HMAC-signed and the handshake is accepted. Signed-off-by: Malachi Zion Kopman <335312439+Noctis-dev1@users.noreply.github.com>
Which issue does this implement
Closes #311 — "the suite runs against the TypeScript Guardian in CI, and a port PR can point it at its own Guardian URL."
What this adds
reference-implementations/conformance/— the independent, standard-library-only ACS Guardian conformance suite (canonical source: Noctis-dev1/acs-conformance, Apache-2.0). Layer A checks the wire contract a Guardian shows from the outside: handshake/ServerHello, schema-valid decision envelopes, undeclared-method refusal,system/ping, and §10 signing with §10.3 replay/timestamp rejection.verify.pyre-derives every verdict from the recorded wire transcript and reproduces the §10 test vector on each run..github/workflows/conformance-wire.yml— starts the TS reference Guardian and runs the suite's protocol layer against it.run_conformance.pyexits non-zero on a hard Layer A failure; a PENDING check (system/ping, or §10 when no signature algorithm is advertised) stays an open observation and does not gate.Scope
Layer A (wire contract) plus the CI wiring — what #311 asks. The suite also carries a Layer B delegated-authority invariant; against the AGT Guardian that layer is N/A and reports informationally. A graded delegated-authority test will come as its own issue rather than widen #311.
Open for your call
reference-implementations/is a proposal — happy to move it (for instance if it should sit besideagt/packages/conformance/, or elsewhere).signature_algorithms_supported,skew_window_ms,on_decision_failure) when a Guardian sends them; (2) issystem/pinga MUST-allow, or is-32011acceptable when the client did not declare it?Recorded evidence from an earlier run against the reference Guardian is vendored with the suite under
reference-implementations/conformance/evidence/agt-2026-11-06/.