Skip to content

Merge the reviewed PRs for release 0.1.6 - #768

Merged
rocklambros merged 67 commits into
integrationfrom
batch/0.1.6
Dec 3, 2026
Merged

rocklambros merged 67 commits into
integrationfrom
batch/0.1.6

Conversation

@rocklambros

Copy link
Copy Markdown
Collaborator

What changed

This PR merges 15 reviewed pull requests into integration for release 0.1.6, in one batch. Each PR's own commits are merged with a merge commit, so GitHub marks each PR as merged. The batch also resolves the conflicts between them, and adds five small commits that the reviews and the tests asked for.

Merged pull requests, in merge order:

  1. PR fix(agt): implement ACS-Core wire safeguards #229 by Jason Crittenden: ACS-Core wire safeguards (signed requests and responses, the handshake gate, replay and timestamp checks).
  2. PR Treat a Guardian reply whose signature check throws as a bad signature #757: block the step when a Guardian reply's signature can't be checked (follow-up to PR fix(agt): implement ACS-Core wire safeguards #229).
  3. PR Close two code-scanning alerts: a prototype write and a broad App token #759: fix code scanning alert 5 in identity.ts and alerts 6 and 7 in board-reconcile.yml.
  4. PR Say where the base-branch guard's workflow file comes from #748: say where the base-branch guard workflow and its script run.
  5. PR Name the replacement promotion in the health report #735: count only the promotion PR built from the current integration tip in the health report.
  6. PR Carry the Guardian's reasoning in additionalContext at the Claude Code request gate #475 by Eli Sherman: pass the decision reasoning to Claude Code as additionalContext.
  7. PR Record a deny the Claude Code shim cannot carry out as unenforced, not blocked #615 by Marco Bellingeri: record an unenforced outcome when the host can't withhold a tool's output.
  8. PR fix(agt): treat an HTTP 4xx from the Guardian endpoint as a refusal #544 by Santosh Kumar Puppala: block the step on an HTTP 4xx refusal from the Guardian.
  9. PR docs(agt): say manifest.drift.yaml does not reach warn #541 by Aaron Ormerod: say that manifest.drift.yaml denies every call.
  10. PR Add the session and message spans to the trace exporter #359 by Eli Sherman: add the session and message spans to the trace exporter.
  11. PR deps: bump zizmor from 1.30.1 to 1.33.1 #729: bump zizmor from 1.30.1 to 1.33.1.
  12. PR ci: bump astral-sh/setup-uv from 9.0.0 to 10.4.0 #708: bump astral-sh/setup-uv from 9.0.0 to 10.4.0.
  13. PR ci: bump actions/create-github-app-token from 3.2.0 to 3.4.0 #702: bump actions/create-github-app-token from 3.2.0 to 3.4.0.
  14. PR ci: bump github/codeql-action/upload-sarif from 4.38.0 to 4.39.4 #710: bump github/codeql-action/upload-sarif from 4.38.0 to 4.39.4.
  15. PR deps: bump mkdocs-material from 9.7.7 to 9.8.2 in the docs-toolchain group across 1 directory #405: bump mkdocs-material from 9.7.7 to 9.8.2.

Commits added in the batch:

  • Block the step on an HTTP 429 from the Guardian: the leads ruled on 11-05 that an HTTP 429 is a refusal (D-046). PR fix(agt): treat an HTTP 4xx from the Guardian endpoint as a refusal #544 left 429 with the posture.
  • Handshake before the drift manifest test posts a step: PR fix(agt): implement ACS-Core wire safeguards #229 makes the Guardian answer only after handshake/hello, and the test from PR docs(agt): say manifest.drift.yaml does not reach warn #541 posted its step directly.
  • Cap acs.content.types at 64 entries: the same limit the provenance columns use, so one large message can't grow a span without limit.
  • Re-record the TypeScript Guardian cases for the 0.1.6 batch: only the two input hashes changed. Every recorded decision is the same.
  • Copy the regenerated chain hash into the trace page's example span: the sample now sends the session and message steps before the denied call, so that call's acs.chain_hash changed, and tests/test_trace_docs_example.py requires the page to match the sample.

Conflict resolutions:

Which issue does this implement

Closes #141
Closes #142
Closes #165
Closes #199
Closes #758
Closes #379
Part of #184
Part of #568
Part of #32
Part of #322
Refs #109

  • This is an editorial correction (typo, grammar, link, formatting) with no change in
    meaning, so it needs no issue

