Repository is archived
No release in over 3 years
Protected environment for growing ideas from seeds to mature concepts — temperature, humidity, and light as nurturing conditions, with seasonal cycles
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-greenhouse

Controlled cognitive growth environment for brain-modeled agentic AI in the LegionIO ecosystem.

What It Does

Models a seasonal, environmentally controlled space for maturing cognitive ideas. Plants (concepts, theories, insights, beliefs) grow at rates determined by the current season (spring through winter) only when environmental quality (temperature, humidity, light) meets minimum thresholds. Environment can be manually adjusted or automatically shifted by advancing seasons. Plants that reach the bloom stage can be harvested, removing them from the active set. The greenhouse provides finer control than an open garden — limited capacity, explicit conditions, and seasonal cycles.

Usage

require 'legion/extensions/cognitive_greenhouse'

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

# Plant an idea in the greenhouse
result = client.plant_idea(plant_type: :insight, domain: :systems, content: 'eventual consistency trade-offs')
plant_id = result[:plant_id]

# Adjust environment for optimal growth
client.adjust_environment(temperature: 0.65, humidity: 0.70, light: 0.75)
# => { success: true, environment: { quality: 0.69, season: :spring, ... } }

# Tend all plants (applies seasonal growth rate)
client.tend_greenhouse
# => { success: true, grown: 1 }

# Advance the season
client.advance_season
# => { success: true, season: :summer, environment: { ... } }

# Harvest bloomed plants
client.harvest_ideas
# => { success: true, harvested: [{ plant_id: "...", type: :insight, ... }] }

# Full status
client.greenhouse_status
# => { success: true, report: { plant_count: 0, season: :summer, ... } }

Development

bundle install
bundle exec rspec
bundle exec rubocop

License

MIT