Skip to content

docs(agents): replace review-pr and babysit with the global skills - #613

Merged
lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/retire-review-pr
Nov 8, 2026
Merged

lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/retire-review-pr

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

lastCode kept its own review-pr and babysit skills, which had drifted from the copies in other projects. Global review-loop, babysit and 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/skills is 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:

    • the gate check's attention reasons (observation-failed, mergeability-unknown, review-stalled, ci-not-registered);
    • quiet-deadline handback;
    • Quick CI checkout and receipt identity;
    • verifying that the merged tree matches the reviewed head;
    • no Full CI for ordinary PRs;
    • Intel builds only on a separate request.

    Its #wait-for-remote-gates link now names the global babysit skill's Wait section.

  • lastcode-pr gate check: pnpm lastcode:pr-gates needs a checkout with dependencies installed, because pnpm installs them first. Without one, the agent takes the babysit snapshot with gh, judges the attention reasons 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 PR Action is retired (refactor(lastcode): retire the Wait for PR action in favor of native PR watches #419). Local Reviews (:194) is unchanged.

  • implement-plan runs its review rounds through review-loop, and keeps its light/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-gates link now points to lastcode-pr#babysit-and-merge.

  • Evals: evals/mcp-tool-use/cases/pull-requests.ndjson cases quiet-watch-stalled-review-handback and quiet-watch-pending-gates-handback read .agents/skills/babysit/SKILL.md as context. They now read lastcode-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.md and stacked-pr-babysit.md: still used by lastcode-pr, review-plan, import-upstream-pr and the release docs.

Skill injection resolved

The repository's external git hook used to symlink an older babysit skill 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 grep finds no remaining links to skills/review-pr, skills/babysit or #wait-for-remote-gates. The only remaining mention is scripts/lastcode-checkpoint.ts:452, above.
  • No local Quick CI: the change is docs, skills and two eval context paths; GitHub CI is the required gate.
  • The two changed eval cases weren't run (they call paid models).

Claude Opus 5.5 in Claude Code (T3 Code).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T03:14:11.674082Z 9e25348 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus
lastobelus force-pushed the lastcode/retire-review-pr branch 2 times, most recently from 9acf719 to a52e8f4 Compare November 7, 2026 06:20
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: a52e8f4e75

ℹ️ 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".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 0f05649a3b

ℹ️ 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".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: be61a6bec0

ℹ️ 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".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/retire-review-pr branch from be61a6b to 02c9a2c Compare November 7, 2026 22:44
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 02c9a2c4e8

ℹ️ 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".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/retire-review-pr branch from 02c9a2c to dea81c4 Compare November 8, 2026 02:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .agents/skills/lastcode-pr/SKILL.md Resolved
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: b1e27e458a

ℹ️ 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".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/retire-review-pr branch from b1e27e4 to 6e983f3 Compare November 8, 2026 03:03
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 6e983f30b7

ℹ️ 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".

lastobelus and others added 4 commits November 7, 2026 20:12
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]>
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/retire-review-pr branch from 6e983f3 to 9e25348 Compare November 8, 2026 03:12
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 9e25348d44

ℹ️ 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".

@lastobelus
lastobelus merged commit e9120d8 into lastcode/main Nov 8, 2026
20 checks passed
@lastobelus
lastobelus deleted the lastcode/retire-review-pr branch November 8, 2026 03:18
lastobelus added a commit that referenced this pull request Nov 8, 2026
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
lastobelus added a commit that referenced this pull request Nov 8, 2026
… 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant