Skip to content

Commit a0a8dcd

Browse files
committed
docs: add CLAUDE.md memory — always watch CI after opening a PR
1 parent 9bc01d2 commit a0a8dcd

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Project memory
2+
3+
Persistent instructions for AI agents working in this repository. This file is
4+
loaded automatically at the start of each session.
5+
6+
## Always watch CI after opening a PR
7+
8+
After creating **any** pull request, immediately subscribe to its CI/activity
9+
and follow it through to a result — do not consider the work done at "PR
10+
opened":
11+
12+
- Call `subscribe_pr_activity` for the new PR so CI failures and review
13+
comments are delivered into the session.
14+
- CI **failures** arrive as webhook events; CI **success** and your own pushes
15+
do **not**, so proactively re-check the PR's check runs
16+
(`pull_request_read``get_check_runs`) until they are green.
17+
- On failure, pull the failing job logs (`get_job_logs`), diagnose, fix, push,
18+
and re-check — repeat until green or genuinely blocked (then report).
19+
20+
The goal: never hand back a PR that is silently red.

0 commit comments

Comments
 (0)