The canvas is the source of truth
Files indesign/ are a published copy of what is on your canvas. Exporting
again overwrites them. Pass your repo’s gesso.manifest.json back as
known_manifest and the export warns you about files that changed since the
last one, using the checksums.
To change a screen, change it in Gesso (edit_direction, or on the canvas) and
export again. Hand-edited screen HTML is not read back, because Gesso could not
score or version it.
The one file that travels both ways is design.md: pull it with
pull_design_context, and push changes with update_design_context. The write
is refused if the doc changed since you pulled it, so two writers cannot
silently overwrite each other.
How to build from it
Ask your agent to readdesign/design.md before it writes any UI, then build
components in your own stack from the screen HTML and the tokens. There is no
framework lock-in: the HTML is the reference, your components are yours.
A single export is capped at 1.5 MB. Screens past the cap come back as a list
to fetch one at a time with export_screen.