Skip to content

feat: Add pu recap command#109

Closed
2witstudios wants to merge 2 commits intomainfrom
pu/feature-1
Closed

feat: Add pu recap command#109
2witstudios wants to merge 2 commits intomainfrom
pu/feature-1

Conversation

@2witstudios
Copy link
Owner

Summary

  • Adds a new pu recap CLI command that gives a standup-style summary of workspace activity
  • Combines existing daemon Status and Diff queries into a single glanceable view — no protocol changes needed
  • Shows per-worktree agent statuses with elapsed times, git diff stats (+/- lines, files changed), and workspace totals
  • Supports --json for machine-readable output

Example output

Workspace Recap
────────────────────────────────────────
  3 agents across 2 worktrees

  root (project root)
    point-guard  claude     waiting            12m

  fix-auth pu/fix-auth
    worker       claude     done               15m
  3 files +47 -12

  add-tests pu/add-tests
    worker       claude     streaming          10m
  5 files +230

────────────────────────────────────────
  8 files changed, +277, -12

Test plan

  • 14 unit tests covering formatting, edge cases, empty state, JSON output
  • All 84 existing pu-cli tests still pass
  • Manual test: pu recap with active workspace
  • Manual test: pu recap --json for machine-readable output

🤖 Generated with Claude Code

Combines daemon status and diff queries into a single glanceable view
showing agent statuses, elapsed times, and git change stats per worktree.
Supports --json for machine-readable output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 8, 2026

Warning

Rate limit exceeded

@2witstudios has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 57 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3719ca61-19bf-4f88-bc59-724dca2e7977

📥 Commits

Reviewing files that changed from the base of the PR and between 55aa882 and 5840239.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • crates/pu-cli/Cargo.toml
  • crates/pu-cli/src/commands/mod.rs
  • crates/pu-cli/src/commands/recap.rs
  • crates/pu-cli/src/main.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch pu/feature-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@2witstudios
Copy link
Owner Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

format!("{:?}") produced Rust Debug format ("Streaming") instead of the
serde-serialized form ("streaming") used by all other JSON output paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@2witstudios 2witstudios closed this Mar 8, 2026
@2witstudios 2witstudios deleted the pu/feature-1 branch March 8, 2026 20:46
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