gezel Gezel Handboek

Type-Safety Pass

Tighten a module against unsafe patterns — loose equality, implicit coercions, swallowed catches, untyped boundaries, any-casts — with counted evidence: an audit that inventories the patterns by a stated method, fixes that never silence a check to move a count, a same-method re-count, and an enforced independent review.

How it runs

#StepWho runs itWhat happens
1Audit with countsDeveloperInventory the unsafe patterns in scope with counts by a stated method, pick concrete targets, record the guardrail, and capture the suite green.
2Fix pattern by patternDeveloperFix the targeted patterns at the real sites, never silencing a check or weakening an assertion to move a count.
3Re-count and verifyDeveloperRe-count every pattern with exactly the audit's method, quote before/after counts, and record the suite green.
4Evaluate the deliverableReviewerIndependently grade the observable deliverable and route it to finish, repair, or user escalation.
5Repair the deliverableDeveloperFix only the concrete gaps from the latest independent review.
6FinishDeveloperAll deterministic and reviewer criteria passed.
7Escalate unresolved concernsDeveloperThe bounded repair loop ended without a defensible pass.

Say something like "tighten the types" or "kill any types" or "add type annotations" or "make this type-safe" or "fix type errors" in chat to start it.

Watch this article as a slideshow