yt-dlp warns that extraction without a JavaScript runtime is deprecated and
some formats are missing; Deno is its default runtime for that work.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Podman quadlets pass a quoted volume through with the quotes intact, so the
space in "YouTube Imports" became an invalid :z suffix and the bot would not
start.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
watch can now fetch songs MusicBrainz lacks, which needs ffmpeg and yt-dlp in
the Red image and a writable view of the shared music library. The folder sits
in the MediaOverflow library Jellyfin already indexes as /arrmedia.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
pip and git in the Red container (PIP_PROXY, git http.<github>.proxy) and
HTTPS in the daily update unit go through squid on the VPS end of yveltal's
wg-vps tunnel (10.77.0.1:3128). Discord, Lavalink, media-preload and Ollama
traffic is untouched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deb.debian.org is Fastly, which the home network reaches via a congested
NMSU -> CENIC -> Fastly path (~125 ms, ~60 KB/s); Leaseweb gives ~7 MB/s
and OCF Berkeley (which carries debian-security) ~3 MB/s. Both are build
args, so other hosts can keep deb.debian.org.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- dogebot.depcheck: find lib packages whose requirements Red's venv
shadows (Red appends Downloader's lib to sys.path). Catches the
2026-11-09 anyio/typing_extensions break; verified on the old lib.
- dogesetup.after_update: run it after provisioning and every cog
update, write the deps health record, dispatch dogebot_cogs_ready.
- dogebot.health: /data/health/<check>.json for the Kuma push script.
- cogs/selftest: after every cog update and on [p]selftest run, runs
watch search + watch status + alignment as the owner in the test
channel, renders a sample chart, and plays music at volume 0 in an
empty voice channel; reports to the channel and health.
- start.install_bundled_cogs ships every cog in cogs/; manifest loads
selftest last.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Downloader installs cog requirements with pip install -U -t lib, which
can't see Red's venv and picks the newest versions. Modules Red already
imported shadow them, so d!watch failed: anyio 4.16 (lib) needs
typing_extensions 4.16, Red pins 4.13.2 ("cannot import name 'sentinel'").
Freeze the venv into /app/constraints.txt and set PIP_CONSTRAINT.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yveltal already runs Ollama with better models, and ghcr.io (where the
llama.cpp images are) is very slow from this network. Red reaches it at
host.containers.internal:11434 with thinking turned off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
A hash of the manifest commands' payloads is kept in dogesetup's Config, so
new subcommands from a cog update reach Discord with one sync, and
unchanged starts still don't sync.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
dogebot-llm runs llama.cpp's CUDA server with Qwen2.5-7B-Instruct (Q4_K_M)
on the GPU with the most memory (the GTX 1080 on yveltal); install.sh
downloads and checks the model and skips all of it without NVIDIA. Red
gets ALIGNMENT_MODEL_URL for doge_alignment's alignment guess.
The Red image adds ImageMagick's Pango coder and Noto Color Emoji, pinned,
so names with emoji render in chart pictures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
The Red image gets libmagickwand and DejaVu fonts so doge_alignment can draw
charts. dogesetup now enables the manifest's SLASH_COMMANDS once their cog
has loaded, syncing with Discord only when something was newly enabled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
dogesetup now also installs `watch` from RustyRaptor/doge_cogs, which
preloads media through the home lab's media-preload service. Red gets
PRELOAD_API_URL (host.containers.internal, since the host's LAN IP is the
container itself on a rootless network) and PRELOAD_BOT_TOKEN from the new
dogebot-preload-token secret, which install.sh creates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
Adding a filter at interpreter startup created Red-Lavalink's logger before
Red set its logger class, so the logger lacked trace() and verbose() and
Audio could not connect. Wrapping the record factory touches no logger; a
test checks that importing the module creates none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
Red-Lavalink logs its connection headers, password included, every time
Audio connects. The Red image now imports dogebot.logfilter through a .pth
file at interpreter startup, which adds a filter to that logger.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
Red loads no cogs at all, not even --load-cogs, when the Python version it
last saw differs from the running one, which is always the case on a new
instance. dogesetup therefore never loaded on the first start. The entry
point now records the running Python in Red's config first, but only while
Downloader's lib folder is empty, so Red still handles real Python upgrades.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
- Red 3.5.24 (Postgres storage) with the dogesetup cog, which installs,
loads and daily updates the cogs listed in src/dogebot/manifest.py and
points Audio at our Lavalink
- Lavalink: Red's 3.7 build plus youtube-source (OAuth, TV/WEB clients) and
yt-cipher; dogebot-update builds new versions, smoke tests them next to
the live server and swaps them in with rollback, falling back from the
plugin release to its newest snapshot
- Rootless podman quadlets for Red, Lavalink, yt-cipher and Postgres, a daily
update timer, and deploy/install.sh
- mise for tools and tasks, uv for Python 3.11 and dependencies, ruff with
the lptn settings, ty type checking, 37 pytest tests including a contract
test for the Red internals dogesetup uses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L