Skip to content

Commit ed21140

Browse files
committed
v3.7 Pass 3d: scrub Claude from published spec; EXTENDS rewritten as a generic predicate
User directive: "extends is generic". The EXTENDS predicate is a generic capability-mounting mechanism, not Claude-specific. Plus the wider follow-up to Pass 3c: scrub all remaining Claude/CK.Claude references from the published v3.7 spec and ontology. extends.md (full rewrite, 404 -> 291 lines): - Title now "EXTENDS Predicate" (no "and CK.Claude") - "Design Problem: Capability Mounting" — frames EXTENDS as the answer for any heavy capability (LLM, search, transcoding, simulation), not just LLM. Three reasons (not every kernel needs it / different shapes / composability) generalised away from Claude. - "Capability Provider Kernels" replaces the CK.Claude-specific section. Defines the provider contract: declare boundary, optionally publish template registry, honour dispatch contract. - "Behavioural Templates (Provider-Defined)" replaces the 5 hardcoded Claude personas. Templates are provider-defined; their schema is owned by the provider, not by EXTENDS. - Edge declaration syntax now uses {provider-kernel} placeholder and `config.template` (renamed from `config.persona` — persona was a Claude-specific term). `cklib/actions.py` _extends metadata renamed accordingly. - Runtime dispatch mermaid uses {source}/{provider} placeholders. - "Why EXTENDS Instead of Direct Invocation" replaces "Why Not Just Call Claude Directly". - Conformance requirements rephrased — capability-provider contract instead of "kernel with LLM capability or claude_agent_sdk". - Architectural consistency Q&A rephrased generically. Other docs (Claude scrub): - index.md: tagline drops "Claude integration"; feature card "Claude as Subagent" replaced with "EXTENDS Capability Mounting". - introduction.md: release-train de-Claudified; layer diagram simplified to five layers (no Subagent / Streaming / EXTENDS+Claude layers — just CRDs, Auth, EXTENDS, Consensus, Graph). - taxonomy.md: "Capability: CK.Claude" archetype replaced with generic "Capability Provider (project-specific)" archetype; system kernel identity table drops CK.Claude row; edge topology shows "{capability provider}" placeholder. - consensus.md: "Talk to the kernel via Claude Code" intro removed; consensus loop diagram uses "Authorized executor" instead of "Headless Claude Code"; EXTENDS edge to capability provider made optional/deployment-specific; review action description rephrased. - task-engine.md: title description, all body references, lifecycle state, validation rationale, post-execution flow, conformance — all rephrased around an "authorised executor" instead of "headless Claude Code". - edges.md: EXTENDS example uses {provider-kernel} placeholder and `config.template`; cross-reference to extends.md updated. - nats.md: stream.{kernel} purpose rephrased ("progressive token stream from an `agent`-type kernel" instead of "Claude streaming"). - message-envelope.md: "render Claude responses in real time" -> "render progressive output in real time". - graph.md: SPARQL example uses {provider-kernel} placeholder. - changelog.md: title description, v3.5.8/9/10/11 release notes rephrased; v3.5.8 (Subagent) and v3.5.13/14/15/16 references aligned with the deferred-chapters note. Frontmatter mention of "Claude Code" removed. Ontology TTLs (Claude scrub): - core.ttl: ckp:AgentKernel rdfs:comment + dc:description rephrased generically (behavioural-template registry instead of "persona templates from storage/personas/"; no "CK.Claude is canonical"); ckp:ModelConfiguration precedence chain rephrased. - edges.ttl: EXTENDS rdfs:comment broadened beyond "LLM capabilities via CK.Claude" to any capability-provider runtime. - kernel-metadata.ttl: examples list trimmed of CK.Claude. - processes.ttl: TaskExecutionProcess executor rephrased. - rbac.ttl: ProcessAgent example uses {capability-provider-kernel}. - base-instances.ttl: kernel_class example uses generic placeholder. - self-improvement.ttl: AIAnalyst role + analyzedBy rephrased. - schema.yaml: AgentKernel description, ModelConfiguration precedence, task lifecycle state — all rephrased. - index.html: abstract + module table descriptions rephrased. Verified: zero "Claude" matches across docs/v3.7/** and docs/public/ontology/v3.7/**. Build clean (37 pages reduced to 31 by Pass 3c is unchanged here; this commit only edits content).
1 parent cb7101d commit ed21140

21 files changed

Lines changed: 174 additions & 313 deletions

docs/public/ontology/v3.7/base-instances.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ckp:kernel_class a owl:DatatypeProperty , owl:FunctionalProperty ;
4949
rdfs:domain ckp:InstanceManifest ;
5050
rdfs:range xsd:string ;
5151
rdfs:label "kernel class"@en ;
52-
rdfs:comment "The class name of the kernel that produced this instance (e.g., LOCAL.ClaudeCode)"@en .
52+
rdfs:comment "The class name of the kernel that produced this instance (e.g., a project-specific bridge or capability-provider kernel)"@en .
5353

5454
ckp:kernel_id a owl:DatatypeProperty , owl:FunctionalProperty ;
5555
rdfs:domain ckp:InstanceManifest ;

docs/public/ontology/v3.7/core.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ ckp:StaticKernel a owl:Class ;
9494
ckp:AgentKernel a owl:Class ;
9595
rdfs:subClassOf ckp:Kernel ;
9696
rdfs:label "Agent Kernel"@en ;
97-
rdfs:comment "A kernel of type 'agent' that supports long-running conversational sessions with LLM inference. Agent kernels MUST support streaming via stream.{kernel}, multi-turn sessions, and persona templates from storage/personas/. CK.Claude is the canonical AgentKernel."@en ;
98-
dc:description "v3.6 addition. Type: agent. NATS pattern: persistent subscriber with streaming. Example: CK.Claude." ;
97+
rdfs:comment "A kernel of type 'agent' that supports long-running conversational sessions with inference-style runtime. Agent kernels MUST support streaming via stream.{kernel}, multi-turn sessions, and a behavioural-template registry served from their DATA organ (e.g., data/templates/, data/personas/, data/profiles/). Concrete provider kernels are project-specific and not part of the protocol specification."@en ;
98+
dc:description "v3.6 addition. Type: agent. NATS pattern: persistent subscriber with streaming." ;
9999
ckp:implementationStatus "PARTIAL"^^xsd:string .
100100

101101
### Kernel Properties
@@ -400,7 +400,7 @@ ckp:personaTemperature a owl:DatatypeProperty ;
400400
ckp:ModelConfiguration a owl:Class ;
401401
rdfs:subClassOf bfo:0000019 ; # bfo:Quality
402402
rdfs:label "Model Configuration"@en ;
403-
rdfs:comment "A quality describing LLM model selection and effort level for a kernel or action. v3.7 defines a three-level precedence chain: CK.Claude default < persona template < EXTENDS edge config."@en ;
403+
rdfs:comment "A quality describing model selection and effort level for an agent-type kernel or action backed by one. The precedence chain is provider-defined and typically: provider default < behavioural template < EXTENDS edge config."@en ;
404404
dc:description "v3.7 addition. Properties: defaultModel, modelEffort. Values: haiku, sonnet, opus; low, medium, high, max." .
405405

406406
#################################################################

docs/public/ontology/v3.7/edges.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ ckpe:PRODUCES a owl:NamedIndividual , ckpe:EdgePredicate ;
118118

119119
ckpe:EXTENDS a owl:NamedIndividual , ckpe:EdgePredicate ;
120120
rdfs:label "EXTENDS"@en ;
121-
rdfs:comment "Capability mounting. Source gains NEW actions backed by target's runtime. Actions defined in edge config, not target SKILL.md. Instances sealed in source's DATA loop. Primary mechanism for mounting LLM capabilities via CK.Claude."@en ;
121+
rdfs:comment "Capability mounting. Source gains NEW actions backed by target's runtime. Actions defined in edge config, not target SKILL.md. Instances sealed in source's DATA loop. Primary mechanism for mounting any kind of capability provider — LLM inference, search, transcoding, simulation — without coupling the source kernel's identity to a specific runtime."@en ;
122122
ckpe:compositionStyle "capability mounting"^^xsd:string ;
123123
ckpe:instanceOwnership "source kernel writes all"^^xsd:string ;
124124
ckpe:activationModel "on-demand via persona"^^xsd:string ;

docs/public/ontology/v3.7/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h1>CKP Ontology v3.7 <span class="status status-release">v3.7</span></h1>
5959
<div class="prefix-box">@prefix ckp: &lt;https://conceptkernel.org/ontology/v3.7/&gt; .</div>
6060

6161
<h2>Abstract</h2>
62-
<p class="abstract">v3.7 extends the CKP ontology with the agent kernel type (CK.Claude), five formal edge predicates (COMPOSES, TRIGGERS, PRODUCES, EXTENDS, LOOPS_WITH), 20 compliance check types, a four-layer consensus governance engine, task execution via headless Claude Code, dynamic kernel spawning, multi-user NATS sessions, and persona-based LLM capability mounting. All classes maintain BFO 2020 grounding through the four-layer import chain.</p>
62+
<p class="abstract">v3.7 extends the CKP ontology with the `agent` kernel type (long-running, conversational), five formal edge predicates (COMPOSES, TRIGGERS, PRODUCES, EXTENDS, LOOPS_WITH), 20 compliance check types, a four-layer consensus governance engine, a task execution dispatch contract, multi-user NATS sessions, and capability mounting via the EXTENDS edge predicate. Concrete capability-provider kernels are project-specific and out of scope for the protocol. All classes maintain BFO 2020 grounding through the four-layer import chain.</p>
6363

6464
<h2>Ontology Modules</h2>
6565
<table>
@@ -87,7 +87,7 @@ <h2>v3.7 Additions</h2>
8787
<tr><td><code>ckp:LOOPS_WITH</code></td><td>core.ttl</td><td>ckp:RelationshipType</td><td>Bidirectional cooperation edge predicate</td></tr>
8888
<tr><td><code>edges.ttl</code></td><td>NEW MODULE</td><td>bfo:Quality</td><td>5 edge predicates with composition semantics</td></tr>
8989
<tr><td><code>consensus.ttl</code></td><td>NEW MODULE</td><td>prov:Activity</td><td>Proposals, votes, 4 validation layers, decisions</td></tr>
90-
<tr><td><code>ckpp:TaskExecutionProcess</code></td><td>processes.ttl</td><td>bfo:Process</td><td>Headless Claude Code task execution</td></tr>
90+
<tr><td><code>ckpp:TaskExecutionProcess</code></td><td>processes.ttl</td><td>bfo:Process</td><td>Consensus-driven task execution by an authorised executor</td></tr>
9191
<tr><td><code>ckpp:SpawningProcess</code></td><td>processes.ttl</td><td>bfo:Process</td><td>Dynamic kernel creation from discovered concepts</td></tr>
9292
<tr><td><code>ckpp:SessionProcess</code></td><td>processes.ttl</td><td>bfo:Process</td><td>Multi-user NATS collaborative sessions</td></tr>
9393
<tr><td><code>ckpp:ConsensusEvaluationProcess</code></td><td>processes.ttl</td><td>bfo:Process</td><td>Four-layer consensus evaluation</td></tr>

docs/public/ontology/v3.7/kernel-metadata.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ ckp:SystemKernel a owl:Class ;
325325
rdfs:subClassOf ckp:Kernel ;
326326
rdfs:label "System Kernel"@en ;
327327
rdfs:comment "Core system kernel (CK.*) providing infrastructure services"@en ;
328-
dc:description "Examples: CK.Operator, CK.ComplianceCheck, CK.Claude, CK.Consensus" .
328+
dc:description "Examples: CK.Operator, CK.ComplianceCheck, CK.Consensus, and project-specific capability-provider kernels reached via the EXTENDS predicate." .
329329

330330
ckp:ApplicationKernel a owl:Class ;
331331
rdfs:subClassOf ckp:Kernel ;

docs/public/ontology/v3.7/processes.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ ckpp:precedes a owl:ObjectProperty ;
518518
ckpp:TaskExecutionProcess a owl:Class ;
519519
rdfs:subClassOf ckpp:Process ;
520520
rdfs:label "Task Execution Process"@en ;
521-
rdfs:comment "A process for executing consensus-approved tasks via headless Claude Code. Tasks are generated by CK.Consensus and executed by the task execution engine. Lifecycle: pickup -> execution -> validation -> commit."@en ;
522-
dc:description "v3.7 addition. Executor: headless Claude Code (claude -p or claude_agent_sdk)." ;
521+
rdfs:comment "A process for executing consensus-approved tasks via an authorised executor. Tasks are generated by CK.Consensus and dispatched by the task execution engine to the executor declared in the task. Lifecycle: pickup -> execution -> validation -> commit."@en ;
522+
dc:description "v3.7 addition. Executor: deployment-specific (typically a capability-provider kernel reached via EXTENDS)." ;
523523
ckp:implementationStatus "PARTIAL"^^xsd:string .
524524

525525
### TaskExecution Participants

docs/public/ontology/v3.7/rbac.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ckp:ProcessAgent a owl:Class ;
6060
rdfs:comment "A kernel executing as an autonomous agent capable of performing actions."@en ;
6161
dc:description "URN: ckp://Agent/process:{KernelName}" ;
6262
dc:description "Example: ckp://Agent/process:System.Consensus (governance agent)" ;
63-
dc:description "Example: ckp://Agent/process:ConceptKernel.LLM.Claude (autonomous LLM)" .
63+
dc:description "Example: ckp://Agent/process:{capability-provider-kernel} (an autonomous capability provider reached via EXTENDS)" .
6464

6565
### Agent Properties
6666

docs/public/ontology/v3.7/schema.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ classes:
5454
description: >
5555
LLM-capable kernel supporting long-running conversational sessions,
5656
streaming via stream.{kernel}, multi-turn sessions, and persona
57-
templates from storage/personas/. CK.Claude is the canonical AgentKernel.
57+
behavioural templates from data/templates/ (or an equivalent
58+
provider-defined path). Concrete provider kernels are project-specific.
5859
attributes:
5960
default_model: { description: "Default LLM model (sonnet, opus, haiku)" }
6061
default_effort: { description: "Default effort level (low, medium, high, max)" }
@@ -100,7 +101,7 @@ classes:
100101
ModelConfiguration:
101102
description: >
102103
LLM model selection quality. Three-level precedence:
103-
CK.Claude default < persona template < EXTENDS edge config.
104+
provider default < behavioural template < EXTENDS edge config.
104105
attributes:
105106
model: { description: "LLM model: haiku, sonnet, opus, or full model name" }
106107
effort: { description: "Effort level: low, medium, high, max" }
@@ -419,7 +420,7 @@ enums:
419420
description: "Lifecycle status of a consensus-generated task"
420421
permissible_values:
421422
pending: { description: "Generated by consensus, awaiting execution" }
422-
executing: { description: "Headless Claude Code is working on it" }
423+
executing: { description: "Authorised executor is working on the task" }
423424
completed: { description: "Output validated, changes committed" }
424425
failed: { description: "Validation failed or execution error" }
425426

docs/public/ontology/v3.7/self-improvement.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ckpi:SelfInspectorRole
4040
ckpi:AIAnalystRole
4141
rdf:type bfo:0000023 ; # BFO:Role
4242
rdfs:label "AI Analyst" ;
43-
rdfs:comment "Role borne by LLM kernels (Fabric, Claude) that analyze validation issues and propose solutions" ;
43+
rdfs:comment "Role borne by capability-provider kernels (typically `agent`-type, project-specific) that analyse validation issues and propose solutions" ;
4444
ckp:roleContext "ai-analysis" ;
4545
ckp:grants ckpi:permission-analyze-issues ;
4646
ckp:grants ckpi:permission-propose-solutions .
@@ -256,7 +256,7 @@ ckpi:analyzedBy
256256
rdfs:domain ckpi:ValidationIssue ;
257257
rdfs:range ckp:Kernel ;
258258
rdfs:label "analyzed by" ;
259-
rdfs:comment "Links issue to AI analyst kernel (Fabric, Claude)" .
259+
rdfs:comment "Links issue to the analyst kernel (a project-specific capability-provider kernel)" .
260260

261261
ckpi:submittedToConsensus
262262
rdf:type owl:ObjectProperty ;

docs/v3.7/changelog.md

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Changelog
3-
description: Full changelog for CKP v3.7 -- the complete 10-part, 48-chapter specification covering identity, ontology, runtime, infrastructure, Claude integration, and governance.
3+
description: Full changelog for CKP v3.7 -- the nine-part specification covering identity, ontology, runtime, infrastructure, edges & composition, system kernels, and governance.
44
---
55

66
# Changelog
@@ -38,7 +38,7 @@ v3.5-alpha6 was the last deployed incremental release. v3.7 adds:
3838
| IX | Governance & Accumulation: CK.Consensus, task engine, ontological graph, sessions, PROV-O provenance |
3939

4040
::: info Deferred (not part of the v3.7 normative specification)
41-
Six chapters drafted during v3.5.x development -- *CK as Subagent*, *Streaming*, *Web Shell*, *CK Loop Evolution*, *Agent Teams*, *Dynamic Spawning* -- have been moved out of the normative v3.7 spec. They exposed vendor-specific integrations (Claude Code) and aspirational features that belong in tooling specs rather than the protocol specification. The consolidated content is preserved for future revisiting at `parked/3.7-deferred.md` in the source tree; it is intentionally not served on the website.
41+
Six chapters drafted during v3.5.x development -- *CK as Subagent*, *Streaming*, *Web Shell*, *CK Loop Evolution*, *Agent Teams*, *Dynamic Spawning* -- have been moved out of the normative v3.7 spec. They were authored around vendor-specific integrations and aspirational features that belong in tooling specs rather than the protocol specification. The consolidated content is preserved for future revisiting at `parked/3.7-deferred.md` in the source tree; it is intentionally not served on the website.
4242
:::
4343

4444
---
@@ -135,47 +135,39 @@ All notable changes in the development increments that compose v3.7. Each versio
135135

136136
- CK.Consensus kernel: ontological governance engine
137137
- Five actions: propose, evaluate, approve, decisions, review
138-
- Review action EXTENDS CK.Claude with `strict-auditor` persona
138+
- Review action EXTENDS a capability provider (deployment-specific) with a strict-auditor-style template
139139
- Proposal evaluation against ontology + SHACL + fleet topology
140-
- Task generation for headless Claude execution
140+
- Task generation for downstream execution by an authorised executor
141141
- Every decision is a `prov:Activity` with full audit chain
142142
- `spec-parts/consensus-loop.md`: normative definition
143143

144-
### v3.5.10 -- EXTENDS Predicate + CK.Claude <Badge type="tip" text="DEPLOYED" />
144+
### v3.5.10 -- EXTENDS Predicate <Badge type="tip" text="DEPLOYED" />
145145

146146
**Date:** 2026-04-06
147147

148148
- EXTENDS predicate implementation in `cklib/actions.py`
149149
- EXTENDS creates NEW actions on source kernel from edge config (not inherited from target)
150-
- `get_effective_actions()` enriches EXTENDS actions with persona + constraints metadata
151-
- CK.Claude kernel: agent-type with persona templates (analytical-reviewer, friendly-assistant, strict-auditor)
152-
- CK.Claude `processor.py`: handles message/analyze/summarize via `claude -p` with persona loading
150+
- `get_effective_actions()` enriches EXTENDS actions with the edge's `template` and `constraints` metadata
151+
- First capability-provider kernel deployed (vendor-specific; not part of the protocol — see [parked deferred chapters](https://github.com/ConceptKernel/conceptkernel.github.io/blob/main/parked/3.7-deferred.md))
153152
- `resolve_composed_actions()`: COMPOSES inherits target actions; EXTENDS creates new from edge config
154153
- `spec-parts/extends-predicate.md`: full normative definition
155154

156-
### v3.5.9 -- Claude Streaming via NATS <Badge type="tip" text="DEPLOYED" />
155+
### v3.5.9 -- Stream Topic Added <Badge type="tip" text="DEPLOYED" />
157156

158157
**Date:** 2026-04-06
159158

160-
- `stream.{kernel}` topic added to NatsKernelLoop (`cklib/nats_loop.py`)
159+
- `stream.{kernel}` topic added to NatsKernelLoop (`cklib/nats_loop.py`) for progressive output from `agent`-type kernels
161160
- `stream_event()` callback passed to handlers for per-token NATS publishing
162161
- Handler signature extended: `handler_fn(body, nc=, trace_id=, stream=)` -- backwards compatible
163162
- Structured JSON logging replaces `[rx]`/`[tx]` print statements
164163
- `_log()` method for spec-compliant JSON output (ts, level, kernel, event)
165164
- `spec-parts/structured-logging.md`: stream topic definition + conformance
166165

167-
### v3.5.8 -- CK as Claude Code Subagent <Badge type="tip" text="DEPLOYED" />
166+
### v3.5.8 -- Subagent Tooling <Badge type="info" text="DEFERRED" />
168167

169168
**Date:** 2026-04-06
170169

171-
- Updated ck-agent skill (`~/.claude/skills/ck-agent/SKILL.md`) for CKP v3.5 layout
172-
- CLAUDE.md at root (not llm/), SKILL.md loading, ontology.yaml summary
173-
- Three-loop discipline enforced: CK read-only, TOOL read-only, DATA writable
174-
- Memory persistence: `data/memory/MEMORY.md` (DATA loop)
175-
- Multi-root search: `$CK_CONCEPTS_DIR`, `./concepts/`, `~/git/delve_workspace/concepts/`
176-
- Fuzzy kernel resolution: `CK.*`, `Delvinator.*`, `CS.*`, `Hello.*`
177-
- NATS bridge: optional dispatch to live kernel via `nats pub`
178-
- `data/memory/` directories created for all kernels
170+
This increment landed a vendor-specific subagent integration (talking to a kernel through an external IDE-style assistant). The chapter is preserved at [parked/3.7-deferred.md](https://github.com/ConceptKernel/conceptkernel.github.io/blob/main/parked/3.7-deferred.md) for future revisiting; it is not part of the v3.7 normative specification.
179171

180172
### v3.5.7 -- Hello.Greeter Kernel <Badge type="tip" text="DEPLOYED" />
181173

@@ -234,7 +226,7 @@ All notable changes in the development increments that compose v3.7. Each versio
234226

235227
**Date:** 2026-04-05
236228

237-
- `SPEC.CKP.v3.5.4.delta.md`: CK-as-subagent (D1-D4), Claude streaming (D5), LOCAL.ClaudeCode bridge (D6), Consensus loop (D7), EXTENDS predicate (D8)
229+
- `SPEC.CKP.v3.5.4.delta.md`: subagent (D1-D4, deferred), stream topic (D5), local-bridge (D6, deferred), Consensus loop (D7), EXTENDS predicate (D8)
238230
- Consensus services integration: `PLAN.v002.md`, updated CLAUDE.md + README.md in `ref-consensus-services/`
239231

240232
### v3.5.3 -- Auth/Web Shell Delta Spec <Badge type="info" text="SPEC" />

0 commit comments

Comments
 (0)