Context
Flagged by Codex audit (docs/reference/spec-audit-pre-v0.3.0.md §2 under music).
music stream inherits flags from the shared music compose builder, but the OpenAPI schema for stream_compose does NOT include respect_sections_durations or sign_with_c2pa — only generate (non-streaming) + compose_detailed expose them.
What to do
- Verify via live probe: send
music stream "..." --sign-with-c2pa and check whether the returned bytes actually carry C2PA metadata (ffmpeg/exiftool).
- If silent-dropped: either gate these flags off on the stream path (exit 3 with a helpful suggestion directing to
music compose), or route to the non-stream endpoint when they're set.
- Add a code comment pointing at the spec path for future reviewers.
Files
src/commands/music/stream.rs
src/commands/music/mod.rs (shared builder)
src/cli.rs (MusicAction::Stream flags)
Acceptance
- Flags either take effect or are rejected client-side — no silent drops.
- Integration test + spec citation in source comment.
Context
Flagged by Codex audit (
docs/reference/spec-audit-pre-v0.3.0.md§2 under music).music streaminherits flags from the sharedmusic composebuilder, but the OpenAPI schema forstream_composedoes NOT includerespect_sections_durationsorsign_with_c2pa— onlygenerate(non-streaming) +compose_detailedexpose them.What to do
music stream "..." --sign-with-c2paand check whether the returned bytes actually carry C2PA metadata (ffmpeg/exiftool).music compose), or route to the non-stream endpoint when they're set.Files
src/commands/music/stream.rssrc/commands/music/mod.rs(shared builder)src/cli.rs(MusicAction::Stream flags)Acceptance