harbor_revoke_learning
Revoke a learning you previously recorded — use when the user corrects you ("no not that", "undo that rule", "actually scratch that"). Prefer the id (the lrn_xxxx harbor_record_learning returned). If it has scrolled out of context, pass contentMatch instead — never invent an id. It finds learnings you recorded in earlier sessions too (after a resume or a compaction), and rules you wrote, but never a teammate's. Idempotent: revoking an already-revoked row returns ok. A learning that is already live is removed from the team's shared memory, for everyone, when this session may publish knowledge there. If an admin approved it, or this session may not publish, it cannot be removed here: pass reason and it is marked disputed instead, so every agent is handed it flagged until an owner settles it with your words on /review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The sticky short id (e.g. "lrn_a3f1") harbor_record_learning returned. Use it whenever you have it. | |
| reason | No | What is true instead, in one sentence (the user's correction). Used only when the learning cannot be removed here: it is then marked disputed, as an agent's flag, and an owner settles it with these words on /review. | |
| contentMatch | No | Substring of the original content, when the id is gone. Ambiguous matches (2+ hits) refuse with a candidate list: pick by id and retry. To reach a learning from an earlier session it must be at least 12 characters and 2 words of it. |