Skip to content

op invariant_unpin

Mikhail Deynekin edited this page Nov 29, 2026 · 1 revision

invariant_unpin

Second half: removing an entry whose constraint is proven absent; retire for a mistake.

Group Invariants
Edition pro — opens with a Pro licence
Capability invariant-pin — the feature that carries this operation; the matrix is on 15 · Editions and licensing
MCP tool ragraf_invariant_unpin
CLI ragraf query invariant_unpin

Why it exists

Two parts exist so that a constraint cannot be dropped silently together with the code that guarded it.

What it solves

  • Remove an entry only after release, and only when the probe no longer holds.
  • Refuse with constraint_present while the constraint is alive.
  • Use retire for "this was never an invariant": the journal keeps the fact.

Parameters

Name Type Default
key str ''
mode str 'release'
reason str ''
reindex bool False
agent str ''

What it returns

The usual envelope: ok, index_rev, capability, provenance and the operation's own section. A refusal is a named reason (constraint_present, unverifiable_constraint, origin_missing, outside_scope), not a silent false.

Full description and limits: 16 · Invariants.

Clone this wiki locally