refactor(cli): decompose render phases#2172
Open
jrusso1020 wants to merge 1 commit into
Open
Conversation
This was referenced Jul 10, 2026
Collaborator
Author
This was referenced Jul 10, 2026
09f8ac2 to
67c643c
Compare
082c25a to
9402771
Compare
98c631f to
824aabd
Compare
9402771 to
0900be2
Compare
824aabd to
986549e
Compare
6ac2630 to
b25135a
Compare
2db5f94 to
e503793
Compare
b25135a to
048e377
Compare
e503793 to
a7b83d2
Compare
048e377 to
21ec7d3
Compare
a7b83d2 to
aeb6ac3
Compare
21ec7d3 to
9c9d022
Compare
aeb6ac3 to
5745dea
Compare
9c9d022 to
494b543
Compare
5745dea to
95f3b3d
Compare
494b543 to
991430b
Compare
95f3b3d to
e3bcd5a
Compare
991430b to
807e86c
Compare
e3bcd5a to
c4d49b9
Compare
807e86c to
02cb4e2
Compare
c4d49b9 to
d7ee865
Compare
02cb4e2 to
7cb9533
Compare
d7ee865 to
59c8c85
Compare
7cb9533 to
4bf71a5
Compare
4bf71a5 to
0946378
Compare
59c8c85 to
0e1b672
Compare
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
Decompose the CLI render command into explicit plan, execute, and present phases.
Why
The monolithic handler mixed validation, environment mutation, rendering, progress, cleanup, and output formatting, making lifecycle bugs and batch JSON corruption easy to introduce.
How
Build an immutable RenderPlan, keep environment changes declarative, execute through one lifecycle boundary, and make presentation emit exactly one final JSON document in batch mode.
Test plan