- Hybrid BM25 + HNSW vector search with context enrichment - Knowledge graph with entities, relations, and community detection - Host-following LLM route with fallback backends - 3-tier lint system (static + HNSW dup + contradiction detection) - Q&A Synthesis (Karpathy LLM Wiki pattern) - 16 MCP tools for agent-driven workflows - Incremental wiki generation with checkpointing - SQLite-backed item store with FTS5 + vector indexes
2.8 KiB
2.8 KiB
볼트 스키마
디렉토리 구조
{vault}/
├── SCHEMA.md # 이 파일 (컨벤션 문서)
├── index.md # 세션 인덱스
├── log.md # 작업 로그
├── overview.md # 전체 요약 (AI 생성)
│
├── raw/ # ← 불변 원본
│ └── mempalace/
│ ├── infrastructure/
│ │ ├── server-config/
│ │ │ └── abc123.md
│ │ └── network-topology/
│ │ └── def456.md
│ ├── projects/
│ │ └── project-beta/
│ │ └── ghi789.md
│ └── ...
│
├── wiki/ # ← AI 생성 정리본
│ ├── projects/
│ │ └── project-beta.md
│ ├── topics/
│ │ └── fsrs-algorithm.md
│ ├── decisions/
│ │ └── 2026-04-15-nestjs-circular-deps.md
│ ├── people/
│ │ └── sisters.md
│ ├── infrastructure/
│ │ └── server-cluster.md
│ └── guides/
│ └── deployment-workflow.md
│
└── graph/
└── graph.json # KG 내보내기
frontmatter 스키마
raw/ 마크다운 (MemPalace 서랍)
---
type: drawer
source: mempalace
wing: {wing_name}
room: {room_name}
drawer_id: {unique_id}
created: "YYYY-MM-DD"
agent: {sister_name}
tags: [tag1, tag2]
---
# [{wing} / {room}]
{서랍 원본 내용 그대로}
wiki/ 마크다운 (AI 생성)
---
type: wiki
category: projects|topics|decisions|people|infrastructure|guides
title: 페이지 제목
created: "YYYY-MM-DD"
updated: "YYYY-MM-DD"
sources: [drawer_id_1, drawer_id_2] # 참조한 원본
tags: [tag1, tag2]
status: draft|stable|archived
agent: {생성한 agents}
---
# {제목}
{AI가 정리한 내용}
index.md
---
type: index
vault_path: /path/to/vault
last_updated: "YYYY-MM-DDTHH:mm:ss"
---
# Wiki Index
## Recent
- [[raw/mempalace/infrastructure/server-config/abc123|Server 설정]] — contributor, 2026-04-15
- [[wiki/infrastructure/server-cluster|Server 클러스터 구성]] — 2026-04-15
log.md
---
type: log
---
# Sync Log
| 시간 | 작업 | 대상 | 결과 |
|------|------|------|------|
| 2026-04-15 13:00 | ingest | mempalace → raw | +5 drawers |
| 2026-04-15 13:01 | wiki | raw → wiki | +2 pages |
파일 명명 규칙
- raw/:
{drawer_id}.md(ID 기반, 변경 불가) - wiki/:
{kebab-case-title}.md(주제 기반, 사람이 읽을 수 있게) - 디렉토리: 영어 소문자 + 하이픈
백링크 규칙
- wiki/ 페이지 간:
[[페이지 제목]]또는[[경로/페이지|표시 텍스트]] - wiki → raw:
[[raw/mempalace/{wing}/{room}/{id}|표시 텍스트]] - overview.md에서 모든 wiki/ 페이지 링크