Skip to content

Audit every FSD rule and release 0.7.0 - #5

Merged
Horcag merged 1 commit into
masterfrom
audit-all-fsd-rules
Oct 26, 2026
Merged

Horcag merged 1 commit into
masterfrom
audit-all-fsd-rules

Conversation

@Horcag

@Horcag Horcag commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Problem and result

The complete rule audit found additional missing violations and false positives beyond import checking: legitimate underscore packages were skipped, hidden/cache directories were inconsistently counted/scanned, filesystem entry types were confused, Shared public APIs were not enforced, and escaped export lists could leave stale all values trusted.

Correct these behaviors while retaining the package's documented Python-specific boundaries and opt-in defaults. Make source-root/parser/configuration failures explicit, remove duplicate sibling diagnostics, and correct reference-only rule documentation.

Verification and future protection

  • Audited all 12 core rules, five opt-in rules, and both input guards; docs/RULE-AUDIT.md records per-rule cases and scope.
  • 669 local pytest cases pass. Exact threshold cases cover 19/20/21 slices and 14/15/16 loose modules; all 50 banned names are checked as folders and files.
  • Every check has an isolated positive and negative witness through both direct checking and the public facade; all five opt-in rules are also verified disabled.
  • 36 mutation controls detect no-op implementations, lost core/extra dispatches, and disconnected guards. Unrelated diagnostics cannot satisfy a witness.
  • The built wheel passes all 19 named contracts under python -I; CI now repeats that installed-package matrix on Python 3.8–3.14.
  • Ruff error/undefined-name checks, Python 3.8 grammar validation and git diff --check pass.

Release 0.7.0. No new dependencies. Documentation-only Steiger rule pages remain explicitly unregistered; enabling them raises a configuration error rather than appearing active.

@Horcag
Horcag merged commit b1ea1a7 into master Oct 26, 2026
7 checks passed
@Horcag
Horcag deleted the audit-all-fsd-rules branch October 26, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant