feat(config): define renderflow execution spec v2 - #372
Merged
Conversation
Introduce the versioned execution-intent contract for arbitrary source artifacts, ordered collections, derivative profiles, maximal target selection, explicit execution policy, and deterministic output layout. Keep unversioned v1 configuration behind an explicit compatibility and migration path. Emit structured field-path diagnostics and publish the runtime-owned JSON Schema through CLI and generated documentation. Closes #353
szmyty
force-pushed
the
feat/spec-v2-353
branch
from
September 1, 2026 01:53
958abe3 to
7cd761a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Defines the versioned Renderflow execution specification v2 required by #353 while preserving the existing unversioned configuration through an explicit v1 compatibility path.
This PR establishes the declarative contract that #354 can consume for canonical planning/execution without prematurely rewriting the current build engine.
Architecture
schema: renderflow/v2as an explicit execution-spec identifier.all_reachable, and include/exclude selectors by format, family, capability, transform, and profile.presetvalues so publication bundles and encoder/quality settings remain unambiguous.Compatibility and migration
renderflow spec migratedeterministically maps current v1 intent into v2, preserving source format/detection behavior, output targets, templates, output presets, variables, optimization mode, output directory, and transform registry path.Validation and schema
$.sources[1].idand$.execution.max_parallel.renderflow spec schema.renderflow spec validatewith text/JSON/YAML reporting.Documentation
renderflow/v2example.Boundary
#353 defines source/target/policy intent, compatibility, validation, migration, and the machine-readable schema. It does not duplicate or preempt #354's canonical planner/executor work. This keeps configuration intent separate from the resolved execution plan.
Final validation
Final review commit:
7cd761acbcabf88942845ecadd0e357768013126(single Conventional Commit).All PR-triggered workflows passed on that exact SHA:
33460471072— success33460471031— success33460471008/33460480708— successCloses #353