Strict by default
Fensu ships a coherent default architecture, not a blank rule framework. Defaults are strict wherever the tool can make an honest, deterministic claim. The point is that you should not have to stop and decide where code goes on every change: follow the rules and the placement is already decided. The moment you want to deviate is the signal that something actually needs a decision, and Fensu makes that decision visible rather than silent. It is the stance a type system or a borrow checker takes: correct from the ground state, with escapes that are explicit rather than ambient.How to deviate
When a rule does not fit, you have three escapes:- Disable it with
ignorein config. - Scope it off by adjusting
roots,tests, ortooling. - Replace it with a custom rule.
fensu.toml, never in your business-logic files.
No inline suppression
Fensu has no# fensu: allow comment, on purpose.
An inline suppression hides in a large diff, passes CI, and reads like any other
comment. That is the # type: ignore failure mode: the guard drops quietly and
drift compounds one line at a time. Editing fensu.toml is different: a config
change is something a reviewer stops to look at, so no deviation slips by unseen.
Fensu does not let comments carry meaning that the tooling depends on (see the
hygiene family), so a suppression comment would break a rule it enforces on
everyone else.
Compensating for LLM blind spots
Some defaults are stricter than a careful human team would choose. That is deliberate: the target is code written at scale, often with an LLM in the loop. Each strict default answers a specific way generated code drifts:
“Stricter than most teams do” is usually the reason a rule exists, not an argument
against it.
Rules claim only what they check
A rule is defined by what it completely and honestly checks. Fensu will not ship a rule that verifies a fraction of its stated intent and names itself after the whole idea.- A contract that cannot be checked properly is dropped, not described-but-unenforced.
- Detection does the real analysis, not a cheap proxy dressed up as the full rule.
- Any narrowing is an explicit, stated limit, never a silent hole.

