feat(romhacks): automated hand-off — route downloads to RomM + library, render notes

handoff.py classifies completed downloads (console rom vs RPG-Maker fangame vs
patch, via bsdtar archive peek incl. RAR5), copies console roms into
Emulation/roms/<platform> for RomM, moves the full folder (rom + guides) into
the library archive, and renders note.md + handoff.json per hack for the
Obsidian publish step. Wired into the cycle; single /data mount keeps moves as
fast renames. Validated on 4 real games.
This commit is contained in:
ginnoir
2026-06-07 20:25:30 -05:00
parent 328b5df776
commit 1360a8fa65
5 changed files with 268 additions and 3 deletions
+3
View File
@@ -17,6 +17,9 @@ GUILD_ID=1474050123347525652
# downloads. Inspect /storage1/labdata/romhacks/metadata first.
# DRY_RUN=false => write .crawljob files so JDownloader starts fetching.
DRY_RUN=false
# HANDOFF_DRY=false => route completed downloads into the library + RomM and
# render per-hack notes. true => classify/preview only, move nothing.
HANDOFF_DRY=false
# Seconds between harvest cycles (21600 = 6h).
POLL_INTERVAL=21600
# JDownloader in-container download root (maps to /storage1/labdata/romhacks/incoming).