4 Commits
Author SHA1 Message Date
Ziad ArafatandClaude Opus 5.5 b390b7d392 test-container: download through the home lab's VPS proxy
DOGEBOT_PROXY (default http://10.77.0.1:3128, empty disables) is passed to
uv and pip inside the Red image; the home network reaches PyPI at ~30 KB/s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:26:41 -07:00
Ziad ArafatandClaude Opus 5.5 95d3b87610 Test the watch cog over real HTTP; test-container installs like Red; TDD rules
- tests/test_watch_cog.py + watch_helpers.py: the watch cog against a fake
  media-preload on a real socket (spec-shaped JSON, bearer token), so the
  generated client, httpx, httpcore and anyio all run. 21 tests; checked
  against six mutations of watch.py, each caught.
- scripts/test-container.sh installs cog requirements the way Red's
  Downloader does (pip -t lib, image's PIP_CONSTRAINT, lib appended after
  the venv via DOGE_COGS_LIB). On the pre-constraint image 20 watch tests
  fail with the 2026-11-09 production error; on the current image all pass.
- test_alignment_isolation: discover every core module instead of a hand
  list that had missed guess, render, baseline, sampling and others.
- TESTING.md (the loop, good tests, layers) and CLAUDE.md for agents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:42:47 -07:00
Ziad ArafatandClaude Opus 5.5 027f11c90f doge_alignment: server baseline, per-person time zones, profile hints
Guesses now see what's normal on the server: a weekly cached baseline from
24 random moments in the public channels (per-regular style numbers, message
shares, and a model-written culture summary from anonymised conversations),
and how the person compares with the regulars. `alignment baseline` rebuilds
and shows it; ALIGNMENT_BASELINE=off turns it off.

Each person's time zone comes from aikaterna's timezone cog (read from its
Config); Mountain Time otherwise. The dossier adds nickname, custom status
and roles, since bots can't read the About me bio.

scripts/experiments holds the harnesses and results: the baseline moved
Chaotic Neutral from 9/10 to 8/10; per-axis scores didn't repeat between
identical asks, so relative ranking of scores was dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
2026-11-06 18:23:15 -07:00
Ziad ArafatandClaude Opus 5.5 b33c060587 Add mise run test-container; pin Wand to the bot's 0.7.2
test-container runs the suite inside dogebot's Red image on yveltal, with
its ImageMagick 6, fonts and the cogs' info.json requirements, and is part
of mise run check. It fails on the copy_alpha bug that reached the bot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
2026-11-05 12:21:16 -07:00