Harden coordination parsing after PR #339 audit - #410
Conversation
|
Warning Review limit reached
Next review available in: 9 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
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. Comment |
Review SummaryOverview: This PR hardens the coordination-declaration gate (
Code quality: Very well tested — the PR adds ~340 lines of adversarial contract tests covering tabs, mixed space/tab indentation, nested lists, dedents, fence-info edge cases (backticks vs. tildes), and over-indented closers, which gives strong confidence in the parser's correctness even though I couldn't execute the Ruby suite in this environment (sandboxed) to confirm green. The manual trace of Risk/blast radius: Low — this is internal repo tooling that gates the format of the batch coordinator's own handoff text; it doesn't touch user-facing product code, doesn't execute untrusted input, and has no network/shell-injection surface. Notes left inline (all non-blocking, quality/maintainability):
No correctness bugs or security issues found in the core parsing logic. |
|
Address-review closeout for exact head Mattered: none. Claude reported no correctness or security bugs. Optional / declined at the final-candidate gate:
All four threads were replied to and resolved with rationale. CodeRabbit reached a terminal rate-limit disposition and produced no findings. Independent current-head adversarial review covered 2,790 marker-padding cases, 126 ancestry cases, and 900 fence/list transitions with zero mismatches. Future scans start after this comment. |
|
No description provided. |
…gn-implementation * origin/main: Harden coordination parsing after PR #339 audit (#410) Change merge submission mode to merge_queue_only (#412) Scope archive-readiness, add retry heartbeat and launch modes, ship the batch-status skill (#362) Default merge submission to direct (#407) Fix <PROJECT> digit ambiguity, anchor section extraction, ship coordination gate (#339)
…itable-controls * origin/main: Suppress unchanged Goal monitor wakes (#395) Document single-target plan-pr-batch routing (#405) Require exact-head hosted QA before merge (#291) Change merge mode from queue to direct (#415) Harden coordination parsing after PR #339 audit (#410) Change merge submission mode to merge_queue_only (#412) Scope archive-readiness, add retry heartbeat and launch modes, ship the batch-status skill (#362) Default merge submission to direct (#407) Fix <PROJECT> digit ambiguity, anchor section extraction, ship coordination gate (#339) Enforce requested-versus-observed model route provenance (#348) # Conflicts: # CHANGELOG.md
Summary
<PROJECT>legacy guard to natural repository-name paraphrasesWhy
The post-merge audit of #339 confirmed that the merge itself is healthy, but found that a documentation example could still satisfy the new runtime gate. It also confirmed the five deferred extractor sites in #340 and reproduced the same positional bug in four additional callers.
This PR is intentionally limited to those parser, diagnostic, and contract-test hardening changes. It does not change coordination applicability or the broader #401 policy work.
Verification
ruby skills/pr-batch/bin/coordination-declaration-contract-test.rbruby skills/pr-batch/bin/goal-completion-contract-test.rbAGENT_WORKFLOWS_SOURCE_CHECKOUT=1 ruby skills/pr-batch/bin/model-routing-contract-test.rbruby skills/pause/bin/pause-prompt-test.rbruby skills/pr-batch/bin/coordination-telemetry-contract-test.rbruby skills/pr-batch/bin/review-wave-contract-test.rbruby skills/plan-pr-batch/scripts/check_goal_prompt_size.rbbin/validateFixes #340
Fixes #357