Base branch

  • integration. Every pull request targets integration, documentation included.
    Only a promotion targets main (see CONTRIBUTING.md)
  • release/0.2, because this changes normative specification text, a schema, or a
    conformance requirement for 0.2, or carries out such a change in code

Type of change

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

Specification changes

The only changes under docs/spec/ are in docs/spec/trace/extend_opentelemetry.md: PR #359's count of nine Guardian spans in the sample, and the example span's acs.chain_hash copied from the regenerated sample. Both describe the sample and add no requirement, so they stay on integration (D-052).

  • I opened a Discussion before this PR
  • Schema changes validate against the JSON Schema spec
  • I described the impact on downstream implementers below

Breaking for implementers? Yes, for the TypeScript reference implementation. After PR #229, the AGT Guardian and the Claude Code shim need the same ACS_HMAC_SECRET and ACS_HMAC_KEY_ID, and the Guardian answers a step only after handshake/hello. An HTTP 4xx from the Guardian other than 408 now blocks the step whatever the posture, 429 included.

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

GitHub Actions has been in an outage since 12-02, so every check ran locally on the batch head:

  • uv run pytest: 9363 passed, 1 skipped, 1 xfailed.
  • uv run mkdocs build --strict: passes.
  • In reference-implementations/agt: bun run typecheck is clean, and bun test gives 1565 pass, 1 skip, 0 fail.
  • In reference-implementations/agt-go: make test (race detector, agteval tag) passes in every package, including TestRecordingIsCurrent and TestRecordedCases, and go vet ./... is clean.
  • uv lock --check passes. zizmor 1.33.1 reports no high or medium findings.
  • gitleaks flags two lines in hosts/claude-code/test/post-tool-use.test.ts from PR Record a deny the Claude Code shim cannot carry out as unenforced, not blocked #615. Both are the test value ghp_ABCDEF123456, which is not a real token: the test checks that the Guardian redacts it.

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

PR #229 adds request and response signing, replay protection and the handshake gate. PR #757, PR #544 and the 429 commit make more Guardian failures block the step. PR #759 tightens the board token's permissions and closes a prototype pollution path in identity.ts. Each PR had a code review and a security scan before its approval.

esherman-credo and others added 30 commits October 29, 2026 15:47
The exporter already starts a span for any mapped method in methodsEvaluated,
but it had no sources for the attributes the mapping lists on the session and
message spans, so those spans went out without them. This adds sources for
acs.session.reason, acs.content.types, and the session span's optional
acs.tenant_id, acs.user.id and acs.policy_mode.

acs.content.types holds one entry per content item, in wire order, and is not
deduplicated. The mapping does not say whether it is a set; this keeps the
counts, and is a one-line change if the Spec leads prefer a set.

This Guardian does not evaluate the four methods yet, and PR #229 keeps them
out of methods_evaluated, so the spans do not appear in a live run. The tests
drive them through the exporter's methodsEvaluated option, as #322 describes.
Provenance on message content items is left for a later slice.

Part of #322

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
The mapping's provenance rule applies to every hook payload that attaches
Provenance. The message hooks attach it to each content item, and
sessionStart to its Intent as parser_provenance, but the exporter read it
only from tool arguments and outputs, so acs.message.user, acs.message.agent
and acs.session went out without it. provenanceObjects now reads those
carriers too, with the same columns, order, padding and limit.

The session and message tests now check that exactly one span with the
mapped name exists before asserting that an attribute is absent, so a dropped
span can no longer pass them. They also compare acs.request_id and
acs.agent.id against values the test chose, and run the decision and
guardian_error checks on all four methods.

Part of #322

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
#322 asks for the sample trace and the trace walkthrough to show the new
spans. The sample's exporter now also spans steps/sessionStart,
steps/userMessage, steps/agentResponse and steps/sessionEnd, through
methodsEvaluated as the tests do, and the generator sends one request for
each. This Guardian does not dispatch those steps yet, so each span carries a
guardian_error failure rather than a decision; its name and attributes,
message provenance included, are real exporter output. A sample test pins the
four spans and the attributes their requests carried.

The tree README says why "Produce a trace" shows no session or message span
in a live run and points to the sample, and the Guardian README and the
OpenTelemetry page count the sample's spans again.

