Structural Primitives
A hierarchical container of nested code units (functions, modules, features) that behaves more like a zoomable semantic workspace than a file.
The fundamental unit of organization in spatial representations of code. Replaces file/function boundaries with collapsible semantic regions.
- Semantic Graph / Living Repository Graph
Code represented as a graph:
- nodes = functions, modules, intents
- edges = dependency, conceptual similarity, usage flow
- Dependency Edge / Connection Edge
Encodes not just imports, but conceptual and behavioral relationships.
Temporal & Memory Primitives
A persistent, semantic history store capturing:
- discarded code
- exploratory branches
- reasoning trajectories
- intent evolution
- Version Fabric / Version Timeline
History is not linear diffs but a navigable transformation space of system states.
A time-evolving record of what the system was meant to do, distinct from what it currently does.
- Diff Event (Structural Transition)
A change is modeled as:
transformation between semantic states, not line edits
Conversational Primitives
- Conversational Unit (CU) / Conversation Node
A single meaningful step in intent refinement or transformation.
- Conversational Thread Graph
A branching DAG of exploration paths:
- refine
- contradict
- extend
- restructure
Continuous externalized reasoning used as:
- execution trace of cognition
- AI context signal
- intent encoding layer
Artifacts (code, structure) re-enter conversation as inputs, forming a closed loop.
AI/System Primitives
- AI Structural Agent / Transformation Agent
Continuously proposes:
- refactorings
- reorganizations
- abstractions
- optimizations
- Parallel Refactoring Layer
AI suggestions exist in a non-destructive co-space before being applied.
- Semantic Fabric Layer (IR-like substrate)
Intermediate representation connecting:
- conversation
- code
- structure
- intent
Constraints defining acceptable system transformations (tests, invariants, behavioral rules).
HOW THE CONCEPT WORKS
At runtime, Conversational Code Fabric behaves as a multi-layer transformation system:
- Conversation Layer (Intent Generation)
- Developers express goals, reasoning, uncertainty, and exploration
- AI treats this as structured transformation input, not chat
- Semantic Fabric Layer (Intermediate Representation)
- Conversation is parsed into:
- intent traces
- structural transformations
- graph updates
- Acts as a continuously updated IR between thought and code
- Graph-Based Code Layer
- Code is stored as a living semantic graph, not files
- Includes:
- dependencies
- feature clusters
- abstraction levels
- Exploration vs Production Split
- Experimental workspace:
- fluid, conversational, AI-active restructuring
- Production workspace:
- stabilized subset of the fabric
- explicit promotion required
- Parallel AI Evolution Process
- AI continuously:
- analyzes usage telemetry
- proposes refactors
- reorganizes structure
- Changes are validated via contracts/tests
- Historical Fabric (Memory Layer)
- Full lineage of:
- code states
- conversations
- transformations
- Used for AI reasoning continuity and intent reconstruction
- Spatial Interaction Layer
- Code is navigated via:
- expand/collapse (hierarchical nodes)
- zoom (abstraction levels)
- graph traversal (dependency neighborhoods)