unpin_memory
Permanently remove pinned lines from a memory section by case-insensitive substring match. Use specific text to target only intended lines, as matches are deleted without undo.
Instructions
MUTATING and DESTRUCTIVE: permanently remove pinned lines from a canonical memory section by case-insensitive substring match, with no undo and no restore token. Writes to local disk, machine-wide, so it takes no project_path. A substring can match more lines than intended, so read the section with canonical_memory first and pass text specific enough to hit only what you mean. Fails without changing anything when nothing matches, which makes a dry run safe. Only pinned lines are removable; generated content is rewritten by reconciliation instead. Parameters: section selects which canonical section to modify, one of about, preferences, working-principles, or active-projects; text is the case-insensitive substring, not a whole line and not a pattern, identifying the pinned lines to delete. Returns an object with the section and how many lines were removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Case-insensitive substring identifying pinned lines to remove from the selected section. | |
| section | Yes | Canonical section to modify. canonical-memory is excluded because it describes the store itself and is regenerated wholesale. |