Files
2nd/CLEANUP_SPEC.md
T

149 lines
3.2 KiB
Markdown

# Wiki Cleanup Format Spec (Shared)
매 agent가 batch cleanup 작업 시 이 spec를 따른다.
## 목적
`/Volumes/Data/project/Antigravity/Wiki/10_Wiki/Topics/AI_and_ML/` 의 placeholder 파일을 substantive content로 교체.
## 공통 작업 흐름
1. `Read` (limit=3) — 기존 frontmatter id 확인 + 파일 존재 검증.
2. `Write` — 새 content 전체 작성.
3. 한 메시지 안에서 여러 Write를 batch (parallel).
## FULL cleanup 포맷 (150-250 lines)
```markdown
---
id: wiki-2026-0508-<existing-slug-from-original>
title: <Title>
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: [<alias1>, <alias2>]
duplicate_of: none
source_trust_level: A
confidence_score: 0.9
verification_status: applied
tags: [<tag1>, <tag2>]
raw_sources: []
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: <lang>
framework: <framework>
---
# <Title>
## 매 한 줄
> **"매 <one-line core insight>"**. <2-3 sentence elaboration covering origin, modern state, key application>.
## 매 핵심
### 매 <subsection 1>
- bullet
- bullet
### 매 <subsection 2>
- ...
### 매 응용
1. App 1.
2. App 2.
## 💻 패턴
### <Pattern name 1>
```<lang>
// real working code (not pseudocode)
```
### <Pattern 2>
```<lang>
// ...
```
(5-10 patterns total)
## 매 결정 기준
| 상황 | Approach |
|---|---|
| ... | ... |
**기본값**: <recommended default>.
## 🔗 Graph
- 부모: [[Parent1]] · [[Parent2]]
- 변형: [[Variant1]] · [[Variant2]]
- 응용: [[App1]] · [[App2]]
- Adjacent: [[Adj1]] · [[Adj2]]
## 🤖 LLM 활용
**언제**: <when to use>.
**언제 X**: <when not to use>.
## ❌ 안티패턴
- **Anti1**: explanation.
- **Anti2**: ...
## 🧪 검증 / 중복
- Verified (<authoritative source>).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — <1-line summary> |
```
## REDIRECT 포맷 (~25 lines)
```markdown
---
id: wiki-2026-0508-<slug>
title: <Title>
category: 10_Wiki/Topics
status: duplicate
canonical_id: <canonical-slug>
duplicate_of: "[[Canonical-Title]]"
aliases: []
source_trust_level: A
confidence_score: 0.9
verification_status: redirected
tags: [duplicate, <topic>]
last_reinforced: 2026-05-10
github_commit: pending
---
# <Title>
> **이 문서는 [[Canonical-Title]] 의 중복본입니다.** Canonical 문서로 redirect.
## 핵심 요약 (specialization aspects, optional)
- bullet
- bullet
## 🔗 Graph
- 부모: [[Canonical-Title]] (canonical)
## 🕓 변경 이력
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | 중복 처리 — canonical 문서로 redirect |
```
## Style 규칙
- **매 prefix**: `매` (Korean topic marker) — 매 section header / first phrase에 사용. 의도된 house style.
- **언어 mix**: Korean + technical English. 매 자연스러운 mix.
- **코드 quality**: 매 진짜 working code. 매 pseudocode 아님.
- **modern state**: 매 2026 perspective — 매 latest libraries (vLLM, MLX, Claude Opus 4.7, GPT-5, FLUX, Llama 3.x).
- **Graph links**: 매 [[Wikilink]] format — 매 actually-existing canonical title 의 사용.
## 출력 규칙
- Agent 작업 완료 후 짧게 보고: count + failures only.
- 매 content dump 의 X.