Skip to content

conformance: v0.3 draft fixtures for the manifest reference (#483) - #487

Merged
imran-siddique merged 1 commit into
agentrust-io:mainfrom
babyblueviper1:conformance/manifest-ref-v0.3-draft
Oct 12, 2026
Merged

imran-siddique merged 1 commit into
agentrust-io:mainfrom
babyblueviper1:conformance/manifest-ref-v0.3-draft

Conversation

@babyblueviper1

@babyblueviper1 babyblueviper1 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

v0.3 draft fixtures for the manifest reference proposed in #483, as agreed there.

  • conformance/tests/vectors/manifest-ref-v0.3-draft/: six fixtures, generate.py, README.
    • 01 digest matches
    • 02 digest mismatch: the id resolves to a later deployment
    • 03 mismatch with a signed manifest_verification_result: verified
    • 04 unresolvable: manifest-unresolved, not a pass, and the record still verifies
    • 05 manifest added after signing: the signature fails first
    • 06 control with no manifest
  • conformance/tests/test_manifest_ref_draft_vectors.py: no module implements the reference yet, so the test states the draft rule as a small reference checker. The signature is checked first, then the digest is recomputed over the resolved bytes, and the asserted result is never read. Four wrong checkers are each caught by at least one fixture, and the generator reproduces the fixtures.

Signing uses the repo's rfc8785 dependency; nothing is vendored. CHANGELOG.md is untouched. The records are byte-identical to the vectors first posted on #483 (preaction-governance-conformance@2cd4ae7).

Local: pytest tests/test_manifest_ref_draft_vectors.py 12 passed; full conformance suite 718 passed, 5 xpassed; ruff check and ruff format --check clean. DCO signed off.

Type of change

  • Editorial (typo, link fix, clarification: no normative effect)
  • Non-breaking spec change (new optional field, new platform profile, informative addition)
  • Breaking spec change (requires 14-day comment period and Project Lead sign-off)
  • Schema change
  • Example addition (conformance fixtures, v0.3 draft; no spec text, schema or module changed)

Spec section

None changed. The fixtures exercise §3.2.2 (embedded signature over RFC 8785), §3.3 step 1 (signature before any field is trusted) and the §3.1.2 rule 3 posture for unresolvable pointers, applied to the manifest object proposed for v0.3 in #483.

Tests for a fix

Not a code or schema fix.

Checklist

  • DCO sign-off on all commits (git commit -s)
  • CHANGELOG.md updated (for any normative change): left out as agreed on v0.3: let a record name the agent manifest it ran under #483, the entry is written at merge
  • Breaking changes marked with <!-- CHANGED: #NNN: description --> in spec text (none)
  • Backward compatibility statement included (for breaking changes) (none)

…t-io#483)

Six fixtures for the optional signed manifest {id, digest, media_type}: digest
match, mismatch, mismatch with a signed producer-asserted result, unresolvable
(not a pass, record not rejected), manifest added after signing, and a no-manifest
control. The draft rule is stated as a reference checker in the test; four wrong
checkers are each caught. Signed with the repo's rfc8785 dependency; records are
byte-identical to babyblueviper1/preaction-governance-conformance@2cd4ae7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: babyblueviper1 <babyblueviperbusiness@gmail.com>
@babyblueviper1
babyblueviper1 requested review from a team, lywinged and rajnisht7 as code owners October 12, 2026 18:12
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🔴 Contributor Check: HIGH

Check Result
Profile HIGH
Credential LOW
Overall HIGH

Automated check by AgenTrust Contributor Check.

@github-actions github-actions Bot added the needs-review:HIGH Contributor check flagged HIGH risk label Oct 12, 2026

@imran-siddique imran-siddique left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches #483: the six cases, the repo's rfc8785, no CHANGELOG hunk, and every wrong checker caught. Non-blocking: VECTORS loads with a bare p.read_text(), so on Windows the default cp1252 decoding breaks test_fixtures_are_reproducible while CI on Linux passes. read_text(encoding="utf-8") fixes it here, or #484's sweep will pick it up.

@imran-siddique
imran-siddique merged commit 97852f0 into agentrust-io:main Oct 12, 2026
14 of 15 checks passed
imran-siddique added a commit that referenced this pull request Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:HIGH Contributor check flagged HIGH risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants