Expand description
WeaverEngine: ECC-powered codebase modeling service (K3c-G1).
The WeaverEngine is a SystemService that drives the ECC cognitive
substrate to model real-world data sources (git logs, file trees, CI
pipelines, documentation). It manages ModelingSessions, evaluates
confidence via the causal graph, and records its own decisions in the
Meta-Loom for self-improvement tracking.
This module requires the ecc feature.
Structs§
- Cognitive
Tick Result - Detailed outcome of a single cognitive tick processed by the WeaverEngine.
- Confidence
Gap - A gap in the model’s confidence for a specific domain area.
- Confidence
History - Ring-buffer of confidence snapshots.
- Confidence
Report - Full confidence report for a modeling session.
- Confidence
Snapshot - A point-in-time confidence snapshot for history tracking.
- Confidence
Trend - Summary of confidence movement over a window of snapshots.
- Edge
Type Spec - Edge type specification in an exported model.
- Exported
Causal Edge - Exported causal edge.
- Exported
Causal Node - Exported causal node.
- Exported
Model - Serialized model for edge deployment or offline analysis.
- File
Watcher - Simple file change detector using modification timestamps.
- GitPoller
- Incremental git polling state — detects new commits since last check.
- Ingest
Result - Statistics from ingesting a graph file into the WeaverEngine.
- Merge
Conflict - A conflict encountered during model merge.
- Merge
Result - Result of merging two models.
- Merge
Stats - Statistics about a model merge operation.
- Meta
Loom Event - Records a Weaver modeling decision in the Meta-Loom.
- Model
Diff - Differences between two exported models.
- Modeling
Session - An active or suspended modeling session for a single domain.
- Node
Type Spec - Node type specification in an exported model.
- SerializableKB
- Serializable form of the knowledge base for JSON persistence.
- Strategy
Handle - Handle returned by
begin_strategyto pair withcomplete_strategy. - Strategy
Outcome - A record of a strategy change and its impact on confidence.
- Strategy
Pattern - A learned modeling strategy from cross-domain experience.
- Strategy
Tracker - Tracker that learns which strategy changes improve confidence.
- Tick
History - Ring-buffer of recent tick results for analysis.
- Tick
Recommendation - Tick interval recommendation based on observed change patterns.
- Weaver
Engine - ECC-powered codebase modeling service.
- Weaver
Knowledge Base - Cross-domain knowledge base that accumulates successful strategies.
Enums§
- Confidence
Trigger - What triggered a confidence measurement.
- Conflict
Resolution - How a merge conflict was resolved.
- Data
Source - A data source that can be ingested by the WeaverEngine.
- Meta
Decision Type - Classification of meta-loom decisions.
- Modeling
Suggestion - Suggestions for improving model quality.
- Tick
Result - Outcome of a single cognitive tick for the WeaverEngine.
- Trend
Direction - Direction of a confidence trend.
- Weaver
Command - Commands sent to the WeaverEngine via IPC.
- Weaver
Error - Errors produced by the WeaverEngine.
- Weaver
Response - Responses from the WeaverEngine to CLI / agents.
Functions§
- diff_
models - Compare two exported models and produce a structured diff.
- merge_
models - Merge two exported models into one.