Skip to main content

Module gep

Module gep 

Source
Expand description

GEP (Genome Evolution Protocol) compatible types.

This module provides GEP-compliant structures that extend the core evolution types. Reference: https://evomap.ai/wiki#GEP-Protocol

Structs§

BlastRadius
Blast radius - scope of changes
CapsuleContent
Capsule content - structured description of the evolution
CapsuleOutcome
Outcome result
EnvFingerprint
Environment fingerprint snapshot
EpigeneticMark
Runtime behavioral modifiers
FileMemoryGraph
File-backed Memory Graph
GeneAdvice
Advice for gene selection based on memory
GeneConstraints
Gene constraints - safety limits for evolution
GenePrecondition
Precondition for gene execution
GeneRef
Reference to a gene
GepCapsule
GEP-compatible Capsule definition
GepEnvelope
Common envelope fields for all GEP asset types
GepGene
GEP-compatible Gene definition
HypothesisRef
Reference to a hypothesis
MemoryGraph
Memory Graph - manages causal memory for evolution
MemoryGraphEvent
Memory Graph Event - an entry in the causal memory graph
OutcomeRef
Reference to an outcome
SignalGeneOutcome
Historical (signal, gene) -> outcome mapping for advice
TriggerContext
Trigger context - full context that triggered this evolution

Enums§

AssetIdError
CapsuleSourceType
CapsuleStatus
GeneCategory
Gene category - the intent type
MemoryEventKind
Memory Graph Event kinds
SignalPattern
Signal match pattern - supports substring, regex, and multi-language alias

Constants§

GEP_SCHEMA_VERSION
GEP Protocol schema version

Functions§

compute_asset_id
Compute the SHA-256 asset ID for a serializable object The asset_id field is excluded from the hash computation
compute_sha256
Compute SHA-256 hash of a string
parse_asset_id
Parse asset_id and return the hash portion
verify_asset_id
Verify that a claimed asset_id matches the computed hash