Audit CI pipeline evidence integrity

Audit the complete point-in-time change-to-pipeline-to-job-to-rerun cohort, exposing missing CI, orphan records, future leakage, inconsistent required-job outcomes, incomplete provider evidence and same-configuration fail-then-pass flake proxies without scoring people.

What it's for

Turns Gitrevio's CI failure-rate card into a trustworthy assurance ledger: which required changes really ran, which jobs and reruns belong to them, whether evidence is complete, and where feedback capacity is leaking.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
as_of_ms number ≥ 0 Your calibration Yes
eligible_changes array of objects (6 fields) Evidence Yes
jobs array of objects (10 fields) ≥ 0 items Evidence Yes
lookback_days number ≥ 1 Your calibration Optional
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
maximum_flake_proxy_rate number ≥ 0, ≤ 1 Your calibration Optional
maximum_unlinked_job_rate number ≥ 0, ≤ 1 Your calibration Optional
minimum_change_coverage number ≥ 0, ≤ 1 Your calibration Optional
minimum_job_coverage number ≥ 0, ≤ 1 Your calibration Optional
pipeline_runs array of objects (12 fields) ≥ 0 items Evidence Yes

Each pipeline_runs record

Field Type Required
commit_sha string (non-empty) Yes
configuration_hash string (non-empty) Yes
evidence_verified boolean Yes
finished_at_ms number,null (≥ 0) Yes
id string (non-empty) Yes
pipeline_name string (non-empty) Yes
repository_id string (non-empty) Yes
rerun_of_id string,null (non-empty) Yes
source_complete boolean Yes
started_at_ms number,null (≥ 0) Yes
status one of "success", "failed", "cancelled", "timed_out", "skipped" Yes
triggered_at_ms number (≥ 0) Yes
Example input
{
  "as_of_ms": 8640000000,
  "eligible_changes": [
    {
      "commit_sha": "sha-a",
      "evidence_verified": true,
      "id": "change-a",
      "merged_at_ms": 8208000000,
      "repository_id": "repo-a",
      "requires_ci": true
    }
  ],
  "jobs": [
    {
      "allowed_failure": false,
      "attempt": 1,
      "evidence_verified": true,
      "finished_at_ms": 8208062000,
      "id": "job-a",
      "job_name": "tests",
      "pipeline_run_id": "run-a",
      "required": true,
      "started_at_ms": 8208002000,
      "status": "success"
    }
  ],
  "pipeline_runs": [
    {
      "commit_sha": "sha-a",
      "configuration_hash": "cfg-a",
      "evidence_verified": true,
      "finished_at_ms": 8208062000,
      "id": "run-a",
      "pipeline_name": "main",
      "repository_id": "repo-a",
      "rerun_of_id": null,
      "source_complete": true,
      "started_at_ms": 8208002000,
      "status": "success",
      "triggered_at_ms": 8208001000
    }
  ]
}

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "decision": "accepted",
  "detail_truncated": false,
  "finding": "evidence_ready",
  "gates": {
    "change_coverage_passed": true,
    "flake_proxy_rate_passed": true,
    "integrity_passed": true,
    "job_coverage_passed": true,
    "maximum_flake_proxy_rate": 0.1,
    "maximum_unlinked_job_rate": 0.01,
    "minimum_change_coverage": 0.95,
    "minimum_job_coverage": 0.98,
    "unlinked_job_rate_passed": true
  },
  "integrity_diagnostics": {
    "ambiguous_change_keys": 0,
    "ambiguous_run_links": 0,
    "attempted_job_groups": 1,
    "duplicate_job_attempts": 0,
    "flake_proxy_groups": 0,
    "future_changes": 0,
    "future_job_information": 0,
    "future_run_information": 0,
    "future_runs": 0,
    "impossible_job_times": 0,
    "impossible_run_times": 0,
    "incomplete_run_sources": 0,
    "inconsistent_success_runs": 0,
    "missing_job_runs": 0,
    "out_of_window_jobs": 0,
    "prewindow_changes": 0,
    "prewindow_runs": 0,
    "rerun_cycles": 0,
    "rerun_mismatches": 0,
    "unfinished_terminal_jobs": 0,
    "unfinished_terminal_runs": 0,
    "unknown_rerun_parents": 0,
    "unlinked_job_rate": 0,
    "unlinked_jobs": 0,
    "unlinked_runs": 0,
    "unverified_changes": 0,
    "unverified_jobs": 0,
    "unverified_runs": 0

Truncated for display — the full payload is 59 lines.

How it works

Statistical audit & measurement — Check whether a number is fit to decide on: coverage, timing, reconciliation, and the gaps a dashboard hides.

  1. 1 Freeze the complete CI-required change cohort and as-of cutoff, then reconcile repository and commit identities to every in-window pipeline run and job while preserving future, pre-window, ambiguous and orphan records as diagnostics.
  2. 2 Validate run/job timestamps, terminal completeness, required-job consistency, source verification, rerun parent acyclicity and exact commit/configuration/pipeline continuity; calculate change and job coverage before any performance metric.
  3. 3 Measure aggregate feedback, compute and same-change same-configuration fail-then-pass flake proxies only after lineage passes; separate evidence acceptance from a high-flake review finding and never infer individual fault or authorize a branch-policy change.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • Metric definitions, weights, aggregate grain, sampling, missingness, dependence, and comparison windows correspond to the management claim being audited.
  • The eligible-change projection is complete, commit identities are canonical across providers, source_complete means all jobs and attempts were delivered, and required/allowed-failure semantics reflect the effective branch policy.
  • Association, instability, or measurement quality is not a causal effect and must not be converted directly into an individual employment decision.
  • A fail-then-pass sequence is a review proxy rather than proof of flakiness, a failed job is not proof of poor engineering, and this aggregate audit never ranks contributors or authorizes merge, access, discipline or employment action.

Minimum evidence

  • eligible_changes: required and organization-defined
  • pipeline_runs: at least 0 rows/items
  • jobs: at least 0 rows/items
  • as_of_ms: required and organization-defined

How to validate it

Validate on future periods or held-out aggregate units, compare with a simple baseline, and require stability across plausible metric definitions and decision thresholds.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • one point-in-time change-run-job-rerun projection that resolves provider commit identities, effective pipeline configuration hash, rerun parent, required/allowed-failure policy, source completeness and evidence verification without dropping cancellations, failures, skipped jobs or missing-run changes
  • CI-required change perimeter, effective branch and required-job policy, configuration-version derivation, source-completeness semantics, as-of time, lookback, change/job/orphan coverage gates, flake-proxy review threshold and accountable CI owner

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "audit the complete pointintime changetopipelinetojobtorerun cohort" }
  → finds "audit_ci_pipeline_evidence_integrity"

