Repository navigation
docs(agents): replace review-pr and babysit with the global skills - #613
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
9acf719 to
a52e8f4
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
17931c6 to
761c457
Compare
|
@codex review |
be61a6b to
02c9a2c
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
02c9a2c to
dea81c4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dea81c463a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
b1e27e4 to
6e983f3
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
lastCode kept its own `review-pr` and `babysit` skills, which had drifted from the copies in other projects. Global `review-loop` and `babysit` skills, installed from the owner's dotfiles (https://redirect.github.com/lastobelus/lasto-env/pull/29), now replace them. This removes both project skills. `babysit`'s lastCode-specific rules move into `lastcode-pr` "Babysit and Merge": the gate check's attention reasons, quiet-deadline handback, Quick CI receipt identity, merged-tree verification, the no-Full-CI rule for ordinary PRs, and keeping Intel builds separate. AGENTS.md folds the old "When babysitting" bullet into the PR watch rule and records that the saved `Wait for PR` Action is retired. `implement-plan` runs its review rounds through `review-loop`, keeping its light/heavy/N-round depth words. The release doc's `#wait-for-remote-gates` link and the two quiet-deadline eval cases now point at `lastcode-pr`, where that guidance lives. Claude Opus 5.5 in Claude Code (T3 Code). Carry-Group: incubator Carry-Observation: Deletes and rewrites agent guidance whose latest text incubator owns (pull request watch ownership from https://redirect.github.com/lastobelus/lastCode/pull/611), so it replays after that group. Co-Authored-By: Claude <[email protected]>
`vp check` requires a blank line before item 5 now that item 4 has several paragraphs. Carry-Group: incubator Co-Authored-By: Claude <[email protected]>
`pnpm lastcode:pr-gates` installs the workspace dependencies before it runs. `lastcode-pr` now says to take the `babysit` snapshot with `gh` in a checkout without them, instead of installing just for the gate. Carry-Group: incubator Co-Authored-By: Claude <[email protected]>
…ions Without the gate check, the `gh` snapshot alone would not surface `review-stalled` or `ci-not-registered`. The fallback now says to judge the attention reasons listed below it from the snapshot. Carry-Group: incubator Co-Authored-By: Claude <[email protected]>
|
@codex review |
6e983f3 to
9e25348
Compare
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
When a same-base carry replay conflicts, carry CI only said "Reconcile the source contributions with their owning groups". The agent then had to search `git log` for the later carry group that changed the same lines. The #613 landing hit this, and its fix turned out to be a trailer change. ## Fix When `compileCarrySetSameBase` stops on a conflict, it now diagnoses it: - **Which commits caused it.** It blames the stopped commit's old-side hunk lines (widened by one, since Git conflicts on adjacent changes) at its parent, and maps those lines to later-group replay items: compiled group commits, live source commits, and lines in a merged squash re-blamed inside its retained source range. If blame maps to nothing, it falls back to any later-group change to the file and says so. - **What it names.** The conflicting files; the replayed commit and its group; the later commits and groups that changed those lines; any files nothing explains; and the likely fix. The fix retags to the latest such group or splits the commit, and names later commits that need the same move. - **Where the advice shows.** The shared `CarryReplayConflictError` message carries only the diagnosis, after the git output, because on the checkpoint and `carry-set` paths the stopped commit is merged history. Carry CI renders the retag-or-split advice. - **When it stays silent.** The rebase state and replay plan are left in place. A conflict the diagnosis can't explain, a cross-base compilation, or a failure inside the diagnosis surfaces the original error unchanged. Example, from real lastCode history with #613's four commits all tagged `tooling`: ``` Carry replay conflicted in .agents/skills/babysit/SKILL.md, … while replaying fccbbd10cf8c "docs(agents): replace review-pr and babysit with the global skills" (Carry-Group: tooling). These commits in later carry groups changed those lines earlier in history, so the replay has not applied them yet: - compiled build-ci group commit 17b056a: … - compiled resumable-actions group commit 2db86d2: … - compiled incubator group commit 761c457: … Likely fix: retag fccbbd10cf8c's Carry-Group to incubator so it replays after them, or split … These later commits also edit those files and would still replay before incubator; move them the same way: - 8e51a587a792 "style(agents): separate the multi-paragraph lastcode-pr list item" (Carry-Group: tooling) - … ``` `incubator` is what #613 landed as. ## Proof - New carry CI tests cover four cases: multiple later groups; the conflicting-lines group beating a later group that edited another hunk of the same file, with followers only from groups that need moving; squash lines traced to their source commit; and deletion-partition labels. Each fails against the earlier code. - On real history: - A `tooling` edit to an AGENTS.md line last changed by `build-ci` now recommends `build-ci`. File-level attribution said `incubator`. - The #613 case above went from 45 listed commits to 3. - A failing run takes 20–28 s. - `vp run check:changed origin/lastcode/main` passes, and this branch's own carry CI validates. Local review: 3 rounds with gpt-6.1-terra (xhigh) & claude-opus-5-5 (xhigh), not clean. churn-gate judged MEDIUM (converging). Its cut was applied, then one narrow Terra verification pass: 1 should fixed, 1 declined. Claude Opus 5.5 in Claude Code (T3 Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Carry-Source-Ref: refs/lastcode/carry-sources/pr-633/1b1ae1601eebc9502f5e498cdf8176999a9a9794 Carry-Source-Base: a101aa8 Carry-Source-Head: 1b1ae16
… path (#646) `scripts/lastcode-checkpoint.ts` let checkpoint recovery ignore `.agents/skills/babysit` when it checks a retained worktree for unexpected ignored files. The path existed for the skill links agent-contexts used to inject into lastCode checkouts. That injection is gone (agent-contexts #12), and lastCode no longer tracks a `babysit` skill (#613), so the exception is dead. This removes it. Proof: - No other file references the path (scripts, tests, docs, `.gitignore`, `t3.json`, Project Actions, skills). - `vp run check:changed origin/lastcode/main` passes, including `scripts/lastcode-checkpoint.test.ts`. - Carry CI validates the `tooling` trailer locally. Local review: 1 round with gpt-6.1-terra (xhigh), approved. Claude Opus 5.5 in Claude Code (T3 Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Carry-Source-Ref: refs/lastcode/carry-sources/pr-646/4f2d864e225bb1a47e0e7c19afdb09032b3e4a5c Carry-Source-Base: 365c8ec Carry-Source-Head: 4f2d864
lastCode kept its own
review-prandbabysitskills, which had drifted from the copies in other projects. Globalreview-loop,babysitand related skills are now installed from the owner's dotfiles (lasto-env #29). This PR removes the two project skills and moves lastCode's own landing rules to where the global skills read them.Merge order: merge right after lasto-env #29, back to back.
What changes
Removed:
.agents/skills/review-pr/and.agents/skills/babysit/(.claude/skillsis a symlink to.agents/skills, so both entries go).lastcode-pr"Babysit and Merge" takes over the lastCode-specific babysit rules the global skill can't know:attentionreasons (observation-failed,mergeability-unknown,review-stalled,ci-not-registered);Its
#wait-for-remote-gateslink now names the globalbabysitskill's Wait section.lastcode-prgate check:pnpm lastcode:pr-gatesneeds a checkout with dependencies installed, becausepnpminstalls them first. Without one, the agent takes thebabysitsnapshot withgh, judges theattentionreasons from it, and doesn't install dependencies just for the gate.AGENTS.md: the old "When babysitting" bullet is folded into the PR watch rule, which now also records that the saved
Wait for PRAction is retired (refactor(lastcode): retire the Wait for PR action in favor of native PR watches #419). Local Reviews (:194) is unchanged.implement-planruns its review rounds throughreview-loop, and keeps itslight/heavy/N-round depth words. Its ordered review lenses go away; a separate eval is still measuring whether lenses earn their cost.docs/lastcode/release.md: the#wait-for-remote-gateslink now points tolastcode-pr#babysit-and-merge.Evals:
evals/mcp-tool-use/cases/pull-requests.ndjsoncasesquiet-watch-stalled-review-handbackandquiet-watch-pending-gates-handbackread.agents/skills/babysit/SKILL.mdas context. They now readlastcode-pr/SKILL.md, where that guidance moved. Their assertions are unchanged.Left alone:
scripts/lastcode-checkpoint.ts:452(ignored recovery path.agents/skills/babysit): harmless once the directory is gone; removing it is a follow-up._references/external-review-mechanics.mdandstacked-pr-babysit.md: still used bylastcode-pr,review-plan,import-upstream-prand the release docs.Skill injection resolved
The repository's external git hook used to symlink an older
babysitskill into any checkout that didn't track one. agent-contexts #12 removed that injection, so landing this PR no longer brings the old skill back.Checks
git grepfinds no remaining links toskills/review-pr,skills/babysitor#wait-for-remote-gates. The only remaining mention isscripts/lastcode-checkpoint.ts:452, above.Claude Opus 5.5 in Claude Code (T3 Code).