Commit 25f5bad
chore(docs): update Discord invite link to 7aVPCcVh (#3102)
* feat(trace): emit TRACE v0.2 Trust Records at session close (ADR-0032)
Implements issues #3086-#3090. Uses agentrust-trace>=0.2.0 for TrustRecord
model, Ed25519 signing, and validation -- no local reimplementation.
- trace_sink.py: TraceConfig dataclass, session_to_trust_record() mapping
function, TRACEAuditSink session-close emitter
- govern.py: TraceConfig field on GovernanceConfig, policy bundle hash
computation at init, TRACEAuditSink wired up, close_session() method
on GovernedCallable
- governance/__init__.py: export TraceConfig, TRACEAuditSink
- agent-governance-toolkit-core/pyproject.toml: agentrust-trace>=0.2.0
runtime dependency
- agent-mesh/pyproject.toml: agentrust-trace>=0.2.0 in dev extras
- tests/governance/test_trace_sink.py: 20 tests covering mapping,
emission, file output, validation, and GovernedCallable.close_session()
- check_dependency_confusion.py: register agentrust-trace in allowlist
- .cspell-repo-terms.txt: add agentrust, isfile, reimplementation
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs(adr): accept ADR-0032, update to match shipped implementation
Marks status accepted. Corrects wire format (signed JSON, not compact
JWT), documents TraceConfig/close_session() API, notes key management
delegation to agentrust-trace, and adds agentrust-trace v0.2.0 to
references.
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore(cspell): add CBOR and COSE to repo word list
Both terms appear in ADR-0032 (CBOR-COSE wire format deferral note).
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test(trace): fix policy condition in test fixture
condition: "true" is treated as a path lookup by the policy engine,
returning False for any context. Use action.type != 'deny' instead,
which evaluates to True for all normal action calls.
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test(trace): remove unused AuditEntry import
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore(docs): update Discord invite link to 7aVPCcVh
Also fixes stale RcK9fHf8 link in Korean README badge.
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
---------
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 45d89de commit 25f5bad
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
0 commit comments