Files
KArtSell.Aegis/docs/LEGACY/v11/01_ARCHITECTURE_FITNESS_FUNCTIONS.md
T
kjh2064 5dfb8f3e12
ci / backend (push) Failing after 1s
ci / static (push) Failing after 6s
ci / frontend (push) Failing after 5s
refactor: Reorganize docs folder structure for clarity and version management (PR 3c)
Reorganize documentation following AGENTS.md v16.0 governance (traceability, reproducibility):

Structure changes:
- CURRENT/ (new)
  ├─ 00~08.md (v16.0 standards, renamed for clarity)
  └─ CATALOGS/ (9 CSV files: WBS, decision log, debt register, matrices, catalogs)

- LEGACY/ (new, read-only archives)
  ├─ v11/ (original baseline + hardening analysis)
  ├─ v12~v15/ (.gitkeep + README for future archiving)

- DECISIONS/ (new, ready for ADR usage)
- TEMPLATES/ (existing, unchanged)

Deletions (consolidated into CURRENT/):
- v16_0/ folder (files migrated)
- hardening/ folder (contents → LEGACY/v11/)
- Root-level v11 files (00~07.md, CSV)

Renames (for clarity):
- 00_EXECUTIVE_REFERENCE_IMPLEMENTATION.md → 00_EXECUTIVE.md
- 01_BRUTAL_ROLE_AUDIT.md → 01_ROLE_AUDIT.md
- 02_FRONTEND_ADAPTER_CRUD_STANDARD.md → 02_FE_ADAPTER.md
- 03_BACKEND_DATA_SCHEDULER_STANDARD.md → 03_BE_DATA.md
- 04_ALGORITHM_MODEL_GOVERNANCE.md → 04_ALGORITHM.md
- 05_PROCESS_VIBE_DEBT_CONTROL.md → 05_PROCESS_VIBE_DEBT.md
- 06_VALIDATION_TRUTH.md → 06_VALIDATION.md
- 07_PACKAGE_ATTACHMENT_POLICY.md → 07_PACKAGE_POLICY.md

Updates:
- docs/INDEX.md (complete rewrite with navigation)
- LEGACY/ folders with README + .gitkeep

Benefits:
 Clear version management (v16.0 is active, v11~v15 read-only)
 No version mixing in root
 CURRENT/ as single point of reference for active docs
 CATALOGS/ consolidates all data matrices
 LEGACY/ preserves history without clutter
 Traceability: decision log, tech debt, WBS all linked
 DECISIONS/ ready for ADR pattern (future use)

Sync with root:
- CLAUDE.md references: docs/CURRENT/, docs/INDEX.md 
- AGENTS.md references: docs/CURRENT/, traceability 
- README.md: Document guide links updated 

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-02 05:49:29 +09:00

25 lines
1.3 KiB
Markdown

# Architecture Fitness Functions
| ID | 자동 검사 | 차단 기준 |
|---|---|---|
| AF-01 | Module project reference graph | 승인되지 않은 역방향 의존 1건 |
| AF-02 | 다른 모듈 schema 직접 SQL 참조 | 1건 |
| AF-03 | Domain project의 Npgsql/Hangfire/HTTP 참조 | 1건 |
| AF-04 | `DateTime.Now/UtcNow` 직접 사용 | 승인 예외 외 1건 |
| AF-05 | `SELECT *` | 1건 |
| AF-06 | Generic Repository/God Service 명명·크기 | 1건 또는 기준 초과 |
| AF-07 | Modules 내부 `AllowAnonymous` | 1건 |
| AF-08 | Evidence/Decision/Audit immutable trigger | 누락 1건 |
| AF-09 | DbUp fresh/upgrade/re-run | 실패 |
| AF-10 | PIT `published_at <= cutoff` contract test | 실패 |
| AF-11 | Dataset+Code+Config 동일 replay hash | 100% 미만 |
| AF-12 | command/job/order duplicate | 0 초과 |
| AF-13 | Outbox/Inbox retry and poison replay | 실패 |
| AF-14 | Algorithm Golden/boundary/property | 실패 |
| AF-15 | Reentry calendar/stage/expiry/new cycle | 실패 |
| AF-16 | FE server state duplicated in Pinia | 탐지 1건 |
| AF-17 | FE ProblemDetails/409/422/429/503 common handling | 누락 |
| AF-18 | Role/state Playwright journeys | 실패 |
| AF-19 | Secret/PII scan | Critical 1건 |
| AF-20 | Release Evidence Pack completeness | 누락 1건 |