I3795 — A surface links to another surface and never embeds it
State in the design book that one surface reaches another by a link (the site to the published /ui and /cockpit snapshots, for example) and never by an iframe, embed or object, and add an audit rule that refuses those elements on every surface.
PŘIPRAVENO vlna 0 · p2 · implementační profil · bezpečné paralelně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3795 bude přijato.
Cíl
State in the design book that one surface reaches another by a link (the site to the published /ui and /cockpit snapshots, for example) and never by an iframe, embed or object, and add an audit rule that refuses those elements on every surface.
Proč
On 2026-10-20 no iframe, embed or object existed on any surface, and nothing kept it so: an embedded surface would carry its own navigation, theme and language inside another's and escape the audits of both.
Aktuální stav
No embeds; the snapshots are linked (pages.yaml); Mermaid diagrams render inline on the site through diagrams.js.
Cílový stav
The design book's embed section says link, not embed; ui-audit rule embed.forbidden fails any iframe, embed or object on the site, /ui and the Cockpit.
Rozsah
- docs/DESIGN_SYSTEM.md
- scripts/lib/ui-audit.mjs
- scripts/lib/ui.test.mjs
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- ui-audit fails a page carrying an iframe, embed or object, naming the page and the element
- Every surface passes the rule on master
Validace
- bin/majordomus plan validate
- node scripts/lib/ui.test.mjs
Požadované důkazy
- embed_forbidden_rule_test
Důkazy
Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.
Časová osa
- zahájeno
- —
- ověřeno
- —
- dokončeno
- —
Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.
Canonical record: .ai/repo/project/issues/I3795.yaml. Read it back with majordomus plan show I3795.