gitrevio_capability_describe
  { "capability_id": "audit_ci_pipeline_evidence_integrity" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "audit_ci_pipeline_evidence_integrity", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Forecast CI feedback loop economics

Forecast company-local CI feedback delay, compute spend, terminal failure and governed post-release escape loss with hierarchical Dirichlet/Beta outcomes, log-normal feedback, runner-queue amplification, coherent common shocks and strict latest-period validation against global baselines.

Forecasting & survival

Optimize CI assurance portfolio

Choose one baseline, cache, shard, test-selection, flaky-repair, mutation, integration-suite or runner-scale option per assurance unit using only prospective randomized/known-propensity fault-detection and feedback evidence, common random scenarios, controls, relations, budget, implementation and runner capacity, undetected-fault, latency and CVaR gates.

Causal inference & experiment design

Audit incident learning evidence integrity

Audit the complete point-in-time incident-to-postmortem-to-corrective-action lineage, separating missing or contradictory evidence from genuine overdue learning debt without attributing individual fault.

Statistical audit & measurement

Audit operational alert decision integrity

Audit every point-in-time operational alert evaluation by recomputing fire/suppress decisions and verifying effective policy, cooldown, evidence freshness, context, controls, severity routing, acknowledgement, action and mature outcome lineage.

Constrained optimization

Audit root cause traceback evidence integrity

Audit whether an anomaly traceback is complete, point-in-time, multiplicity-controlled and honestly labeled as temporal or causal, including every upstream candidate, path lag, edge identification basis and later root-recovery validation.

Causal inference & experiment design

Estimate software reliability growth

Estimate long-run software reliability growth with a power-law nonhomogeneous Poisson process, bootstrap trend evidence, and future incident exposure.

Forecasting & survival

See every tool in Quality, incidents & reliability →

Ready to See Your Engineering work clearly?

Request a free demo