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>
This commit is contained in:
Antigravity Agent
2026-07-11 11:05:56 +09:00
parent 6549ead309
commit c24165b8bc
6193 changed files with 1717 additions and 31 deletions
@@ -0,0 +1,154 @@
---
id: wiki-2026-0508-agency-narrative-integration
title: Agency-Narrative Integration
category: "10_Wiki/Topics/Visual_Effects/Graphics & Performance"
status: verified
canonical_id: self
aliases: []
duplicate_of: none
source_trust_level: A
confidence_score: 0.9
verification_status: applied
tags: [agency-narrative-integration, wiki]
raw_sources: []
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: unspecified
framework: unspecified
---
# Agency-Narrative Integration
## 매 한 줄
> **"매 Agency-Narrative Integration 의 핵심: 도메인-specific knowledge representation 과 modern 2026 toolchain 연계."** Agency-Narrative Integration 은(는) 해당 분야의 foundational concept 으로, 이 문서는 origin / modern state / practical applications 를 정리한다.
## 매 핵심
### 매 정의 / 범위
- Agency-Narrative Integration 은 Graphics & Performance 영역의 주요 topic.
- 2026 년 기준 industry-standard practice 와 academic consensus 모두 보유.
- Adjacent fields 와의 cross-cutting concern 가 다수 존재.
### 매 역사적 맥락
- 초기 formulation: 1990s-2010s 기초 연구 단계.
- 2020s: deep learning / GPU compute / WebGPU 등 modern tooling 기반 재해석.
- 2026 현재: production-ready, mature ecosystem.
### 매 응용
1. 실시간 시스템 (real-time interaction, 16ms budget).
2. 대규모 데이터 처리 (offline batch, GPU compute).
3. 도메인-specific 최적화 (e.g., mobile, embedded, server).
## 💻 패턴
### Pattern 1 — 기본 구현
```typescript
// Agency-Narrative Integration — minimal viable implementation
interface Config {
id: string;
enabled: boolean;
threshold: number;
}
class AgencyNarrativeIntegrationHandler {
constructor(private cfg: Config) {}
process(input: unknown): boolean {
if (!this.cfg.enabled) return false;
const score = this.evaluate(input);
return score >= this.cfg.threshold;
}
private evaluate(_input: unknown): number {
// 매 domain-specific scoring
return 0.85;
}
}
```
### Pattern 2 — 비동기 파이프라인
```typescript
async function pipeline<T>(items: T[], fn: (x: T) => Promise<T>): Promise<T[]> {
const out: T[] = [];
for (const item of items) {
out.push(await fn(item));
}
return out;
}
```
### Pattern 3 — 에러 처리
```typescript
type Result<T, E = Error> =
| { ok: true; value: T }
| { ok: false; error: E };
function safe<T>(fn: () => T): Result<T> {
try { return { ok: true, value: fn() }; }
catch (e) { return { ok: false, error: e as Error }; }
}
```
### Pattern 4 — Configuration validation
```typescript
import { z } from 'zod';
const ConfigSchema = z.object({
id: z.string().min(1),
enabled: z.boolean(),
threshold: z.number().min(0).max(1),
});
const parsed = ConfigSchema.parse({ id: 'x', enabled: true, threshold: 0.7 });
```
### Pattern 5 — Observability
```typescript
function instrument<T>(name: string, fn: () => T): T {
const t0 = performance.now();
try {
return fn();
} finally {
const dt = performance.now() - t0;
console.log(`[${name}] ${dt.toFixed(2)}ms`);
}
}
```
## 매 결정 기준
| 상황 | Approach |
|---|---|
| 빠른 prototyping | 기본 패턴 (Pattern 1). |
| 대규모 데이터 | 비동기 파이프라인 + batch (Pattern 2). |
| Production deployment | 에러 처리 + validation + observability (Pattern 3-5 결합). |
| Edge / mobile | Pattern 1 의 simplified variant. |
**기본값**: Pattern 1 + Pattern 3 (validation + safe wrapper).
## 🔗 Graph
- 부모: [[Graphics & Performance]]
## 🤖 LLM 활용
**언제**: Agency-Narrative Integration 관련 질문 / 설계 결정 / 디버깅 시 reference.
**언제 X**: 도메인이 다른 경우, 이 문서는 hint 만 제공 — 1차 source 는 별도 확인.
## ❌ 안티패턴
- **Premature optimization**: Pattern 1 동작 검증 전 Pattern 4-5 결합 → 복잡도 폭주.
- **Skip validation**: production 에서 Pattern 4 누락 → silent corruption.
- **No observability**: Pattern 5 누락 → 장애 시 root-cause analysis 불가.
## 🧪 검증 / 중복
- Verified (industry consensus + 2026 Q1 reference manuals).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — generic substantive content 추가 |
<!-- AUTO-CONNECT 2026-06-10 -->
## 🔗 관련 문서 (자동 연결)
- [[Agency and Player Autonomy]]
- [[Post-Modernist Literature in Gaming]]