Part of #322

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
Brings in #309, which changed the exporter's start() to take whether the
Guardian trusted the request. The session and message tests now pass TRUSTED,
the sample is regenerated, and the sample test and the two sample
descriptions count the session and message spans beside #309's rejected
request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
…e request gate

When several PreToolUse hooks deny one call, Claude Code shows the model the
denial reason of only the hook that finishes last, by JSON or by exit 2, and
drops the others. A project hook that answers after the shim therefore hides
the Guardian's reasoning, though the call stays blocked (issue #109). An
allow's permissionDecisionReason reaches only the debug log, so a fail-open
proceed never explained itself to the model either.

Claude Code keeps additionalContext from every hook. The hookmap now also
writes reasoning there on allow, deny, defer and modify. Measured with the
real shim and the reference Guardian under Claude Code 2.1.285 and 2.1.311,
beside a project hook that denies by exit 2 and finishes last: before, the
policy's reason never reached the model; after, it arrives as hook additional
context. The result gate needs no change, because Claude Code passes every
hook's block reason to the model.

Refs #109

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
A test now renders allow, deny, defer and modify from the shipped hookmap with
a non-string reasoning and expects neither reason field, so dropping
`type: string` from an additionalContext rule fails it. The README's sample
shim output shows the new field. The hookmap comment points to the README for
the measurements, and the modify comment no longer implies its
permissionDecisionReason reaches the model.

Refs #109

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
Review on #475: under on_decision_failure: proceed, an unreachable Guardian
becomes an allow whose reasoning says the Guardian is unreachable and the step
went through. As additionalContext, the model would read that before the step
runs, and an injected agent could time its next calls by it. The spec points
an ALLOW's reasoning at the user, and the audit log and trace export already
record every allow. So allow no longer writes additionalContext; deny, defer
and modify still do.

The fail-open posture test now asserts the reasoning is not in
additionalContext. The README links Claude Code's hooks documentation, and the
tree README's sample deny output shows the new field.

Refs #109

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
The host's audit log records a fail-open proceed; the Guardian's trace
cannot, so the README and hookmap no longer claim both record every allow.
A wire-shape comment no longer says an allow's reason reaches the transcript,
the per-hook render test is no longer named "exactly as before", and the
non-string reasoning matrix covers ask too.

Refs #109

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
The test gave one content item `origin: "retrieval"`, which provenance.json
does not allow (it is `retrieved`), so both message envelopes in that test
failed their hook schemas. Found by validating every slice-1 test envelope
against request-envelope.json and its hook schema, as the review asked. The
other envelopes are valid, apart from the acs.content.types edge cases, which
are invalid on purpose.

Part of #322

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eli Sherman <esherman@credo.ai>
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 #379

Signed-off-by: aaronormerod <137795541+aaronormerod@users.noreply.github.com>
post() parsed the response body without reading the status, so a 401 or
403 from the Guardian endpoint, or from whatever authenticates in front of
it, became a SyntaxError or an unrecognised JSON-RPC error. Both were left
to on_decision_failure, and under proceed the step ran even though the
adapter's credential had been rejected.

post() now throws GuardianHttpRefusalError for any 4xx except 408 and 429,
and classifyDeliveryFailure files it as refused, so the step is blocked
whatever the posture. 408, 429 and 5xx still follow the posture, and a 5xx
body is still read.

Part of #32.

Signed-off-by: Santosh Kumar Puppala <puppalas97@gmail.com>
Read's file content reached the model without passing the Guardian. The
shipped settings matched neither gate for Read, and the result gate's
hookmap knew only Bash's stdout.

Both settings matchers now include Read. The request gate reads its
file_path, and the policy manifest registers Read so AGT does not fail
closed on an unknown tool. At the result gate, outputs.by_tool gives
Read its own path next to the existing one, the way
policy_target_argument has a default and a by_tool map. Read's content
is $.tool_response.file.content, and a modification is written back
within $.tool_response, so Claude Code gets the shape it expects.
buildPayload and governStep pick the path through the same function,
outputsFor, and loadHookmap rejects a malformed by_tool entry. Bash
keeps its path.

Measured live on Claude Code 2.1.325: the model receives the file with
the example key replaced by [REDACTED].

Read is governed on text only. An image, a PDF or a notebook has no
file.content, so the posture decides, as the hookmap and the README now
say. #568 tracks those types.

Refs #330

