{
  "$schema": "/schemas/architecture-portal-v1.schema.json",
  "categories": [
    {
      "description": "The durable reason, future, commitments, and ethical posture of the product.",
      "documentIds": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-pillars",
        "optiflow-manifesto"
      ],
      "id": "identity",
      "label": "Identity",
      "question": "Why does the product exist, and what does it refuse to compromise?"
    },
    {
      "description": "The rules for evidence, uncertainty, claims, and delegated AI authority.",
      "documentIds": [
        "optiflow-epistemology",
        "optiflow-ai-constitution"
      ],
      "id": "knowledge",
      "label": "Knowledge & authority",
      "question": "What may the system claim, and what authority may an agent exercise?"
    },
    {
      "description": "The concepts, relationships, people, consent, and boundaries in the problem space.",
      "documentIds": [
        "optiflow-ontology",
        "optiflow-personal-model"
      ],
      "id": "domain",
      "label": "Domain",
      "question": "Which concepts and human boundaries shape the product model?"
    },
    {
      "description": "The assumptions, systems, structures, methods, decisions, and direction of implementation.",
      "documentIds": [
        "optiflow-foundations",
        "optiflow-system",
        "optiflow-architecture",
        "optiflow-methodology",
        "optiflow-decisions",
        "optiflow-roadmap"
      ],
      "id": "foundation",
      "label": "Foundation",
      "question": "How is meaning translated into systems, boundaries, decisions, and sequence?"
    },
    {
      "description": "The intended human experience and its reusable visual and content language.",
      "documentIds": [
        "optiflow-design",
        "optiflow-design-system"
      ],
      "id": "experience",
      "label": "Experience",
      "question": "How should interacting with OptiFlow feel and remain coherent?"
    },
    {
      "description": "The inventory, graph, lifecycle, ownership, and maintenance model of the corpus itself.",
      "documentIds": [
        "optiflow-meta"
      ],
      "id": "meta",
      "label": "Meta",
      "question": "How does the architecture system explain and govern itself?"
    }
  ],
  "documents": [
    {
      "category": "identity",
      "dependsOn": [],
      "governedBy": [
        "architecture-purpose"
      ],
      "id": "optiflow-purpose",
      "owners": [
        "egohygiene"
      ],
      "path": "PURPOSE.md",
      "rank": 0,
      "related": [
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-pillars"
      ],
      "shortTitle": "Purpose",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/PURPOSE.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Purpose",
      "version": "0.1.0"
    },
    {
      "category": "identity",
      "dependsOn": [
        "optiflow-purpose"
      ],
      "governedBy": [
        "architecture-vision"
      ],
      "id": "optiflow-vision",
      "owners": [
        "egohygiene"
      ],
      "path": "VISION.md",
      "rank": 1,
      "related": [
        "optiflow-principles",
        "optiflow-pillars",
        "optiflow-roadmap"
      ],
      "shortTitle": "Vision",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/VISION.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Vision",
      "version": "0.1.0"
    },
    {
      "category": "identity",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision"
      ],
      "governedBy": [
        "architecture-principles"
      ],
      "id": "optiflow-principles",
      "owners": [
        "egohygiene"
      ],
      "path": "PRINCIPLES.md",
      "rank": 2,
      "related": [
        "optiflow-pillars",
        "optiflow-foundations",
        "optiflow-methodology"
      ],
      "shortTitle": "Principles",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/PRINCIPLES.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Principles",
      "version": "0.1.0"
    },
    {
      "category": "identity",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles"
      ],
      "governedBy": [
        "architecture-pillars"
      ],
      "id": "optiflow-pillars",
      "owners": [
        "egohygiene"
      ],
      "path": "PILLARS.md",
      "rank": 3,
      "related": [
        "optiflow-manifesto",
        "optiflow-foundations",
        "optiflow-roadmap"
      ],
      "shortTitle": "Pillars",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/PILLARS.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Pillars",
      "version": "0.1.0"
    },
    {
      "category": "identity",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-pillars"
      ],
      "governedBy": [
        "architecture-manifesto"
      ],
      "id": "optiflow-manifesto",
      "owners": [
        "egohygiene"
      ],
      "path": "MANIFESTO.md",
      "rank": 4,
      "related": [
        "optiflow-personal-model",
        "optiflow-design"
      ],
      "shortTitle": "Manifesto",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/MANIFESTO.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Manifesto",
      "version": "0.1.0"
    },
    {
      "category": "knowledge",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-principles"
      ],
      "governedBy": [
        "architecture-epistemology"
      ],
      "id": "optiflow-epistemology",
      "owners": [
        "egohygiene"
      ],
      "path": "EPISTEMOLOGY.md",
      "rank": 3,
      "related": [
        "optiflow-ai-constitution",
        "optiflow-ontology",
        "optiflow-decisions"
      ],
      "shortTitle": "Epistemology",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/EPISTEMOLOGY.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Epistemology",
      "version": "0.1.1"
    },
    {
      "category": "domain",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-epistemology"
      ],
      "governedBy": [
        "architecture-ontology"
      ],
      "id": "optiflow-ontology",
      "owners": [
        "egohygiene"
      ],
      "path": "ONTOLOGY.md",
      "rank": 4,
      "related": [
        "optiflow-personal-model",
        "optiflow-system",
        "optiflow-architecture"
      ],
      "shortTitle": "Ontology",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/ONTOLOGY.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Ontology",
      "version": "0.1.1"
    },
    {
      "category": "domain",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-epistemology",
        "optiflow-ontology"
      ],
      "governedBy": [
        "architecture-personal-model"
      ],
      "id": "optiflow-personal-model",
      "owners": [
        "egohygiene"
      ],
      "path": "PERSONAL_MODEL.md",
      "rank": 5,
      "related": [
        "optiflow-ai-constitution",
        "optiflow-design",
        "optiflow-design-system"
      ],
      "shortTitle": "Personal Model",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/PERSONAL_MODEL.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Personal Model",
      "version": "0.1.0"
    },
    {
      "category": "knowledge",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-epistemology"
      ],
      "governedBy": [
        "architecture-ai-constitution"
      ],
      "id": "optiflow-ai-constitution",
      "owners": [
        "egohygiene"
      ],
      "path": "AI_CONSTITUTION.md",
      "rank": 4,
      "related": [
        "optiflow-personal-model",
        "optiflow-methodology",
        "optiflow-decisions"
      ],
      "shortTitle": "AI Constitution",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/AI_CONSTITUTION.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow AI Constitution",
      "version": "0.1.0"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-principles",
        "optiflow-epistemology"
      ],
      "governedBy": [
        "architecture-foundations"
      ],
      "id": "optiflow-foundations",
      "owners": [
        "egohygiene"
      ],
      "path": "FOUNDATIONS.md",
      "rank": 4,
      "related": [
        "optiflow-pillars",
        "optiflow-system",
        "optiflow-architecture",
        "optiflow-methodology"
      ],
      "shortTitle": "Foundations",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/FOUNDATIONS.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Foundations",
      "version": "0.1.0"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-foundations",
        "optiflow-ontology"
      ],
      "governedBy": [
        "architecture-system"
      ],
      "id": "optiflow-system",
      "owners": [
        "egohygiene"
      ],
      "path": "SYSTEM.md",
      "rank": 5,
      "related": [
        "optiflow-architecture",
        "optiflow-design",
        "optiflow-methodology"
      ],
      "shortTitle": "System",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/SYSTEM.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow System",
      "version": "0.1.1"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-foundations",
        "optiflow-system"
      ],
      "governedBy": [
        "architecture-architecture"
      ],
      "id": "optiflow-architecture",
      "owners": [
        "egohygiene"
      ],
      "path": "ARCHITECTURE.md",
      "rank": 6,
      "related": [
        "optiflow-ontology",
        "optiflow-methodology",
        "optiflow-decisions"
      ],
      "shortTitle": "Architecture",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/ARCHITECTURE.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Architecture",
      "version": "0.1.3"
    },
    {
      "category": "experience",
      "dependsOn": [
        "optiflow-purpose",
        "optiflow-vision",
        "optiflow-principles",
        "optiflow-personal-model"
      ],
      "governedBy": [
        "architecture-design"
      ],
      "id": "optiflow-design",
      "owners": [
        "egohygiene"
      ],
      "path": "DESIGN.md",
      "rank": 6,
      "related": [
        "optiflow-design-system",
        "optiflow-ontology",
        "optiflow-system"
      ],
      "shortTitle": "Design",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/DESIGN.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Design",
      "version": "0.1.0"
    },
    {
      "category": "experience",
      "dependsOn": [
        "optiflow-personal-model",
        "optiflow-design"
      ],
      "governedBy": [
        "architecture-design-system"
      ],
      "id": "optiflow-design-system",
      "owners": [
        "egohygiene"
      ],
      "path": "DESIGN_SYSTEM.md",
      "rank": 7,
      "related": [
        "optiflow-ontology",
        "optiflow-architecture"
      ],
      "shortTitle": "Design System",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/DESIGN_SYSTEM.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Design System",
      "version": "0.1.0"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-principles",
        "optiflow-epistemology",
        "optiflow-ai-constitution",
        "optiflow-foundations",
        "optiflow-architecture"
      ],
      "governedBy": [
        "architecture-methodology"
      ],
      "id": "optiflow-methodology",
      "owners": [
        "egohygiene"
      ],
      "path": "METHODOLOGY.md",
      "rank": 7,
      "related": [
        "optiflow-decisions",
        "optiflow-roadmap"
      ],
      "shortTitle": "Methodology",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/METHODOLOGY.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Methodology",
      "version": "0.1.0"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-principles",
        "optiflow-epistemology",
        "optiflow-foundations",
        "optiflow-system",
        "optiflow-architecture"
      ],
      "governedBy": [
        "architecture-decisions"
      ],
      "id": "optiflow-decisions",
      "owners": [
        "egohygiene"
      ],
      "path": "DECISIONS.md",
      "rank": 7,
      "related": [
        "optiflow-ai-constitution",
        "optiflow-methodology",
        "optiflow-roadmap"
      ],
      "shortTitle": "Decisions",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/DECISIONS.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Decisions",
      "version": "0.1.0"
    },
    {
      "category": "foundation",
      "dependsOn": [
        "optiflow-vision",
        "optiflow-pillars",
        "optiflow-architecture",
        "optiflow-decisions"
      ],
      "governedBy": [
        "architecture-roadmap"
      ],
      "id": "optiflow-roadmap",
      "owners": [
        "egohygiene"
      ],
      "path": "ROADMAP.md",
      "rank": 8,
      "related": [
        "optiflow-methodology",
        "optiflow-meta"
      ],
      "shortTitle": "Roadmap",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/ROADMAP.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Roadmap",
      "version": "0.1.10"
    },
    {
      "category": "meta",
      "dependsOn": [
        "optiflow-epistemology",
        "optiflow-ai-constitution"
      ],
      "governedBy": [
        "architecture-meta"
      ],
      "id": "optiflow-meta",
      "owners": [
        "egohygiene"
      ],
      "path": "META.md",
      "rank": 5,
      "related": [
        "optiflow-purpose",
        "optiflow-ontology",
        "optiflow-system",
        "optiflow-architecture",
        "optiflow-decisions",
        "optiflow-roadmap"
      ],
      "shortTitle": "Meta Architecture",
      "sourceUrl": "https://github.com/egohygiene/optiflow/blob/main/META.md",
      "status": "draft",
      "supersedes": [],
      "title": "OptiFlow Meta Architecture",
      "version": "0.1.1"
    }
  ],
  "edges": [
    {
      "from": "optiflow-purpose",
      "to": "optiflow-vision"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-principles"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-principles"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-pillars"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-pillars"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-pillars"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-manifesto"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-manifesto"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-manifesto"
    },
    {
      "from": "optiflow-pillars",
      "to": "optiflow-manifesto"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-epistemology"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-epistemology"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-ontology"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-ontology"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-ontology"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-ontology"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-personal-model"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-personal-model"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-personal-model"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-personal-model"
    },
    {
      "from": "optiflow-ontology",
      "to": "optiflow-personal-model"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-ai-constitution"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-ai-constitution"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-ai-constitution"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-ai-constitution"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-foundations"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-foundations"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-foundations"
    },
    {
      "from": "optiflow-foundations",
      "to": "optiflow-system"
    },
    {
      "from": "optiflow-ontology",
      "to": "optiflow-system"
    },
    {
      "from": "optiflow-foundations",
      "to": "optiflow-architecture"
    },
    {
      "from": "optiflow-system",
      "to": "optiflow-architecture"
    },
    {
      "from": "optiflow-purpose",
      "to": "optiflow-design"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-design"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-design"
    },
    {
      "from": "optiflow-personal-model",
      "to": "optiflow-design"
    },
    {
      "from": "optiflow-personal-model",
      "to": "optiflow-design-system"
    },
    {
      "from": "optiflow-design",
      "to": "optiflow-design-system"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-methodology"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-methodology"
    },
    {
      "from": "optiflow-ai-constitution",
      "to": "optiflow-methodology"
    },
    {
      "from": "optiflow-foundations",
      "to": "optiflow-methodology"
    },
    {
      "from": "optiflow-architecture",
      "to": "optiflow-methodology"
    },
    {
      "from": "optiflow-principles",
      "to": "optiflow-decisions"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-decisions"
    },
    {
      "from": "optiflow-foundations",
      "to": "optiflow-decisions"
    },
    {
      "from": "optiflow-system",
      "to": "optiflow-decisions"
    },
    {
      "from": "optiflow-architecture",
      "to": "optiflow-decisions"
    },
    {
      "from": "optiflow-vision",
      "to": "optiflow-roadmap"
    },
    {
      "from": "optiflow-pillars",
      "to": "optiflow-roadmap"
    },
    {
      "from": "optiflow-architecture",
      "to": "optiflow-roadmap"
    },
    {
      "from": "optiflow-decisions",
      "to": "optiflow-roadmap"
    },
    {
      "from": "optiflow-epistemology",
      "to": "optiflow-meta"
    },
    {
      "from": "optiflow-ai-constitution",
      "to": "optiflow-meta"
    }
  ],
  "platformBoundaries": [
    {
      "eyebrow": "Product authority",
      "id": "owns",
      "items": [
        "Conservative discovery and immutable observations",
        "Exact relationship evidence and explicit uncertainty",
        "Versioned reports, review-only plans, and typed outcomes"
      ],
      "label": "OptiFlow owns",
      "summary": "The product turns opaque media collections into defensible evidence without treating detection as write permission."
    },
    {
      "eyebrow": "Composable platform",
      "id": "supplies",
      "items": [
        "Realm and Mantle provide reproducible environments",
        "Relay and infrastructure schedule released artifacts",
        "Flow orchestrates through versioned public contracts"
      ],
      "label": "The platform supplies",
      "summary": "Surrounding repositories add environment, delivery, and orchestration capabilities while remaining replaceable consumers."
    },
    {
      "eyebrow": "Authority boundary",
      "id": "defers",
      "items": [
        "Source deletion, replacement, or transcoding",
        "Implicit cloud upload or path-bearing telemetry",
        "Unreviewed execution of generated plans"
      ],
      "label": "OptiFlow defers",
      "summary": "Future mutation requires a separate transactional architecture with fresh evidence, explicit consent, validation, and recovery."
    }
  ],
  "product": {
    "description": "A generated view of OptiFlow's architecture documents, system boundaries, structural layers, and declared dependencies.",
    "eyebrow": "Architecture as executable context",
    "summary": "Trace how purpose becomes policy, policy becomes structure, and structure becomes evidence-backed behavior. Every view on this page is generated from versioned repository truth.",
    "title": "See the whole system."
  },
  "repository": {
    "name": "egohygiene/optiflow",
    "revision": "main",
    "sourceUrl": "https://github.com/egohygiene/optiflow"
  },
  "runtimeLayers": [
    {
      "components": [
        "cli",
        "render",
        "main"
      ],
      "id": "interface",
      "label": "Interface",
      "state": "current",
      "summary": "Owns command syntax, human and machine rendering, stream behavior, and operating-system outcomes."
    },
    {
      "components": [
        "app",
        "outcome",
        "signals",
        "configuration::resolver"
      ],
      "id": "application",
      "label": "Application",
      "state": "current",
      "summary": "Coordinates use cases, interruption, configuration resolution, and immutable artifact commit boundaries."
    },
    {
      "components": [
        "domain",
        "inventory",
        "duplicates",
        "planning"
      ],
      "id": "domain",
      "label": "Domain",
      "state": "current",
      "summary": "Owns evidence language, policy values, inventory classification, exact relationships, and plan semantics."
    },
    {
      "components": [
        "hashing",
        "contracts",
        "schemas"
      ],
      "id": "evidence",
      "label": "Evidence & contracts",
      "state": "current",
      "summary": "Owns complete-content proof and the versioned boundary between domain values and public artifacts."
    },
    {
      "components": [
        "filesystem",
        "state",
        "reports",
        "adapters::ffprobe"
      ],
      "id": "infrastructure",
      "label": "Infrastructure",
      "state": "current",
      "summary": "Implements filesystem, SQLite, external-adapter, and atomic artifact ports without defining domain meaning."
    },
    {
      "components": [
        "web/landing",
        "web/architecture",
        "docs",
        "scripts/site"
      ],
      "id": "publication",
      "label": "Publication",
      "state": "current",
      "summary": "Projects repository truth into isolated static surfaces and assembles one collision-checked site artifact."
    }
  ],
  "schema": "optiflow.architecture-portal.v1",
  "sourceFingerprint": "e3d1991c555ba953f96052e82182635b7655b06124c295a23d41913a92f9d1af",
  "stats": {
    "categories": 6,
    "dependencies": 54,
    "documents": 18,
    "layers": 6
  }
}
