Carry context into the next session.
The application map and approved baseline remain available across conversations and coding assistants. Keep the approved rules with your project and review intentional permission changes alongside the code.
GALEN POLICY: HOW IT WORKS
Galen Policy maps your web application’s code paths, permissions, and data access. You or a coding agent with terminal access runs its standalone CLI. Review the access rules recovered from your code and approve the intended baseline. Later checks use that saved reference to find vulnerabilities and policy drift, with evidence to guide corrections.
SET THE BASELINE. KEEP BUILDING.
Start with Galen and your coding agent in the same project environment. Then follow an administrator-only customer export from its approved rule to a refactor that removes a guard—and the evidence needed to put it back. Select a step to see what happens.
Download the Galen Policy build for your operating system and make the CLI runnable in your development environment. Open your web application’s repository in your coding agent with file and terminal access. Confirm that the agent can run Galen against that project.
What you getThe project and Galen CLI are accessible in the same working environment.
Use the Galen Policy CLI installed in this environment. Check the release instructions for the correct invocation. Run its initial analysis against this repository. Show me the recovered access map and any findings. Wait for my review before approving the policy baseline.
This is an example prompt, not a shell command. Galen performs the analysis; your coding agent runs the tool and helps explain its output.
A remote or cloud agent needs Galen installed in its own execution environment. A download on your laptop alone does not make it available there.
YOUR WORKFLOW / YOUR CONTROL
Galen derives findings from code facts and verifies their derivation. Your coding agent receives the relevant rule, affected path, and missing control as a focused task, then uses that evidence to propose a correction.
You review the change and run Policy again. A deliberate change to the rules gets explicit approval, so the baseline stays aligned with your decisions.
MAKE IT PART OF THE WAY YOU BUILD
The application map and approved baseline remain available across conversations and coding assistants. Keep the approved rules with your project and review intentional permission changes alongside the code.
Run the CLI yourself, or instruct your coding agent to run it after meaningful changes and before release. Record the verified Galen invocation and baseline location in your coding agent’s project instructions so later sessions have the same guidance. An instruction file guides the agent; it does not create an automatic check on every edit.
A clean result means no findings within the supported analysis. Coverage and evidence gaps still matter; keep your tests and code review in the loop.
START WITH YOUR NEXT CHANGE
Join the free beta, download Galen Policy for your system, and run your first analysis in your application’s repository.