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.1 KiB
5.1 KiB
id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, inferred_by, tech_stack, applied_in
| id | title | category | status | canonical_id | aliases | duplicate_of | source_trust_level | confidence_score | verification_status | tags | raw_sources | last_reinforced | github_commit | inferred_by | tech_stack | applied_in | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wiki-2026-0508-adr-0001-project-chronicle-indep | ADR-0001: Project Chronicle as Independent Module | 10_Wiki/Topics | verified | self |
|
none | A | 0.9 | applied |
|
2026-05-09 | pending | Claude Opus 4.7 (manual cleanup 2026-05-09) |
|
|
ADR-0001: Project Chronicle as Independent Module
📌 한 줄 통찰 (The Karpathy Summary)
Project Chronicle (planning / decision / log / bug / retro 의 record) 의 chat / agent 와 분리 module 로 implement. SoC 의 적용 — 매 chat / agent 의 regression 의 risk 의 감소.
📖 구조화된 지식 (Synthesized Content)
Status
Accepted (2026-05-02).
Context
- 매 새 feature: project planning, Q, decision, dev log, bug, retro 의 record.
- 매 existing chat / agent system 의 model interaction + agent skill manage.
- 매 새 feature 의 mix vs separate 의 결정.
Decision
Project Chronicle Guard 의 separate module under src/features/projectChronicle.
Reason (왜 separate?)
- Regression risk ↓: chat / agent 의 active code path 의 untouched.
- Independent test: 매 module 의 own test suite.
- Independent deploy: 매 module 의 disable 가능.
- Clear ownership: 매 team 의 own area.
- DDD bounded context: chronicle 의 own model / vocabulary.
- Future evolution: 매 module 의 self-contained → easier extract / refactor.
Alternatives considered
- Embed in agent: chat 의 agent skill 의 추가. Reject: regression 위험 + complexity ↑.
- External service: separate process / container. Reject: deployment overhead.
- Plugin: dynamic load. Reject: complexity premature.
Consequences
Positive:
- Chat / agent 의 stable.
- 매 chronicle 의 independent iterate.
- Test isolation.
Negative:
- Cross-module communication 의 explicit.
- 매 boundary 의 maintain cost.
- 매 user 의 module-aware.
Implementation
src/features/projectChronicle/
├── domain/ # Plan, Decision, Log, Bug, Retro
├── application/ # ChronicleService
├── infrastructure/ # File / DB
├── api/ # Webview / command
└── index.ts # Public API
→ Hexagonal-ish 의 매 boundary.
Module 의 public API
// src/features/projectChronicle/index.ts
export { ChronicleService } from './application/ChronicleService';
export { Plan, Decision, Log } from './domain';
// 매 다른 module 의 use:
import { ChronicleService } from '@/features/projectChronicle';
💻 패턴 (Code)
Domain model
// domain/Plan.ts
export class Plan {
constructor(
public id: string,
public title: string,
public goals: string[],
public createdAt: Date,
public status: 'draft' | 'active' | 'done'
) {}
}
Service
// application/ChronicleService.ts
export class ChronicleService {
constructor(private store: ChronicleStore) {}
async createPlan(input: PlanInput): Promise<Plan> {
const plan = new Plan(uuid(), input.title, input.goals, new Date(), 'draft');
await this.store.savePlan(plan);
return plan;
}
}
Wire-up (extension.ts)
import { ChronicleService } from './features/projectChronicle';
export function activate(context: vscode.ExtensionContext) {
const chronicleService = new ChronicleService(new FileChronicleStore(context));
context.subscriptions.push(
vscode.commands.registerCommand('chronicle.createPlan', async () => {
const plan = await chronicleService.createPlan({...});
vscode.window.showInformationMessage(`Plan ${plan.id} created`);
})
);
}
🤔 의사결정 기준 (Decision Criteria)
| 새 feature 의 추가 시 | 추천 |
|---|---|
| 매 existing module 의 minor extension | Embed |
| 매 distinct domain | Separate module |
| 매 risk of regression | Separate |
| 매 independent lifecycle | Separate |
| 매 team boundary | Separate |
기본값: 매 distinct domain = separate module.
🔗 지식 연결 (Graph)
🤖 LLM 활용 힌트
언제 사용: 매 새 feature 의 architecture 의 결정. 매 modular boundary 의 example.
언제 X: 매 small bugfix. 매 prototype.
❌ 안티패턴
- Embed everything: monolith 의 regression.
- Module 의 cross-private access: SoC violation.
- Module 의 own DB without need: over-engineer.
🧪 검증 / 중복
- Verified (applied to Antigravity).
- 신뢰도 A (project's own ADR).
- Related: ADR-0002+ (다른 module).
🕓 Changelog
| 날짜 | 변경 | 처리 | 신뢰도 |
|---|---|---|---|
| 2026-05-08 | Phase 1 정규화 | UPDATE | A |
| 2026-05-09 | Manual cleanup — 매 ADR section + code + 결정 기준 | UPDATE | A |