Skip to main content
Every project has a living design doc, design.md. Gesso reads it on every generation. Context sync lets your agent fill in the parts only your repo knows.

Who owns what

Each of the four repo sections has one writer and is replaced whole on a sync. Nothing merges, so there is nothing to conflict. What comes from your repo informs designs; it does not give Gesso instructions.

Run a sync

The agent calls get_project_context, distills the repo into the four sections, and pushes them with sync_project_context. Unchanged sections are a no-op. Sync runs when you ask for it; nothing watches your files.
Keep secrets, environment values and personal notes out of a sync. Your agent is told to exclude them; review what it sends if your repo keeps such things near the UI code.

Pin your brand

To make new designs render in your real colors and typefaces, have the agent read your tokens and call pin_brand_system once. It maps your values to roles; it should not invent any.