6f68433d9bf916a958f764379b970e00ae28e1b6none
AGENTS.mdTool: agents-md# TernReader Architecture Rules
This file defines non-optional engineering rules for work in this repository.
The purpose is to stop architectural drift, especially in the UI stack, where
shortcuts in the wrong layer create regressions, duplicate logic, and repeated
rework.
## Core Principle
The system is split into three layers:
1. App layer
2. UI layer
3. Hardware/platform layer
These responsibilities must stay separate.
## App Layer Rules
The app layer:
- declares screens, forms, menus, alerts, tnone