Intent System 1.4.0
Serializable proposals describe a semantic change without granting mutation authority.
Intent shape
{
type: 'density',
target: { role: 'hero' },
value: 'compact',
reason: 'viewport',
source: 'policy',
timestamp: Date.now()
}Implemented types
| Type | Semantic target |
|---|---|
theme | data-velin-theme on configured root |
contrast | data-velin-contrast |
density | data-velin-density |
layout | data-velin-layout |
component-attribute | Per-component attribute allowlist |
section-order | Existing role siblings under graph constraints |
Targets and sources
Targets resolve inside the Adapt root by semantic role, configured root, or allowlisted Web Component identity. Sources are semantic audit metadata such as policy, ranker, or manual.
Forbidden categories
html, css, style, script, innerHTML, free class lists, event handlers, and out-of-scope selectors are rejected.