Files
outline/server/emails
Claude 4717c029aa feat: Document verification and freshness tracking
Adds a verification lifecycle to documents. A user with admin-level access
to a document (document admin membership or team admin) can mark it as
verified, vouching that its content is accurate. Verification carries an
optional expiry deadline derived from a re-verification interval resolved
through a document → collection → team preference inheritance chain.

- documents.verify / documents.unverify API endpoints, gated by new
  verify/unverify abilities
- verificationInterval override on documents.update and a collection
  default on collections.update (team admin only), plus a team-wide
  default via the verificationInterval team preference
- verificationStatus filter (verified/unverified/expired/expiring) on
  documents.list
- daily VerificationExpirySweepTask emits idempotent
  documents.verification_expired events without mutating documents;
  expiry is derived from the materialized verificationExpiresAt deadline
- notification and email to the verifier when their verification lapses;
  suppressed when the verifier is deleted, suspended, or lost access
- verification state excluded from duplicates and public shares;
  presenter exposes verifiedAt/verifiedById/verificationExpiresAt/
  verificationInterval and a derived editedSinceVerification flag

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mb5McXaNbEDyyCZXPAdGAY
2026-07-05 15:50:13 +00:00
..