feat(email-writing): build authorized thread context - #1329
Conversation
|
Warning Review limit reached
Next review available in: 18 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 (4)
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 |
|
@coderabbitai review |
|
|
PR governance metadata gate is not ready for
|
…idence-task3' into feat/llm-email-writing-context-task4
…idence-task3' into feat/llm-email-writing-context-task4 Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
@coderabbitai review Please review the unchanged exact current head |
|
|
…ask4' into feat/llm-email-writing-orchestrator-task5 Retarget Task 5 onto live #1329 head 4570747 (merged onto live #1328 51fb5e8 / #1327 fb7c406 / #1322 bfc2df1 / develop@dd8d1519). Preserve the hardened contextual-orchestrator boundary. Do not restore write-capable Task 5 promotion/finalize workflows. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
Caution Review failedAn error occurred during the review process. Please try again later. 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 |
Stack dependency
This Draft PR is stacked on #1328 (
feat/llm-email-writing-review-evidence-task3) and implements Task 4 only from the committed LLM email-writing implementation plan.Customer next action
This PR is context-construction only. Customers should continue to write and send email with the current editor and send path. No writing-guidance feature, language profile, or model is available in product. Writing and sending stay on the current path.
Included
Email.owner_filters(auth_context.user_id, auth_context.organization_id);EmailWritingContextBundle, chronological message records, and participant-role records;Semantic-authority boundary
The service performs authorization, thread membership, chronology, bounded context construction, recipient-role derivation, and trust labeling only. It does not decide which message is important by keywords, infer tone, quality, or actionability, use sender domains or recipient counts as semantic features, or apply nearest-text or positional fallback.
Exact-head verification
Previous head (exact current PR head at launch):
GitHub last showed base
feat/llm-email-writing-review-evidence-task3at stale:Current head (normal merge commit, not squash, not rebase, not force-push):
Live parent #1328 (
feat/llm-email-writing-review-evidence-task3) merged as the second parent:Normal merge commit parents:
0376d0ac896f6ea86183234495184694b27d789651fb5e8543247b1e5c790f3fdf98424c8fbed669Live parent #1328 already contains #1327
fb7c406ee1328a6ac42dbaf54bb6852c199d8b0a/ #1322bfc2df112136bb9fe358778d701e78bf9e78b685/ develop@dd8d15191338b841f9e6f3a06507c6a5643b95d0.ADR numbering follows the live parent:
0004-status-weighted-calendar-conflicts.md);Local validation counts on
4570747ccebd57ccaab30ffc68239f0c9d2f1ca0:tests/test_email_writing_context_service.py)tests/test_email_writing_context_service_coverage.py)tests/test_email_writing_contracts.py+tests/test_email_writing_contracts_terminal_coverage.py)254statements,72branches,fail-under=100)compileallfor the context service: okgit diff --check: okTimeout/Fatal/Warn/DeniedPredecessor evidence does not transfer. Checks, reviews, and security evidence recorded for
0376d0ac,6ab000ef, or any earlier head are non-passing for this head.Merge boundary
Keep this PR Draft while #1328 and its parent stack remain unmerged. This slice does not add contextual-orchestrator transport, tenant inference credentials, model or Judge calls, prompt templates, API routes, editor UI integration, sending, publishing, or release changes. Independent review, zero actionable threads, branch protection, and exact-current-head required checks remain mandatory before merge. This update does not approve, merge, squash, empty-requeue, force-cancel, or mark Ready.