Lukas Niessen

Results issues of Lukas Niessen

## In short Only one small 'adapter' module should import the AI SDKs (openai, anthropic, …); everything else uses your own interface. That keeps the app testable and lets you...

enhancement

## In short Business logic that calls the clock, randomness, environment variables, or the network directly is hard to test and unpredictable. This bans those calls in the domain layer...

enhancement

## In short Your core business logic shouldn't import web frameworks, ORMs, or do raw IO. This fails if a domain module imports things like `flask`, `sqlalchemy`, or `requests`. ##...

enhancement

## In short A one-line preset for classic Clean Architecture layering: inner business logic must not depend on outer layers (web framework, database). Fails if, say, an entity imports a...

enhancement

## In short Extra whole-project 'how tangled is everything' scores (standard numbers like CCD/ACD you can trend over time or compare to an ideal), on top of the per-file metrics...

enhancement

## In short Sometimes what a class *is* matters more than where it lives. This targets classes by their base class / Protocol / ABC — e.g. 'anything subclassing `Repository`...

enhancement

## In short Today rules are about whole modules/files. This lets you write rules about the members inside them — functions, methods, attributes — e.g. 'every public function in the...

enhancement

## In short In Python many things are marked with decorators (`@dataclass`, `@app.route`, `@inject`). Today rules can only match by path or name; this lets a rule target decorated things...

enhancement

## In short A package should be used through its front door (its `__init__`/`__all__`), not by reaching into its internal files. This fails when someone writes `from mypkg.internal.thing import X`...

enhancement

## In short Say three feature modules should never import each other. Today you'd write a separate rule for every pair. This lets you say it once: 'these modules are...

enhancement