GDP · cross-surface2026-11-22Source reviewed: 2026-11-22

Verify an operation or patch with GDP evidence

Start with the exact repository and operation. The patch result, command result, and optional MCP proof each answer a different question.

Start with the exact operation

  1. In Inspect, select the repository that received the work. Identify the patch or check and read its current result.
  2. If your MCP connection exposes inspect_operation, pass the exact typed operation_id from that operation, such as incoming:<id> or run:<id>. This reads recorded evidence for the selected repository.

Set criteria and read the proof

  1. If both tools are available, use build_proof_obligations with the operation_id and the criteria you want to check. The resulting contract describes the checks to make.
  2. Pass the contract unchanged to verify_operation. Read the reported evidence and any conditions GDP could not verify.

Verify the exact patch version

If prove_patch is available, use the incoming_id and exact lowercase SHA-256 content_hash for the patch version you are checking. Its contract looks for matching full-apply records and patch-linked verification.

Use the evidence before deciding to retry

  1. Compare the latest working-tree diff and the check output with the outcome you expected.
  2. If evidence is incomplete, find the missing apply or check result before retrying. One passing command cannot substitute for a full patch apply record.