Skip to content

PolicyFlow 0.4.0 - Metrics, Evidence, Audit, and Reporting

Choose a tag to compare

@sentinel-flow sentinel-flow released this 26 Jun 18:22
332e5e0

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.v1 with workflow_governance, loop_governance, evaluation_governance, and human_governance summary 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, and policyflow loop-report ai/workflows --json where reporting artifacts are useful.