Skip to content

Route owned PR events to babysitter sessions#92

Open
miyaontherelay wants to merge 1 commit into
codex/issue-82-repo-agent-namesfrom
codex/issue-87-babysitter-events
Open

Route owned PR events to babysitter sessions#92
miyaontherelay wants to merge 1 commit into
codex/issue-82-repo-agent-namesfrom
codex/issue-87-babysitter-events

Conversation

@miyaontherelay

Copy link
Copy Markdown
Contributor

Summary

  • route canonical GitHub review, review-comment, issue-comment, failed-check, conflict, and base-divergence activity only to the babysitter that owns the exact normalized repo and PR
  • coalesce metadata-only wakes with confirmed delivery, retry, critical-section fencing, and pull/poll correctness backstops
  • persist exact babysitter ownership, pending wake categories, and critical fences across process restarts

Stack

Depends on #89. This PR is intentionally stacked on branch codex/issue-82-repo-agent-names and preserves its repo-qualified agent naming plus composite issue identity. It must not target main until #89 merges; after that, it requires rebase/integration and a fresh frozen shadow delta audit before changing the base.

Fixes #87

Security and lifecycle

  • canonical flat review, comment, and check records require consistent path object ID plus validated repo and PR identity; mismatched or ambiguous records fail closed
  • provider-authored titles, bodies, comments, URLs, check names, and control text are excluded from wake prompts
  • pending and green checks do not wake; failed, cancelled, and timed-out checks do
  • an explicit confirmed Factory ACK causally installs and durably records the no-submit fence before destructive babysitter work
  • terminal close/completion cancels queued work and clears durable session state

Validation

  • focused babysitter, prompt, durable-state, and CLI tests: 41 passed, 309 skipped
  • full test suite: 38 files, 759 passed
  • npm run build
  • npm pack --dry-run --json: 262 files with dist main/types and CLI bin
  • git diff --check
  • independent frozen shadow audit: signed off exact binary diff SHA-256 c1b5fbe992859fd43ba1a765abd0a956cea8ffb7e4880142d04b9fdd2c40fa05

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cf8eb284-b6ec-4ecf-a552-915da9511ffc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/issue-87-babysitter-events

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.

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