Files
2nd/10_Wiki/Topic_Programming/Architecture/Mental_Models.md
T
Antigravity Agent 9148c358d0 docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
2026-07-05 00:33:48 +09:00

5.7 KiB
Raw Blame History

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-mental-models Mental Models 10_Wiki/Topics verified self
멘탈 모델
Cognitive Models
Thinking Frameworks
none A 0.9 applied
thinking
decision-making
productivity
learning
2026-05-10 pending
language framework
na cognitive

Mental Models

매 한 줄

"매 model 은 reality 의 simplified map — 매 right model 은 right decision.". Mental model 은 매 사람이 세계를 이해하기 위해 head 안에 가진 representation. Charlie Munger 가 매 popularize — 매 multidisciplinary toolkit 으로 매 50-100 개의 model 을 갖추면 매 cross-domain reasoning 가능. 매 engineering, 매 product, 매 AI prompt 설계에 매 직접 적용.

매 핵심

매 종류 (engineering 관련)

  • First Principles: 매 가정 분해, 매 fundamental physics/math 부터 reason.
  • Inversion: 매 "어떻게 fail 할까" 부터 시작.
  • Second-order thinking: 매 직접 결과 + 매 그 다음 결과까지.
  • Occam's Razor: 매 simplest explanation 우선.
  • Hanlon's Razor: 매 stupidity 가 malice 보다 매 흔하다.
  • Pareto (80/20): 매 20% 의 cause 가 매 80% 의 effect.

매 system thinking

  • Feedback loop: reinforcing (snowball) vs balancing (thermostat).
  • Stock & flow: state vs rate of change.
  • Leverage point: 매 small change → 매 large outcome (Donella Meadows).

매 decision-making

  • Expected value: 매 probability × payoff.
  • Regret minimization (Bezos): "매 80세에 후회 안 할 결정?"
  • Reversible vs one-way door: 매 undo 가능 → 빠르게 결정.
  • OODA loop: Observe-Orient-Decide-Act (Boyd).

매 learning

  • Feynman technique: 매 12살에게 설명할 수 있을 때까지.
  • Spaced repetition: 매 forgetting curve 와 싸움 (Anki, SuperMemo).
  • Deliberate practice: 매 edge of competence + immediate feedback.

💻 패턴

First Principles 적용 (engineering)

문제: "DB query 가 느림"

❌ Analogical: "다른 팀은 cache 추가했음 → 우리도"

✅ First Principles:
  1. Query latency = network + parse + plan + execute + return
  2. 측정 → execute 가 95%
  3. EXPLAIN → seq scan on 10M rows
  4. Index → 20ms (was 2000ms)

→ Cache 는 매 next step (further reduction), 매 root cause 해결 후.

Inversion (debugging)

"매 system 을 빠르게 만들 방법?"
→ "매 system 을 느리게 만드는 모든 방법?"
   - N+1 query
   - Sync 호출 in tight loop
   - Memory leak → GC pause
   - Lock contention
   - Network round-trip
→ 매 list 를 거꾸로 읽으면 optimization checklist.

Second-order (product)

1차: "Feature X 추가 → user 늘어남"
2차: "user 늘어남 → support load 늘어남, infra cost 늘어남,
       기존 user 의 UX complexity 늘어남"
3차: "complexity → churn → 결국 user 감소 가능"

→ 매 1차만 보면 매 false positive.

Pareto 적용 (LLM eval)

# 80% of bugs from 20% of prompts
from collections import Counter
errors = load_eval_failures()
patterns = Counter([categorize(e) for e in errors])
top_20pct = patterns.most_common(int(len(patterns) * 0.2))
# → fix top 20% categories first → 80% of failures resolved

Reversible decision matrix

| Decision           | Reversible? | Stakes | Approach           |
|--------------------|-------------|--------|--------------------|
| Library choice     | Yes (refactor) | Low | Pick + iterate     |
| Database schema    | Hard (migration) | High | Design carefully   |
| Hire               | No (mostly) | High | Slow, multiple sigs|
| Production rename  | Yes (alias) | Med  | Pick + monitor     |

Feynman technique (learning a concept)

1. Pick concept (e.g., "Mark-Sweep GC")
2. Write down what you know — in plain language
3. Identify gaps where you used jargon
4. Go back to source (paper, doc), fill gap
5. Simplify until a 12-year-old understands
→ 매 gap exposure 가 매 핵심.

매 결정 기준

상황 Model
새 architecture 설계 First Principles
Postmortem Inversion ("어떻게 fail?")
Product decision Second-order, Reversibility
Roadmap prioritization Pareto, Expected Value
Learning new domain Feynman
여러 conflicting view Steelman 후 weighted

기본값: 매 small but diverse toolkit (10-15 models) 을 매 active recall — 매 50개 다 외우기보다 매 right one 을 right time 에 reach.

🔗 Graph

🤖 LLM 활용

언제: complex problem 분해, multi-stakeholder decision, 새 domain learning, prompt 설계 (LLM 에게 model 명시 → 매 reasoning quality 상승). 언제 X: trivial / well-trodden problem — 매 over-thinking 의 risk.

안티패턴

  • One-model thinking (Munger's "man with a hammer"): 매 모든 문제를 매 favorite model 로 — 매 distortion.
  • Analogical 만: 매 "X 회사가 했으니 우리도" — 매 first principles 무시.
  • Model 수집만: 매 50개 외우지만 매 active 사용 X — 매 deliberate practice 필요.
  • Confirmation bias 와 결합: 매 favored model 로 매 cherry-pick.

🧪 검증 / 중복

  • Verified (Munger "Poor Charlie's Almanack", Kahneman "Thinking Fast & Slow", Meadows "Thinking in Systems", Bezos shareholder letters).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — engineering 중심 mental model toolkit