.cursorrules · diff
git:20260722.28df6eb to git:20260803.de02bfc
6 added, 0 removed. Audit A to A.
Tool-specific rules in this file are a bootstrap only.
Authoritative instructions live in scoped `AGENTS.md` files.
Always read in this order:
1. Root `AGENTS.md`
2. The nearest scoped `AGENTS.md` for the files you read or change
Start with:
- [AGENTS.md](AGENTS.md)
- [internal/storage/AGENTS.md](internal/storage/AGENTS.md)
- [apps/cli-journey-e2e/AGENTS.md](apps/cli-journey-e2e/AGENTS.md)
+ Minting a resource ID? Always use storage statements (`Ensure` /
+ `NewManagedID`) — never custom ULID/UUID helpers. See root
+ [AGENTS.md](AGENTS.md#resource-identifiers),
+ [ADR 047](docs/adrs/047-dialect-id-generation.md), and
+ [internal/storage/v2/AGENTS.md](internal/storage/v2/AGENTS.md).
+
Building console or design-system UI (from Figma or otherwise)? Before you
edit `apps/console/**` or `packages/{components,ui-react,shared-component-styles,design-tokens}/**`,
read these first and classify the component before building — do not
reverse-engineer a flattened app mock:
- [apps/console/docs/styling.md](apps/console/docs/styling.md) — where a
component lives decides how it's styled (console-local utilities vs a
Lit+React pair); the 3-way decision and token authority.
- [apps/storybook/AGENTS.md](apps/storybook/AGENTS.md) — the Figma→pair recipe
and the parity gate (only when it's a shared primitive the login surface needs).