189. The editor reports what cpl check reports, and reads types the checker kept (2026-11-21)
- Decision.
cpl checkandcpl lspboth take their diagnostics fromcpl_ir::reported, which underCPL_SPEC=1drops lowering's builtin-shaped errors andNOT_IMPLEMENTEDnotes that citedesign/, ascpl checkalready did. The checker keeps the type of every call, index, unwrap, paren and range expression (ItemCheck::shapes) so dot completion afterxs.sorted()org[v]reads the checked type instead of guessing from signature text. Editing a file re-analyzes only it and the files that import it. - Why. The editor disagreed with
cpl checkon 76 of 100 hill-climb ports in spec mode, dot completion was empty after 166 calls, and every keystroke re-analyzed every module (352 ms median edit-to-diagnostics in spec mode, now under 4 ms). - Reverse. Point the LSP back at
cpl_ir::check; dropshapesand the fallback incomplete::type_of; invalidate every analysis inDatabase::set_file.