Use Agent Canvas with Agent Composer
Canvas and Composer integrate through capability discovery while keeping presentation and workflow policy separate.
- Canvas owns templates, template parts, patterns, styles, semantic tokens, and final rendering.
- Composer owns Config Sets, Site Contracts, Blueprints, validation, audit, portability, and draft-only execution.
Canvas ships a static, read-only presentation manifest. Composer may inspect it as discovery input, but the theme does not create, update, or activate Composer configuration.
Initial setup
- Install and activate Canvas.
- Open SmartCloud → Agent Composer → Theme & providers.
- Choose Rescan site and confirm the Canvas name, version, templates, patterns, and core blocks.
- Create an inactive Config Set from a suitable preset, Detected Theme Starter, or a manual configuration.
- Review Configuration & blueprints and verify every target template, allowed pattern, nested block, required sequence, excerpt policy, and constraint.
- Apply staged changes, validate the complete Config Set, and activate it explicitly.
- In a compatible client, load the design context, Blueprint, and approved patterns; validate one minimal plan; create one agent-owned draft; and inspect its preview.
After a Canvas update
A site scan discovers current capabilities; it does not regenerate or rewrite the active Config Set. After upgrading Canvas:
- rescan the site;
- keep the active set immutable;
- clone it when a template, pattern, block, or manifest change requires an update;
- adjust the working copy;
- validate representative page types and previews;
- activate the successor only after review.
Troubleshooting
- Blueprint validation reports a missing pattern or block: rescan, confirm that the capability is registered, then correct a cloned working Config Set.
- A theme change caused a duplicate H1: pair a content-owned H1 pattern with a no-title template, or let the template render the title and remove the content H1 requirement.
- The agent receives an old Blueprint: confirm the active Config Set, restart the MCP runtime if needed, then refresh or recreate the client app's scanned actions and start a new conversation.
- Validation reports
Custom HTML blocks cannot be enabled by a Blueprint: clone or replace the Config Set and removecore/html,custom_html: true, JavaScript-in-HTML allowances, and related stale extension settings. Rescanning alone does not change the Config Set. - The client returns
INVALID_ARGUMENTafter a new contract is activated: refresh the client action schema and send the exactcontent_languagereturned by the Blueprint with validation and draft operations.
Do not fix a discovery mismatch by editing Canvas theme files to store site-specific Blueprint policy. Correct the Composer Config Set unless the required presentation capability is genuinely missing from the theme.
