Core Concepts
Rules are the core input Straion uses to keep your AI coding agents aligned with your engineering standards. They capture requirements from your existing documentation, markdown files, and repositories, and connect them to the agent’s implementation plan.
What are rules?
Section titled “What are rules?”A rule is a single, well-formed requirement that expresses how your code should be written in a specific context. With Straion you can import rules from sources like architecture docs, security guidelines, or repo-local .md files.
How does Straion use rules?
Section titled “How does Straion use rules?”-
It selects the relevant rules based on task context (team, project, tech stack, change type).
-
It matches those rules against the AI agent’s task or implementation plan before code is generated. See Validate specs and Validate implementation plans.
-
It highlights any plan steps that violate or ignore the rules, so developers can fix them early. See Validate implementation plans.
-
It validates generated code against rules. See Validate code.