Repository navigation
Description
Context
perima ran a 40-question library and stack audit in April 2026 looking for slots where the project was using a dated approach when a modern, still-stable alternative would make the codebase leaner, faster, or easier to maintain. The audit's ranked conclusion identified 8 concrete changes worth making now, plus a cross-cutting training-data-staleness theme: AI-coding agents regularly regenerate patterns from 2023-2024 training data (stale axum route syntax, useCallback wrapping, Zod v3 APIs, unmaintained crates) unless the project pins its decisions in a vendor-neutral AGENTS.md doc.
This umbrella tracks follow-up work from that audit. Each item lands as its own plan + PR.
Ranked items (L1-L8)
- L1. RUSTSEC-2025-0141 bincode transitive audit + remediation — verified 2026-04-20;
cargo tree -i bincodereturns no matches; zero transitive usage. AGENTS.md pin landed. - L2. Frontend modernization bundle: Tailwind v4 + Vite 8 + React Compiler 1.0 + eslint-plugin-react-hooks v7 (see
57c3752,bcb06dc,ceb508a,e4f24ef,59eb35a). - L3. Metadata crate: swap
kamadak-exif→nom-exif2.7 (see5757411,f344037,a4a1c7e). - L4. Image pipeline: add
fast_image_resize6.0 (seec2b45e4,1b6c2cb). - L5. Path handling: consolidate — dropped
unicode-normalizationfrom path code, droppedpath-slash, kept Windows-onlydunceviaperima_fs::platform_path(see044e156,d9acf63,e170c04,53848d6,dc20a0f,87db513,2dd810a).camino+normpathdeferred to concrete-consumer PR. - L6. Tauri: adopt official
tauri-plugins-workspace— wiredtauri-plugin-dialog; tightenedtauri/tauri-build/tauri-plugin-dialogto tilde-minor pins (see3bcd0bf). Four other in-scope plugins (fs / notification / os / store) deferred per scope-discovery (no TODAY call-sites) — tracked in Adopt remaining tauri-plugins-workspace plugins (fs / notification / os / store) when TODAY call-sites emerge #117. - L7. Error UX: swap
anyhow→mietteincrates/cli+crates/desktopbinaries (see938eccc).thiserrorkept in libs. - L8.
AGENTS.md: repository-level staleness-pinning doc (cross-cutting). All 25 mandatory entries populated.
Existing + related issues
- react-hooks v7 new-rules audit (13 downgraded to warn in a3b1435) #53 — react-hooks v7 new-rules audit (part of L2 PR-4; follow-up tracked)
- Vitest 3.x peer-caps at Vite 6; unit tests don't exercise Rolldown after Vite 8 bump #114 — Vitest 4 upgrade / Rolldown-native coverage gap (from L2)
- CI Node version doesn't match apps/desktop engines range #115 — CI Node engines gap (from L2)
- react-hooks v7: audit 13 warn-downgraded rules in apps/desktop #116 — v7 warn-downgraded rules umbrella (from L2, P2 cosmetic)
- Adopt remaining tauri-plugins-workspace plugins (fs / notification / os / store) when TODAY call-sites emerge #117 — Remaining tauri-plugins-workspace plugins (fs / notification / os / store) adoption umbrella (from L6)
Explicitly NOT covered here (scope boundary)
Architectural refactors (app-layer extraction, write-actor + read-pool connection model, typed CoreError discriminated union, async-broadcast event bus, FTS5 trigger templating, split search_repo.rs, App.tsx state decomposition, delete types.ts) are owned by a separate architecture-audit follow-up umbrella — see that issue when it's filed.
Timing + durability
Items land one batch at a time per the sequencing graph in the design spec. Each plan is reviewed independently before execution. Items deferred beyond this umbrella (post-v1, phase-specific, blocked on external procurement) are filed as separate issues with routing labels (phase-6-blocker, phase-9-hardening, post-v1) so they surface via gh issue list --label <label> when the relevant spec is written.
Source
40-question audit response generated April 2026; design spec authored 2026-04-20; L1-L8 execution wrapped 2026-04-21.
Activity