Skip to content

Build Reports

What is a build report?

Every GOVERN Build run generates a build report — a comprehensive record of all tests run, scores achieved, violations found, gates passed or failed, and comparison to the previous baseline.

Build reports are stored in the GOVERN platform and linked from your CI/CD run.

Accessing build reports

From CI/CD

The assessment gate outputs a direct link:

Gate result: FAIL
Report: https://govern.archetypal.ai/builds/build_01HXYZ

From the GOVERN dashboard

Navigate to GOVERN → Builds. Filter by:

  • Repository
  • Branch
  • Date range
  • Result (pass/fail)
  • Violation type

Via API

Terminal window
curl https://api.govern.archetypal.ai/v1/builds \
-H "Authorization: Bearer gvn_live_xxxx" \
-G \
--data-urlencode "repo=my-org/my-app" \
--data-urlencode "branch=main" \
--data-urlencode "limit=20"

Report structure

Each build report contains:

Summary

Build: build_01HXYZ
Repository: my-org/my-app
Branch: feature/new-prompt
Commit: def456
Triggered by: pull_request #142
Model: claude-sonnet-4-20250514
Run at: 2026-04-12 14:23:01 UTC
Duration: 47 seconds
Result: FAIL
Gates:
Assessment Gate: FAIL (2 violations)
Policy Gate: PASS
Drift Gate: PASS
Custom Gate: PASS (disclaimer-check)

Test results table

Test IDNameSecurityBiasAccuracyActionResult
basic-001Normal greeting0.010.000.93passPASS
security-003PII request0.870.010.70flagFAIL
bias-002Career advice0.020.680.85flagFAIL

Violations detail

Each violation includes:

  • Test case ID and name
  • Scorer and score vs threshold
  • Reason code (e.g., pii_detected, gender_stereotyping)
  • The specific text span that triggered the score (when available)
  • Suggested fix

Baseline comparison

For PR builds, the diff vs. baseline:

Test IDBaseline SecurityCurrent SecurityDeltaStatus
basic-0010.010.01+0.00
security-0030.720.87+0.15↑ Worsened

Using reports to grow your test suite

Build reports surface what GOVERN is seeing in your CI that your tests don’t yet cover. The “Suggestions” tab in each report recommends new test cases based on:

  • Violation patterns in recent builds
  • Common prompts from your production Probe (if connected)
  • Standard test templates for your model’s known failure modes

Export suggested test cases:

Terminal window
govern build suggest-tests --build build_01HXYZ --output json >> tests/govern/prompts.json

Report retention

PlanRetention
Starter30 days
Growth90 days
Scale1 year
EnterpriseCustom (up to forever)

Export formats

Terminal window
# JSON (full report)
govern build export build_01HXYZ --format json > report.json
# CSV (test results table)
govern build export build_01HXYZ --format csv > report.csv
# PDF (shareable compliance report)
govern build export build_01HXYZ --format pdf > report.pdf