From a0a8dcd04e23079338634cc7e750a549338872a6 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 5 Jun 2026 21:13:52 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20add=20CLAUDE.md=20memory=20=E2=80=94=20?= =?UTF-8?q?always=20watch=20CI=20after=20opening=20a=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..84e7f579 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,20 @@ +# Project memory + +Persistent instructions for AI agents working in this repository. This file is +loaded automatically at the start of each session. + +## Always watch CI after opening a PR + +After creating **any** pull request, immediately subscribe to its CI/activity +and follow it through to a result — do not consider the work done at "PR +opened": + +- Call `subscribe_pr_activity` for the new PR so CI failures and review + comments are delivered into the session. +- CI **failures** arrive as webhook events; CI **success** and your own pushes + do **not**, so proactively re-check the PR's check runs + (`pull_request_read` → `get_check_runs`) until they are green. +- On failure, pull the failing job logs (`get_job_logs`), diagnose, fix, push, + and re-check — repeat until green or genuinely blocked (then report). + +The goal: never hand back a PR that is silently red.