Skip to main content

Module weaver

Module weaver 

Source
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§

CognitiveTickResult
Detailed outcome of a single cognitive tick processed by the WeaverEngine.
ConfidenceGap
A gap in the model’s confidence for a specific domain area.
ConfidenceHistory
Ring-buffer of confidence snapshots.
ConfidenceReport
Full confidence report for a modeling session.
ConfidenceSnapshot
A point-in-time confidence snapshot for history tracking.
ConfidenceTrend
Summary of confidence movement over a window of snapshots.
EdgeTypeSpec
Edge type specification in an exported model.
ExportedCausalEdge
Exported causal edge.
ExportedCausalNode
Exported causal node.
ExportedModel
Serialized model for edge deployment or offline analysis.
FileWatcher
Simple file change detector using modification timestamps.
GitPoller
Incremental git polling state — detects new commits since last check.
IngestResult
Statistics from ingesting a graph file into the WeaverEngine.
MergeConflict
A conflict encountered during model merge.
MergeResult
Result of merging two models.
MergeStats
Statistics about a model merge operation.
MetaLoomEvent
Records a Weaver modeling decision in the Meta-Loom.
ModelDiff
Differences between two exported models.
ModelingSession
An active or suspended modeling session for a single domain.
NodeTypeSpec
Node type specification in an exported model.
SerializableKB
Serializable form of the knowledge base for JSON persistence.
StrategyHandle
Handle returned by begin_strategy to pair with complete_strategy.
StrategyOutcome
A record of a strategy change and its impact on confidence.
StrategyPattern
A learned modeling strategy from cross-domain experience.
StrategyTracker
Tracker that learns which strategy changes improve confidence.
TickHistory
Ring-buffer of recent tick results for analysis.
TickRecommendation
Tick interval recommendation based on observed change patterns.
WeaverEngine
ECC-powered codebase modeling service.
WeaverKnowledgeBase
Cross-domain knowledge base that accumulates successful strategies.

Enums§

ConfidenceTrigger
What triggered a confidence measurement.
ConflictResolution
How a merge conflict was resolved.
DataSource
A data source that can be ingested by the WeaverEngine.
MetaDecisionType
Classification of meta-loom decisions.
ModelingSuggestion
Suggestions for improving model quality.
TickResult
Outcome of a single cognitive tick for the WeaverEngine.
TrendDirection
Direction of a confidence trend.
WeaverCommand
Commands sent to the WeaverEngine via IPC.
WeaverError
Errors produced by the WeaverEngine.
WeaverResponse
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.