원칙 2 · Structural Consistency

Consistent File Structures — Predictively Locate

디렉토리 hierarchy를 표준화 — agent가 "어디에 두지?"를 묻지 않고 예측적으로 정확한 자리에 둔다
"Standardizing directory hierarchies so the agent can predictively locate and generate files."
디렉토리 hierarchy를 표준화 — agent가 파일을 예측적으로 찾고 생성할 수 있도록.
최상위 · 도메인 모듈
src/
├── payment/ ← 결제는 항상 여기
├── auth/ ← 인증은 항상 여기
├── user/ ← 사용자는 항상 여기
├── billing/ ← 청구 도메인
└── notification/ ← 알림 도메인
모듈별 · 동일 레이아웃
src/payment/
├── index.ts ← public API
├── handlers/ ← request handler
├── services/ ← business logic
├── repositories/ ← data access
└── __tests__/ ← test
새 기능 추가 시 agent가 이 표준 구조를 predict해서 정확한 자리에 둔다 — 일관성이 50%에서 100%로 수렴