Add root-only, off-by-default stack-aware requalification: walk the
open PRs stacked on top of the current one, inject a paths-only
manifest into the coordinator, and let it mark absence-style findings
as addressed by a later PR. Requalified findings stay visible and
counted but stop blocking. Grounding strips forged, hallucinated, or
protected (critical/secrets/security) requalifications deterministically,
after verify and before suppress.
Retrofit of https://github.com/ccheever/llp. Ten LLP docs capture the
design rationale (trust model, engine pipeline, runtimes, config,
verification, sources/reporters, CLI, templates); 161 @ref comments link
code to the sections that explain it. ref-check (copied from upstream,
dependency-free) validates refs and metadata on every push and PR.
Every rationale claim is tagged [observed] with its evidence.
ecr ci now loads all review configuration (config.jsonc, routing, prompts,
models, auth mapping) from the PR's immutable base commit, materialized via
the GitHub API — never from the PR head — failing closed with one terminal
comment when the base can't be materialized. The PR head is materialized
separately (pinned to its immutable OID, mandatory in CI) purely as source
content, and is scrubbed of ambient runtime config (opencode.json{,c},
.opencode/ plugins, AGENTS.md, CLAUDE.md, .claude/, .mcp.json, .cursor*,
.env*) before the OpenCode server starts, closing a fork-reachable code
execution path through the /review command workflow.
- git fetches append `-c credential.helper=!gh auth git-credential` so
base-SHA checkouts with persist-credentials:false still fetch private repos
(token never in argv or .git/config)
- run log + patch workspace anchor at the workspace (runsDir), never the
temporary trusted root, so the artifact upload path keeps resolving
- a scope config that is new in a PR reviews with the root config and
activates after merge (hasScopeConfig fallback)
- scaffolded workflows check out the base SHA with persist-credentials:false;
the repo's own self-review workflow runs the engine from base source
- escape hatch: ecr ci --unsafe-config-from-head (loud warning, never
scaffolded, removal scheduled)
Config-driven, multi-agent AI code reviewer engine. Extracted from
expo/eas-cli (PR #4022, packages/expo-code-review-cli) into its own repo so
it can be published as @expo/code-review-cli and iterated independently.
The engine is repo-agnostic: consuming repos supply their own agents and
settings under .expo-code-review/. Built on the OpenCode SDK.