Skip to content

Artifacts Reference

DiffPal writes artifacts under .artifacts/diffpal/ by default.

Artifact Table

PathCreated whenFormatIntended consumer
.artifacts/diffpal/findings.jsonEvery successful provider-backed review and debug prompt unless --out changes it.DiffPal findings JSONCI automation, audit logs, downstream converters.
.artifacts/diffpal/summary.mdNon-dry-run host review commands when the summary surface is enabled; custom CI examples may capture local stdout here.MarkdownHumans, CI job summaries, retained review record.
.artifacts/diffpal/diffpal.sarifNon-dry-run GitHub and GitLab host review commands; diffpal sarif; any file-publishing run that enables the SARIF surface.SARIF 2.1.0 JSONCode scanning or SARIF upload consumers.
.artifacts/diffpal/codequality.jsonGitLab host review commands.GitLab Code Quality JSONGitLab Code Quality report ingestion.
.artifacts/diffpal/github-comments.jsonGitHub file-output publishing plan when GitHub comment surface is emitted to files.JSONDebugging or API publishing handoff.
.artifacts/diffpal/gitlab-discussions.jsonGitLab file-output publishing plan for discussions.JSONDebugging or API publishing handoff.
.artifacts/diffpal/gitlab-status.jsonGitLab status file output.JSONDebugging or API publishing handoff.
.artifacts/diffpal/azure-threads.jsonAzure file-output publishing plan for PR threads.JSONDebugging or API publishing handoff.
.artifacts/diffpal/azure-status.jsonAzure status file output.JSONDebugging or API publishing handoff.

Canonical Versus Host-Specific

findings.json is the canonical DiffPal artifact. It contains validated structured findings and metadata independent of a code host.

Host-specific artifacts are derived from the canonical bundle:

  • SARIF is derived for SARIF consumers.
  • GitLab Code Quality is derived for GitLab report ingestion.
  • Comments, discussions, threads, and status JSON files are publishing plans or status payloads for host integrations.

Creation Conditions

diffpal review local:

  • writes findings.json or the --out path;
  • prints Markdown to stdout;
  • does not automatically create summary.md.

Non-dry-run diffpal review github:

  • writes findings.json;
  • creates summary.md and diffpal.sarif;
  • creates GitHub comment artifacts when feedback=review file outputs are generated.

Non-dry-run diffpal review gitlab:

  • writes findings.json;
  • creates summary.md, diffpal.sarif, codequality.json, gitlab-status.json;
  • creates gitlab-discussions.json when feedback=review file outputs are generated.

Non-dry-run diffpal review ado:

  • writes findings.json;
  • creates summary.md and azure-status.json;
  • creates azure-threads.json when feedback=review file outputs are generated.

diffpal debug prompt writes a mock findings bundle to --out. diffpal sarif reads a findings bundle and writes SARIF to --out.

Retention Advice

Upload .artifacts/diffpal/ from CI when you need audit records, downstream automation, or report ingestion after the job completes. Retain at least findings.json for machine processing and summary.md for human review history when host summaries are not enough.

Released as open source software.