Skip to content

armgit / hypit

Public Imported from GitHub
0

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.

docs: make semantic map an svk output

kashorin8c59dd087778
diff --git a/README.md b/README.md
index 52bd782c..d2fa3f00 100644
--- a/README.md
+++ b/README.md
@@ -2,16 +2,17 @@
Semantic Video Markup Language is a semantic source language for information-flow
video. Script creates stable semantic addresses; a Composition selects one
-content-addressed ProgramBasis; a versioned Locator binds those addresses to that
-basis; imported Track components then lower the program into one deterministic
-HyperFrames document.
+content-addressed ProgramBasis and one imported Locator Component whose SemanticMap
+binds those addresses to that basis; Track Components then lower the program into
+one deterministic HyperFrames document.
```text
.svml + .svc + .svs + .svk + lock + evidence
│
- ├─ Plan IR ───────────────> Canvas view
- ├─ TemporalBinding ───────> Timeline view
- └─ flat Track[] ──────────> HyperFrames HTML
+ ├─ Plan IR ─────────────────────> Canvas view
+ ├─ Basis + SemanticMap ─────────> TemporalBinding
+ ├─ TemporalBinding ─────────────> Timeline view
+ └─ flat Track[] ────────────────> HyperFrames HTML
```
Canvas and Timeline are views of the same source closure. They are not additional
@@ -44,8 +45,9 @@ preserving the eventual capability boundary.
The executable prototype still implements frozen Script Surface v1: one globally
monotonic Speech Spine alignment with shared adjacent Segment cuts. The architecture
draft and Script Surface v2 draft specify the next boundary: a replaceable Basis
-Producer, a separately versioned Locator, and `2M + 2N` independent Segment/word
-endpoint identities. The repository does not claim that migration is implemented.
+Component, an importable Locator Component that outputs SemanticMap, and `2M + 2N`
+independent Segment/word endpoint identities. The repository does not claim that
+migration is implemented.
## Commands
@@ -98,10 +100,11 @@ speech program (0.46% duration error); it remains preview evidence, not measured
alignment.
[`examples/flat-track-launch/flat-track-launch.svml`](examples/flat-track-launch/flat-track-launch.svml)
-is the readable fixture for the next architecture boundary: decoupled Basis and
-Locator, Script Surface v2, continuous A-roll Present changes, B-roll transition
-audio, disconnected caption selections, absolute z and Film as the sole `Track[]`
-consumer. It is a draft fixture, not yet accepted by the executable v1 compiler.
+is the readable fixture for the next architecture boundary: separate Basis and
+Locator Components, Script Surface v2, continuous A-roll Present changes, B-roll
+transition audio, disconnected caption selections, absolute z and Film as the sole
+`Track[]` consumer. It is a draft fixture, not yet accepted by the executable v1
+compiler.
## Specification
@@ -111,7 +114,8 @@ consumer. It is a draft fixture, not yet accepted by the executable v1 compiler.
independent Segment endpoint and `2M + 2N` migration.
- [Source Architecture Draft](spec/source-architecture-draft.md) — the current
draft for `.svk` components, `.svs` parameter sheets, `.svc` content modules,
- Script-dependent generation, Basis Producers, flat Tracks, and a Composition root.
+ Script-dependent generation, the five SVK output roles, flat Tracks, and a
+ Composition root.
- [Compiler prototype record](docs/compiler-prototype-v1.md) — implemented
boundaries, real-video evidence and remaining work.
- [External Runtime Host Architecture Draft](docs/runtime-host-architecture-draft.md)
diff --git a/examples/flat-track-launch/README.md b/examples/flat-track-launch/README.md
index 0a4f5000..4d0265b5 100644
--- a/examples/flat-track-launch/README.md
+++ b/examples/flat-track-launch/README.md
@@ -6,7 +6,7 @@ yet accept:
- Script Surface v2 independent Segment endpoints (`2M + 2N`);
- a Basis Component that overlaps adjacent Segment media;
-- a separately locked Locator that produces the ExactSemanticMap;
+- an imported Locator Component that produces the selected ExactSemanticMap;
- one ProgramBasis and one absolute ProgramSpace;
- flat visual/audio Track contributions with no Track nesting;
- continuous A-roll source mapping across overlapping Present windows;
diff --git a/examples/flat-track-launch/flat-track-launch.svml b/examples/flat-track-launch/flat-track-launch.svml
index 5743b86f..5aa021ad 100644
--- a/examples/flat-track-launch/flat-track-launch.svml
+++ b/examples/flat-track-launch/flat-track-launch.svml
@@ -5,6 +5,7 @@
<svml version="2">
<import from="@svml/std/crossfade-speech.svk"/>
+ <import from="@svml/std/speech-locator.svk"/>
<import from="@svml/std/media-track.svk"/>
<import from="@svml/std/broll-track.svk"/>
<import from="@svml/std/ranking-tier-list.svk"/>
@@ -47,8 +48,8 @@
<!--
Basis production assembles physical media only. It emits ProgramBasis,
- source maps, program audio and a program-bound visual facet. The locked
- Locator separately binds this Script's 2M + 2N identities to the basis.
+ source maps, program audio and a program-bound visual facet. The Locator
+ Component separately binds this Script's 2M + 2N identities to the basis.
-->
<crossfade-speech id="voice" overlap="500ms">
<segment
@@ -71,6 +72,17 @@
/>
</crossfade-speech>
+ <!--
+ SemanticMap is the fifth SVK output role. A simple speech-locator may expose
+ one atomic capability; a modular alternative can consume explicit Evidence
+ Value Components while preserving this exact output contract.
+ -->
+ <speech-locator
+ id="location"
+ script={script}
+ basis={voice.production}
+ />
+
<!--
One program-bound host facet, one continuous source mapping. Present changes
only x/y/size/mask/z; it never restarts or seeks the video.
@@ -227,6 +239,7 @@
<film
id="launch"
basis={voice.production}
+ semantic={location.map}
class="house.vertical"
globalEffect="grain-soft"
masterMix="house.launch-mix"