loom_memory_lock
Locks a stored memory against a class of writes: read_only blocks value, expiry and deletion changes, while no_delete permits edits but refuses deletion or redaction. Guarded writes return 423 LOCKED.
Instructions
WHAT: Lock one memory against a class of writes. read_only refuses a changed value, a changed expiry and deletion; no_delete lets the value change but refuses tombstone/redact/clear/consolidate-away. Guarded ops answer 423 LOCKED with the reason. Only an admin loosens. WHEN: 'make sure this never changes', 'freeze the deploy window', 'this must not be deleted / forgotten', 'protect this fact', 'legal hold on X', 'keep this exactly as is'. WHEN NOT: To keep a fact ahead of later conflicting writes (that is memory.pin) or to share it (memory.promote, via loom_op). Never lock on inferred intent. ARGS: memory_key, mode (read_only | no_delete), reason (required), optional until / ttl_seconds. Server fills identity.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"memory_key": "<memory_key>",
"reason": "<reason>"
},
"name": "loom_memory_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | read_only | |
| until | No | ||
| reason | Yes | ||
| run_id | No | ||
| locked_by | No | ||
| namespace | No | ||
| memory_key | Yes | ||
| ttl_seconds | No |