Repository navigation
op invariant_pin
Mikhail Deynekin edited this page Nov 29, 2026
·
1 revision
Pinning an invariant: statement, machine probe and a path:line origin that must exist.
| 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_pin |
| CLI | ragraf query invariant_pin |
A constraint that lives only in a person's head disappears with the person. A pin makes it a fact: what is asserted, how it is checked, and where the assertion is written.
- Record a constraint with an origin that must exist in the corpus.
- Refuse a pin whose
path:linepoints nowhere. - Keep the entry unchanged afterwards: the database refuses update and delete.
| Name | Type | Default |
|---|---|---|
key |
str |
'' |
statement |
str |
'' |
probe |
`dict | str |
source |
str |
'' |
anchor |
str |
'' |
reason |
str |
'' |
agent |
str |
'' |
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.