Repository is archived
No release in over 3 years
Holographic memory model for the LegionIO cognitive architecture — each fragment contains information about the whole, enabling partial recall, interference pattern detection, and reconstruction from fragments
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

 Project Readme

lex-cognitive-hologram

Holographic memory model for brain-modeled agentic AI in the LegionIO ecosystem.

What It Does

Models the holographic property of memory: each fragment of a whole contains information about the whole. Complete cognitive representations (holograms) can be fragmented into partial slices that each carry a coverage fraction. Reconstruction assembles available fragments; if enough coverage exists (>= 30%), the representation is rebuilt with fidelity proportional to fragment availability. Interference measures cross-hologram noise. Passive degradation reduces fidelity over time without maintenance.

Usage

require 'legion/extensions/cognitive_hologram'

client = Legion::Extensions::CognitiveHologram::Client.new

# Create a complete cognitive representation
result = client.create(domain: :episodic, content: 'team retrospective meeting context')
hologram_id = result[:hologram_id]

# Fragment it for distributed storage
client.fragment(hologram_id: hologram_id, count: 5)
# => { success: true, fragments: [{ coverage: 0.2, ... }, ...] }

# Reconstruct from available fragments
client.reconstruct(hologram_id: hologram_id)
# => { success: true, hologram: { fidelity: 0.8, ... }, fidelity: 0.8 }

# Check interference levels
client.interference_check(hologram_id: hologram_id)
# => { success: true, interference: 0.12, label: :low }

# Status overview
client.hologram_status
# => { success: true, report: { hologram_count: 1, ... } }

Development

bundle install
bundle exec rspec
bundle exec rubocop

License

MIT