Search docs
Docs searchValidation rule
Back to Rule CatalogAP-SUP-005DocumentationSuppression expiry format invalid
Checks that suppression expiry dates use a valid format.
warningsetup-gapNo auto-fix
How to fix
- Use a clear ISO-style date.
- Remove prose from the expiry field.
- Run validation to confirm the expiry is recognized.
What the rule validates
A suppression expiry value cannot be parsed reliably.
Why it matters
Invalid expiry dates prevent ArchPilot from enforcing time-bound suppressions.
Common causes
- The date uses a local shorthand format.
- The expiry field contains prose.
- A timezone or separator typo was introduced.
Typical violation example
"expiresAt": "next Friday"Typical compliant example
"expiresAt": "2026-06-30"Related rules
AP-ADR-001 - ADR directory missingAP-ADR-002 - ADR file missing titleAP-ADR-003 - ADR status missing or invalidAP-ADR-004 - Required ADR missing for architecture context
Adjacent categories
Related files/config
.archpilot/suppressions.json.archpilot/exceptions.json
Related CLI commands
archpilot validatearchpilot validate --ci