Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
refactor: make narrative projection an explicit author relation
kashorina4c25ea76b3c
diff --git a/docs/guide/author-packages.md b/docs/guide/author-packages.mdindex f869ca88..9b9ae6a7 100644--- a/docs/guide/author-packages.md+++ b/docs/guide/author-packages.md@@ -31,16 +31,17 @@ local package dependency to install the component.## Give the component a useful interfaceExpose the decisions another video author would want to change: content, materials, placement,-appearance and meaningful events. A transition can accept a Moment for when the layout changes and-a Selection for how long the scene appears. A pure animation can accept authored event times instead.-Project those inputs onto the chosen clock, then use the resulting schedule to draw the scene.+appearance and meaningful events. Give the component absolute Window and Instant inputs for when the+scene exists or changes. Source may obtain those named values from a Narrative Projection or direct+Timeline declarations; the component uses the same interface in either case.-For an existing spoken performance, consume its Timeline so picture sampling follows the same-takes and source positions as the speech. Other video inputs enter the timeline as normalized media.+For an existing spoken performance, consume the normalized media, its absolute occurrence Window and+any source-time relation the presentation needs as separate inputs. Other video inputs use the same+media path; Timeline contains neither clips nor source positions.The [responsive explainer example](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/responsive-explainer)shows a continuously playing video moving from full screen to a side portrait inside an HTML scene.The [chat example](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/chat-scene)-shows the same event interface accepting authored times or Script Moments.+shows the same event interface consuming Instants produced from either direct or semantic declarations.A Style-like Surface publishes its value under the bare authored id, such as `style={board-style}`.Separate outputs can use descriptive suffixes such as `.visual`, `.audio` or `.track`. Document thediff --git a/docs/guide/component-anatomy.md b/docs/guide/component-anatomy.mdindex bb68c85e..0614e71b 100644--- a/docs/guide/component-anatomy.md+++ b/docs/guide/component-anatomy.md@@ -32,14 +32,15 @@ a larger component benefits from separating reusable scheduling, styling and dra## Design around relationships-For spoken work, accept Selections and Moments for behavior tied to the words. Their projection-provides exact windows and instants after the performance exists. For an authored animation,-seconds or frames can express the reading rhythm. A duration such as `12f` can describe the length-of a transition in either case.+For spoken work, an upstream Narrative Projection turns selected semantic identities into named+absolute Windows and Instants after the performance exists. A component accepts those same absolute+types for behavior tied to the words. For an authored animation, Timeline declarations can produce+them directly from seconds or frames. A duration such as `12f` can still describe the component's+local transition length.Media presentation, spatial layout and time each have their own inputs. A normalized clip supplies-sampleable media; a Timeline can supply the prepared performance and its source positions.-A Frame can locate the scene, while its internal HTML/CSS or element tree coordinates videos,+sampleable media; a Window states when the occurrence contributes; a separate source-time relation+states which part of moving media is sampled. A Frame can locate the scene, while its internal HTML/CSS or element tree coordinates videos,text, masks and graphics. Group content that shares behavior. Independent contributions can stayas peer Tracks with their own paint order.diff --git a/docs/guide/packages.md b/docs/guide/packages.mdindex 612e2465..d93247bc 100644--- a/docs/guide/packages.md+++ b/docs/guide/packages.md@@ -29,8 +29,9 @@ an ordinary clip or picture; a project component can coordinate a moving video va diagram inside one scene. Independent captions or overlays can remain separate contributions.Each component owns the content whose behavior belongs together.-For a spoken video, Script Selections and Moments let those components follow the meaning of the-performance. An authored animation can instead use seconds or frames on its declared clock.+For a spoken video, a Narrative Projection can reveal Script Selections and Moments as the absolute+Windows and Instants those components consume. An authored animation can produce the same values+directly from seconds or frames on its declared clock.[Film and Rendering](../quickstart/composition.md) explains how these contributions fit together.New components normally live in the video's `packages/` directory and use the owner's packagediff --git a/docs/guide/studio-temporal-windows.md b/docs/guide/studio-temporal-windows.mdindex 61cf8ad2..8d312a43 100644--- a/docs/guide/studio-temporal-windows.md+++ b/docs/guide/studio-temporal-windows.md@@ -28,12 +28,12 @@ Narrative time is projected before it reaches the component:```svml<semantic:Projection id="story-time" narrative={story} timeline={film.timeline}><semantic:Map alignment={speech.alignment} domain={speech-media.domain} window={film.speech}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="reveal" moment={story.moment.reveal}/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="reveal" projection={story-time} at={story.moment.reveal}/>-<visual:Clip during={story-time.proof} .../>-<deck:Card at={story-time.reveal} .../>+<visual:Clip during={proof} .../>+<deck:Card at={reveal} .../>```The Narrative projection declaration retains the Selection or Moment relation required by itsdiff --git a/docs/quickstart/composition.md b/docs/quickstart/composition.mdindex 80d2ad56..33a94d06 100644--- a/docs/quickstart/composition.md+++ b/docs/quickstart/composition.md@@ -129,8 +129,8 @@ Timeline does not require speech or media:```The component owns its reading rhythm through ordinary absolute time. With no selected AudioTrack,-the result is silent. A spoken composition can use the same component with semantic Moments or-Selections projected onto its Timeline.+the result is silent. In a spoken composition, a Narrative Projection can reveal Moments or+Selections as the same absolute Instant and Window inputs.## Check before executiondiff --git a/docs/quickstart/script.md b/docs/quickstart/script.mdindex 82cfc3f7..81356b87 100644--- a/docs/quickstart/script.md+++ b/docs/quickstart/script.md@@ -225,8 +225,8 @@ Selection markers are zero-width and never appear in any text projection. They c`NarrativeSelection` with `startAnchorId` and `endAnchorId`. Script itself contains no seconds orframe numbers — timing comes from Timeline alignment.-Other components reference Selections via `{story.selection.problem}` to bind visual content to-semantic moments in the narrative.+A Narrative Projection declaration references `{story.selection.problem}` and publishes a named+absolute Window. Components consume that Window without understanding Script identities.## Moments@@ -247,7 +247,8 @@ Moments are named time **points** (not ranges):Each Moment name occurs once and compiles into one `NarrativeMoment` with an `anchorId`. Selectionand Moment share the same name namespace — the same id cannot be used for both.-Other components reference Moments via `{story.moment.ranking}`.+A Narrative Projection declaration references `{story.moment.ranking}` and publishes a named+absolute Instant. Components consume that Instant without understanding Script identities.## Comments and escaping@@ -308,5 +309,6 @@ This Script declares:- Three Selections: `whole` (entire Script), `problem`, `solution`, `emphasis`- One Moment: `ranking` (marks the instant "After the first recap")-Downstream components reference these by name: `{story.segment.hook.dialogue}` for generation,-`{story.selection.problem}` for B-roll timing, `{story.moment.ranking}` for a visual card reveal.+Downstream graph nodes reference these by name: `{story.segment.hook.dialogue}` supplies generation+text, while Narrative Projection declarations reveal `{story.selection.problem}` for B-roll timing+and `{story.moment.ranking}` for a visual card event.diff --git a/docs/quickstart/styles.md b/docs/quickstart/styles.mdindex db742721..25d0cc39 100644--- a/docs/quickstart/styles.md+++ b/docs/quickstart/styles.md@@ -192,7 +192,7 @@ Position remains an explicit graph edge:<visual:Pose at="end" y="0" opacity="1"/></visual:Motion><visual:Clip media={product-media.media}- during={story-time.demo} frame={product-frame}+ during={demo} frame={product-frame}z="40" fit="contain"treatment={recipes.visual.product} motion={product-in}><visual:Map/>diff --git a/docs/quickstart/timing.md b/docs/quickstart/timing.mdindex c6583eca..08b1cc48 100644--- a/docs/quickstart/timing.md+++ b/docs/quickstart/timing.md@@ -89,14 +89,17 @@ absolute Window:domain={opening-media.domain} window={speech.opening}/><semantic:Map alignment={answer-alignment.alignment}domain={answer-media.domain} window={speech.answer}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="claim" moment={story.moment.claim}/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="claim" projection={story-time} at={story.moment.claim}/>```-The requested outputs `story-time.proof` and `story-time.claim` are ordinary absolute Window and+The requested outputs `proof` and `claim` are ordinary absolute Window andInstant values. Semantic time is oneoptional projection source; direct seconds, frames and named Timeline values remain equally valid.+Projection reads the exact semantic boundary. Declare a separate absolute relationship such as+`<time:Instant id="after-claim" timeline={speech.timeline} at={claim} offset="+5f"/>` when an authored+offset is needed.## Present picture and audiodiff --git a/docs/quickstart/tracks.md b/docs/quickstart/tracks.mdindex d32a494a..4b26a625 100644--- a/docs/quickstart/tracks.md+++ b/docs/quickstart/tracks.md@@ -129,7 +129,7 @@ Caption content comes from Script and Timeline. Uses choose presentation in time```svml<caption:Hidden id="hidden"/><narrative-caption:Timing id="story-captions" document={story.caption}- binding={story.caption-binding} projection={story-time.projection}/>+ binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={story-captions}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={primary-caption}/>@@ -140,7 +140,9 @@ Caption content comes from Script and Timeline. Uses choose presentation in time</caption-fine:Caption>```-`||` organizes Cues. A window can start inside a Cue while retaining its complete text and original word timing. `role` filters the speaker independently of time. `at`/`for`, `until`/`for` and `start`/`end` use the same time language as other tracks.+`||` organizes Cues. A window can start inside a Cue while retaining its complete text and original+word timing. `role` filters the speaker independently of time. A timed Use names an already resolved+absolute Window through `during`.## Visual Clips and B-roll@@ -185,7 +187,7 @@ to the occurrence; reusable pixel treatment and typed Motion remain optional val<visual:Track id="product-broll" timeline={speech.timeline}><visual:Clip media={product-media.media} frame={product-frame}- during={story-time.product-demo} z="40" fit="contain"+ during={product-demo} z="40" fit="contain"treatment={recipes.visual.product} motion={product-motion-in}><visual:Map/></visual:Clip>@@ -195,7 +197,7 @@ to the occurrence; reusable pixel treatment and typed Motion remain optional val`left`, `top`, `right` and `bottom` are edge coordinates inside the parent Frame; `right` and`bottom` are not CSS-style margins. A Frame covering the middle 84% of the canvas horizontally is`left="8%" right="92%"`, and `right="8%"` would place its right edge to the left of its left edge,-which is rejected. A Narrative projection may publish `story-time.product-demo` upstream; Visual Track+which is rejected. A Narrative projection may publish `product-demo` upstream; Visual Trackonly consumes the resulting Window.Fit is the common constructor for the Clip's source-to-picture `SpatialMap2D`; the resolved Programstores the map rather than a second content rectangle. When a component or source-local evidence@@ -372,13 +374,12 @@ family is refused by name.| Attribute | Takes ||---|---|| `timeline` | the absolute Timeline the board is timed against |-| `semantic` | the optional Narrative projection used by semantic timing expressions || `within` | a `space:Frame` when the selected board has an independent reveal or explanation stage || `frame` | a `space:Frame` — the board's declared placement || `during` | the timing form declared by the selected component || `style` | the matching style record, and only that variant's || `appear-sound`, `move-sound` | optional Synchronized Media |-| `terminal` | the Moment where the completed board settles. `TopThree` only |+| `terminal` | the absolute Instant where the completed board settles. `TopThree` only |Use only the timing forms admitted by the selected package; do not infer a terminal or reveal modelfrom another component family.@@ -389,22 +390,22 @@ Optional sounds and reveal phases are valid only when the selected package declaEach variant takes its own, at least one, and ids must be unique within a board.-- **`TopThreeItem`** — `label` and item-owned Moment `at` are required; `icon` and `stack` are optional.- At most three. TopThree reveal order comes from these Moments' actual frame order.+- **`TopThreeItem`** — `label` and item-owned absolute Instant `at` are required; `icon` and `stack`+ are optional. At most three. TopThree reveal order comes from these Instants' actual frame order.- **`ColumnItem`** — `label` (required) and `rank` (required, a positive integer that decides thenumbered row and nothing else), optional `icon` and `stack`. Each item also owns its reveal time:- `during` names a Selection whose projected window is when it prefers to appear, and+ `during` names the absolute Window when it prefers to appear, and`preset="true"` marks a row that starts already placed. Exactly one of the two — an item withneither, or with both, is refused by name.```svml<ranking:ColumnStyle id="board-style" recipe={recipes.ranking.board} font={ui-font}/><ranking:Column id="board" timeline={speech.timeline} within={vertical.bounds} frame={board-frame}- during={story-time.board} style={board-style}>+ during={board} style={board-style}><ranking:ColumnItem id="row-regen" rank="1" label="ReGen" icon={icon-regen}- during={story-time.regen-reveal}/>+ during={regen-reveal}/><ranking:ColumnItem id="row-chatgpt" rank="2" label="ChatGPT" icon={icon-chatgpt}- during={story-time.chatgpt-reveal}/>+ during={chatgpt-reveal}/><ranking:ColumnItem id="row-remini" rank="3" preset="true" label="Remini" icon={icon-remini}/></ranking:Column>```@@ -415,7 +416,7 @@ AudioTrack; without one there is no audio output to add.## Card decksA deck holds cards in depth: one is in front, the others recede behind it, and each new card is dealt-on a Moment. Where a Visual Clip places one shot in one Frame, a deck keeps a stack of them in the+on an Instant. Where a Visual Clip places one shot in one Frame, a deck keeps a stack of them in thesame Frame and moves the whole stack.```svml@@ -424,8 +425,8 @@ same Frame and moves the whole stack.### deck:DepthStack-`id`, `timeline`, `within`, `frame`, `appearance` and `until` are required. `until` accepts an-absolute Instant, for example a Narrative-projected event or `8s`.+`id`, `timeline`, `within`, `frame`, `appearance` and `until` are required. `until` references a named+absolute Instant, whether it came from a Narrative Projection or a direct time declaration.### deck:Card@@ -435,7 +436,7 @@ A direct child of the stack, self-closing, at least one, and dealt in document o|---|---|| `source` | required — a still image, a Synchronized Medium, or a Compositable Surface || `extent` | required for a still image and refused for anything else |-| `at` | required — an absolute reveal Instant or an authored time such as `2s` or `12f` |+| `at` | required — a named absolute reveal Instant || `appearance` | optional — its own Recipe, otherwise the stack's || `label` | optional — a `deck:Label` record |@@ -447,9 +448,9 @@ give both and it is refused. `size`, `color`, `align`, `block` and `padding` are```svml<space:Frame id="deck-frame" within={vertical.bounds} left="44%" top="60%" right="98%" bottom="88%"/><deck:DepthStack id="deck" timeline={speech.timeline} within={vertical.bounds}- frame={deck-frame} appearance={recipes.deck.stack} until={story-time.done}>- <deck:Card id="card-spatial" source={icon-spatial} extent={square} at={story-time.deal-one}/>- <deck:Card id="card-type" source={icon-type} extent={square} at={story-time.deal-two}/>+ frame={deck-frame} appearance={recipes.deck.stack} until={done}>+ <deck:Card id="card-spatial" source={icon-spatial} extent={square} at={deal-one}/>+ <deck:Card id="card-type" source={icon-type} extent={square} at={deal-two}/></deck:DepthStack>```@@ -468,10 +469,10 @@ optional metadata line.card's whole appearance — background, border, radius, tail, avatar, the three text rows, and theenter/hold/exit motion — and every key has a default, so a recipe may set only what it changes.-`comment:Track` takes `id`, `canvas` and `timeline` for the complete work.+`comment:Track` takes `id` and `timeline` for the complete work.-`comment:Sticker` requires `id`, `frame` and `style`. Its Window can use `during`, `from` + `for`, or-`from` + `until`. Its copy is either the `comment=` attribute or the element's own text — both is refused. The+`comment:Sticker` requires `id`, `frame`, `style` and `during`, which references a named absolute+Window. Its copy is either the `comment=` attribute or the element's own text — both is refused. Theoptional `author`, `header` and `meta` each take a string or a Text reference, `avatar` takes animage, and there is no `z`: stacking order comes from the recipe's `stack-order`.@@ -479,7 +480,7 @@ image, and there is no `z`: stacking order comes from the recipe's `stack-order`<comment:Style id="social" recipe={recipes.comment} font={ui-font}/><comment:Track id="comments" timeline={speech.timeline}><comment:Sticker id="one" frame={comment-frame} style={social} avatar={viewer-avatar}- author="@viewer" meta="Featured" during={story-time.reaction}>+ author="@viewer" meta="Featured" during={reaction}>Wait, it pinned the caption to the word, not the second.</comment:Sticker></comment:Track>@@ -530,7 +531,7 @@ All four track families together in one source file:video="primary-moving" audio="none" span-authority="video" clock={clock}/><visual:Track id="cards" timeline={speech.timeline}><visual:Clip media={card-media.media} frame={card-frame}- during={story-time.demo} z="40" fit="cover" treatment={recipes.visual.card}/>+ during={demo} z="40" fit="cover" treatment={recipes.visual.card}/></visual:Track><!-- Text: persistent title overlay -->diff --git a/docs/zh/guide/author-packages.md b/docs/zh/guide/author-packages.mdindex 96d77784..18e2f427 100644--- a/docs/zh/guide/author-packages.md+++ b/docs/zh/guide/author-packages.md@@ -20,9 +20,14 @@ npm run build## 给组件有用的接口-公开另一个视频作者真正会改的决定:内容、素材、位置、外观和有意义的事件。转场可以接收一个 Moment,决定何时改变布局;接收一个 Selection,决定整个场景何时存在。纯动画则可以接收作者指定的事件时间。将这些输入投影到选定时钟,再按得到的调度绘制场景。--呈现已有说话表演时,消费它的 Timeline,让画面采样与口播使用相同的规范化媒体和素材位置。其他视频输入同样以规范化媒体进入时间线。[响应式讲解场景](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/responsive-explainer) 展示持续播放的视频如何在 HTML 场景里从全屏移到侧边竖屏。[聊天示例](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/chat-scene) 展示同一个事件接口如何接受作者时间或 Script Moment。+公开另一个视频作者真正会改的决定:内容、素材、位置、外观和有意义的事件。组件使用绝对+Window 和 Instant 输入来表达场景何时存在、何时变化。Source 可以从 Narrative Projection+或直接 Timeline 声明取得这些具名值;组件在两种情况下使用同一接口。++呈现已有说话表演时,把规范化媒体、它的绝对 occurrence Window 和呈现所需的源时间关系作为+彼此独立的输入。其他视频输入使用相同媒体路径;Timeline 不保存 Clip 或素材位置。+[响应式讲解场景](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/responsive-explainer) 展示持续播放的视频如何在 HTML 场景里从全屏移到侧边竖屏。+[聊天示例](https://github.com/hypit-ai/hypit/tree/main/examples/semantic-composition/packages/chat-scene) 展示同一个事件接口如何消费由直接声明或语义声明产生的 Instant。Style 一类 Surface 在裸作者 id 下公开其值,例如 `style={board-style}`;独立输出可以使用 `.visual`、`.audio`、`.track` 等有意义的后缀。在组件自己的 vocabulary 和 README 中说明名称与可用值。diff --git a/docs/zh/guide/component-anatomy.md b/docs/zh/guide/component-anatomy.mdindex d6f35abb..304cc696 100644--- a/docs/zh/guide/component-anatomy.md+++ b/docs/zh/guide/component-anatomy.md@@ -26,9 +26,14 @@ description: 将场景的创作接口变成可复用的图贡献。## 围绕关系设计-对于说话视频,接受 Selection 和 Moment 来表达随词语发生的行为。表演产生后,投影提供准确区间与时刻。作者决定节奏的动画可以使用秒或帧;`12f` 这样的时长在两种情况下都能表达一次转场的长度。--素材呈现、空间布局与时间各有自己的输入。归一化视频提供可采样素材,Timeline 可以提供准备好的表演及其素材位置。Frame 定位场景,内部 HTML/CSS 或元素树协调视频、文字、遮罩和图形。共享行为的内容组织在一起,独立贡献可以继续作为具有自己绘制顺序的 Track。+对于说话视频,上游 Narrative Projection 会在表演产生后,把选中的语义身份显影为具名绝对+Window 和 Instant;组件只接受这些绝对类型来表达随词语发生的行为。作者决定节奏的动画则由+Timeline 声明直接从秒或帧产生相同类型;`12f` 这样的时长仍可表达组件内部一次转场的长度。++素材呈现、空间布局与时间各有自己的输入。归一化视频提供可采样素材,Window 表示这次+occurrence 何时贡献画面,独立的源时间关系决定采样含时素材的哪一部分。Frame 定位场景,内部+HTML/CSS 或元素树协调视频、文字、遮罩和图形。共享行为的内容组织在一起,独立贡献可以继续+作为具有自己绘制顺序的 Track。字幕组件可以沿用已有字幕文档、样式选择与语义时间。细粒度字幕族能表达的样式可以直接使用;新的样式族则可以消费相同字幕关系,绘制不同的视觉呈现。diff --git a/docs/zh/guide/packages.md b/docs/zh/guide/packages.mdindex f82165cc..e34ec5ea 100644--- a/docs/zh/guide/packages.md+++ b/docs/zh/guide/packages.md@@ -22,7 +22,9 @@ Hypit 把视频需要什么,与哪些代码和服务完成它,分别表达在适合提取秩序的地方组织空间。Visual Track 可以呈现普通视频或图片;项目组件可以把移动的视频视口、标签和流程图作为一个场景协调起来。独立字幕或叠加层仍可分开。共享行为决定哪些内容属于同一个组件。-对于说话视频,Script Selection 与 Moment 让组件跟随表演的含义;作者主导节奏的动画,则可以在声明的时钟上使用秒或帧。[Film 与渲染](../quickstart/composition.md) 介绍这些贡献如何组成作品。+对于说话视频,Narrative Projection 可以把 Script Selection 与 Moment 显影成组件消费的绝对+Window 与 Instant;作者主导节奏的动画,则可以在声明的时钟上从秒或帧直接产生相同类型。+[Film 与渲染](../quickstart/composition.md) 介绍这些贡献如何组成作品。新组件通常放在视频项目的 `packages/` 中,使用所有者自己的 scope,由项目的普通包管理器声明。需要跨项目复用时,所有者可以把同一个组件发布为有版本的 npm 或私有 Registry 包。使用方安装选定版本,并将 lockfile 与项目一起保存。diff --git a/docs/zh/guide/studio-temporal-windows.md b/docs/zh/guide/studio-temporal-windows.mdindex 488932f9..d997b787 100644--- a/docs/zh/guide/studio-temporal-windows.md+++ b/docs/zh/guide/studio-temporal-windows.md@@ -26,12 +26,12 @@ Timeline 子声明或独立具名声明上,不写在组件表面。```svml<semantic:Projection id="story-time" narrative={story} timeline={film.timeline}><semantic:Map alignment={speech.alignment} domain={speech-media.domain} window={film.speech}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="reveal" moment={story.moment.reveal}/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="reveal" projection={story-time} at={story.moment.reveal}/>-<visual:Clip during={story-time.proof} .../>-<deck:Card at={story-time.reveal} .../>+<visual:Clip during={proof} .../>+<deck:Card at={reveal} .../>```Narrative 投影声明保留 Companion 写回 Selection 或 Moment 所需的来源关系。修改这一声明后,diff --git a/docs/zh/quickstart/composition.md b/docs/zh/quickstart/composition.mdindex 75c9acf6..e9b78871 100644--- a/docs/zh/quickstart/composition.md+++ b/docs/zh/quickstart/composition.md@@ -124,7 +124,7 @@ Timeline 不要求语音或媒体:```组件用普通绝对时间拥有自己的阅读节奏。没有选择 AudioTrack 时,结果是静音的。在语音作品-中,同一组件也可以使用投影到 Timeline 上的语义 Moment 或 Selection。+中,Narrative Projection 可以把 Moment 或 Selection 显影成同样的绝对 Instant 与 Window 输入。## 执行前检查diff --git a/docs/zh/quickstart/script.md b/docs/zh/quickstart/script.mdindex 2411218c..9c237c4e 100644--- a/docs/zh/quickstart/script.md+++ b/docs/zh/quickstart/script.md@@ -209,7 +209,8 @@ Selection 标记是零宽度的,不会出现在任何文本投影中。它们`startAnchorId`/`endAnchorId` 的 `NarrativeSelection`。Script 本身不包含秒数或帧号——时间信息来自 Timeline 对齐。-其他组件通过 `{story.selection.problem}` 引用 Selection,将视觉内容绑定到叙事中的语义时刻。+Narrative Projection 声明通过 `{story.selection.problem}` 引用 Selection,并发布具名绝对+Window;组件消费这个 Window,不需要认识 Script 身份。## Moment@@ -230,7 +231,8 @@ Moment 是具名的时间**点**(不是范围):每个 Moment 名字只出现一次,编译为带有 `anchorId` 的 `NarrativeMoment`。Selection 和 Moment共享同一命名空间——同一个 id 不能同时用于两者。-其他组件通过 `{story.moment.ranking}` 引用 Moment。+Narrative Projection 声明通过 `{story.moment.ranking}` 引用 Moment,并发布具名绝对 Instant;+组件消费这个 Instant,不需要认识 Script 身份。## 注释与转义@@ -292,4 +294,6 @@ Moment 是具名的时间**点**(不是范围):- 三个 Selection:`whole`(整个 Script)、`problem`、`solution`、`emphasis`- 一个 Moment:`ranking`(标记 "After the first recap" 这一瞬间)-下游组件通过名称引用这些内容:`{story.segment.hook.dialogue}` 用于生成,`{story.selection.problem}` 用于 B-roll 时间绑定,`{story.moment.ranking}` 用于视觉卡片揭示。+下游图节点通过名称引用这些内容:`{story.segment.hook.dialogue}` 提供生成文本;Narrative+Projection 声明显影 `{story.selection.problem}` 供 B-roll 计时,并显影+`{story.moment.ranking}` 供视觉卡片事件使用。diff --git a/docs/zh/quickstart/styles.md b/docs/zh/quickstart/styles.mdindex 9d810c93..517549a3 100644--- a/docs/zh/quickstart/styles.md+++ b/docs/zh/quickstart/styles.md@@ -186,7 +186,7 @@ visual.product {<visual:Pose at="end" y="0" opacity="1"/></visual:Motion><visual:Clip media={product-media.media}- during={story-time.demo} frame={product-frame}+ during={demo} frame={product-frame}z="40" fit="contain"treatment={recipes.visual.product} motion={product-in}><visual:Map/>diff --git a/docs/zh/quickstart/timing.md b/docs/zh/quickstart/timing.mdindex d14af355..b061ad4d 100644--- a/docs/zh/quickstart/timing.md+++ b/docs/zh/quickstart/timing.md@@ -85,14 +85,16 @@ Timeline 声明是无环构造图。`end` 必填;每个具名 Instant 或 Winddomain={opening-media.domain} window={speech.opening}/><semantic:Map alignment={answer-alignment.alignment}domain={answer-media.domain} window={speech.answer}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="claim" moment={story.moment.claim}/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="claim" projection={story-time} at={story.moment.claim}/>```-显式请求的 `story-time.proof` 与 `story-time.claim` 是普通的绝对 Window 与 Instant。+显式请求的 `proof` 与 `claim` 是普通的绝对 Window 与 Instant。语义时间只是一种可选投影来源;直接秒数、帧数以及 Timeline 的具名绝对值同样是一等公民。+投影只读取准确的语义边界。需要作者偏移时,另行声明绝对关系,例如+`<time:Instant id="after-claim" timeline={speech.timeline} at={claim} offset="+5f"/>`。## 呈现画面与声音diff --git a/docs/zh/quickstart/tracks.md b/docs/zh/quickstart/tracks.mdindex 553a2cd3..8544db40 100644--- a/docs/zh/quickstart/tracks.md+++ b/docs/zh/quickstart/tracks.md@@ -85,7 +85,7 @@ CJK 口播可以直接书写。若一个只负责显示的 emoji 仍需跟随语```svml<caption:Hidden id="hidden"/><narrative-caption:Timing id="story-captions" document={story.caption}- binding={story.caption-binding} projection={story-time.projection}/>+ binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={story-captions}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={primary-caption}/>@@ -96,7 +96,8 @@ CJK 口播可以直接书写。若一个只负责显示的 emoji 仍需跟随语</caption-fine:Caption>```-`||` 决定 Cue 分组。窗口可以从 Cue 中间开始,完整文字和原来的逐词时间仍然保留。`role` 按说话人过滤内容,独立于时间窗口。也可以使用 `at`/`for`、`until`/`for` 或 `start`/`end`。+`||` 决定 Cue 分组。窗口可以从 Cue 中间开始,完整文字和原来的逐词时间仍然保留。`role`+按说话人过滤内容,独立于时间窗口。需要限定时间的 Use 通过 `during` 引用已经解析的绝对 Window。## Visual Clip 与 B-roll@@ -139,7 +140,7 @@ Recipe 与类型化 Motion 都只是可选的复用值:<visual:Track id="product-broll" timeline={speech.timeline}><visual:Clip media={product-media.media} frame={product-frame}- during={story-time.product-demo} z="40" fit="contain"+ during={product-demo} z="40" fit="contain"treatment={recipes.visual.product} motion={product-motion-in}><visual:Map/></visual:Clip>@@ -147,7 +148,7 @@ Recipe 与类型化 Motion 都只是可选的复用值:````left`、`top`、`right`、`bottom` 是父 Frame 内的边坐标;`right` 和 `bottom` 不是 CSS 式外边距。-Narrative 投影可以在上游发布 `story-time.product-demo`;Visual Track 只消费完成的 Window。同一个+Narrative 投影可以在上游发布 `product-demo`;Visual Track 只消费完成的 Window。同一个fit 是构造 Clip 源局部平面到节目画面 `SpatialMap2D` 的常用入口;解析后的 Program 保存 Map,而不是另存一个“内容框”。当组件或源局部证据已经拥有精确仿射关系时,可以声明`<space:Map>`,并用 `mapping={...}` 代替全部 fit 属性。Clip 的 `frame` 仍独立负责裁剪和外框处理。@@ -198,7 +199,7 @@ Clip 模型也能表达全屏切换、分屏和角落小窗。公开 Clip 只有| `Track.id` | 是 | 稳定的 Audio Track 身份 || `Track.timeline` | 是 | 定义精确采样域与帧域的 Timeline || `Clip.source` | 是 | 显式选流并规范化后的 `SynchronizedMedia` |-| `during`、`at`/`for` 或 `start`/`end` | 三种形式选一 | 全节目、Selection、Moment 或显式窗口 |+| `during` | 是 | 具名绝对 Window || `source-time` 或 `Map` 子节点 | 否 | 可复用或内联的目标时间到源时间偏函数;省略时为有界局部恒等映射 || `gain`、`fade-in`、`fade-out` | 否 | 显式的单 Clip 混音值 |@@ -311,12 +312,11 @@ Hypit 安装。使用前先把所选发布版本写入视频项目的普通 `pac| 属性 | 取值 ||---|---|| `timeline` | 板据以计时的绝对 Timeline |-| `semantic` | 仅供语义时间表达式使用的可选 Narrative 投影 || `within` | 所选板型拥有独立揭示区或讲解区时使用的 `space:Frame` || `frame` | 一个 `space:Frame`——选中组件声明的板面位置 || `during` | 选中组件声明的时间形式 || `style` | 对应的样式记录,且只接受本变体的 |-| `terminal` | 完整板定格的 Moment。仅 `TopThree` |+| `terminal` | 完整板定格的绝对 Instant。仅 `TopThree` || `appear-sound`、`move-sound` | 可选,Synchronized Media |只使用所选包明确声明的时间形式;不要从另一个组件族推断 terminal 或 reveal 规则。@@ -325,17 +325,19 @@ Hypit 安装。使用前先把所选发布版本写入视频项目的普通 `pac每个变体只接受自己的那一种,至少一个,且 id 在同一块板内不可重复。-- **`TopThreeItem`** —— `label` 与 item 自己的绝对 `at={story-time...}` 必填,可选 `icon` 与 `stack`,最多三条。揭示顺序由这些 Instant 的真实帧顺序决定。-- **`ColumnItem`** —— `label` 与 `rank` 必填,可选 `icon` 与 `stack`。非 preset item 用自己的 `during` Selection;`preset="true"` 的 item 开场已在位且不写 `during`。+- **`TopThreeItem`** —— `label` 与 item 自己的具名绝对 Instant `at` 必填,可选 `icon` 与+ `stack`,最多三条。揭示顺序由这些 Instant 的真实帧顺序决定。+- **`ColumnItem`** —— `label` 与 `rank` 必填,可选 `icon` 与 `stack`。非 preset item 用+ `during` 引用自己的绝对 Window;`preset="true"` 的 item 开场已在位且不写 `during`。```svml<ranking:ColumnStyle id="board-style" recipe={recipes.ranking.board} font={ui-font}/><ranking:Column id="board" timeline={speech.timeline} within={vertical.bounds} frame={board-frame}- during={story-time.board} style={board-style}>+ during={board} style={board-style}><ranking:ColumnItem id="row-regen" rank="1" label="ReGen" icon={icon-regen}- during={story-time.regen-reveal}/>+ during={regen-reveal}/><ranking:ColumnItem id="row-chatgpt" rank="2" label="ChatGPT" icon={icon-chatgpt}- during={story-time.chatgpt-reveal}/>+ during={chatgpt-reveal}/><ranking:ColumnItem id="row-remini" rank="3" preset="true" label="Remini" icon={icon-remini}/></ranking:Column>```@@ -344,7 +346,7 @@ Hypit 安装。使用前先把所选发布版本写入视频项目的普通 `pac## 卡片堆-卡片堆按深度排布卡片:一张在最前,其余向后退去,每张新卡在一个 Moment 上发出。Visual Clip 是把一个镜头放进一个 Frame,而卡片堆是在同一个 Frame 里维持一叠并整体移动它们。+卡片堆按深度排布卡片:一张在最前,其余向后退去,每张新卡在一个 Instant 上发出。Visual Clip 是把一个镜头放进一个 Frame,而卡片堆是在同一个 Frame 里维持一叠并整体移动它们。```svml<import as="deck" from="@hypit/depth-stack@1"/>@@ -352,8 +354,8 @@ Hypit 安装。使用前先把所选发布版本写入视频项目的普通 `pac### deck:DepthStack-`id`、`timeline`、`within`、`frame`、`appearance` 与 `until` 全部必填。`until` 接受绝对-Instant,例如上游从语义投影出的事件,或 `8s` 这样的作者时间。+`id`、`timeline`、`within`、`frame`、`appearance` 与 `until` 全部必填。`until` 引用具名+绝对 Instant;它既可以来自 Narrative Projection,也可以来自直接时间声明。### deck:Card@@ -363,7 +365,7 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出|---|---|| `source` | 必填——静态图片、Synchronized Medium 或 Compositable Surface || `extent` | 静态图片必填,其余情况给了会被拒绝 |-| `at` | 必填——绝对发牌 Instant,或 `2s`、`12f` 等作者时间 |+| `at` | 必填——具名绝对发牌 Instant || `appearance` | 可选——它自己的 Recipe,否则沿用整叠的 || `label` | 可选——一条 `deck:Label` 记录 |@@ -374,9 +376,9 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出```svml<space:Frame id="deck-frame" within={vertical.bounds} left="44%" top="60%" right="98%" bottom="88%"/><deck:DepthStack id="deck" timeline={speech.timeline} within={vertical.bounds}- frame={deck-frame} appearance={recipes.deck.stack} until={story-time.done}>- <deck:Card id="card-spatial" source={icon-spatial} extent={square} at={story-time.deal-one}/>- <deck:Card id="card-type" source={icon-type} extent={square} at={story-time.deal-two}/>+ frame={deck-frame} appearance={recipes.deck.stack} until={done}>+ <deck:Card id="card-spatial" source={icon-spatial} extent={square} at={deal-one}/>+ <deck:Card id="card-type" source={icon-type} extent={square} at={deal-two}/></deck:DepthStack>```@@ -394,13 +396,16 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出`comment:Track` 接受 `id` 与 `timeline`,两者皆为必填。-`comment:Sticker` 必填 `id`、`frame` 与 `style`。它的 Window 可以使用 `during`、`from` + `for` 或 `from` + `until`。文案来自 `comment=` 属性或元素自身的文字,两个都给会被拒绝。可选的 `author`、`header` 与 `meta` 各接受字符串或 Text 引用,`avatar` 接受一张图片;这里没有 `z`,层叠顺序来自 recipe 的 `stack-order`。+`comment:Sticker` 必填 `id`、`frame`、`style` 与 `during`;`during` 引用具名绝对 Window。+文案来自 `comment=` 属性或元素自身的文字,两个都给会被拒绝。可选的 `author`、`header` 与+`meta` 各接受字符串或 Text 引用,`avatar` 接受一张图片;这里没有 `z`,层叠顺序来自+recipe 的 `stack-order`。```svml<comment:Style id="social" recipe={recipes.comment} font={ui-font}/><comment:Track id="comments" timeline={speech.timeline}><comment:Sticker id="one" frame={comment-frame} style={social} avatar={viewer-avatar}- author="@viewer" meta="Featured" during={story-time.reaction}>+ author="@viewer" meta="Featured" during={reaction}>原来它把字幕钉在词上,而不是钉在秒上。</comment:Sticker></comment:Track>@@ -450,7 +455,7 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出video="primary-moving" audio="none" span-authority="video" clock={clock}/><visual:Track id="cards" timeline={speech.timeline}><visual:Clip media={card-media.media} frame={card-frame}- during={story-time.demo} z="40" fit="cover" treatment={recipes.visual.card}/>+ during={demo} z="40" fit="cover" treatment={recipes.visual.card}/></visual:Track><!-- Text: persistent title overlay -->diff --git a/examples/complex-explainer/packages/launch-scenes/README.md b/examples/complex-explainer/packages/launch-scenes/README.mdindex 05f79f44..aa95ac61 100644--- a/examples/complex-explainer/packages/launch-scenes/README.md+++ b/examples/complex-explainer/packages/launch-scenes/README.md@@ -2,4 +2,4 @@This project package supplies the current `PosterTitle` treatment: a pink headline with a dark offset outline and a cream subtitle label. Text, subtitle, vertical position, sizes, gap and drawing order are useful author choices. The supplied Timeline Window determines its presence; the font is an explicit asset.-The Companion exposes those same fields through standard Studio controls and temporal lineage. Rendering owns local HTML/CSS and produces a visual contribution only. Earlier metal-title and introductory scene studies remain in private history; the active introductory and comparison scenes belong to `web-scenes`.+The Companion exposes those same fields through standard Studio controls and temporal lineage. Rendering owns local HTML/CSS and produces a visual contribution only. The active introductory and comparison scenes belong to `web-scenes`.diff --git a/examples/complex-explainer/packages/launch-scenes/src/activation.js b/examples/complex-explainer/packages/launch-scenes/src/activation.jsindex 399fa21c..c88264ba 100644--- a/examples/complex-explainer/packages/launch-scenes/src/activation.js+++ b/examples/complex-explainer/packages/launch-scenes/src/activation.js@@ -307,7 +307,7 @@ export const hypitPackage = {{tag: "Beat",cardinality: "many",- summary: "Named event in the scene, projected from a Moment or authored time.",+ summary: "Named absolute event in the scene, produced upstream by semantic or direct time authoring.",attributes: [{name: "name",diff --git a/examples/complex-explainer/packages/opening-system/README.md b/examples/complex-explainer/packages/opening-system/README.mdindex 0a658eaf..835ee916 100644--- a/examples/complex-explainer/packages/opening-system/README.md+++ b/examples/complex-explainer/packages/opening-system/README.md@@ -7,20 +7,19 @@ Project components for an explanation-led video. They share the film's Timeline- **Flag**: an independent low-angle pixel flag. It uses the same deterministic pixel texture treatment as Timer, with its own Window, placement, dimensions and color. No relationship to the opposition boards is inferred. The current Source places it below captions during the first-road explanation. `flag-amplitude` and `flag-speed` keep the folds slow and the logo readable.- **Stage**: independent images or normalized videos in a clear foreground viewport, with the same material enlarged, blurred and dimmed behind it. Each Item has its own projected Window. Foreground and background share exact video sampling. An image is held during its Window. Later declared Items paint above earlier ones if they overlap. Empty intervals stay empty. `fit="contain"` preserves the supplied screenshot; `cover` fills and crops. `x`, `y`, `width`, `height` are fractions of Canvas dimensions. `blur` is specified at a reference width of 1080 and scales with Canvas width. `brightness`, `zoom`, `radius` and `z` finish the treatment.-The visual components accept the shared absolute Window forms: `during`, or exactly two of `from`,-`until` and `for`. Stage Items use the same forms. Domain projection happens upstream; drawing code-consumes only resolved Windows. Literal time is useful for a rapid montage, while a projected Window-can follow a Segment.+The visual components and Stage Items accept already declared absolute Windows through `during`.+Domain projection and direct clock declarations happen upstream; drawing code consumes only resolved+Windows. Direct time is useful for a rapid montage, while a projected Window can follow a Segment.```svml<import as="gfx" from="@explainer/opening-system@1"/><gfx:Title id="opening-title" timeline={program.timeline} within={canvas.bounds} font={display-font}- from="timeline.start" until={story-time.begin}+ during={opening-title-window}title="Hypit" subtitle="一分钟了解" seconds="60"/><gfx:Timer id="series-timer" timeline={program.timeline} within={canvas.bounds} font={display-font} logo={flag-logo}- from={story-time.begin} until="timeline.end" title="Hypit"/>-<gfx:Stage id="coverage" timeline={program.timeline} within={canvas.bounds} during={story-time.example}>- <gfx:Item id="demo" video={prepared-demo.media} during={story-time.example}/>+ during={series-timer-window} title="Hypit"/>+<gfx:Stage id="coverage" timeline={program.timeline} within={canvas.bounds} during={example}>+ <gfx:Item id="demo" video={prepared-demo.media} during={example}/></gfx:Stage>```@@ -34,7 +33,7 @@ The actual montage and semantic title/timer bindings live in `authors/main.svml`The pennant and floor flag use a small Canvas raster with stepped diagonal folds and discrete shaded bands. `src/flag-cloth.js` retains its filename, but the current renderer uses no 3D engine or cloth simulation. Frame time determines the low-cadence movement, and nearest-neighbor scaling preserves the pixels. The supplied logo remains readable; amplitude and speed are author choices. The pennant paints in front of its backplate. Brand artwork is supplied by Source.-The current Title uses the shared pink window treatment described below; earlier luminous corner studies remain historical outputs.+The Title uses the shared pink window treatment described below.Stage `push-rate` is the foreground scale increase per second, default zero. For example, `push-rate="0.025"` increases scale by 2.5% per second while the viewport stays fixed. Each Item starts at native scale; its own original Window determines animation age even when the Stage clips that Window. The production enables this on the four-image montage; short flashes therefore move slightly, while a longer hold develops a visible slow push.@@ -45,7 +44,7 @@ Stage `push-rate` is the foreground scale increase per second, default zero. For`pattern` selects `mesh`, `dots`, or `hatch`; `cell` sets motif size at 1080px Canvas width; `amount` sets motif opacity. `tint` and `shade` describe the translucent color wash independently. `fade-frames` shapes its short entrance/exit; zero gives an immediate boundary. The pattern remains stationary during the hold. The defaults are a starting treatment, not a requirement to apply the overlay to every picture.-Earlier texture studies are retained in private production history. The active Source shows the selected treatment.+The active Source shows the selected texture treatment.### Opening pullback as a Presenter Usediff --git a/examples/complex-explainer/packages/web-scenes/README.md b/examples/complex-explainer/packages/web-scenes/README.mdindex 5d2f4251..68fdf51b 100644--- a/examples/complex-explainer/packages/web-scenes/README.md+++ b/examples/complex-explainer/packages/web-scenes/README.md@@ -19,7 +19,11 @@ Each folder owns `index.js` (content and resource slots), `styles.js` (appearanc## Inputs and time-Each Surface receives Timeline, Canvas, font, a temporal Window, its explicit assets and named `Beat` children. The Source attaches those events to Script Moments or authored time. The Surface uses the public temporal projection helpers; local animation reads the resulting event frames. Seek any frame directly: pointer paths, springs, typing and transitions derive state from time.+Each Surface receives Timeline, Canvas, font, an absolute Window, its explicit assets and named `Beat`+children. Source obtains those values from Narrative Projection or direct time declarations before+passing them in. The Surface resolves only completed Window and Instant references; local animation+reads their frames. Seek any frame directly: pointer paths, springs, typing and transitions derive+state from time.Prepared video inputs are SynchronizedMedia. Image inputs are Blob artifacts. `DeliveryWorkshop.reference` is the fictional drinking illustration; it is deliberately an image, without fabricating silent performance media or video. Media entries explicitly choose native playback, holding the last frame or looping where the scene needs it.diff --git a/examples/complex-explainer/packages/web-scenes/src/activation.js b/examples/complex-explainer/packages/web-scenes/src/activation.jsindex 9b7221ca..3713a2ab 100644--- a/examples/complex-explainer/packages/web-scenes/src/activation.js+++ b/examples/complex-explainer/packages/web-scenes/src/activation.js@@ -430,7 +430,7 @@ export const hypitPackage = {{tag: "Beat",cardinality: "many",- summary: "Named event in the scene, projected from a Moment or authored time.",+ summary: "Named absolute event in the scene, produced upstream by semantic or direct time authoring.",attributes: [{name: "name",diff --git a/examples/complex-explainer/productions/explainer/CRAFT-NOTES.md b/examples/complex-explainer/productions/explainer/CRAFT-NOTES.mdindex 3c547262..f1746c60 100644--- a/examples/complex-explainer/productions/explainer/CRAFT-NOTES.md+++ b/examples/complex-explainer/productions/explainer/CRAFT-NOTES.md@@ -43,10 +43,10 @@ For one concrete trace, [Script](authors/script.svml) places `road-fail` at theis difficult. [Main Source](authors/main.svml) connects that meaning to the editor scene:```svml-<webscene:Beat name="fail" at={story-time.moment-road-fail-cue}/>+<webscene:Beat name="fail" at={moment-road-fail-cue}/>```-The scene projects the event to a frame. Its+The scene receives the named absolute event and reads its frame. Its[animation](../../packages/web-scenes/src/scenes/editor-route/animation.js) derives the attempteddrag and return from that frame, sharing the object's displacement with the pointer. `fail` is thiscomponent's vocabulary, not a special event known to Hypit. Moving the spoken anchor changes when@@ -59,8 +59,8 @@ the scope of the objects that respond to it.## Keep playing footage distinct from its frameThe same accepted presenter footage appears full-frame, in a circular inset and through a moving-viewport. The short return to the inset on “我们继续” is a Performance Use applied to existing media.-The camera presentation changes while the source playback continues. The+viewport. The short return to the inset on “我们继续” is another visual occurrence of the existing+media. The camera presentation changes while the source playback continues. The[opening system](../../packages/opening-system/README.md) owns these Styles; Main Source owns wherethey are used. Foreground and enlarged background presentations likewise share the same media sample.diff --git a/examples/complex-explainer/productions/explainer/TREATMENT.md b/examples/complex-explainer/productions/explainer/TREATMENT.mdindex d0b19356..d6cfeebe 100644--- a/examples/complex-explainer/productions/explainer/TREATMENT.md+++ b/examples/complex-explainer/productions/explainer/TREATMENT.md@@ -4,7 +4,10 @@ A quick, playful presenter leads an argument from two costly production approach## Picture and performance-The presenter usually occupies a circular inset, with full-frame opening, transition and closing passages. Performance Uses move the same playing footage between full, upper-half and inset framing. The drinking break returns to the inset on “我们继续”. A covered passage keeps its spoken material and timing while MG leads the picture.+The presenter usually occupies a circular inset, with full-frame opening, transition and closing+passages. Ordinary visual occurrences present the same playing footage in full, upper-half and inset+Frames. The drinking break returns to the inset on “我们继续”. A covered passage keeps its spoken+material and timing while MG leads the picture.The visual language is pale pink and cream, vivid pink accents, dark offset shadows, stepped pixel flags and a persistent countdown. Caption remains an independent, readable single-line contribution. The montage’s fourth picture holds under the title “复刻任何爆款视频”.diff --git a/examples/complex-explainer/productions/explainer/authors/main.svml b/examples/complex-explainer/productions/explainer/authors/main.svmlindex b499f0ff..54fd7c91 100644--- a/examples/complex-explainer/productions/explainer/authors/main.svml+++ b/examples/complex-explainer/productions/explainer/authors/main.svml@@ -203,196 +203,208 @@<semantic:Map alignment={result.alignment} domain={result-media.domain} window={program.result}/><semantic:Map alignment={reference-reveal.alignment} domain={reference-reveal-media.domain} window={program.reference-reveal}/><semantic:Map alignment={closing.alignment} domain={closing-media.domain} window={program.closing}/>- <semantic:Instant id="moment-begin-cue" moment={copy.story.moment.begin}/>- <semantic:Instant id="moment-opening-brand-cue" moment={copy.story.moment.opening-brand}/>- <semantic:Instant id="moment-road-overview-cue" moment={copy.story.moment.road-overview}/>- <semantic:Instant id="segment-timing-cost-end" segment={copy.story.segment.timing-cost} boundary="end"/>- <semantic:Instant id="segment-synthesis-start" segment={copy.story.segment.synthesis} boundary="start"/>- <semantic:Instant id="segment-closing-start" segment={copy.story.segment.closing} boundary="start"/>- <semantic:Instant id="moment-outro-overtime-cue" moment={copy.story.moment.outro-overtime}/>- <semantic:Instant id="segment-opening-end" segment={copy.story.segment.opening} boundary="end"/>- <semantic:Instant id="segment-opening-end-plus-1-5s" segment={copy.story.segment.opening} boundary="end" offset="+1.5s"/>- <semantic:Instant id="segment-opening-end-plus-0f" segment={copy.story.segment.opening} boundary="end" offset="+0f"/>- <semantic:Instant id="segment-opening-end-plus-5f" segment={copy.story.segment.opening} boundary="end" offset="+5f"/>- <semantic:Instant id="segment-opening-end-plus-9f" segment={copy.story.segment.opening} boundary="end" offset="+9f"/>- <semantic:Instant id="segment-opening-end-plus-14f" segment={copy.story.segment.opening} boundary="end" offset="+14f"/>- <semantic:Instant id="segment-opening-end-plus-45f" segment={copy.story.segment.opening} boundary="end" offset="+45f"/>- <semantic:Instant id="segment-introduction-start" segment={copy.story.segment.introduction} boundary="start"/>- <semantic:Window id="segment-opening" segment={copy.story.segment.opening}/>- <semantic:Window id="segment-two-roads" segment={copy.story.segment.two-roads}/>- <semantic:Instant id="segment-two-roads-start" segment={copy.story.segment.two-roads} boundary="start"/>- <semantic:Instant id="segment-two-roads-start-plus-1s" segment={copy.story.segment.two-roads} boundary="start" offset="+1s"/>- <semantic:Instant id="moment-road-half-cue" moment={copy.story.moment.road-half}/>- <semantic:Instant id="segment-two-roads-end" segment={copy.story.segment.two-roads} boundary="end"/>- <semantic:Window id="segment-water-break" segment={copy.story.segment.water-break}/>- <semantic:Instant id="moment-resume-cue" moment={copy.story.moment.resume}/>- <semantic:Window id="segment-closing" segment={copy.story.segment.closing}/>- <semantic:Instant id="segment-closing-start-plus-1s" segment={copy.story.segment.closing} boundary="start" offset="+1s"/>- <semantic:Instant id="moment-outro-github-cue" moment={copy.story.moment.outro-github}/>- <semantic:Instant id="moment-outro-bye-cue" moment={copy.story.moment.outro-bye}/>- <semantic:Window id="segment-timing-cost" segment={copy.story.segment.timing-cost}/>- <semantic:Instant id="moment-result-guess-cue" moment={copy.story.moment.result-guess}/>- <semantic:Instant id="segment-reference-reveal-end" segment={copy.story.segment.reference-reveal} boundary="end"/>- <semantic:Instant id="segment-closing-end-minus-12f" segment={copy.story.segment.closing} boundary="end" offset="-12f"/>- <semantic:Instant id="segment-closing-end" segment={copy.story.segment.closing} boundary="end"/>- <semantic:Instant id="moment-intro-codex-cue" moment={copy.story.moment.intro-codex}/>- <semantic:Instant id="moment-intro-claude-cue" moment={copy.story.moment.intro-claude}/>- <semantic:Instant id="moment-intro-examples-cue" moment={copy.story.moment.intro-examples}/>- <semantic:Instant id="moment-intro-face-cue" moment={copy.story.moment.intro-face}/>- <semantic:Instant id="moment-competitor-monthly-cue" moment={copy.story.moment.competitor-monthly}/>- <semantic:Instant id="moment-competitor-watermark-cue" moment={copy.story.moment.competitor-watermark}/>- <semantic:Instant id="moment-roads-cue" moment={copy.story.moment.roads}/>- <semantic:Instant id="moment-road-assets-cue" moment={copy.story.moment.road-assets}/>- <semantic:Instant id="moment-road-drag-cue" moment={copy.story.moment.road-drag}/>- <semantic:Instant id="moment-road-fail-cue" moment={copy.story.moment.road-fail}/>- <semantic:Instant id="moment-road-number-cue" moment={copy.story.moment.road-number}/>- <semantic:Instant id="moment-road-image-cue" moment={copy.story.moment.road-image}/>- <semantic:Instant id="moment-road-keys-cue" moment={copy.story.moment.road-keys}/>- <semantic:Instant id="moment-road-tokens-cue" moment={copy.story.moment.road-tokens}/>- <semantic:Instant id="moment-code-play-cue" moment={copy.story.moment.code-play}/>- <semantic:Instant id="moment-code-duplicate-cue" moment={copy.story.moment.code-duplicate}/>- <semantic:Instant id="moment-solution-keep-cue" moment={copy.story.moment.solution-keep}/>- <semantic:Instant id="moment-solution-drop-cue" moment={copy.story.moment.solution-drop}/>- <semantic:Instant id="moment-part-caption-cue" moment={copy.story.moment.part-caption}/>- <semantic:Instant id="moment-part-ranking-cue" moment={copy.story.moment.part-ranking}/>- <semantic:Instant id="moment-part-chart-cue" moment={copy.story.moment.part-chart}/>- <semantic:Instant id="moment-part-card-cue" moment={copy.story.moment.part-card}/>- <semantic:Instant id="moment-parts-library-cue" moment={copy.story.moment.parts-library}/>- <semantic:Instant id="moment-parts-reuse-cue" moment={copy.story.moment.parts-reuse}/>- <semantic:Instant id="moment-parts-swap-cue" moment={copy.story.moment.parts-swap}/>- <semantic:Instant id="moment-rank-reveal-cue" moment={copy.story.moment.rank-reveal}/>- <semantic:Instant id="moment-product-reveal-cue" moment={copy.story.moment.product-reveal}/>- <semantic:Instant id="moment-sem-voice-cue" moment={copy.story.moment.sem-voice}/>- <semantic:Instant id="moment-sem-adapt-cue" moment={copy.story.moment.sem-adapt}/>- <semantic:Instant id="moment-result-assets-cue" moment={copy.story.moment.result-assets}/>- <semantic:Instant id="moment-result-meta-cue" moment={copy.story.moment.result-meta}/>- <semantic:Instant id="moment-outro-install-cue" moment={copy.story.moment.outro-install}/>- <semantic:Instant id="moment-outro-gift-cue" moment={copy.story.moment.outro-gift}/>- <semantic:Instant id="segment-opening-end-plus-4f" segment={copy.story.segment.opening} boundary="end" offset="+4f"/>- <semantic:Instant id="segment-opening-end-plus-13f" segment={copy.story.segment.opening} boundary="end" offset="+13f"/>- <semantic:Instant id="segment-opening-end-plus-28f" segment={copy.story.segment.opening} boundary="end" offset="+28f"/>- <semantic:Window id="segment-introduction" segment={copy.story.segment.introduction}/>- <semantic:Instant id="moment-intro-language-cue" moment={copy.story.moment.intro-language}/>- <semantic:Instant id="moment-intro-install-cue" moment={copy.story.moment.intro-install}/>- <semantic:Instant id="moment-intro-thirty-cue" moment={copy.story.moment.intro-thirty}/>- <semantic:Instant id="moment-intro-product-cue" moment={copy.story.moment.intro-product}/>- <semantic:Window id="segment-competitors" segment={copy.story.segment.competitors}/>- <semantic:Instant id="moment-competitor-other-cue" moment={copy.story.moment.competitor-other}/>- <semantic:Instant id="moment-competitor-templates-cue" moment={copy.story.moment.competitor-templates}/>- <semantic:Instant id="moment-competitor-cases-cue" moment={copy.story.moment.competitor-cases}/>- <semantic:Instant id="segment-keyframe-cost-end" segment={copy.story.segment.keyframe-cost} boundary="end"/>- <semantic:Instant id="moment-road-editor-cue" moment={copy.story.moment.road-editor}/>- <semantic:Instant id="moment-road-operate-cue" moment={copy.story.moment.road-operate}/>- <semantic:Instant id="moment-road-capcut-cue" moment={copy.story.moment.road-capcut}/>- <semantic:Instant id="moment-road-premiere-cue" moment={copy.story.moment.road-premiere}/>- <semantic:Instant id="moment-road-resolve-cue" moment={copy.story.moment.road-resolve}/>- <semantic:Instant id="moment-road-same-cue" moment={copy.story.moment.road-same}/>- <semantic:Instant id="moment-road-place-cue" moment={copy.story.moment.road-place}/>- <semantic:Instant id="moment-road-generated-cue" moment={copy.story.moment.road-generated}/>- <semantic:Instant id="moment-road-unstable-cue" moment={copy.story.moment.road-unstable}/>- <semantic:Instant id="moment-road-styles-cue" moment={copy.story.moment.road-styles}/>- <semantic:Instant id="segment-code-road-start" segment={copy.story.segment.code-road} boundary="start"/>- <semantic:Instant id="segment-synthesis-end" segment={copy.story.segment.synthesis} boundary="end"/>- <semantic:Instant id="moment-code-remotion-cue" moment={copy.story.moment.code-remotion}/>- <semantic:Instant id="moment-code-hyperframes-cue" moment={copy.story.moment.code-hyperframes}/>- <semantic:Instant id="moment-code-html-cue" moment={copy.story.moment.code-html}/>- <semantic:Instant id="moment-code-once-cue" moment={copy.story.moment.code-once}/>- <semantic:Instant id="moment-code-variant-cue" moment={copy.story.moment.code-variant}/>- <semantic:Instant id="moment-code-copy-cue" moment={copy.story.moment.code-copy}/>- <semantic:Instant id="moment-code-tokens-cue" moment={copy.story.moment.code-tokens}/>- <semantic:Instant id="moment-code-time-cue" moment={copy.story.moment.code-time}/>- <semantic:Instant id="moment-code-different-cue" moment={copy.story.moment.code-different}/>- <semantic:Instant id="moment-code-match-cue" moment={copy.story.moment.code-match}/>- <semantic:Instant id="moment-code-retime-cue" moment={copy.story.moment.code-retime}/>- <semantic:Instant id="segment-water-break-start" segment={copy.story.segment.water-break} boundary="start"/>- <semantic:Instant id="moment-solution-cue" moment={copy.story.moment.solution}/>- <semantic:Instant id="moment-solution-roads-cue" moment={copy.story.moment.solution-roads}/>- <semantic:Window id="segment-components" segment={copy.story.segment.components}/>- <semantic:Instant id="moment-parts-all-cue" moment={copy.story.moment.parts-all}/>- <semantic:Instant id="moment-parts-word-cue" moment={copy.story.moment.parts-word}/>- <semantic:Instant id="moment-parts-picture-cue" moment={copy.story.moment.parts-picture}/>- <semantic:Instant id="moment-parts-color-cue" moment={copy.story.moment.parts-color}/>- <semantic:Instant id="segment-semantic-time-start" segment={copy.story.segment.semantic-time} boundary="start"/>- <semantic:Instant id="segment-semantic-demo-end" segment={copy.story.segment.semantic-demo} boundary="end"/>- <semantic:Instant id="moment-sem-bind-cue" moment={copy.story.moment.sem-bind}/>- <semantic:Instant id="moment-sem-examples-cue" moment={copy.story.moment.sem-examples}/>- <semantic:Instant id="moment-sem-rewrite-scene-cue" moment={copy.story.moment.sem-rewrite-scene}/>- <semantic:Instant id="moment-sem-rewrite-cue" moment={copy.story.moment.sem-rewrite}/>- <semantic:Instant id="moment-sem-syntax-cue" moment={copy.story.moment.sem-syntax}/>- <semantic:Instant id="segment-result-start" segment={copy.story.segment.result} boundary="start"/>- <semantic:Instant id="moment-result-upload-cue" moment={copy.story.moment.result-upload}/>- <semantic:Instant id="moment-result-compare-cue" moment={copy.story.moment.result-compare}/>- <semantic:Instant id="moment-result-brand-cue" moment={copy.story.moment.result-brand}/>- <semantic:Instant id="moment-outro-copy-cue" moment={copy.story.moment.outro-copy}/></semantic:Projection>+ <semantic:Instant id="moment-begin-cue" projection={story-time} at={copy.story.moment.begin}/>+ <semantic:Instant id="moment-opening-brand-cue" projection={story-time} at={copy.story.moment.opening-brand}/>+ <semantic:Instant id="moment-road-overview-cue" projection={story-time} at={copy.story.moment.road-overview}/>+ <semantic:Instant id="segment-timing-cost-end" projection={story-time} at={copy.story.segment.timing-cost} boundary="end"/>+ <semantic:Instant id="segment-synthesis-start" projection={story-time} at={copy.story.segment.synthesis} boundary="start"/>+ <semantic:Instant id="segment-closing-start" projection={story-time} at={copy.story.segment.closing} boundary="start"/>+ <semantic:Instant id="moment-outro-overtime-cue" projection={story-time} at={copy.story.moment.outro-overtime}/>+ <semantic:Instant id="segment-opening-end" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <semantic:Instant id="segment-opening-end-plus-1-5s-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-1-5s" timeline={program.timeline} at={segment-opening-end-plus-1-5s-base} offset="+1.5s"/>+ <semantic:Instant id="segment-opening-end-plus-0f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-0f" timeline={program.timeline} at={segment-opening-end-plus-0f-base} offset="+0f"/>+ <semantic:Instant id="segment-opening-end-plus-5f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-5f" timeline={program.timeline} at={segment-opening-end-plus-5f-base} offset="+5f"/>+ <semantic:Instant id="segment-opening-end-plus-9f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-9f" timeline={program.timeline} at={segment-opening-end-plus-9f-base} offset="+9f"/>+ <semantic:Instant id="segment-opening-end-plus-14f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-14f" timeline={program.timeline} at={segment-opening-end-plus-14f-base} offset="+14f"/>+ <semantic:Instant id="segment-opening-end-plus-45f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-45f" timeline={program.timeline} at={segment-opening-end-plus-45f-base} offset="+45f"/>+ <semantic:Instant id="segment-introduction-start" projection={story-time} at={copy.story.segment.introduction} boundary="start"/>+ <semantic:Window id="segment-opening" projection={story-time} during={copy.story.segment.opening}/>+ <semantic:Window id="segment-two-roads" projection={story-time} during={copy.story.segment.two-roads}/>+ <semantic:Instant id="segment-two-roads-start" projection={story-time} at={copy.story.segment.two-roads} boundary="start"/>+ <semantic:Instant id="segment-two-roads-start-plus-1s-base" projection={story-time} at={copy.story.segment.two-roads} boundary="start"/>+ <time:Instant id="segment-two-roads-start-plus-1s" timeline={program.timeline} at={segment-two-roads-start-plus-1s-base} offset="+1s"/>+ <semantic:Instant id="moment-road-half-cue" projection={story-time} at={copy.story.moment.road-half}/>+ <semantic:Instant id="segment-two-roads-end" projection={story-time} at={copy.story.segment.two-roads} boundary="end"/>+ <semantic:Window id="segment-water-break" projection={story-time} during={copy.story.segment.water-break}/>+ <semantic:Instant id="moment-resume-cue" projection={story-time} at={copy.story.moment.resume}/>+ <semantic:Window id="segment-closing" projection={story-time} during={copy.story.segment.closing}/>+ <semantic:Instant id="segment-closing-start-plus-1s-base" projection={story-time} at={copy.story.segment.closing} boundary="start"/>+ <time:Instant id="segment-closing-start-plus-1s" timeline={program.timeline} at={segment-closing-start-plus-1s-base} offset="+1s"/>+ <semantic:Instant id="moment-outro-github-cue" projection={story-time} at={copy.story.moment.outro-github}/>+ <semantic:Instant id="moment-outro-bye-cue" projection={story-time} at={copy.story.moment.outro-bye}/>+ <semantic:Window id="segment-timing-cost" projection={story-time} during={copy.story.segment.timing-cost}/>+ <semantic:Instant id="moment-result-guess-cue" projection={story-time} at={copy.story.moment.result-guess}/>+ <semantic:Instant id="segment-reference-reveal-end" projection={story-time} at={copy.story.segment.reference-reveal} boundary="end"/>+ <semantic:Instant id="segment-closing-end-minus-12f-base" projection={story-time} at={copy.story.segment.closing} boundary="end"/>+ <time:Instant id="segment-closing-end-minus-12f" timeline={program.timeline} at={segment-closing-end-minus-12f-base} offset="-12f"/>+ <semantic:Instant id="segment-closing-end" projection={story-time} at={copy.story.segment.closing} boundary="end"/>+ <semantic:Instant id="moment-intro-codex-cue" projection={story-time} at={copy.story.moment.intro-codex}/>+ <semantic:Instant id="moment-intro-claude-cue" projection={story-time} at={copy.story.moment.intro-claude}/>+ <semantic:Instant id="moment-intro-examples-cue" projection={story-time} at={copy.story.moment.intro-examples}/>+ <semantic:Instant id="moment-intro-face-cue" projection={story-time} at={copy.story.moment.intro-face}/>+ <semantic:Instant id="moment-competitor-monthly-cue" projection={story-time} at={copy.story.moment.competitor-monthly}/>+ <semantic:Instant id="moment-competitor-watermark-cue" projection={story-time} at={copy.story.moment.competitor-watermark}/>+ <semantic:Instant id="moment-roads-cue" projection={story-time} at={copy.story.moment.roads}/>+ <semantic:Instant id="moment-road-assets-cue" projection={story-time} at={copy.story.moment.road-assets}/>+ <semantic:Instant id="moment-road-drag-cue" projection={story-time} at={copy.story.moment.road-drag}/>+ <semantic:Instant id="moment-road-fail-cue" projection={story-time} at={copy.story.moment.road-fail}/>+ <semantic:Instant id="moment-road-number-cue" projection={story-time} at={copy.story.moment.road-number}/>+ <semantic:Instant id="moment-road-image-cue" projection={story-time} at={copy.story.moment.road-image}/>+ <semantic:Instant id="moment-road-keys-cue" projection={story-time} at={copy.story.moment.road-keys}/>+ <semantic:Instant id="moment-road-tokens-cue" projection={story-time} at={copy.story.moment.road-tokens}/>+ <semantic:Instant id="moment-code-play-cue" projection={story-time} at={copy.story.moment.code-play}/>+ <semantic:Instant id="moment-code-duplicate-cue" projection={story-time} at={copy.story.moment.code-duplicate}/>+ <semantic:Instant id="moment-solution-keep-cue" projection={story-time} at={copy.story.moment.solution-keep}/>+ <semantic:Instant id="moment-solution-drop-cue" projection={story-time} at={copy.story.moment.solution-drop}/>+ <semantic:Instant id="moment-part-caption-cue" projection={story-time} at={copy.story.moment.part-caption}/>+ <semantic:Instant id="moment-part-ranking-cue" projection={story-time} at={copy.story.moment.part-ranking}/>+ <semantic:Instant id="moment-part-chart-cue" projection={story-time} at={copy.story.moment.part-chart}/>+ <semantic:Instant id="moment-part-card-cue" projection={story-time} at={copy.story.moment.part-card}/>+ <semantic:Instant id="moment-parts-library-cue" projection={story-time} at={copy.story.moment.parts-library}/>+ <semantic:Instant id="moment-parts-reuse-cue" projection={story-time} at={copy.story.moment.parts-reuse}/>+ <semantic:Instant id="moment-parts-swap-cue" projection={story-time} at={copy.story.moment.parts-swap}/>+ <semantic:Instant id="moment-rank-reveal-cue" projection={story-time} at={copy.story.moment.rank-reveal}/>+ <semantic:Instant id="moment-product-reveal-cue" projection={story-time} at={copy.story.moment.product-reveal}/>+ <semantic:Instant id="moment-sem-voice-cue" projection={story-time} at={copy.story.moment.sem-voice}/>+ <semantic:Instant id="moment-sem-adapt-cue" projection={story-time} at={copy.story.moment.sem-adapt}/>+ <semantic:Instant id="moment-result-assets-cue" projection={story-time} at={copy.story.moment.result-assets}/>+ <semantic:Instant id="moment-result-meta-cue" projection={story-time} at={copy.story.moment.result-meta}/>+ <semantic:Instant id="moment-outro-install-cue" projection={story-time} at={copy.story.moment.outro-install}/>+ <semantic:Instant id="moment-outro-gift-cue" projection={story-time} at={copy.story.moment.outro-gift}/>+ <semantic:Instant id="segment-opening-end-plus-4f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-4f" timeline={program.timeline} at={segment-opening-end-plus-4f-base} offset="+4f"/>+ <semantic:Instant id="segment-opening-end-plus-13f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-13f" timeline={program.timeline} at={segment-opening-end-plus-13f-base} offset="+13f"/>+ <semantic:Instant id="segment-opening-end-plus-28f-base" projection={story-time} at={copy.story.segment.opening} boundary="end"/>+ <time:Instant id="segment-opening-end-plus-28f" timeline={program.timeline} at={segment-opening-end-plus-28f-base} offset="+28f"/>+ <semantic:Window id="segment-introduction" projection={story-time} during={copy.story.segment.introduction}/>+ <semantic:Instant id="moment-intro-language-cue" projection={story-time} at={copy.story.moment.intro-language}/>+ <semantic:Instant id="moment-intro-install-cue" projection={story-time} at={copy.story.moment.intro-install}/>+ <semantic:Instant id="moment-intro-thirty-cue" projection={story-time} at={copy.story.moment.intro-thirty}/>+ <semantic:Instant id="moment-intro-product-cue" projection={story-time} at={copy.story.moment.intro-product}/>+ <semantic:Window id="segment-competitors" projection={story-time} during={copy.story.segment.competitors}/>+ <semantic:Instant id="moment-competitor-other-cue" projection={story-time} at={copy.story.moment.competitor-other}/>+ <semantic:Instant id="moment-competitor-templates-cue" projection={story-time} at={copy.story.moment.competitor-templates}/>+ <semantic:Instant id="moment-competitor-cases-cue" projection={story-time} at={copy.story.moment.competitor-cases}/>+ <semantic:Instant id="segment-keyframe-cost-end" projection={story-time} at={copy.story.segment.keyframe-cost} boundary="end"/>+ <semantic:Instant id="moment-road-editor-cue" projection={story-time} at={copy.story.moment.road-editor}/>+ <semantic:Instant id="moment-road-operate-cue" projection={story-time} at={copy.story.moment.road-operate}/>+ <semantic:Instant id="moment-road-capcut-cue" projection={story-time} at={copy.story.moment.road-capcut}/>+ <semantic:Instant id="moment-road-premiere-cue" projection={story-time} at={copy.story.moment.road-premiere}/>+ <semantic:Instant id="moment-road-resolve-cue" projection={story-time} at={copy.story.moment.road-resolve}/>+ <semantic:Instant id="moment-road-same-cue" projection={story-time} at={copy.story.moment.road-same}/>+ <semantic:Instant id="moment-road-place-cue" projection={story-time} at={copy.story.moment.road-place}/>+ <semantic:Instant id="moment-road-generated-cue" projection={story-time} at={copy.story.moment.road-generated}/>+ <semantic:Instant id="moment-road-unstable-cue" projection={story-time} at={copy.story.moment.road-unstable}/>+ <semantic:Instant id="moment-road-styles-cue" projection={story-time} at={copy.story.moment.road-styles}/>+ <semantic:Instant id="segment-code-road-start" projection={story-time} at={copy.story.segment.code-road} boundary="start"/>+ <semantic:Instant id="segment-synthesis-end" projection={story-time} at={copy.story.segment.synthesis} boundary="end"/>+ <semantic:Instant id="moment-code-remotion-cue" projection={story-time} at={copy.story.moment.code-remotion}/>+ <semantic:Instant id="moment-code-hyperframes-cue" projection={story-time} at={copy.story.moment.code-hyperframes}/>+ <semantic:Instant id="moment-code-html-cue" projection={story-time} at={copy.story.moment.code-html}/>+ <semantic:Instant id="moment-code-once-cue" projection={story-time} at={copy.story.moment.code-once}/>+ <semantic:Instant id="moment-code-variant-cue" projection={story-time} at={copy.story.moment.code-variant}/>+ <semantic:Instant id="moment-code-copy-cue" projection={story-time} at={copy.story.moment.code-copy}/>+ <semantic:Instant id="moment-code-tokens-cue" projection={story-time} at={copy.story.moment.code-tokens}/>+ <semantic:Instant id="moment-code-time-cue" projection={story-time} at={copy.story.moment.code-time}/>+ <semantic:Instant id="moment-code-different-cue" projection={story-time} at={copy.story.moment.code-different}/>+ <semantic:Instant id="moment-code-match-cue" projection={story-time} at={copy.story.moment.code-match}/>+ <semantic:Instant id="moment-code-retime-cue" projection={story-time} at={copy.story.moment.code-retime}/>+ <semantic:Instant id="segment-water-break-start" projection={story-time} at={copy.story.segment.water-break} boundary="start"/>+ <semantic:Instant id="moment-solution-cue" projection={story-time} at={copy.story.moment.solution}/>+ <semantic:Instant id="moment-solution-roads-cue" projection={story-time} at={copy.story.moment.solution-roads}/>+ <semantic:Window id="segment-components" projection={story-time} during={copy.story.segment.components}/>+ <semantic:Instant id="moment-parts-all-cue" projection={story-time} at={copy.story.moment.parts-all}/>+ <semantic:Instant id="moment-parts-word-cue" projection={story-time} at={copy.story.moment.parts-word}/>+ <semantic:Instant id="moment-parts-picture-cue" projection={story-time} at={copy.story.moment.parts-picture}/>+ <semantic:Instant id="moment-parts-color-cue" projection={story-time} at={copy.story.moment.parts-color}/>+ <semantic:Instant id="segment-semantic-time-start" projection={story-time} at={copy.story.segment.semantic-time} boundary="start"/>+ <semantic:Instant id="segment-semantic-demo-end" projection={story-time} at={copy.story.segment.semantic-demo} boundary="end"/>+ <semantic:Instant id="moment-sem-bind-cue" projection={story-time} at={copy.story.moment.sem-bind}/>+ <semantic:Instant id="moment-sem-examples-cue" projection={story-time} at={copy.story.moment.sem-examples}/>+ <semantic:Instant id="moment-sem-rewrite-scene-cue" projection={story-time} at={copy.story.moment.sem-rewrite-scene}/>+ <semantic:Instant id="moment-sem-rewrite-cue" projection={story-time} at={copy.story.moment.sem-rewrite}/>+ <semantic:Instant id="moment-sem-syntax-cue" projection={story-time} at={copy.story.moment.sem-syntax}/>+ <semantic:Instant id="segment-result-start" projection={story-time} at={copy.story.segment.result} boundary="start"/>+ <semantic:Instant id="moment-result-upload-cue" projection={story-time} at={copy.story.moment.result-upload}/>+ <semantic:Instant id="moment-result-compare-cue" projection={story-time} at={copy.story.moment.result-compare}/>+ <semantic:Instant id="moment-result-brand-cue" projection={story-time} at={copy.story.moment.result-brand}/>+ <semantic:Instant id="moment-outro-copy-cue" projection={story-time} at={copy.story.moment.outro-copy}/><!-- Absolute presentation windows are named once; components only consume them. -->- <time:Window id="opening-title-window" timeline={program.timeline} from="start" until={story-time.moment-begin-cue}/>- <time:Window id="road-flag-window" timeline={program.timeline} from={story-time.moment-road-overview-cue} until={story-time.segment-timing-cost-end}/>- <time:Window id="closing-road-flag-window" timeline={program.timeline} from={story-time.segment-synthesis-start} until={story-time.segment-closing-start}/>- <time:Window id="series-timer-window" timeline={program.timeline} from={story-time.moment-begin-cue} until="end"/>- <time:Window id="opening-montage-window" timeline={program.timeline} from={story-time.segment-opening-end} until={story-time.segment-opening-end-plus-1-5s}/>- <time:Window id="montage-image-1-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-0f} until={story-time.segment-opening-end-plus-5f}/>- <time:Window id="montage-image-2-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-5f} until={story-time.segment-opening-end-plus-9f}/>- <time:Window id="montage-image-3-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-9f} until={story-time.segment-opening-end-plus-14f}/>- <time:Window id="montage-image-4-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-14f} until={story-time.segment-opening-end-plus-45f}/>- <time:Window id="host-small-from-introduction" timeline={program.timeline} from={story-time.segment-introduction-start} until="end"/>+ <time:Window id="opening-title-window" timeline={program.timeline} from="start" until={moment-begin-cue}/>+ <time:Window id="road-flag-window" timeline={program.timeline} from={moment-road-overview-cue} until={segment-timing-cost-end}/>+ <time:Window id="closing-road-flag-window" timeline={program.timeline} from={segment-synthesis-start} until={segment-closing-start}/>+ <time:Window id="series-timer-window" timeline={program.timeline} from={moment-begin-cue} until="end"/>+ <time:Window id="opening-montage-window" timeline={program.timeline} from={segment-opening-end} until={segment-opening-end-plus-1-5s}/>+ <time:Window id="montage-image-1-window" timeline={program.timeline} from={segment-opening-end-plus-0f} until={segment-opening-end-plus-5f}/>+ <time:Window id="montage-image-2-window" timeline={program.timeline} from={segment-opening-end-plus-5f} until={segment-opening-end-plus-9f}/>+ <time:Window id="montage-image-3-window" timeline={program.timeline} from={segment-opening-end-plus-9f} until={segment-opening-end-plus-14f}/>+ <time:Window id="montage-image-4-window" timeline={program.timeline} from={segment-opening-end-plus-14f} until={segment-opening-end-plus-45f}/>+ <time:Window id="host-small-from-introduction" timeline={program.timeline} from={segment-introduction-start} until="end"/><time:Window id="opening-pullback-window" timeline={program.timeline} from="0f" until="1s"/>- <time:Window id="two-roads-pullback-window" timeline={program.timeline} from={story-time.segment-two-roads-start} until={story-time.segment-two-roads-start-plus-1s}/>- <time:Window id="host-upper-road-window" timeline={program.timeline} from={story-time.moment-road-half-cue} until={story-time.moment-road-overview-cue}/>- <time:Window id="host-rise-window" timeline={program.timeline} from={story-time.moment-road-half-cue} for="14f"/>- <time:Window id="host-small-road-window" timeline={program.timeline} from={story-time.moment-road-overview-cue} until={story-time.segment-two-roads-end}/>- <time:Window id="host-small-resume-window" timeline={program.timeline} from={story-time.moment-resume-cue} until="end"/>- <time:Window id="host-resume-window" timeline={program.timeline} from={story-time.moment-resume-cue} for="18f"/>- <time:Window id="closing-pullback-window" timeline={program.timeline} from={story-time.segment-closing-start} until={story-time.segment-closing-start-plus-1s}/>- <time:Window id="host-small-outro-window" timeline={program.timeline} from={story-time.moment-outro-github-cue} until={story-time.moment-outro-bye-cue}/>- <time:Window id="host-hidden-result-window" timeline={program.timeline} from={story-time.moment-result-guess-cue} until={story-time.segment-reference-reveal-end}/>- <time:Window id="host-fade-window" timeline={program.timeline} from={story-time.segment-closing-end-minus-12f} until={story-time.segment-closing-end}/>- <time:Window id="host-hidden-after-closing-window" timeline={program.timeline} from={story-time.segment-closing-end} until="end"/>- <time:Window id="editor-journey-window" timeline={program.timeline} from={story-time.segment-two-roads-start} until={story-time.segment-keyframe-cost-end}/>- <time:Window id="code-journey-window" timeline={program.timeline} from={story-time.segment-code-road-start} until={story-time.segment-synthesis-end}/>- <time:Window id="semantic-workshop-window" timeline={program.timeline} from={story-time.segment-semantic-time-start} until={story-time.segment-semantic-demo-end}/>- <time:Window id="delivery-workshop-window" timeline={program.timeline} from={story-time.segment-result-start} until={story-time.segment-reference-reveal-end}/>- <time:Window id="outro-scene-window" timeline={program.timeline} from={story-time.segment-closing-start} until="end"/>- <time:Window id="sfx-intro-codex-window" timeline={program.timeline} from={story-time.moment-intro-codex-cue} for="0.24s"/>- <time:Window id="sfx-intro-claude-window" timeline={program.timeline} from={story-time.moment-intro-claude-cue} for="0.24s"/>- <time:Window id="sfx-intro-examples-window" timeline={program.timeline} from={story-time.moment-intro-examples-cue} for="0.36s"/>- <time:Window id="sfx-intro-face-window" timeline={program.timeline} from={story-time.moment-intro-face-cue} for="0.48s"/>- <time:Window id="sfx-competitor-monthly-window" timeline={program.timeline} from={story-time.moment-competitor-monthly-cue} for="0.12s"/>- <time:Window id="sfx-competitor-watermark-window" timeline={program.timeline} from={story-time.moment-competitor-watermark-cue} for="0.65s"/>- <time:Window id="sfx-roads-window" timeline={program.timeline} from={story-time.moment-roads-cue} for="0.26s"/>- <time:Window id="sfx-road-assets-window" timeline={program.timeline} from={story-time.moment-road-assets-cue} for="0.24s"/>- <time:Window id="sfx-road-drag-window" timeline={program.timeline} from={story-time.moment-road-drag-cue} for="0.12s"/>- <time:Window id="sfx-road-fail-window" timeline={program.timeline} from={story-time.moment-road-fail-cue} for="0.4s"/>- <time:Window id="sfx-road-number-window" timeline={program.timeline} from={story-time.moment-road-number-cue} for="0.24s"/>- <time:Window id="sfx-road-image-window" timeline={program.timeline} from={story-time.moment-road-image-cue} for="0.36s"/>- <time:Window id="sfx-road-keys-window" timeline={program.timeline} from={story-time.moment-road-keys-cue} for="0.65s"/>- <time:Window id="sfx-road-tokens-window" timeline={program.timeline} from={story-time.moment-road-tokens-cue} for="0.65s"/>- <time:Window id="sfx-code-play-window" timeline={program.timeline} from={story-time.moment-code-play-cue} for="0.24s"/>- <time:Window id="sfx-code-duplicate-window" timeline={program.timeline} from={story-time.moment-code-duplicate-cue} for="0.65s"/>- <time:Window id="sfx-solution-keep-window" timeline={program.timeline} from={story-time.moment-solution-keep-cue} for="0.48s"/>- <time:Window id="sfx-solution-drop-window" timeline={program.timeline} from={story-time.moment-solution-drop-cue} for="0.36s"/>- <time:Window id="sfx-part-caption-window" timeline={program.timeline} from={story-time.moment-part-caption-cue} for="0.12s"/>- <time:Window id="sfx-part-ranking-window" timeline={program.timeline} from={story-time.moment-part-ranking-cue} for="0.12s"/>- <time:Window id="sfx-part-chart-window" timeline={program.timeline} from={story-time.moment-part-chart-cue} for="0.12s"/>- <time:Window id="sfx-part-card-window" timeline={program.timeline} from={story-time.moment-part-card-cue} for="0.12s"/>- <time:Window id="sfx-parts-library-window" timeline={program.timeline} from={story-time.moment-parts-library-cue} for="0.26s"/>- <time:Window id="sfx-parts-reuse-window" timeline={program.timeline} from={story-time.moment-parts-reuse-cue} for="0.48s"/>- <time:Window id="sfx-parts-swap-window" timeline={program.timeline} from={story-time.moment-parts-swap-cue} for="0.36s"/>- <time:Window id="sfx-rank-reveal-window" timeline={program.timeline} from={story-time.moment-rank-reveal-cue} for="0.26s"/>- <time:Window id="sfx-product-reveal-window" timeline={program.timeline} from={story-time.moment-product-reveal-cue} for="0.24s"/>- <time:Window id="sfx-sem-voice-window" timeline={program.timeline} from={story-time.moment-sem-voice-cue} for="0.12s"/>- <time:Window id="sfx-sem-adapt-window" timeline={program.timeline} from={story-time.moment-sem-adapt-cue} for="0.48s"/>- <time:Window id="sfx-result-assets-window" timeline={program.timeline} from={story-time.moment-result-assets-cue} for="0.72s"/>- <time:Window id="sfx-result-meta-window" timeline={program.timeline} from={story-time.moment-result-meta-cue} for="0.36s"/>- <time:Window id="sfx-outro-install-window" timeline={program.timeline} from={story-time.moment-outro-install-cue} for="0.12s"/>- <time:Window id="sfx-outro-gift-window" timeline={program.timeline} from={story-time.moment-outro-gift-cue} for="0.48s"/>- <time:Window id="sfx-outro-bye-window" timeline={program.timeline} from={story-time.moment-outro-bye-cue} for="0.72s"/>- <time:Window id="sfx-montage-1-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-0f} until={story-time.segment-opening-end-plus-4f}/>- <time:Window id="sfx-montage-2-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-5f} until={story-time.segment-opening-end-plus-9f}/>- <time:Window id="sfx-montage-3-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-9f} until={story-time.segment-opening-end-plus-13f}/>- <time:Window id="sfx-montage-4-window" timeline={program.timeline} from={story-time.segment-opening-end-plus-14f} until={story-time.segment-opening-end-plus-28f}/>+ <time:Window id="two-roads-pullback-window" timeline={program.timeline} from={segment-two-roads-start} until={segment-two-roads-start-plus-1s}/>+ <time:Window id="host-upper-road-window" timeline={program.timeline} from={moment-road-half-cue} until={moment-road-overview-cue}/>+ <time:Window id="host-rise-window" timeline={program.timeline} from={moment-road-half-cue} for="14f"/>+ <time:Window id="host-small-road-window" timeline={program.timeline} from={moment-road-overview-cue} until={segment-two-roads-end}/>+ <time:Window id="host-small-resume-window" timeline={program.timeline} from={moment-resume-cue} until="end"/>+ <time:Window id="host-resume-window" timeline={program.timeline} from={moment-resume-cue} for="18f"/>+ <time:Window id="closing-pullback-window" timeline={program.timeline} from={segment-closing-start} until={segment-closing-start-plus-1s}/>+ <time:Window id="host-small-outro-window" timeline={program.timeline} from={moment-outro-github-cue} until={moment-outro-bye-cue}/>+ <time:Window id="host-hidden-result-window" timeline={program.timeline} from={moment-result-guess-cue} until={segment-reference-reveal-end}/>+ <time:Window id="host-fade-window" timeline={program.timeline} from={segment-closing-end-minus-12f} until={segment-closing-end}/>+ <time:Window id="host-hidden-after-closing-window" timeline={program.timeline} from={segment-closing-end} until="end"/>+ <time:Window id="editor-journey-window" timeline={program.timeline} from={segment-two-roads-start} until={segment-keyframe-cost-end}/>+ <time:Window id="code-journey-window" timeline={program.timeline} from={segment-code-road-start} until={segment-synthesis-end}/>+ <time:Window id="semantic-workshop-window" timeline={program.timeline} from={segment-semantic-time-start} until={segment-semantic-demo-end}/>+ <time:Window id="delivery-workshop-window" timeline={program.timeline} from={segment-result-start} until={segment-reference-reveal-end}/>+ <time:Window id="outro-scene-window" timeline={program.timeline} from={segment-closing-start} until="end"/>+ <time:Window id="sfx-intro-codex-window" timeline={program.timeline} from={moment-intro-codex-cue} for="0.24s"/>+ <time:Window id="sfx-intro-claude-window" timeline={program.timeline} from={moment-intro-claude-cue} for="0.24s"/>+ <time:Window id="sfx-intro-examples-window" timeline={program.timeline} from={moment-intro-examples-cue} for="0.36s"/>+ <time:Window id="sfx-intro-face-window" timeline={program.timeline} from={moment-intro-face-cue} for="0.48s"/>+ <time:Window id="sfx-competitor-monthly-window" timeline={program.timeline} from={moment-competitor-monthly-cue} for="0.12s"/>+ <time:Window id="sfx-competitor-watermark-window" timeline={program.timeline} from={moment-competitor-watermark-cue} for="0.65s"/>+ <time:Window id="sfx-roads-window" timeline={program.timeline} from={moment-roads-cue} for="0.26s"/>+ <time:Window id="sfx-road-assets-window" timeline={program.timeline} from={moment-road-assets-cue} for="0.24s"/>+ <time:Window id="sfx-road-drag-window" timeline={program.timeline} from={moment-road-drag-cue} for="0.12s"/>+ <time:Window id="sfx-road-fail-window" timeline={program.timeline} from={moment-road-fail-cue} for="0.4s"/>+ <time:Window id="sfx-road-number-window" timeline={program.timeline} from={moment-road-number-cue} for="0.24s"/>+ <time:Window id="sfx-road-image-window" timeline={program.timeline} from={moment-road-image-cue} for="0.36s"/>+ <time:Window id="sfx-road-keys-window" timeline={program.timeline} from={moment-road-keys-cue} for="0.65s"/>+ <time:Window id="sfx-road-tokens-window" timeline={program.timeline} from={moment-road-tokens-cue} for="0.65s"/>+ <time:Window id="sfx-code-play-window" timeline={program.timeline} from={moment-code-play-cue} for="0.24s"/>+ <time:Window id="sfx-code-duplicate-window" timeline={program.timeline} from={moment-code-duplicate-cue} for="0.65s"/>+ <time:Window id="sfx-solution-keep-window" timeline={program.timeline} from={moment-solution-keep-cue} for="0.48s"/>+ <time:Window id="sfx-solution-drop-window" timeline={program.timeline} from={moment-solution-drop-cue} for="0.36s"/>+ <time:Window id="sfx-part-caption-window" timeline={program.timeline} from={moment-part-caption-cue} for="0.12s"/>+ <time:Window id="sfx-part-ranking-window" timeline={program.timeline} from={moment-part-ranking-cue} for="0.12s"/>+ <time:Window id="sfx-part-chart-window" timeline={program.timeline} from={moment-part-chart-cue} for="0.12s"/>+ <time:Window id="sfx-part-card-window" timeline={program.timeline} from={moment-part-card-cue} for="0.12s"/>+ <time:Window id="sfx-parts-library-window" timeline={program.timeline} from={moment-parts-library-cue} for="0.26s"/>+ <time:Window id="sfx-parts-reuse-window" timeline={program.timeline} from={moment-parts-reuse-cue} for="0.48s"/>+ <time:Window id="sfx-parts-swap-window" timeline={program.timeline} from={moment-parts-swap-cue} for="0.36s"/>+ <time:Window id="sfx-rank-reveal-window" timeline={program.timeline} from={moment-rank-reveal-cue} for="0.26s"/>+ <time:Window id="sfx-product-reveal-window" timeline={program.timeline} from={moment-product-reveal-cue} for="0.24s"/>+ <time:Window id="sfx-sem-voice-window" timeline={program.timeline} from={moment-sem-voice-cue} for="0.12s"/>+ <time:Window id="sfx-sem-adapt-window" timeline={program.timeline} from={moment-sem-adapt-cue} for="0.48s"/>+ <time:Window id="sfx-result-assets-window" timeline={program.timeline} from={moment-result-assets-cue} for="0.72s"/>+ <time:Window id="sfx-result-meta-window" timeline={program.timeline} from={moment-result-meta-cue} for="0.36s"/>+ <time:Window id="sfx-outro-install-window" timeline={program.timeline} from={moment-outro-install-cue} for="0.12s"/>+ <time:Window id="sfx-outro-gift-window" timeline={program.timeline} from={moment-outro-gift-cue} for="0.48s"/>+ <time:Window id="sfx-outro-bye-window" timeline={program.timeline} from={moment-outro-bye-cue} for="0.72s"/>+ <time:Window id="sfx-montage-1-window" timeline={program.timeline} from={segment-opening-end-plus-0f} until={segment-opening-end-plus-4f}/>+ <time:Window id="sfx-montage-2-window" timeline={program.timeline} from={segment-opening-end-plus-5f} until={segment-opening-end-plus-9f}/>+ <time:Window id="sfx-montage-3-window" timeline={program.timeline} from={segment-opening-end-plus-9f} until={segment-opening-end-plus-13f}/>+ <time:Window id="sfx-montage-4-window" timeline={program.timeline} from={segment-opening-end-plus-14f} until={segment-opening-end-plus-28f}/><narrative-caption:Timing id="caption-timing" document={copy.story.caption}- binding={copy.story.caption-binding} projection={story-time.projection}/>+ binding={copy.story.caption-binding} projection={story-time}/><mediaop:Normalize id="ranking-clone-media" source={assets.ranking-clone} clock={assets.clock} video="primary-moving" audio="none" span-authority="video"/><mediaop:Normalize id="swap-virtual-media" source={assets.swap-virtual} clock={assets.clock} video="primary-moving" audio="none" span-authority="video"/><mediaop:Normalize id="swap-language-media" source={assets.swap-language} clock={assets.clock} video="primary-moving" audio="none" span-authority="video"/>@@ -401,10 +413,10 @@<mediaop:Normalize id="swap-vehicle-media" source={assets.swap-vehicle} clock={assets.clock} video="primary-moving" audio="none" span-authority="video"/><!-- Opening chrome and independent montage -->- <gfx:Title id="opening-title" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={opening-title-window} bounce-at={story-time.moment-opening-brand-cue} color="#fa67aa" title-y="0.58" title="Hypit" subtitle="一分钟了解" seconds="60"/>+ <gfx:Title id="opening-title" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={opening-title-window} bounce-at={moment-opening-brand-cue} color="#fa67aa" title-y="0.58" title="Hypit" subtitle="一分钟了解" seconds="60"/><gfx:Flag id="road-flag" x="0.035" width="0.93" height="0.21" y="0.752" timeline={program.timeline} within={assets.canvas.bounds} logo={assets.flag-logo} during={road-flag-window}/><gfx:Flag id="closing-road-flag" x="0.035" width="0.93" height="0.21" y="0.752" timeline={program.timeline} within={assets.canvas.bounds} logo={assets.flag-logo} during={closing-road-flag-window}/>- <gfx:Timer flag-amplitude="0.06" logo={assets.flag-logo} id="series-timer" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={series-timer-window} stop-at={story-time.moment-outro-overtime-cue} flag-color="#fa67aa" title="Hypit" subtitle="VIDEO FRAMEWORK" seconds="60"/>+ <gfx:Timer flag-amplitude="0.06" logo={assets.flag-logo} id="series-timer" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={series-timer-window} stop-at={moment-outro-overtime-cue} flag-color="#fa67aa" title="Hypit" subtitle="VIDEO FRAMEWORK" seconds="60"/><gfx:Stage id="opening-montage" push-rate="0.025" timeline={program.timeline} within={assets.canvas.bounds} during={opening-montage-window}><gfx:Item id="image-1" image={assets.montage-1} during={montage-image-1-window}/><gfx:Item id="image-2" image={assets.montage-2} during={montage-image-2-window}/>@@ -443,20 +455,20 @@<gfx:Source id="reference-reveal-source" media={reference-reveal-media.media} window={program.reference-reveal}/><gfx:Source id="closing-source" media={closing-media.media} window={program.closing}/><gfx:Use style={host-small} during={host-small-from-introduction}/>- <gfx:Use during={story-time.segment-opening} style={host-full}/>+ <gfx:Use during={segment-opening} style={host-full}/><gfx:Use during={opening-pullback-window} style={opening-pullback}/>- <gfx:Use during={story-time.segment-two-roads} style={host-full}/>+ <gfx:Use during={segment-two-roads} style={host-full}/><gfx:Use during={two-roads-pullback-window} style={opening-pullback}/><gfx:Use during={host-upper-road-window} style={host-upper}/><gfx:Use during={host-rise-window} style={host-rise}/><gfx:Use during={host-small-road-window} style={host-small}/>- <gfx:Use during={story-time.segment-water-break} style={host-full}/>+ <gfx:Use during={segment-water-break} style={host-full}/><gfx:Use during={host-small-resume-window} style={host-small}/><gfx:Use during={host-resume-window} style={host-resume}/>- <gfx:Use during={story-time.segment-closing} style={host-full}/>+ <gfx:Use during={segment-closing} style={host-full}/><gfx:Use during={closing-pullback-window} style={opening-pullback}/><gfx:Use during={host-small-outro-window} style={host-small}/>- <gfx:Use during={story-time.segment-timing-cost} style={host-hidden}/>+ <gfx:Use during={segment-timing-cost} style={host-hidden}/><gfx:Use during={host-hidden-result-window} style={host-hidden}/><gfx:Use during={host-fade-window} style={host-fade}/><gfx:Use during={host-hidden-after-closing-window} style={host-hidden}/>@@ -539,111 +551,111 @@<linecaption:Caption id="captions" timeline={program.timeline}document={copy.story.caption} timing={caption-timing} within={assets.canvas.bounds}><linecaption:Use style={caption-base}/>- <linecaption:Use during={story-time.segment-opening} style={hidden-captions}/>+ <linecaption:Use during={segment-opening} style={hidden-captions}/></linecaption:Caption><launch:PosterTitle id="montage-label" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={montage-image-4-window} text="Hypit" subtitle="复刻任何爆款视频" y="0.165" size="180" subtitle-size="46" subtitle-gap="35"/><!-- Coordinated scenes: supplied media plus semantic events -->- <webscene:Introduction id="intro-scene" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={story-time.segment-introduction} page={web-hypit-media.media} code={code-demo-media.media} readme={readme-demo-media.media} codex={assets.icon-codex} claude={assets.icon-claude} reference-ranking={reference-ranking-media.media} reference-podcast={reference-podcast-media.media} reference-interview={reference-interview-media.media} hypit-ranking={hypit-ranking-media.media} hypit-podcast={hypit-podcast-media.media} hypit-interview={hypit-interview-media.media}>- <webscene:Beat name="language" at={story-time.moment-intro-language-cue}/>- <webscene:Beat name="install" at={story-time.moment-intro-install-cue}/>- <webscene:Beat name="codex" at={story-time.moment-intro-codex-cue}/>- <webscene:Beat name="claude" at={story-time.moment-intro-claude-cue}/>- <webscene:Beat name="examples" at={story-time.moment-intro-examples-cue}/>- <webscene:Beat name="thirty" at={story-time.moment-intro-thirty-cue}/>- <webscene:Beat name="face" at={story-time.moment-intro-face-cue}/>- <webscene:Beat name="product" at={story-time.moment-intro-product-cue}/>+ <webscene:Introduction id="intro-scene" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={segment-introduction} page={web-hypit-media.media} code={code-demo-media.media} readme={readme-demo-media.media} codex={assets.icon-codex} claude={assets.icon-claude} reference-ranking={reference-ranking-media.media} reference-podcast={reference-podcast-media.media} reference-interview={reference-interview-media.media} hypit-ranking={hypit-ranking-media.media} hypit-podcast={hypit-podcast-media.media} hypit-interview={hypit-interview-media.media}>+ <webscene:Beat name="language" at={moment-intro-language-cue}/>+ <webscene:Beat name="install" at={moment-intro-install-cue}/>+ <webscene:Beat name="codex" at={moment-intro-codex-cue}/>+ <webscene:Beat name="claude" at={moment-intro-claude-cue}/>+ <webscene:Beat name="examples" at={moment-intro-examples-cue}/>+ <webscene:Beat name="thirty" at={moment-intro-thirty-cue}/>+ <webscene:Beat name="face" at={moment-intro-face-cue}/>+ <webscene:Beat name="product" at={moment-intro-product-cue}/></webscene:Introduction>- <webscene:Comparison id="competitor-scene" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={story-time.segment-competitors} left={web-creatify-media.media} right={web-higgsfield-media.media} price-a={price-creatify-media.media} price-b={price-higgsfield-media.media} templates-a={templates-creatify-media.media} templates-b={templates-higgsfield-media.media} case-a={case-creatify-media.media} case-b={case-higgsfield-media.media} logo-a={assets.logo-creatify} logo-b={assets.logo-higgsfield}>- <webscene:Beat name="other" at={story-time.moment-competitor-other-cue}/>- <webscene:Beat name="monthly" at={story-time.moment-competitor-monthly-cue}/>- <webscene:Beat name="templates" at={story-time.moment-competitor-templates-cue}/>- <webscene:Beat name="cases" at={story-time.moment-competitor-cases-cue}/>- <webscene:Beat name="watermark" at={story-time.moment-competitor-watermark-cue}/>+ <webscene:Comparison id="competitor-scene" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={segment-competitors} left={web-creatify-media.media} right={web-higgsfield-media.media} price-a={price-creatify-media.media} price-b={price-higgsfield-media.media} templates-a={templates-creatify-media.media} templates-b={templates-higgsfield-media.media} case-a={case-creatify-media.media} case-b={case-higgsfield-media.media} logo-a={assets.logo-creatify} logo-b={assets.logo-higgsfield}>+ <webscene:Beat name="other" at={moment-competitor-other-cue}/>+ <webscene:Beat name="monthly" at={moment-competitor-monthly-cue}/>+ <webscene:Beat name="templates" at={moment-competitor-templates-cue}/>+ <webscene:Beat name="cases" at={moment-competitor-cases-cue}/>+ <webscene:Beat name="watermark" at={moment-competitor-watermark-cue}/></webscene:Comparison><webscene:Road id="editor-journey" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={editor-journey-window} page={web-hypit-media.media} sample={case-higgsfield-media.media} codex={assets.icon-codex} capcut={assets.icon-capcut} premiere={assets.icon-premiere} resolve={assets.icon-resolve} logo={assets.road-logo} portrait={assets.presenter-reference} thumb-a={assets.gallery-ranking} thumb-b={assets.gallery-podcast} thumb-c={assets.gallery-interview} thumb-d={assets.gallery-original-ranking} thumb-e={assets.gallery-original-interview} thumb-f={assets.gallery-homepage} thumb-g={assets.gallery-code}>- <webscene:Beat name="half" at={story-time.moment-road-half-cue}/>- <webscene:Beat name="overview" at={story-time.moment-road-overview-cue}/>- <webscene:Beat name="editor" at={story-time.moment-road-editor-cue}/>- <webscene:Beat name="operate" at={story-time.moment-road-operate-cue}/>- <webscene:Beat name="capcut" at={story-time.moment-road-capcut-cue}/>- <webscene:Beat name="premiere" at={story-time.moment-road-premiere-cue}/>- <webscene:Beat name="resolve" at={story-time.moment-road-resolve-cue}/>- <webscene:Beat name="same" at={story-time.moment-road-same-cue}/>- <webscene:Beat name="assets" at={story-time.moment-road-assets-cue}/>- <webscene:Beat name="drag" at={story-time.moment-road-drag-cue}/>- <webscene:Beat name="place" at={story-time.moment-road-place-cue}/>- <webscene:Beat name="fail" at={story-time.moment-road-fail-cue}/>- <webscene:Beat name="number" at={story-time.moment-road-number-cue}/>- <webscene:Beat name="image" at={story-time.moment-road-image-cue}/>- <webscene:Beat name="keys" at={story-time.moment-road-keys-cue}/>- <webscene:Beat name="tokens" at={story-time.moment-road-tokens-cue}/>- <webscene:Beat name="generated" at={story-time.moment-road-generated-cue}/>- <webscene:Beat name="unstable" at={story-time.moment-road-unstable-cue}/>- <webscene:Beat name="styles" at={story-time.moment-road-styles-cue}/>+ <webscene:Beat name="half" at={moment-road-half-cue}/>+ <webscene:Beat name="overview" at={moment-road-overview-cue}/>+ <webscene:Beat name="editor" at={moment-road-editor-cue}/>+ <webscene:Beat name="operate" at={moment-road-operate-cue}/>+ <webscene:Beat name="capcut" at={moment-road-capcut-cue}/>+ <webscene:Beat name="premiere" at={moment-road-premiere-cue}/>+ <webscene:Beat name="resolve" at={moment-road-resolve-cue}/>+ <webscene:Beat name="same" at={moment-road-same-cue}/>+ <webscene:Beat name="assets" at={moment-road-assets-cue}/>+ <webscene:Beat name="drag" at={moment-road-drag-cue}/>+ <webscene:Beat name="place" at={moment-road-place-cue}/>+ <webscene:Beat name="fail" at={moment-road-fail-cue}/>+ <webscene:Beat name="number" at={moment-road-number-cue}/>+ <webscene:Beat name="image" at={moment-road-image-cue}/>+ <webscene:Beat name="keys" at={moment-road-keys-cue}/>+ <webscene:Beat name="tokens" at={moment-road-tokens-cue}/>+ <webscene:Beat name="generated" at={moment-road-generated-cue}/>+ <webscene:Beat name="unstable" at={moment-road-unstable-cue}/>+ <webscene:Beat name="styles" at={moment-road-styles-cue}/></webscene:Road><webscene:CodeJourney id="code-journey" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={code-journey-window} codex={assets.icon-codex} remotion={assets.icon-remotion} hyperframes={assets.icon-hyperframes} ranking={reference-ranking-media.media} podcast={reference-podcast-media.media} interview={reference-interview-media.media} target={hypit-ranking-media.media}>- <webscene:Beat name="remotion" at={story-time.moment-code-remotion-cue}/>- <webscene:Beat name="hyperframes" at={story-time.moment-code-hyperframes-cue}/>- <webscene:Beat name="html" at={story-time.moment-code-html-cue}/>- <webscene:Beat name="play" at={story-time.moment-code-play-cue}/>- <webscene:Beat name="once" at={story-time.moment-code-once-cue}/>- <webscene:Beat name="variant" at={story-time.moment-code-variant-cue}/>- <webscene:Beat name="copy" at={story-time.moment-code-copy-cue}/>- <webscene:Beat name="duplicate" at={story-time.moment-code-duplicate-cue}/>- <webscene:Beat name="tokens" at={story-time.moment-code-tokens-cue}/>- <webscene:Beat name="time" at={story-time.moment-code-time-cue}/>- <webscene:Beat name="different" at={story-time.moment-code-different-cue}/>- <webscene:Beat name="match" at={story-time.moment-code-match-cue}/>- <webscene:Beat name="retime" at={story-time.moment-code-retime-cue}/>- <webscene:Beat name="water" at={story-time.segment-water-break-start}/>- <webscene:Beat name="resume" at={story-time.moment-resume-cue}/>- <webscene:Beat name="solution" at={story-time.moment-solution-cue}/>- <webscene:Beat name="parts" at={story-time.moment-solution-roads-cue}/>- <webscene:Beat name="keep" at={story-time.moment-solution-keep-cue}/>- <webscene:Beat name="drop" at={story-time.moment-solution-drop-cue}/>+ <webscene:Beat name="remotion" at={moment-code-remotion-cue}/>+ <webscene:Beat name="hyperframes" at={moment-code-hyperframes-cue}/>+ <webscene:Beat name="html" at={moment-code-html-cue}/>+ <webscene:Beat name="play" at={moment-code-play-cue}/>+ <webscene:Beat name="once" at={moment-code-once-cue}/>+ <webscene:Beat name="variant" at={moment-code-variant-cue}/>+ <webscene:Beat name="copy" at={moment-code-copy-cue}/>+ <webscene:Beat name="duplicate" at={moment-code-duplicate-cue}/>+ <webscene:Beat name="tokens" at={moment-code-tokens-cue}/>+ <webscene:Beat name="time" at={moment-code-time-cue}/>+ <webscene:Beat name="different" at={moment-code-different-cue}/>+ <webscene:Beat name="match" at={moment-code-match-cue}/>+ <webscene:Beat name="retime" at={moment-code-retime-cue}/>+ <webscene:Beat name="water" at={segment-water-break-start}/>+ <webscene:Beat name="resume" at={moment-resume-cue}/>+ <webscene:Beat name="solution" at={moment-solution-cue}/>+ <webscene:Beat name="parts" at={moment-solution-roads-cue}/>+ <webscene:Beat name="keep" at={moment-solution-keep-cue}/>+ <webscene:Beat name="drop" at={moment-solution-drop-cue}/></webscene:CodeJourney>- <webscene:ComponentWorkshop id="component-workshop" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={story-time.segment-components} v0={ranking-clone-media.media} v1={swap-virtual-media.media} v2={swap-language-media.media} v3={swap-topic-media.media} v4={swap-product-media.media} v5={swap-vehicle-media.media}>- <webscene:Beat name="all" at={story-time.moment-parts-all-cue}/>- <webscene:Beat name="caption" at={story-time.moment-part-caption-cue}/>- <webscene:Beat name="ranking" at={story-time.moment-part-ranking-cue}/>- <webscene:Beat name="chart" at={story-time.moment-part-chart-cue}/>- <webscene:Beat name="card" at={story-time.moment-part-card-cue}/>- <webscene:Beat name="library" at={story-time.moment-parts-library-cue}/>- <webscene:Beat name="reuse" at={story-time.moment-parts-reuse-cue}/>- <webscene:Beat name="variants" at={story-time.moment-parts-word-cue}/>- <webscene:Beat name="word" at={story-time.moment-parts-word-cue}/>- <webscene:Beat name="picture" at={story-time.moment-parts-picture-cue}/>- <webscene:Beat name="color" at={story-time.moment-parts-color-cue}/>- <webscene:Beat name="swap" at={story-time.moment-parts-swap-cue}/>+ <webscene:ComponentWorkshop id="component-workshop" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={segment-components} v0={ranking-clone-media.media} v1={swap-virtual-media.media} v2={swap-language-media.media} v3={swap-topic-media.media} v4={swap-product-media.media} v5={swap-vehicle-media.media}>+ <webscene:Beat name="all" at={moment-parts-all-cue}/>+ <webscene:Beat name="caption" at={moment-part-caption-cue}/>+ <webscene:Beat name="ranking" at={moment-part-ranking-cue}/>+ <webscene:Beat name="chart" at={moment-part-chart-cue}/>+ <webscene:Beat name="card" at={moment-part-card-cue}/>+ <webscene:Beat name="library" at={moment-parts-library-cue}/>+ <webscene:Beat name="reuse" at={moment-parts-reuse-cue}/>+ <webscene:Beat name="variants" at={moment-parts-word-cue}/>+ <webscene:Beat name="word" at={moment-parts-word-cue}/>+ <webscene:Beat name="picture" at={moment-parts-picture-cue}/>+ <webscene:Beat name="color" at={moment-parts-color-cue}/>+ <webscene:Beat name="swap" at={moment-parts-swap-cue}/></webscene:ComponentWorkshop><webscene:SemanticWorkshop id="semantic-workshop" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} creatify={assets.ranking-creatify} higgsfield={assets.ranking-higgsfield} during={semantic-workshop-window}>- <webscene:Beat name="bind" at={story-time.moment-sem-bind-cue}/>- <webscene:Beat name="examples" at={story-time.moment-sem-examples-cue}/>- <webscene:Beat name="rank" at={story-time.moment-rank-reveal-cue}/>- <webscene:Beat name="product" at={story-time.moment-product-reveal-cue}/>- <webscene:Beat name="rewrite-scene" at={story-time.moment-sem-rewrite-scene-cue}/>- <webscene:Beat name="rewrite" at={story-time.moment-sem-rewrite-cue}/>- <webscene:Beat name="voice" at={story-time.moment-sem-voice-cue}/>- <webscene:Beat name="adapt" at={story-time.moment-sem-adapt-cue}/>- <webscene:Beat name="syntax" at={story-time.moment-sem-syntax-cue}/>+ <webscene:Beat name="bind" at={moment-sem-bind-cue}/>+ <webscene:Beat name="examples" at={moment-sem-examples-cue}/>+ <webscene:Beat name="rank" at={moment-rank-reveal-cue}/>+ <webscene:Beat name="product" at={moment-product-reveal-cue}/>+ <webscene:Beat name="rewrite-scene" at={moment-sem-rewrite-scene-cue}/>+ <webscene:Beat name="rewrite" at={moment-sem-rewrite-cue}/>+ <webscene:Beat name="voice" at={moment-sem-voice-cue}/>+ <webscene:Beat name="adapt" at={moment-sem-adapt-cue}/>+ <webscene:Beat name="syntax" at={moment-sem-syntax-cue}/></webscene:SemanticWorkshop><webscene:DeliveryWorkshop id="delivery-workshop" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={delivery-workshop-window} film={hypit-ranking-media.media} clone={ranking-clone-media.media} water={water-break-media.media} reference={assets.reference-drink-illustration} host={assets.ranking-host} thumb1={assets.ranking-icon} thumb2={assets.ranking-creatify} thumb3={assets.ranking-higgsfield}>- <webscene:Beat name="assets" at={story-time.moment-result-assets-cue}/>- <webscene:Beat name="upload" at={story-time.moment-result-upload-cue}/>- <webscene:Beat name="compare" at={story-time.moment-result-compare-cue}/>- <webscene:Beat name="meta" at={story-time.moment-result-meta-cue}/>- <webscene:Beat name="brand" at={story-time.moment-result-brand-cue}/>- <webscene:Beat name="guess" at={story-time.moment-result-guess-cue}/>+ <webscene:Beat name="assets" at={moment-result-assets-cue}/>+ <webscene:Beat name="upload" at={moment-result-upload-cue}/>+ <webscene:Beat name="compare" at={moment-result-compare-cue}/>+ <webscene:Beat name="meta" at={moment-result-meta-cue}/>+ <webscene:Beat name="brand" at={moment-result-brand-cue}/>+ <webscene:Beat name="guess" at={moment-result-guess-cue}/></webscene:DeliveryWorkshop><webscene:Outro id="outro-scene" timeline={program.timeline} within={assets.canvas.bounds} font={assets.display-font} during={outro-scene-window} page={readme-demo-media.media} codex={assets.icon-codex} portraits-0={assets.portraits-0} portraits-1={assets.portraits-1} portraits-2={assets.portraits-2} portraits-3={assets.portraits-3} portraits-4={assets.portraits-4}>- <webscene:Beat name="overtime" at={story-time.moment-outro-overtime-cue}/>- <webscene:Beat name="github" at={story-time.moment-outro-github-cue}/>- <webscene:Beat name="copy" at={story-time.moment-outro-copy-cue}/>- <webscene:Beat name="install" at={story-time.moment-outro-install-cue}/>- <webscene:Beat name="gift" at={story-time.moment-outro-gift-cue}/>- <webscene:Beat name="bye" at={story-time.moment-outro-bye-cue}/>- <webscene:Beat name="end" at={story-time.segment-closing-end}/>+ <webscene:Beat name="overtime" at={moment-outro-overtime-cue}/>+ <webscene:Beat name="github" at={moment-outro-github-cue}/>+ <webscene:Beat name="copy" at={moment-outro-copy-cue}/>+ <webscene:Beat name="install" at={moment-outro-install-cue}/>+ <webscene:Beat name="gift" at={moment-outro-gift-cue}/>+ <webscene:Beat name="bye" at={moment-outro-bye-cue}/>+ <webscene:Beat name="end" at={segment-closing-end}/></webscene:Outro><!-- Final assembly: contributions and render targets -->diff --git a/examples/interview/reference.svml b/examples/interview/reference.svmlindex f4378fc0..d74faf31 100644--- a/examples/interview/reference.svml+++ b/examples/interview/reference.svml@@ -261,16 +261,16 @@<semantic:Map alignment={manifest-rule-semantic.alignment} domain={manifest-rule-media.domain} window={speech.manifest-rule-semantic}/><semantic:Map alignment={real-estate-rule-semantic.alignment} domain={real-estate-rule-media.domain} window={speech.real-estate-rule-semantic}/><semantic:Map alignment={bitcoin-rule-semantic.alignment} domain={bitcoin-rule-media.domain} window={speech.bitcoin-rule-semantic}/>- <semantic:Instant id="moment-manifest-cue" moment={story.moment.manifest}/>- <semantic:Instant id="moment-real-estate-cue" moment={story.moment.real-estate}/>- <semantic:Instant id="moment-bitcoin-cue" moment={story.moment.bitcoin}/></semantic:Projection>- <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="20f"/>- <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="20f"/>- <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="20f"/>- <time:Window id="manifest-flash-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="8f"/>- <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="8f"/>- <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="8f"/>+ <semantic:Instant id="moment-manifest-cue" projection={story-time} at={story.moment.manifest}/>+ <semantic:Instant id="moment-real-estate-cue" projection={story-time} at={story.moment.real-estate}/>+ <semantic:Instant id="moment-bitcoin-cue" projection={story-time} at={story.moment.bitcoin}/>+ <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={moment-manifest-cue} for="20f"/>+ <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={moment-real-estate-cue} for="20f"/>+ <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="20f"/>+ <time:Window id="manifest-flash-window" timeline={speech.timeline} from={moment-manifest-cue} for="8f"/>+ <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={moment-real-estate-cue} for="8f"/>+ <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="8f"/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="manifest-rule-semantic-source" source={manifest-rule-media.media} during={speech.manifest-rule-semantic}/><audio:Clip id="real-estate-rule-semantic-source" source={real-estate-rule-media.media} during={speech.real-estate-rule-semantic}/>@@ -299,7 +299,7 @@<caption-fine:Style id="caption-wife-style" recipe={recipes.caption.wife}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-boy-style}/>@@ -309,9 +309,9 @@<emoji:Style id="rule-reveal-style" recipe={recipes.emoji.strip}/><emoji:EmojiReveal id="rule-reveal" timeline={speech.timeline} within={vertical.bounds}style={rule-reveal-style} placeholder={rule-placeholder} during={speech.window}>- <emoji:Item id="manifest" icon={manifest-icon} at={story-time.moment-manifest-cue}/>- <emoji:Item id="real-estate" icon={real-estate-icon} at={story-time.moment-real-estate-cue}/>- <emoji:Item id="bitcoin" icon={bitcoin-icon} at={story-time.moment-bitcoin-cue}/>+ <emoji:Item id="manifest" icon={manifest-icon} at={moment-manifest-cue}/>+ <emoji:Item id="real-estate" icon={real-estate-icon} at={moment-real-estate-cue}/>+ <emoji:Item id="bitcoin" icon={bitcoin-icon} at={moment-bitcoin-cue}/></emoji:EmojiReveal><flash:Flash id="manifest-flash" timeline={speech.timeline} within={vertical.bounds}diff --git a/examples/interview/swap-host.svml b/examples/interview/swap-host.svmlindex 63f5ca2b..114e2439 100644--- a/examples/interview/swap-host.svml+++ b/examples/interview/swap-host.svml@@ -191,16 +191,16 @@<semantic:Map alignment={manifest-rule-semantic.alignment} domain={manifest-rule-media.domain} window={speech.manifest-rule-semantic}/><semantic:Map alignment={real-estate-rule-semantic.alignment} domain={real-estate-rule-media.domain} window={speech.real-estate-rule-semantic}/><semantic:Map alignment={bitcoin-rule-semantic.alignment} domain={bitcoin-rule-media.domain} window={speech.bitcoin-rule-semantic}/>- <semantic:Instant id="moment-manifest-cue" moment={story.moment.manifest}/>- <semantic:Instant id="moment-real-estate-cue" moment={story.moment.real-estate}/>- <semantic:Instant id="moment-bitcoin-cue" moment={story.moment.bitcoin}/></semantic:Projection>- <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="20f"/>- <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="20f"/>- <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="20f"/>- <time:Window id="manifest-flash-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="8f"/>- <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="8f"/>- <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="8f"/>+ <semantic:Instant id="moment-manifest-cue" projection={story-time} at={story.moment.manifest}/>+ <semantic:Instant id="moment-real-estate-cue" projection={story-time} at={story.moment.real-estate}/>+ <semantic:Instant id="moment-bitcoin-cue" projection={story-time} at={story.moment.bitcoin}/>+ <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={moment-manifest-cue} for="20f"/>+ <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={moment-real-estate-cue} for="20f"/>+ <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="20f"/>+ <time:Window id="manifest-flash-window" timeline={speech.timeline} from={moment-manifest-cue} for="8f"/>+ <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={moment-real-estate-cue} for="8f"/>+ <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="8f"/><region:Evidence id="wojak-heads" within={vertical.bounds} timeline={speech.timeline}recipe={wojak-tracking.heads.wojak}/>@@ -232,7 +232,7 @@<caption-fine:Style id="caption-wojak-style" recipe={recipes.caption.wojak}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds} regions={wojak-heads}><caption-fine:Use style={caption-chad-style}/>@@ -242,9 +242,9 @@<emoji:Style id="rule-reveal-style" recipe={recipes.emoji.strip}/><emoji:EmojiReveal id="rule-reveal" timeline={speech.timeline} within={vertical.bounds}style={rule-reveal-style} placeholder={rule-placeholder.image} during={speech.window}>- <emoji:Item id="manifest" icon={manifest-icon.image} at={story-time.moment-manifest-cue}/>- <emoji:Item id="real-estate" icon={real-estate-icon.image} at={story-time.moment-real-estate-cue}/>- <emoji:Item id="bitcoin" icon={bitcoin-icon.image} at={story-time.moment-bitcoin-cue}/>+ <emoji:Item id="manifest" icon={manifest-icon.image} at={moment-manifest-cue}/>+ <emoji:Item id="real-estate" icon={real-estate-icon.image} at={moment-real-estate-cue}/>+ <emoji:Item id="bitcoin" icon={bitcoin-icon.image} at={moment-bitcoin-cue}/></emoji:EmojiReveal><flash:Flash id="manifest-flash" timeline={speech.timeline} within={vertical.bounds}diff --git a/examples/interview/swap-lang.svml b/examples/interview/swap-lang.svmlindex 95325725..af757dd5 100644--- a/examples/interview/swap-lang.svml+++ b/examples/interview/swap-lang.svml@@ -190,16 +190,16 @@<semantic:Map alignment={manifest-rule-semantic.alignment} domain={manifest-rule-media.domain} window={speech.manifest-rule-semantic}/><semantic:Map alignment={real-estate-rule-semantic.alignment} domain={real-estate-rule-media.domain} window={speech.real-estate-rule-semantic}/><semantic:Map alignment={bitcoin-rule-semantic.alignment} domain={bitcoin-rule-media.domain} window={speech.bitcoin-rule-semantic}/>- <semantic:Instant id="moment-manifest-cue" moment={story.moment.manifest}/>- <semantic:Instant id="moment-real-estate-cue" moment={story.moment.real-estate}/>- <semantic:Instant id="moment-bitcoin-cue" moment={story.moment.bitcoin}/></semantic:Projection>- <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="20f"/>- <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="20f"/>- <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="20f"/>- <time:Window id="manifest-flash-window" timeline={speech.timeline} from={story-time.moment-manifest-cue} for="8f"/>- <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={story-time.moment-real-estate-cue} for="8f"/>- <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={story-time.moment-bitcoin-cue} for="8f"/>+ <semantic:Instant id="moment-manifest-cue" projection={story-time} at={story.moment.manifest}/>+ <semantic:Instant id="moment-real-estate-cue" projection={story-time} at={story.moment.real-estate}/>+ <semantic:Instant id="moment-bitcoin-cue" projection={story-time} at={story.moment.bitcoin}/>+ <time:Window id="manifest-reveal-sfx-window" timeline={speech.timeline} from={moment-manifest-cue} for="20f"/>+ <time:Window id="real-estate-reveal-sfx-window" timeline={speech.timeline} from={moment-real-estate-cue} for="20f"/>+ <time:Window id="bitcoin-reveal-sfx-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="20f"/>+ <time:Window id="manifest-flash-window" timeline={speech.timeline} from={moment-manifest-cue} for="8f"/>+ <time:Window id="real-estate-flash-window" timeline={speech.timeline} from={moment-real-estate-cue} for="8f"/>+ <time:Window id="bitcoin-flash-window" timeline={speech.timeline} from={moment-bitcoin-cue} for="8f"/><region:Evidence id="wife-heads" within={vertical.bounds} timeline={speech.timeline}recipe={tracking.heads.wife}/>@@ -231,7 +231,7 @@<caption-fine:Style id="caption-wife-style" recipe={recipes.caption.wife}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds} regions={wife-heads}><caption-fine:Use style={caption-boy-style}/>@@ -241,9 +241,9 @@<emoji:Style id="rule-reveal-style" recipe={recipes.emoji.strip}/><emoji:EmojiReveal id="rule-reveal" timeline={speech.timeline} within={vertical.bounds}style={rule-reveal-style} placeholder={rule-placeholder.image} during={speech.window}>- <emoji:Item id="manifest" icon={manifest-icon.image} at={story-time.moment-manifest-cue}/>- <emoji:Item id="real-estate" icon={real-estate-icon.image} at={story-time.moment-real-estate-cue}/>- <emoji:Item id="bitcoin" icon={bitcoin-icon.image} at={story-time.moment-bitcoin-cue}/>+ <emoji:Item id="manifest" icon={manifest-icon.image} at={moment-manifest-cue}/>+ <emoji:Item id="real-estate" icon={real-estate-icon.image} at={moment-real-estate-cue}/>+ <emoji:Item id="bitcoin" icon={bitcoin-icon.image} at={moment-bitcoin-cue}/></emoji:EmojiReveal><flash:Flash id="manifest-flash" timeline={speech.timeline} within={vertical.bounds}diff --git a/examples/interview/swap-ride.svml b/examples/interview/swap-ride.svmlindex b202e09a..2f7f575f 100644--- a/examples/interview/swap-ride.svml+++ b/examples/interview/swap-ride.svml@@ -198,16 +198,16 @@<semantic:Map alignment={uber-rule-semantic.alignment} domain={uber-rule-media.domain} window={speech.uber-rule-semantic}/><semantic:Map alignment={shortcuts-rule-semantic.alignment} domain={shortcuts-rule-media.domain} window={speech.shortcuts-rule-semantic}/><semantic:Map alignment={first-place-rule-semantic.alignment} domain={first-place-rule-media.domain} window={speech.first-place-rule-semantic}/>- <semantic:Instant id="moment-uber-cue" moment={story.moment.uber}/>- <semantic:Instant id="moment-shortcuts-cue" moment={story.moment.shortcuts}/>- <semantic:Instant id="moment-first-place-cue" moment={story.moment.first-place}/></semantic:Projection>- <time:Window id="uber-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-uber-cue} for="20f"/>- <time:Window id="shortcuts-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-shortcuts-cue} for="20f"/>- <time:Window id="first-place-reveal-sfx-window" timeline={speech.timeline} from={story-time.moment-first-place-cue} for="20f"/>- <time:Window id="uber-flash-window" timeline={speech.timeline} from={story-time.moment-uber-cue} for="8f"/>- <time:Window id="shortcuts-flash-window" timeline={speech.timeline} from={story-time.moment-shortcuts-cue} for="8f"/>- <time:Window id="first-place-flash-window" timeline={speech.timeline} from={story-time.moment-first-place-cue} for="8f"/>+ <semantic:Instant id="moment-uber-cue" projection={story-time} at={story.moment.uber}/>+ <semantic:Instant id="moment-shortcuts-cue" projection={story-time} at={story.moment.shortcuts}/>+ <semantic:Instant id="moment-first-place-cue" projection={story-time} at={story.moment.first-place}/>+ <time:Window id="uber-reveal-sfx-window" timeline={speech.timeline} from={moment-uber-cue} for="20f"/>+ <time:Window id="shortcuts-reveal-sfx-window" timeline={speech.timeline} from={moment-shortcuts-cue} for="20f"/>+ <time:Window id="first-place-reveal-sfx-window" timeline={speech.timeline} from={moment-first-place-cue} for="20f"/>+ <time:Window id="uber-flash-window" timeline={speech.timeline} from={moment-uber-cue} for="8f"/>+ <time:Window id="shortcuts-flash-window" timeline={speech.timeline} from={moment-shortcuts-cue} for="8f"/>+ <time:Window id="first-place-flash-window" timeline={speech.timeline} from={moment-first-place-cue} for="8f"/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="uber-rule-semantic-source" source={uber-rule-media.media} during={speech.uber-rule-semantic}/><audio:Clip id="shortcuts-rule-semantic-source" source={shortcuts-rule-media.media} during={speech.shortcuts-rule-semantic}/>@@ -238,7 +238,7 @@<region:Evidence id="ada-heads" within={vertical.bounds} timeline={speech.timeline}recipe={tracking.heads.ada}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds} regions={ada-heads}><caption-fine:Use style={caption-leon-style}/>@@ -248,9 +248,9 @@<emoji:Style id="rule-reveal-style" recipe={recipes.emoji.strip}/><emoji:EmojiReveal id="rule-reveal" timeline={speech.timeline} within={vertical.bounds}style={rule-reveal-style} placeholder={rule-placeholder.image} during={speech.window}>- <emoji:Item id="uber" icon={uber-icon.image} at={story-time.moment-uber-cue}/>- <emoji:Item id="shortcuts" icon={shortcuts-icon.image} at={story-time.moment-shortcuts-cue}/>- <emoji:Item id="first-place" icon={first-place-icon.image} at={story-time.moment-first-place-cue}/>+ <emoji:Item id="uber" icon={uber-icon.image} at={moment-uber-cue}/>+ <emoji:Item id="shortcuts" icon={shortcuts-icon.image} at={moment-shortcuts-cue}/>+ <emoji:Item id="first-place" icon={first-place-icon.image} at={moment-first-place-cue}/></emoji:EmojiReveal><flash:Flash id="uber-flash" timeline={speech.timeline} within={vertical.bounds}diff --git a/examples/minimal-author-package/packages/example-component/README.md b/examples/minimal-author-package/packages/example-component/README.mdindex 1a1bc981..3721f448 100644--- a/examples/minimal-author-package/packages/example-component/README.md+++ b/examples/minimal-author-package/packages/example-component/README.md@@ -9,7 +9,7 @@ build tooling. No Runtime dependency is bundled into its tarball.It contains a Module Manifest with nominal Types and deterministic Producers, validators, a structuredSurface decoder returning `records`, `components`, `fragments` and `exports`, and sealed Fragments withliteral `fragment-input`, `fragment-operation` and `output` references. `src/temporal.ts` shows the-Surface-side `@hypit/hypit/temporal/markup` Window/Moment projections; that package is distinct from the+Surface-side `@hypit/hypit/temporal/markup` Window/Instant reference resolvers; that package is distinct from thegraph-side `@hypit/hypit/temporal` Producers.The Surfaces demonstrate a box, a text surface, an image slot and a Style decoder. The slot is a graph@@ -46,5 +46,5 @@ Distribution supplies the runtime APIs. The resulting component tarball containsand preview assets. For registry publication, select a release version and remove the fixture's`private: true` after the owner chooses to publish it.-The active Distribution's `packages/ranking/README.md` is the richer example for semantic input-projection, persistent visual state and a Companion. Its README and source ship with that Distribution.+The active Distribution's `packages/ranking/README.md` is the richer example for resolved temporal+inputs, persistent visual state and a Companion. Its README and source ship with that Distribution.diff --git a/examples/podcast/README.md b/examples/podcast/README.mdindex 83d29f84..7541b9be 100644--- a/examples/podcast/README.md+++ b/examples/podcast/README.md@@ -44,10 +44,10 @@ One five-second silent B-roll request combines the three lifestyle pictures intosecond scene is strawberry bingsu, not a literal smoothie demonstration: the montage illustrates thewhole routine. It covers part of the incoming man's response, creating a J-cut and giving the finalcooking scene time to read. Its Clip omits `Map`, so the bounded partial identity plays at native-speed, truncates when the Selection is shorter, and ends coverage when the source finishes. It does+speed, truncates when the occurrence Window is shorter, and ends coverage when the source finishes. It doesnot freeze the last frame or retime to fill the Window. Inspect the newly aligned endpoint and adjust-the Selection if the actual montage needs more reading time. Exact word-to-scene reconstruction-would use separate Clips and adjoining Selections instead.+the projected Window if the actual montage needs more reading time. Exact word-to-scene reconstruction+would use separate Clips and adjoining projected Windows instead.`shared-soundtrack.m4a` is the only supplied media asset on the final route. Images, voices and generated clipsare generated; normalization, alignment, Caption and Film composition are explicit downstream work.diff --git a/examples/podcast/reference.svml b/examples/podcast/reference.svmlindex 5a93d191..521d0f02 100644--- a/examples/podcast/reference.svml+++ b/examples/podcast/reference.svml@@ -386,8 +386,8 @@<semantic:Map alignment={opening-semantic.alignment} domain={opening-media.domain} window={speech.opening-semantic}/><semantic:Map alignment={daily-creatine-semantic.alignment} domain={daily-creatine-media.domain} window={speech.daily-creatine-semantic}/><semantic:Map alignment={arms-are-asking-semantic.alignment} domain={arms-are-asking-media.domain} window={speech.arms-are-asking-semantic}/>- <semantic:Window id="selection-lifestyle" selection={story.selection.lifestyle}/></semantic:Projection>+ <semantic:Window id="selection-lifestyle" projection={story-time} during={story.selection.lifestyle}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="opening-semantic-source" source={opening-media.media} during={speech.opening-semantic}/><audio:Clip id="daily-creatine-semantic-source" source={daily-creatine-media.media} during={speech.daily-creatine-semantic}/>@@ -406,7 +406,7 @@<visual:Track id="lifestyle" timeline={speech.timeline}><visual:Clip id="lifestyle-cutaway" media={lifestyle-media.media}- frame={full-frame} during={story-time.selection-lifestyle}+ frame={full-frame} during={selection-lifestyle}z="40" fit="cover"/></visual:Track>@@ -416,7 +416,7 @@<caption-fine:Style id="caption-guy-style" recipe={recipes.caption.original-guy}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/podcast/swap-app.svml b/examples/podcast/swap-app.svmlindex eeea32d4..479e9509 100644--- a/examples/podcast/swap-app.svml+++ b/examples/podcast/swap-app.svml@@ -200,8 +200,8 @@<semantic:Map alignment={opening-semantic.alignment} domain={opening-media.domain} window={speech.opening-semantic}/><semantic:Map alignment={daily-cheatgpt-semantic.alignment} domain={daily-cheatgpt-media.domain} window={speech.daily-cheatgpt-semantic}/><semantic:Map alignment={brain-is-asking-semantic.alignment} domain={brain-is-asking-media.domain} window={speech.brain-is-asking-semantic}/>- <semantic:Window id="selection-lifestyle" selection={story.selection.lifestyle}/></semantic:Projection>+ <semantic:Window id="selection-lifestyle" projection={story-time} during={story.selection.lifestyle}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="opening-semantic-source" source={opening-media.media} during={speech.opening-semantic}/><audio:Clip id="daily-cheatgpt-semantic-source" source={daily-cheatgpt-media.media} during={speech.daily-cheatgpt-semantic}/>@@ -220,7 +220,7 @@<visual:Track id="lifestyle" timeline={speech.timeline}><visual:Clip id="lifestyle-cutaway" media={lifestyle-media.media}- frame={full-frame} during={story-time.selection-lifestyle}+ frame={full-frame} during={selection-lifestyle}z="40" fit="cover"><visual:Map/></visual:Clip>@@ -232,7 +232,7 @@<caption-fine:Style id="caption-nerd-style" recipe={recipes.caption.nerd}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-jock-style}/>diff --git a/examples/podcast/swap-host.svml b/examples/podcast/swap-host.svmlindex 7da85659..946a30e7 100644--- a/examples/podcast/swap-host.svml+++ b/examples/podcast/swap-host.svml@@ -208,8 +208,8 @@<semantic:Map alignment={opening-semantic.alignment} domain={opening-media.domain} window={speech.opening-semantic}/><semantic:Map alignment={daily-creatine-semantic.alignment} domain={daily-creatine-media.domain} window={speech.daily-creatine-semantic}/><semantic:Map alignment={arms-are-asking-semantic.alignment} domain={arms-are-asking-media.domain} window={speech.arms-are-asking-semantic}/>- <semantic:Window id="selection-lifestyle" selection={story.selection.lifestyle}/></semantic:Projection>+ <semantic:Window id="selection-lifestyle" projection={story-time} during={story.selection.lifestyle}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="opening-semantic-source" source={opening-media.media} during={speech.opening-semantic}/><audio:Clip id="daily-creatine-semantic-source" source={daily-creatine-media.media} during={speech.daily-creatine-semantic}/>@@ -228,7 +228,7 @@<visual:Track id="lifestyle" timeline={speech.timeline}><visual:Clip id="lifestyle-cutaway" media={lifestyle-media.media}- frame={full-frame} during={story-time.selection-lifestyle}+ frame={full-frame} during={selection-lifestyle}z="40" fit="cover"><visual:Map/></visual:Clip>@@ -240,7 +240,7 @@<caption-fine:Style id="caption-doge-style" recipe={recipes.caption.doge}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/podcast/swap-item.svml b/examples/podcast/swap-item.svmlindex 0e447046..95547da9 100644--- a/examples/podcast/swap-item.svml+++ b/examples/podcast/swap-item.svml@@ -208,8 +208,8 @@<semantic:Map alignment={opening-semantic.alignment} domain={opening-media.domain} window={speech.opening-semantic}/><semantic:Map alignment={daily-retinol-semantic.alignment} domain={daily-retinol-media.domain} window={speech.daily-retinol-semantic}/><semantic:Map alignment={skin-is-asking-semantic.alignment} domain={skin-is-asking-media.domain} window={speech.skin-is-asking-semantic}/>- <semantic:Window id="selection-lifestyle" selection={story.selection.lifestyle}/></semantic:Projection>+ <semantic:Window id="selection-lifestyle" projection={story-time} during={story.selection.lifestyle}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="opening-semantic-source" source={opening-media.media} during={speech.opening-semantic}/><audio:Clip id="daily-retinol-semantic-source" source={daily-retinol-media.media} during={speech.daily-retinol-semantic}/>@@ -228,7 +228,7 @@<visual:Track id="lifestyle" timeline={speech.timeline}><visual:Clip id="lifestyle-cutaway" media={lifestyle-media.media}- frame={full-frame} during={story-time.selection-lifestyle}+ frame={full-frame} during={selection-lifestyle}z="40" fit="cover"><visual:Map/></visual:Clip>@@ -240,7 +240,7 @@<caption-fine:Style id="caption-tboy-style" recipe={recipes.caption.retinol-tboy}font={caption-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-idol-style}/>diff --git a/examples/ranking-football/reference-banana-from-swap/reference-banana-from-swap.svml b/examples/ranking-football/reference-banana-from-swap/reference-banana-from-swap.svmlindex 9b13e594..ecb55526 100644--- a/examples/ranking-football/reference-banana-from-swap/reference-banana-from-swap.svml+++ b/examples/ranking-football/reference-banana-from-swap/reference-banana-from-swap.svml@@ -205,17 +205,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -267,44 +267,44 @@<ranking:TierItem id="neymar" tier="d" preset="true" icon={neymar-icon.image}/><ranking:TierItem id="benzema" tier="d" preset="true" icon={benzema-icon.image}/><ranking:TierItem id="ronaldo" tier="d" entry="drop"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:TierItem id="messi" tier="s" entry="drop"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:TierBoard><!-- Every Item consumes a projected Selection window. Later overlappingjokes use a higher explicit z on their own Clip occurrence. --><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -312,7 +312,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/reference-banana/reference-banana.svml b/examples/ranking-football/reference-banana/reference-banana.svmlindex 9b13e594..ecb55526 100644--- a/examples/ranking-football/reference-banana/reference-banana.svml+++ b/examples/ranking-football/reference-banana/reference-banana.svml@@ -205,17 +205,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -267,44 +267,44 @@<ranking:TierItem id="neymar" tier="d" preset="true" icon={neymar-icon.image}/><ranking:TierItem id="benzema" tier="d" preset="true" icon={benzema-icon.image}/><ranking:TierItem id="ronaldo" tier="d" entry="drop"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:TierItem id="messi" tier="s" entry="drop"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:TierBoard><!-- Every Item consumes a projected Selection window. Later overlappingjokes use a higher explicit z on their own Clip occurrence. --><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -312,7 +312,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/reference-gpt.svml b/examples/ranking-football/reference-gpt.svmlindex 82c518a8..fff66a93 100644--- a/examples/ranking-football/reference-gpt.svml+++ b/examples/ranking-football/reference-gpt.svml@@ -205,17 +205,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -267,44 +267,44 @@<ranking:TierItem id="neymar" tier="d" preset="true" icon={neymar-icon.image}/><ranking:TierItem id="benzema" tier="d" preset="true" icon={benzema-icon.image}/><ranking:TierItem id="ronaldo" tier="d" entry="drop"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:TierItem id="messi" tier="s" entry="drop"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:TierBoard><!-- Every Item consumes a projected Selection window. Later overlappingjokes use a higher explicit z on their own Clip occurrence. --><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -312,7 +312,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/reference.svml b/examples/ranking-football/reference.svmlindex aa574bed..dc8e7933 100644--- a/examples/ranking-football/reference.svml+++ b/examples/ranking-football/reference.svml@@ -235,17 +235,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="mix" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -271,9 +271,9 @@<ranking:TierItem id="neymar" tier="d" preset="true" icon={neymar-icon}/><ranking:TierItem id="benzema" tier="d" preset="true" icon={benzema-icon}/><ranking:TierItem id="ronaldo" tier="d" entry="drop"- icon={ronaldo-icon} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon} during={segment-ronaldo}/><ranking:TierItem id="messi" tier="s" entry="drop"- icon={messi-icon} during={story-time.segment-messi}/>+ icon={messi-icon} during={segment-messi}/></ranking:TierBoard><!-- Every Item consumes a projected Selection window. Later overlapping@@ -301,35 +301,35 @@<visual:Clip id="ronaldo-semantic-source" media={ronaldo-media.media} during={speech.ronaldo-semantic} frame={speech-frame} z="0" fit="cover"/><visual:Clip id="messi-semantic-source" media={messi-media.media} during={speech.messi-semantic} frame={speech-frame} z="0" fit="cover"/><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -337,7 +337,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/swap-effect-banana-reference-sync/swap-effect-banana-reference-sync.svml b/examples/ranking-football/swap-effect-banana-reference-sync/swap-effect-banana-reference-sync.svmlindex 0400f313..fde663c0 100644--- a/examples/ranking-football/swap-effect-banana-reference-sync/swap-effect-banana-reference-sync.svml+++ b/examples/ranking-football/swap-effect-banana-reference-sync/swap-effect-banana-reference-sync.svml@@ -205,17 +205,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -257,9 +257,9 @@appear-sound={ranking-appear-media.media}move-sound={ranking-move-media.media}><ranking:ColumnItem id="ronaldo" rank="1" label="Ronaldo"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:ColumnItem id="messi" rank="2" label="Messi"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/><ranking:ColumnItem id="yamal" rank="3" label="Yamal" preset="true" icon={yamal-icon.image}/><ranking:ColumnItem id="haaland" rank="4" label="Haaland" preset="true" icon={haaland-icon.image}/><ranking:ColumnItem id="de-bruyne" rank="5" label="De Bruyne" preset="true" icon={de-bruyne-icon.image}/>@@ -275,35 +275,35 @@jokes use a higher explicit z on their own Clip occurrence. --><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -311,7 +311,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/swap-effect-banana/swap-effect-banana.svml b/examples/ranking-football/swap-effect-banana/swap-effect-banana.svmlindex 260984ec..d10a6156 100644--- a/examples/ranking-football/swap-effect-banana/swap-effect-banana.svml+++ b/examples/ranking-football/swap-effect-banana/swap-effect-banana.svml@@ -187,16 +187,16 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-pitch-pov" selection={story.selection.pitch-pov}/>- <semantic:Window id="selection-ikea-sign" selection={story.selection.ikea-sign}/>- <semantic:Window id="selection-retirement-room" selection={story.selection.retirement-room}/>- <semantic:Window id="selection-rent-jump" selection={story.selection.rent-jump}/>- <semantic:Window id="selection-nine-hundred-goals" selection={story.selection.nine-hundred-goals}/>- <semantic:Window id="selection-laboratory-body" selection={story.selection.laboratory-body}/>- <semantic:Window id="selection-museum-jawline" selection={story.selection.museum-jawline}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-pitch-pov" projection={story-time} during={story.selection.pitch-pov}/>+ <semantic:Window id="selection-ikea-sign" projection={story-time} during={story.selection.ikea-sign}/>+ <semantic:Window id="selection-retirement-room" projection={story-time} during={story.selection.retirement-room}/>+ <semantic:Window id="selection-rent-jump" projection={story-time} during={story.selection.rent-jump}/>+ <semantic:Window id="selection-nine-hundred-goals" projection={story-time} during={story.selection.nine-hundred-goals}/>+ <semantic:Window id="selection-laboratory-body" projection={story-time} during={story.selection.laboratory-body}/>+ <semantic:Window id="selection-museum-jawline" projection={story-time} during={story.selection.museum-jawline}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/>@@ -226,7 +226,7 @@appear-sound={ranking-appear-media.media}move-sound={ranking-move-media.media}><ranking:ColumnItem id="ronaldo" rank="1" label="Ronaldo"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:ColumnItem id="mbappe" rank="2" label="Mbappe"preset="true" icon={mbappe-icon.image}/><ranking:ColumnItem id="haaland" rank="3" label="Haaland"@@ -244,36 +244,36 @@<ranking:ColumnItem id="neymar" rank="9" label="Neymar"preset="true" icon={neymar-icon.image}/><ranking:ColumnItem id="messi" rank="10" label="Messi"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:Column><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="pitch-pov" image={broll-pitch-pov.image}- extent={pitch-pov-extent} during={story-time.selection-pitch-pov}+ extent={pitch-pov-extent} during={selection-pitch-pov}frame={pitch-pov-frame} z="40" fit="cover" treatment={recipes.media.pitch-pov}motion={broll-motion}/><visual:Clip id="ikea-sign" image={broll-ikea-sign.image}- extent={ikea-sign-extent} during={story-time.selection-ikea-sign}+ extent={ikea-sign-extent} during={selection-ikea-sign}frame={ikea-sign-frame} z="41" fit="cover" treatment={recipes.media.ikea-sign}motion={broll-motion}/><visual:Clip id="retirement-room" image={broll-retirement-room.image}- extent={retirement-room-extent} during={story-time.selection-retirement-room}+ extent={retirement-room-extent} during={selection-retirement-room}frame={retirement-room-frame} z="42" fit="cover" treatment={recipes.media.retirement-room}motion={broll-motion}/><visual:Clip id="rent-jump" image={broll-rent-jump.image}- extent={rent-jump-extent} during={story-time.selection-rent-jump}+ extent={rent-jump-extent} during={selection-rent-jump}frame={rent-jump-frame} z="43" fit="cover" treatment={recipes.media.rent-jump}motion={broll-motion}/><visual:Clip id="nine-hundred-goals" image={broll-nine-hundred.image}- extent={nine-hundred-extent} during={story-time.selection-nine-hundred-goals}+ extent={nine-hundred-extent} during={selection-nine-hundred-goals}frame={nine-hundred-frame} z="44" fit="cover" treatment={recipes.media.nine-hundred}motion={broll-motion}/><visual:Clip id="laboratory-body" image={broll-laboratory-body.image}- extent={laboratory-body-extent} during={story-time.selection-laboratory-body}+ extent={laboratory-body-extent} during={selection-laboratory-body}frame={laboratory-body-frame} z="45" fit="cover" treatment={recipes.media.laboratory-body}motion={broll-motion}/><visual:Clip id="museum-jawline" image={broll-museum-jawline.image}- extent={museum-jawline-extent} during={story-time.selection-museum-jawline}+ extent={museum-jawline-extent} during={selection-museum-jawline}frame={museum-jawline-frame} z="46" fit="cover" treatment={recipes.media.museum-jawline}motion={broll-motion}/></visual:Track>@@ -281,7 +281,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/swap-effect.svml b/examples/ranking-football/swap-effect.svmlindex d52dd5ab..af4f3c05 100644--- a/examples/ranking-football/swap-effect.svml+++ b/examples/ranking-football/swap-effect.svml@@ -187,16 +187,16 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-pitch-pov" selection={story.selection.pitch-pov}/>- <semantic:Window id="selection-ikea-sign" selection={story.selection.ikea-sign}/>- <semantic:Window id="selection-retirement-room" selection={story.selection.retirement-room}/>- <semantic:Window id="selection-rent-jump" selection={story.selection.rent-jump}/>- <semantic:Window id="selection-nine-hundred-goals" selection={story.selection.nine-hundred-goals}/>- <semantic:Window id="selection-laboratory-body" selection={story.selection.laboratory-body}/>- <semantic:Window id="selection-museum-jawline" selection={story.selection.museum-jawline}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-pitch-pov" projection={story-time} during={story.selection.pitch-pov}/>+ <semantic:Window id="selection-ikea-sign" projection={story-time} during={story.selection.ikea-sign}/>+ <semantic:Window id="selection-retirement-room" projection={story-time} during={story.selection.retirement-room}/>+ <semantic:Window id="selection-rent-jump" projection={story-time} during={story.selection.rent-jump}/>+ <semantic:Window id="selection-nine-hundred-goals" projection={story-time} during={story.selection.nine-hundred-goals}/>+ <semantic:Window id="selection-laboratory-body" projection={story-time} during={story.selection.laboratory-body}/>+ <semantic:Window id="selection-museum-jawline" projection={story-time} during={story.selection.museum-jawline}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/>@@ -226,7 +226,7 @@appear-sound={ranking-appear-media.media}move-sound={ranking-move-media.media}><ranking:ColumnItem id="ronaldo" rank="1" label="Ronaldo"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:ColumnItem id="mbappe" rank="2" label="Mbappe"preset="true" icon={mbappe-icon.image}/><ranking:ColumnItem id="haaland" rank="3" label="Haaland"@@ -244,36 +244,36 @@<ranking:ColumnItem id="neymar" rank="9" label="Neymar"preset="true" icon={neymar-icon.image}/><ranking:ColumnItem id="messi" rank="10" label="Messi"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:Column><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="pitch-pov" image={broll-pitch-pov.image}- extent={pitch-pov-extent} during={story-time.selection-pitch-pov}+ extent={pitch-pov-extent} during={selection-pitch-pov}frame={pitch-pov-frame} z="40" fit="cover" treatment={recipes.media.pitch-pov}motion={broll-motion}/><visual:Clip id="ikea-sign" image={broll-ikea-sign.image}- extent={ikea-sign-extent} during={story-time.selection-ikea-sign}+ extent={ikea-sign-extent} during={selection-ikea-sign}frame={ikea-sign-frame} z="41" fit="cover" treatment={recipes.media.ikea-sign}motion={broll-motion}/><visual:Clip id="retirement-room" image={broll-retirement-room.image}- extent={retirement-room-extent} during={story-time.selection-retirement-room}+ extent={retirement-room-extent} during={selection-retirement-room}frame={retirement-room-frame} z="42" fit="cover" treatment={recipes.media.retirement-room}motion={broll-motion}/><visual:Clip id="rent-jump" image={broll-rent-jump.image}- extent={rent-jump-extent} during={story-time.selection-rent-jump}+ extent={rent-jump-extent} during={selection-rent-jump}frame={rent-jump-frame} z="43" fit="cover" treatment={recipes.media.rent-jump}motion={broll-motion}/><visual:Clip id="nine-hundred-goals" image={broll-nine-hundred.image}- extent={nine-hundred-extent} during={story-time.selection-nine-hundred-goals}+ extent={nine-hundred-extent} during={selection-nine-hundred-goals}frame={nine-hundred-frame} z="44" fit="cover" treatment={recipes.media.nine-hundred}motion={broll-motion}/><visual:Clip id="laboratory-body" image={broll-laboratory-body.image}- extent={laboratory-body-extent} during={story-time.selection-laboratory-body}+ extent={laboratory-body-extent} during={selection-laboratory-body}frame={laboratory-body-frame} z="45" fit="cover" treatment={recipes.media.laboratory-body}motion={broll-motion}/><visual:Clip id="museum-jawline" image={broll-museum-jawline.image}- extent={museum-jawline-extent} during={story-time.selection-museum-jawline}+ extent={museum-jawline-extent} during={selection-museum-jawline}frame={museum-jawline-frame} z="46" fit="cover" treatment={recipes.media.museum-jawline}motion={broll-motion}/></visual:Track>@@ -281,7 +281,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/swap-host.svml b/examples/ranking-football/swap-host.svmlindex c68b11c5..2510c18c 100644--- a/examples/ranking-football/swap-host.svml+++ b/examples/ranking-football/swap-host.svml@@ -205,17 +205,17 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={ronaldo-semantic.alignment} domain={ronaldo-media.domain} window={speech.ronaldo-semantic}/><semantic:Map alignment={messi-semantic.alignment} domain={messi-media.domain} window={speech.messi-semantic}/>- <semantic:Window id="segment-ronaldo" segment={story.segment.ronaldo}/>- <semantic:Window id="segment-messi" segment={story.segment.messi}/>- <semantic:Window id="selection-hair-gel" selection={story.selection.hair-gel}/>- <semantic:Window id="selection-trophy" selection={story.selection.trophy}/>- <semantic:Window id="selection-greek-god" selection={story.selection.greek-god}/>- <semantic:Window id="selection-greek-tragedy" selection={story.selection.greek-tragedy}/>- <semantic:Window id="selection-penaldo-social" selection={story.selection.penaldo-social}/>- <semantic:Window id="selection-tired-dad" selection={story.selection.tired-dad}/>- <semantic:Window id="selection-walks-around" selection={story.selection.walks-around}/>- <semantic:Window id="selection-hat-trick" selection={story.selection.hat-trick}/></semantic:Projection>+ <semantic:Window id="segment-ronaldo" projection={story-time} during={story.segment.ronaldo}/>+ <semantic:Window id="segment-messi" projection={story-time} during={story.segment.messi}/>+ <semantic:Window id="selection-hair-gel" projection={story-time} during={story.selection.hair-gel}/>+ <semantic:Window id="selection-trophy" projection={story-time} during={story.selection.trophy}/>+ <semantic:Window id="selection-greek-god" projection={story-time} during={story.selection.greek-god}/>+ <semantic:Window id="selection-greek-tragedy" projection={story-time} during={story.selection.greek-tragedy}/>+ <semantic:Window id="selection-penaldo-social" projection={story-time} during={story.selection.penaldo-social}/>+ <semantic:Window id="selection-tired-dad" projection={story-time} during={story.selection.tired-dad}/>+ <semantic:Window id="selection-walks-around" projection={story-time} during={story.selection.walks-around}/>+ <semantic:Window id="selection-hat-trick" projection={story-time} during={story.selection.hat-trick}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="ronaldo-semantic-source" source={ronaldo-media.media} during={speech.ronaldo-semantic}/><audio:Clip id="messi-semantic-source" source={messi-media.media} during={speech.messi-semantic}/>@@ -267,44 +267,44 @@<ranking:TierItem id="neymar" tier="d" preset="true" icon={neymar-icon.image}/><ranking:TierItem id="benzema" tier="d" preset="true" icon={benzema-icon.image}/><ranking:TierItem id="ronaldo" tier="d" entry="drop"- icon={ronaldo-icon.image} during={story-time.segment-ronaldo}/>+ icon={ronaldo-icon.image} during={segment-ronaldo}/><ranking:TierItem id="messi" tier="s" entry="drop"- icon={messi-icon.image} during={story-time.segment-messi}/>+ icon={messi-icon.image} during={segment-messi}/></ranking:TierBoard><!-- Every Item consumes a projected Selection window. Later overlappingjokes use a higher explicit z on their own Clip occurrence. --><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="hair-gel" image={broll-hair-gel.image}- extent={hair-gel-extent} during={story-time.selection-hair-gel}+ extent={hair-gel-extent} during={selection-hair-gel}frame={hair-gel-frame} z="40" fit="cover" treatment={recipes.media.hair-gel}motion={broll-left}/><visual:Clip id="trophy" image={broll-trophy.image}- extent={trophy-extent} during={story-time.selection-trophy}+ extent={trophy-extent} during={selection-trophy}frame={trophy-frame} z="41" fit="cover" treatment={recipes.media.trophy}motion={broll-right}/><visual:Clip id="greek-god" image={broll-greek-god.image}- extent={greek-god-extent} during={story-time.selection-greek-god}+ extent={greek-god-extent} during={selection-greek-god}frame={greek-god-frame} z="42" fit="cover" treatment={recipes.media.greek-god}motion={broll-left}/><visual:Clip id="greek-tragedy" image={broll-greek-tragedy.image}- extent={greek-tragedy-extent} during={story-time.selection-greek-tragedy}+ extent={greek-tragedy-extent} during={selection-greek-tragedy}frame={greek-tragedy-frame} z="43" fit="cover" treatment={recipes.media.greek-tragedy}motion={broll-right}/><visual:Clip id="penaldo-social" image={broll-penaldo-social.image}- extent={penaldo-social-extent} during={story-time.selection-penaldo-social}+ extent={penaldo-social-extent} during={selection-penaldo-social}frame={penaldo-social-frame} z="44" fit="cover" treatment={recipes.media.penaldo-social}motion={broll-wide}/><visual:Clip id="tired-dad" image={broll-tired-dad-trophy.image}- extent={tired-dad-extent} during={story-time.selection-tired-dad}+ extent={tired-dad-extent} during={selection-tired-dad}frame={tired-dad-frame} z="45" fit="cover" treatment={recipes.media.tired-dad}motion={broll-right}/><visual:Clip id="walks-around" image={broll-walks-around.image}- extent={walks-around-extent} during={story-time.selection-walks-around}+ extent={walks-around-extent} during={selection-walks-around}frame={walks-around-frame} z="46" fit="cover" treatment={recipes.media.walks-around}motion={broll-left}/><visual:Clip id="hat-trick" image={broll-hat-trick.image}- extent={hat-trick-extent} during={story-time.selection-hat-trick}+ extent={hat-trick-extent} during={selection-hat-trick}frame={hat-trick-frame} z="47" fit="cover" treatment={recipes.media.hat-trick}motion={broll-right}/></visual:Track>@@ -312,7 +312,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/ranking-football/swap-topic.svml b/examples/ranking-football/swap-topic.svmlindex b0365e69..07a4101e 100644--- a/examples/ranking-football/swap-topic.svml+++ b/examples/ranking-football/swap-topic.svml@@ -230,22 +230,22 @@<semantic:Projection id="story-time" narrative={story} timeline={speech.timeline}><semantic:Map alignment={elon-semantic.alignment} domain={elon-media.domain} window={speech.elon-semantic}/><semantic:Map alignment={sam-semantic.alignment} domain={sam-media.domain} window={speech.sam-semantic}/>- <semantic:Window id="segment-elon" segment={story.segment.elon}/>- <semantic:Window id="segment-sam" segment={story.segment.sam}/>- <semantic:Window id="selection-money-rain" selection={story.selection.money-rain}/>- <semantic:Window id="selection-twitter-x" selection={story.selection.twitter-x}/>- <semantic:Window id="selection-mars-rocket" selection={story.selection.mars-rocket}/>- <semantic:Window id="selection-market-crash" selection={story.selection.market-crash}/>- <semantic:Window id="selection-richest-chair" selection={story.selection.richest-chair}/>- <semantic:Window id="selection-haircut-x" selection={story.selection.haircut-x}/>- <semantic:Window id="selection-fired-friday" selection={story.selection.fired-friday}/>- <semantic:Window id="selection-company-quit" selection={story.selection.company-quit}/>- <semantic:Window id="selection-back-monday" selection={story.selection.back-monday}/>- <semantic:Window id="selection-elon-lawsuit" selection={story.selection.elon-lawsuit}/>- <semantic:Window id="selection-google-fears" selection={story.selection.google-fears}/>- <semantic:Window id="selection-congress-grilled" selection={story.selection.congress-grilled}/>- <semantic:Window id="selection-still-here" selection={story.selection.still-here}/></semantic:Projection>+ <semantic:Window id="segment-elon" projection={story-time} during={story.segment.elon}/>+ <semantic:Window id="segment-sam" projection={story-time} during={story.segment.sam}/>+ <semantic:Window id="selection-money-rain" projection={story-time} during={story.selection.money-rain}/>+ <semantic:Window id="selection-twitter-x" projection={story-time} during={story.selection.twitter-x}/>+ <semantic:Window id="selection-mars-rocket" projection={story-time} during={story.selection.mars-rocket}/>+ <semantic:Window id="selection-market-crash" projection={story-time} during={story.selection.market-crash}/>+ <semantic:Window id="selection-richest-chair" projection={story-time} during={story.selection.richest-chair}/>+ <semantic:Window id="selection-haircut-x" projection={story-time} during={story.selection.haircut-x}/>+ <semantic:Window id="selection-fired-friday" projection={story-time} during={story.selection.fired-friday}/>+ <semantic:Window id="selection-company-quit" projection={story-time} during={story.selection.company-quit}/>+ <semantic:Window id="selection-back-monday" projection={story-time} during={story.selection.back-monday}/>+ <semantic:Window id="selection-elon-lawsuit" projection={story-time} during={story.selection.elon-lawsuit}/>+ <semantic:Window id="selection-google-fears" projection={story-time} during={story.selection.google-fears}/>+ <semantic:Window id="selection-congress-grilled" projection={story-time} during={story.selection.congress-grilled}/>+ <semantic:Window id="selection-still-here" projection={story-time} during={story.selection.still-here}/><audio:Track id="speech-sound" timeline={speech.timeline}><audio:Clip id="elon-semantic-source" source={elon-media.media} during={speech.elon-semantic}/><audio:Clip id="sam-semantic-source" source={sam-media.media} during={speech.sam-semantic}/>@@ -295,62 +295,62 @@<ranking:TierItem id="tim" tier="c" preset="true" icon={tim-icon.image}/><ranking:TierItem id="mark" tier="d" preset="true" icon={mark-icon.image}/><ranking:TierItem id="elon" tier="d" entry="drop"- icon={elon-icon.image} during={story-time.segment-elon}/>+ icon={elon-icon.image} during={segment-elon}/><ranking:TierItem id="sam" tier="s" entry="drop"- icon={sam-icon.image} during={story-time.segment-sam}/>+ icon={sam-icon.image} during={segment-sam}/></ranking:TierBoard><visual:Track id="broll" timeline={speech.timeline}><visual:Clip id="money-rain" image={broll-money-rain.image}- extent={money-rain-extent} during={story-time.selection-money-rain}+ extent={money-rain-extent} during={selection-money-rain}frame={money-rain-frame} z="40" fit="cover" treatment={recipes.media.money-rain}motion={broll-left}/><visual:Clip id="twitter-x" image={broll-twitter-x.image}- extent={twitter-x-extent} during={story-time.selection-twitter-x}+ extent={twitter-x-extent} during={selection-twitter-x}frame={twitter-x-frame} z="41" fit="cover" treatment={recipes.media.twitter-x}motion={broll-right}/><visual:Clip id="mars-rocket" image={broll-mars-rocket.image}- extent={mars-rocket-extent} during={story-time.selection-mars-rocket}+ extent={mars-rocket-extent} during={selection-mars-rocket}frame={mars-rocket-frame} z="42" fit="cover" treatment={recipes.media.mars-rocket}motion={broll-left}/><visual:Clip id="market-crash" image={broll-market-crash.image}- extent={market-crash-extent} during={story-time.selection-market-crash}+ extent={market-crash-extent} during={selection-market-crash}frame={market-crash-frame} z="43" fit="cover" treatment={recipes.media.market-crash}motion={broll-wide}/><visual:Clip id="richest-chair" image={broll-richest-chair.image}- extent={richest-chair-extent} during={story-time.selection-richest-chair}+ extent={richest-chair-extent} during={selection-richest-chair}frame={richest-chair-frame} z="44" fit="cover" treatment={recipes.media.richest-chair}motion={broll-right}/><visual:Clip id="haircut-x" image={broll-haircut-x.image}- extent={haircut-x-extent} during={story-time.selection-haircut-x}+ extent={haircut-x-extent} during={selection-haircut-x}frame={haircut-x-frame} z="45" fit="cover" treatment={recipes.media.haircut-x}motion={broll-wide}/><visual:Clip id="fired-friday" image={broll-fired-friday.image}- extent={fired-friday-extent} during={story-time.selection-fired-friday}+ extent={fired-friday-extent} during={selection-fired-friday}frame={fired-friday-frame} z="46" fit="cover" treatment={recipes.media.fired-friday}motion={broll-left}/><visual:Clip id="company-quit" image={broll-company-quit.image}- extent={company-quit-extent} during={story-time.selection-company-quit}+ extent={company-quit-extent} during={selection-company-quit}frame={company-quit-frame} z="47" fit="cover" treatment={recipes.media.company-quit}motion={broll-right}/><visual:Clip id="back-monday" image={broll-back-monday.image}- extent={back-monday-extent} during={story-time.selection-back-monday}+ extent={back-monday-extent} during={selection-back-monday}frame={back-monday-frame} z="48" fit="cover" treatment={recipes.media.back-monday}motion={broll-wide}/><visual:Clip id="elon-lawsuit" image={broll-elon-lawsuit.image}- extent={elon-lawsuit-extent} during={story-time.selection-elon-lawsuit}+ extent={elon-lawsuit-extent} during={selection-elon-lawsuit}frame={elon-lawsuit-frame} z="49" fit="cover" treatment={recipes.media.elon-lawsuit}motion={broll-left}/><visual:Clip id="google-fears" image={broll-google-fears.image}- extent={google-fears-extent} during={story-time.selection-google-fears}+ extent={google-fears-extent} during={selection-google-fears}frame={google-fears-frame} z="50" fit="cover" treatment={recipes.media.google-fears}motion={broll-right}/><visual:Clip id="congress-grilled" image={broll-congress-grilled.image}- extent={congress-grilled-extent} during={story-time.selection-congress-grilled}+ extent={congress-grilled-extent} during={selection-congress-grilled}frame={congress-grilled-frame} z="51" fit="cover" treatment={recipes.media.congress-grilled}motion={broll-left}/><visual:Clip id="still-here" image={broll-still-here.image}- extent={still-here-extent} during={story-time.selection-still-here}+ extent={still-here-extent} during={selection-still-here}frame={still-here-frame} z="52" fit="cover" treatment={recipes.media.still-here}motion={broll-wide}/></visual:Track>@@ -358,7 +358,7 @@<caption-fine:Style id="caption-style" recipe={recipes.caption.primary}font={display-font}/>- <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time.projection}/>+ <narrative-caption:Timing id="caption-timing" document={story.caption} binding={story.caption-binding} projection={story-time}/><caption-fine:Caption id="captions" document={story.caption} timing={caption-timing}timeline={speech.timeline} within={vertical.bounds}><caption-fine:Use style={caption-style}/>diff --git a/examples/semantic-composition/packages/chat-scene/README.md b/examples/semantic-composition/packages/chat-scene/README.mdindex fc1f5fa7..54f80f14 100644--- a/examples/semantic-composition/packages/chat-scene/README.md+++ b/examples/semantic-composition/packages/chat-scene/README.md@@ -7,14 +7,14 @@ For speech-led work, bind the message to the words that introduce it:```svml<chat:Scene id="conversation" timeline={speech.timeline} within={canvas.bounds} font={font}- during={story-time.demo} title="Conversation">+ during={demo} title="Conversation"><chat:Message id="answer" sender="Maya" side="left" text="Here it is."- at={story-time.answer}/>+ at={answer}/></chat:Scene>```-The same component can receive a graphics-only `timeline={animation.timeline}` and `at="2s"` for authored animation. A Scene-has an outer Window; its message Instants trigger persistent state. `entrance-frames` controls arrival+The same component can receive Instants declared directly by a graphics-only Timeline. A Scene has an+outer Window; its message Instants trigger persistent state. `entrance-frames` controls arrivaland scrolling duration independently of those triggers (default 10). Messages stay visible or scrollup as the conversation develops. Message times are on the film clock and must fall inside the Scene.diff --git a/examples/semantic-composition/packages/chat-scene/src/activation.ts b/examples/semantic-composition/packages/chat-scene/src/activation.tsindex f49e6e2a..b1046396 100644--- a/examples/semantic-composition/packages/chat-scene/src/activation.ts+++ b/examples/semantic-composition/packages/chat-scene/src/activation.ts@@ -105,7 +105,7 @@ const declaration = { name: "scene", tag: "Scene", mode: "structured" as const,], children: [{ tag: "Message", cardinality: "many" as const, summary: "One authored message and the event that reveals it.", attributes: [...["id", "sender", "text", "side"].map(name => ({ name, kind: "literal" as const, required: true, summary: name })), ...temporalInstantAttributeVocabulary,] }], ports: [{ name: "visual", type: compositionTypes.visualTrack, summary: "The complete conversation scene." }],- example: '<chat:Scene id="chat" timeline={speech.timeline} within={within} font={font} during={speech.window} title="Conversation"><chat:Message id="answer" sender="Maya" side="left" text="Here it is." at={story-time.answer}/></chat:Scene>',+ example: '<chat:Scene id="chat" timeline={speech.timeline} within={within} font={font} during={speech.window} title="Conversation"><chat:Message id="answer" sender="Maya" side="left" text="Here it is." at={answer}/></chat:Scene>',},};export const hypitPackage = { format: "hypit.package@1" as const, modules: [{ manifest }],diff --git a/examples/semantic-composition/packages/responsive-explainer/README.md b/examples/semantic-composition/packages/responsive-explainer/README.mdindex fc5df19d..30a80e62 100644--- a/examples/semantic-composition/packages/responsive-explainer/README.md+++ b/examples/semantic-composition/packages/responsive-explainer/README.md@@ -11,7 +11,7 @@ already available:<explainer:Scene id="scene" timeline={speech.timeline}within={canvas.bounds} font={font} media={speaker-media.media} source-window={speech.speaker}- during={speech.window} reveal={story-time.demonstrate} title="Make room for meaning"+ during={speech.window} reveal={demonstrate} title="Make room for meaning"transition-frames="24" stack-order="0"/><film:Film id="main" canvas={canvas.canvas} timeline={speech.timeline} appearance={look.film}>diff --git a/examples/semantic-composition/packages/responsive-explainer/src/activation.ts b/examples/semantic-composition/packages/responsive-explainer/src/activation.tsindex 9f0103a2..e89c7c99 100644--- a/examples/semantic-composition/packages/responsive-explainer/src/activation.ts+++ b/examples/semantic-composition/packages/responsive-explainer/src/activation.ts@@ -96,7 +96,7 @@ const declaration = { name: "scene", tag: "Scene", mode: "structured" as const,.map(({ name, type }) => ({ name, kind: "reference" as const, required: true, accepts: [type], summary: name })),...temporalWindowAttributeVocabulary,], ports: [{ name: "visual", type: compositionTypes.visualTrack, summary: "The coordinated scene." }],- example: '<explainer:Scene id="scene" timeline={speech.timeline} within={within} font={font} media={presenter.media} source-window={speech.presenter} during={speech.window} reveal={story-time.reveal} title="How it works" transition-frames="18" stack-order="0"/>',+ example: '<explainer:Scene id="scene" timeline={speech.timeline} within={within} font={font} media={presenter.media} source-window={speech.presenter} during={speech.window} reveal={reveal} title="How it works" transition-frames="18" stack-order="0"/>',},};export const hypitPackage = { format: "hypit.package@1" as const, modules: [{ manifest }],diff --git a/packages/atomic-file/README.md b/packages/atomic-file/README.mdindex b3d63261..40381238 100644--- a/packages/atomic-file/README.md+++ b/packages/atomic-file/README.md@@ -10,7 +10,7 @@ may be absent. Concurrent replacements are ordered by the filesystem, with the lsupplying the current value.POSIX uses Node's `rename`. Windows uses `SetFileInformationByHandle(FileRenameInfoEx)` with-`REPLACE_IF_EXISTS | POSIX_SEMANTICS`, the same primitive previously owned by `build-result`.+`REPLACE_IF_EXISTS | POSIX_SEMANTICS`.This avoids `MoveFileExW` rejecting replacement while another process has the destination open.The native structure layout comes from Koffi; constants are Windows API values.diff --git a/packages/audio-track/README.md b/packages/audio-track/README.mdindex b21a9ad5..58e3c968 100644--- a/packages/audio-track/README.md+++ b/packages/audio-track/README.md@@ -13,7 +13,7 @@ peer contribution to Film.```svml<time:Window id="reveal-hit-window" timeline={program.timeline}- from={story-time.reveal} for="600ms"/>+ from={reveal} for="600ms"/><audio:Track id="mix" timeline={program.timeline}><audio:Clip id="voice" source={speaker-media.media} during={program.speaker}/>diff --git a/packages/audio-track/src/manifest.ts b/packages/audio-track/src/manifest.tsindex ab263999..347875ce 100644--- a/packages/audio-track/src/manifest.ts+++ b/packages/audio-track/src/manifest.ts@@ -108,8 +108,8 @@ export const audioTrackMarkupSurfaces = [{</audio:Track>`,notes: ["A Track requires at least one Clip and accepts no text content.",- "A Clip states one Window form: `during`, or exactly two of `from`, `until` and `for`.",- "Project semantic, beat or other domain time upstream, then pass resolved Windows or Instants here.",+ "A Clip references one already resolved Window through `during`.",+ "Project semantic, beat or other domain time upstream, then pass the resolved Window here.","Omitting Map means bounded partial identity; uncovered target samples are silent.",],},diff --git a/packages/caption-fine/src/manifest.ts b/packages/caption-fine/src/manifest.tsindex 60adedf7..4b2b616f 100644--- a/packages/caption-fine/src/manifest.ts+++ b/packages/caption-fine/src/manifest.ts@@ -330,7 +330,7 @@ export const captionFineMarkupSurfaces = [],example: `<caption-fine:Caption id="captions" document={story.caption} timing={story-captions} timeline={film.timeline} within={vertical.bounds}><caption-fine:Use style={primary-caption}/>- <caption-fine:Use during={story-time.answer} style={answer-caption}/>+ <caption-fine:Use during={answer} style={answer-caption}/></caption-fine:Caption>`,notes: ["Use without time attributes covers the whole Timeline. Role filters content without changing the window.",diff --git a/packages/caption/README.md b/packages/caption/README.mdindex 9b5d024a..4495a853 100644--- a/packages/caption/README.md+++ b/packages/caption/README.md@@ -20,7 +20,7 @@ actually needs and ordered `Use` children. Fine takes one placement Frame:```svml<caption:Hidden id="hidden"/><narrative-caption:Timing id="story-captions" document={story.caption}- binding={story.caption-binding} projection={story-time.projection}/>+ binding={story.caption-binding} projection={story-time}/><time:Window id="impact-window" timeline={film.timeline} from="12s" for="2s"/><caption-fine:Caption id="captions" document={story.caption} timing={story-captions}timeline={film.timeline} within={vertical.bounds}>diff --git a/packages/comment-sticker/README.md b/packages/comment-sticker/README.mdindex 9150149a..4a2c39a8 100644--- a/packages/comment-sticker/README.md+++ b/packages/comment-sticker/README.md@@ -1,6 +1,6 @@# `@hypit/comment-sticker`-The Track Surface accepts `timeline={program.timeline}`. Each Sticker consumes a previously declared+The Track Surface accepts `timeline={program.timeline}`. Each Sticker consumes an already declaredabsolute Window; semantic or other domain coordinates are projected upstream.An author package for timed social-comment cards. It publishes an ordinary `VisualTrack` containing@@ -10,7 +10,7 @@ The author surface keeps the three independent concerns visible:- `SpatialFrame` owns placement and size;- an SVS Recipe plus an exact `FontStackRef` owns appearance and local motion;-- the shared Temporal projection owns when an item exists.+- a named absolute Window owns when an item exists.```xml<import as="copy" from="@hypit/text@1"/>diff --git a/packages/comment-sticker/src/manifest.ts b/packages/comment-sticker/src/manifest.tsindex ce6f71ce..68cda29d 100644--- a/packages/comment-sticker/src/manifest.ts+++ b/packages/comment-sticker/src/manifest.ts@@ -310,15 +310,14 @@ export const commentStickerMarkupSurfaces = [example: `<comment:Track id="comments" timeline={speech.timeline}><comment:Sticker id="one" frame={comment-frame} style={social} avatar={viewer-avatar}- author="@viewer" meta="Featured" during={story-time.reaction}>+ author="@viewer" meta="Featured" during={reaction}>Wait, it pinned the caption to the word, not the second.</comment:Sticker></comment:Track>`,notes: ["A Track requires at least one Sticker.",- "A Sticker states one Window form: `during`, or exactly two of `from`, `until` and `for`.",- "With `start` and `end`, `selection` or `moment` binds the point of reference; both together are refused.",+ "A Sticker references one already resolved Window through `during`.","A Sticker's copy is either `comment` or the element's own text; stating both is refused, and one of the two is required.","Stacking order comes from the Style's Recipe, so a Sticker has no `z`.",],diff --git a/packages/comment-sticker/test/comment-sticker.test.ts b/packages/comment-sticker/test/comment-sticker.test.tsindex 2399d112..9c6ea596 100644--- a/packages/comment-sticker/test/comment-sticker.test.ts+++ b/packages/comment-sticker/test/comment-sticker.test.ts@@ -164,7 +164,7 @@ test("Style Surface consumes an explicit SVS Recipe and exact Font Stack", asyncassert.equal(result.components.length, 0);});-test("Track Surface lowers mixed literal and resolved-Window Stickers to a finite explicit graph", async () => {+test("Track Surface lowers literal and graph Text with a resolved Window to a finite explicit graph", async () => {const blob = { kind: "blob" as const, resource: fixtureResource("comment-avatar"), size: 128, mediaType: "image/png" };const refs = new Map<string, SurfaceResolvedReference>([["video.timeline", authored("video.timeline", timelineTypes.timeline, semantic)],diff --git a/packages/depth-stack/README.md b/packages/depth-stack/README.mdindex edc3f5dc..0b584259 100644--- a/packages/depth-stack/README.md+++ b/packages/depth-stack/README.md@@ -21,12 +21,12 @@ focused material lowerer, but Deck is not a Visual Clip mode and exports only anid="proof-stack"timeline={speech.timeline}frame={layout.proof-stack}- until={story-time.proof-end}+ until={proof-end}appearance={recipes.deck.proof}><deck:Card id="proof-1" source={proof1.image} extent={proof1.extent}- at={story-time.proof1} label={proof-label-style}/>- <deck:Card id="proof-2" source={proof2.video} at={story-time.proof2}/>+ at={proof1} label={proof-label-style}/>+ <deck:Card id="proof-2" source={proof2.video} at={proof2}/></deck:DepthStack>```@@ -38,9 +38,9 @@ require a hidden looping mode on the material and never depends on renderer playOptional labels are separate exact-font values and are referenced by Cards. Filenames, URLs andmedia metadata are never treated as label truth.-The Surface constructs literal `at` values when needed or passes through resolved-`TemporalInstant` references. Card append and completion consume those Instants directly; they never-locate a Moment/Selection or manufacture a one-frame terminal Window internally.+The Surface resolves named `TemporalInstant` references for every Card and for the terminal boundary.+Card append and completion consume those Instants directly; they do not locate semantic identities or+manufacture a one-frame terminal Window internally.`deck:Label` accepts either literal body copy or `content={Text}`. It binds that copy to exact fontand label appearance in a small explicit Fragment. The DepthStack receives the resulting label asdiff --git a/packages/depth-stack/src/manifest.ts b/packages/depth-stack/src/manifest.tsindex 96bceb91..debf0231 100644--- a/packages/depth-stack/src/manifest.ts+++ b/packages/depth-stack/src/manifest.ts@@ -342,12 +342,12 @@ export const depthStackMarkupSurfaces = [id="proof-stack"timeline={speech.timeline}frame={layout.proof-stack}- until={story-time.proof-end}+ until={proof-end}appearance={recipes.deck.proof}><deck:Card id="proof-1" source={proof1.image} extent={proof1.extent}- at={story-time.proof1} label={proof-label-style}/>- <deck:Card id="proof-2" source={proof2.video} at={story-time.proof2}/>+ at={proof1} label={proof-label-style}/>+ <deck:Card id="proof-2" source={proof2.video} at={proof2}/></deck:DepthStack>`,notes: ["The deck requires at least one Card, and a Card is empty.",diff --git a/packages/interview-emoji-reveal/README.md b/packages/interview-emoji-reveal/README.mdindex 4d988f42..06e32181 100644--- a/packages/interview-emoji-reveal/README.md+++ b/packages/interview-emoji-reveal/README.md@@ -23,8 +23,8 @@ answers remain and later slots remain unanswered.<emoji:EmojiReveal id="rules" timeline={speech.timeline} within={vertical.bounds}style={emoji-strip} placeholder={question-icon} during={speech.window}><emoji:Item id="manifest" icon={manifest-icon} preset="true"/>- <emoji:Item id="real-estate" icon={real-estate-icon} at={story-time.real-estate}/>- <emoji:Item id="bitcoin" icon={bitcoin-icon} at={story-time.bitcoin}/>+ <emoji:Item id="real-estate" icon={real-estate-icon} at={real-estate}/>+ <emoji:Item id="bitcoin" icon={bitcoin-icon} at={bitcoin}/></emoji:EmojiReveal>```diff --git a/packages/interview-emoji-reveal/src/manifest.ts b/packages/interview-emoji-reveal/src/manifest.tsindex 9bc8dc63..d54172e0 100644--- a/packages/interview-emoji-reveal/src/manifest.ts+++ b/packages/interview-emoji-reveal/src/manifest.ts@@ -134,8 +134,8 @@ export const emojiRevealMarkupSurfaces = [],example: `<emoji:EmojiReveal id="rules" timeline={speech.timeline} within={vertical.bounds} style={emoji-strip} placeholder={question-icon} during={speech.window}><emoji:Item id="manifest" icon={manifest-icon} preset="true"/>- <emoji:Item id="real-estate" icon={real-estate-icon} at={story-time.real-estate}/>- <emoji:Item id="bitcoin" icon={bitcoin-icon} at={story-time.bitcoin}/>+ <emoji:Item id="real-estate" icon={real-estate-icon} at={real-estate}/>+ <emoji:Item id="bitcoin" icon={bitcoin-icon} at={bitcoin}/></emoji:EmojiReveal>`,notes: ["Item order is display order: preset Items come first, then non-preset Items in strict chronological reveal order.",diff --git a/packages/narrative-caption/README.md b/packages/narrative-caption/README.mdindex c1bc4555..9b860299 100644--- a/packages/narrative-caption/README.md+++ b/packages/narrative-caption/README.md@@ -14,5 +14,5 @@ CaptionTiming and therefore do not depend on Narrative or speech.<narrative-caption:Timing id="story-captions"document={story.caption}binding={story.caption-binding}- projection={speech.projection}/>+ projection={speech}/>```diff --git a/packages/narrative-caption/src/surface.ts b/packages/narrative-caption/src/surface.tsindex 1461a823..90dc7b80 100644--- a/packages/narrative-caption/src/surface.ts+++ b/packages/narrative-caption/src/surface.ts@@ -75,6 +75,6 @@ export const narrativeCaptionTimingMarkupSurface = {{ name: "projection", kind: "reference", required: true, accepts: [narrativeTemporalTypes.narrativeProjection], summary: "Locates those Tokens on one Timeline." },],ports: [{ name: "", type: captionTypes.timing, summary: "Neutral absolute timing for the selected CaptionDocument." }],- example: '<narrative-caption:Timing id="story-captions" document={story.caption} binding={story.caption-binding} projection={speech.projection}/>',+ example: '<narrative-caption:Timing id="story-captions" document={story.caption} binding={story.caption-binding} projection={speech}/>',},} as const;diff --git a/packages/narrative-temporal/README.md b/packages/narrative-temporal/README.mdindex abbb1b1b..35afca7e 100644--- a/packages/narrative-temporal/README.md+++ b/packages/narrative-temporal/README.md@@ -14,18 +14,22 @@ Timeline. Narrative Selections, Moments and Segments can then project to ordinar<import as="semantic" from="@hypit/narrative-temporal@1"/><semantic:Projection id="story-time" narrative={story} timeline={program.timeline}><semantic:Map alignment={opening.alignment} domain={opening.domain} window={program.opening}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="claim" moment={story.moment.claim}/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="claim" projection={story-time} at={story.moment.claim}/>```-The relation may know every located Narrative boundary, but only requested child declarations become-public graph ports. `story-time.proof` is an ordinary `TemporalWindow`; `story-time.claim` is an-ordinary `TemporalInstant`. General visual, audio, caption and typography components consume those+The Projection owns only its Maps and publishes one reusable interpretation context. Independent+declarations explicitly choose that Projection when revealing a semantic object. `proof` is an+ordinary `TemporalWindow`; `claim` is an ordinary `TemporalInstant`. General visual, audio, caption and typography components consume thosevalues without receiving the Projection or learning Narrative source kinds. Selection/Segment/Momentdispatch remain owned here. The completed Projection stores absolute boundaries and no reusablelocal-to-absolute mapping identity.+Projection reveals the exact semantic boundary. Author offsets remain ordinary absolute-time+composition: reveal the boundary first, then use a standalone `time:Instant` with+`at={claim} offset="+5f"` when that separate relationship is needed.+Speech Alignment is one producer of `NarrativeAlignment`; reviewed, manually authored or importedrelations use the same Type without pretending to be speech. Timeline and common Temporal packagesdo not enumerate Narrative event kinds.diff --git a/packages/narrative-temporal/src/activation.ts b/packages/narrative-temporal/src/activation.tsindex 58797c59..a0bb3ec9 100644--- a/packages/narrative-temporal/src/activation.ts+++ b/packages/narrative-temporal/src/activation.ts@@ -1,14 +1,21 @@import { createAdmissionPackageFacet } from "@hypit/admission";import { createProducerPackageFacet } from "@hypit/producer";import { createMarkupSurfaceFacet } from "@hypit/markup";-import { decodeNarrativeProjectionSurface, narrativeProjectionMarkupSurface, narrativeTemporalComponent,+import { decodeNarrativeInstantSurface, decodeNarrativeProjectionSurface, decodeNarrativeWindowSurface,+ narrativeProjectionMarkupSurfaces, narrativeTemporalComponent,narrativeTemporalManifest, narrativeTemporalModuleRef } from "./index.js";export const hypitPackage = {format: "hypit.package@1" as const,modules: [{ manifest: narrativeTemporalManifest }],facets: [- ...[narrativeTemporalComponent].flatMap((component) => [createProducerPackageFacet(component), createAdmissionPackageFacet(component)]),createMarkupSurfaceFacet({ module: narrativeTemporalModuleRef,- declaration: narrativeProjectionMarkupSurface, handler: decodeNarrativeProjectionSurface })],+ ...[narrativeTemporalComponent].flatMap((component) => [createProducerPackageFacet(component), createAdmissionPackageFacet(component)]),+ createMarkupSurfaceFacet({ module: narrativeTemporalModuleRef,+ declaration: narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-projection")!, handler: decodeNarrativeProjectionSurface }),+ createMarkupSurfaceFacet({ module: narrativeTemporalModuleRef,+ declaration: narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-instant")!, handler: decodeNarrativeInstantSurface }),+ createMarkupSurfaceFacet({ module: narrativeTemporalModuleRef,+ declaration: narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-window")!, handler: decodeNarrativeWindowSurface }),+ ],};export default hypitPackage;diff --git a/packages/narrative-temporal/src/component.ts b/packages/narrative-temporal/src/component.tsindex b94599d6..eecd71b5 100644--- a/packages/narrative-temporal/src/component.ts+++ b/packages/narrative-temporal/src/component.ts@@ -67,7 +67,6 @@ function projectionFacet(producer: ProducerRef, inputName: "selection" | "segmenreturn { producer, handler: ({ inputs }) => {const spec = inline<NarrativeInstantSpec>(inputs.spec?.value, "NarrativeInstantSpec");return { outputs: { instant: { kind: "inline" as const, value: canonicalize(projectNarrativeInstant({- timeline: inline<Timeline>(inputs.timeline?.value, "Timeline"),narrative: inline<NarrativeProjection>(inputs.projection?.value, "NarrativeProjection"),source: inline<NarrativeSelectionRef | NarrativeSegmentRef | NarrativeMomentRef>(inputs[inputName]?.value, inputName),sourceKind, spec,diff --git a/packages/narrative-temporal/src/index.ts b/packages/narrative-temporal/src/index.tsindex 7d44d4a7..9bf6c757 100644--- a/packages/narrative-temporal/src/index.ts+++ b/packages/narrative-temporal/src/index.ts@@ -6,5 +6,6 @@ export { narrativeTemporalDependency, narrativeTemporalManifest, narrativeTemporexport { createNarrativeProjection, momentFrame, narrativeBoundaryFrame, projectNarrativeAlignment, projectNarrativeInstant,segmentFrameSpan, selectionFrameSpan, tokenFrameSpan } from "./projection.js";export { narrativeAlignmentSchema } from "./schema.js";-export { decodeNarrativeProjectionSurface, narrativeProjectionMarkupSurface } from "./surface.js";+export { decodeNarrativeInstantSurface, decodeNarrativeProjectionSurface, decodeNarrativeWindowSurface,+ narrativeProjectionMarkupSurfaces } from "./surface.js";export type * from "./types.js";diff --git a/packages/narrative-temporal/src/manifest.ts b/packages/narrative-temporal/src/manifest.tsindex 1f39ac26..cc7305a7 100644--- a/packages/narrative-temporal/src/manifest.ts+++ b/packages/narrative-temporal/src/manifest.ts@@ -47,17 +47,17 @@ export const narrativeTemporalManifest: ModuleManifest = {outputs: [{ name: "projection", type: narrativeTemporalTypes.narrativeProjection }], needs: [],}, {name: narrativeTemporalProducers.projectSelectionInstant.name,- inputs: [{ name: "timeline", type: timelineTypes.timeline }, { name: "projection", type: narrativeTemporalTypes.narrativeProjection },+ inputs: [{ name: "projection", type: narrativeTemporalTypes.narrativeProjection },{ name: "selection", type: narrativeTypes.selection }, { name: "spec", type: narrativeTemporalTypes.narrativeInstantSpec }],outputs: [{ name: "instant", type: temporalTypes.instant }], needs: [],}, {name: narrativeTemporalProducers.projectSegmentInstant.name,- inputs: [{ name: "timeline", type: timelineTypes.timeline }, { name: "projection", type: narrativeTemporalTypes.narrativeProjection },+ inputs: [{ name: "projection", type: narrativeTemporalTypes.narrativeProjection },{ name: "segment", type: narrativeTypes.segmentRef }, { name: "spec", type: narrativeTemporalTypes.narrativeInstantSpec }],outputs: [{ name: "instant", type: temporalTypes.instant }], needs: [],}, {name: narrativeTemporalProducers.projectMomentInstant.name,- inputs: [{ name: "timeline", type: timelineTypes.timeline }, { name: "projection", type: narrativeTemporalTypes.narrativeProjection },+ inputs: [{ name: "projection", type: narrativeTemporalTypes.narrativeProjection },{ name: "moment", type: narrativeTypes.moment }, { name: "spec", type: narrativeTemporalTypes.narrativeInstantSpec }],outputs: [{ name: "instant", type: temporalTypes.instant }], needs: [],}],diff --git a/packages/narrative-temporal/src/projection.ts b/packages/narrative-temporal/src/projection.tsindex b7321d26..52ed4f8e 100644--- a/packages/narrative-temporal/src/projection.ts+++ b/packages/narrative-temporal/src/projection.ts@@ -1,5 +1,5 @@import type { NarrativeSegmentRef, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";-import { durationInFrames, projectDomainFrame, resolvedInstant } from "@hypit/temporal";+import { projectDomainFrame } from "@hypit/temporal";import type { LocalTemporalDomain, TemporalInstant, TemporalWindow } from "@hypit/temporal";import { assertTimelineIdentity, timelineFrameCount } from "@hypit/timeline";import type { Timeline } from "@hypit/timeline";@@ -113,18 +113,11 @@ function narrativeBase(boundary: NarrativeInstantSpec["boundary"], projection: Nreturn boundary === "start" ? span.startFrame : span.endFrameExclusive;}-export function projectNarrativeInstant(input: { readonly timeline: Timeline; readonly narrative: NarrativeProjection;+export function projectNarrativeInstant(input: { readonly narrative: NarrativeProjection;readonly source: NarrativeSelectionRef | NarrativeMomentRef | NarrativeSegmentRef;readonly sourceKind: "selection" | "moment" | "segment"; readonly spec: NarrativeInstantSpec }): TemporalInstant {- assertTimelineIdentity(input.timeline);- assert(input.narrative.timelineId === input.timeline.id, "NarrativeProjection belongs to another Timeline.");- const base = narrativeBase(input.spec.boundary, input.narrative, input.source, input.sourceKind);- const raw = input.spec.offset === undefined ? base : (() => {- const delta = durationInFrames(input.spec.offset, input.timeline);- assert(delta.denominator === 1n, "Narrative projection offset must resolve to an exact frame.");- return base + Number(delta.numerator);- })();- assert(Number.isSafeInteger(raw) && raw >= 0 && raw <= timelineFrameCount(input.timeline),- "Narrative projection falls outside Timeline.");- return resolvedInstant(input.spec, input.timeline, raw);+ const frame = narrativeBase(input.spec.boundary, input.narrative, input.source, input.sourceKind);+ assert(Number.isSafeInteger(frame) && frame >= 0, "Narrative projection frame is invalid.");+ return { id: input.spec.id, subjectId: input.spec.subjectId,+ timelineId: input.narrative.timelineId, frame };}diff --git a/packages/narrative-temporal/src/surface.ts b/packages/narrative-temporal/src/surface.tsindex 0a593376..e12f2834 100644--- a/packages/narrative-temporal/src/surface.ts+++ b/packages/narrative-temporal/src/surface.ts@@ -2,14 +2,11 @@ import { sealGraphFragment } from "@hypit/author";import type { FragmentOperation, GraphFragment } from "@hypit/author";import {assertAttributes, assertEmptyElement, localName, textAttribute,- type StructuredElement, type StructuredSurfaceHandler, type SurfaceComponentDraft,- type SurfaceRecordDraft, type SurfaceResolvedReference,+ type StructuredElement, type StructuredSurfaceHandler, type SurfaceResolvedReference,} from "@hypit/markup";import { narrativeTypes } from "@hypit/narrative";import { canonicalize, sameType, type TypeRef } from "@hypit/protocol";import { temporalProducers, temporalTypes } from "@hypit/temporal";-import type { TemporalDuration } from "@hypit/temporal";-import { parseTemporalDuration } from "@hypit/temporal/markup";import { timelineTypes } from "@hypit/timeline";import { narrativeTemporalProducers, narrativeTemporalTypes } from "./manifest.js";@@ -17,99 +14,68 @@ import { narrativeTemporalProducers, narrativeTemporalTypes } from "./manifest.jconst input = (name: string) => ({ kind: "fragment-input" as const, name });const operation = (id: string) => ({ kind: "fragment-operation" as const, operation: id });-function reference(path: unknown, subject: string, type: TypeRef,+function rawReference(path: unknown, subject: string,resolve: (path: string) => SurfaceResolvedReference | undefined): SurfaceResolvedReference {if (typeof path !== "object" || path === null || !("kind" in path) || path.kind !== "reference" || !("path" in path)|| typeof path.path !== "string") throw new Error(`${subject} must be a reference.`);const found = resolve(path.path);- if (found === undefined || !sameType(found.type, type)) throw new Error(`${subject} has the wrong Type.`);+ if (found === undefined) throw new Error(`${subject} is unresolved.`);+ return found;+}++function reference(path: unknown, subject: string, type: TypeRef,+ resolve: (path: string) => SurfaceResolvedReference | undefined): SurfaceResolvedReference {+ const found = rawReference(path, subject, resolve);+ if (!sameType(found.type, type)) throw new Error(`${subject} has the wrong Type.`);return found;}+type NarrativeSource = {+ readonly kind: "selection" | "segment" | "moment";+ readonly reference: SurfaceResolvedReference;+};++function narrativeSource(element: StructuredElement, attribute: "at" | "during",+ resolve: (path: string) => SurfaceResolvedReference | undefined): NarrativeSource {+ const found = rawReference(element.attributes[attribute], `${element.name}.${attribute}`, resolve);+ if (sameType(found.type, narrativeTypes.selection)) return { kind: "selection", reference: found };+ if (sameType(found.type, narrativeTypes.segmentRef)) return { kind: "segment", reference: found };+ if (sameType(found.type, narrativeTypes.moment)) return { kind: "moment", reference: found };+ throw new Error(`${element.name}.${attribute} has the wrong Type.`);+}+type ProjectionMap = {readonly alignment: SurfaceResolvedReference;readonly domain: SurfaceResolvedReference;readonly window: SurfaceResolvedReference;};-type ProjectionOutput = { readonly element: StructuredElement; readonly id: string; readonly kind: "instant" | "window";- readonly sourceKind: "selection" | "segment" | "moment"; readonly source: SurfaceResolvedReference;- readonly boundary?: "start" | "end"; readonly offset?: TemporalDuration };-function offset(element: StructuredElement): TemporalDuration | undefined {- const raw = element.attributes.offset;- if (raw === undefined) return undefined;- if (typeof raw !== "string" || !/^[+-]?\d+(?:\.\d+)?(?:f|ms|s)$/u.test(raw.trim())) {- throw new Error(`${element.name}.offset must be an exact signed duration.`);- }- const value = raw.trim(), negative = value.startsWith("-");- const parsed = parseTemporalDuration(value.replace(/^[+-]/u, ""), `${element.name}.offset`);- if (!negative) return parsed;- return parsed.unit === "seconds" ? { ...parsed, numerator: -parsed.numerator } : { ...parsed, value: -parsed.value };-}--function projectionOutput(element: StructuredElement,- resolveReference: (path: string) => SurfaceResolvedReference | undefined): ProjectionOutput {- const tag = localName(element.name);- if (tag === "Window") {- assertAttributes(element, ["id", "selection", "segment"], ["id"]); assertEmptyElement(element);- const selection = element.attributes.selection, segment = element.attributes.segment;- if (Number(selection !== undefined) + Number(segment !== undefined) !== 1) {- throw new Error(`${element.name} requires exactly one of selection or segment.`);- }- return selection !== undefined- ? { element, id: textAttribute(element, "id"), kind: "window", sourceKind: "selection",- source: reference(selection, `${element.name}.selection`, narrativeTypes.selection, resolveReference) }- : { element, id: textAttribute(element, "id"), kind: "window", sourceKind: "segment",- source: reference(segment, `${element.name}.segment`, narrativeTypes.segmentRef, resolveReference) };- }- if (tag !== "Instant") throw new Error(`Projection accepts Map, Window and Instant children only.`);- assertAttributes(element, ["id", "selection", "segment", "moment", "boundary", "offset"], ["id"]); assertEmptyElement(element);- const sources = ["selection", "segment", "moment"].filter((name) => element.attributes[name] !== undefined);- if (sources.length !== 1) throw new Error(`${element.name} requires exactly one of selection, segment or moment.`);- const sourceKind = sources[0] as "selection" | "segment" | "moment";- const sourceType = sourceKind === "selection" ? narrativeTypes.selection- : sourceKind === "segment" ? narrativeTypes.segmentRef : narrativeTypes.moment;- const boundaryRaw = element.attributes.boundary;- if (sourceKind === "moment") {- if (boundaryRaw !== undefined) throw new Error(`${element.name}.boundary is invalid for a Moment.`);- const projectedOffset = offset(element);- return { element, id: textAttribute(element, "id"), kind: "instant", sourceKind,- source: reference(element.attributes.moment, `${element.name}.moment`, sourceType, resolveReference),- ...(projectedOffset === undefined ? {} : { offset: projectedOffset }) };- }- if (boundaryRaw !== "start" && boundaryRaw !== "end") {- throw new Error(`${element.name}.boundary must be start or end.`);- }- const projectedOffset = offset(element);- return { element, id: textAttribute(element, "id"), kind: "instant", sourceKind,- source: reference(element.attributes[sourceKind], `${element.name}.${sourceKind}`, sourceType, resolveReference),- boundary: boundaryRaw, ...(projectedOffset === undefined ? {} : { offset: projectedOffset }) };-}--function projectionProducer(kind: ProjectionOutput["sourceKind"]) {+function projectionProducer(kind: NarrativeSource["kind"]) {return kind === "selection" ? narrativeTemporalProducers.projectSelectionInstant: kind === "segment" ? narrativeTemporalProducers.projectSegmentInstant: narrativeTemporalProducers.projectMomentInstant;}-function outputFragment(output: ProjectionOutput): GraphFragment {- const sourceType = output.sourceKind === "selection" ? narrativeTypes.selection- : output.sourceKind === "segment" ? narrativeTypes.segmentRef : narrativeTypes.moment;+function sourceType(kind: NarrativeSource["kind"]): TypeRef {+ return kind === "selection" ? narrativeTypes.selection+ : kind === "segment" ? narrativeTypes.segmentRef : narrativeTypes.moment;+}++function outputFragment(kind: NarrativeSource["kind"], output: "instant" | "window"): GraphFragment {const ports: Array<{ readonly name: string; readonly type: TypeRef }> = [- { name: "timeline", type: timelineTypes.timeline },{ name: "projection", type: narrativeTemporalTypes.narrativeProjection },- { name: "source", type: sourceType },+ { name: "source", type: sourceType(kind) },{ name: "start-spec", type: narrativeTemporalTypes.narrativeInstantSpec },];- const operations: FragmentOperation[] = [{ id: "start", producer: projectionProducer(output.sourceKind), inputs: {- timeline: input("timeline"), projection: input("projection"), [output.sourceKind]: input("source"), spec: input("start-spec"),+ const operations: FragmentOperation[] = [{ id: "start", producer: projectionProducer(kind), inputs: {+ projection: input("projection"), [kind]: input("source"), spec: input("start-spec"),}, result: { kind: "output", name: "instant" } }];- if (output.kind === "instant") return sealGraphFragment({ inputs: ports, operations,+ if (output === "instant") return sealGraphFragment({ inputs: ports, operations,exports: [{ name: "instant", type: temporalTypes.instant, root: operation("start") }] });ports.push({ name: "end-spec", type: narrativeTemporalTypes.narrativeInstantSpec },{ name: "window-spec", type: temporalTypes.windowSpec });- operations.push({ id: "end", producer: projectionProducer(output.sourceKind), inputs: {- timeline: input("timeline"), projection: input("projection"), [output.sourceKind]: input("source"), spec: input("end-spec"),+ operations.push({ id: "end", producer: projectionProducer(kind), inputs: {+ projection: input("projection"), [kind]: input("source"), spec: input("end-spec"),}, result: { kind: "output", name: "instant" } }, {id: "window", producer: temporalProducers.composeWindow,inputs: { spec: input("window-spec"), start: operation("start"), end: operation("end") },@@ -122,28 +88,25 @@ function outputFragment(output: ProjectionOutput): GraphFragment {] });}-/** Build one Narrative projection and the explicitly requested absolute values derived from it. */+/** Build one reusable Narrative interpretation context. Maps are its only owned children. */export const decodeNarrativeProjectionSurface: StructuredSurfaceHandler = ({ element, resolveReference }) => {assertAttributes(element, ["id", "narrative", "timeline"]);const id = textAttribute(element, "id");const narrative = reference(element.attributes.narrative, `${element.name}.narrative`, narrativeTypes.narrative, resolveReference);const timeline = reference(element.attributes.timeline, `${element.name}.timeline`, timelineTypes.timeline, resolveReference);- const maps: ProjectionMap[] = [], requested: ProjectionOutput[] = [];- const outputIds = new Set<string>();+ const maps: ProjectionMap[] = [];for (const child of element.children) {- if (child.kind === "text") { if (child.value.trim()) throw new Error(`${element.name} accepts Map, Window and Instant children only.`); continue; }- if (localName(child.name) === "Map") {- assertAttributes(child, ["alignment", "domain", "window"]); assertEmptyElement(child);- maps.push({- alignment: reference(child.attributes.alignment, `${child.name}.alignment`, narrativeTemporalTypes.narrativeAlignment, resolveReference),- domain: reference(child.attributes.domain, `${child.name}.domain`, temporalTypes.localDomain, resolveReference),- window: reference(child.attributes.window, `${child.name}.window`, temporalTypes.window, resolveReference),- });+ if (child.kind === "text") {+ if (child.value.trim()) throw new Error(`${element.name} accepts Map children only.`);continue;}- const output = projectionOutput(child, resolveReference);- if (outputIds.has(output.id)) throw new Error(`${element.name} repeats output ${output.id}.`);- outputIds.add(output.id); requested.push(output);+ if (localName(child.name) !== "Map") throw new Error(`${element.name} accepts Map children only.`);+ assertAttributes(child, ["alignment", "domain", "window"]); assertEmptyElement(child);+ maps.push({+ alignment: reference(child.attributes.alignment, `${child.name}.alignment`, narrativeTemporalTypes.narrativeAlignment, resolveReference),+ domain: reference(child.attributes.domain, `${child.name}.domain`, temporalTypes.localDomain, resolveReference),+ window: reference(child.attributes.window, `${child.name}.window`, temporalTypes.window, resolveReference),+ });}if (maps.length === 0) throw new Error(`${element.name} requires at least one Map.`);@@ -187,85 +150,121 @@ export const decodeNarrativeProjectionSurface: StructuredSurfaceHandler = ({ eleoperations.push({ id: "finalize", producer: narrativeTemporalProducers.finalizeProjection,inputs: { header: input("header"), narrative: input("narrative"), timeline: input("timeline"), parts: operation(level[0]!) },result: { kind: "output", name: "projection" } });- const projectionFragment = sealGraphFragment({ inputs: ports, operations,+ const fragment = sealGraphFragment({ inputs: ports, operations,exports: [{ name: "projection", type: narrativeTemporalTypes.narrativeProjection, root: operation("finalize") }] });- const records: SurfaceRecordDraft[] = [{ id: `${id}.__header`, type: narrativeTemporalTypes.narrativeProjectionHeader,- value: { kind: "inline", value: canonicalize({ id }) }, range: element.range }];- const components: SurfaceComponentDraft[] = [{ id, fragment: projectionFragment.id, inputs: bindings,- outputs: { projection: `${id}.projection` }, range: element.range }];- const fragments: GraphFragment[] = [projectionFragment];- const exports = [`${id}.projection`];- for (const output of requested) {- const subjectId = `${id}.${output.id}`, fragment = outputFragment(output);- const startSpecId = `${subjectId}.__start`;- const startBoundary = output.kind === "window" ? "start"- : output.sourceKind === "moment" ? "cue" : output.boundary!;- records.push({ id: startSpecId, type: narrativeTemporalTypes.narrativeInstantSpec,- value: { kind: "inline", value: { id: `${subjectId}.start`, subjectId, boundary: startBoundary,- ...(output.offset === undefined ? {} : { offset: output.offset }) } }, range: output.element.range });- const childBindings: Record<string, SurfaceResolvedReference["ref"] | { kind: "record"; id: string }> = {- timeline: timeline.ref, projection: { kind: "component-output", component: id, output: "projection" },- source: output.source.ref, "start-spec": { kind: "record", id: startSpecId },- };- const outputNames = output.kind === "instant"- ? { instant: subjectId }- : { window: subjectId, start: `${subjectId}.start`, end: `${subjectId}.end` };- if (output.kind === "window") {- const endSpecId = `${subjectId}.__end`, windowSpecId = `${subjectId}.__window`;- records.push({ id: endSpecId, type: narrativeTemporalTypes.narrativeInstantSpec,- value: { kind: "inline", value: { id: `${subjectId}.end`, subjectId, boundary: "end" } }, range: output.element.range },- { id: windowSpecId, type: temporalTypes.windowSpec,- value: { kind: "inline", value: { id: subjectId, subjectId } }, range: output.element.range });- childBindings["end-spec"] = { kind: "record", id: endSpecId };- childBindings["window-spec"] = { kind: "record", id: windowSpecId };+ return {+ records: [{ id: `${id}.__header`, type: narrativeTemporalTypes.narrativeProjectionHeader,+ value: { kind: "inline", value: canonicalize({ id }) }, range: element.range }],+ components: [{ id, fragment: fragment.id, inputs: bindings, outputs: { projection: id }, range: element.range }],+ fragments: [fragment], exports: [id],+ };+};++/** Reveal one semantic point or interval boundary as a named absolute Instant. */+export const decodeNarrativeInstantSurface: StructuredSurfaceHandler = ({ element, resolveReference }) => {+ assertAttributes(element, ["id", "projection", "at", "boundary"], ["id", "projection", "at"]); assertEmptyElement(element);+ const id = textAttribute(element, "id");+ const projection = reference(element.attributes.projection, `${element.name}.projection`,+ narrativeTemporalTypes.narrativeProjection, resolveReference);+ const source = narrativeSource(element, "at", resolveReference);+ const rawBoundary = element.attributes.boundary;+ let boundary: "start" | "end" | "cue";+ if (source.kind === "moment") {+ if (rawBoundary !== undefined) throw new Error(`${element.name}.boundary is invalid for a Moment.`);+ boundary = "cue";+ } else {+ if (rawBoundary !== "start" && rawBoundary !== "end") {+ throw new Error(`${element.name}.boundary must be start or end.`);}- components.push({ id: `${subjectId}.__projection`, fragment: fragment.id, inputs: childBindings,- outputs: outputNames, range: output.element.range });- fragments.push(fragment); exports.push(...Object.values(outputNames));+ boundary = rawBoundary;}- return { records, components, fragments, exports };+ const specId = `${id}.__spec`, fragment = outputFragment(source.kind, "instant");+ return {+ records: [{ id: specId, type: narrativeTemporalTypes.narrativeInstantSpec,+ value: { kind: "inline", value: canonicalize({ id, subjectId: id, boundary }) }, range: element.range }],+ components: [{ id: `${id}.__projection`, fragment: fragment.id, inputs: {+ projection: projection.ref, source: source.reference.ref, "start-spec": { kind: "record", id: specId },+ }, outputs: { instant: id }, range: element.range }],+ fragments: [fragment], exports: [id],+ };+};++/** Reveal one authored semantic interval as a named absolute Window. */+export const decodeNarrativeWindowSurface: StructuredSurfaceHandler = ({ element, resolveReference }) => {+ assertAttributes(element, ["id", "projection", "during"], ["id", "projection", "during"]); assertEmptyElement(element);+ const id = textAttribute(element, "id");+ const projection = reference(element.attributes.projection, `${element.name}.projection`,+ narrativeTemporalTypes.narrativeProjection, resolveReference);+ const source = narrativeSource(element, "during", resolveReference);+ if (source.kind === "moment") throw new Error(`${element.name}.during must be a Selection or Segment.`);+ const startSpecId = `${id}.__start`, endSpecId = `${id}.__end`, windowSpecId = `${id}.__window`;+ const fragment = outputFragment(source.kind, "window");+ return {+ records: [+ { id: startSpecId, type: narrativeTemporalTypes.narrativeInstantSpec,+ value: { kind: "inline", value: canonicalize({ id: `${id}.start`, subjectId: id, boundary: "start" }) }, range: element.range },+ { id: endSpecId, type: narrativeTemporalTypes.narrativeInstantSpec,+ value: { kind: "inline", value: canonicalize({ id: `${id}.end`, subjectId: id, boundary: "end" }) }, range: element.range },+ { id: windowSpecId, type: temporalTypes.windowSpec,+ value: { kind: "inline", value: canonicalize({ id, subjectId: id }) }, range: element.range },+ ],+ components: [{ id: `${id}.__projection`, fragment: fragment.id, inputs: {+ projection: projection.ref, source: source.reference.ref,+ "start-spec": { kind: "record", id: startSpecId }, "end-spec": { kind: "record", id: endSpecId },+ "window-spec": { kind: "record", id: windowSpecId },+ }, outputs: { window: id, start: `${id}.start`, end: `${id}.end` }, range: element.range }],+ fragments: [fragment], exports: [id, `${id}.start`, `${id}.end`],+ };};-export const narrativeProjectionMarkupSurface = {+export const narrativeProjectionMarkupSurfaces = [{name: "narrative-projection", tag: "Projection", mode: "structured",- outputs: [narrativeTemporalTypes.narrativeProjectionHeader, narrativeTemporalTypes.narrativeInstantSpec,- narrativeTemporalTypes.narrativeProjection, temporalTypes.windowSpec, temporalTypes.instant, temporalTypes.window],+ outputs: [narrativeTemporalTypes.narrativeProjectionHeader, narrativeTemporalTypes.narrativeProjection],vocabulary: {- summary: "Projects explicit NarrativeAlignment values onto one Timeline and publishes requested absolute values.",+ summary: "Builds one explicit Narrative interpretation context from exact local-domain Maps.",attributes: [{ name: "id", kind: "identifier", required: true, summary: "Names this projection." },{ name: "narrative", kind: "reference", required: true, accepts: [narrativeTypes.narrative], summary: "Selects the Narrative identity." },{ name: "timeline", kind: "reference", required: true, accepts: [timelineTypes.timeline], summary: "Selects the target Timeline." },],- children: [- { tag: "Map", cardinality: "many", summary: "Projects one local NarrativeAlignment through an exact domain-to-Window relation.", attributes: [- { name: "alignment", kind: "reference", required: true, accepts: [narrativeTemporalTypes.narrativeAlignment], summary: "Local Narrative timing facts." },- { name: "domain", kind: "reference", required: true, accepts: [temporalTypes.localDomain], summary: "The Alignment's complete local coordinate domain." },- { name: "window", kind: "reference", required: true, accepts: [temporalTypes.window], summary: "Equal-length absolute Window receiving that domain." },- ] },- { tag: "Window", cardinality: "many", summary: "Publishes one selected Segment or Selection as an absolute Window.", attributes: [- { name: "id", kind: "identifier", required: true, summary: "Scoped absolute output name." },- { name: "selection", kind: "reference", required: false, accepts: [narrativeTypes.selection], summary: "Selection to project." },- { name: "segment", kind: "reference", required: false, accepts: [narrativeTypes.segmentRef], summary: "Segment to project." },- ] },- { tag: "Instant", cardinality: "many", summary: "Publishes one Narrative boundary as an absolute Instant.", attributes: [- { name: "id", kind: "identifier", required: true, summary: "Scoped absolute output name." },- { name: "moment", kind: "reference", required: false, accepts: [narrativeTypes.moment], summary: "Moment cue to project." },- { name: "selection", kind: "reference", required: false, accepts: [narrativeTypes.selection], summary: "Selection boundary source." },- { name: "segment", kind: "reference", required: false, accepts: [narrativeTypes.segmentRef], summary: "Segment boundary source." },- { name: "boundary", kind: "literal", required: false, values: ["start", "end"], summary: "Boundary for Selection or Segment." },- { name: "offset", kind: "literal", required: false, summary: "Exact signed offset applied after projection." },- ] },- ],- ports: [- { name: "projection", type: narrativeTemporalTypes.narrativeProjection, summary: "The explicit Narrative-to-absolute relation." },- { name: "<name>", type: temporalTypes.instant, summary: "Requested scoped Instant." },- { name: "<name>", type: temporalTypes.window, summary: "Requested scoped Window with .start and .end Instants." },- ],+ children: [{ tag: "Map", cardinality: "many", summary: "Projects one local NarrativeAlignment through an exact domain-to-Window relation.", attributes: [+ { name: "alignment", kind: "reference", required: true, accepts: [narrativeTemporalTypes.narrativeAlignment], summary: "Local Narrative timing facts." },+ { name: "domain", kind: "reference", required: true, accepts: [temporalTypes.localDomain], summary: "The Alignment's complete local coordinate domain." },+ { name: "window", kind: "reference", required: true, accepts: [temporalTypes.window], summary: "Equal-length absolute Window receiving that domain." },+ ] }],+ ports: [{ name: "<id>", type: narrativeTemporalTypes.narrativeProjection, summary: "The completed Narrative interpretation context." }],example: `<semantic:Projection id="story-time" narrative={story} timeline={film.timeline}><semantic:Map alignment={opening.alignment} domain={opening.domain} window={program.opening}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="claim" moment={story.moment.claim}/></semantic:Projection>`,},-} as const;+}, {+ name: "narrative-instant", tag: "Instant", mode: "structured",+ outputs: [narrativeTemporalTypes.narrativeInstantSpec, temporalTypes.instant],+ vocabulary: {+ summary: "Reveals one Narrative point or boundary as a named absolute Instant.",+ attributes: [+ { name: "id", kind: "identifier", required: true, summary: "Names the absolute Instant." },+ { name: "projection", kind: "reference", required: true, accepts: [narrativeTemporalTypes.narrativeProjection], summary: "Selects the interpretation context." },+ { name: "at", kind: "expression", required: true, accepts: [narrativeTypes.moment, narrativeTypes.selection, narrativeTypes.segmentRef], summary: "Chooses the semantic point or interval." },+ { name: "boundary", kind: "literal", required: false, values: ["start", "end"], summary: "Required boundary for a Selection or Segment." },+ ],+ ports: [{ name: "<id>", type: temporalTypes.instant, summary: "The revealed absolute Instant." }],+ example: '<semantic:Instant id="claim" projection={story-time} at={story.moment.claim}/>',+ },+}, {+ name: "narrative-window", tag: "Window", mode: "structured",+ outputs: [narrativeTemporalTypes.narrativeInstantSpec, temporalTypes.windowSpec, temporalTypes.instant, temporalTypes.window],+ vocabulary: {+ summary: "Reveals one Narrative interval as a named absolute Window.",+ attributes: [+ { name: "id", kind: "identifier", required: true, summary: "Names the Window and its boundaries." },+ { name: "projection", kind: "reference", required: true, accepts: [narrativeTemporalTypes.narrativeProjection], summary: "Selects the interpretation context." },+ { name: "during", kind: "expression", required: true, accepts: [narrativeTypes.selection, narrativeTypes.segmentRef], summary: "Chooses the semantic interval." },+ ],+ ports: [+ { name: "<id>", type: temporalTypes.window, summary: "The revealed absolute Window." },+ { name: "<id>.start/end", type: temporalTypes.instant, summary: "Its absolute boundary Instants." },+ ],+ example: '<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>',+ },+}] as const;diff --git a/packages/narrative-temporal/src/types.ts b/packages/narrative-temporal/src/types.tsindex c371e415..94c4643c 100644--- a/packages/narrative-temporal/src/types.ts+++ b/packages/narrative-temporal/src/types.ts@@ -50,5 +50,4 @@ export type NarrativeInstantSpec = {readonly id: string;readonly subjectId: string;readonly boundary: "start" | "end" | "cue";- readonly offset?: import("@hypit/temporal").TemporalDuration;};diff --git a/packages/narrative-temporal/test/surface.test.ts b/packages/narrative-temporal/test/surface.test.tsindex 2377ad9f..bdb3f0c9 100644--- a/packages/narrative-temporal/test/surface.test.ts+++ b/packages/narrative-temporal/test/surface.test.ts@@ -1,55 +1,88 @@import assert from "node:assert/strict";import test from "node:test";-import { parseStructuredElement, type SurfaceResolvedReference } from "@hypit/markup";+import { parseStructuredElement, type StructuredSurfaceHandler, type SurfaceResolvedReference } from "@hypit/markup";import { narrativeTypes } from "@hypit/narrative";-import { decodeNarrativeProjectionSurface, narrativeProjectionMarkupSurface, narrativeTemporalTypes } from "@hypit/narrative-temporal";+import {+ decodeNarrativeInstantSurface,+ decodeNarrativeProjectionSurface,+ decodeNarrativeWindowSurface,+ narrativeProjectionMarkupSurfaces,+ narrativeTemporalTypes,+} from "@hypit/narrative-temporal";import { temporalTypes } from "@hypit/temporal";import { timelineTypes } from "@hypit/timeline";-test("Projection Surface balances maps and publishes only requested absolute values", async () => {- const source = `<semantic:Projection id="story-time" narrative={story} timeline={film}>+const typed = (path: string, type: SurfaceResolvedReference["type"]): SurfaceResolvedReference =>+ ({ path, type, ref: { kind: "record", id: path } });++const references = new Map<string, SurfaceResolvedReference>([+ ["story", typed("story", narrativeTypes.narrative)],+ ["film", typed("film", timelineTypes.timeline)],+ ["story-time", typed("story-time", narrativeTemporalTypes.narrativeProjection)],+ ["proof", typed("proof", narrativeTypes.selection)],+ ["reveal", typed("reveal", narrativeTypes.moment)],+ ["ending", typed("ending", narrativeTypes.segmentRef)],+ ...["one", "two", "three"].flatMap((id): Array<[string, SurfaceResolvedReference]> => [+ [`${id}.alignment`, typed(`${id}.alignment`, narrativeTemporalTypes.narrativeAlignment)],+ [`${id}.domain`, typed(`${id}.domain`, temporalTypes.localDomain)],+ [`${id}.window`, typed(`${id}.window`, temporalTypes.window)],+ ]),+]);++const decode = (handler: StructuredSurfaceHandler, source: string) => handler({+ sourceName: "projection.svml",+ element: parseStructuredElement({ name: "projection.svml", text: source }, 0).element,+ resolveReference: (path) => references.get(path),+ resolveAsset: async () => { throw new Error("unused"); },+});++test("Projection Surface owns Maps only and publishes one direct value", async () => {+ const output = await decode(decodeNarrativeProjectionSurface, `<semantic:Projection id="story-time" narrative={story} timeline={film}><semantic:Map alignment={one.alignment} domain={one.domain} window={one.window}/><semantic:Map alignment={two.alignment} domain={two.domain} window={two.window}/><semantic:Map alignment={three.alignment} domain={three.domain} window={three.window}/>- <semantic:Window id="proof" selection={proof}/>- <semantic:Instant id="reveal" moment={reveal}/>- <semantic:Instant id="ending" segment={ending} boundary="end" offset="-12f"/>- </semantic:Projection>`;- const typed = (path: string, type: SurfaceResolvedReference["type"]): SurfaceResolvedReference =>- ({ path, type, ref: { kind: "record", id: path } });- const references = new Map<string, SurfaceResolvedReference>([- ["story", typed("story", narrativeTypes.narrative)],- ["film", typed("film", timelineTypes.timeline)],- ["proof", typed("proof", narrativeTypes.selection)],- ["reveal", typed("reveal", narrativeTypes.moment)],- ["ending", typed("ending", narrativeTypes.segmentRef)],- ...["one", "two", "three"].flatMap((id): Array<[string, SurfaceResolvedReference]> => [- [`${id}.alignment`, typed(`${id}.alignment`, narrativeTemporalTypes.narrativeAlignment)],- [`${id}.domain`, typed(`${id}.domain`, temporalTypes.localDomain)],- [`${id}.window`, typed(`${id}.window`, temporalTypes.window)],- ]),- ]);- const output = await decodeNarrativeProjectionSurface({- sourceName: "projection.svml",- element: parseStructuredElement({ name: "projection.svml", text: source }, 0).element,- resolveReference: (path) => references.get(path),- resolveAsset: async () => { throw new Error("unused"); },- });- assert.deepEqual(output.exports, ["story-time.projection", "story-time.proof", "story-time.proof.start",- "story-time.proof.end", "story-time.reveal", "story-time.ending"]);+ </semantic:Projection>`);+ assert.deepEqual(output.exports, ["story-time"]);const fragment = output.fragments[0]!;assert.equal(fragment.operations.filter((operation) => operation.producer.name === "project-narrative-alignment").length, 3);assert.equal(fragment.operations.filter((operation) => operation.producer.name === "combine-narrative-projection-parts").length, 2);assert.equal(fragment.operations.at(-1)?.producer.name, "finalize-narrative-projection");- assert.equal(output.fragments.some((candidate) => candidate.operations.some((operation) => operation.producer.name === "compose-window")), true);- assert.equal(output.records.some((record) => record.type.name === "NarrativeInstantSpec"- && record.value.kind === "inline" && JSON.stringify(record.value.value).includes('"value":-12')), true);++ assert.throws(() => decode(decodeNarrativeProjectionSurface,+ '<semantic:Projection id="story-time" narrative={story} timeline={film}><semantic:Instant id="bad" projection={story-time} at={reveal}/></semantic:Projection>'),+ /Map children only/);+});++test("Narrative Instant reveals one semantic point or explicit interval boundary", async () => {+ const moment = await decode(decodeNarrativeInstantSurface,+ '<semantic:Instant id="claim" projection={story-time} at={reveal}/>');+ assert.deepEqual(moment.exports, ["claim"]);+ assert.equal(moment.fragments[0]?.operations[0]?.producer.name, "project-moment-instant");+ assert.equal(Object.hasOwn(moment.components[0]?.inputs ?? {}, "timeline"), false);++ const boundary = await decode(decodeNarrativeInstantSurface,+ '<semantic:Instant id="ending-instant" projection={story-time} at={ending} boundary="end"/>');+ assert.deepEqual(boundary.exports, ["ending-instant"]);+ assert.equal(boundary.fragments[0]?.operations[0]?.producer.name, "project-segment-instant");+ assert.throws(() => decode(decodeNarrativeInstantSurface,+ '<semantic:Instant id="bad" projection={story-time} at={ending}/>'), /boundary must be start or end/);+});++test("Narrative Window reveals one complete semantic interval", async () => {+ const output = await decode(decodeNarrativeWindowSurface,+ '<semantic:Window id="proof-window" projection={story-time} during={proof}/>');+ assert.deepEqual(output.exports, ["proof-window", "proof-window.start", "proof-window.end"]);+ assert.equal(output.fragments[0]?.operations.some((operation) => operation.producer.name === "compose-window"), true);+ assert.throws(() => decode(decodeNarrativeWindowSurface,+ '<semantic:Window id="bad" projection={story-time} during={reveal}/>'), /Selection or Segment/);});-test("Projection Surface declares every private Record Type it emits", () => {- const outputNames = new Set(narrativeProjectionMarkupSurface.outputs.map((type) => type.name));- assert.ok(outputNames.has("NarrativeProjectionHeader"));- assert.ok(outputNames.has("NarrativeInstantSpec"));- assert.ok(outputNames.has("TemporalWindowSpec"));+test("Narrative Projection Surfaces declare every private Record Type they emit", () => {+ const projection = narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-projection")!;+ const instant = narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-instant")!;+ const window = narrativeProjectionMarkupSurfaces.find((item) => item.name === "narrative-window")!;+ assert.ok(new Set(projection.outputs.map((type) => type.name)).has("NarrativeProjectionHeader"));+ assert.ok(new Set(instant.outputs.map((type) => type.name)).has("NarrativeInstantSpec"));+ assert.ok(new Set(window.outputs.map((type) => type.name)).has("TemporalWindowSpec"));});diff --git a/packages/ranking/README.md b/packages/ranking/README.mdindex ce08609c..2d8f6627 100644--- a/packages/ranking/README.md+++ b/packages/ranking/README.md@@ -24,8 +24,8 @@ This excerpt assumes the Script, Timeline, Canvas, Frame and Style have been dec<import as="ranking" from="@hypit/ranking@1"/><ranking:Column id="priorities" timeline={speech.timeline} within={vertical.bounds}- frame={layout.ranking} during={story-time.ranking} style={ranking-style}>- <ranking:ColumnItem rank="1" label="Winner" during={story-time.winner}/>+ frame={layout.ranking} during={ranking} style={ranking-style}>+ <ranking:ColumnItem rank="1" label="Winner" during={winner}/><ranking:ColumnItem rank="2" preset="true" label="Already placed"/></ranking:Column>```@@ -50,7 +50,7 @@ installed tarball contains a second editable source tree:| File | What to learn from it || --- | --- |-| [surface.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/surface.ts) | `rankingSurface` resolves author inputs, projects the outer and item times through `createTemporalWindowConstruction` / `createTemporalInstantConstruction`, and retains the returned drafts and references. |+| [surface.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/surface.ts) | `rankingSurface` resolves the board's already declared Window and item Window or Instant references, together with its content, layout and Style inputs. || [fragment.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/fragment.ts) | `createRankingFragment` receives Timeline and wires typed content, time, layout and Style inputs into finite operations. || [schedule.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/schedule.ts) | Compute reveal, activation and settled spans from the projected times. || [component.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/component.ts) and [render.ts](https://github.com/hypit-ai/hypit/blob/main/packages/ranking/src/render.ts) | Build the ranking program and produce picture and optional sound from that schedule. |diff --git a/packages/ranking/src/manifest.ts b/packages/ranking/src/manifest.tsindex 54dfee7f..7e443620 100644--- a/packages/ranking/src/manifest.ts+++ b/packages/ranking/src/manifest.ts@@ -546,7 +546,7 @@ const allRankingMarkupSurfaces = [during={speech.window}style={tier-style}><ranking:TierItem id="row-regen" tier="s" preset="true" icon={icon-regen}/>- <ranking:TierItem id="row-remini" tier="a" entry="drop" icon={icon-remini} during={story-time.remini}/>+ <ranking:TierItem id="row-remini" tier="a" entry="drop" icon={icon-remini} during={remini}/></ranking:TierBoard>`,notes: ["The board requires at least one TierItem, accepts no other child and no text of its own, and Item ids must be unique within it.",@@ -613,10 +613,10 @@ const allRankingMarkupSurfaces = [],example: `<ranking:ColumnStyle id="board-style" recipe={recipes.ranking.board} font={ui-font}/><ranking:Column id="board" timeline={speech.timeline} within={vertical.bounds} frame={board-frame}- during={story-time.ranking}+ during={ranking}style={board-style}>- <ranking:ColumnItem id="row-regen" rank="1" label="ReGen" icon={icon-regen} during={story-time.regen}/>- <ranking:ColumnItem id="row-chatgpt" rank="2" label="ChatGPT" icon={icon-chatgpt} during={story-time.chatgpt}/>+ <ranking:ColumnItem id="row-regen" rank="1" label="ReGen" icon={icon-regen} during={regen}/>+ <ranking:ColumnItem id="row-chatgpt" rank="2" label="ChatGPT" icon={icon-chatgpt} during={chatgpt}/><ranking:ColumnItem id="row-remini" rank="5" preset="true" label="Remini" icon={icon-remini}/></ranking:Column>`,notes: [@@ -642,7 +642,7 @@ const allRankingMarkupSurfaces = [{ name: "during", kind: "expression", required: true, values: ["program"], accepts: [temporalTypes.window],summary: "Chooses the board's whole-program, Selection or Segment lifetime." },{ name: "terminal", kind: "expression", required: true, accepts: [temporalTypes.instant],- summary: "Chooses the terminal Moment or authored time, such as 8s." },+ summary: "Chooses the named absolute Instant at which the completed board settles." },{ name: "style", kind: "reference", required: true, accepts: [rankingTypes.topThreeStyle],summary: "Chooses the TopThreeStyle this board is drawn in, and only that variant's." },{ name: "appear-sound", kind: "reference", required: false, accepts: [mediaTypes.synchronized],@@ -677,11 +677,11 @@ const allRankingMarkupSurfaces = [],example: `<ranking:TopThreeStyle id="podium-style" recipe={recipes.ranking.podium} font={ui-font}/><ranking:TopThree id="podium" timeline={speech.timeline} frame={board-frame}- during={story-time.board} terminal={story-time.done}+ during={board} terminal={done}style={podium-style}>- <ranking:TopThreeItem id="slot-gold" label="ReGen" icon={icon-regen} at={story-time.regen}/>- <ranking:TopThreeItem id="slot-silver" label="ChatGPT" at={story-time.chatgpt}/>- <ranking:TopThreeItem id="slot-bronze" label="Remini" at={story-time.remini}/>+ <ranking:TopThreeItem id="slot-gold" label="ReGen" icon={icon-regen} at={regen}/>+ <ranking:TopThreeItem id="slot-silver" label="ChatGPT" at={chatgpt}/>+ <ranking:TopThreeItem id="slot-bronze" label="Remini" at={remini}/></ranking:TopThree>`,notes: ["The board requires at least one TopThreeItem, accepts no other child and no text of its own, and Item ids must be unique within it.",diff --git a/packages/studio/src/temporal-graph.ts b/packages/studio/src/temporal-graph.tsindex 5c569610..90420fac 100644--- a/packages/studio/src/temporal-graph.ts+++ b/packages/studio/src/temporal-graph.ts@@ -128,7 +128,7 @@ function instant(const reference = typeof spec?.reference === "string"? spec.reference: `${kind}.${boundary === "cue" ? "cue" : boundary}`;- const point = { ref: reference, ...(spec?.offset === undefined ? {} : { offset: spec.offset }) };+ const point = { ref: reference };if (sourceRecord !== undefined && typeof sourceValue?.id === "string") {const identified = identify?.(sourceRecord.type, sourceValue);const source = { timelineId: held.timelineId, type: sourceRecord.type,diff --git a/packages/studio/test/temporal-graph.test.ts b/packages/studio/test/temporal-graph.test.tsindex 29968b5e..512bbbb7 100644--- a/packages/studio/test/temporal-graph.test.ts+++ b/packages/studio/test/temporal-graph.test.ts@@ -36,7 +36,7 @@ test("Studio reads Instant lineage and author authority from executed graph edge}),];const steps = [- step("project", "@hypit/narrative-temporal", "project-moment-instant", { timeline: "timeline", projection: "projection", moment: "moment", spec: "point-spec" }, { instant: "point" }),+ step("project", "@hypit/narrative-temporal", "project-moment-instant", { projection: "projection", moment: "moment", spec: "point-spec" }, { instant: "point" }),step("append", "@hypit/depth-stack", "append-depth-stack-card", { set: "empty", spec: "card-spec", activation: "point" }, { set: "cards" }),step("render", "@hypit/depth-stack", "render-depth-stack", { program: "cards" }, { track: "track" }),];diff --git a/packages/temporal/README.md b/packages/temporal/README.mdindex ddcd80cd..29ac37fb 100644--- a/packages/temporal/README.md+++ b/packages/temporal/README.md@@ -22,10 +22,11 @@ id to match the value.Timeline understand media, speech, or the operation that discovered the length. A domain projectormay map one complete finite source-local domain onto an equal-length Window at native speed throughthe pure exact-projection helper. This total one-to-one operation keeps every local boundary-projectable and produces no durable Placement value.+projectable and publishes only resolved absolute values.Author syntax does not live in the main contract entry. The same owner exposes-`@hypit/hypit/temporal/markup` to construct absolute literals and compose Windows from Markup.+`@hypit/hypit/temporal/markup`: declaration packages use its construction helpers, while component+surfaces use its reference-only Instant and Window resolvers.Domain packages such as `@hypit/narrative-temporal` project their own values into thesecommon types. Visual, audio, caption, typography and project components receive only the completedInstant or Window plus the Timeline they already consume.diff --git a/packages/temporal/src/markup/index.ts b/packages/temporal/src/markup/index.tsindex fae0b90c..279ac7fa 100644--- a/packages/temporal/src/markup/index.ts+++ b/packages/temporal/src/markup/index.ts@@ -70,6 +70,13 @@ function negate(value: TemporalDuration): TemporalDuration {return value.unit === "seconds" ? { ...value, numerator: -value.numerator } : { ...value, value: -value.value };}+function signedDuration(raw: MarkupAttributeValue, label: string): { readonly direction: 1 | -1; readonly duration: TemporalDuration } {+ if (typeof raw !== "string") throw new Error(`${label} must be an exact signed duration.`);+ const match = /^([+-])(.+)$/u.exec(raw.trim());+ if (match === null) throw new Error(`${label} must be an exact signed duration such as +12f or -250ms.`);+ return { direction: match[1] === "+" ? 1 : -1, duration: parseTemporalDuration(match[2]!, label) };+}+export function parseTemporalInstant(value: string, label: string): TemporalInstantExpression {const trimmed = value.trim();const aliases = [["start", "timeline.start"], ["end", "timeline.end"],@@ -239,7 +246,38 @@ export function createTemporalInstantConstruction(value: {if (raw === undefined) throw new Error(`${value.element.name}.${attribute} is required.`);if (typeof raw !== "string") {const found = resolvedReference(raw, `${value.element.name}.${attribute}`, temporalTypes.instant, value.resolveReference);- return { records: [], components: [], fragments: [], ref: found.ref };+ const rawOffset = value.element.attributes.offset;+ if (rawOffset === undefined) return { records: [], components: [], fragments: [], ref: found.ref };+ const offset = signedDuration(rawOffset, `${value.element.name}.offset`);+ const durationId = `${value.id}.__temporal.duration`, shiftId = `${value.id}.__temporal.shift`;+ const fragment = sealGraphFragment({ inputs: [+ { name: "timeline", type: timelineTypes.timeline }, { name: "instant", type: temporalTypes.instant },+ { name: "duration", type: temporalTypes.duration }, { name: "spec", type: temporalTypes.shiftSpec },+ ], operations: [{ id: "extent", producer: temporalProducers.extentFromDuration,+ inputs: { timeline: fragmentInput("timeline"), duration: fragmentInput("duration") },+ result: { kind: "output", name: "extent" } },+ { id: "shift", producer: temporalProducers.shiftInstant,+ inputs: { timeline: fragmentInput("timeline"), instant: fragmentInput("instant"),+ extent: operation("extent"), spec: fragmentInput("spec") }, result: { kind: "output", name: "instant" } }],+ exports: [{ name: "instant", type: temporalTypes.instant, root: operation("shift") }] });+ const componentId = `${value.id}.__temporal`;+ return {+ records: [+ { id: durationId, type: temporalTypes.duration, value: { kind: "inline", value: offset.duration }, range: value.element.range },+ { id: shiftId, type: temporalTypes.shiftSpec, value: { kind: "inline", value: {+ id: value.id, subjectId: value.subjectId ?? value.id, direction: offset.direction,+ author: { binding: "offset", relation: "direct" },+ } }, range: value.element.range },+ ],+ components: [{ id: componentId, fragment: fragment.id, inputs: {+ timeline: value.timeline.ref, instant: found.ref,+ duration: { kind: "record", id: durationId }, spec: { kind: "record", id: shiftId },+ }, outputs: { instant: `${value.id}.__temporal.instant.value` }, range: value.element.range }],+ fragments: [fragment], ref: { kind: "component-output", component: componentId, output: "instant" },+ };+ }+ if (value.element.attributes.offset !== undefined) {+ throw new Error(`${value.element.name}.offset is only valid when at references an existing Instant.`);}const specId = `${value.id}.__temporal.instant`;const fragment = sealGraphFragment({ inputs: [diff --git a/packages/text-fine/README.md b/packages/text-fine/README.mdindex 78d49b34..3875a2e8 100644--- a/packages/text-fine/README.md+++ b/packages/text-fine/README.md@@ -24,17 +24,17 @@ its evidence into an ordinary Window and pass that Window through `during`.<typo:Point id="chapter" timeline={film.timeline} point={layout.chapter}style={label-style} z="40" anchor-inline="start"- from="2s" for="90f">CHAPTER ONE</typo:Point>+ during={chapter-window}>CHAPTER ONE</typo:Point><typo:Path id="orbit" timeline={film.timeline} path={layout.orbit}style={orbit-style} z="40" motion={orbit-motion}- from="timeline.start + 1s" until="timeline.end">+ during={orbit-window}>FOLLOW THE CURVE</typo:Path>```-`during` accepts `timeline` or a resolved absolute Window. Otherwise exactly two of `from`, `until`-and `for` author absolute timing directly. These surfaces deliberately have no `semantic`, `selection`,+`during` accepts a resolved absolute Window, including the complete `film.window`. Declare direct+clock ranges through Timeline authoring before passing them here. These surfaces have no `semantic`, `selection`,`segment` or `moment` attribute: semantic time is one possible producer of a Window, not a specialcapability every visual component must carry.diff --git a/packages/timeline-author/README.md b/packages/timeline-author/README.mdindex 304f4a99..de11bbbe 100644--- a/packages/timeline-author/README.md+++ b/packages/timeline-author/README.md@@ -101,8 +101,8 @@ that is a genuine dependency cycle rather than a scheduling problem.## Local domains contribute, then disappearA prepared source may supply the `TemporalExtent` that determines a Window. That is its complete-relationship with Timeline construction. The Timeline does not retain the source, its local domain,-or a public Placement object.+relationship with Timeline construction. The completed Timeline retains only its absolute domain and+the named absolute values declared by its author graph.When a domain package must project local evidence, it consumes the complete local domain and theequal-length Window directly. The relation is exact native-speed translation: local frame zero maps@@ -118,13 +118,15 @@ domain projection:```svml<time:Window id="reveal-band" timeline={film.timeline}- from={story-time.reveal} until={story-time.answer-end}/>+ from={reveal} until={answer-end}/>+<time:Instant id="after-reveal" timeline={film.timeline} at={reveal} offset="+5f"/><time:Instant id="credits" timeline={film.timeline} at="timeline.end-2s"/><visual:Clip during={reveal-band} .../>```The standalone Window publishes `reveal-band`, `reveal-band.start` and `reveal-band.end`. A standalone-Instant authors an absolute expression; an already resolved Instant needs no renaming and should be-referenced directly. Absolute value Types are the common waist; Timeline and Narrative projection are-only two possible producers of them.+Instant either authors an absolute expression or gives an existing Instant one explicit signed+offset. An existing Instant that needs no offset should be referenced directly rather than aliased.+Absolute value Types are the common waist; Timeline and Narrative projection are only two possible+producers of them.diff --git a/packages/timeline-author/src/manifest.ts b/packages/timeline-author/src/manifest.tsindex 87c7aed7..b2ca1cc6 100644--- a/packages/timeline-author/src/manifest.ts+++ b/packages/timeline-author/src/manifest.ts@@ -120,18 +120,20 @@ export const timelineAuthorMarkupSurfaces = [{{ name: "<id>", type: temporalTypes.window, summary: "The resolved Window." },{ name: "<id>.start/end", type: temporalTypes.instant, summary: "Its resolved boundary Instants." },],- example: '<time:Window id="reveal-band" timeline={film.timeline} from={story-time.reveal} until={story-time.answer-end}/>',+ example: '<time:Window id="reveal-band" timeline={film.timeline} from={reveal} until={answer-end}/>',},}, {- name: "instant", tag: "Instant", mode: "structured", outputs: [temporalTypes.instantSpec, temporalTypes.instant],+ name: "instant", tag: "Instant", mode: "structured", outputs: [temporalTypes.duration, temporalTypes.extent,+ temporalTypes.shiftSpec, temporalTypes.instantSpec, temporalTypes.instant],vocabulary: {summary: "Publishes one reusable authored absolute Instant.",attributes: [{ name: "id", kind: "identifier", required: true, summary: "Names the Instant." },{ name: "timeline", kind: "reference", required: true, accepts: [timelineTypes.timeline], summary: "Selects the absolute coordinate system." },- { name: "at", kind: "literal", required: true, summary: "Absolute time or Timeline-boundary expression." },+ { name: "at", kind: "expression", required: true, accepts: [temporalTypes.instant], summary: "Absolute expression or existing Instant to shift." },+ { name: "offset", kind: "literal", required: false, summary: "Exact signed offset, valid when at references an existing Instant." },],ports: [{ name: "<id>", type: temporalTypes.instant, summary: "The resolved Instant." }],- example: '<time:Instant id="credits" timeline={film.timeline} at="timeline.end-2s"/>',+ example: '<time:Instant id="after-claim" timeline={film.timeline} at={claim} offset="+5f"/>',},}] as const;diff --git a/packages/timeline-author/src/surface.ts b/packages/timeline-author/src/surface.tsindex 3eaf17f5..3c3b2bc1 100644--- a/packages/timeline-author/src/surface.ts+++ b/packages/timeline-author/src/surface.ts@@ -144,15 +144,14 @@ export const decodeAbsoluteWindowSurface: StructuredSurfaceHandler = ({ element,/** Publish one reusable authored absolute Instant. Existing Instants can be referenced directly. */export const decodeAbsoluteInstantSurface: StructuredSurfaceHandler = ({ element, resolveReference }) => {- assertAttributes(element, ["id", "timeline", "at"], ["id", "timeline", "at"]);+ assertAttributes(element, ["id", "timeline", "at", "offset"], ["id", "timeline", "at"]);assertEmptyElement(element);- if (typeof element.attributes.at !== "string") {- throw new Error(`${element.name}.at must be an authored absolute expression; reference an existing Instant directly.`);- }const id = textAttribute(element, "id");const context = resolveTemporalContext({ element, resolveReference });const construction = createTemporalInstantConstruction({ id, element, ...context, resolveReference });- if (construction.components.length !== 1) throw new Error(`${element.name} did not construct an Instant.`);+ if (construction.components.length !== 1) {+ throw new Error(`${element.name}.at aliases an existing Instant; reference it directly or add an exact offset.`);+ }const component = construction.components[0]!;return {records: construction.records,diff --git a/packages/timeline-author/test/surface.test.ts b/packages/timeline-author/test/surface.test.tsindex ee9ac112..c7b1d757 100644--- a/packages/timeline-author/test/surface.test.ts+++ b/packages/timeline-author/test/surface.test.ts@@ -68,7 +68,7 @@ test("standalone Window publishes one reusable value and its boundaries", asyncassert.equal(output.fragments[0]?.exports.filter((port) => port.type.name === "TemporalInstant").length, 2);});-test("standalone Instant publishes an authored absolute point and does not alias another domain value", async () => {+test("standalone Instant publishes direct points and explicit shifts without creating aliases", async () => {const literal = parseStructuredElement({ name: "timeline.svml", text:'<time:Instant id="credits" timeline={film.timeline} at="timeline.end-2s"/>' }, 0).element;const output = await decodeAbsoluteInstantSurface({@@ -85,5 +85,15 @@ test("standalone Instant publishes an authored absolute point and does not aliassourceName: "timeline.svml", element: alias,resolveReference: (path) => absoluteReferences.get(path),resolveAsset: async () => { throw new Error("unused"); },- }), /reference an existing Instant directly/);+ }), /reference it directly or add an exact offset/);++ const shifted = parseStructuredElement({ name: "timeline.svml", text:+ '<time:Instant id="after-reveal" timeline={film.timeline} at={reveal} offset="+5f"/>' }, 0).element;+ const shiftedOutput = await decodeAbsoluteInstantSurface({+ sourceName: "timeline.svml", element: shifted,+ resolveReference: (path) => absoluteReferences.get(path),+ resolveAsset: async () => { throw new Error("unused"); },+ });+ assert.deepEqual(shiftedOutput.exports, ["after-reveal"]);+ assert.equal(shiftedOutput.fragments[0]?.operations.at(-1)?.producer.name, "shift-instant");});diff --git a/packages/visual-track/README.md b/packages/visual-track/README.mdindex 8c000f32..28ccce75 100644--- a/packages/visual-track/README.md+++ b/packages/visual-track/README.md@@ -22,7 +22,7 @@ semantic roles, select audio, or own multi-Clip transitions.<visual:Clip id="speaker" media={speaker-media.media}during={program.speaker} frame={full-frame} z="10" fit="cover"/><visual:Clip id="diagram" image={diagram} extent={diagram-extent}- during={story-time.explanation} frame={inset-frame} z="20" fit="contain"+ during={explanation} frame={inset-frame} z="20" fit="contain"treatment={recipes.visual.diagram} motion={gentle-push}/></visual:Track>```@@ -74,7 +74,7 @@ the identical projection:```svml<space:Map id="turned" xx="0" xy="-0.5" yx="0.5" yy="0" tx="920" ty="180"/><visual:Clip image={diagram} extent={diagram-extent} mapping={turned}- during={story-time.explanation} frame={inset-frame} z="20"/>+ during={explanation} frame={inset-frame} z="20"/>```The explicit map is already in program-picture coordinates. `frame` still independently owns thediff --git a/packages/visual-track/src/manifest.ts b/packages/visual-track/src/manifest.tsindex cb1158b3..39e31474 100644--- a/packages/visual-track/src/manifest.ts+++ b/packages/visual-track/src/manifest.ts@@ -319,13 +319,12 @@ export const visualTrackMarkupSurfaces = [{<visual:Track id="cutaways" timeline={speech.timeline}><visual:Clip media={prepared.media} during={program.window} frame={full} z="10" fit="cover"/>- <visual:Clip id="bags" media={cutaway-bags.media} during={story-time.bags}+ <visual:Clip id="bags" media={cutaway-bags.media} during={bags}frame={full} z="20" fit="cover" treatment={recipes.visual.cutaway} motion={gentle-push}/></visual:Track>`,notes: ["A Track requires at least one Clip and accepts no text content.",- "A Clip uses an existing Window with `during`, or supplies exactly two of `from`, `until` and `for`.",- "An absolute point is a resolved Instant, `start`, `end`, or a bare duration read from Timeline start.",+ "A Clip references one already resolved Window through `during`.","A Clip names exactly one of `image`, `media` or `surface`; `extent` is required with `image` and refused otherwise.","`z`, fitting and source time belong to the occurrence and cannot hide inside a treatment Recipe.","An explicit `mapping` is mutually exclusive with every fit attribute. It is already in program-picture coordinates; the Frame still owns clipping and treatment.",diff --git a/packages/volcengine-matting/README.md b/packages/volcengine-matting/README.mdindex 35ae46a3..5ab769ef 100644--- a/packages/volcengine-matting/README.md+++ b/packages/volcengine-matting/README.md@@ -53,7 +53,7 @@ For example, this alternative uses the existing program's Timeline and an author<mediaop:Normalize id="overlay-media" source={cutout.video} clock={clock}video="primary-moving" audio="none" span-authority="video"/><visual:Track id="overlay" timeline={speech.timeline}>- <visual:Clip media={overlay-media.media} during={story-time.example}+ <visual:Clip media={overlay-media.media} during={example}frame={overlay-frame} z="30" fit="contain" treatment={look.visual.overlay}/></visual:Track>```diff --git a/packages/whisperx/README.md b/packages/whisperx/README.mdindex a0742027..6ad51cf5 100644--- a/packages/whisperx/README.md+++ b/packages/whisperx/README.md@@ -45,7 +45,7 @@ publishes one `NarrativeAlignment`:The result is `opening.alignment`. It contains semantic timing on the media-local domain, not media,not a Timeline and not presentation policy. `@hypit/narrative-temporal` Projection explicitly combinesone or more `NarrativeAlignment + LocalTemporalDomain + equal-length Window` relations for a chosen-Timeline and publishes absolute values without a durable Placement product.+Timeline and publishes ordinary absolute values.When the Segment has no Tokens, omit `language`. Its start and end map directly to the local domain'sfirst and final frame, no evidence audio or WhisperX capability is requested, and the samediff --git a/packages/yt-dlp/README.md b/packages/yt-dlp/README.mdindex eed77670..a7fa7f33 100644--- a/packages/yt-dlp/README.md+++ b/packages/yt-dlp/README.md@@ -34,7 +34,7 @@ then moves the completed file to the target, copying on a cross-volume `EXDEV` efiles are removed when the operation ends. Download errors retain the tool's diagnostic output.The package supplies download behavior, locked material, command arguments and reporting. It uses-`media-local` only to inspect the finished ordinary file; local media no longer owns network acquisition.+`media-local` to inspect the finished ordinary file and owns network acquisition itself.Production use is described in the Hypit Skill's **Downloading a videofrom a link** page. [`runtime/README.md`](runtime/README.md) covers direct invocation when a sourceneeds additional yt-dlp options.diff --git a/skills/hypit/SKILL.md b/skills/hypit/SKILL.mdindex d8111e89..eb8c62ba 100644--- a/skills/hypit/SKILL.md+++ b/skills/hypit/SKILL.md@@ -84,7 +84,7 @@ media as any other material. Place its picture through a Visual Clip or projectthrough an Audio Clip, each with an explicit absolute Window and sampling choice. Choose what leads the picturefrom the current idea. A direct cut or continuous movement can each express that change. Spatialgrouping and timing are independent choices, so a whole scene can respond to a Moment and separate-components can share that Moment. [Voice and performance](references/playbooks/craft/voice-and-performance.md)+components can share the absolute Instant revealed from it. [Voice and performance](references/playbooks/craft/voice-and-performance.md)explains the role; [Visual Clips](references/production/visual-clips.md) explains its use.## Direct the material@@ -308,7 +308,7 @@ practical, revisit that choice and carry the improvement into the work and its n| choosing or finding fonts, using local font files, multilingual text, Emoji or Typography | `references/production/fonts-and-text.md` || which installed Surface to use, or whether to write a project component | `references/production/vocabulary.md` || sharing a component, Prompt Kit, Model, or Provider across projects | `references/production/component-sharing.md` |-| constructing Timeline end, Instants, Windows, Extents, Placements, gaps, overlap or a pure MG work | `references/production/timeline.md` |+| constructing Timeline end, Instants, Windows, Extents, gaps, overlap or a pure MG work | `references/production/timeline.md` || choosing content ownership and composing visual/audio contributions | `references/production/tracks.md` || placing footage or independent pictures through Visual Clips, or deciding when coordinated behavior needs a component | `references/production/visual-clips.md` || writing a project Track with new layout, semantic events or persistent state | `references/production/track-authoring.md` |diff --git a/skills/hypit/references/creation/script-and-time.md b/skills/hypit/references/creation/script-and-time.mdindex 4df21d48..01c62ef4 100644--- a/skills/hypit/references/creation/script-and-time.md+++ b/skills/hypit/references/creation/script-and-time.md@@ -164,17 +164,19 @@ Reference seconds document what you observed; the target Script expresses what tA chat animation, diagram or kinetic-text piece can instead be drawn entirely by components. Itsmessages and changes still carry meaning; the author chooses when the audience receives them and-how long they need to read. Keep content and event timing together in the owning component's Source.-An event can have an identity such as `question` or `reveal` and an authored `at="2.6s"` without-inventing spoken words or a media-backed Segment. Film time is declared through a Timeline with an explicit end;-[composition and rendering](../production/rendering.md#compose-an-authored-animation) shows the form.+how long they need to read. Keep content and the named time values that drive it together in Source.+An event can have an identity such as `question` or `reveal`, produced by a Timeline child or a+standalone `time:Instant`, without inventing spoken words or a media-backed Segment. Film time is+declared through a Timeline with an explicit end; [composition and+rendering](../production/rendering.md#compose-an-authored-animation) shows the form.Choose timing per relationship, not once for the whole video. A spoken Moment can introduce a chatscene whose messages then unfold at authored intervals. Conversely, an authored animation can revealone item on a spoken Moment. Ask the Narrative projection to publish that Moment as an absolute-Instant, optionally with an explicit offset, then pass the result to the component. The event's-trigger and its entrance duration are different choices: `at={story-time.answer}` locates the-answer; ten frames can give its arrival a particular character.+Instant. If the design needs a lead or lag, derive a separate named `time:Instant` with an explicit+offset, then pass the chosen result to the component. The event's trigger and its entrance duration+are different choices: `at={answer}` locates the answer; ten frames can give its arrival a particular+character.## Estimate before choosing durations@@ -232,14 +234,15 @@ Speech-rate estimation has no role there; the resulting media still determines i## Bind meaning to Script identitiesFor a picture, Caption treatment, MG state, sound, or effect that belongs to spoken meaning, author a-Selection or Moment and use the consuming component's Surface to project it through the Timeline.-Use explicit seconds for genuinely clock-based or speechless design.+Selection or Moment, reveal it through an explicit Narrative Projection declaration, and pass the+resulting named Window or Instant to the consumer. Use a direct named time declaration for genuinely+clock-based or speechless design.Choose an anchor by the event it names, including which side owns a pause. For adjacent B-roll,one Selection can end where the next begins; for a held reaction, a range can include the silencebefore the next word. [Marker affinities](../production/script-syntax.md#bind-meaning-to-script-identities)express these choices through word and structural boundaries. [Timing](../production/timing.md)-explains projecting those identities into a component's Instant or Window, adding deliberate offsets,+explains projecting those identities into named Instants or Windows, adding deliberate offsets,and what a later Studio edit changes.Reference archives keep original seconds and explain which original words or content events an itemdiff --git a/skills/hypit/references/production/audio-clips.md b/skills/hypit/references/production/audio-clips.mdindex e5cb2297..b089ef7e 100644--- a/skills/hypit/references/production/audio-clips.md+++ b/skills/hypit/references/production/audio-clips.md@@ -12,7 +12,7 @@ Audio Track = additive set of Audio Clips```svml<time:Window id="reveal-hit-window" timeline={program.timeline}- from={story-time.reveal} for="600ms"/>+ from={reveal} for="600ms"/><audio:Track id="mix" timeline={program.timeline}><audio:Clip id="voice" source={speaker-media.media} during={program.speaker}/>diff --git a/skills/hypit/references/production/authoring.md b/skills/hypit/references/production/authoring.mdindex c7b8b275..67162c9d 100644--- a/skills/hypit/references/production/authoring.md+++ b/skills/hypit/references/production/authoring.md@@ -172,7 +172,7 @@ submitting the same paid media requests again. The following examples locate the| Caption appearance, MG, an Effect or composition changes | Existing normalized media, local domains and alignment evidence that still apply | The changed visual systems and render || Moment/Selection placement changes, with unchanged spoken tokens and alignment identities | The accepted media, local domains and alignment evidence | Current Script references, their projections and presentation || Cue grouping, word attributes or display-only Dual wording changes without changing speech tokens | The accepted media, local domains and alignment evidence | The current CaptionDocument and its presentation |-| Temporal placement or complete Timeline extent changes | The normalized media, local domains and alignment evidence | Timeline assembly, all affected projections, placed media and presentation |+| Temporal placement or complete Timeline extent changes | The normalized media, local domains and alignment evidence | Timeline assembly, all affected projections, media occurrences and presentation || Only some B-roll images must change | The existing performance, voice and all other still-useful media | The deliberately replaced images and their downstream composition || The presenter changes while the spoken argument still fits | Unaffected B-roll, icons, music and other media that still serve the target | The new presenter images, affected performances, their normalization and semantic timing, and downstream composition || A new product changes the demonstration or claims | Views and media whose content still fits the new Treatment | The affected product views, performance, Script-dependent timing and visual treatment |diff --git a/skills/hypit/references/production/caption-authoring.md b/skills/hypit/references/production/caption-authoring.mdindex 33e83d0d..5cbadfc4 100644--- a/skills/hypit/references/production/caption-authoring.md+++ b/skills/hypit/references/production/caption-authoring.md@@ -70,13 +70,13 @@ Script document types. A family Track accepts `document`, resolved `timing`, `ti<keyword:Track id="captions" document={story.caption} timing={story-captions} timeline={program.timeline}><keyword:Use style={base-style}/><keyword:Use role="GUEST" style={guest-style}/>- <keyword:Use during={story-time.punchline} style={punchline-style}/>+ <keyword:Use during={punchline} style={punchline-style}/></keyword:Track>```-These names assume the project family and its Styles have been declared. Reuse the common absolute-time helpers for `during`, or exactly two of `from`, `until` and `for`. A Use has the same-meaning regardless of the family. `role` filters whose content it presents within that window.+These names assume the project family and its Styles have been declared. `during` references a named+absolute Window declared upstream. A Use has the same meaning regardless of the family. `role`+filters whose content it presents within that window.For a keyword layout, Script can mark `useful{emphasis}`. The family reads that attribute from theCaptionDocument and gives it a visual role within the complete Cue. The word role and the timediff --git a/skills/hypit/references/production/caption-presentation.md b/skills/hypit/references/production/caption-presentation.mdindex ffea94b0..96e08867 100644--- a/skills/hypit/references/production/caption-presentation.md+++ b/skills/hypit/references/production/caption-presentation.md@@ -12,7 +12,7 @@ authored absolute time. Each Use selects a complete Style inside an already reso```svml<caption:Hidden id="hidden"/><narrative-caption:Timing id="story-captions" document={story.caption}- binding={story.caption-binding} projection={story-time.projection}/>+ binding={story.caption-binding} projection={story-time}/><time:Window id="impact-window" timeline={program.timeline} from="12s" for="2s"/><caption-fine:Caption id="captions" document={story.caption} timing={story-captions} timeline={program.timeline} within={canvas.bounds}><caption-fine:Use style={base-style}/>diff --git a/skills/hypit/references/production/component-design.md b/skills/hypit/references/production/component-design.mdindex b8b7f580..79e4ac1d 100644--- a/skills/hypit/references/production/component-design.md+++ b/skills/hypit/references/production/component-design.md@@ -124,8 +124,9 @@ trace concrete revisions back to their design decisions and source owners.## Let meaning drive the behaviorPrefer Script Selections, Moments and Segments for events that respond to the argument or performance.-The Surface projects them through the accepted Timeline; the component consumes the resulting-Windows or Instants. A different delivery can then move the event while preserving its purpose.+An upstream Narrative Projection reveals them as named absolute Windows or Instants; the component+consumes those values without knowing their semantic source. A different delivery can then move the+event while preserving its purpose.Explicit time remains useful for an authored lead, a short entrance or another clock-based decision.In a pure MG piece, name the events that carry its meaning and direct their reading rhythm. A usefulcomponent accepts resolved Instants or Windows so the same reveal can follow a Script Moment or an@@ -140,8 +141,9 @@ different phrases. Give those actions their own semantic inputs. Placing them atat 20%, 50% and 80% of the outer Window preserves neither their identities nor their relationshipto unevenly changed speech.-The Surface can accept an outer Selection and separate Moments for those events, projecting each-through Timeline. The implementation derives movement between the resulting events and keeps its+The component can accept an outer Window and separate Instants for those events. Source obtains them+from the appropriate projector or direct time declarations. The implementation derives movement+between the resulting events and keeps itspointer path, button geometry, click rebound and decoration local. A movement that simply unfoldsinside one authored event interval may use normalized progress there; it needs no marker for everyanimation key. Meaningful event location and the designed duration/shape of motion are different choices.diff --git a/skills/hypit/references/production/component-visuals.md b/skills/hypit/references/production/component-visuals.mdindex 97a14046..d69e5237 100644--- a/skills/hypit/references/production/component-visuals.md+++ b/skills/hypit/references/production/component-visuals.md@@ -140,8 +140,8 @@ based on the returned source span; neither the event's local offset nor the viewreplaces it. [Component design](component-design.md#let-meaning-drive-the-behavior) distinguishes theseinputs from internal motion details.-A reusable scene might expose `during={story-time.explanation}` for its lifetime and-`reveal={story-time.demonstrate}` for its layout change. An upstream Narrative projector publishes+A reusable scene might expose `during={explanation}` for its lifetime and+`reveal={demonstrate}` for its layout change. An upstream Narrative projector publishesthese independently; the Producer receives a Window and an Instant. The installed Distribution's`examples/semantic-composition/packages/responsive-explainer` shows this complete package: videomoves from full screen to a side viewport while a diagram enters, with Caption available as a peer.diff --git a/skills/hypit/references/production/index.md b/skills/hypit/references/production/index.mdindex 907392cd..0b1641b8 100644--- a/skills/hypit/references/production/index.md+++ b/skills/hypit/references/production/index.md@@ -27,7 +27,7 @@ For a standalone asset edit, follow the actual material operation and deliver it| Current question | Owner || --- | --- || Files, generated/reused outputs, stream selection, normalization, local domains, semantic alignment or processed variants | [Media preparation](media.md) |-| Timeline end, Instants, Windows, Extents, Placements, gaps and overlap | [Timeline](timeline.md) |+| Timeline end, Instants, Windows, Extents, gaps and overlap | [Timeline](timeline.md) || Semantic events, clock positions, offsets, durations and timing edits | [Timing](timing.md) || Canvas, destination Frames, source extents, fit, crop and coordinates | [Spatial layout](spatial.md) || Download source footage | [Video downloads](video-downloads.md) |diff --git a/skills/hypit/references/production/script-syntax.md b/skills/hypit/references/production/script-syntax.mdindex ca2d00ce..fdab6d9b 100644--- a/skills/hypit/references/production/script-syntax.md+++ b/skills/hypit/references/production/script-syntax.md@@ -5,10 +5,10 @@ spaces, Caption grouping and semantic markers. [Script and semantic time](../creowns the creative decisions; [Source syntax](source-syntax.md) owns imports and graph references;[Timing](timing.md) explains how components use the resulting identities.-These are the current 0.2 author forms. Package releases and logical Module ABIs are different:-`@hypit/script@1` remains the import. A syntax error calls for an explicit correction to the source;-do not reinterpret old bare markers or remove authored spaces to make an inherited example work.-The installed Script package owns the parser and exact diagnostics.+These are the author forms owned by the installed Script package. Package releases and logical Module+ABIs are different: `@hypit/script@1` is the logical import. Correct a syntax error in the Source+rather than changing authored wording or spaces. The installed package owns the parser and exact+diagnostics.## Keep the languages distinct@@ -18,7 +18,7 @@ The installed Script package owns the parser and exact diagnostics.| Script prose | `@{reveal!}` | A semantic Moment; contributes no displayed or spoken text. || Script prose | `clear{emphasis}` | An attribute on the preceding display word. || A model's prompt text | `@image1` | That model's reference notation, when its Kit declares it. |-| A temporal attribute | `instant="moment.cue + 8f"` | The component's explicit time expression. |+| An absolute-time declaration | `<time:Instant id="cue" timeline={film.timeline} at={claim}/>` | A named Instant produced from an already resolved value. |Braces and at-signs have no global substitution rule. The receiving Surface owns its body's grammar.diff --git a/skills/hypit/references/production/spatial.md b/skills/hypit/references/production/spatial.mdindex 81bf6b53..3b5df0d6 100644--- a/skills/hypit/references/production/spatial.md+++ b/skills/hypit/references/production/spatial.md@@ -170,7 +170,7 @@ A typed `Motion` moves or fades the complete framed occurrence, including its bofor a moving crop or a slow push-in while a card's outline stays still:```svml-<visual:Clip media={prepared.media} during={story-time.detail}+<visual:Clip media={prepared.media} during={detail}frame={detail-frame} z="20" fit="cover" treatment={look.detail}><visual:Sampling at="start" zoom="1"/><visual:Sampling at="end" zoom="1.08" y="-18"/>diff --git a/skills/hypit/references/production/timeline.md b/skills/hypit/references/production/timeline.mdindex db1fb7bc..ae3b7da3 100644--- a/skills/hypit/references/production/timeline.md+++ b/skills/hypit/references/production/timeline.md@@ -66,6 +66,8 @@ Visual and Audio placement is a separate decision:SynchronizedMedia + Window -> visual / audio occurrence```-Put a named Instant or Window in Timeline when it determines extent or several consumers deliberately-share it. Write one-off component timing directly on that component. The project `TIMELINE.md` can-retain human observations and their meaning; Source constructs the executable Timeline.+Put a named Instant or Window inside Timeline when it participates in the construction DAG. After the+Timeline resolves, standalone time declarations and domain projectors can publish additional named+values against it. Components consume those values, including single-use ones, through ordinary+references. The project `TIMELINE.md` can retain human observations and their meaning; Source+constructs the executable Timeline.diff --git a/skills/hypit/references/production/timing.md b/skills/hypit/references/production/timing.mdindex 085f0d88..26e5f614 100644--- a/skills/hypit/references/production/timing.md+++ b/skills/hypit/references/production/timing.md@@ -10,19 +10,20 @@ Use Narrative time when a picture or event should follow meaning as wording or pUse direct Timeline time when it should follow the film clock. Both choices resolve to the sameabsolute value types.-`semantic:Projection` maps aligned local evidence into Timeline and publishes only the values this-production asks to reuse:+`semantic:Projection` maps aligned local evidence into Timeline. Independent declarations explicitly+choose it when revealing the semantic values this production asks to reuse:```svml<semantic:Projection id="story-time" narrative={story} timeline={film.timeline}><semantic:Map alignment={speech.alignment} domain={speech-media.domain} window={film.speech}/>- <semantic:Window id="proof" selection={story.selection.proof}/>- <semantic:Instant id="claim" moment={story.moment.claim}/>- <semantic:Instant id="answer-end" segment={story.segment.answer} boundary="end"/></semantic:Projection>+<semantic:Window id="proof" projection={story-time} during={story.selection.proof}/>+<semantic:Instant id="claim" projection={story-time} at={story.moment.claim}/>+<semantic:Instant id="answer-end" projection={story-time}+ at={story.segment.answer} boundary="end"/>```-Components then use `story-time.proof`, `story-time.claim` and `story-time.answer-end` as ordinary+Components then use `proof`, `claim` and `answer-end` as ordinaryWindow and Instant values.## Declare, then consume@@ -32,8 +33,8 @@ Timeline authoring and domain projectors produce named values. Components only c| Form | Result || --- | --- || `<time:Window id="beat" timeline={film.timeline} from="2s" for="12f"/>` | A named absolute Window |-| `<time:Window id="answer" timeline={film.timeline} from={story-time.claim} until={story-time.answer-end}/>` | A named Window between projected Instants |-| `during={story-time.proof}` | Consume a projected Window |+| `<time:Window id="answer" timeline={film.timeline} from={claim} until={answer-end}/>` | A named Window between projected Instants |+| `during={proof}` | Consume a projected Window || `during={beat}` | Consume a directly authored Window |Window declarations supply exactly two of `from`, `until` and `for`. `for` can also reference a@@ -44,9 +45,10 @@ TemporalExtent, including generated media duration. The complete film is already| Form | Result || --- | --- |-| `at={story-time.claim}` | A projected event |+| `at={claim}` | A projected event || `<time:Instant id="cut" timeline={film.timeline} at="2s"/>` | A named direct clock event || `<time:Instant id="credits" timeline={film.timeline} at="timeline.end-12f"/>` | A named event relative to the Timeline boundary |+| `<time:Instant id="after-claim" timeline={film.timeline} at={claim} offset="+5f"/>` | A separate absolute offset from a resolved event || `at={cut}` | Consume the named event |The component decides what the event changes and whether that state persists.diff --git a/skills/hypit/references/production/track-authoring.md b/skills/hypit/references/production/track-authoring.mdindex 32d876a4..acf661e2 100644--- a/skills/hypit/references/production/track-authoring.md+++ b/skills/hypit/references/production/track-authoring.md@@ -31,7 +31,7 @@ This existing answer-strip vocabulary illustrates a concrete choice:<emoji:EmojiReveal id="answers" timeline={speech.timeline} within={canvas.bounds}style={answer-style} placeholder={question-icon} during={speech.window}><emoji:Item id="known" icon={known-icon} preset="true"/>- <emoji:Item id="surprise" icon={answer-icon} at={story-time.reveal}/>+ <emoji:Item id="surprise" icon={answer-icon} at={reveal}/></emoji:EmojiReveal>```@@ -64,9 +64,9 @@ Instants/Windows. A component can combine directly authored and domain-producedtime models. The installed `examples/semantic-composition/packages/chat-scene` demonstrates repeatedcontent children with their own events and a picture drawn entirely in code.-For a Window consumer, `during={story-time.example}` reuses a projected interval. To start a short+For a Window consumer, `during={example}` reuses a projected interval. To start a shorteffect at an Instant, first declare a named Window from that Instant, then pass it through `during`.-An Instant consumer may accept `at={story-time.answer}` because it owns a state transition. Read the+An Instant consumer may accept `at={answer}` because it owns a state transition. Read theactual Surface: Window and Instant consumers deliberately expose different reference vocabulary.[Timing](timing.md) describes the shared forms.@@ -125,17 +125,18 @@ Moment-driven state and `@hypit/ranking` demonstrates reveal Windows and settled`@hypit/visual-track` is the default example for ordinary Clip occurrences with independent Window,Frame, fit and source-time relations. Optional examples are evidence, not prerequisites.-Ranking's repository README links its implementation: `surface.ts` projects authored time,+Ranking's repository README links its implementation: `surface.ts` resolves authored time references,`fragment.ts` connects typed inputs, `schedule.ts` computes reveal and settled spans, `render.ts`draws them, and `studio.ts` turns the same program into editor entities. Read it only when thatexample is relevant and available; a new project component may use fewer operations or different state.-The Surface exposes author intent and lowers absolute temporal forms through-`createTemporalWindowConstruction` or `createTemporalInstantConstruction`. The Fragment wires the+The Surface exposes author intent and resolves absolute temporal inputs through+`resolveTemporalWindowReference` or `resolveTemporalInstantReference`. The Fragment wires thecompleted value, the shared Timeline, explicit placement Frames and authored values into the-component's Producers. Narrative, beat or other domain packages project their own values upstream;-the component accepts their projected absolute values. The Producer owns the visual/state behavior, while-Studio follows the graph back to the value's actual declaration for editing.+component's Producers. Timeline authoring, Narrative, beat or other domain packages publish those+values upstream; the component does not construct an anonymous value or inspect its origin. The+Producer owns the visual/state behavior, while Studio follows the graph back to the value's actual+declaration for editing.Wire supplied media, Script content and event references through Source. Expose other content ortreatment in Source or Recipe where the work needs those choices. A one-off component can own fixed@@ -161,12 +162,11 @@ Resolve the Track's `timeline` through `resolveTemporalContext` and wire `contexdirectly to its Timeline input. Source footage is supplied explicitly through media inputs. Thevisual Producer consumes Timeline, explicit media and absolute time values.-For each Window, call `createTemporalWindowConstruction`; for an event, use-`createTemporalInstantConstruction`. Pass the resolved context, the child element and-`resolveReference`. Preserve all returned `records`, `components` and `fragments`, and wire the-returned `ref` into the domain Fragment. Window consumers support `during` or exactly two of-`from`, `until`, and `for`; Instant consumers support `at`. These accept completed temporal values-or absolute expressions only. A Narrative package must publish its selected boundary first.+For each Window input, call `resolveTemporalWindowReference`; for an event, use+`resolveTemporalInstantReference`. Pass the child element and `resolveReference`, then wire the+returned `ref` into the domain Fragment. Window consumers use `during`; Instant consumers use `at`.+Both attributes reference completed temporal values. Timeline-authoring and domain packages own+declarations; a Narrative package must publish its selected boundary first.Keep each child's `subjectId` meaningful for inspection while qualifying graph ids by its owningTrack, so multiple instances can coexist. Do not use it to reject a deliberately shared Window. Adiff --git a/skills/hypit/references/production/visual-clips.md b/skills/hypit/references/production/visual-clips.mdindex 7eaaccf7..8753ef0f 100644--- a/skills/hypit/references/production/visual-clips.md+++ b/skills/hypit/references/production/visual-clips.md@@ -22,7 +22,7 @@ Visual Track = a set of Visual Clips<visual:Clip id="speaker" media={speaker-media.media}during={program.speaker} frame={layout.full} z="10" fit="cover"/><visual:Clip id="photo" image={product} extent={product-extent}- during={story-time.example} frame={layout.detail} z="20" fit="contain"+ during={example} frame={layout.detail} z="20" fit="contain"treatment={look.visual.still} motion={photo-push}/></visual:Track>```@@ -37,8 +37,8 @@ A Clip takes one source form:- normalized `media` for timed picture;- a typed `surface` for compositable pixels.-`during` accepts a resolved Window or the complete Timeline. The alternate form supplies exactly two-of `from`, `until` and `for`.+`during` accepts a resolved Window, including the complete `timeline.window`. Declare any direct+clock range as a named Timeline child or standalone `time:Window` before using it here.Ordinary fit and alignment attributes derive the source-to-picture SpatialMap2D. Supply an authored`space:Map` through `mapping` when the production already owns the exact relation. The Clip Framediff --git a/test/temporal-fixture.ts b/test/temporal-fixture.tsindex b8a805d9..ad48c097 100644--- a/test/temporal-fixture.ts+++ b/test/temporal-fixture.ts@@ -3,8 +3,10 @@ import type { Timeline } from "@hypit/timeline";import {composeTemporalWindow,projectProgramInstant,+ shiftTemporalInstant,+ temporalExtentFromDuration,} from "@hypit/temporal";-import type { TemporalInstantExpression } from "@hypit/temporal";+import type { TemporalDuration, TemporalInstantExpression } from "@hypit/temporal";import { projectNarrativeInstant } from "@hypit/narrative-temporal";import type { NarrativeProjection } from "@hypit/narrative-temporal";@@ -35,9 +37,9 @@ export function projectMomentInstantFixture(input: {readonly moment: NarrativeMomentRef;readonly projection: NarrativeInstantExpression;}) {- return projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.moment, sourceKind: "moment", spec: { id: input.itemId, subjectId: input.subjectId ?? input.itemId,- boundary: "cue", ...(input.projection.offset === undefined ? {} : { offset: input.projection.offset }) } });+ return projectNarrativeFixture({ itemId: input.itemId, subjectId: input.subjectId ?? input.itemId,+ semantic: input.semantic, narrative: input.narrative, source: input.moment, sourceKind: "moment",+ expression: input.projection });}export function projectProgramWindow(input: {@@ -62,10 +64,10 @@ export function projectSelectionWindow(input: {}) {const subjectId = input.subjectId ?? input.itemId;return composeTemporalWindow({ id: input.itemId, subjectId },- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.selection, sourceKind: "selection", spec: narrativeSpec(`${input.itemId}.start`, subjectId, input.projection.start) }),- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.selection, sourceKind: "selection", spec: narrativeSpec(`${input.itemId}.end`, subjectId, input.projection.end) }));+ projectNarrativeFixture({ itemId: `${input.itemId}.start`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.selection, sourceKind: "selection", expression: input.projection.start }),+ projectNarrativeFixture({ itemId: `${input.itemId}.end`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.selection, sourceKind: "selection", expression: input.projection.end }));}export function projectSegmentWindow(input: {@@ -78,10 +80,10 @@ export function projectSegmentWindow(input: {}) {const subjectId = input.subjectId ?? input.itemId;return composeTemporalWindow({ id: input.itemId, subjectId },- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.segment, sourceKind: "segment", spec: narrativeSpec(`${input.itemId}.start`, subjectId, input.projection.start) }),- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.segment, sourceKind: "segment", spec: narrativeSpec(`${input.itemId}.end`, subjectId, input.projection.end) }));+ projectNarrativeFixture({ itemId: `${input.itemId}.start`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.segment, sourceKind: "segment", expression: input.projection.start }),+ projectNarrativeFixture({ itemId: `${input.itemId}.end`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.segment, sourceKind: "segment", expression: input.projection.end }));}export function projectMomentWindow(input: {@@ -94,14 +96,39 @@ export function projectMomentWindow(input: {}) {const subjectId = input.subjectId ?? input.itemId;return composeTemporalWindow({ id: input.itemId, subjectId },- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.moment, sourceKind: "moment", spec: narrativeSpec(`${input.itemId}.start`, subjectId, input.projection.start) }),- projectNarrativeInstant({ timeline: input.semantic, narrative: input.narrative,- source: input.moment, sourceKind: "moment", spec: narrativeSpec(`${input.itemId}.end`, subjectId, input.projection.end) }));+ projectNarrativeFixture({ itemId: `${input.itemId}.start`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.moment, sourceKind: "moment", expression: input.projection.start }),+ projectNarrativeFixture({ itemId: `${input.itemId}.end`, subjectId, semantic: input.semantic,+ narrative: input.narrative, source: input.moment, sourceKind: "moment", expression: input.projection.end }));}function narrativeSpec(id: string, subjectId: string, expression: NarrativeInstantExpression) {return { id, subjectId,- boundary: expression.ref === "moment.cue" ? "cue" as const : expression.ref.endsWith(".start") ? "start" as const : "end" as const,- ...(expression.offset === undefined ? {} : { offset: expression.offset }) };+ boundary: expression.ref === "moment.cue" ? "cue" as const : expression.ref.endsWith(".start") ? "start" as const : "end" as const };+}++function positiveDuration(value: TemporalDuration): { readonly direction: 1 | -1; readonly duration: TemporalDuration } {+ const negative = value.unit === "seconds" ? value.numerator < 0 : value.value < 0;+ if (!negative) return { direction: 1, duration: value };+ return { direction: -1, duration: value.unit === "seconds"+ ? { ...value, numerator: Math.abs(value.numerator) }+ : { ...value, value: Math.abs(value.value) } };+}++function projectNarrativeFixture(input: {+ readonly itemId: string;+ readonly subjectId: string;+ readonly semantic: Timeline;+ readonly narrative: NarrativeProjection;+ readonly source: NarrativeSelectionRef | NarrativeSegmentRef | NarrativeMomentRef;+ readonly sourceKind: "selection" | "segment" | "moment";+ readonly expression: NarrativeInstantExpression;+}) {+ const base = projectNarrativeInstant({ narrative: input.narrative, source: input.source, sourceKind: input.sourceKind,+ spec: narrativeSpec(input.expression.offset === undefined ? input.itemId : `${input.itemId}.__base`,+ input.subjectId, input.expression) });+ if (input.expression.offset === undefined) return base;+ const offset = positiveDuration(input.expression.offset);+ return shiftTemporalInstant({ id: input.itemId, subjectId: input.subjectId, direction: offset.direction }, input.semantic,+ base, temporalExtentFromDuration(offset.duration, input.semantic));}