Skip to content

docs(agt): say manifest.drift.yaml does not reach warn - #541

Merged
rocklambros merged 1 commit into
GenAI-Security-Project:integrationfrom
aaronormerod:docs/drift-manifest-warn-claim
Dec 3, 2026
Merged

rocklambros merged 1 commit into
GenAI-Security-Project:integrationfrom
aaronormerod:docs/drift-manifest-warn-claim

Conversation

@aaronormerod

Copy link
Copy Markdown
Collaborator

What changed

Corrects the README claim that manifest.drift.yaml reaches warn. It denies every call. Same fix in the Guardian README and the manifest header, plus a test that pins it.

Which issue does this implement

Closes #379.

Base branch

  • integration, because this touches the specification, schemas, a reference
    implementation, an adapter, tests, or CI
  • main, because every changed path is on the documentation lane allowlist in
    CONTRIBUTING.md

Type of change

  • Specification change (schema, hooks, events, AgBOM)
  • Reference implementation or adapter
  • Documentation
  • Tooling or CI
  • Governance (licensing, security policy, contributor docs)

I tested this

  • I synced my branch with the base branch before opening this
  • uv run pytest -v passes on my machine
  • uv run mkdocs build --strict passes on my machine

bun test in reference-implementations/agt also passes: 1286 pass, 4 skip. The new test is mutation-checked.

Checklist

  • Commits are signed off with git commit -s (required by the DCO)
  • Prose follows STYLE.md
  • No secrets, tokens, or internal URLs in the diff

Security

  • This change has no security impact

The manifest already fails closed.

The agt and guardian READMEs say policy/manifest.drift.yaml is used to
reach the warn verdict. It denies every call on annotation_failed: the
Guardian has no drift_score annotator, and data.json sets no
drift.warn_threshold. Correct both READMEs and the manifest header, and
pin it with a test.

Closes GenAI-Security-Project#379

Signed-off-by: aaronormerod <137795541+aaronormerod@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Thanks for this. It is queued rather than ignored. A lead has not reviewed this pull request yet. A lead will read it when they have time, and we can't promise a date. Nothing here is rejected. If a check below fails, please fix it. A pull request that waits a long time may be closed, and you can reopen it later.

@github-actions

Copy link
Copy Markdown

This pull request's description says it closes #379, which is on the project roadmap. When it merges, GitHub closes that issue and the roadmap counts it as delivered. Please confirm the change delivers the whole issue before merging.

@acs-board-reconciler acs-board-reconciler Bot moved this from Needs triage to In progress in ACS Project Tracker Nov 11, 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.

Reviewed reference-implementations/agt/README.md, packages/guardian/README.md, and drift-manifest.test.ts (c156cf45):

  • Aligns both README tables with policy/manifest.drift.yaml's header (this Guardian has no drift_score annotator, so that manifest denies every call and does not reach warn) and pins that behavior with a live Guardian test in test/drift-manifest.test.ts.

@aaronormerod

Copy link
Copy Markdown
Collaborator Author

Closing to stay within the queue limit. I'll reopen once #379 is assigned.

@rocklambros rocklambros 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.

Thanks, Aaron. I'm approving this PR at c156cf4.

The fix is right: with policy/manifest.drift.yaml, this Guardian denies every call and never reaches warn, and your new test passes 3 of 3.

Two things will change when this PR merges in the next batch with PR #229 (ACS-Core wire safeguards). I'll make both changes myself, so you don't need to do anything:

  1. PR #229 makes the Guardian answer -32003 CAPABILITY_NOT_NEGOTIATED until it gets a handshake/hello. So decide() in drift-manifest.test.ts will call handshakeFor from test/helpers/handshake.ts before it posts the envelope. With that change the test passes 3 of 3 on the merged code.
  2. The four agt-go checks failed because the Go test TestRecordingIsCurrent hashes the whole policy/ folder, and your edit to manifest.drift.yaml changed that hash. I'll re-record ts-cases.json once for the whole batch.

One optional follow-up: the header of manifest.drift.yaml names two missing pieces, the drift_score annotator and a threshold. The manifest also declares no egress annotator and no post_tool_call point, so "Nothing else differs" is not quite true.

@rocklambros rocklambros mentioned this pull request Dec 3, 2026
11 of 18 tasks
@rocklambros
rocklambros merged commit 9c9590b into GenAI-Security-Project:integration Dec 3, 2026
14 of 18 checks passed
e2hln pushed a commit to e2hln/agent-control-standard that referenced this pull request Dec 3, 2026
PR GenAI-Security-Project#229 makes the Guardian answer -32003 until handshake/hello declares the
method (§4). The drift manifest test from PR GenAI-Security-Project#541 posted its step directly,
so it read no decision. It now calls handshakeFor first, as the other
Guardian tests do.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
e2hln pushed a commit to e2hln/agent-control-standard that referenced this pull request Dec 3, 2026
PR GenAI-Security-Project#359 changed packages/guardian/src and PR GenAI-Security-Project#541 changed policy/, so
TestRecordingIsCurrent no longer matched. Re-recorded once with
scripts/record-ts-cases.sh after every PR in the batch was merged. Only
the two input hashes changed: every recorded decision is the same.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
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: Done

Development

Successfully merging this pull request may close these issues.

[Docs] manifest.drift.yaml denies every call, so the README's warn claim is false

3 participants