HIP-1416: Hanzo Design — Vector and Interface Design
Abstract
Hanzo Design is the editable vector, layout, prototyping and interface design
product owned by hanzoai/design. It consumes the shared creative library
(HIP-1406), Studio catalog (HIP-0506), design system (HIP-0504) and generative
UI protocol (HIP-1415). It is not an additional token system or UI protocol.
The repository contains a candidate design editor; the following are target
requirements, not verified shipping capabilities.
Motivation
A design must remain an editable structured document, not an image that requires reconstruction. People and agents need the same design operations and a reliable bridge from visual intent to accessible executable interfaces.
Specification
The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.
1. Document and editing
A design document MUST retain pages, frames, groups, editable text and paths, fills, strokes, gradients, masks, boolean geometry, transforms, constraints, auto-layout, grids, components, variants, instances, overrides, prototype links and stable node IDs for supported features. Version fonts, assets, token references, layout rules and native snapshots. Provide canvas, layers, properties, asset library, components, history and agent panel. Support nondestructive undo, explicit revisions and export. SVG, PNG, PDF and native document interchange are supported only where tested; evaluate .fig and .pen import/export with a loss report, never claim universal native fidelity. Vectorization of an image creates an editable derivative, preserving source and provenance. Distinguish vector editing from the unrelated embedding database.
2. Design-system and interface bridge
Tokens and components resolve from HIP-0504. An instance points to a versioned component and token set. Importing a design does not grant an action permission. Generated views use HIP-1415; persistent customization uses HIP-0528. Export declarative views and component-oriented code with explicit unsupported elements, semantic roles, focus order, keyboard behavior, contrast and responsive layout. A prototype with interactive controls MUST not execute an external side effect unless a separate authorized capability is invoked. No arbitrary script from imported design data.
3. Agent and collaboration
Expose revision-aware typed node/layer, layout, token, component, inspect, lint, render and export commands through the shared SDK, CLI and MCP registry; Flow nodes project those commands. Long-running conversion, asset generation and export use Tasks; ordinary pointer interaction remains local. Zen plans, Enso routes and Iro supplies supported generated visual assets. Agents MUST inspect render output, produce editable changes and support grouped undo. Collaboration uses scoped project membership and versioned operations; simultaneous edits MUST merge only when semantics are proven, otherwise surface a conflict. Presence and cursor state are ephemeral. Persist comment/review and approval against the exact revision. No second catalog.
4. Conformance
Test editable vector/text round-trip, path geometry, constraints, responsive layout, token propagation, variants, undo, conflicting edits, authorized collaboration, prototype keyboard accessibility, loss reporting and design-to-view/code export. Test native and browser support separately. Demonstrate a real generated design, human revision and editable export. Record hashes, supported formats, engine version and evidence; no fabricated render. Product surfaces and packages MUST be Hanzo branded; preserve upstream licensing and notices, audit dependencies and font/asset rights.
Security Considerations
Validate scope and revision on every operation. Isolate imported formats, font parsing and generated code. Generated interfaces cannot escalate grants; protect assets, comments and previews across tenants. No silent remote fallback or external transmission of private design assets.
References
- HIP-0504 — Unified design system
- HIP-0506 — Studio
- HIP-0528 — Mods
- HIP-1062 — Workflow
- HIP-1064 — Flow
- HIP-1406 — Creative
- HIP-1414 — OS runtime
- HIP-1415 — Generative UI
Copyright
Released under CC0 1.0 Universal Public Domain Dedication.