Skip to content

v3.5.0

Choose a tag to compare

@LuisFelipeMoro LuisFelipeMoro released this 26 Nov 13:43
· 6 commits to main since this release
eae7ebc

What's Changed

/improve-codebase-architecture now runs a modularity audit: cohesion, coupling and connascence, after Fundamentals of Software Architecture, ch. 3. The audit is part of the existing report, and the connascence vocabulary is a shared reference that the code reviewer also uses (#40).

Added

  • Modularity audit in /improve-codebase-architecture (ec71336):
    • Cohesion is counted from real co-change in git log, and each commit is cited by short sha and subject.
    • Coupling and connascence lenses are added to the read-only map.
    • A 0–10 score against an anchored rubric (clamped, not inflated).
    • At most 7 findings ranked by impact; a finding that crosses a module boundary moves one step up.
    • A plan of commit-sized steps, each with its validation.
    • A "Not worth changing now" section.
    • Up to 8 project rules: a lint config snippet for a mechanical rule, one CLAUDE.md line for a judgement call.
    • The skill stays read-only until you pick a plan step.
  • references/connascence.md (67274a7): the nine connascence forms, with strength, locality and degree, and the reviewer row that files each form.
  • Reviewer rule PE16, connascence across a module boundary (67274a7, 6c6e55d): MAJOR in reviewer, HIGH in the /review-code checklist. It covers only the Meaning, Position, Algorithm, Execution and Identity forms. It is filed instead of the in-module row (RD2/RD4, PE4, PE5, PE7 or magic numbers), so a defect is never counted twice.
  • Code smell: Grab-bag Module (67274a7): a utils, helpers or common module whose members change for unrelated reasons, filed as PE2.

Changed

  • PE5 positional parameters (67274a7, 119edc0) now flags three or more positional parameters only when all of them share a type, or when swapping their order would still compile. A two-parameter copy(src, dst) is no longer filed.

Fixed

  • Review follow-ups (1a25fff, 6c6e55d):
    • connascence.md no longer maps Type and Value to reviewer rows that do not describe them.
    • Score adjustments are clamped to 0–10.
    • Step 4 of the skill cites the impact table by its current name.
    • Step 2 is split into bullets, so the credential rule (cite by file:symbol, never quote the value) stands on its own line.

Note: CHANGELOG.md and the plugin manifests still read 3.4.0; this release was tagged without a version-bump commit.

Full Changelog: v3.4.0...v3.5.0