9148c358d0
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 폴더 제거.
5.9 KiB
5.9 KiB
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-event-storming | Event Storming | 10_Wiki/Topics | verified | self |
|
none | A | 0.92 | applied |
|
2026-05-10 | pending |
|
Event Storming
매 한 줄
"매 sticky-note 의 도메인 의 explosion". Alberto Brandolini 의 2013 invent, 매 domain experts + devs 의 한 방 (혹은 Miro/FigJam) 에 모여 매 orange sticky note (domain event) 의 timeline 의 plot. 매 2026 의 매 distributed workshop tool (Miro AI, FigJam AI) 의 매 LLM-assisted aggregation 의 standard.
매 핵심
매 sticky note color convention
- 🟧 Orange — Domain Event (past tense — "OrderPlaced", "PaymentReceived").
- 🟦 Blue — Command (intent — "PlaceOrder", "RefundPayment").
- 🟨 Yellow — Actor / Persona.
- 🟪 Purple — Policy / Reactive logic ("when X then Y").
- 🟩 Green — Read Model / View.
- 🟥 Red / Pink — Hotspot / Issue (매 unclear / disagreement).
- ⬜ White — Aggregate (매 consistency boundary).
- 🟫 Brown — External system.
매 3 levels
- Big Picture — 매 entire business — 매 chaos exploration, 매 hours.
- Process Level — 매 한 process flow — 매 commands / policies / read models.
- Design Level — 매 aggregate / bounded context — 매 implementation 의 input.
매 step-by-step (Big Picture)
- Chaotic exploration — 매 모두 orange events 의 plaster.
- Timeline — 매 left → right 의 sort.
- Pivotal events — 매 phase boundary 의 mark.
- Hotspot identification — 매 red sticky 의 disagreement.
- Bounded context — 매 swimlane 의 split.
매 응용
- Greenfield DDD design — 매 aggregate / bounded context discovery.
- Legacy understanding — 매 domain knowledge 의 surface.
- Microservice decomposition — 매 service boundary 의 inform.
💻 패턴
Pattern 1: Miro-export → JSON event log
interface DomainEvent {
id: string;
name: string; // PascalCase past tense
timestamp: number; // 매 column index
aggregate?: string;
triggeredBy?: string; // command id
hotspots: string[];
}
const events: DomainEvent[] = [
{ id: "e1", name: "OrderPlaced", timestamp: 1, aggregate: "Order",
triggeredBy: "c1", hotspots: [] },
{ id: "e2", name: "PaymentReceived", timestamp: 2, aggregate: "Payment",
triggeredBy: "c2", hotspots: ["partial-payment-policy"] },
];
Pattern 2: Event → TypeScript event type
// 매 sticky 의 code 의 transition
export type OrderEvent =
| { type: "OrderPlaced"; orderId: string; items: Item[]; placedAt: Date }
| { type: "OrderPaid"; orderId: string; paymentId: string }
| { type: "OrderShipped"; orderId: string; trackingNo: string }
| { type: "OrderCancelled"; orderId: string; reason: string };
Pattern 3: Policy as code
// Purple sticky: "When OrderPaid then schedule shipment"
function onOrderPaid(e: Extract<OrderEvent, {type:"OrderPaid"}>) {
shipmentService.schedule({ orderId: e.orderId });
}
eventBus.on("OrderPaid", onOrderPaid);
Pattern 4: Aggregate boundary check
// 매 white sticky 의 invariant
class OrderAggregate {
private events: OrderEvent[] = [];
place(items: Item[]) {
if (items.length === 0) throw new Error("empty order");
this.events.push({ type: "OrderPlaced", orderId: this.id, items, placedAt: new Date() });
}
// 매 모든 mutation 의 매 event 의 emit.
}
Pattern 5: Bounded context map (Mermaid)
flowchart LR
subgraph Sales
Order
Cart
end
subgraph Billing
Payment
Invoice
end
subgraph Logistics
Shipment
end
Order -- "OrderPlaced" --> Payment
Payment -- "OrderPaid" --> Shipment
Pattern 6: AI-assisted event extraction (2026)
// 매 transcript / Miro export → event suggestions
const prompt = `From this user interview, extract domain events (PascalCase past tense),
commands, and hotspots. Output JSON matching: { events:[], commands:[], hotspots:[] }.
Interview: ${transcript}`;
const result = await claude.messages.create({
model: "claude-opus-4-7",
max_tokens: 4000,
messages: [{ role: "user", content: prompt }],
});
매 결정 기준
| 상황 | Approach |
|---|---|
| Greenfield complex domain | Big Picture → Process → Design |
| Legacy reverse engineering | Big Picture only |
| Microservice split | Process Level + bounded context |
| Small CRUD app | Skip — overkill |
| Distributed team | Miro / FigJam + AI summarizer |
기본값: 매 complex domain 시 Big Picture (4 hours), 매 implementation 직전 Design Level.
🔗 Graph
- 응용: Bounded Context · CQRS
- Adjacent: Event Sourcing · User-Story-Mapping · C4 Model (Architecture Documentation)
🤖 LLM 활용
언제: 매 domain discovery, 매 microservice boundary 의 find, 매 onboarding 의 understanding. 언제 X: 매 trivial CRUD, 매 well-known domain (e.g., todo app).
❌ 안티패턴
- Tech-first sticky: 매 "INSERT INTO orders" — 매 domain event 의 X.
- Present tense: 매 "PlaceOrder" 의 event 의 X — 매 command.
- No business expert: 매 dev-only — 매 EventStorming purpose 의 lost.
- Skip hotspot: 매 red sticky 의 ignore — 매 가장 valuable disagreement.
- Premature aggregate: 매 Big Picture 에서 white sticky 의 too early.
🧪 검증 / 중복
- Verified (Brandolini "Introducing EventStorming" book 2021, DDD Europe talks).
- 신뢰도 A.
🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — sticky color + 3 levels + AI-assisted |