DashboardcraftState and enforce critical behavioral c…

State and enforce critical behavioral contracts explicitly

Category: preference
Confidence: 0.80
ID: 01a06c05-fb75-7bd4-a9fa-7ab2def797c2
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 1bwAST7ENFvDRuqqJ
Created: 2026-08-25 14:31:26
Updated: 2026-09-04 10:45:26

Content

When implementing or reviewing changes, explicitly state non-negotiable behavioral invariants—especially for release safety, parsing, validation, event ordering, identity, and compatibility—and enforce them at the earliest relevant boundary with focused regression tests. Preserve established behavior rather than silently normalizing or broadening semantics. Treat user-stated constraints as authoritative: for example, option-looking tokens must not become workspace names; prerelease relaxation applies only to the running version, never configured minVersion; the CI poller adds ci-ready; and unused-variable rules must not be mischaracterized. Require focused and full verification, distinguish new failures from known baseline warnings, and audit final diffs, documentation, workflows, and tests against the contract.

Move to: