Skip to content

v0.0.6

@chughtapan chughtapan tagged this 07 May 05:24
Architecture rule family promoted to recommended at curated severity, with
schema-driven options and file-header directive suppression.

Highlights:
- 15 architecture rules in recommended (8 errors + 8 warns) covering folder
  cycles, public package surface, type leaks, and layered/domain hygiene.
- BREAKING: allowance options (publicTypePackages, infrastructureTypePackages,
  allowedPublicSubpaths, allowedTestPublicSubpaths, sharedFolderNames) now
  require structured {value, reason} objects, not bare strings. The schema
  rejects bare strings at config time so every architectural exception
  carries a written reason.
- File-header directive suppression for per-file exceptions:
    // @agent-code-guard/architecture-exception: <rule-id>
    // reason: <text>
- Always-on architecture-directive-parse-error rule surfaces malformed
  directives so they cannot silently fail to suppress.
- Test suite hardened from 566 to 635 tests, including property-based
  coverage of the schema and directive parser.

See CHANGELOG.md for full notes.
Assets 2
Loading