Project

lex-react

0.0
No release in over 3 years
Event-driven automation rules that subscribe to Legion::Events and fire configurable reaction chains
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

lex-react

Reaction engine for LegionIO. Subscribes to Legion::Events and fires configurable reaction chains in response to events, with Synapse autonomy gating and loop prevention.

Configuration

react:
  rules:
    ci_failure:
      enabled: true
      source: "github.check_run.completed"
      condition: "conclusion == 'failure'"
      autonomy: FILTER
      chain:
        - lex-github.runners.fetch_check_logs
        - lex-transformer.runners.analyze
  max_depth: 3
  cooldown_seconds: 60
  max_reactions_per_hour: 100

Usage

lex-react auto-subscribes to Legion::Events on extension load. Rules are evaluated against every event. Matching rules dispatch task chains respecting Synapse autonomy levels.

License

MIT