Skip to content

feat: Add bulk clear feature for auto-saved claims #433

Description

@plind-junior

When vouch is running with auto-approval enabled, users may accumulate claims they didn't explicitly review. We need a way to bulk clear auto-saved claims while preserving human-approved knowledge.

Why

  • Users might experiment with auto-approval and want to reset
  • Auto-accepted claims may have low quality and users want to start fresh
  • Helps users recover from a bad calibration period

What we need

  • A command to clear all auto-saved claims (filter by approval status)
  • Option to preserve manually-approved claims
  • Option to clear by date range (e.g., "clear everything auto-approved before 2026-07-01")
  • Confirmation prompt to prevent accidental deletion
  • Audit log of what was deleted and when

Example usage

vouch claims clear --auto-only
vouch claims clear --auto-only --before 2026-07-01
vouch claims clear --auto-only --confirm

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions