Status: Accepted Version: 1.0 Date: 2025-10-01 Supersedes: N/A Related ADRs: ADR-001, ADR-002, ADR-005, ADR-006 Related PRDs: PRD-010, PRD-011
To enable the dynamic, AI-driven generation and rendering of interactive cognitive artifacts.
CADSL is not “just another UI schema” — it is the presentation projection of the Semantic Core and Knowledge Layer into the Cognitive Extension Layer, generated by the Artifact Engine and rendered by the CADSL Runtime.
Key constraints:
Develop a Cognitive Artifact DSL (CADSL) based on a Mutually Exclusive, Collectively Exhaustive (MECE) set of symbolic elements, using a Semantic-first approach with optional layering.
CADSL is primarily a cognitive artifact language, not a raw UI description. Low-level elements are present, but the language is centered on semantic structures that map to the Semantic Core and Knowledge Graph.
| Option | Description | Verdict |
|---|---|---|
| A: Thin UI DSL | CADSL as typed component tree, minimal semantics | ❌ Undershoots SEA™’s semantic-first promise |
| B: Semantic-first CADSL | Cognitive artifacts as first-class, UI as projection | ✅ Selected — Aligns with ADR-001/002/005/006 |
| C: Hybrid/Layered | CADSL-S (Semantic) + CADSL-V (View) layers | ✅ Incorporated as capability |
| D: Graph-native | Artifacts as views over CALM + KGS with queries | ⏳ Future Phase 2/3 extension |
Every CADSL element must support:
id — Unique identifier within the artifacttype — Discriminator for element kindsemanticRef — Binding to Semantic Core / KGS / CALM elements
kind, id, source, labelEntity, Concept, Rule, Policy, Metric, GraphNode, GraphEdge, OthercognitiveRole — How this element functions cognitively
note, input, output, control, decision, constraint, metric, context, example, annotation, navigation, othermetadata — Key-value pairs for element-specific metadataEvery artifact must specify:
artifactType — Semantic type (e.g., project-planner, risk-assessment, adr-workbench)purpose — Cognitive purpose (plan, decide, review, explore, learn)cognitiveRole — High-level role (planning, decision-support, review, learning, monitoring, exploration, documentation)semanticRefs — Artifact-level semantic bindingscanvas — Root-level CADSL elementsProjectChecklist, RiskAssessment, ADRWorkbench, ArchitectureViewCADSL provides a structured, declarative language for defining cognitive artifacts, allowing the Artifact Engine to generate them programmatically. The MECE principle ensures comprehensive coverage of artifact types while avoiding redundancy, facilitating both generation and rendering across various user interfaces.
The semantic-first approach ensures:
Rejected - Lack of flexibility and inability to support dynamic, context-aware artifact generation.
Rejected - Do not provide the semantic grounding or structured elements necessary for AI-driven artifact construction.
semanticRef✅ MVP