POOLROTATER — NEW HOST SETUP / HANDOFF TO CLAUDE CODE OR CODEX Reviewed against the published v7.2.9 installer on 2026-10-22 UTC. Public copy: https://poolrotater.com/new-host.txt Give this entire document to your LLM on the machine that will run the bot. It is an installation guide/prompt, not an executable unattended installer. It contains no account credentials or enrollment invitation. MESSAGE TO THE ASSISTING LLM Help me install and enroll a PoolRotater community host. Work through the stages below, inspect each result, and explain anything I must do personally. Preserve unrelated services and any existing PoolRotater installation/state. Do not begin live room creation until account authorization, hub enrollment, room choices and the operator's readiness are established. Never work around failed ownership checks or invent enrollment credentials. Keep passwords, OAuth values, callback codes, bearer invitations and token files out of your transcript, command arguments, reports and GitHub. The commands below are PINNED TO v7.2.9. A later release needs its own matching asset, checksums, runtime digest and instructions. Do not mix a "latest" ZIP with the fixed hashes below. Existing hosts use their supported upgrade path, not this fresh-install command. Never reinstall to add a room or fix recovery. 1. WHAT HOSTING INVOLVES AND ITS LIMITATIONS - This runs automated osu! multiplayer rooms on your own hosting account and machine. You need to own/control that account and create/use your own osu! OAuth application. Account authorization requires your browser interaction. Papapyrus does not need your password, OAuth client secret or tokens. - Keep the hosting account out of simultaneous gameplay/client sessions while it is controlling rooms; account/referee sessions can interfere. Arrange gameplay testing with a different player account. Hosting does not grant special osu! bot-account status or increase the provider's room allowance. - Start with ONE room unless a different topology has been agreed. The default local ceiling is four concurrent rooms, also bounded by the provider allowance. Existing rooms on the same account and uncertain/pending creations matter. Four addressable slots does not mean four rooms must be opened. Only the local operator can raise the local ceiling; central staff cannot bypass it. - Supported presets: Standard Auto, Standard Fixed, native Standard Loved, Mania 4K, Mania 7K and native Catch. Taiko is not a shipped preset here. Loved is native Standard, fixed difficulty; do not promise Loved DT or converted variants without explicit catalog/runtime support. - The current protected installer REQUIRES Ubuntu 24.04, x86_64, system CPython 3.12 and systemd as PID 1. Debian, Windows/macOS, ARM/Raspberry Pi, Docker without systemd and other combinations are not supported targets for this installer. Do not bypass its platform or sandbox checks. - Managed network membership includes central room administration, shared map ratings and player statistics, staff-only redacted operational/chat reporting, and signed automatic updates. These are required participation features in v7.2.9, without separate in-product opt-outs. Central staff can change supported room settings and open/close/restart rooms within your local ceiling. This is scoped administration, not arbitrary remote shell. - Player activity and shared statistics can appear on the website. Staff receive diagnostic and chat reporting, including private-room diagnostics; credentials are scrubbed. Private room links, passwords, rosters and chat must not be published in public room panels. A private room is not exempt from the managed diagnostic/reporting policy. Understand this before joining. - Selection databases are finished, compact catalogs supplied by the owner; they are not multi-GB research/score databases. They include the data used for selection. Clients download them instead of collecting/analyzing maps. This does not distribute song audio to players; their game downloads maps. - Ratings capture, hub acceptance, statistics-cache refresh and website publication are separate stages and are not instantaneous. Enrollment alone is not proof that sharing, the website or Discord routing is healthy. - Not every update can be applied per room. Compatible worker updates can wait for individual empty rooms; shared-controller updates, including v7.2.9, use a safe host-wide empty/idle gate. Players/late joins can delay it. An intentionally closed room stays closed through updates and recovery. - Remote administration needs a connected host agent and acknowledged managed capabilities. It cannot control a powered-off/unreachable host or silently clear uncertain ownership. Preserve state and ask for scoped recovery. - Map PP projections need the separately supported .NET 8 runtime/calculator setup. The basic kit does not bundle that runtime; unavailable projections do not mean the selection catalog is incomplete. Do not promise every optional integration from a clean base installation. 2. MACHINE AND NETWORK REQUIREMENTS Required: Ubuntu 24.04 x86_64, /usr/bin/python3.12, systemd PID 1, sudo/root administration for installation, and an accurate clock/time synchronization. Use an ordinary operator login for interactive setup, with sudo when requested. Practical starting recommendation: 2 vCPU, 2 GiB RAM, a 20 GB or larger disk, and at least 10 GiB free before setup. These are recommendations, not a load guarantee. The installer preserves a five-GiB free-space reserve in addition to its own required space. Leave room for catalogs, updates, state and logs. VPSs, VMs and suitably configured systemd LXC/LXD containers can work. A privileged Proxmox LXC has been used, and another operator reports successful unprivileged LXD with nesting. That does not qualify every container/kernel: test the real systemd sandbox directives and report any refusal rather than weakening them. Root inside a container is still needed for the installation. Allow outbound DNS and HTTPS/WebSocket access to osu! and GitHub, plus the configured owner's public HTTPS services (currently TCP 9444 hub, 9445 catalogs, 9446 signed executable updates). Do not assume allowing TCP 443 alone is enough. The operator kits pin these services' CA/trust roots; never use curl -k or disable certificate validation. No LAN access is needed for the supplied central origins. No public inbound web listener/domain is required on the host. SSH access from your browser machine may be needed for the loopback OAuth tunnel. Record a safe platform summary before installing: OS/version; architecture; Python executable/version; systemd/PID 1; VM/container type and nesting; vCPU/RAM; free disk; outbound restrictions; whether another PoolRotater instance or owned osu! rooms already exist. 3. CHOOSE YOUR INITIAL ROOM(S) Ask me for the initial room type, public title, default star range and public versus private intent before installing. Recommend one public room first. Use only explicitly selected presets; do not silently open four defaults. Preset Type Shipped base star range standard-auto Standard, automatic 4.00–5.00 standard-fixed Standard, fixed 3.50–4.50 standard-loved Native Standard Loved, fixed 4.00–6.00 mania-4k Mania 4K, fixed 3.00–4.00 mania-7k Mania 7K, fixed 3.00–4.00 catch-fixed Native Catch, fixed 3.00–4.00 These are defaults, not required final ranges. Preserve the operator's selected titles/defaults. Player votes can temporarily alter effective difficulty. Default branding is already supplied; coordinate custom titles with Papapyrus. Do not manually edit protected identity/state to change topology or settings. v7.2.9 supports later in-place typed room changes and dormant-slot activation. A friends' room remains public unless explicitly configured private with a nonempty password. Confirm privacy and pass passwords only through protected local stdin or the approved private administration channel, never public chat, command arguments or reports. For a private-first setup, wait for the bound enrollment/configuration handoff before enabling any room-starting services. 4. DOWNLOAD AND VERIFY THE FRESH-INSTALL KIT Published release: https://github.com/Aves-Knoot/poolrotater-v7-pilot/releases/tag/v7.2.9 Use the installer ASSET, not GitHub's Source code ZIP. In a new private working directory, use Bash and download the pinned v7.2.9 archive: umask 077 mkdir -m 700 ~/poolrotater-setup-v729 cd ~/poolrotater-setup-v729 curl -fL --proto '=https' \ https://github.com/Aves-Knoot/poolrotater-v7-pilot/releases/download/v7.2.9/poolrotater-7.2.9-live-pilot.zip \ -o poolrotater-7.2.9-live-pilot.zip echo 'dc90aec9998753cba935604687ea7c9f7129df937d0d8f2675f7a9d22b860883 poolrotater-7.2.9-live-pilot.zip' | sha256sum -c - Inspect archive members, extract into a new directory, enter the directory containing install.py/runtime.zip/release.json, and run: sha256sum -c SHA256SUMS.txt Read README.md and LIVE_AUTHORIZATION.md from that kit. Some supplemental Loved/ Catch documents retain older version headings, hashes and path examples; do not copy those older install hashes into this v7.2.9 installation. The current managed guide supersedes the candidate labels in the original bundled copy: https://github.com/Aves-Knoot/poolrotater-v7-pilot/releases/download/v7.2.9/MANAGED_HOST_ADMIN.md If required utilities such as curl, unzip or ca-certificates are missing, install them through the host's normal package manager. Do not replace system Python, disable unit sandboxing or globally install the project with sudo pip. 5. INSTALL A NEW, UNUSED INSTANCE If any existing instance/state/owned room is found, STOP this fresh-install path and report it. A stopped or failed instance is not an unused installation. Use the accepted upgrade/enrollment workflow for that existing instance instead. For a fresh host, use instance first and the selected preset, for example Loved: sudo /usr/bin/python3.12 -I -S -B ./install.py --instance first \ --bundle ./runtime.zip \ --sha256 df4db5704d48ad8c967eb526bdd1ec7affd008756d62b2718d39b0f56705c03f \ --live-pilot --preset standard-loved Replace standard-loved with the agreed preset. For multiple AGREED initial rooms, repeat --preset within this ONE fresh install command, for example --preset standard-auto --preset mania-4k. Do not rerun installation afterwards with another preset list to expand the same instance. Installation does not authorize an account or create osu! rooms. Keep the installer's JSON result. Record its EXACT protected release path. For this version and instance it should be: pilot_instance=first pilot_release=/opt/poolrotater-v7-pilot/first/releases/v7.2.9-df4db5704d48ad8c pr() { sudo /usr/bin/python3.12 -I -S -B \ "$pilot_release/poolrotater_host/pilot_admin_entry.py" \ --instance "$pilot_instance" "$@" } pr check pr room-settings-status pr ratings-status Use the path actually returned by installation if it differs; investigate an unexpected digest/version before continuing. After an update, use its newly registered release entry rather than continuing with a stale path. Download the complete verified catalogs through the existing protected command: pr catalog-import --origin https://91.107.237.182:9445/ \ --ca-file "$PWD/ca.crt" \ --ca-sha256 60a0dac90855a1b0006062e9820c2144ba2240fc097cd685a6ca0b6fcb445f39 \ --trust-root "$PWD/bootstrap.json" \ --trust-sha256 2892f9fda822c2aade05fe5b28f354a57623b66555f75f2fb09fd4c0101f7a74 \ --mode standard --mode mania4 --mode mania7 --mode catch --mode loved Importing five supported catalogs does not open five rooms. Preserve the returned catalog set/content IDs and uncapped row counts. Compact MB-sized selection exports can still be full catalogs. Do not start collectors, scraping or analysis. Fresh v7.2.9 prepares ratings/activity storage. If preparation is incomplete, report the phase; do not blindly repeat stopped-only migration while agents run. 6. AUTHORIZE THE OPERATOR'S OWN ACCOUNT LOCALLY Ask me to create/use my own osu! OAuth application in my account settings. Its registered callback must exactly match: http://127.0.0.1:51111/oauth/callback In a real interactive terminal on the hosting machine, first authenticate sudo: sudo -v python3.12 -I -S -B ./configure_live.py --instance "$pilot_instance" \ --release "$pilot_release" --expected-user-id MY_NUMERIC_OSU_USER_ID \ --redirect-uri http://127.0.0.1:51111/oauth/callback Replace MY_NUMERIC_OSU_USER_ID with my numeric hosting account ID. The helper prompts privately for the OAuth client ID and secret. I must enter those myself; do not ask me to paste them into the LLM transcript. This step needs a terminal. When the browser is on another machine, keep this tunnel open there: ssh -N -L 127.0.0.1:51111:127.0.0.1:51111 LOGIN@HOST Then on the hosting machine: pr authorize --operator-mode ssh Open the authorization URL locally and complete the callback. Do not publish the URL/state/code. Do not expose port 51111 publicly. If browser and hosting machine are the same, use the supported local workflow from LIVE_AUTHORIZATION.md rather than creating an unnecessary public callback. Check token_phase:ready and correct expected account binding. Authorization alone does not create rooms; startup performs fresh identity/client/scope/ownership checks. start_allowed:false/live_ready:false can be conservative local-status labels; inspect next_action/recovery state instead of treating one boolean as proof of success or failure. Preserve uncertain OAuth exchanges for recovery. 7. SEND THE MAINTAINER THIS ENROLLMENT REQUEST — THEN WAIT FOR THE PRIVATE FILES Read ONLY the two identity UUIDs, not the whole state folder: sudo /usr/bin/python3.12 -I -S -B -c 'import json; v=json.load(open("/var/lib/poolrotater-v7-pilot/first/.poolrotater-host.json")); print(json.dumps({k:v[k] for k in ("installation_id","generation")}))' Adjust first only if a different instance was explicitly selected. Send this filled-in template privately to Papapyrus: Hosting account username: Numeric osu! account ID: Public operator label: OS / architecture / Python version / systemd PID 1: VPS, VM or container (type, nesting and any sandbox restrictions): vCPU / RAM / free disk: Outbound network restrictions, if any: Instance name: Installed version and full runtime SHA256: installation_id: ACTUAL_UUID (not a placeholder) generation: ACTUAL_UUID (not a placeholder) Authorization: ready / exact safe failure if not ready Requested initial room(s), presets, public titles and base star ranges: Public/private intent (do not include passwords here): Desired local maximum concurrent rooms (default four): Boot intent: should the saved running rooms resume after reboot? Catalog import result/content IDs/row counts: Existing rooms or instances on this account/machine: I understand managed membership includes central room administration, shared ratings/statistics, redacted operational/chat reporting and signed automatic updates. Public rooms/activity may appear on the website. Contact/availability for first-start feedback: The two UUIDs are required invitation bindings, not OAuth credentials. Do not send account passwords, client secrets, tokens, callback URLs/codes, raw pacing state, SSH passwords/private keys or a full installation archive. The maintainer does not need SSH access to issue an enrollment invitation. STOP HERE if no bound invitation is supplied. The maintainer issues a private, expiring download containing your network profile/CA, single-use invitation and exact instance-bound instructions. There is no universal public invitation. Do not reuse someone else's package or make up an operator_id/host_id. 8. COMPLETE ENROLLMENT AND PREPARE LIVE OPERATION Follow your private package's README, which takes precedence for the exact binding/version and any existing state. Verify its checksum/expiry and the installation UUIDs before use. Normal protected actions include: pr network-status pr network-configure < network-config.json pr network-enroll < enrollment.json pr network-status pr network-support If already enrolled, stop and return the existing host_id instead of resetting. For pending/uncertain enrollment, retain state and resolve the SAME operation with network-resume as documented. Do not loop enrollment or replace identities. The private instructions also cover the accepted sharing/update policy, bot unit preparation, independent network agent and signed update timer. v7.2.9's authenticated managed exchange establishes its contribution policy; we still verify the hub receipt. Configuration alone is not an accepted contribution. IMPORTANT: enabling the managed network/reconciliation services can bring saved intended-running rooms online, even without a separate later start command. Finish agreed settings/privacy and be ready for public operation before that stage. Install/enroll alone do not start rooms. Keep new private-first rooms closed until their explicit private configuration is accepted. Use pr unit to prepare a missing stopped bot unit, then the supported review/ network/unit/start order in your handoff. Do not regenerate an active unit. Capture support before startup. Run start only once if the controller is not already running and ownership/update admission permits it. If reconciliation already started it, inspect it instead. Never create duplicate rooms by retrying an uncertain start. Do not manually enable an old legacy pilot unit at boot. Managed v7.2.9 uses the independent network agent/reconciliation timer for boot and administration while preserving intentionally closed room intent. Verify the units and saved intent with your handoff; do not reboot occupied rooms just to test boot recovery. Stop a host through supported operator commands so the desired stop is saved; killing a process is not a deliberate room stop. Public website listing and community Discord assignment are centrally managed after accepted observations. You do not need a personal domain, a web server or the central Discord token. Owner Discord slots 1–4 are reserved; community slots are assigned without collisions. Do not copy owner IDs/token files or hard-code someone else's slot. A room link/settings receipt is stronger evidence than "service active" alone; private rooms must stay absent from public panels. 9. FIRST-RUN FEEDBACK — WHAT WE NEED BACK Return privately: - host_id, instance, installed version and full runtime digest. - Safe/redacted support, network-support, ratings-support, network-reporting-support, managed-status and update-status outputs. - Public room link(s), correct mode/title/base range and start time/time zone. For private rooms, send details only through the agreed private channel. - Whether the network agent, managed reconciliation and updater are healthy; confirm the requested boot behaviour and local capacity setting. - After several maps, brief results for joins/leaves, map progression, countdown/ready/AFK behaviour, .help, .good/.bad, skip and difficulty votes. - Exact safe failure_code/failed_operation/HTTP status, timestamps and relevant redacted traceback if anything fails. Say whether any room remains open. Do not run commands only to manufacture votes/statistics. Real gameplay is useful. The maintainer will independently check the directory/Discord routes and hub acceptance of ratings, player activity and diagnostics. "Sharing configured" and "event pending" are not proof of acceptance or website publication. After confirmed enrollment, remove the consumed downloaded invitation/archive from convenient working folders. Keep installed state/journals and incident evidence. If ownership/start/update is uncertain, retain everything, avoid repeated starts or ownership-clear, and report it. Do not reinstall as recovery. USEFUL PUBLIC LINKS Website/commands: https://poolrotater.com/commands Hosting overview: https://poolrotater.com/doku.php?id=guides:hosting Current reviewed release: https://github.com/Aves-Knoot/poolrotater-v7-pilot/releases/tag/v7.2.9 Published managed administration guide: https://github.com/Aves-Knoot/poolrotater-v7-pilot/releases/download/v7.2.9/MANAGED_HOST_ADMIN.md END OF NEW-HOST HANDOFF