Plan
Governs execution of Plans/v5-0-0-is-a-major-keen-wall.md.
Goal
Migrate PAI execution from marrair to marrmini. Backup marrmini's existing
PAI state, decommission, do a clean v5.0.0 install via upstream's official
installer. Snapshot both runtimes (marrair live, marrmini fresh v5.0.0).
Generate comparison report and v5.0.0+ port design doc.
No code is ported in this issue. Output is evidence + plan. Follow-up
issues governed by Plans/v5-0-0-plus-port.md (generated in step 11)
execute the actual ports.
Decisions Locked
| Question |
Decision |
| Snapshot scope |
Both ~/.pai/ and ~/.claude/ in full |
| Snapshot location |
~/backups/pai/runtime-<host>-<timestamp>/ (local on each machine, NOT in git) |
| Comparison report + inventories |
reports/v5-comparison/ (in-repo, committed) |
| v4.0.3+ freeze mechanics |
FROZEN.md marker + v4.0.3+-final tag, leave files in place |
| Output |
Design doc only at Plans/v5-0-0-plus-port.md (no porting yet) |
| Install source on marrmini |
Upstream's official installer (vanilla v5.0.0 baseline) |
Repo posture re: Releases/v5.0.0/ import |
Skip — live marrmini install is canonical |
| Fork clone on marrmini |
Required; cloned to marrmini:~/projects/pai/ |
| marrair clone |
Archived (marrair-final tag + ARCHIVED-marrair.md); not deleted |
| marrair PAI lifecycle |
Keep running through port; decommission only after design-doc ports validate |
Playbook (track progress here)
Status (2026-05-10)
Playbook complete. Follow-up port work tracked on virtualian/pai-v5
(issues #1, #2 OPEN; #3 CLOSED won't-do). Overlay audit findings in
reports/v5-comparison/v5-overlay-audit.md (one drift: SecurityValidator
in overlay scaffold predates PR #170 demotion; cleanup deferred to a
follow-up issue on virtualian/pai-v5, gated on a Phase-B trial probe).
Detailed status snapshot in design doc's "Progress / Status" section.
Approval Gates
Two destructive operations require explicit approval at execution time
(not pre-authorized by issue/plan approval):
- Step 5 — Decommission existing PAI dirs on marrmini (recursive removal of installed PAI state)
- Step 7 — Run upstream's network-fetched installer on marrmini
Out of Scope (Follow-up Issues)
- Actual porting of fork architecture (SecurityValidator, two-root,
AskUserQuestion contract, Voice removal, Learning standalone pack) —
governed by Plans/v5-0-0-plus-port.md after step 11
- README posture decision (separate design conversation)
- Cherry-picks of upstream
12265ed, 698b15f, 6e0bcc3 — design doc decides
- marrair PAI decommission — criteria in design doc; happens later
- Submitting fork architecture as upstream PRs — explicitly declined
Verification (end-to-end gates before opening PR)
- All backups exist on BOTH machines (mirror) per plan
- marrair PAI runtime untouched:
Tools/verify-security-validator.sh PASS=8 FAIL=0
- marrmini v5.0.0 install operational
Releases/v4.0.3+/ frozen with marker + tag
- marrair clone archived:
marrair-final tag + ARCHIVED-marrair.md
- Comparison report has 8 per-area prose sections + categorised inventory
- Design doc has HIGH/MED/LOW port priorities + path strategy + marrair decommission criteria
scan-log.txt committed, no raw secret values
References
- Plan:
Plans/v5-0-0-is-a-major-keen-wall.md
- Existing tooling reused:
Tools/UpstreamScan.ts, Tools/verify-security-validator.sh, .pai-protected.json
- Upstream v5.0.0 reference:
danielmiessler/Personal_AI_Infrastructure@upstream/main
Plan
Governs execution of
Plans/v5-0-0-is-a-major-keen-wall.md.Goal
Migrate PAI execution from marrair to marrmini. Backup marrmini's existing
PAI state, decommission, do a clean v5.0.0 install via upstream's official
installer. Snapshot both runtimes (marrair live, marrmini fresh v5.0.0).
Generate comparison report and v5.0.0+ port design doc.
No code is ported in this issue. Output is evidence + plan. Follow-up
issues governed by
Plans/v5-0-0-plus-port.md(generated in step 11)execute the actual ports.
Decisions Locked
~/.pai/and~/.claude/in full~/backups/pai/runtime-<host>-<timestamp>/(local on each machine, NOT in git)reports/v5-comparison/(in-repo, committed)FROZEN.mdmarker +v4.0.3+-finaltag, leave files in placePlans/v5-0-0-plus-port.md(no porting yet)Releases/v5.0.0/importmarrmini:~/projects/pai/marrair-finaltag +ARCHIVED-marrair.md); not deletedPlaybook (track progress here)
pre-v5-baseline-shifton marrair — tag presentsync/v5-baseline-shifton marrair — merged via PR Sync v5.0.0 baseline + design doc (#166) #167~/backups/pai/runtime-marrair-20260508-002618/reports/v5-comparison/scan-log.txt~/backups/pai/marrmini-pre-v5-20260508-002618/marrmini:~/projects/pai/, archive marrair clone —marrair-finaltag~/backups/pai/marrmini-fresh-v5.0.0-20260508-021422/Releases/v4.0.3+/(FROZEN.md+v4.0.3+-finaltag) — tag presentPlans/v5-0-0-plus-port.md(PR Sync v5.0.0 baseline + design doc (#166) #167; refined via PR Refine v5.0.0+ port design: demote SecurityValidator, refresh Learning scope #170)sync/v5-baseline-shift→main— PR Sync v5.0.0 baseline + design doc (#166) #167 merged 2026-05-09, PR Refine v5.0.0+ port design: demote SecurityValidator, refresh Learning scope #170 merged 2026-05-10Status (2026-05-10)
Playbook complete. Follow-up port work tracked on
virtualian/pai-v5(issues #1, #2 OPEN; #3 CLOSED won't-do). Overlay audit findings in
reports/v5-comparison/v5-overlay-audit.md(one drift: SecurityValidatorin overlay scaffold predates PR #170 demotion; cleanup deferred to a
follow-up issue on
virtualian/pai-v5, gated on a Phase-B trial probe).Detailed status snapshot in design doc's "Progress / Status" section.
Approval Gates
Two destructive operations require explicit approval at execution time
(not pre-authorized by issue/plan approval):
Out of Scope (Follow-up Issues)
AskUserQuestion contract, Voice removal, Learning standalone pack) —
governed by
Plans/v5-0-0-plus-port.mdafter step 1112265ed,698b15f,6e0bcc3— design doc decidesVerification (end-to-end gates before opening PR)
Tools/verify-security-validator.shPASS=8 FAIL=0Releases/v4.0.3+/frozen with marker + tagmarrair-finaltag +ARCHIVED-marrair.mdscan-log.txtcommitted, no raw secret valuesReferences
Plans/v5-0-0-is-a-major-keen-wall.mdTools/UpstreamScan.ts,Tools/verify-security-validator.sh,.pai-protected.jsondanielmiessler/Personal_AI_Infrastructure@upstream/main