Take the image baseline after attaching references so composer thumbnails
are excluded, and reject downloads byte-identical to a reference so the
job is retried in a fresh chat.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
xvfb-run's readiness check waits for Xvfb to send SIGUSR1, which this
build never does — it hangs forever even though the X11 socket comes
up fine. Starting Xvfb directly with a short fixed sleep is more
reliable here.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The patched code must generate a real image on chatgpt.com (src/smoke.ts)
before the PR is squash-merged and scripts/update.sh deploys it. Patches
failing the live check stay as open PRs. The self-heal state and cooldown
are restored from the log after the service restart.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After SELFHEAL_FAILURE_THRESHOLD consecutive UI_CHANGED/TURN_TIMED_OUT
failures the queue snapshots the logged-in profile and runs
scripts/selfheal.sh: codex exec in yolo mode on a throwaway clone, with a
Playwright + playwright-stealth inspector to study the live frontend.
Changes are limited to src/chatgpt and test fixtures, must pass typecheck
and tests, and are pushed as a pull request for human review.
Disabled by default (SELFHEAL_ENABLED).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Timeouts, UI glitches, text-only replies and browser errors get up to
CHATGPT_RETRIES extra attempts with a growing pause; a crashed browser is
relaunched. Usage limits, lost sessions and refusals still fail at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port of ZenvairoProspect's imagegen (legacy/whatsapp-mockup) to the
ZenvairoMediaGenerator-MCP submit+poll contract: persistent logged-in
Chromium profile, selector fallback lists, serial queue with pacing and a
circuit breaker for usage limits and lost sessions, signed public URLs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>