Files
Marlin/roadmap.md
thePR0M3TH3AN 432775e680 update
2025-05-15 13:47:46 -04:00

30 lines
3.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Roadmap
| Phase | Focus | Why now? | Key deliverables |
| -------------------------- | ------------------------ | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| **1. 2025Q2 "Bedrock"** | Migrations + CI baseline | Weve landed versioned migrations and removed runtime column hacks ensure it stays solid. | • CI job runs `cargo test` + `cargo sqlx migrate run --dry-run` |
| **2. 2025Q2** | Leaner FTS maintenance | Perrow triggers dont scale past \~100k files. | • Replace triggers with “dirty” flag + periodic rebuild <br>• Benchmark on 100k files |
| **3. 2025Q3** | Content hashing & dedup | Detect duplicates, enable future integrity checks. | • SHA256 in `files.hash` <br>`scan --rehash` option |
| **4. 2025Q3** | Tag aliases / canonicals | Control tag sprawl before users accumulate thousands. | • `canonical_id` enforcement <br>`tag alias add/ls/rm` CLI |
| **5. 2025Q4** | Search DSL v2 | Power users want grouping, boolean ops, quoted phrases. | • Replace adhoc parser with `nom` grammar <br>• Unittested examples |
| **6. 2025Q4** | Attribute templates | Structured metadata unlocks real workflows. | • `templates` + `template_fields` tables <br>• Validation on `attr set` |
| **7. 2026Q1** | Dolphin readonly plugin | Browse tags/attrs inside the default file manager. | • Qt sidebar showing metadata |
| **8. 2026Q1** | Full edit UI | After readonly proves stable, add editing. | • Tag editor widget, attribute dialog |
| **9. 2026Q2** | Multidevice sync | Final frontier: optional sync/replication layer. | • Choose between rqlite / Litestream / bespoke <br>• Readonly mode for network mounts |
---
### Current sprint (ends **20250601**)
1. **FTS rebuild prototype** dirtiedrows approach, measure on 50k files.
2. `backup --prune` to keep only N most recent snapshots.
3. Integration tests for tag/attr workflows on Windows via GitHub Actions.
---
### Development principles
* **Localfirst** every feature must work offline.
* **Zero manual migrations** shipping code *is* the migration.
* **Instrumentation first** every new command logs trace spans and timings.