Skip to content

Run executable controls for the verdict evidence predicate - #298

Open
astrogilda wants to merge 3 commits into
GenAI-Security-Project:release/0.2from
astrogilda-forks:test/verdict-evidence-controls
Open

astrogilda wants to merge 3 commits into
GenAI-Security-Project:release/0.2from
astrogilda-forks:test/verdict-evidence-controls

Conversation

@astrogilda

@astrogilda astrogilda commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

@rocklambros, this makes the two prose rules of #297 executable, as the open #293 did for the conformance runner with test files only.

The new test file runs records signed with published test keys against the reader in probityai/agent-evidence-vectors, which applies the ten verification steps of #297. Each refused case is one change from an accepted twin: wrong peer key, runner-signed statement, wrong vector or requirement, missing artifact, edited quarantine, overdue review. The corpus comes from a verdict-evidence dependency group pinned to one commit in uv.lock, so it changes only when the Spec workstream moves that pin.

This job is separate from ACS-Core. It runs only for the draft predicate in #297, in its own workflow, and is the only thing that installs the group. The ACS-Core suite and its CI job still install no package, as ruled on #188 and #193.

Which issue does this implement

Part of #33; refs #297.

I tested this

At 6a61e54 the full suite gives 919 passed and 1 skipped. At this PR's head, 33c6875, which pins the group to vectors commit 617cf55, the new file gives 15 passed and 2 skipped. In that commit a peer statement carries the verdict the peer reached, so one statement cannot lift a record that reports another result.

Edited 2026-10-18: the last test line now names the current head, pin and result.

The draft predicate in GenAI-Security-Project#297 says that a scope lift must come from a
statement the peer signed, and that a quarantine record must be bound
and have an outcome after review_by. Add a test file that runs a pinned
corpus of signed records against a reference reader, with accepted and
refused cases for each rule, and a workflow that installs the corpus
from its own dependency group and requires it.

Signed-off-by: Sankalp Gilda <23521054+astrogilda@users.noreply.github.com>
The earlier pin pointed at a commit whose own CI was red for a stale
intake record. The module and corpus are unchanged between the two.

Signed-off-by: Sankalp Gilda <23521054+astrogilda@users.noreply.github.com>
Re-pins the group to a vectors commit whose peer statement carries the
verdict the peer reached, so one statement cannot lift a record that
reports another result. Adds the two refusals from the review on GenAI-Security-Project#33:
a reused statement and a digest that leaves out expiry_disposition.

Signed-off-by: Sankalp Gilda <23521054+astrogilda@users.noreply.github.com>
@acs-board-reconciler acs-board-reconciler Bot moved this from Needs triage to In progress in ACS Project Tracker Oct 19, 2026

@drk-ram drk-ram left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I merged 33c6875 onto origin/integration at d09e1bd. 1b8f970 is an ancestor of that tip. The merge is clean, including uv.lock. uv lock --check resolved 44 packages.

python -m pytest -q on the merge, with the verdict-evidence group installed, gave 1171 passed, 3 skipped, 10 failed, and 49 errors. The 10 and 49 are the same Windows environment failures as the other merges. tests/test_verdict_evidence_controls.py without the group is 1 skipped. With the pin installed, commit 617cf55151b2142c5ff4eed4aa2f4eeb5a8261c5, package 0.19.1, that file is 15 passed and 2 skipped. The skips are the missing predicate document, which lands with pull request 297, and the unnamed external verifier. The URI in the pin is the URI 297 adds, so that skip lifts without a mismatch.

I broke the installed corpus and reader, then reran the file.

Renaming peer_disagrees in the manifest failed 4 tests. Making the reader ignore a disagreement failed 2 tests. Corrupting one case digest failed 3 tests.

The group stays out of the ACS-Core install. The guard job does not install it, so the file skips there. That matches the ruling on issues 188 and 193. This does not add a wire field. The new workflow is path-filtered, SHA-pinned, contents: read, and persist-credentials false. It is not a required check, so a path miss does not stall unrelated pull requests.

The controls measure the pinned reader against its own corpus. That is what a pin is for. A reader that stops comparing answers fails, which is the property I broke above.

@zhaoxinghua09-cell

Copy link
Copy Markdown

+1 on making the rules executable rather than prose in a spec. That is the difference between a rule a reviewer can check and a rule a reviewer has to interpret, and this looks like the first place in the repo where the check exists at all.

If it saves you work: the 23 vectors behind #593 were built to the same standard, and two of them were picked precisely because they fail on identity rather than on content — n1-subject-swapped (subject swapped under an otherwise valid signature) and n19-payload-tampered-after-signing. Failures that still accept a well-formed record are the ones that come back, so one of those may be worth carrying into your corpus.

Two notes, both caveats rather than claims. The checker exits 2 rather than 0 when a dependency is missing, so "not run" cannot read as "passed". And the verifier is ours, not a third party's, so it shows the shape of a conformance claim rather than a certified one.

Take them, rename them, or fold them into your corpus. If a naming convention is what you need, say so and I will renumber ours to match yours.

@rocklambros
rocklambros changed the base branch from integration to release/0.2 November 26, 2026 14:28
@github-actions github-actions Bot added the status:needs-triage Not yet triaged. Applied by the issue forms label Nov 26, 2026
@github-actions

Copy link
Copy Markdown

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.

@rocklambros

Copy link
Copy Markdown
Collaborator

I moved this PR's base to release/0.2, the new branch for 0.2 work. Changes to the spec, the schemas, or the conformance requirements now go there, and PR #675 records that rule as D-052. The branch starts at today's integration, so your diff is the same and you don't need to do anything right now. From now on, sync with release/0.2.

@rocklambros

Copy link
Copy Markdown
Collaborator

Hi Sankalp, I opened #688 for the part of #33 that this PR delivers. #688 is accepted, on the v0.2.0 milestone, and linked under #33. CONTRIBUTING.md (D-041) only reviews a pull request whose issue is assigned to its author. GitHub only lets us assign people who have access to the repository, so I sent you a read-access invitation today.

Here is how we fix it:

  1. Accept the invitation. It is at https://github.com/GenAI-Security-Project/agent-control-standard/invitations and in your GitHub notifications. It expires after 7 days.
  2. I assign Run executable controls for the verdict evidence predicate #688 to you and post here when it's done.
  3. In the issue section of this pull request, write Closes #688 on the first line and keep Part of #33 on its own line below it.
  4. Close this pull request and reopen it, so it counts as opened after the assignment.
  5. Then I review it.

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

status:needs-triage Not yet triaged. Applied by the issue forms

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

4 participants