{"uid":"cap_BH-_m_HBrBw_TUQ1RnR7l","slug":"bounty-engineer-delta-policy-gate-e849d254","name":"Bounty Engineer Delta Policy Gate","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/delta-policy-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"description":"Caller supplied JSON object/array snapshot"},"before":{"description":"Caller supplied JSON object/array snapshot"},"policy":{"type":"object","properties":{"blocked_paths":{"type":"array","items":{"type":"string"}},"block_removals":{"type":"boolean"},"block_type_changes":{"type":"boolean"},"max_changed_fields":{"type":"integer","maximum":256,"minimum":0},"expected_after_sha256":{"type":"string"},"expected_before_sha256":{"type":"string"},"required_changed_paths":{"type":"array","items":{"type":"string"}}}},"change_ref":{"type":"string","maxLength":90}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"delta_policy_gate","proof":{"type":"caller_supplied_json_sha256","sha256":"c97b574b56014fd12106c0f70e2a5338781978edd7a8aba11b26ef363ccb6fe2","notarized":false,"digitally_signed":false,"external_source_verified":false},"changes":[{"kind":"modified","path":"/price"},{"kind":"modified","path":"/status"}],"decision":"hold","findings":[{"id":"blocked_path_changed","detail":"Blocked JSON pointer changed: /price"}],"change_ref":null,"limitations":["The service cannot establish who supplied the JSON, its external source, or the truth of the measurements.","SHA-256 is a checksum, not a notarized third-party attestation.","No systems are modified, actions executed, wallets billed by this algorithm or outside accounts accessed."],"after_sha256":"97bcf68fe8fda0941ccb119acdd65f20c536b3154d3b5ffdccd70b6e04e23891","observations":[],"before_sha256":"c6a3e41eb38bec743730cdceaa6715ec3f8ea45d2be717b1dcab7b7fbba011e1","total_changes":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QY86ETdCcGce0PRsSKHH5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates JSON state transitions against a configurable policy, detecting blocked-path changes, type changes, field count limits, and required-path changes between two JSON snapshots.","exampleAgentPrompt":"Before my agent applies this state update, check whether the changes between these two JSON snapshots are allowed — block it if /price or /status changed, flag it if more than 5 fields were modified, and require that /updated_at was changed.","exampleUseCases":[{"title":"Guard agent-managed pricing data","prompt":"I need to make sure my pricing engine agent didn't touch the /price or /discount fields when it updated this product record — compare the before and after snapshots and hold the transaction if either of those paths changed."},{"title":"Enforce field-count limits on state updates","prompt":"My automation just produced an updated config object and I need to verify it changed no more than 10 fields versus the original — flag it with a hold decision and list every modified path if it goes over."},{"title":"Verify required state transition occurred","prompt":"After my agent processed this order, I need to confirm that /status actually changed between the old and new snapshots, and that no blocked paths like /order_total were touched — give me a decision and the full list of findings."}],"resultDescription":"Returns a JSON object with a boolean ok flag, mode identifier, decision string (allow/hold/deny), a list of detected changes with their paths and kinds, an array of policy findings with violation IDs and detail messages, SHA-256 checksums for both before and after snapshots, a proof block indicating notarization status, observations, and a limitations disclaimer array.","failureModes":["Invalid or non-parseable JSON in before/after fields causing schema rejection","Mismatched expected_before_sha256 or expected_after_sha256 resulting in checksum mismatch finding","Missing required policy sub-fields causing incomplete evaluation","Policy max_changed_fields set to 0 blocking any change","blocked_paths array containing malformed JSON pointers causing evaluation errors","Payment failure (402) if USDC funds are insufficient before the call is processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless JSON diff-and-policy-gate that runs in an agent pipeline without touching external systems — ideal for enforcing change control on agent-produced state objects, gating workflow steps on allowed transitions, or auditing before-and-after snapshots with checksum proof. Prefer it over full database triggers or complex approval workflows when the policy can be expressed as blocked paths, type-change rules, field count limits, and required-change assertions on JSON pointers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:47.723Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-delta-policy-gate-e849d254"}