Policy Audit Template Usage
Shared rules for creating policy audit artifacts from the MCP-exposed bundled template assets.
When to Use This Skill
Use this skill when:
- An agent must create a
policy-audit.<timestamp>.mdfile. - The MCP-exposed policy-audit template asset is required.
Template Source
- Required template source: the MCP server tool
resolve_policy_audit_template_assetwith asset selectortemplate. - The resolved MCP asset is authoritative even when a matching repo file also exists.
- If MCP asset resolution fails, create a minimal policy audit artifact marked BLOCKED and document the missing template resolution.
Required Steps
- Resolve the policy-audit template through the MCP server tool
resolve_policy_audit_template_assetwith assettemplate, then copy the resolved asset to the target location using an ISO-8601 timestamp. - Replace placeholders with actual values (component, date, files under test, commits).
- Remove any template usage instructions per template guidance.
- Mark each section PASS/FAIL/N/A using the template’s expected conventions.
- Preserve the canonical major sections from the template:
## Executive Summary## 1. General Unit Test Policy Compliance## 2. General Code Change Policy Compliance## 3. Language-Specific Code Change Policy Compliance## 4. Language-Specific Unit Test Policy Compliance## 5. Test Coverage Detail## 6. Test Execution Metrics## 7. Code Quality Checks## 8. Gaps and Exceptions## 9. Summary of Changes## 10. Compliance Verdict## Appendix A: Test Inventory## Appendix B: Toolchain Commands Reference
- Run the
validate_orchestration_artifactsMCP tool withartifact_type: "policy-audit"andartifact_path: <path>and fail closed on any non-zero result.
Invalid Outputs
- A freeform summary note is invalid.
- A policy audit that retains the template instruction block is invalid.
- A policy audit that omits the canonical major headings is invalid.