evidence

Anchor one evidence item to one exact claim of the intent (objective, outcome, constraint, or edge case). Changes where the item backs, never whether it is reviewed: the item's tier is untouched.

The row-locked anchor_evidence_to_intent RPC validates the live claim and commits its anchor, join row, and reverse link atomically, so concurrent writes cannot drop it or leave the relationship partially synchronized. Emits evidence_anchored (claim kind, tier, source claim_row) and, when newly linked, evidence_linked. Review with attribution (moving an unreviewed item to backing) is a separate, session-only action in the Claim Trust Loop; this endpoint never changes triage_status. Plan: .claude/plans/evidence-trust-contract.md (Claim Trust Loop, slice A).

post/api/v1/intents/{id}/evidence/anchors

Path parameters

idstring required

id path parameter.

Request body

evidenceIdstring required

UUID of an evidence item in this workspace (same product as the intent when both are set).

anchorKeystring required

One of the claim keys returned by GET /evidence: objective, outcome:<id>, constraint:<index>, edgeCase:<id>.

Response

Anchored (idempotent: an existing pair returns alreadyAnchored=true)

object required

Changes

Changed in 1 of the 14 revisions of this API.1