PolicyFlow 0.4.0 - Metrics, Evidence, Audit, and Reporting
Metrics, Evidence, Audit, and Reporting release.
Highlights:
- Added Metric Governance documentation for declarations, sources, evidence, validation boundaries, Querypilot-inspired examples, and Consumer-Repo metric ownership.
- Added review and QA metric examples for tests, coverage, security, performance, review score, and domain metrics without making PolicyFlow calculate those metrics.
- Added audit governance summaries for workflow, loop, evaluation, and human governance across workflow directories.
- Added read-only evaluation and loop compliance reports with text and JSON output.
- Stabilized the machine-readable audit JSON contract as
policyflow.audit.v1withworkflow_governance,loop_governance,evaluation_governance, andhuman_governancesummary groups. - Documented audit reporting usage for local and CI workflows, including the boundary that PolicyFlow reports declared governance state but does not execute workflows, run loops, calculate metrics, approve pull requests, host runtimes, schedule work, manage memory, or own provider credentials.
- Updated packaged managed docs and Consumer-Repo governance workflow pins so Consumer-Repos can adopt Metrics, Evidence, Audit, and Reporting through the PyPI package.
Consumer upgrade:
- Install with
python -m pip install policyflow==0.4.0. - Run
policyflow sync .to preview packaged managed asset updates. - Run
policyflow audit ai/workflows --json,policyflow evaluation-report ai/workflows --json, andpolicyflow loop-report ai/workflows --jsonwhere reporting artifacts are useful.