OpenCrab Ontology — Drewgent 9-Space Mapping

OpenCrab의 9-space ontology를 Drewgent 7-layer subsumption architecture에 매핑한 문서.

9 Spaces (OpenCrab)

SpaceRoleDrewgent LayerEnforcement
identityCore identity and self-modelP5-ego, P1-limbicP5 Override P1
claimPlans, incidents, strategic assertionsP6-prefrontalHigh priority
conceptIdeas, principles, knowledgeP4-cortex/knowledgePattern-based
policyAbsolute rules (FORBIDDEN/GUARD)P0-brainstemP0 overrides all
workflowStep-by-step proceduresP4-cortex/growth (protocol)Execution path
resourceMemory, sessions, persistent stateP2-hippocampusContext window
resolverContext routing tablesP3-sensors/resolverOn-demand load
outcomeGateway, tools, skills, resultsP3-sensorsExecution layer
growthGrowth patterns, learning, plansP4-cortex/growthEvolution track

Type Taxonomy

Drewgent의 document type taxonomy (OpenCrab-inspired):

TypeUsed inDescription
indexrules.md, SKILL-INDEX.md, SCHEMA.mdRegistry / hub document
identitySOUL.md, SELF_MODEL.mdCore self description
policy.neuron files in P0FORBIDDEN/GUARD rules
workflowINTEGRATION_PROTOCOL.mdMulti-step procedures
guidewriting-style-guide.md, KANBAN-USER-GUIDE.mdHow-to documents
plangrowth-2026.md, implementation plansPlanning documents
incidentcron-job-failure-20260518.mdIncident reports
reportstabilization_report.md, path-integrity-*.mdStatus/analysis reports
conceptNEURONFS_RULES.md, architecture-dataflow.mdConceptual explanations
reviewKANBAN-REVIEW-20260520.md, garry-tan-*-review.mdEvaluation documents
resolverRESOLVER.mdContext routing table
schemaSCHEMA.mdData/memory schema
templateKANBAN_INCIDENT_TEMPLATE.mdReusable templates
protocolcron-self-healing-protocol.mdProtocol definitions
principleobsidian-vault-site-principle.mdArchitectural principles
document(default)Generic documents

P-Layer → Space Mapping

P0-brainstem  → space: policy   (all .neuron files)
P1-limbic     → space: identity  (SOUL, writing-style, persona)
P2-hippocampus → space: resource (memories, sessions, kanban state)
P3-sensors    → space: outcome   (gateway, tools, skills)
P3-sensors    → space: resolver  (RESOLVER.md only)
P4-cortex     → space: growth   (growth/, knowledge/, plans/)
P5-ego        → space: identity  (SELF_MODEL, config)
P6-prefrontal → space: claim    (plans, incidents, strategy)

Exemptions (No OpenCrab schema)

These directories are exempt from ontology injection because their content is externally sourced or auto-generated:

  • P2-hippocampus/memories/insights/ — monthly log, scraped content
  • P2-hippocampus/memories/concepts/ — knowledge wiki
  • P2-hippocampus/memories/entities/ — user/entity pages (already have schema)
  • P2-hippocampus/knowledge/seo-articles/ — scraped SEO content (heritage frontmatter preserved)
  • P3-sensors/cron/output/ — auto-generated cron job outputs
  • P0-brainstem/_agent/MEMORY/archive/ — old session archives

Runtime Injection (Prompt Builder)

When the agent loads P-layer documents, space/type metadata is used to inject awareness:

SPACE_GUIDANCE = {
    "policy":   "이 문서는 절대 규칙입니다. FORBIDDEN/GUARD 구조를 enforcement합니다.",
    "identity": "이 문서는 Drewgent의 정체성입니다. voice와 tone에 영향을 줍니다.",
    "resolver": "이 문서는 컨텍스트 라우팅 테이블입니다. 키워드 매칭에 사용됩니다.",
    "growth":   "이 문서는 성장 패턴입니다. 학습과 패턴 인식에 사용됩니다.",
    "resource": "이 문서는 리소스입니다. 메모리/세션 관련 정보입니다.",
    "outcome":  "이 문서는 결과/출력물입니다. gateway, tools, skills 관련입니다.",
    "concept":  "이 문서는 개념입니다. 설명과 분석에 사용됩니다.",
    "claim":    "이 문서는 주장입니다. 계획과 사고에 사용됩니다.",
}

Obsidian Graph Cluster Behavior

With OpenCrab ontology applied:

  • space: policy cluster — P0-brainstem rules, tightly interconnected
  • space: identity cluster — SOUL, SELF_MODEL, writing-style
  • space: growth cluster — plans, protocols, reviews
  • space: resource cluster — memories, SCHEMA, kanban index

Each cluster is visually separated in Obsidian graph view while maintaining cross-cluster wikilinks.

Heritage Content Preservation

SEO articles with existing heritage: true frontmatter are preserved unchanged. Their metadata (source_url, keyword, 신뢰도 등급, etc.) is kept as-is. Only non-heritage P-layer files receive space/type injection.


Generated by Drewgent — 2026-05-20 (OpenCrab ontology full rollout)