mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 19:28:46 +01:00
Auto-generated issue docs were always created with documentType "other", so the Documents library Type filter (Plan/Spec/Brief/Report) never matched the plan/spec/brief/report key chip shown in each row. Map the issue document key to its categorical documentType on create (stripping the locked-document `-N` fallback suffix), add an idempotent backfill that only touches rows still at the default "other", and cover both with tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>