feat: auto-merge and deploy self-heal patches that pass a live smoke test

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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-07 20:17:31 +02:00
1 parent d456081aac
commit 51cd5b1e40
7 files changed
+254 -16

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
"login": "tsx src/login.ts",
"login:prod": "node dist/login.js",
"selfheal": "bash scripts/selfheal.sh",
"smoke": "node --import tsx src/smoke.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "MEDIA_DIR=${TMPDIR:-/tmp}/chatgpt-imagegen-mcp-tests-$$ node --import tsx --test test/*.test.ts"
},