Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 3.3 KB

File metadata and controls

73 lines (54 loc) · 3.3 KB

Examples

This page points to runnable fixtures and CI recipes that demonstrate how Agents Shipgate turns an agent tool surface into release-review evidence.

Runnable sample agents

The samples/ directory contains local fixtures that can be verified or scanned without network access. Start with the verify-native PR demo:

agents-shipgate fixture run ai_generated_refund_pr

It builds a temporary base/head git history, adds stripe.create_refund, and writes verifier.json, report.json, and pr-comment.md with merge_verdict: blocked.

For the lower-level static report path, run:

agents-shipgate fixture run support_refund_agent

Useful fixtures:

CI recipes

Golden PR examples

  • Golden PR examples show the advisory loop a reviewer or coding agent should imitate: initial risky tool surface, commands run, release decision summary, top findings, safe patch boundary, and PR comment shape.

Example output

The verify-native fixture writes:

  • agents-shipgate-reports/verifier.json
  • agents-shipgate-reports/pr-comment.md
  • agents-shipgate-reports/report.json

The static scan fixtures write:

  • agents-shipgate-reports/report.md
  • agents-shipgate-reports/report.json
  • agents-shipgate-reports/report.sarif when requested or when using the GitHub Action

The JSON output is the stable contract for tools and coding agents. See report-schema.v0.22.json (current; emitted reports carry report_schema_version: "0.22", adding the verifier-cycle top-level blocks capability_change, protected_surface_changes, effective_policy, human_ack, and verifier_summary alongside v0.21's heuristics_filter envelope; v0.21 frozen at report-schema.v0.21.json).