feat(e2e): add Python governance scenarios and CI workflow#3345
feat(e2e): add Python governance scenarios and CI workflow#3345prayagupa wants to merge 6 commits into
Conversation
PR Review Summary
Verdict: AI review comments are untrusted advisory output. The summary reports workflow-generated completion status only, not model-authored pass/fail claims. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
🤖 AI Agent: breaking-change-detector — API Compatibility
API CompatibilityNo breaking changes detected. |
🤖 AI Agent: docs-sync-checker — Docs Sync
Docs SyncDocumentation is in sync. |
🤖 AI Agent: security-scanner — Security Review
Security Review
|
🤖 AI Agent: test-generator — `tests/e2e_python/scenarios/policy_deny/test_policy_deny.py`
|
🤖 AI Agent: code-reviewer — Action items:
TL;DR: 0 blockers, 2 warnings. The PR introduces a robust end-to-end governance test suite and CI workflow, but there are minor concerns regarding model verification and test coverage.
Action items:
Warnings (fine as follow-up PRs):
|
0e12d1f to
a05d7d4
Compare
00e0d69 to
b8f8b07
Compare
MohammadHaroonAbuomar
left a comment
There was a problem hiding this comment.
- .github/workflows/e2e-python.yml: the new
uses: dtolnay/rust-toolchain@stablestep is a mutable tag; this repo pins that exact action to dtolnay/rust-toolchain@29eef33 # stable in policy-engine-ci.yml (x2) and ci.yml:1074. SHA-pin it to match repo convention. Everything else in the ACS migration is verified sound (semantics preserved with default-deny strengthening; no fail-open at harness/SDK/Rust-core layers; ratchet exemption removal correct, ratchet passes locally; cache/upload-artifact bumps SHA-verified against upstream tags).
Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
Use an explicit protocol stub and a distinct canary value for the blocked filesystem write. Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
Signed-off-by: Prayag Upadhyay <prayag.upd@gmail.com>
0884dc6 to
ecace4b
Compare
Description
Adds a Python end-to-end governance suite covering five production control boundaries:
Adds a GitHub Actions workflow that runs the suite against Ollama and
llama3.1. The workflow pins the Ollama release, verifies its archive checksum and model digest, caches the model, and uploads scenario results, JUnit output, and runtime metadata.Also updates the v4 ratchet inventory, secret-scanning fixture allowlist, spell-check terms, and E2E documentation.
See example: https://github.com/microsoft/agent-governance-toolkit/actions/runs/29459498584/job/87499812340
Type of Change
Package(s) Affected
Checklist
Attribution & Prior Art
Prior art / related projects (if any):
None.
AI Assistance
If AI tools materially shaped this change, briefly note what was used:
GitHub Copilot assisted with implementation, documentation, and validation. The contributor directed and reviewed the resulting changes.
IP, Patents, and Licensing
Related Issues
None.