> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CodeRabbit review context (Cursor IDE)

> Version: 3.0.0 Last Updated: 2026-04-08 Status: Active

**Version:** 3.0.0\
**Last Updated:** 2026-04-08\
**Status:** Active

> This file is intentionally compact. It provides CodeRabbit review focus for Cursor users and links to canonical policy documents.

## Canonical Sources (Do Not Duplicate)

* [../../constitution.md](../../constitution.md) - authoritative engineering guardrails
* [../../AI\_GUIDE.md](../../AI_GUIDE.md) - contribution workflow and process
* [../../AGENTS.md](../../AGENTS.md) - daily implementation patterns and pre-flight checks
* [../../.cursor/rules/quick-reference.mdc](../../.cursor/rules/quick-reference.mdc) - pattern lookup
* [../../.cursor/BUGBOT.md](../../.cursor/BUGBOT.md) - automated PR review rules
* [./CODERABBIT\_GUIDE.md](./CODERABBIT_GUIDE.md) - CodeRabbit setup, CLI, and YAML configuration

## Review Priority (High to Low)

1. Security and tenant isolation regressions
2. Architecture boundary violations (core-to-core imports, CL downstream rule)
3. Data integrity and migration safety
4. Performance regressions and loading/route patterns
5. Test coverage gaps for changed behavior

## High-Signal PR Checklist

* [ ] No direct core-to-core imports; integration goes through `@/platform/*`
* [ ] Mutations and data access preserve tenant isolation (`organization_id` patterns)
* [ ] User-facing errors use sanitized messaging (no raw internal errors)
* [ ] New/changed routes use lazy loading and non-null loading states
* [ ] Query keys include tenant context where applicable
* [ ] Critical flows include updated tests (unit/integration/RLS/E2E as needed)
* [ ] Docs/specs updated when behavior or workflow changed

## Escalate As Blockers

* PHI/PII leakage risk, secrets exposure, or missing auth/permission checks
* Any change that weakens tenant isolation or RLS safety
* Direct dependency across cores without integration layer
* Schema changes without migration workflow
