Issue #385 introduces GET /api/documents/density which aggregates documents by month via date_trunc. Adding the index now keeps the query cheap as the archive grows and removes a future-investigation tax. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>