Returns constraints
LexSona derives behavioral constraints. It does not call tools or orchestrate work.
LexSona is the behavioral constraint engine in the stack. It derives constraints from active personas, baseline rules, and learned corrections, then returns those constraints to the consuming agent or runner.
It never executes tools, assembles prompts, runs gates, stores Frames, or silently substitutes a safer persona when memory is missing.
Lex can run by itself.
LexSona needs Lex.
LexRunner needs both.
LexSona derives behavioral constraints. It does not call tools or orchestrate work.
Same persona, rules, and context should produce the same constraint set.
Rules and derivations are inspectable, including where a learned correction came from.
Behavioral rules are namespaced by project, domain, or module so corrections do not leak everywhere.
Offline-safe personas declare confidence ceilings and disclaimers. Connected personas fail loudly without memory.
In enterprise settings, Sona identity can shape posture and requested authority without pretending to own IAM.
LexSona uses decision-style persona IDs. The name describes how an agent approaches decisions, not a theatrical character.
quality-first_engineering
momentum-first_product
risk-reducer_operations
scope-warden_securityWhat posture should this agent take? How cautious should it be? Which behavioral rules apply?
Given this envelope and this effect, may the agent attempt it, should it escalate, or must it deny?
What prior corrections, receipts, and denials should be remembered for future behavior?