diff --git a/AGENTS.md b/AGENTS.md index d677d2b5..40a6bd71 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -93,6 +93,7 @@ All work in this repository MUST follow `docs/CURRENT/WBS_EXECUTION_PROCEDURES.m - Model operation automation stops at evaluation/proposal. Model activation is human change approval only. - J39 and every new schedule remain disabled until their source, calendar, ownership and alert contracts are approved. - Never claim .NET, pnpm, PostgreSQL, Playwright or Shadow evidence passed unless the actual artifact is attached. +- **[CRITICAL IRON RULE] Viewport-Fit Zero-Scroll Layout**: Except for analytical dashboards, ALL workstation screens MUST fit 100% within the initial viewport upon loading WITHOUT page-level window scrolling. All primary grids, forms, and control panels must automatically calculate `height: calc(100vh - header/tabs)` and handle internal scrolling inside containers. ## v16.0 Gitea API & CI/CD Automation @@ -351,10 +352,12 @@ Every task — code change, refactor, new feature, tooling, infrastructure — m - [ ] **Maturity:** 임시방편 아닌가? Contract/schema/test 먼저 했는가? - [ ] **Right Way:** Shortcut (--no-verify, force) 안 썼는가? 근본 해결했는가? - [ ] **Debt:** 새로운 debt 만들지 않는가? 기존 debt 감축하는가? +- [ ] **Viewport Fit (UI):** 대시보드를 제외한 모든 업무 화면이 페이지 스크롤 없이 초기 로딩 시 100% 한눈에 들어오는가? ### Anti-Patterns (금지) - ❌ "일단 만들고 나중에 리팩터" → Feature 초기부터 정공법 +- ❌ "페이지에 창 스크롤바가 생기게 방치" → 대시보드 제외 모든 업무 화면은 Viewport-Fit Zero-Scroll 필수 - ❌ "혹시 필요할까봐 추상화" → Necessity-driven만 - ❌ SELECT * / Generic Repository → Explicit columns, explicit logic - ❌ "이건 작은 변경이라 테스트 스킵" → 모든 경로 characterize