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
fix(v2): keep provided values ordinary substitute candidates
kashorin366b72e5fd85
diff --git a/examples/talking-film-live/README.md b/examples/talking-film-live/README.mdindex 8624cb5f..74d93790 100644--- a/examples/talking-film-live/README.md+++ b/examples/talking-film-live/README.md@@ -32,10 +32,12 @@ pnpm svml:v2 build examples/talking-film-live/main.svml \--runtime examples/talking-film-live/svml.runtime.ts \--pin opening-take=<prior-build-id> \--pin answer-take=<prior-build-id> \+ --accept-substitute \--follow \--out examples/talking-film-live/output/final-pinned.mp4```-The second command compiles a new Build whose two shot outputs are Existing values. It therefore-contains no Seedance Operations or KIE Needs, while Caption, media normalization, WhisperX,-SemanticMap, Tracks, Film and HyperFrames remain ordinary demanded graph work.+The second command compiles a new Build whose two shot outputs are explicitly selected substitute+Existing values. It therefore contains no Seedance Operations or KIE Needs. Substitute fidelity+propagates through the rebuilt media normalization, WhisperX, SemanticMap, Tracks, Film and+HyperFrames path instead of being washed back to exact.diff --git a/packages/cli/README.md b/packages/cli/README.mdindex 611266ca..53870ba6 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -25,7 +25,7 @@ pnpm svml:v2 plan path/to/main.svml --target component.resultpnpm svml:v2 build path/to/main.svml --target component.result --runtime ./svml.runtime.tspnpm svml:v2 build path/to/main.svml --target component.result --runtime ./svml.runtime.ts --followpnpm svml:v2 build path/to/main.svml --target final.video --runtime ./svml.runtime.ts --follow --out ./final.mp4-pnpm svml:v2 build path/to/main.svml --target final.video --runtime ./svml.runtime.ts --pin shot=<prior-build-id> --follow --out ./variant.mp4+pnpm svml:v2 build path/to/main.svml --target final.video --runtime ./svml.runtime.ts --pin shot=<prior-build-id> --accept-substitute --follow --out ./variant.mp4pnpm svml:v2 status <build-id> --runtime ./svml.runtime.tspnpm svml:v2 cancel <build-id> --runtime ./svml.runtime.ts```@@ -50,9 +50,11 @@ these commands creates a second ready-command queue.selected Runtime ArtifactStore and writes the requested file. It does not treat a CAS path as apublic filename or bypass Record identity verification.-`--pin output=<prior-build-id>` is intentionally CLI language, not a Core primitive. The trusted-Host verifies the prior Build and output Record, attaches it as an Existing-Value realization, and-adds an explicit binding to a newly compiled BuildRequest. Upstream work behind that output is not+`--pin output=<prior-build-id>` is intentionally CLI language, not a Core primitive. The Host+verifies the prior Build only to extract a typed Record, attaches it as an ordinary zero-input+`substitute` Candidate, and adds an explicit binding to a newly compiled BuildRequest. It does not+prove that the old Graph, prompt or semantic meaning matches the current output. Consequently the+command requires `--accept-substitute`. Upstream work behind that selected Candidate is notdemanded, while every unbound reachable output follows the ordinary graph. The prior artifact muststill exist in the ArtifactStore selected by the Runtime. This is a new Build with a new identity;it never resumes or copies the prior Build's outstanding Commands.diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.tsindex cc75609a..a5a9f85f 100644--- a/packages/cli/src/main.ts+++ b/packages/cli/src/main.ts@@ -152,7 +152,7 @@ function usage(): string {" svml-v2 lock-packages <svml.packages.lock> --package installed-name [--package installed-name] [--root directory]"," svml-v2 check <file.svml> [--package-lock file] [--root directory]"," svml-v2 plan <file.svml> --target export [--target export] [--accept-substitute] [--package-lock file]",- " svml-v2 build <file.svml> --target export --runtime ./svml.runtime.ts [--pin output=prior-build] [--follow] [--out video.mp4]",+ " svml-v2 build <file.svml> --target export --runtime ./svml.runtime.ts [--pin output=prior-build --accept-substitute] [--follow] [--out video.mp4]"," svml-v2 status <build-id> --runtime ./svml.runtime.ts"," svml-v2 cancel <build-id> --runtime ./svml.runtime.ts",].join("\n");@@ -230,6 +230,9 @@ export async function runCli(argv: readonly string[], io: CliIo): Promise<void>}if (args.out !== undefined && args.command !== "build") throw new Error("--out is only valid for build");if (args.pins.length > 0 && args.command !== "build") throw new Error("--pin is only valid for build");+ if (args.pins.length > 0 && !args.substitute) {+ throw new Error("--pin attaches substitute Candidates; add --accept-substitute");+ }if (args.command === "status" || args.command === "cancel") {if (args.runtime === undefined) throw new Error(`${args.command} requires --runtime`);const runtime = await loadLocalRuntime(args.runtime);diff --git a/packages/cli/test/cli.test.ts b/packages/cli/test/cli.test.tsindex 033e5863..cf3ad0fd 100644--- a/packages/cli/test/cli.test.ts+++ b/packages/cli/test/cli.test.ts@@ -7,6 +7,18 @@ import test from "node:test";import { materializeSingleGoal, runCli } from "@svml/cli";+test("CLI Pin is explicit substitute selection rather than an exact-history privilege", async () => {+ await assert.rejects(+ async () => await runCli([+ "build", "unused.svml",+ "--target", "shot",+ "--runtime", "unused-runtime.ts",+ "--pin", "shot=sha256:historical",+ ], { write() {} }),+ /--pin attaches substitute Candidates; add --accept-substitute/u,+ );+});+test("official v2 CLI checks a real Script source through the Node compiler host", async () => {const root = await mkdtemp(join(tmpdir(), "svml-cli-"));const file = join(root, "main.svml");diff --git a/packages/core/src/affinity.ts b/packages/core/src/affinity.tsindex 26cab9f7..8d3d5fe6 100644--- a/packages/core/src/affinity.ts+++ b/packages/core/src/affinity.ts@@ -11,10 +11,8 @@ import type {import { canonicalStringify } from "./canonical.js";import { invariant } from "./error.js";import {- resolveCandidate,resolveLogicalOutput,resolveOperation,- verifyOutputValidationReceipt,} from "./graph.js";import { resolveProducer } from "./link.js";@@ -86,20 +84,6 @@ export function verifyRecordAffinity(): void {if (record.conformance === "substitute") return;const output = resolveLogicalOutput(graph, outputId);- const selection = plan.selections.find((item) => item.output === outputId && item.record === record.id);- if (selection !== undefined) {- const candidate = resolveCandidate(graph, selection.candidate);- if (candidate.root.kind === "value" && candidate.root.value.outputValidation !== undefined) {- verifyOutputValidationReceipt(- candidate.root.value.outputValidation,- graph.source,- output.id,- output.type,- record.value,- );- return;- }- }for (const constraint of output.affinity ?? []) {const sourceId = sourceRecordId(graph, plan, constraint.source);const source = lookup(sourceId);diff --git a/packages/core/src/graph.ts b/packages/core/src/graph.tsindex ab19d208..77013392 100644--- a/packages/core/src/graph.ts+++ b/packages/core/src/graph.ts@@ -4,19 +4,17 @@ import type {CandidateBinding,CandidateRoot,CompiledGraph,- Digest,GraphValueRef,LinkedProgram,LogicalOutput,OperationNode,OperationResult,- OutputValidationReceipt,ProducerRef,StoredValue,TypeRef,} from "@svml/protocol";-import { canonicalize, digestOf, isDigest, recordDigest } from "./canonical.js";+import { canonicalize, digestOf, isDigest } from "./canonical.js";import { invariant } from "./error.js";import { resolveProducer, sealRecord, verifyRecord } from "./link.js";import { producerKey, sameType, typeKey } from "./reference.js";@@ -51,67 +49,11 @@ function normalizeRoot(root: CandidateRoot): CandidateRoot {id: root.value.id,value: normalizedStoredValue(root.value.value),...(root.value.validation === undefined ? {} : { validation: root.value.validation }),- ...(root.value.outputValidation === undefined- ? {}- : { outputValidation: normalizeOutputValidationReceipt(root.value.outputValidation) }),...(root.value.provenance === undefined ? {} : { provenance: canonicalize(root.value.provenance) }),};return { kind: "value", value };}-function outputValidationContent(- receipt: Omit<OutputValidationReceipt, "id">,-): Omit<OutputValidationReceipt, "id"> {- return {- format: "svml.output-validation@1",- graphSource: receipt.graphSource,- output: receipt.output,- recordDigest: receipt.recordDigest,- sourceBuild: receipt.sourceBuild,- sourceRequest: receipt.sourceRequest,- sourceCandidate: receipt.sourceCandidate,- };-}--function normalizeOutputValidationReceipt(receipt: OutputValidationReceipt): OutputValidationReceipt {- const content = outputValidationContent(receipt);- return { ...content, id: receipt.id };-}--export function sealOutputValidationReceipt(- receipt: Omit<OutputValidationReceipt, "format" | "id">,-): OutputValidationReceipt {- const content = outputValidationContent({ format: "svml.output-validation@1", ...receipt });- return { ...content, id: digestOf(content) };-}--export function verifyOutputValidationReceipt(- receipt: OutputValidationReceipt,- graphSource: Digest,- output: string,- type: TypeRef,- value: StoredValue,-): void {- invariant(- receipt.format === "svml.output-validation@1",- "UNSUPPORTED_OUTPUT_VALIDATION",- "unsupported Output validation receipt",- );- invariant(isDigest(receipt.id), "INVALID_DIGEST", "Output validation receipt id is invalid");- invariant(receipt.graphSource === graphSource, "OUTPUT_VALIDATION_GRAPH_MISMATCH", "Output validation belongs to another author graph");- invariant(receipt.output === output, "OUTPUT_VALIDATION_OUTPUT_MISMATCH", "Output validation belongs to another Logical Output");- invariant(- receipt.recordDigest === recordDigest(type, value),- "OUTPUT_VALIDATION_RECORD_MISMATCH",- "Output validation belongs to another value",- );- invariant(isDigest(receipt.sourceBuild), "INVALID_DIGEST", "Output validation source Build is invalid");- invariant(isDigest(receipt.sourceRequest), "INVALID_DIGEST", "Output validation source request is invalid");- invariant(receipt.sourceCandidate.length > 0, "EMPTY_CANDIDATE_ID", "Output validation source Candidate is empty");- const { id: _id, ...content } = receipt;- invariant(receipt.id === digestOf(outputValidationContent(content)), "OUTPUT_VALIDATION_DIGEST_MISMATCH", "Output validation receipt differs");-}-function normalizeOutput(output: LogicalOutput): LogicalOutput {const base = {id: output.id,@@ -499,16 +441,6 @@ export function verifyCompiledGraph(program: LinkedProgram, graph: CompiledGraph`${candidate.id} returns ${typeKey(supplied)}, not ${typeKey(output.type)}`,candidate.id,);- if (candidate.root.kind === "value" && candidate.root.value.outputValidation !== undefined) {- invariant(candidate.fidelity === "exact", "SUBSTITUTE_OUTPUT_VALIDATION", "a substitute Candidate cannot carry exact Output validation");- verifyOutputValidationReceipt(- candidate.root.value.outputValidation,- graph.source,- output.id,- output.type,- candidate.root.value.value,- );- }const allowed = new Set(output.semanticInputs.map(valueRefKey));for (const leaf of semanticLeaves(graph, candidate.root)) {invariant(diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex d3c3db51..1dcb9389 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -32,12 +32,10 @@ export {resolveOperation,sealBuildRequest,sealCompiledGraph,- sealOutputValidationReceipt,selectedCandidate,valueRefKey,verifyBuildRequest,verifyCompiledGraph,- verifyOutputValidationReceipt,} from "./graph.js";export { compileBuild, deriveBuildPlan, validatePlan } from "./plan.js";export { reduce, start } from "./reducer.js";diff --git a/packages/protocol/src/build.ts b/packages/protocol/src/build.tsindex 38211fd6..5234c2c0 100644--- a/packages/protocol/src/build.ts+++ b/packages/protocol/src/build.ts@@ -203,24 +203,6 @@ export type ProvidedValue = {readonly value: StoredValue;readonly provenance?: CanonicalValue;readonly validation?: TypeValidationReceipt;- /** Trusted Host proof that this exact historical Record already realized this Output. */- readonly outputValidation?: OutputValidationReceipt;-};--/**- * A content-bound admission receipt issued after a trusted Host verifies a prior BuildState.- * It is deliberately generic: Core learns neither "pin" nor any media/domain concept.- */-export type OutputValidationReceipt = {- readonly format: "svml.output-validation@1";- readonly id: Digest;- /** Author-graph source digest before any external Realization Overlay. */- readonly graphSource: Digest;- readonly output: LogicalOutputId;- readonly recordDigest: Digest;- readonly sourceBuild: Digest;- readonly sourceRequest: Digest;- readonly sourceCandidate: CandidateId;};export type CandidateRoot =diff --git a/packages/realization/README.md b/packages/realization/README.mdindex 4416be2f..1b225912 100644--- a/packages/realization/README.md+++ b/packages/realization/README.md@@ -12,8 +12,14 @@ selects it and a Target reaches its Logical Output. Product UI actions such asan Existing-Value Candidate and then write that ordinary selection; they do not mutate Core state orrequire a database.-`createHistoricalCandidate()` is the trusted Host helper for this common case. It verifies the-complete prior `BuildState`, requires the same author Graph and the same semantic Logical Output,-then issues a content-addressed output-validation receipt binding the prior Record digest to that-output. The result is still an ordinary zero-input Existing-Value Candidate: no historical-Operation, Command or outstanding work is copied into the new Build.+`createHistoricalCandidate()` is a Host convenience for this common case. It verifies the complete+prior `BuildState` only to extract a trusted typed Record, its type-validation receipt and optional+provenance. It then reattaches that value to the current Logical Output as an ordinary zero-input+`substitute` Candidate. The previous author Graph, prompt, semantic inputs and affinity are not+compatibility evidence and are not compared. No historical Operation, Command or outstanding work+is copied into the new Build.++The same model covers an uploaded video, a fixed black clip and any other already materialized+value. Core checks the current output Type and value structure. A `substitute` Candidate need not+prove the current output's author affinity; the BuildRequest must explicitly select it and the+Target must explicitly accept substitute fidelity.diff --git a/packages/realization/src/overlay.ts b/packages/realization/src/overlay.tsindex 89dcc79a..73a4295d 100644--- a/packages/realization/src/overlay.ts+++ b/packages/realization/src/overlay.ts@@ -3,7 +3,6 @@ import {digestOf,EMPTY_REALIZATION_DIGEST,isDigest,- sealOutputValidationReceipt,resolveLogicalOutput,sealCompiledGraph,verifyBuildState,@@ -20,7 +19,6 @@ import type {OperationNode,StoredValue,TypeValidationReceipt,- OutputValidationReceipt,} from "@svml/protocol";export type RealizationOverlay = {@@ -51,15 +49,17 @@ export type ProvidedCandidateInput = {readonly record?: string;readonly provenance?: CanonicalValue;readonly validation?: TypeValidationReceipt;- readonly outputValidation?: OutputValidationReceipt;};export type HistoricalCandidateInput = {/** Current author graph before any external Realization Overlay. */readonly source: CompiledGraph;- /** A previously verified BuildState using this exact author graph source. */+ /** A previously verified BuildState used only as a source of one typed value. */readonly build: BuildState;+ /** Current Logical Output to which the value will be attached. */readonly output: string;+ /** Historical Logical Output to read; defaults to `output` only as a Host convenience. */+ readonly sourceOutput?: string;};export class RealizationError extends Error {@@ -117,7 +117,6 @@ export function createProvidedCandidate(input: ProvidedCandidateInput): Candidatfidelity: input.fidelity,...(input.provenance === undefined ? {} : { provenance: canonicalize(input.provenance) }),...(input.validation === undefined ? {} : { validation: input.validation }),- ...(input.outputValidation === undefined ? {} : { outputValidation: input.outputValidation }),};const suffix = digestOf(identity).slice("sha256:".length);return {@@ -130,7 +129,6 @@ export function createProvidedCandidate(input: ProvidedCandidateInput): Candidatvalue,...(input.provenance === undefined ? {} : { provenance: canonicalize(input.provenance) }),...(input.validation === undefined ? {} : { validation: input.validation }),- ...(input.outputValidation === undefined ? {} : { outputValidation: input.outputValidation }),},},fidelity: input.fidelity,@@ -138,39 +136,17 @@ export function createProvidedCandidate(input: ProvidedCandidateInput): Candidat}/**- * Admit one already verified historical Logical Output as an inert Existing Value Candidate.- * The new Build is unrelated to recovery: only the exact Record value and its admission receipt- * cross the boundary. No prior outstanding Command or execution state is reused.+ * Reattach one typed historical Record as an ordinary inert substitute Candidate.+ * The prior Build is verified only so the Host can safely extract the value, Type receipt and+ * provenance. History makes no claim that the value satisfies the current author's meaning.+ * No prior Operation, Command or outstanding execution state crosses the boundary.*/export function createHistoricalCandidate(input: HistoricalCandidateInput): Candidate {- verifyCompiledGraph(input.build.program, input.source);verifyBuildState(input.build);- assert(- input.build.graph.source === input.source.source,- "HISTORICAL_GRAPH_MISMATCH",- "historical Build belongs to another author graph source",- input.output,- );const currentOutput = resolveLogicalOutput(input.source, input.output);- const historicalOutput = resolveLogicalOutput(input.build.graph, input.output);- assert(- digestOf({- id: currentOutput.id,- type: currentOutput.type,- semanticInputs: currentOutput.semanticInputs,- affinity: currentOutput.affinity ?? [],- }) === digestOf({- id: historicalOutput.id,- type: historicalOutput.type,- semanticInputs: historicalOutput.semanticInputs,- affinity: historicalOutput.affinity ?? [],- }),- "HISTORICAL_OUTPUT_MISMATCH",- "historical Build has another Logical Output definition",- input.output,- );- const selection = input.build.plan.selections.find((item) => item.output === input.output);- assert(selection !== undefined, "HISTORICAL_OUTPUT_UNSELECTED", "historical Build did not select this Logical Output", input.output);+ const sourceOutput = input.sourceOutput ?? input.output;+ const selection = input.build.plan.selections.find((item) => item.output === sourceOutput);+ assert(selection !== undefined, "HISTORICAL_OUTPUT_UNSELECTED", "historical Build did not select this Logical Output", sourceOutput);const record = input.build.records.find((item) => item.id === selection.record);assert(record !== undefined, "HISTORICAL_RECORD_MISSING", "historical Output Record is absent", selection.record);assert(@@ -181,30 +157,20 @@ export function createHistoricalCandidate(input: HistoricalCandidateInput): Cand"historical Output Record has another Type",record.id,);- const outputValidation = record.conformance === "exact"- ? sealOutputValidationReceipt({- graphSource: input.source.source,- output: input.output,- recordDigest: record.digest,- sourceBuild: input.build.id,- sourceRequest: input.build.request.digest,- sourceCandidate: selection.candidate,- })- : undefined;return createProvidedCandidate({output: input.output,value: record.value,- fidelity: record.conformance,+ fidelity: "substitute",provenance: {format: "svml.historical-output@1",sourceBuild: input.build.id,sourceRequest: input.build.request.digest,+ sourceOutput,sourceCandidate: selection.candidate,sourceRecord: record.id,sourceRecordDigest: record.digest,},...(record.validation === undefined ? {} : { validation: record.validation }),- ...(outputValidation === undefined ? {} : { outputValidation }),});}diff --git a/packages/realization/test/overlay.test.ts b/packages/realization/test/overlay.test.tsindex 59b23a8e..cec17b7e 100644--- a/packages/realization/test/overlay.test.ts+++ b/packages/realization/test/overlay.test.ts@@ -206,48 +206,78 @@ test("an attached Existing Value is inert until BuildRequest explicitly selectsassert.equal(selected.plan.selections[0]?.candidate, candidate.id);});-test("a verified historical Output becomes an exact zero-edge Candidate without replaying its Producer", () => {+test("a historical Record becomes an ordinary substitute zero-edge Candidate", () => {const { program, source, state: historical } = completedAffinityBuild();const candidate = createHistoricalCandidate({ source, build: historical, output: "shot.visual" });assert.equal(candidate.root.kind, "value");- assert.equal(candidate.fidelity, "exact");+ assert.equal(candidate.fidelity, "substitute");const overlay = sealRealizationOverlay({ sourceGraph: source.id, candidates: [candidate], operations: [] });const realized = resolveRealization(program, source, [overlay]);const fresh = start(program, realized.graph, sealBuildRequest({graph: realized.graph.id,- targets: [{ output: "shot.visual", accepts: "exact" }],+ targets: [{ output: "shot.visual", accepts: "substitute" }],bindings: [{ output: "shot.visual", candidate: candidate.id }],}));assert.deepEqual(fresh.plan.steps, []);assert.equal(fresh.plan.initialValues.length, 1);+ assert.equal(fresh.plan.initialValues[0]?.conformance, "substitute");assert.notEqual(fresh.id, historical.id);});-test("historical admission rejects another graph and a content-tampered value", () => {+test("a fixed black value substitutes an affined Output without any history or semantic proof", () => {+ const { program, source } = completedAffinityBuild();+ const candidate = createProvidedCandidate({+ output: "shot.visual",+ value: { kind: "inline", value: "UNRELATED FIXED BLACK VIDEO" },+ fidelity: "substitute",+ });+ const overlay = sealRealizationOverlay({ sourceGraph: source.id, candidates: [candidate], operations: [] });+ const realized = resolveRealization(program, source, [overlay]);+ const fresh = start(program, realized.graph, sealBuildRequest({+ graph: realized.graph.id,+ targets: [{ output: "shot.visual", accepts: "substitute" }],+ bindings: [{ output: "shot.visual", candidate: candidate.id }],+ }));+ assert.deepEqual(fresh.plan.steps, []);+ assert.equal(fresh.plan.initialValues.length, 1);+ assert.deepEqual(fresh.plan.initialValues[0]?.value, {+ kind: "inline",+ value: "UNRELATED FIXED BLACK VIDEO",+ });+ assert.equal(fresh.plan.initialValues[0]?.conformance, "substitute");+});++test("a historical Record may substitute another author graph and Output without semantic or affinity proof", () => {const { program, source, state: historical } = completedAffinityBuild();const other = sealCompiledGraph({program: source.program,- outputs: source.outputs.map((output) => ({ ...output, affinity: [] })),- candidates: source.candidates,+ outputs: source.outputs.map((output) => ({ ...output, id: "replacement.visual" })),+ candidates: source.candidates.map((candidate) => ({ ...candidate, output: "replacement.visual" })),operations: source.operations,});- assert.throws(- () => createHistoricalCandidate({ source: other, build: historical, output: "shot.visual" }),- /another author graph source/u,- );-- const admitted = createHistoricalCandidate({ source, build: historical, output: "shot.visual" });- assert.equal(admitted.root.kind, "value");- const outputValidation = admitted.root.value.outputValidation;- assert.notEqual(outputValidation, undefined);- const tampered = createProvidedCandidate({- output: admitted.output,- value: { kind: "inline", value: "tampered" },- fidelity: "exact",- outputValidation: outputValidation!,+ const candidate = createHistoricalCandidate({+ source: other,+ build: historical,+ output: "replacement.visual",+ sourceOutput: "shot.visual",});- const overlay = sealRealizationOverlay({ sourceGraph: source.id, candidates: [tampered], operations: [] });- assert.throws(() => resolveRealization(program, source, [overlay]), /belongs to another value/u);+ assert.equal(candidate.fidelity, "substitute");+ const overlay = sealRealizationOverlay({ sourceGraph: other.id, candidates: [candidate], operations: [] });+ const realized = resolveRealization(program, other, [overlay]);++ assert.throws(() => start(program, realized.graph, sealBuildRequest({+ graph: realized.graph.id,+ targets: [{ output: "replacement.visual", accepts: "exact" }],+ bindings: [{ output: "replacement.visual", candidate: candidate.id }],+ })), /selects a substitute path/u);++ const fresh = start(program, realized.graph, sealBuildRequest({+ graph: realized.graph.id,+ targets: [{ output: "replacement.visual", accepts: "substitute" }],+ bindings: [{ output: "replacement.visual", candidate: candidate.id }],+ }));+ assert.deepEqual(fresh.plan.steps, []);+ assert.equal(fresh.plan.initialValues[0]?.conformance, "substitute");});test("changing the attached Value changes Overlay, realized Graph and BuildRequest identity", () => {