{
  "ontology": {
    "name": "ConceptKernel BFO Ontology",
    "version": "v3.7",
    "date": "2026-04-24",
    "description": "Formal ontology mapping ConceptKernel architecture to Basic Formal Ontology (BFO). AgentKernel, PersonaTemplate, ModelConfiguration, edge predicates, 20 check types, consensus governance, task execution, dynamic spawning, multi-user sessions, and agent teams are v3.6 additions carried forward. v3.7 refines the Project class around the .ckproject symlink + SHA1-manifest model and removes EdgeKernel/WssHubKernel (edges are ontology predicates; broadcast externalized to CK.Stream).",
    "baseUri": "https://conceptkernel.org/ontology/v3.7/",
    "bfoVersion": "2020",
    "bfoUri": "http://purl.obolibrary.org/obo/bfo.owl",
    "midLevelOntologies": [
      "IAO (Information Artifact Ontology)",
      "CCO Agent/Artifact/InformationEntity/Event",
      "PROV-O",
      "ValueFlows"
    ]
  },
  "files": {
    "core": {
      "filename": "core.ttl",
      "path": "ontology/v3.7/core.ttl",
      "format": "text/turtle",
      "description": "Core BFO mappings for ConceptKernel continuants. AgentKernel, PersonaTemplate, ModelConfiguration, LOOPS_WITH: v3.6 additions. v3.7 refines Project and removes EdgeKernel/WssHubKernel.",
      "coverage": {
        "entities": [
          "ckp:Kernel",
          "ckp:HotKernel",
          "ckp:ColdKernel",
          "ckp:InlineKernel",
          "ckp:StaticKernel",
          "ckp:AgentKernel",
          "ckp:Edge",
          "ckp:Instance",
          "ckp:KernelOntology",
          "ckp:Project",
          "ckp:Action",
          "ckp:Reconciliation",
          "ckp:PersonaTemplate",
          "ckp:ModelConfiguration",
          "ckp:ConsensusKernel"
        ]
      }
    },
    "kernel-metadata": {
      "filename": "kernel-metadata.ttl",
      "path": "ontology/v3.7/kernel-metadata.ttl",
      "format": "text/turtle",
      "description": "RDF schema for kernel metadata. hasPersona, defaultModel, modelEffort are v3.6 additions, unchanged in v3.7.",
      "coverage": {
        "v36_additions": [
          "ckp:hasPersona (ObjectProperty, links kernel to PersonaTemplate)",
          "ckp:defaultModel (DatatypeProperty, default LLM model)",
          "ckp:modelEffort (DatatypeProperty, default LLM effort level)"
        ]
      }
    },
    "kernel-entity-template": {
      "filename": "kernel-entity-template.ttl.template",
      "path": "ontology/v3.7/kernel-entity-template.ttl.template",
      "format": "text/plain",
      "description": "BFO-aligned template for generating per-kernel entity triples. Contains placeholder tokens ({KERNEL_NAME}, {ROLES}, etc.) and is NOT valid Turtle; the .ttl.template extension signals RDF loaders to skip it."
    },
    "processes": {
      "filename": "processes.ttl",
      "path": "ontology/v3.7/processes.ttl",
      "format": "text/turtle",
      "description": "Occurrent (Process) definitions. TaskExecutionProcess, SpawningProcess, SessionProcess, ConsensusEvaluationProcess were v3.6 additions. v3.7 removes hasMediatorKernel and hasBroadcastMediator (EdgeKernel/WssHubKernel retired).",
      "coverage": {
        "entities": [
          "ckpp:InvocationProcess",
          "ckpp:EdgeCommunicationProcess",
          "ckpp:EdgeSubscriptionProcess",
          "ckpp:ConsensusProcess",
          "ckpp:BroadcastProcess",
          "ckpp:TaskExecutionProcess",
          "ckpp:SpawningProcess",
          "ckpp:SessionProcess",
          "ckpp:ConsensusEvaluationProcess",
          "ckpp:TemporalPart",
          "ckpp:ProcessBoundary",
          "ckpp:StatusChangeEvent"
        ]
      }
    },
    "relations": {
      "filename": "relations.ttl",
      "path": "ontology/v3.7/relations.ttl",
      "format": "text/turtle",
      "description": "Relationships and inference rules. extends_with, loops_with, spawned_by, composes, triggers, produces are v3.6 additions. v3.7 removes mediates_communication and mediates_broadcast (EdgeKernel/WssHubKernel retired).",
      "coverage": {
        "v36_additions": [
          "ckpr:extends_with",
          "ckpr:loops_with",
          "ckpr:spawned_by",
          "ckpr:composes",
          "ckpr:triggers",
          "ckpr:produces"
        ]
      }
    },
    "edges": {
      "filename": "edges.ttl",
      "path": "ontology/v3.7/edges.ttl",
      "format": "text/turtle",
      "description": "Dedicated edge predicate ontology with five individuals: COMPOSES, TRIGGERS, PRODUCES, EXTENDS, LOOPS_WITH. Introduced in v3.6.",
      "new_in": "v3.6",
      "coverage": {
        "entities": [
          "ckpe:EdgePredicate",
          "ckpe:COMPOSES",
          "ckpe:TRIGGERS",
          "ckpe:PRODUCES",
          "ckpe:EXTENDS",
          "ckpe:LOOPS_WITH"
        ]
      }
    },
    "consensus": {
      "filename": "consensus.ttl",
      "path": "ontology/v3.7/consensus.ttl",
      "format": "text/turtle",
      "description": "CK.Consensus formal ontology: proposals, votes, four validation layers, decisions with PROV-O provenance. Introduced in v3.6.",
      "new_in": "v3.6",
      "coverage": {
        "entities": [
          "ckpc:ConsensusProposal",
          "ckpc:ConsensusVote",
          "ckpc:ValidationLayer",
          "ckpc:ConsensusDecision",
          "ckpc:ProposalState"
        ],
        "individuals": [
          "ckpc:ValidationLayer-ONTOLOGICAL",
          "ckpc:ValidationLayer-CONSTRAINT",
          "ckpc:ValidationLayer-TOPOLOGY",
          "ckpc:ValidationLayer-COMPLIANCE",
          "ckpc:ProposalState-PROPOSED",
          "ckpc:ProposalState-EVALUATING",
          "ckpc:ProposalState-APPROVED",
          "ckpc:ProposalState-REJECTED",
          "ckpc:ProposalState-NEEDS_REVISION"
        ]
      }
    },
    "shapes": {
      "filename": "shapes.ttl",
      "path": "ontology/v3.7/shapes.ttl",
      "format": "text/turtle",
      "description": "SHACL shapes for triple validation constraints"
    },
    "rbac": {
      "filename": "rbac.ttl",
      "path": "ontology/v3.7/rbac.ttl",
      "format": "text/turtle",
      "description": "Role-Based Access Control ontology. TeamCoordinator role and GovernanceLevel individuals were v3.6 additions. v3.7 updates authorization-enforcement prose: enforced by target kernel (queue_contract.edges), not by an EdgeKernel."
    },
    "workflow": {
      "filename": "workflow.ttl",
      "path": "ontology/v3.7/workflow.ttl",
      "format": "text/turtle",
      "description": "CKDL formalization for declarative workflow orchestration"
    },
    "self-improvement": {
      "filename": "self-improvement.ttl",
      "path": "ontology/v3.7/self-improvement.ttl",
      "format": "text/turtle",
      "description": "Autonomous self-improvement and ontology-driven validation processes"
    },
    "base-instances": {
      "filename": "base-instances.ttl",
      "path": "ontology/v3.7/base-instances.ttl",
      "format": "text/turtle",
      "description": "Base instance shapes. TaskInstance and ConversationInstance were v3.6 additions.",
      "coverage": {
        "entities": [
          "ckp:InstanceManifest",
          "ckp:SealedInstance",
          "ckp:LedgerEntry",
          "ckp:TaskInstance",
          "ckp:ConversationInstance"
        ]
      }
    },
    "proof": {
      "filename": "proof.ttl",
      "path": "ontology/v3.7/proof.ttl",
      "format": "text/turtle",
      "description": "Proof verification. CheckType expansion from 6 to 20 individuals was a v3.6 change; unchanged in v3.7.",
      "coverage": {
        "individuals": [
          "ckp:ProofOutcome-PASS",
          "ckp:ProofOutcome-FAIL",
          "ckp:ProofOutcome-PARTIAL",
          "ckp:CheckType-SCHEMA",
          "ckp:CheckType-SHACL",
          "ckp:CheckType-PROVENANCE",
          "ckp:CheckType-STRUCTURE",
          "ckp:CheckType-INTEGRITY",
          "ckp:CheckType-OPERATIONAL",
          "ckp:CheckType-IDENTITY",
          "ckp:CheckType-AWAKENING",
          "ckp:CheckType-TYPES",
          "ckp:CheckType-EDGES",
          "ckp:CheckType-TOOL",
          "ckp:CheckType-WEB",
          "ckp:CheckType-GRANTS",
          "ckp:CheckType-LLM",
          "ckp:CheckType-ONTOLOGY_TYPES",
          "ckp:CheckType-INSTANCE_TYPING",
          "ckp:CheckType-THREE_LOOP_ISOLATION",
          "ckp:CheckType-EDGE_MATERIALISATION",
          "ckp:CheckType-SHACL_VALIDITY",
          "ckp:CheckType-CONSENSUS_PROVENANCE"
        ]
      }
    },
    "schema": {
      "filename": "schema.yaml",
      "path": "ontology/v3.7/schema.yaml",
      "format": "application/x-yaml",
      "description": "LinkML schema governing Concept Kernel shape. AgentKernel, PersonaTemplate, TaskInstance, ConversationInstance, and expanded enums were v3.6 additions."
    }
  },
  "coverage": {
    "overall": {
      "score": 0.75,
      "description": "Overall BFO alignment coverage: 75% (carried forward from v3.6)"
    }
  },
  "changelog": {
    "v3.7": {
      "date": "2026-04-24",
      "changes": [
        "REMOVED: ckp:EdgeKernel class (edges are ontology-level predicates on kernels, not a mediator class)",
        "REMOVED: ckp:WssHubKernel class (real-time broadcast externalized to the CK.Stream library kernel concept)",
        "REMOVED: ckp:mediatesEdge object property",
        "REMOVED: ckpp:hasMediatorKernel (EdgeKernel range) and ckpp:hasBroadcastMediator (WssHubKernel range)",
        "REMOVED: ckpr:mediates_communication and ckpr:mediates_broadcast (ckpr:mediates_governance retained — CK.Consensus still exists)",
        "REFINED: ckp:Project description rewritten around the .ckproject manifest — authoritative instance in CK.Project's DATA organ, symlinked from the project root, holds SHA1 commit pins for each of the 3 organs (ck, tool, data) per kernel version",
        "UPDATED: ckp:Instance storage path corrected to data/instances/ (was stale storage/instances/)",
        "UPDATED: Edge architecturalConstraint rephrased — authorization is declared at the target kernel's queue_contract.edges (ckp:isAuthorized), not enforced by a mediator kernel",
        "UPDATED: EdgeCommunication temporal phases rewritten in predicate/NATS language (no EdgeKernel role)",
        "UPDATED: Broadcast temporal phases rewritten (no WssHubKernel role)"
      ]
    },
    "v3.6": {
      "date": "2026-04-06",
      "changes": [
        "ckp:AgentKernel — LLM-capable kernel type (streaming, sessions, personas)",
        "ckp:PersonaTemplate, ckp:ModelConfiguration",
        "ckp:LOOPS_WITH edge predicate",
        "edges.ttl — dedicated edge predicate ontology (5 individuals)",
        "consensus.ttl — CK.Consensus formal ontology",
        "ckpp:TaskExecutionProcess, SpawningProcess, SessionProcess, ConsensusEvaluationProcess",
        "ckpr:extends_with, loops_with, spawned_by, composes, triggers, produces",
        "ckp:TaskInstance, ckp:ConversationInstance",
        "CheckType expansion from 6 to 20 individuals",
        "ckp:TeamCoordinator role; ckp:GovernanceLevel (STRICT/RELAXED/AUTONOMOUS)",
        "ckp:hasPersona, ckp:defaultModel, ckp:modelEffort properties"
      ]
    },
    "v3.5-alpha6": {
      "date": "2026-03-31",
      "changes": [
        "InlineKernel, StaticKernel, Project, Reconciliation",
        "StorageMedium, DeploymentMethod, ServingDisposition",
        "IAO/CCO grounding annotations"
      ]
    }
  },
  "references": {
    "bfo": "http://purl.obolibrary.org/obo/bfo.owl",
    "bfoSpecification": "https://basic-formal-ontology.org/",
    "provO": "http://www.w3.org/ns/prov#",
    "iao": "http://purl.obolibrary.org/obo/iao.owl",
    "cco": "https://github.com/CommonCoreOntologies/CommonCoreOntologies",
    "spec": "SPEC.CKP.v3.7.full.md"
  }
}
