gap_purge_topic
Purge all gaps under a topic in one call, soft-deleting them from the shared backlog while preserving promoted gaps. Confirm the topic to clean up test or junk namespaces without hitting per-call rate limits.
Instructions
Soft-delete every gap under an exact topic in ONE call — bulk cleanup of a junk/test namespace without hitting gap_delete's per-call rate limit. Promoted gaps (which point at a landed knowledge atom) are left intact. Archive, not drop: purged gaps are retained (deleted=1), just removed from gap_list. Pass confirm= to proceed. Returns {purged, skipped_promoted, topic}.
Note: gaps are a FLEET-SHARED backlog, not store_scoped — this purges every
app's gaps under the topic, so it's gated on its own gap_purge permission
(not the everyday gap_write) rather than handed out broadly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| app_id | Yes | ||
| confirm | No |