# Plan 001: Project Revival — Overall Roadmap **Date**: 2026-05-15 **Status**: Approved — ready for implementation **Owner**: Kevin Adams ## Decisions Made | Topic | Decision | |-------|----------| | Build pipeline | Consolidate into this repo; eliminate packer repo dispatch | | Install-time deps | No git, diff, or patch at install time — embed all files in .deb | | apt hosting | Transition to GitHub Pages (parallel with Cloudsmith, then cut over) | | UI strategy | Full `PVE::Storage::Custom::TrueNASPlugin` + standalone JS file | | JS patching | Single minimal patch to `index.html.tpl` to load `truenas-plugin.js` | | Auth | Bearer Token as primary; basic auth as fallback for compat | | Cleanup on failure | Rollback dangling TrueNAS resources on any step failure (ADR-004) | | Code hardening | All findings in plan-002-code-review.md to be addressed | --- ## Architecture After v3.x ### What Gets Installed ``` /usr/share/perl5/PVE/Storage/Custom/TrueNASPlugin.pm ← new custom storage plugin /usr/share/perl5/PVE/Storage/LunCmd/TrueNAS.pm ← API client (renamed + hardened) /usr/share/pve-manager/js/truenas-plugin.js ← standalone UI JS (NO pvemanagerlib patch) ``` ### What Gets Patched (minimal, stable) ``` /usr/share/pve-manager/index.html.tpl ← ONE LINE: add