/lagune.charter
🧬 Tell Lagune what your project is, and it turns that into your security rules (or, with no description, works them out from the project alone).
The charter is the governing layer: a set of security-first principles every later phase must respect. Think of it as the compile-time check for your project's security posture.
Run it
- Describe it
- Let Lagune propose
/lagune.charter My project is an online store that sells video games. Customers add products to a cart and pay by credit card or bank slip. They can see their orders and the status of each one.
/lagune.charter
I see a payment library, a login setup, and an order model tied to a customer. This looks like an online store that sells something. Customers pay and track their own orders... ☁️
What it works out
Lagune takes your description or PRD as the direction and works out what it implies for security, then reads the project to go further than you named. For example:
- A cart that holds orders means there is a database:
- e.g.,
"Where does the data live?","Who can reach it?","Whether it leaks?".
- e.g.,
- Customers who can see their own orders means there is some kind of login or access control:
- e.g.,
"Can one customer reach another's orders?","Are sessions protected?".
- e.g.,
- Taking card and bank slip payments means money and sensitive data are involved:
- e.g.,
"Is card data stored?","Are payments verified?".
- e.g.,
Your description and the project add up, so while your description sets the intent, reading the dependencies, the README, and the configuration surfaces what you did not mention. If something important is still unclear, Lagune asks a short, plain question rather than guess.
From there, Lagune builds a tailored set of security rules for the project, which you can review and adjust whenever you need.
- You can also define your own security rules for the project.
- The more relevant detail you give, the better the final report:
- Explain the project, how it works, and what happens under the hood.
- Who is the end user? What can users do, and what can they not?
- Behavioral detail is as valuable as technical detail.
- The charter memory lives in
.lagune/memory/charter.md.
Next
With the rules set, map what your system actually does: /lagune.detect.
