From 610bcc8e6c59cca13762360bd6337d00621aa72a Mon Sep 17 00:00:00 2001 From: Jackson Miller Date: Sun, 15 Nov 2026 00:42:09 -0500 Subject: [PATCH 1/2] t3code-giveback: a stopped-moved stop can come from a stale PR head Seen on 2026-11-15: the pipeline's own push reached our fork branch, the PR's head did not follow, and the pipeline stopped as if an outsider had pushed. The takeover rules now say how to check. Co-Authored-By: Claude Fable 5.2 --- skills/t3code-giveback/contributing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/skills/t3code-giveback/contributing.md b/skills/t3code-giveback/contributing.md index 456e721..a9b09f7 100644 --- a/skills/t3code-giveback/contributing.md +++ b/skills/t3code-giveback/contributing.md @@ -108,6 +108,7 @@ What we do: - **While a PR carries `takeover:in-progress` or `takeover:ready`, never push to its branch,** not even a mechanical rebase, and do not reply on it. A push from anyone else stops the pipeline. Check the labels before any push: `gh pr view -R pingdotgg/t3code --json labels`. - **After `takeover:blocked`, a closure by the pipeline, or a pipeline comment that asks for steps:** bring Jackson the reason and a proposed reply or fix. He approves it before anything goes up. +- **A `stopped-moved` stop is not always a real outside push.** On 2026-11-15 the pipeline pushed its merge of `main` to one of our fork branches, GitHub never moved the PR's head to that commit, and the pipeline then stopped with `factory:stopped-moved`, as if someone else had pushed. Before you accept such a stop, compare the fork branch's tip (`git ls-remote j5 refs/heads/`) with the PR's head (`gh pr view -R pingdotgg/t3code --json headRefOid`). If they differ, the PR's head is stale on GitHub's side. Bring Jackson both SHAs and what you propose. Push nothing to repair it without his say. - **`takeover:needs-julius` needs nothing from us.** The PR still holds one of our 3 slots until it merges or closes. - **Keep the PR body's evidence complete** (step 3). The pipeline captures its own, but its most common stop is that it could not prove the fix, and our before and after captures and platform notes may be what lets it. - The dashboard shows the label on the PR as GitHub has it. From df8c3415391a24cae7df7734624010ff1c24e774 Mon Sep 17 00:00:00 2001 From: Jackson Miller Date: Sun, 15 Nov 2026 16:37:46 -0500 Subject: [PATCH 2/2] t3code-giveback: replace a limit-closed PR, since it cannot be reopened Jackson's ruling: the replacement is not a new PR under his limits and counts as one post. Step 5 says how to open it: same branch, a first line linking the old PR, and maintainer edits on. Co-Authored-By: Claude Fable 5.2 --- skills/t3code-giveback/SKILL.md | 2 +- skills/t3code-giveback/contributing.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/skills/t3code-giveback/SKILL.md b/skills/t3code-giveback/SKILL.md index 869d052..4745839 100644 --- a/skills/t3code-giveback/SKILL.md +++ b/skills/t3code-giveback/SKILL.md @@ -23,7 +23,7 @@ This skill covers the context you need to perform giveback work from J5 Code to 6. **Keep the dashboard current in the same session** as the change it records: stage, links, asks, events. Another agent picks up from what the dashboard says, not from your memory. 7. **Stay within the posting limits.** They are Jackson's own, set on 2026-11-14, and he may change them. `giveback capacity` shows each count beside its limit. Check it before every post. The counts are read from GitHub and cover his whole account in the repository: every PR, issue, comment, review and discussion post, including ones made outside the agents. - **Open PRs:** never more than 3. Check `giveback capacity` and `gh pr list` before every PR. - - **New items:** at most 2 new PRs and 2 new issues in 7 days. A PR counts once, when it is created. Reopening one that the limit bot closed is not a new PR; it counts as one post in the totals below. + - **New items:** at most 2 new PRs and 2 new issues in 7 days. A PR counts once, when it is created. The replacement of a PR that the limit bot closed is not a new PR; it counts as one post in the totals below. - **All upstream posts together:** about 10 in 7 days, and no more than 3 in 24 hours. - **Per item:** comment only when there is something new, such as new evidence or an answer to a maintainer's question. No nudges and no pings. - **A post carries the one signature line** and nothing else of ours: no task IDs, worker names, UUIDs, HTML markers or per-reply banners. diff --git a/skills/t3code-giveback/contributing.md b/skills/t3code-giveback/contributing.md index a9b09f7..b2a75e3 100644 --- a/skills/t3code-giveback/contributing.md +++ b/skills/t3code-giveback/contributing.md @@ -60,7 +60,13 @@ Open a `text_approval` ask carrying the exact text. When he approves an issue's - Rebase onto the latest `origin/main` and re-run the focused tests. Before any push to the branch of a PR that is already open, check its labels: see the landing pipeline in step 6. - **Check the posting limits first** (standing rule 7): `giveback capacity` shows the posts of the last 24 hours and 7 days, and the new PRs and issues, each beside its limit. It counts from GitHub, so it includes posts no agent recorded. If `posts.source` is `events`, GitHub could not be read and the counts may be low: check his recent activity on GitHub yourself before posting. If this post would pass a limit, wait, and tell Jackson if it cannot wait. - **Then the open PR limit.** Run `gh pr list -R pingdotgg/t3code --author Jacksondr5 --state open`. If 3 are open, don't post: put the item in `held` with `waitingOn: pr_slot`, and tell the dispatcher. This is the one use of `held` that needs no `covering` or `base` link. -- **Waiting for a slot.** The dispatcher sets the item's `queueRank` in the order Jackson gives. A slot frees when one of our PRs merges or closes. The dispatcher learns that from the watcher, which tells it whenever one of our PRs closes or merges, and from its daily check. It then tells the agent of the first item in the queue, and that agent rebases, re-runs the focused tests, and opens its PR, or reopens the one the bot closed. Never open or reopen before the dispatcher says so. +- **Waiting for a slot.** The dispatcher sets the item's `queueRank` in the order Jackson gives. A slot frees when one of our PRs merges or closes. The dispatcher learns that from the watcher, which tells it whenever one of our PRs closes or merges, and from its daily check. It then tells the agent of the first item in the queue, and that agent rebases, re-runs the focused tests, and opens its PR. Never open one before the dispatcher says so. +- **A PR the limit bot closed cannot be reopened by us.** Open a replacement PR in its place: + - from the same branch, rebased onto `main`; + - with a body that starts with one line linking the old PR, such as "Replaces #36959, which the open PR limit closed." That line is part of the text Jackson approves; + - with **"Allow edits by maintainers" on** (`gh pr create` sets it unless told `--no-maintainer-edit`). The landing pipeline pushes to our branch, and a PR it cannot push to gets replaced by one of its own. + - On the dashboard, the new PR becomes the item's `primary` link and the old one stays as `related`. + - A replacement is not a new PR under Jackson's limits. It counts as one post in the 24-hour and 7-day totals. The dashboard recognises it by the branch: the PR just before it on the same head branch was closed by the limit bot as it opened. So keep the branch name. - Open the PR: `gh pr create -R pingdotgg/t3code --head Jacksondr5:`. An issue is filed differently: see "Filing an issue" below. - In the same session: - set the item's `primary` link (`ownership: ours`) and stage `offered`;