Signed-off-by: Marco Bellingeri <49072576+MK023@users.noreply.github.com>
Under deny, a Read of an image, a PDF or a notebook has no leaf to
replace, so the shim exits 2 at PostToolUse and Claude Code delivers the
output anyway. The audit log said blocked. It now writes an unenforced
entry that names the tool, and the stop says on stderr that the agent
received the output.

The Claude Code shim declares this with resultGateStopWithholds: false.
OpenCode keeps writing blocked. The Inspector reads, prints and counts
the new entry, and the OTLP converter skips and counts it.

Part of #568.

Signed-off-by: Marco Bellingeri <49072576+MK023@users.noreply.github.com>
Signed-off-by: Marco Bellingeri <49072576+MK023@users.noreply.github.com>
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.2.0 to 3.4.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](actions/create-github-app-token@bcd2ba4...f418cff)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) from 4.38.0 to 4.39.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@b96794f...1bd86f2)

---
updated-dependencies:
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [zizmor](https://github.com/zizmorcore/zizmor) from 1.30.1 to 1.33.1.
- [Release notes](https://github.com/zizmorcore/zizmor/releases)
- [Changelog](https://github.com/zizmorcore/zizmor/blob/main/docs/release-notes.md)
- [Commits](zizmorcore/zizmor@v1.30.1...v1.33.1)

---
updated-dependencies:
- dependency-name: zizmor
  dependency-version: 1.33.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the docs-toolchain group with 1 update in the / directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material).


Updates `mkdocs-material` from 9.7.7 to 9.8.2
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.7.7...9.8.2)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: docs-toolchain
...

Signed-off-by: dependabot[bot] <support@github.com>
When the plain promotion and its promote/full-* replacement are both
open, the report now names the replacement and drops the --full advice.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
pull_request_target reads this file from integration, the default branch,
and the job runs the guard script from main. The comment said both came
from main. A change to this file merged into integration changes how pull
requests into main are judged, and code-owner review on /.github/ covers it.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
- Reject non-finite timestamp drift so a leap-second timestamp
  (23:59:60, which date-time accepts and Date.parse returns NaN for)
  no longer passes the §10.3 skew window or lands in the replay store
  with a NaN expiry.
- Commit each ContextEntry to its request content via request_hash,
  the lowercase-hex SHA-256 of the JCS-canonicalized params
  (context-entry.json, RECOMMENDED).
- README: mark the handshake as not yet enforced (-32003) and the hook
  set as partial (subagentStart and agentTrigger return -32011).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
- Guardian: record each session's ClientHello methods_implemented and
  refuse with -32003 CAPABILITY_NOT_NEGOTIATED any step from a session
  that never sent handshake/hello, or for a method it did not declare
  (§4, §17.1). system/ping stays exempt. The check runs before the replay
  store remembers the request_id, so a retry after re-handshaking is not
  a false replay. The record is bounded (LRU, 4096 sessions).
- Hosts: on -32003, governStep repeats the handshake once and retries
  with a fresh request, so a Guardian restart does not deny every step
  until the session ends. Only a decision replaces the refusal; a failed
  re-handshake or an undelivered retry keeps the -32003.
- Conformance probes and tests now handshake before posting steps.
- README: handshake row is implemented; replay protection names the
  remaining gap that the in-memory store does not survive a restart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
A full replay-protection cache answered a brand-new request with -32005
REPLAY_DETECTED. §17.1 recovers from -32005 by regenerating request_id,
which cannot succeed while the cache is full. Return -32000
SESSION_REFUSED with data.reason "replay_protection_capacity" instead:
it is in the §17.1 registry, so every ACS client fails closed on it.

startGuardian takes an optional replayProtectionStore so a server test
can fill the cache.

Reported by @shivang-sec on #229.

Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
The HMAC signing block in handleAcsRequest ran outside any try, on
unauthenticated input. A session_id over 1024 bytes makes HKDF throw, and
a deeply nested body overflows the stack in JCS canonicalization. Either
escaped handleAcsRequest as an HTML 500, which a host reads as a hook
that never fired. The block is now wrapped. A request that throws there
cannot carry a valid signature, so its response goes out unsigned, like
any other unauthenticated request's, and the failure is reported on
stderr. The envelope log records the same response it did before, minus
the signature it could never have had.

Every AcsResult now carries metadata.evaluator "deterministic", so the
trace exporter in #244 reads the evaluator from the wire instead of
assuming it.

Both raised by @rocklambros on #229.

Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
Request-signature verification canonicalises the unauthenticated body
before computing the HMAC. A signed body nested past the stack made that
throw, and the throw fell through dispatch to the outer net, which
answers -32020. That code is outside the section 17.1 registry, so a
client branching on registered codes could fail open on it.
verifyHmacSha256 now treats an input it cannot canonicalise as an
invalid signature, so the request gets -32004 SIGNATURE_INVALID like any
other unauthenticated one. The signing-boundary test now asserts the
answer for each of its two inputs.

Raised by @astrogilda on #229.

Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
With HMAC on, two host paths turned a deny into an allow.

The client threw on any unverifiable response before reading its code,
so a refusal the Guardian cannot sign (oversize body, -32700, a bad
request signature) became an "unknown" failure and the proceed posture
ran the step. A refusal-coded error with no result is now passed through
unverified: it can only fail the step closed. The refusal codes move to
failure-kinds.ts so the client can read them without an import cycle.

A request too deep to canonicalise threw inside request building and the
posture answered it. Signing is now its own "sign" stage whose failure,
kind "unsignable", blocks regardless of posture.

Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
A protocols/MCP/tools/call payload carrying both tool/arguments and
params was evaluated on the former while a forwarding server runs the
latter. Both shapes together are now refused as envelope_invalid, and
{value} is unwrapped only in the ACS shape.

The stock rules skip a policy target that is not a string, so an object
or array command was allowed on any tool-call path. The snapshot
assembler now throws on one, which denies with evaluation_failed.

Signed-off-by: Jason Crittenden <jrcrittenden@gmail.com>
…Sherman)

