210. checks and lint contexts are compiler-provided (debt) (2026-11-22)
- Decision.
context io:is declared inspec/std/io.cpusing the generalcontextmechanism, whilechecks(ranges,overflow,bounds,unwrap,div,asserts,reads:on | off) andlint(one field per lint in thecpl-lintcatalog:allow | warn | deny) are compiler-provided special cases incpl-check,cpl-lint, andcpl-ir. - Why.
checksandlinthave open or compiler-coupled field sets (every lint name incpl-lint, andon/off/allow/warn/denylevel tokens not yet declared as stdlib enum types) and directly govern codegen traps and lint suppression. Logging this as debt keepsioand user contexts on the general mechanism without blocking v0.3 contexts on compiler-generated stdlib declarations. - Reverse. Declare
checksandlintinspec/stdonce literal/enum context field types and lint-catalog reflection exist, and remove the special cases incpl-check'scheck_withandcpl-lint'sAllows.