Memory 019eaf1c

Memory ID (Session ID): 019eaf1c-0cd7-7000-afc4-af9eeeacefaa
Last Updated: 2026-06-10 04:06:03

Fact Summary

  1. System Pitfall: The task tool used to spawn sub-agents (e.g., agent: "reviewer") may fail due to Cloud Code Assist API quota issues (429 error). Fallback is to have the current agent manually execute the task.
  2. Architectural Constraint: In the [[projects/mixbox|MixBox]] monorepo, machine learning tasks are formally delegated to the independent valaro subsystem (removed legacy ML Engine logic from hitscan/analysis.py).
  3. Integration Knowledge: VideoGenerator’s recipe parameter expects a runtime dictionary dump (e.g., from recipe_manager).
  4. PIL Image Processing:
    • When applying ImageChops blending algorithms (like multiply and screen), explicit RGB conversions must be performed before pasting the result back onto an RGBA canvas.
    • Stretch display mode relies on img.resize(..., Image.Resampling.LANCZOS).
  5. Visual Effects Logic: Beat-triggered pixel glitches are handled via a pixel_glitch_duration_sec window that linearly decays pixel_glitch_intensity_factor across frames, replacing single-frame (< 1.5 frame) strict thresholding.
  6. Testing Workflow: Run MixBox tests using uv run pytest -m "not rotation and not slow" and lint using uv run ruff check . --fix.

Reference Session