feat(email-writing): parse contextual review candidates - #1375
feat(email-writing): parse contextual review candidates#1375seonghobae wants to merge 5 commits into
Conversation
|
Warning Review limit reached
Next review available in: 8 minutes Limit details: You’ve used all 1 included review currently available under your plan. 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
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 |
|
PR governance metadata gate is not ready for
|
Bring feat/llm-email-writing-candidate-task6 onto the current feat/llm-email-writing-orchestrator-task5 head without changing Task 6 candidate-parse semantics or restoring write-capable workflows. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
@coderabbitai review Please review the unchanged exact current head |
|
|
Stack dependency
This Draft PR implements Task 6 of the accepted LLM email-writing guidance plan and is stacked on #1356 (
feat/llm-email-writing-orchestrator-task5).Customer next action
This PR is candidate-parse only. Customers should continue to write and send email with the current editor and send path. No user-facing writing-guidance diagnostics, language profile, or model is available in product. Writing and sending stay on the current path.
Exact-head retarget onto live #1356
Previous head (exact current PR head at launch):
GitHub last showed base
feat/llm-email-writing-orchestrator-task5at stale:Current head (normal merge commit, not squash, not rebase, not force-push):
Live parent #1356 (
feat/llm-email-writing-orchestrator-task5) merged as the second parent:Normal merge commit parents:
a3dd2e270f7400e6c1754c437c6831241ae4aa7c9cd9b953a2dd236aebe1fcdc25e59ba3e9388505Live parent #1356 already contains #1329
4570747ccebd57ccaab30ffc68239f0c9d2f1ca0/ #132851fb5e8543247b1e5c790f3fdf98424c8fbed669/ #1327fb7c406ee1328a6ac42dbaf54bb6852c199d8b0a/ #1322bfc2df112136bb9fe358778d701e78bf9e78b685/ develop@dd8d15191338b841f9e6f3a06507c6a5643b95d0.ADR numbering follows the live parent:
0004-status-weighted-calendar-conflicts.md);Alembic head after merge:
Parent still carries
20260812_email_writing_evidenceon0017_merge_newsdom_carddav_heads. This slice's revision did not collide and remains20260813_email_orchestratorwithdown_revision = 20260812_email_writing_evidence.Local validation counts on
fa844bd035ab1f188a28c58e0ed2dc45fa31d0f3:tests/test_email_writing_candidate_review.py)tests/test_email_writing_candidate_review_terminal_coverage.py)206statements,48branches,fail-under=100)compileallfor Task 6 sources: okgit diff --check: okTimeout/Fatal/Warn/DeniedPredecessor evidence does not transfer. Checks, reviews, and security evidence recorded for
a3dd2e27,0c0ac2b5, or any earlier head are non-passing for this head.Test-first history
Task 6 was developed through an observable RED → GREEN sequence.
81b2929359966a5eee068dc219dbd02a0cbf8762added the focused candidate-review contracts and fixture before the production candidate-review modules existed. Hosted run31943760784reached the product test step and failed there; setup and hash-locked dependency installation succeeded.1bca07607735876ad3d166ed0301d4cb51e8d563added only the Task 6 prompt and candidate-review implementation. The focused behavior suite passed, while the owned production coverage gate correctly remained red at 97%.7778f76ef456bccbbd905d69855febafe61557b6added terminal branch tests. Hosted run31944365667passed 41 focused tests, 100% owned statement/branch coverage, the shipped-symbol docstring gate, Ruff, andcompileall.a3dd2e270f7400e6c1754c437c6831241ae4aa7crestacked the unchanged Task 6 slice on the then-current exact feat(email-writing): add hardened contextual-orchestrator boundary #1356 head0c0ac2b598a8338a257e69bcca4d00b6fe20daf5. The parent delta and Task 6 changed-file sets are disjoint. Fresh exact-head workflow evidence is required; predecessor success is not substituted for current-head evidence.fa844bd035ab1f188a28c58e0ed2dc45fa31d0f3restacked the unchanged Task 6 slice on the live exact feat(email-writing): add hardened contextual-orchestrator boundary #1356 head9cd9b953a2dd236aebe1fcdc25e59ba3e9388505with a normal two-parent merge commit. The parent delta and Task 6 changed-file sets remain disjoint. Fresh exact-head workflow evidence is required; predecessor success is not substituted for current-head evidence.Included
TextPositionSelectorvalidation before Judge admission;incremental → routeanddeep → conductorchestration modes;compileall.Authority boundary
Naruon owns authorized email/thread/recipient context, prompt construction, candidate parsing, deterministic integrity validation, and candidate workflow policy.
contextual-orchestratorowns provider-neutral routing and reasoning allocation.This PR does not admit a candidate into the user-facing diagnostic response, make send decisions, call the independent fast-mlsirm Judge, publish a calibration policy, persist raw prompts or model outputs, or add deterministic semantic fallback.
Parent-authority correction inherited by the restack
The current #1356 parent removed three historical write-capable workflow identities that contradicted the dedicated single-writer boundary:
.github/workflows/email-writing-orchestrator-promotion.yml;.github/workflows/email-writing-orchestrator-promotion-v2.yml;.github/workflows/email-writing-task5-finalize.yml.The Task 6 restack carries those removals forward. Its own dedicated workflow is read-only (
contents: read) and usespersist-credentials: false.Merge boundary
Keep this PR Draft while #1356 and its parent stack remain unmerged. Merge only after the unchanged exact head and then-live base satisfy every applicable repository/inherited ruleset, all required CI/security/coverage/dependency/package/provenance workflows are terminal-success, every actionable review thread is resolved, and a qualifying independent non-author post-last-push approval exists.
Queued, pending, skipped-required, neutral, failed, absent, stale, predecessor-head, model-only, status-only, author-only, or cancelled evidence is non-passing. This update does not approve, merge, squash, empty-requeue, force-cancel, or mark Ready.