Repository is archived
No release in over 3 years
Models permeable cognitive boundaries with integrity tracking and breach detection
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-boundary

Cognitive boundary enforcement for LegionIO. Models permeable cognitive boundaries with integrity tracking and breach detection.

What It Does

Cognitive boundaries are the membranes between domains of thought, feeling, and authority. This extension gives each boundary a permeability score (how open it is to external influence) and an integrity score (how intact the membrane is). Violations degrade integrity; deliberate repair restores it. Breached boundaries (too open) are flagged for attention.

Boundary types include cognitive, emotional, social, informational, temporal, authority, and privacy — mapping to the real boundaries an agent must maintain between its own processing and external influence.

Usage

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

boundary = client.create_boundary(
  name: 'emotional_regulation',
  boundary_type: :emotional,
  permeability: 0.4
)

client.violate_boundary(boundary_id: boundary[:boundary][:id])
client.repair_boundary(boundary_id: boundary[:boundary][:id])

client.breached_boundaries
client.boundary_report

Development

bundle install
bundle exec rspec
bundle exec rubocop

License

MIT