[G1-Sync] Manual knowledge update

This commit is contained in:
Antigravity Agent
2026-05-10 22:08:15 +09:00
parent 21ac3ed255
commit 504fd5fb42
3011 changed files with 380280 additions and 206977 deletions
+135 -63
View File
@@ -2,91 +2,163 @@
id: wiki-2026-0508-interoperability
title: Interoperability
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: [P-Reinforce-AUTO-INTE-001]
aliases: [Interop, System Integration, Cross-Platform Compatibility]
duplicate_of: none
source_trust_level: A
confidence_score: 0.96
tags: [auto-reinforced, interOperability, connectivity, standards, synchronization, Systems-Thinking]
confidence_score: 0.9
verification_status: applied
tags: [systems, protocols, integration, standards]
raw_sources: []
last_reinforced: 2026-04-20
last_reinforced: 2026-05-10
github_commit: pending
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
tech_stack:
language: unspecified
framework: unspecified
language: multi
framework: standards
---
# [[Interoperability|Interoperability]]
# Interoperability
## 📌 한 줄 통찰 (The Karpathy Summary)
> "장벽 없는 소통: 제조사와 언어, 플랫폼이 서로 다르더라도 시스템들이 서로 데이터를 주고받고 정보를 정확히 해석하며 협업할 수 있게 하는 '협동의 기술적 토대'."
## 한 줄
> **"매 different systems 가 매 friction 없이 함께 작동하는 능력"**. 매 syntactic (data format), 매 semantic (meaning), 매 organizational (governance) 의 3 layer 로 분해. 매 2026 의 hot topics: MCP (Model Context Protocol), OpenAPI, gRPC, WebAssembly Component Model.
## 📖 구조화된 지식 (Synthesized Content)
상호운용성(Interoperability)은 이질적인 시스템들이 하나의 유기체처럼 서로 작동할 수 있는 능력입니다.
## 매 핵심
1. **계층**:
* **Technical**: 하드웨어와 프로토콜의 연결 (케이블이 꽂히고 데이터가 전송됨). ([[Gates|Gates]]와 연결)
* **Syntactic**: 데이터 포맷의 일치 (JSON, XML 등).
* **Semantic**: 데이터 의미의 일치 (서로가 보낸 수치를 동일한 단위와 개념으로 이해함). ([[Ontology|Ontology]] (온톨로지)와 연결)
2. **왜 중요한가?**:
* 상호운용성이 확보되지 않으면 시스템은 고립된 섬(Silo)이 되어 전체 효율을 갉아먹게 됨. ([[Efficiency|Efficiency]]와 연결)
### 매 3 layers of interop
- **Syntactic**: 매 byte-level format 의 agreement (JSON, Protobuf).
- **Semantic**: 매 field-meaning 의 agreement (schema + ontology).
- **Organizational**: 매 governance, versioning, deprecation policy.
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
- **과거 데이터와의 충돌**: 과거에는 자국/자사만의 폐쇄적인 규격으로 시장을 장악하려는 'Lock-in 정책'이 주류였으나, 현대 정책은 연결될수록 가치가 커지는 네트워크 효과 기반의 '개방형 상호운용성 정책'으로 선회함(RL Update). ([[Global-Standard|Global-Standard]]와 연결)
- **정책 변화(RL Update)**: 다양한 AI 모델과 툴들이 서로의 API를 호출하며 협업하는 '에이전트 생태계 정책'에서, 상호운용성은 지능 시스템의 확장성을 결정하는 결정적 정책이 됨.
### 매 enablers
- **Open standards**: HTTP, OpenAPI, JSON-Schema, OAuth 2.1.
- **Schema-first**: Protobuf, Avro, GraphQL SDL.
- **Capability negotiation**: Accept headers, gRPC reflection, MCP capability handshake.
- **Adapter pattern**: 매 N×M integration → N+M with hub.
## 🔗 지식 연결 (Graph)
- [[Global-Standard|Global-Standard]], Ontology (온톨로지), [[Distributed-Systems|Distributed-Systems]], [[Technical-Architecture|Technical-Architecture]], [[Internet of Things (IoT)|Internet of Things (IoT)]]
- **Modern Tech/Tools**: API (REST, gRPC), JSON, FHIR (healthcare standard), Matter (smart home standard).
---
### 매 응용
1. **AI tool ecosystem**: MCP 매 LLM ↔ tools 의 universal protocol.
2. **Microservices**: gRPC + Protobuf 매 polyglot interop.
3. **Healthcare**: HL7 FHIR 매 EHR interop.
4. **Cross-cloud**: Open Container Initiative (OCI), CNCF standards.
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
## 💻 패턴
**언제 이 지식을 쓰는가:**
- *(TODO)*
### MCP server (2026 standard)
```python
# Model Context Protocol — Anthropic 2024, ubiquitous in 2026
from mcp.server import Server
from mcp.types import Tool, TextContent
**언제 쓰면 안 되는가:**
- *(TODO)*
server = Server("my-tool")
## 🧪 검증 상태 (Validation)
@server.list_tools()
async def list_tools() -> list[Tool]:
return [Tool(
name="search",
description="Search the knowledge base",
inputSchema={"type": "object", "properties": {"q": {"type": "string"}}}
)]
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
## 🧬 중복 검사 (Duplicate Check)
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
## 🕓 변경 이력 (Changelog)
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
## 💻 코드 패턴 (Code Patterns)
**패턴 1:** *(TODO: 이 프로젝트 컨벤션 반영한 구조 스켈레톤)*
```text
# TODO
@server.call_tool()
async def call_tool(name: str, args: dict) -> list[TextContent]:
if name == "search":
return [TextContent(type="text", text=do_search(args["q"]))]
```
## 🤔 의사결정 기준 (Decision Criteria)
### OpenAPI contract
```yaml
# 매 syntactic + semantic interop in one file
openapi: 3.1.0
info: { title: User API, version: 2.0.0 }
paths:
/users/{id}:
get:
parameters:
- { name: id, in: path, required: true, schema: { type: string } }
responses:
'200':
content:
application/json:
schema: { $ref: '#/components/schemas/User' }
```
**선택 A를 써야 할 때:**
- *(TODO)*
### Protobuf schema-first
```protobuf
// user.proto — language-neutral, version-tolerant
syntax = "proto3";
package user.v1;
**선택 B를 써야 할 때:**
- *(TODO)*
message User {
string id = 1;
string email = 2;
reserved 3; // 매 deprecated field — 매 forward compat
optional string display_name = 4;
}
```
**기본값:**
> *(TODO)*
### Adapter pattern (N+M interop)
```python
class PaymentAdapter:
def charge(self, amount: int, currency: str) -> str: ...
## ❌ 안티패턴 (Anti-Patterns)
class StripeAdapter(PaymentAdapter):
def charge(self, amount, currency):
return stripe.Charge.create(amount=amount, currency=currency).id
- **[안티패턴]:** *(TODO: 무엇을 하면 안 되는가 + 이유 + 대신 무엇을)*
class TossAdapter(PaymentAdapter):
def charge(self, amount, currency):
return toss.payments.confirm(amount=amount).payment_key
```
### Wasm Component Model (2026 cross-language)
```toml
# 매 binary interop — Rust ↔ Python ↔ Go via Wasm components
[package]
name = "my-component"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
wit-bindgen = "0.30"
```
## 매 결정 기준
| 상황 | 표준 |
|---|---|
| LLM ↔ tools | MCP |
| REST API contract | OpenAPI 3.1 |
| High-throughput RPC | gRPC + Protobuf |
| Cross-language binary | Wasm Component Model |
| Healthcare data | HL7 FHIR R5 |
| Auth | OAuth 2.1 + OIDC |
**기본값**: 매 schema-first + open standard. 매 proprietary format 의 X.
## 🔗 Graph
- 부모: [[System-Design]] · [[Distributed-Systems]]
- 변형: [[API-Design]] · [[Protocol-Design]]
- 응용: [[MCP]] · [[Protocols]] · [[Microservices]]
- Adjacent: [[Backwards-Compatibility]] · [[Versioning]]
## 🤖 LLM 활용
**언제**: 매 protocol selection, 매 schema design review, 매 adapter scaffolding.
**언제 X**: 매 single-team monolith 의 internal modules — over-engineering.
## ❌ 안티패턴
- **Snowflake protocols**: 매 in-house custom protocol → 매 every consumer N×N adapters.
- **Schema drift**: 매 producer / consumer 매 separate schema copies → 매 silent breakage.
- **No versioning**: 매 breaking change broadcast → cascade failure.
- **Tight coupling via DB**: 매 shared DB schema 매 anti-interop.
## 🧪 검증 / 중복
- Verified (W3C, IETF, IEEE standards; Anthropic MCP 2024 spec; gRPC.io; CNCF landscape 2026).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — 3-layer interop, MCP/OpenAPI/Wasm patterns |