Skip to content

feat(agents): add pr-manager-lite for already-checked-out PR branches#813

Merged
senamakel merged 1 commit into
tinyhumansai:mainfrom
senamakel:feat/pr-manager-lite-agent
Apr 22, 2026
Merged

feat(agents): add pr-manager-lite for already-checked-out PR branches#813
senamakel merged 1 commit into
tinyhumansai:mainfrom
senamakel:feat/pr-manager-lite-agent

Conversation

@senamakel
Copy link
Copy Markdown
Member

@senamakel senamakel commented Apr 22, 2026

Summary

  • Adds pr-manager-lite agent (in both .claude/agents/ and .agents/agents/) — a lightweight variant of pr-manager for the case where the PR branch is already checked out locally with base merged in and upstream tracking set (e.g. via a shell helper like preem).
  • Skips fetch / checkout / conflict-resolution phases. Sanity-checks preconditions and bails out (rather than silently re-doing setup) if the working tree isn't in the expected state.
  • Goes straight to: collect reviewer/bot comments → triage → apply fixes → run quality suite → commit → push → wait for CodeRabbit re-review.

Test plan

  • Invoke from a freshly-prepared pr/<N> branch and confirm it skips setup, processes review comments, and pushes.
  • Invoke from main (or a dirty tree) and confirm it stops with a clear "run preem first" message instead of silently re-doing setup.
  • Confirm the cross-repo-fork case is flagged in the final report when origin upstream is the user's own copy rather than the contributor's fork.

Summary by CodeRabbit

  • Documentation
    • Added a new PR manager agent specification for automated pull request workflow management, including validation checks, code quality standards enforcement, and structured reporting.

Lightweight variant of pr-manager that assumes the local repo is already
on the PR branch (e.g. via the `preem` zsh helper) with base merged in
and upstream tracking set. Skips fetch/checkout/conflict-resolution and
goes straight to comment collection, fixes, checks, and push.

Sanity-checks preconditions and bails out (rather than silently re-doing
setup) if the working tree isn't in the expected state.
@senamakel senamakel requested a review from a team April 22, 2026 21:50
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 22, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e802d780-7921-46cf-b44d-b67a813ffd3e

📥 Commits

Reviewing files that changed from the base of the PR and between 15a9c6f and 8730e87.

📒 Files selected for processing (2)
  • .agents/agents/pr-manager-lite.md
  • .claude/agents/pr-manager-lite.md

📝 Walkthrough

Walkthrough

Adds two new agent definition files (pr-manager-lite) that automate GitHub pull request completion for the openhuman repository. The agent assumes a pre-prepared working tree on the correct pr/<number> branch, verifies preconditions, collects PR feedback, applies fixes via quality checks, and manages the push/review cycle with structured reporting.

Changes

Cohort / File(s) Summary
PR Manager Agent Definition
.agents/agents/pr-manager-lite.md, .claude/agents/pr-manager-lite.md
New agent workflow files defining the PR Manager (Lite) agent that automates PR completion with precondition checks, comment triage, quality suite execution (frontend/Rust), commit/push operations, and CodeRabbit re-review cycles with final structured reporting.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 A branch awaits, all neat and clean,
The PR Manager hops between,
With lints and tests and fixes bold,
A workflow story swiftly told!
CodeRabbit nods—approved with cheer!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@senamakel senamakel merged commit 1e3743f into tinyhumansai:main Apr 22, 2026
6 of 7 checks passed
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