opschain admin governance evidence hold
packs:security-governance
opschain admin governance evidence hold <ledger-row-id>
Flags an evidence ledger row under legal hold
(GovernanceService.SetEvidenceLegalHold): the row is exempt from every
purge/retention path until explicitly unflagged, and its typed citations
extend the hold to the evidence they cite — transcript citations pin
transcript exchanges against the retention sweep, and run citations pin a
run's log evidence against the retention sweep and the
admin migrate-logs purge verb. Admin plane plus a
stepped-up session — an unelevated call is refused with the CLI elevation
hint.
-o json / -o yaml emit the flagged row.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Flagged; the row's seq and hold state are reported. |
| 1 | Refused — the admin-floor or step-up refusal, or an unknown row id. |
| 2 | Usage error, including a missing server target. |