fix: correct hero:theme protocol in skills and establish single source of truth #59
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
hero_ui_dashboardskill documented the wrong postMessage type (hero-os-theme) for iframe theme sync. All production repos (hero_redis, hero_foundry_ui, hero_aibroker) usehero:themewith avarsobject for CSS variable injection and ahero:theme-readyreadiness signal — none of which were documented.The
web_embedskill had no mention of theme sync at all, despite being the natural home for cross-service iframe protocols.Solution
web_embedbecomes the single source of truth for thehero:themepostMessage protocol (message format, canonical receiver snippet, CSS variable rules, standalone fallback)hero_ui_dashboardreferencesweb_embedfor the protocol and keeps only dashboard-specific UI (toggle button, icon logic)Related: lhumina_code/hero_aibroker#17