feat(pm): PM skill pack fast-follows — single /pm command, portfolio roll-up, real health bottlenecks - #469
feat(pm): PM skill pack fast-follows — single /pm command, portfolio roll-up, real health bottlenecks#469getappz wants to merge 3 commits into
Conversation
Agentflare-Agent: claude-code_2-1-228_harness Agentflare-Branch: feat/pm-fast-follows
Agentflare-Agent: claude-code_2-1-228_harness Agentflare-Branch: feat/pm-fast-follows
Project override (name or UUID) on the read-only item groom/standup/health actions, plus project(action=list), backs a new /pm:portfolio workflow that rolls reports up across every project in the workspace. Adds an item_assignment_events log (migration 0011), written by item::update whenever assignee_agent changes (covers claim too, since claim assigns through update). item_health now computes real bottlenecks (items handed between agents >=2x in the window) instead of the always-empty placeholder, with a caveat that history starts at this migration. Splits crates/agentflare-backend/src/item.rs (over the LOC gate's frozen limit) into item/mod.rs + item/tests.rs, and src/mcp_server/tests/item_tests.rs (over the plain limit) into item_tests.rs + item_tests_reporting.rs. Also fixes a pre-existing Windows-only clippy warning: an unused `use super::*` in a unix-only test file. Agentflare-Agent: claude-code_2-1-228_harness Agentflare-Branch: feat/pm-fast-follows
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 35 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (17)
Comment |
Summary
Completes the §11 fast-follow tail of the PM skill pack (item #103 / #446):
/pmcommand. Consolidates the four/pm:*shims into one.claude/commands/pm.mdwith subcommand dispatch. Bare/pm(no args) now defaults to enabling PM mode (pm-modeskill) and running a daily kickoff — standup, intake triage, blockers, pull-next, then a morning briefing proposing dispatch actions for approval. Subcommands (standup/groom/plan/health/portfolio) stay read-only reports;mode on/mode offtoggles PM mode explicitly.project(action="list"); the read-onlyitemactionsgroom/standup/healthaccept an optionalprojectoverride (name, case-insensitive, or UUID) — honored only by those reporting actions, every mutating action still resolves the repo-linked project. New/pm:portfolioworkflow loops the override across every project in the workspace.item_assignment_eventslog (migration 0011) +assignment_eventsmodule.item::updaterecords a transition wheneverassignee_agentactually changes (coversclaim()too, since claiming assigns throughupdate).item_healthnow reports items handed between ≥2 distinct agents in the window instead of an always-empty placeholder, with a caveat that history starts at this migration.Also in this PR
scripts/loc-gate.sh's limits before this work touched them:crates/agentflare-backend/src/item.rs→item/mod.rs+item/tests.rs;src/mcp_server/tests/item_tests.rs→ itself +item_tests_reporting.rs. Removed the now-stale allowlist entry for the olditem.rspath.use super::*unused because the file's only test is#[cfg(unix)]-gated).Test plan
cargo fmt --all --checkcargo clippy --locked --workspace --all-targets --all-features -- -D warnings -A unsafe_code -A clippy::pedanticcargo test --workspace(green;flare-git-shim's agent-vs-human detection tests have pre-existing environmental flakiness from ambient agent-detector env vars in this dev environment, documented in the test file itself — confirmed unrelated, zero changes to that crate on this branch)scripts/loc-gate.shfull-repo scan: OK