Skip to content

v0.3.0 — Python architecture stack + stack registry

Choose a tag to compare

@davidteren davidteren released this 15 Jun 14:57
· 12 commits to main since this release
34ae7fa

The architecture lens (5th lens) now audits Python services in addition to Rails — FastAPI-first, but the structural checks apply to any layered Python service. A new stack registry makes every future language/framework a data-only addition.

Added

  • Python architecture stackpython-architecture.md (8 smells: fat-router, god-module, god-object, misused-service, business-logic-in-schema, fat-dependency, layer-leak, law-of-demeter) + python.yaml (13-pattern catalog) + a python.* threshold namespace. Dogfooded read-only on a real FastAPI service (healthy, near-zero false positives).
  • Stack registry (references/stack-catalog.md) — one source of truth for stack detection + which packs each loads. The lens, the skills, and a stack-aware /ie-init read it, so adding a stack is two data files + a catalog row, not skill edits.
  • Stack-aware /ie-init — scaffolds only the detected stack's threshold namespace + pattern policy.

Changed

  • check-contracts.rb — §8 cross-references generalized to every stack; new §10 enforces stack-registry consistency. 67 → 75 checks.

Roadmap

Queued architecture stacks (research-first, drop into the registry): PHP/Laravel (next), Express/Node, Elixir/Phoenix, React.

Full changelog: https://github.com/davidteren/intent-engineering/blob/main/CHANGELOG.md