Skip to main content

Module forget

Module forget 

Source
Expand description

forget — tombstone a node, remove one property, or retract one fact, and say what is left behind.

The decision and the report live here so that every surface gives the same answer: the MCP forget tool renders ForgetReport as prose, and the Python binding returns it as a dict. Before 0.7’s last plan this was private to the MCP server.

A tombstone is not a redaction. History still holds what was forgotten until the log is pruned, and a note that stated a forgotten fact still says it: the report lists those notes and deletes none of them.

Structs§

ForgetReport
What one forget call did.

Enums§

ForgetTarget
What to forget: exactly one of a node, one property, or one fact.

Constants§

FORGET_NOTE_LIST
Notes a report names when what it forgot was written about; the rest are counted in ForgetReport::notes_total.
FORGET_SHAPE
The refusal for a call that is not exactly one of the three shapes.

Functions§

forget
Forget target, in one call on the one handle, so nothing can change between what the report says and what was done.
predicate_fields
Every field a predicate reads, its parts’ included, sorted and deduped.
rule_owned_refusal
Why a fact edge that exists cannot be retracted, in a sentence that is true of this edge.