Add informational story annotation to the scene DSL#8
Merged
Conversation
Each scene can now carry a freeform story field describing its theme, mood and dramatic intent. Like title, it is informational only — it never affects compiled output (guarded by a byte-identity E2E test) — and is echoed into meta.json so downstream review agents can audit the music against its intended story. Per the scene-protocol extension gates: optional with an absent-equals- before default, happy-path E2E + failure-path tests, docs and the acceptance matrix updated in the same change. The roadmap's rejection of semantic story/character fields is untouched; a boundary note marks this as a zero-semantics annotation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
What
Adds an optional
storyfield to the scene document: a freeform narrative description (theme, mood, dramatic intent) that downstream agents can use to review the compiled music against its intended story.Design
title— zero compile semantics; a scene withstoryproduces byte-identical MIDI to the same scene without it.meta.json(single-scene output and suite manifest) so the compiled artifact is self-describing for agent review pipelines.character: {regret: 0.9}, roadmap): that ruling concerned fields with musical meaning but no deterministic compile semantics. This is a pure annotation; a boundary note indocs/roadmap.mdrecords the distinction.Protocol extension gates (scene-protocol.md)
forest.yamlnow carries a storystory_is_informational_and_never_affects_midi_bytes(validate + with/without byte comparison)validate_rejects_non_string_story_with_locationbuild_full_chain_scene_to_ogg;schemaoutput assertiondocs/roadmap.mdValidation
make checkfully green:cargo fmt --check,clippy -D warnings, all 74 E2E tests.