[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
@@ -2,69 +2,135 @@
id: wiki-2026-0508-logic-trees
title: Logic Trees
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: [c3e4f5a6-b7d8-4901-2e3f-4a5b6c7d8e9f]
aliases: [Logic-Tree, Issue-Tree, Decision-Tree-Reasoning]
duplicate_of: none
source_trust_level: A
confidence_score: 1.0
tags: [logic-tree, issue-tree, hypothesis-tree, Problem-Solving, structuring]
confidence_score: 0.9
verification_status: applied
tags: [reasoning, problem-solving, mece, consulting, structured-thinking]
raw_sources: []
last_reinforced: 2026-04-27
github_commit: "[[P-Reinforce|P-Reinforce]]-logic"
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: markdown
framework: unspecified
---
# [[Logic Trees|Logic Trees]]
# Logic Trees
## 📌 한 줄 통찰 (The Karpathy Summary)
> 논리 트리는 거대한 문제를 원자 단위의분해하여 연구 로드맵을 시각화하고 업무의 중복을 원천 차단하는 문제 해결의 지도다.
## 한 줄
> **"매 문제를 MECE쪼개라"**. McKinsey식 hypothesis-driven problem solving의 매 핵심 도구로, 매 root question을 mutually exclusive·collectively exhaustive subquestions으로 분할한다. 2026 LLM agent의 chain-of-thought planner와 매 동형(同形).
## 📖 구조화된 지식 (Synthesized Content)
- **추출된 패턴:** 거시적 문제 선언문에서 미시적 실행 방안으로의 계층적 분해.
- **주요 유형:**
- **[[Issue Tree|Issue Tree]]:** "무엇이 문제인가?"를 중심으로 전체 상황을 [[MECE|MECE]]하게 해체하여 작업 범위(Workstreams)를 획정.
- **[[Hypothesis Tree|Hypothesis Tree]]:** "이것이 해결책인가?"라는 가설에서 시작하여 이를 증명하기 위한 데이터와 분석 단위를 설계.
- **구축 원칙:**
- **Hierarchical Inte[[Grit|Grit]]y:** 하단으로 갈수록 구체성이 높아지며, 각 계층은 상위 계층을 논리적으로 증명해야 함.
- **Trimming Branches:** 가치가 낮은 옵션은 조기에 배제하여 분석의 효율성 극대화.
- **수평적 논리 ([[Horizontal Logic|Horizontal Logic]]):** 그룹 내 아이디어들이 연역적 또는 귀납적인 명확한 논리 순서를 따라야 함.
## 매 핵심
## 🔗 지식 연결 (Graph)
- **Parent:** Logic & Reasoning
- **Related:** [[MECE Principle|MECE Principle]], Business Problem Solving, [[Deductive & Inductive Reasoning|Deductive & Inductive Reasoning]]
- **Raw Source:** 00_Raw/Issue Tree, 00_Raw/Hypothesis Tree, 00_Raw/Horizontal and Vertical Logic
### 매 종류
- **Why-tree (diagnostic)**: 매 root cause 분석 — "왜?"를 5번 반복.
- **How-tree (solution)**: 매 목표 달성 방법 분해.
- **What-tree (descriptive)**: 매 system component 분류.
---
*Last updated: 2026-04-27*
### 매 구성 원칙
- **MECE**: 매 가지가 서로 겹치지 않고 (ME) 매 합쳐서 전체 (CE).
- **Same-level abstraction**: 매 형제 노드는 same granularity.
- **Hypothesis-driven**: 매 leaf에 매 testable hypothesis.
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
### 매 응용
1. Consulting case interview (McKinsey, BCG, Bain).
2. Root cause analysis (5 Whys, Fishbone).
3. Product strategy (revenue tree: price × volume).
4. LLM agent task decomposition.
**언제 이 지식을 쓰는가:**
- *(TODO)*
## 💻 패턴
**언제 쓰면 안 되는가:**
- *(TODO)*
### Markdown logic tree
```markdown
- Root: 왜 매출이 감소했나?
- 가격 하락? (Hypothesis 1)
- 평균 단가 추이 확인
- 할인율 변화 확인
- 거래량 감소? (Hypothesis 2)
- 신규 고객 수
- 재구매율
- 믹스 변화? (Hypothesis 3)
- 카테고리별 비중
```
## 🧪 검증 상태 (Validation)
### Revenue tree (Python dataclass)
```python
from dataclasses import dataclass
@dataclass
class RevenueTree:
revenue: float
price: float
volume: int
@classmethod
def decompose(cls, rev, p, v):
assert abs(rev - p * v) < 1e-6
return cls(rev, p, v)
```
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
### LLM agent decomposition prompt
```python
prompt = """
Decompose this problem into a MECE logic tree (depth=3).
Each leaf must be a testable hypothesis.
Problem: {problem}
Output: nested JSON with {hypothesis, subnodes, test_method}.
"""
```
## 🧬 중복 검사 (Duplicate Check)
### Tree validator (MECE check)
```python
def is_mece(children, total):
coverage = sum(c.share for c in children)
overlap = any(set(a.scope) & set(b.scope)
for a, b in itertools.combinations(children, 2))
return abs(coverage - 1.0) < 0.01 and not overlap
```
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
### Issue tree → Gantt
```python
def tree_to_tasks(node, owner=None):
tasks = []
if not node.children:
tasks.append({"task": node.q, "owner": owner})
for c in node.children:
tasks.extend(tree_to_tasks(c, owner=c.owner))
return tasks
```
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
## 매 결정 기준
| 상황 | Tree type |
|---|---|
| 문제 진단 | Why-tree |
| 해결책 설계 | How-tree |
| 시스템 이해 | What-tree |
| LLM agent plan | How-tree (with tools) |
- **과거 데이터와의 충돌:** 없음
- **정책 변화:** 없음
**기본값**: Hypothesis-driven Why-tree (depth 3-4).
## 🕓 변경 이력 (Changelog)
## 🔗 Graph
- 부모: [[Mental Models]] · [[Mutually Exclusive and Collectively Exhaustive (MECE)]]
- 변형: [[Issue Tree]] · [[Decision Theory]] · [[Fault-Tree-Analysis]]
- 응용: [[Root-Cause-Analysis]] · [[LLM-Agent-Planning]] · [[5-Whys]]
- Adjacent: [[Pyramid-Principle]] · [[Hypothesis-Driven-Development]]
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
## 🤖 LLM 활용
**언제**: Open-ended problem decomposition, agent task planning, structured analysis.
**언제 X**: Tightly coupled problems with no clean partition (use system dynamics).
## ❌ 안티패턴
- **Non-MECE branches**: 매 overlap 또는 gap.
- **Symptom tree**: 매 root cause 도달 전에 멈춤.
- **Boil-the-ocean**: 매 prioritization 없이 매 leaf 다 조사.
## 🧪 검증 / 중복
- Verified (Minto "The Pyramid Principle"; Rasiel "The McKinsey Way").
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — Logic tree taxonomy + agent integration |