pii_purge_sessions
Deletes PII encryption sessions older than a specified number of days, matched by creation time. Requires confirm=true to run; rejects an age below 1 day.
Instructions
Delete PII encryption sessions older than N days (Step 103, ADR-103). Sessions are matched by creation time only; the encryption key is not required. Returns purged (count of deleted sessions) or ok:false when olderThanDays is invalid (< 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | mandatory acknowledgement that this call mutates state; the tool writes nothing unless it is true (D5-08, D5-12) | |
| olderThanDays | Yes | Delete sessions created before this many days (>= 1) |