actual_stimul_ID / FinalImageId) is held in the hippocampus and the awareness context. The EM frame is attached to this image and to the active perception-branch node.
save_episodic_memory after OR: the frame is opened, effect === null, and diffBefore is saved.EpisodicMemory_setLastFrameActionFromActionId writes the action image (OD) into the frame.response_waiting_period (default 15); progress bar in the UI.EpisodicMemory_onPulse.episodicFrameFillRuleZerosForIncompleteClose: empty OD/reply fields become 0.clamp(diffAfter − diffBefore) in [−10, +10] inside closeLastFrame.AbstractImages_cloneFromEpisodeFrame: perception clones and (if OD is non-zero) action clones.| Field | Open Frame | After Close |
|---|---|---|
| stimulusImageId | FinalImage | same |
| actionImageId | OD or null | number or 0 |
| responseStimulusImageId | null / reply | number or 0 |
| effect | null | −10…+10 |
Duration is in pulses, not setTimeout — the logic is in EpisodicMemory_onPulse.
closeLastFrame, AbstractPerceptionImages clones are updated for the pair (branch node, stimulus); if OD is non-zero, AbstractActionImages is updated as well. In semanticStructure, episodic/teacher rules are stored for later consciousness levels.