CLI and LSP resolver parity
Platform spec ADR
CLI and LSP resolver parity
Spec standingStandard
- Contracts and edge cases Corelib injection guarantees and edge cases.
- Design model How the compiler injects and resolves the corelib package into host compilations.
- Examples Observable corelib injection scenarios.
- FAQ and troubleshooting Corelib injection and resolution FAQ.
- Flow and algorithm End-to-end flow for corelib injection during project graph resolution.
- Verification and traceability Tests and traceability for corelib injection and resolution.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”IDE analysis must match CLI compilation attachment.
Decision
Section titled “Decision”| Rule | Detail |
|---|---|
| CLI | ensure_corelib_ready before commands |
| LSP | CompilationContext::try_for_analysis_path_with_graph_options |
Consequences
Section titled “Consequences”Diagnostic drift between CLI and LSP indicates a resolver bug.
Verification anchors
Section titled “Verification anchors”LSP workspace tests; corelib/compile.rs.