Skip to content

feat: DecisionAssure integration – runtime anomaly detection as TRACE claims#21

Closed
a1k7 wants to merge 1 commit into
agentrust-io:mainfrom
a1k7:feature/decisionassure-integration
Closed

feat: DecisionAssure integration – runtime anomaly detection as TRACE claims#21
a1k7 wants to merge 1 commit into
agentrust-io:mainfrom
a1k7:feature/decisionassure-integration

Conversation

@a1k7

@a1k7 a1k7 commented Jun 12, 2026

Copy link
Copy Markdown

Summary

This PR adds a behavioural anomaly detection layer to the agentrust‑io stack using DecisionAssure – an open‑source runtime governance engine for AI agents.

The adapter (da_to_trace.py) reads a DecisionAssure signed trace (JSON) and converts continuity failures (policy drift, identity mutation, stale evidence) and collusion suspicion signals into a TRACE‑compatible claim (EAT/JWT format). This directly addresses the documented gap in the agentrust‑io README:

“There is no dedicated behavioural anomaly detection or agent quarantine tooling in the current repos. … TRACE provides the audit foundation; detection is not included.”

Changes

  • decisionassure-integration/da_to_trace.py – core adapter
  • decisionassure-integration/README.md – usage documentation
  • decisionassure-integration/requirements.txt – empty (no extra deps)

How to test

  1. Place a DecisionAssure signed trace (e.g., trace_signed.json) in the folder.
  2. Run:
    python da_to_trace.py trace_signed.json
  3. Output is a URL‑safe base64 encoded TRACE claim.
    Next steps

The claim can be submitted to a trace-registry instance or used as attestation evidence.
Conformance tests are provided in a separate PR (agentrust-io/trace-tests).
Related

DecisionAssure repo: github.com/a1k7/DecisionAssure-Runtime-Governance
trace-spec: github.com/agentrust-io/trace-spec
/cc @imran-siddique

@github-actions

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential NONE
Overall MEDIUM

Automated check by AGT Contributor Check.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor check flagged MEDIUM risk label Jun 12, 2026
@imran-siddique

Copy link
Copy Markdown
Contributor

Thanks for the interest in integrating with TRACE. Closing this one, for two separate reasons.

Scope: the examples repo carries first-party and invited flagship examples only. Vendor integrations now have a dedicated home with self-serve submission rules: https://github.com/agentrust-io/integrations -- your adapter is exactly the kind of thing it exists for.

Accuracy, which matters more: several statements in this PR do not hold up against the repo:

  • The PR description lists README.md and requirements.txt as changes; the PR contains only da_to_trace.py.
  • The quoted sentence ('There is no dedicated behavioural anomaly detection or agent quarantine tooling...') does not appear in this repository's README, current or past.
  • 'Conformance tests are provided in a separate PR (agentrust-io/trace-tests)' -- no such PR exists.

On the technical substance: the adapter emits a base64 token it calls a TRACE-compatible claim, but it does not conform to trace-spec -- the output lacks the required schema fields and the signature binding to a cnf key (spec section 3.2.2), and carries fields the schema rejects. A record that does not pass pip install agentrust-trace-tests && trace-tests verify is not a TRACE claim, and submitting it to the registry would dilute exactly the guarantee the standard exists to provide.

A resubmission to the integrations repo is welcome if it follows the contribution rules there, in particular: every claim verifiable, output conforming to trace-spec at a stated conformance level, and tested against released packages.

@a1k7

a1k7 commented Jun 13, 2026

Copy link
Copy Markdown
Author

@imran-siddique – thank you for the detailed review. I have now:

The adapter is Level 0 (software‑simulated) and clearly documents its limitations. I believe this now meets the contribution rules. Thank you for holding a high standard – it made the integration much stronger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants