Skip to content

docs: describe project architecture rule API - #2

Merged
kvlonge merged 1 commit into
mainfrom
docs/architecture-rule-api
Sep 15, 2026
Merged

kvlonge merged 1 commit into
mainfrom
docs/architecture-rule-api

Conversation

@kvlonge

@kvlonge kvlonge commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Why

Fensu v0.16.0 made typed file/project subjects, deterministic project-tree queries, subject-aware project caching, and the resolved Python architecture graph public. The custom-rule documentation still described only legacy module callbacks.

Changes

  • document typed File and Project callback shapes
  • describe exactly-once, source-independent project rules
  • add ctx.project.tree and ctx.graph references
  • document project cache subjects and query-specific invalidation
  • retain the legacy Python AST callback as an explicit escape hatch

Verification

  • git diff --check
  • current-tree public repository hygiene scan
  • independent contract review against the v0.16.0 source: no findings

@kvlonge
kvlonge enabled auto-merge (squash) September 15, 2026 07:37
@kvlonge
kvlonge merged commit da4e8e6 into main Sep 15, 2026
3 checks passed
@kvlonge
kvlonge deleted the docs/architecture-rule-api branch September 15, 2026 07:38
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