Files
doge_cogs/scripts
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
..