Skip to content

docs(agents): document agent label checklist when opening a PR#393

Open
castrojo wants to merge 3 commits into
mainfrom
docs/agent-label-workflow
Open

docs(agents): document agent label checklist when opening a PR#393
castrojo wants to merge 3 commits into
mainfrom
docs/agent-label-workflow

Conversation

@castrojo
Copy link
Copy Markdown
Contributor

@castrojo castrojo commented Jun 2, 2026

Agents were not updating labels after opening a PR, leaving issues appearing unclaimed in the queue.

Add one-liner to the issue lifecycle section: when an agent opens a PR, remove queue/agent-ready from the issue and add queue/claimed to both issue and PR.

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot

castrojo and others added 3 commits June 2, 2026 00:39
Onboards projectbluefin/common into the hive agent workflow.

- bonedigger.yml: reusable lifecycle bot (/claim /unclaim /approve)
  with Common ⚙️ branding. Auto-creates queue/agent-ready, queue/claimed,
  and all lifecycle labels on first run.

- hive-status-sync.yml: hourly sync of hive agent formation status to
  the todo.projectbluefin.io project (PVT_kwDOCCE0ds4BLZBC). Reports
  common's CI state and issue queue counts. Requires PROJECT_TOKEN secret.

Needs: add PROJECT_TOKEN secret to projectbluefin/common, add P0 label.

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot CLI
Documents ~/src/hive-status as the deterministic, zero-auth entry point
for hive priority triage at the start of every agent session. Covers P0/P1
interpretation, advisory item ranking, hive label taxonomy, and follow-up
gh search commands.

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
When an agent opens a PR: remove queue/agent-ready from the issue,
add queue/claimed to both the issue and the PR.

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 2, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Warning

Review limit reached

@castrojo, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 29 minutes and 51 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: dc75e122-1b64-46d0-bda8-c75432391069

📥 Commits

Reviewing files that changed from the base of the PR and between 3284cfe and e0a4c6c.

📒 Files selected for processing (4)
  • .github/workflows/bonedigger.yml
  • .github/workflows/hive-status-sync.yml
  • AGENTS.md
  • docs/skills/hive-review.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/agent-label-workflow

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.

@dosubot dosubot Bot added the kind/documentation Improvements or additions to documentation label Jun 2, 2026
Copy link
Copy Markdown
Member

@hanthor hanthor left a comment

Choose a reason for hiding this comment

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

bonedigger.yml calls a reusable workflow pinned to @main with secrets: inherit:
uses: projectbluefin/bonedigger/.github/workflows/lifecycle.yml@main

Any future push to projectbluefin/bonedigger's main branch will run with access to all secrets in this repo. Pin to a specific commit SHA to prevent unintended changes from automatically inheriting those permissions.

Also: PR #391 adds the same two workflow files. Close #391 before merging this one to avoid a merge conflict.

@castrojo
Copy link
Copy Markdown
Contributor Author

castrojo commented Jun 2, 2026

LGTM — can't self-approve (castrojo authored), flagging for 2nd review.

  • bonedigger.yml: correct event triggers (issues + issue_comment + daily schedule); minimal permissions (issues:write + contents:read); secrets: inherit is correct for reusable workflow
  • hive-status-sync.yml: Python inline script is robust — regex extraction of agents JSON, health bar, relative time, CI status, issue counts, fireteam detection; GraphQL writes use PROJECT_TOKEN, reads use github.token — correct scoping; workflow_dispatch + push to main + hourly schedule is right
  • AGENTS.md: label checklist line is accurate per the issue lifecycle documented in the custom instructions
  • docs/skills/hive-review.md: good session reference; content aligns with ~/src/skills/hive-review/SKILL.md

Note: PR #391 covers only the two workflow files (subset of this PR). Recommend closing #391 in favor of this one.

Copy link
Copy Markdown
Member

@hanthor hanthor left a comment

Choose a reason for hiding this comment

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

Two blocking issues remain:

  1. Both #391 and #393 add identical .github/workflows/bonedigger.yml and .github/workflows/hive-status-sync.yml, so whichever lands second will conflict unless one PR drops those workflow files.
  2. bonedigger.yml still uses projectbluefin/bonedigger/.github/workflows/lifecycle.yml@main with secrets: inherit. Please pin that reusable workflow to a specific commit SHA before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants