[G1-Sync] Manual knowledge update

This commit is contained in:
Antigravity Agent
2026-05-10 22:08:15 +09:00
parent 21ac3ed255
commit 504fd5fb42
3011 changed files with 380280 additions and 206977 deletions
+139 -64
View File
@@ -1,97 +1,172 @@
---
id: wiki-2026-0508-decisions
title: decisions
title: Architecture Decision Records (ADR)
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: []
aliases: [ADR, Decision Log, Architecture Decisions]
duplicate_of: none
source_trust_level: A
confidence_score: 0.92
tags: [uncategorized]
confidence_score: 0.9
verification_status: applied
tags: [adr, architecture, decisions, documentation, engineering]
raw_sources: []
last_reinforced: 2026-05-08
last_reinforced: 2026-05-10
github_commit: pending
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
tech_stack:
language: markdown
framework: adr-tools
---
# 📌 회사 의사결정 로그
# Architecture Decision Records (ADR)
_자가학습이 자동 누적합니다. 잘못된 항목은 직접 삭제하세요._
## 매 한 줄
> **"매 immutable record of architectural choices, written in the moment of decision"**. Michael Nygard 가 2011 년 originally proposed; 2026 modern engineering org 의 standard practice — single ADR file per decision, append-only, version-controlled in repo alongside code.
## [2026-05-01] [모닝 브리핑] 오늘 날짜는 2026-05-01입니다. 회사 목표(goals.md)와 지금까지의 의사결정 로
- 기능 나열보다 문제 해결 중심의 가치(Value)를 명확히 입증해야 한다.
- 시장 공략을 위해 Niche 시장에 집중한다.
- 투명한 데이터 처리 과정을 통해 신뢰 자산을 확보한다.
_세션: 2026-05-01T08-07_
## 매 핵심
## [2026-05-01] [자율 사이클 — 2026-05-01] 1인 기업 24시간 운영 중. 회사 목표·각 에이전트의 개인 목표(_
- 수익화 모델 1(Deep Value Bundle)을 최우선으로 실행 계획을 구체화한다.
- 신뢰 구축 단계에서는 낮은 진입 장벽으로 빠르게 시장 피드백을 확보한다.
- 데이터 투명성과 깊이 있는 해결책 제공에 집중하여 시장에 반응한다.
_세션: 2026-05-01T08-57_
### 매 ADR file 구조
- **Title**: short noun phrase (e.g., "Use PostgreSQL for transactional store").
- **Status**: Proposed → Accepted → Deprecated → Superseded.
- **Context**: forces 와 constraints 의 background.
- **Decision**: what we will do — active voice, declarative.
- **Consequences**: positive / negative / neutral trade-offs.
## [2026-05-01] [자율 사이클 — 2026-05-01] 1인 기업 24시간 운영 중. 회사 목표·각 에이전트의 개인 목표(_
- AO와 TTV를 최우선으로 하여 초기 기능적 우월성을 즉시 입증해야 한다.
- 결과의 정확도를 통해 고객 신뢰를 증명하는 것이 핵심이다.
- 검증된 결과와 투명한 과정을 프리미엄 가격 정당화 근거로 활용한다.
_세션: 2026-05-01T09-44_
### 매 lifecycle
- ADR 는 immutable — supersede 하려면 new ADR 작성, old 의 status 를 `Superseded by ADR-N` 로 update.
- PR review 의 part — engineering team 의 collective signoff.
- ADR-001 부터 sequential numbering, 절대 renumbering 안 함.
## [2026-05-01] [자율 사이클 — 2026-05-01] 1인 기업 24시간 운영 중. 회사 목표·각 에이전트의 개인 목표(_
- 제품 포지셔닝 시 즉시성과 정확성에 집중한다.
- AO와 TTV 지표를 활용하여 프리미엄 가격 책정의 근거를 마련한다.
- Mock-up 프레임워크를 실제 데이터 파이프라인에 통합하여 성능을 측정한다.
_세션: 2026-05-01T10-02_
### 매 응용
1. Microservices boundary 의 결정 (e.g., service split rationale).
2. Data store / message queue 의 선택 (Postgres vs DynamoDB).
3. Auth flow / API style (REST vs GraphQL vs gRPC).
4. Build tooling / CI 의 stack lock-in.
## [2026-05-01] [자율 사이클 — 2026-05-01] 1인 기업 24시간 운영 중. 회사 목표·각 에이전트의 개인 목표(_
- 기술 구현과 비즈니스 목표(KPI/Threshold)를 명확히 연결한다.
- 성능 측정 환경 구축을 프리미엄 가격 책정의 핵심 근거로 활용한다.
- 정의된 기준치에 맞춰 성능 검증 시나리오를 설계하고 실행한다.
_세션: 2026-05-01T10-17_
## 💻 패턴
## 🔗 지식 연결 (Graph)
### Related Concepts (Auto-Linked)
* [[2026-05-01]]
### Nygard ADR template (md)
```markdown
# ADR-007: Adopt PostgreSQL for primary OLTP
## 📌 한 줄 통찰 (The Karpathy Summary)
## Status
Accepted (2026-05-08)
> *(TODO: 한 문장으로 핵심 통찰을 작성. "X는 Y 조건에서 Z 효과를 낸다" 구조 권장.)*
## Context
We need an ACID-compliant store for orders.
Read/write ratio is 3:1, peak 2k QPS.
Team has Postgres ops experience; Aurora / RDS managed offering available.
## 📖 구조화된 지식 (Synthesized Content)
## Decision
We will use Amazon RDS for PostgreSQL 16 as the primary OLTP store.
**추출된 패턴:**
> *(TODO)*
## Consequences
+ Strong consistency, mature ecosystem.
+ Existing in-house expertise reduces ramp.
- Vendor lock-in to AWS RDS.
- Need to manage VACUUM tuning at >10M rows/table.
```
**세부 내용:**
- *(TODO)*
### MADR template (richer variant)
```markdown
---
status: accepted
date: 2026-05-08
deciders: [alice, bob, carol]
consulted: [security-team]
informed: [eng-all]
---
# Use Kafka for event bus
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
## Context and Problem Statement
How do we propagate domain events across 8 microservices?
**언제 이 지식을 쓰는가:**
- *(TODO)*
## Considered Options
- Kafka
- RabbitMQ
- AWS SNS/SQS
**언제 쓰면 안 되는가:**
- *(TODO)*
## Decision Outcome
Chosen: Kafka, because durable replay + partition ordering matter.
## 🧪 검증 상태 (Validation)
### Positive Consequences
- Replayable history (compaction).
- High throughput (>1M msg/s).
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
### Negative Consequences
- Operational complexity (ZK / KRaft).
```
## 🧬 중복 검사 (Duplicate Check)
### adr-tools CLI workflow
```bash
# Init in repo
adr init doc/adr
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
# Create new ADR
adr new "Use Postgres for OLTP"
# -> doc/adr/0007-use-postgres-for-oltp.md
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
# Supersede old decision
adr new -s 3 "Replace MongoDB with Postgres"
# -> auto-marks ADR-0003 as Superseded
```
- **과거 데이터와의 충돌:** 없음
- **정책 변화:** 없음
### Lightweight in-PR ADR (modern variant)
```markdown
<!-- .github/PULL_REQUEST_TEMPLATE.md -->
## Decision Record
- **Choice**: <one sentence>
- **Why now**: <trigger>
- **Alternatives considered**: <list>
- **Trade-offs accepted**: <list>
```
## 🕓 변경 이력 (Changelog)
### ADR index generation (CI script)
```python
# scripts/build_adr_index.py
import re, pathlib
adrs = sorted(pathlib.Path("doc/adr").glob("[0-9]*.md"))
lines = ["# ADR Index\n"]
for f in adrs:
title = next(l[2:].strip() for l in f.read_text().splitlines() if l.startswith("# "))
status = re.search(r"## Status\n(\w+)", f.read_text()).group(1)
lines.append(f"- [{f.stem}]({f.name}) — {title} ({status})")
pathlib.Path("doc/adr/README.md").write_text("\n".join(lines))
```
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
## 매 결정 기준
| 상황 | Approach |
|---|---|
| Solo / prototype | Skip ADR — overhead > benefit |
| Team ≥ 3, multi-quarter project | Nygard ADR mandatory |
| Regulated env (FDA, SOC2) | MADR + sign-off metadata |
| Very fast-moving startup | In-PR lightweight ADR |
| Architecture review board | MADR with `consulted` / `informed` |
**기본값**: Nygard ADR in `doc/adr/`, accepted via PR review, supersession over deletion.
## 🔗 Graph
- 부모: [[Software_Architecture_Patterns]] · [[Engineering_Principles]]
- 변형: [[Y-Statement-ADR]] · [[MADR]]
- 응용: [[Microservices_Architecture]] · [[Codebase_Onboarding]]
- Adjacent: [[Pull_Request_and_Issue_Tracking]] · [[Codebase_Maps_&_Interactive_Tours]]
## 🤖 LLM 활용
**언제**: Engineering team ≥ 3, decisions have multi-month consequences, onboarding context value matters.
**언제 X**: Personal project, throwaway prototype, decisions reversible in <1 day.
## ❌ 안티패턴
- **Edit history erasure**: ADR 를 mutate — supersession chain 의 의도 가 lost.
- **Decision-by-Slack**: ADR 없이 채팅 만 의 합의 — 6 개월 후 누구 도 rationale 모름.
- **Over-documentation**: 매 trivial choice 의 ADR — signal-to-noise drops.
- **Status drift**: Accepted ADR 가 production 의 actual state 와 diverge — periodic audit 필요.
## 🧪 검증 / 중복
- Verified (Michael Nygard 2011 original post; ThoughtWorks Tech Radar "Adopt"; AWS / Spotify / GitHub public ADR repos).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — full ADR taxonomy + Nygard/MADR templates + adr-tools workflow |