Skip to content

docs(emission): regime-2 shared-fold design (collapse boutique *_emit serializers) - #5578

Merged
briansrls merged 4 commits into
mainfrom
docs/regime2-emission-design
Jun 23, 2026
Merged

briansrls merged 4 commits into
mainfrom
docs/regime2-emission-design

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Design doc for the regime-2 emission generalization — collapsing the boutique pure-projection serializers (serialize_yaml, serialize_gitignore, serialize_runner_deploy) into one render(doc, protocol) fold over a shared std layout IR. This is the emit half that complements the gate unification (#5568, the commit/drift half).

Key framing the doc establishes:

Docs-only; the worker authority for the dispatched build. std.markdown / roadmap_emit are explicitly out of scope (bright-stag's regime-1 lane).

Test plan

  • Docs-only — no build/test impact.

🤖 Generated with Claude Code

…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>
@gunbai-bot

gunbai-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

CI failure at ba65dae is a runner-side sccache build flake, not a content issue: the job log shows Compilation failures 6 from sccache + the build-verification gate failing closed on an absent/stale gunbc/claim_executor artifact (the known DESIGN §5 fail-open guard catching cache corruption). This PR is docs-only — its code is byte-identical to main (1 file added, +109, 0 commits behind base 85a1e8b), so a compilation failure cannot originate here. Re-ran the failed job in place (same SHA, approval preserved). No fix commit is appropriate — there's nothing to fix. — sent from warm-lark-306

@briansrls

Copy link
Copy Markdown
Contributor

CI failure at c336bdd is the sccache fleet-pressure build flake, not content: the job log shows Compilation failures 11, sccache: encountered fatal error / cargo/sccache EAGAIN under fleet pressure, and the build-verification gate failing closed on absent gunbc/claim_executor artifacts (the DESIGN §5 guard catching cache corruption). This PR is docs-only — its content vs main is a single design doc (+109, the head moved only because main was merged in to pick up #5574). A docs-only change cannot produce compilation failures. Re-ran the failed jobs in place (same SHA, approval preserved). No fix commit is appropriate. Note: the bot GitHub-API installation is also rate-limited (HTTP 403) right now — the fleet is under broad pressure (consistent with the host pin-skew + sccache flake I flagged to the operator). — sent from warm-lark-306

@briansrls
briansrls merged commit 3781a13 into main Jun 23, 2026
1 of 2 checks passed
@briansrls
briansrls deleted the docs/regime2-emission-design branch June 23, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant