Skip to content
Katabench
Try free

Contracts Don't Depend Back

Hard About 40 min Katabench Pro

The stable shared-contracts module depends back on a volatile feature to build a label. Invert the arrow without changing what Describe returns, and don't just drag the feature's service into the contract.

The full brief is part of Katabench Pro

Pro opens this kata's brief, its starter code and its grader. To see how the track works first, try Break the Checkout Cycle, which is free.

How it is graded

You work across multiple files, and architecture rules turn the design boundaries into executable feedback.

C# architecture exercises →

What it practices

Stable dependencies
Stable kernels and contracts must not depend on volatile features.
Dependency inversion
Point dependencies at abstractions the core owns, never at outer mechanisms.

Related katas