📝 Rename test-loop "blue" phase to "type"; cite TDD

The type-first spec step was labelled "Blue", which collides with the
Red-Green-Blue convention where blue means the refactor phase (and our
loop already has an explicit Refactor step). Rename phase 1 to Type and
describe the loop as type -> red -> green -> refactor.

Tie the discipline to its established name: Type-Driven Development
(Edwin Brady), quoting the Idris framing -- treat the type as the plan,
let the compiler/type-checker drive you to a program that satisfies it.
Section heading becomes "Testing discipline (type-driven)"; update the
AGENTS.md pointer + anchor. Add "idris" to the cspell dictionary.

De-duplicate: CONTRIBUTING.md no longer re-lists the banned directives
(@ts-ignore, as casts, ...); it links to AGENTS.md "Never do", the
single home for that rule, so the lists can't drift.
This commit is contained in:
tmu committed 2026-09-07 23:44:35 +02:00
1 parent c7f566500e
commit 837203c29e
3 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@
"Zilla",
"kacl",
"bestikk",
"silverwind"
"silverwind",
"idris"
],
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
}