# SmartCloud Agent Composer Overview

SmartCloud Agent Composer is the WordPress plugin layer of a governed, agent-assisted content production solution. It uses one explicitly activated Config Set together with the active theme's discovered or declared capabilities to create validated Gutenberg drafts.

Composer separates policy from presentation. Composer owns Site Contracts, page-type Blueprints, validation, draft ownership, audit, and the execution boundary. The active theme owns templates, patterns, `theme.json` presets, and final rendering. Changing a theme does not silently import or activate configuration.

The configuration hierarchy is `Config Set -> Site Contract -> Blueprints`. A Site Contract contains site-wide editorial, structural, media, and design policies. Each Blueprint maps a stable page type to an allowed post type, template, patterns, blocks, required sequence, excerpt policy, and validation constraints.

After the official WordPress MCP Adapter is active, an authenticated client can load configuration and design context, list approved patterns, validate a plan, create or update an agent-owned draft, and obtain a preview. Composer does not expose content publishing, normal-content deletion, media upload, plugin or theme changes, or user administration.

The recommended execution identity is a dedicated WordPress user with the `smartcloud_agent` role. This role has Composer's draft ability without administrative publishing or site-management capabilities. Configuration changes and draft operations are recorded in a redacted, tamper-evident audit chain.

Composer can use a complete contract-aware theme such as SmartCloud Agent Canvas or a partial contract built from capabilities discovered in a third-party block theme. Validation fails closed when a required template, pattern, block, or provider is unavailable.
