Repository navigation
Regime-2 emission shared fold - collapse boutique yaml gitignore runner_deploy serializers into one render over a shared std layout IR - model-checkpoint-gated to warm-lark-306 - #5614
Conversation
…latent §5 fail-open)
The regime-2 refactor's emit_inline_scalar_text dropped emit_scalar_string's
multiline '|' branch, so a multiline YamlString outside mapping-value position
(top-level scalar, bare sequence element) emitted embedded raw newlines —
broken YAML, a §5 fail-open. Latent (serialize_yaml's only consumer is ci.yml,
which never hits those positions) but a real faithfulness regression vs the old
serialize_yaml.
Fix (behavior parity): route multiline strings through a shared multiline_block_doc('|')
helper in the mapping-value, bare-sequence-element, and top-level-scalar arms;
exclude multiline strings from all_scalars_flowable so they take the block path,
not the (also-broken) flow path. ci.yml + .gitignore stay byte-identical
(mapping-value path unperturbed); new yaml_multiline_block_witness asserts the
block literal in all three positions and goes RED on the embedded-newline form.
Bundled: repoint stale prose in docs/plans/emission-ingestion-inverse.md (named
the deleted emit_yaml_value/emit_mapping_body).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Closing as superseded. This PR's stated purpose — collapse the boutique yaml/gitignore/runner_deploy serializers into one render over a shared std.layout IR — landed on Integrating current |
Auto-opened by session-dashboard for session
tidy-crane-536.Pushing to
session/tidy-crane-536advances this PR.Worker attestation
Before flipping this PR to ready for review, confirm each item:
npm test,cargo test) and the result.Closes #Ndirective.Summary
TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.
Test plan