Track cross-language skill-aware audit trail hardening parity (TypeScript, .NET, Go, Rust)
Summary
PR #2572 added skill-aware audit trail hardening to the Python agent-os framework integration adapters. This issue tracks porting the equivalent primitives to the other language SDKs where applicable, so governance behavior stays consistent across the ecosystem.
What was added in Python (PR #2572)
- Trusted skill metadata source (
TrustedSkillMetadataSource) so skill name and origin come from framework-owned values, not spoofable request payloads provenance_source_trustprovenance marker on audit events- UTC-normalized audit timestamps
- Deterministic, order-stable context hashing with a fail-safe path
- Spoof-resistance tests across the ADK, CrewAI, Semantic Kernel, OpenAI Agents SDK, AutoGen, and LangChain adapters
Gap in other SDKs
A scan of the other SDKs shows they have framework discovery and detection (recognizing langchain, crewai, autogen, etc.) but none implement the skill-audit primitives above (no trusted_skill / TrustedSkillMetadata, no provenance_source_trust, no emit_skill_audit):
| SDK | Path | Status |
|---|---|---|
| TypeScript | agent-governance-typescript/ |
Framework discovery only, no skill-audit primitives |
| .NET | agent-governance-dotnet/ |
Has Audit and Integration namespaces, no skill-audit primitives |
| Go | agent-governance-golang/ |
Discovery and audit-chain example only |
| Rust | agent-governance-rust/ |
Framework integration support only |
Proposed work
For each SDK, evaluate whether equivalent framework adapters exist and, where they do, port:
- trusted skill metadata source extraction (framework-owned, not request-derived)
- provenance trust marker on audit events
- UTC-normalized audit timestamps
- deterministic context hashing
- spoof-resistance tests
Where a given framework adapter does not exist in a language SDK, no work is required for that adapter and it should be noted as not applicable.
References
- PR: #2572 (Python implementation)
- RFC: #1609
❔ Contributor Check: UNKNOWN
| Check | Result |
|---|---|
| Profile | MEDIUM |
| Credential | NONE |
| Overall | UNKNOWN |
Automated check by AGT Contributor Check.
Thanks for opening this. I'd like to investigate the TypeScript implementation and compare it with the behavior introduced in #2907 to understand the changes needed for parity. If the scope is manageable, I'd be happy to work on it.
@yuvrajsingh2428 merged this issue to track all other language implementaitons other than Python, happy for you to take this one and submit a pr
Thanks @Ricky-G! I'll take this one.
I'll start by comparing the Python implementation from #2907 with the TypeScript SDK and then work through the remaining language implementations to bring them into parity. I'll open a PR once I have the changes ready.
@yuvrajsingh2428 I incorrectly mentioned #2907 as the referencing issue, infact its a duplicate of this issue.
Below is the Python implementation that we need to bring on par with all the other languages.
Python-PR: https://github.com/microsoft/agent-governance-toolkit/pull/2572 Python-Issue: https://github.com/microsoft/agent-governance-toolkit/issues/1609
Thanks for the clarification! I'll treat #2572 as the Python baseline and #1609 as the originating issue. I'll update the PR references accordingly.
Quick status update on the cross-language parity.
TypeScript is effectively there: #3010 ports the trusted skill metadata source, the provenance_source_trust marker, deterministic context hashing, and the spoof-resistance tests, and it is approved and mergeable. Thanks @yuvrajsingh2428.
Remaining matrix:
| SDK | Path | Status |
|---|---|---|
| TypeScript | agent-governance-typescript/ |
In review, #3010 (approved) |
| .NET | agent-governance-dotnet/ |
Not started |
| Go | agent-governance-golang/ |
Not started |
| Rust | agent-governance-rust/ |
Not started |
For each remaining SDK the parity checklist is the same five primitives from the Python baseline (#2572):
- Trusted skill metadata source, so skill name and origin come from framework-owned values rather than spoofable request payloads.
provenance_source_trustprovenance marker on audit events.- UTC-normalized audit timestamps.
- Deterministic, order-stable context hashing with a fail-safe path.
- Spoof-resistance tests across that SDK's framework adapters.
Suggested order: .NET next (closest adapter surface to TypeScript), then Go, then Rust, one PR per SDK so reviews stay small. @yuvrajsingh2428 if you are continuing, .NET is the natural next pickup. If anyone else would like to take Go or Rust in parallel, please say so on this thread so we do not double up.