Repository navigation
docs(emission): regime-2 shared-fold design (collapse boutique *_emit serializers) - #5578
Conversation
…t serializers Design doc for generalizing the pure-projection emitters (serialize_yaml / serialize_gitignore / serialize_runner_deploy) into ONE render(doc, protocol) fold over a shared std layout IR. Splits emission into regime-1 (grammar-inverse, round-trip-gated, bright-stag's lane) vs regime-2 (pure projection, emit-only, no round-trip oracle — §5 boundary). Worker authority for the dispatched build; scaffold-marked with dissolution into the v2 TargetModel grammar rows. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
CI failure at ba65dae is a runner-side sccache build flake, not a content issue: the job log shows |
|
CI failure at c336bdd is the sccache fleet-pressure build flake, not content: the job log shows |
Summary
Design doc for the regime-2 emission generalization — collapsing the boutique pure-projection serializers (
serialize_yaml,serialize_gitignore,serialize_runner_deploy) into onerender(doc, protocol)fold over a sharedstdlayout IR. This is the emit half that complements the gate unification (#5568, the commit/drift half).Key framing the doc establishes:
emission = ingestion⁻¹, round-trip-gated — languages; bright-stag's markdown lane) vs regime-2 (pure projection, emit-only, never parsed → no round-trip oracle, §5 honesty boundary).DocIR + per-formatSpellingprotocol record + onerenderfold;expected_X = render(project_X_to_doc(authority), X_protocol). Discriminator that keeps it honest: zero format-specific layout branches inrender.TargetModelgrammar rows at self-host.Docs-only; the worker authority for the dispatched build.
std.markdown/roadmap_emitare explicitly out of scope (bright-stag's regime-1 lane).Test plan
🤖 Generated with Claude Code