Governance Weekly Report
Generate a weekly governance snapshot with:
- Scope-level controls (feedback/decision/recall/lane coverage)
- Cross-tenant drift (active-rule count spread and negative-ratio spread)
- JSON + Markdown artifacts for release and operations review
Command
bash
cd /Users/lucio/Desktop/Aionis
npm run -s job:governance-weekly-report -- --scope default --window-hours 168Optional strict modes:
bash
npm run -s job:governance-weekly-report -- --scope default --strict
npm run -s job:governance-weekly-report -- --scope default --strict-warningsOutput
Default output directory:
artifacts/governance/weekly/<report_week>_<run_id>/
Generated files:
summary.json: machine-readable snapshot + checks + recommendationsWEEKLY_STATUS.md: human-readable weekly status report
Core Metrics
scope.feedback.run_id_coveragescope.decision.link_coveragescope.recall.identity_coveragescope.lane.private_owner_coveragecross_tenant.active_rule_count_driftcross_tenant.negative_ratio_drift
Default Thresholds
min_decision_link_coverage = 0.95min_recall_identity_coverage = 0.80min_private_owner_coverage = 1.00max_tenant_active_rule_count_drift = 20max_tenant_negative_ratio_drift = 0.30tenant_drift_min_feedback = 5
Override with flags when needed:
bash
npm run -s job:governance-weekly-report -- \
--scope default \
--window-hours 168 \
--min-decision-link-coverage 0.98 \
--min-recall-identity-coverage 0.90 \
--max-tenant-active-rule-count-drift 15Schema Requirements
The report degrades gracefully when optional tables/columns are missing, and emits warning/error checks indicating required migrations.
Recommended baseline:
0013_multi_agent_fabric.sql0021_execution_decision_provenance.sql
CI Integration
Weekly non-blocking snapshot:
bash
npm run -s job:governance-weekly-report -- --scope default --window-hours 168Release hard gate:
bash
npm run -s job:governance-weekly-report -- --scope default --window-hours 168 --strict-warningsGitHub Actions wiring:
- Weekly scheduled export:
/Users/lucio/Desktop/Aionis/.github/workflows/governance-weekly-report.yml - Production release gate integration:
/Users/lucio/Desktop/Aionis/.github/workflows/core-production-gate.yml
Verification Stamp
- Last reviewed:
2026-02-19 - Reviewer:
codex