Skip to content

feat: Add pu pulse — workspace heartbeat at a glance#114

Open
2witstudios wants to merge 1 commit intomainfrom
pu/feature-5
Open

feat: Add pu pulse — workspace heartbeat at a glance#114
2witstudios wants to merge 1 commit intomainfrom
pu/feature-5

Conversation

@2witstudios
Copy link
Owner

Summary

  • Adds pu pulse command that shows a structured snapshot of the entire workspace: active worktrees, their agents (with status, runtime, idle time), git diff stats (files changed, insertions, deletions), and prompt snippets
  • Combines agent status + git stats into one view — the "standup meeting" for your AI agents
  • Supports --json for programmatic consumption by the macOS app or scripts

Example output:

Root Agents
  ag-k2m8 point-guard waiting (2h 0m idle 30s)

Worktree feature-5 pu/feature-5 (1h 1m)
  git: 3 file(s), +42 ins, -7 del
  ag-abc1 claude streaming (2m 0s idle 5s)
    Add pulse command to CLI

Changes across crates:

  • pu-core: New Request::Pulse, Response::PulseReport, AgentPulseEntry, WorktreePulseEntry protocol types
  • pu-engine: handle_pulse() gathers live agent status + git diff stats per worktree
  • pu-cli: New pulse subcommand with colored terminal output + 6 new tests

Test plan

  • All 411 existing tests pass
  • 6 new tests for pulse output formatting, JSON serialization, and duration formatting
  • Clippy clean
  • cargo fmt clean
  • Manual test with active agents and worktrees

🤖 Generated with Claude Code

Shows all active worktrees with their agents, runtimes, git stats
(files changed, insertions, deletions), and prompt snippets in one
structured view. Supports --json for programmatic consumption.

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

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@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 17 minutes and 36 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.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e9f632dd-9c1a-4ab9-b8df-87b15af37612

📥 Commits

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

📒 Files selected for processing (6)
  • crates/pu-cli/src/commands/mod.rs
  • crates/pu-cli/src/commands/pulse.rs
  • crates/pu-cli/src/main.rs
  • crates/pu-cli/src/output.rs
  • crates/pu-core/src/protocol.rs
  • crates/pu-engine/src/engine.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-5

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.

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