Repository navigation
The PC after the move: agent-only tray, a refused second Curatarr, the runbook - #206
Merged
Merged
Conversation
…e runbook
Step 6 of the NAS move.
- PC_AGENT_ONLY (config): once Curatarr runs on the NAS, the PC's tray runs
only the agent (tray_app._agent_only): no server, no database, no
scheduler. "Open Curatarr" opens PC_AGENT_NOTIFY_URL; logoff, shutdown
and Quit announce the goodbye first through the existing end-session
hook. It warns when this PC's Ollama does not answer, because the NAS
needs it. The branch comes before the port check.
- src/main.py lifespan refuses to start with PC_AGENT_ONLY set, before
the Syncthing guard or the database open. A start.bat run out of habit
would otherwise sync the same Plex and arrs twice.
- docs/NAS_MOVE.md, generic and with no real addresses:
- before the move: record the embedding weights, the NAS Ollama server
env from --suggest, the PC's Ollama on the LAN, firewall rules for the
NAS only
- the move: a clean stop, a kept copy, data/ and .env into the volume,
the .env keys to change, the PC's agent-only .env,
build_models --host main and --check (must say the embedding weights
match), log and chat checks with and without the PC, the proxy
- rollback
New tests/test_agent_only.py (12 checks).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 6 of the NAS move.
PC_AGENT_ONLY. Once Curatarr runs on the NAS, the PC's tray runs only the agent (tray_app._agent_only).PC_AGENT_NOTIFY_URL(the NAS).src/main.pylifespan refuses to start withPC_AGENT_ONLYset, before the Syncthing guard or the database open. Astart.batrun out of habit on that PC would otherwise sync the same Plex and arrs twice.docs/NAS_MOVE.mdis generic, with placeholders and no real addresses.--suggest; put the PC's Ollama on the LAN; add firewall rules for the NAS only.data/and.envdata/and.envinto the volume (chown 568).envkeys to change, and the PC's agent-only.envbuild_models --host main, then--check, which must report matching embedding weightsTests: new
tests/test_agent_only.py(12 checks). It boots the real lifespan with the flag set and expectsSystemExitbefore anything opens. It also checks the agent-only branch (no uvicorn or DB, goodbye before stop, opens the NAS, Ollama warning) and the runbook's order and placeholders. The full battery is green (227/227).🤖 Generated with Claude Code