Files
2nd/10_Wiki/Topics/Domain_Programming/Architecture/Software Architecture Knowledge Management (소프트웨어 아키텍처 지식 관리).md
T
Antigravity Agent c24165b8bc refactor(topics): 멀티 에이전트용 지식 재편 — _Common(공통 기본기) + Domain_* 구조
에이전트 8종(대화형/프로그래머 C·S/디자이너/설계자/기획자/QA/PD/PM)에게
[공통 기본 능력 + 롤별 Specialty] 2층으로 지식을 주입하기 위한 재분류.
문서 내용·포맷은 무수정, 폴더 이동만 (6,372개 문서 수 보존 확인).

- Topic_Programming → Domain_Programming (내부 구조 보존)
- Topic_Graphic → Domain_Design
- Topic_Business → Domain_Product
- Topic_General → Domain_General
- _Common 신설: Math(구 Topic_Math_Specialty), Reasoning(구 General/From_Thinking & Reasoning),
  Reasoning_Creativity(구 General/From_창의성), Communication(Poetic_Blog_Writing + From_writing)
- 타 도메인의 From_* 폴더는 유지 (출처 표기일 뿐, 이미 도메인에 맞게 분류된 문서)
- 빈 폴더 정리 (memory/procedures)
- 에이전트→폴더 매핑은 workspace의 .astra/agent-knowledge-map.json (9개 에이전트)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 11:05:56 +09:00

5.3 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-software-architecture-knowledge- Software Architecture Knowledge Management (소프트웨어 아키텍처 지식 관리) 10_Wiki/Topics verified self
SAKM
Architecture Knowledge Management
AKM
none A 0.85 applied
architecture
knowledge-management
documentation
governance
2026-05-10 pending
language framework
markdown backstage

Software Architecture Knowledge Management (소프트웨어 아키텍처 지식 관리)

매 한 줄

"매 architectural knowledge 의 codify, share, retain — turnover 와 erosion 의 against.". 매 SAKM 의 ADR + arc42 doc 보다 매 broader — 매 design rationale, tradeoff, alternatives, lessons-learned 의 organizational memory 로 capture. 매 2026 LLM-augmented retrieval (Backstage + RAG) 의 era 에서 매 "ask the architecture" 의 가능.

매 핵심

매 knowledge types (Bosch & Jansen)

  • Application generic — domain knowledge, tech stack rationale.
  • Application specific — this-project decisions, constraints.
  • Tacit — engineer brain, undocumented reasoning.
  • Explicit — ADR, diagrams, doc.

매 SAKM activities

  • Capture (ADR, retrospective, RFC).
  • Share (wiki, talks, brown-bag).
  • Retain (versioned repo, search index).
  • Use (decision input, onboarding).
  • Evolve (deprecation, supersedes link).

매 응용

  1. Backstage TechDocs + RAG ask-bot.
  2. ADR with supersedes graph for decision evolution.
  3. Onboarding from architecture playbook.
  4. Post-incident rationale retention.
  5. M&A knowledge transfer.

💻 패턴

Backstage TechDocs site

# catalog-info.yaml
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: orders-service
  annotations:
    backstage.io/techdocs-ref: dir:.
spec:
  type: service
  lifecycle: production
  owner: orders-team

ADR with supersedes graph

# ADR-0042: Use Postgres
**Status:** Superseded by [ADR-0091](./0091-cockroachdb.md)
**Date:** 2026-01-15

## Context
...

## Decision
Postgres 16 + logical replication.

---

# ADR-0091: Migrate to CockroachDB
**Status:** Accepted
**Supersedes:** [ADR-0042](./0042-postgres.md)
**Date:** 2026-05-01

RAG over architecture corpus

from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings
from langchain.chat_models import ChatAnthropic

docs = load_markdown_dir('./docs/architecture/')
vectorstore = Chroma.from_documents(docs, OpenAIEmbeddings())
retriever = vectorstore.as_retriever(search_kwargs={'k': 6})

llm = ChatAnthropic(model='claude-opus-4-7')
chain = create_retrieval_chain(retriever, llm)
chain.invoke({'input': 'why did we choose postgres for orders service?'})

Decision retrospective template

# Decision Retrospective: ADR-0042 (Postgres)

## Outcomes (12 months later)
- Met expected throughput: ✅
- Sharding ceiling hit: ✅ (earlier than predicted)
- Migration cost estimate: $X actual vs $Y predicted

## What we'd do differently
- Pilot CockroachDB earlier (proxy: ADR-0091 supersedes).

Knowledge graph (architecture entities)

// Neo4j architecture knowledge graph
CREATE (a:ADR {id: '0042', title: 'Postgres'})
CREATE (b:ADR {id: '0091', title: 'CockroachDB'})
CREATE (b)-[:SUPERSEDES]->(a)
CREATE (s:Service {name: 'orders'})
CREATE (s)-[:USES]->(:Tech {name: 'CockroachDB'})
CREATE (s)-[:DECIDED_BY]->(b)

RFC process (lightweight)

# RFC-0017: Move to event-sourcing for orders

**Status:** Discussion (review by 2026-06-01)
**Author:** @alice
**Stakeholders:** orders-team, platform

## Problem
...
## Proposal
...
## Alternatives
...
## Migration plan
...

Architecture review board (ARB) cadence

## ARB Charter
- Weekly 1h review slot
- ADR draft must circulate 48h pre-meeting
- Outcomes recorded in ADR + linked to RFC if applicable
- Quorum: 3/5 architects

매 결정 기준

상황 Approach
Per-decision capture ADR with supersedes link
Searchable corpus Backstage + RAG
Cross-team knowledge RFC process + ARB
Tacit → explicit Retro + interview transcripts
Org-scale Knowledge graph (Neo4j)

기본값: ADR repo + Backstage TechDocs + RAG search + ARB weekly + retro every 6 months.

🔗 Graph

🤖 LLM 활용

언제: corpus indexing, ADR retrieval, "why did we...?" Q&A, gap analysis. 언제 X: confidential M&A pre-close — RAG isolation 필요.

안티패턴

  • Confluence rot: 매 page edit 권한 too-broad → stale.
  • No supersedes link: 매 contradict ADR 의 coexist → confusion.
  • Tacit-only: 매 senior leave → knowledge evaporate.

🧪 검증 / 중복

  • Verified (Bosch & Jansen "Software Architecture as a Set of Architectural Design Decisions", Spotify Backstage docs).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — SAKM activities, Backstage+RAG, ADR supersedes, RFC/ARB