Signed-off-by: Rock Lambros <rock@rockcyber.com>
…hold output (Marco Bellingeri)

Signed-off-by: Rock Lambros <rock@rockcyber.com>

# Conflicts:
#	reference-implementations/agt-go/agtbridge/testdata/ts-cases.json
#	reference-implementations/agt/README.md
#	reference-implementations/agt/hosts/claude-code/acs-hook.ts
#	reference-implementations/agt/packages/host-adapter/src/failure-posture.ts
#	reference-implementations/agt/packages/host-adapter/src/govern-step.ts
… Kumar Puppala)

Signed-off-by: Rock Lambros <rock@rockcyber.com>

# Conflicts:
#	reference-implementations/agt/packages/host-adapter/src/failure-posture.ts
#	reference-implementations/agt/packages/host-adapter/test/failure-posture.test.ts
The leads ruled on 11-05 that an HTTP 429 is a refusal, like the other
4xx (D-046). PR #544 left 429 with the posture, so under proceed the step
ran. isRefusalStatus now blocks every 4xx except 408, and the client test
expects deny for 429.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Rock Lambros <rock@rockcyber.com>

# Conflicts:
#	reference-implementations/agt/README.md
#	reference-implementations/agt/packages/guardian/README.md
PR #229 makes the Guardian answer -32003 until handshake/hello declares the
method (§4). The drift manifest test from PR #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>
…r (Eli Sherman)

Signed-off-by: Rock Lambros <rock@rockcyber.com>

# Conflicts:
#	reference-implementations/agt/README.md
#	reference-implementations/agt/packages/guardian/README.md
#	reference-implementations/agt/samples/trace/acs-trace-sample.jsonl
#	reference-implementations/agt/scripts/make-sample-trace.ts
The provenance columns already stop at 64 objects, because hook payloads
for the session and message methods are not schema-validated and one large
request could otherwise grow a span without limit. acs.content.types had
no such limit. It now keeps the first 64 entries in wire order. The
Guardian README says so, and names every carrier the exporter reads
Provenance from.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Rock Lambros <rock@rockcyber.com>
…4.39.4

Signed-off-by: Rock Lambros <rock@rockcyber.com>
Signed-off-by: Rock Lambros <rock@rockcyber.com>
PR #359 changed packages/guardian/src and PR #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>
The sample trace now sends PR #359's session and message steps before the
denied tool call, so that call's acs.chain_hash changed.
tests/test_trace_docs_example.py requires the page's example to match the
sample's span.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

This pull request's description says it closes #141 #142 #165 #199 #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.

@rocklambros
rocklambros merged commit bf1db23 into integration Dec 3, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Needs triage to Done in ACS Project Tracker Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

7 participants