- Models interpret intent and meaning.
- Code controls execution and state.
- Model calls must be isolated to a single layer.
- State must have a single source of truth.
- The CLI must not contain business logic.
- Type definitions are required.
- JSON validation must be enforced.
- Errors must be handled explicitly.
- Define interfaces first.
- Keep pull requests small.
- Reach agreement before changing schemas.
- Minimize token usage.
- Eliminate duplication.
- Execute only the work that is necessary.
- Using model outputs without validation ❌
- Changing schemas arbitrarily ❌
- Managing duplicated state ❌
The model interprets, and the code controls.