Files
app-catalog-felhom.eu/REPORT.md
T

4.7 KiB

REPORT — RomM finds its games · Ghost does not lock the household out (2026-10-16)

The task also had a hub part (the floor refuses withdrawn controller builds, hub v0.155.0); that report is felhom.eu REPORT-romm-ghost-tags-2026-10-16.md. Design read: felhom.eu architecture/09-update-architecture.md (decision 4 — template corrections reach installed apps), 07-backup-architecture.md (RomM's optional legs), 02-controller-module-map.md (app e-mail, smtp_mapping). Evidence: felhom.eu documentation/audits/romm-ghost-2026-10-16/.

1. RomM (R-1089)

  • Measured first (A1, demo-hp 9201): a dummy file at the drive's roms/gba/ — where the first steps said — gave „No platforms found”, 0 games. The same file at roms/roms/gba/ was found. RomM 5.3.1 reads library/roms/<platform>/; the drive's roms/ was mounted as library/ itself.
  • Changed: ${USERDATA_PATH}/roms:/romm/library/roms, and a second drive folder roms-bios → library/bios for firmware (operator ruling today: it stays on the drive and in the backup, as it was inside roms/). backup and data_paths gain roms-bios. First steps: the „change the password in Settings” step dropped, the scan step names the profile menu's „Scan”, one BIOS step added. The compose header's stale admin / admin replaced.
  • Scenario A (fresh install, new template): the file at roms/gba/ is found as a gba game. Pass.
  • Scenario B (install made with the OLD template, then the correction + a restart): the file placed per the old steps is now found; nothing on the drive moved (same files, same bytes); the data tab lists roms and roms-bios, both „a backup is made”. Pass. A game uploaded through RomM under the OLD mapping (it lands in roms/roms/<platform>/) shows as missing in its platform and again under a fake platform „roms” — see §3.
  • BIOS: a dummy file at roms-bios/psx/ is read as psx firmware (scanned_firmware 1).
  • Who runs RomM (hub /apps/romm, read only): demo-felhom (the N100) and demo-hp. No customer box.

2. Ghost (R-1090)

  • Measured first (C1): Ghost 6.67.0 skips the e-mailed code only on a user's very first sign-in (api/endpoints/session.js:27). The next new device got 500 „Failed to send email”: locked out.
  • Changed: compose security__staffDeviceVerification=${GHOST_STAFF_DEVICE_VERIFICATION:-false} plus the mail settings (empty unless injected); a new smtp_mapping (plaintext shim listener, like cal.com) that turns the mail AND the check on with app e-mail. One FAQ entry (55 labels checked, 0 missing; checked_version unchanged).
  • Scenario E, app e-mail off: a new device signs in with the password alone (201). Pass.
  • Scenario E, app e-mail on: a new device gets 403 2FA_NEW_DEVICE_DETECTED; the shim relayed the mail (hub 200); it arrived in the catch-all mailbox; the code from it was accepted (200) and the device was signed in. Pass.

3. Readings and decisions

  1. The RomM already on 9201 was broken (its Redis files damaged since the 2026-09-24 disk-full; the box stopped it at every start). Operator ruling: remove it through the dashboard, keep the drive folder, test on a fresh install.
  2. The BIOS folder: operator ruling (new drive folder, not RomM's internal storage).
  3. No guide FAQ line for RomM uploads made under the old mapping — the task asked for one if a rescan is needed. Not followed because a rescan does not fix it (the files must move up one folder), and no customer box runs RomM; the one box that may hold such files (the N100) is in STATUS for the operator instead.
  4. pytest is not installed here; the 12 test files were run directly (each has its own runner).

4. Also changed

  • scripts/box_walk.py: a deploy value the caller passes (e.g. HDD_PATH) no longer makes a drive folder first. Today it made two empty folders on 9201 (removed). Small; fixed, not filed. Checked both ways with stand-in calls.

5. Did it work

Catalog gates (--fast) and all 12 test files green before each push. volume-persistence (full run) refused to start on DooPlex (not a scratch host) and was not run; the mount change was proven on the box instead (Scenarios A and B). Catalog commits: fb18471 (RomM + Ghost), this one (report + walk fix).

Teardown on 9201: RomM and Ghost removed (Ghost with its data; RomM keeping the drive folder, which is as found — my test files deleted by name). App e-mail back to OFF, as found. Left on purpose: two kept/romm/<date>/ folders, the product's own „start fresh” result (8 KB cover cache). docker ps before/after in the evidence: same containers; the only change is the controller image 0.318.0 → 0.319.0-rc.1, made by another session during the test.