agent-html is a portable Canvas source workspace. It contains durable artifact source, local primitives, styles, public static files, and source dependency metadata. It does not contain runtime install artifacts.
The Agent HTML CLI supplies dependencies declared in package.json; do not install dependencies inside this directory.
Always:
AGENTS.mdfor hard operating rules.index/README.mdfor generated route summaries.
When authoring an artifact:
artifacts/README.mdTASTE.mdfor artifact composition and visual judgment.
When authoring an infinite Canvas:
../INFINITE_CANVAS_DESIGN.mdcanvases/**/*.canvas.tsxfor semantic Node intentcanvases/.layout/**for machine-managed shared geometry
When using or changing primitives, hooks, helpers, or theme exports:
components/README.mdfor the component source route.TASTE.mdfor component choice and artifact layout judgment when UI composition is part of the task.index/api-surface.md- then the closest source file
When touching Canvas classes, tokens, or internal chrome:
styles/README.md
When changing workspace conventions, route files, generated indexes, artifact or data patterns, or copyable examples:
GOVERNANCE.md
Source placement defaults live in AGENTS.md. Use the route above to choose the smallest owner before opening source.