Exercise 02 — HRR (Hybrid Resonance Regime)
Crystal–Mycelial Engine — Teaching Exercise Series#
1. Objective#
Students will implement the Hybrid Resonance Regime (HRR) stage of the CME pipeline by:
- filling biological channels
- bridging resonance fields
- producing the canonical
hybrid_layersubstrate
This exercise introduces S and HybridOps operator families in their hybrid‑layer context.
2. Regime Summary — HRR#
HRR models the transition from biological geometry to resonance‑aligned hybrid substrate:
- mineral precursor infiltration
- resonance field alignment
- hybrid memory transfer
- dual‑substrate coherence
Envelope Targets
- ion saturation: 0.65–0.75
- coherence field: 0.8–1.4 kHz
- moisture: 0.35–0.45
3. Required Operators#
Students must use:
S.channel_fill— fill biological channels with hybrid substrateHybridOps.resonance_bridge— align biological geometry with resonance fields
These produce the canonical hybrid_layer structure.
4. Expected Output Structure#
The student’s agent should return:
hybrid_layer = {
"channels": <data>,
"alignment": <data>
}Values may be placeholders or simulated data depending on lesson level.
5. Starter Scaffold#
class HybridAlignmentAgent:
def align(self, bio_map):
"""
Implement the Hybrid Resonance Regime (HRR).
Required:
S.channel_fill
HybridOps.resonance_bridge
Output:
hybrid_layer
"""
hybrid_layer = {
"channels": None,
"alignment": None
}
# TODO: call S.channel_fill
# TODO: call HybridOps.resonance_bridge
return hybrid_layer6. Student Tasks#
- Accept
bio_mapfrom Exercise 01. - Implement
S.channel_fillto fill biological channels. - Implement
HybridOps.resonance_bridgeto align geometry with resonance fields. - Store results in
hybrid_layer. - Print the resulting
hybrid_layerfor inspection. - Verify envelope targets (ion saturation 0.65–0.75, coherence field 0.8–1.4 kHz).
7. Completion Criteria#
A student has successfully completed Exercise 02 when:
hybrid_layer["channels"]contains a filled‑channel structurehybrid_layer["alignment"]contains resonance alignment data- envelope targets are acknowledged
- code runs without errors
