kurator_lauf
Identify injection-suspect knowledge entries and withdraw their visibility for safe cleanup; dry run by default, with an explicit flag to apply actions.
Instructions
Background cleanup agent (Hermes curator.py comparison) that ACTS, not just reports like knowledge_lint.py -- but only within the safe boundary: knowledge_zurueckziehen() (reversible visibility toggle), never endgueltig_entfernen.py (human-only, no MCP tool). Evaluates all knowledge_lint categories; 15 are report-only with a stated reason each (see _KURATOR_KATEGORIEN_OHNE_HANDLUNG), only injection_suspects at sicherheit='hart' acts, and only for kind='node' (lessons have no withdraw mechanism, only a real DELETE, so they are reported, never touched). Default is a dry run (scharf=False): nothing is written, every potential action is returned with ausgefuehrt=false. scharf=True is the explicit switch to actually withdraw matches, each with a stated grund in the audit row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Calling agent identity; else BEGOD_KNOWLEDGE_ACTOR or unknown | |
| model | No | Calling model; else BEGOD_KNOWLEDGE_MODEL or unknown | |
| scharf | No | false (default) = dry run, true = actually withdraw matches | |
| session | No | Stable session ID; else BEGOD_KNOWLEDGE_SESSION or unknown |