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
e3bcd5a to
c4d49b9
Compare
807e86c to
02cb4e2
Compare
c4d49b9 to
d7ee865
Compare
02cb4e2 to
7cb9533
Compare
d7ee865 to
59c8c85
Compare
4bf71a5 to
0946378
Compare
0e1b672 to
b697469
Compare
24c93b9 to
ee1e8fd
Compare
8ea5a53 to
32efa63
Compare
ee1e8fd to
31ebbda
Compare
32efa63 to
e4fa818
Compare
3bd8775 to
841ca28
Compare
e4fa818 to
119c3a7
Compare
841ca28 to
99291ad
Compare
119c3a7 to
95c5ca5
Compare
99291ad to
260558c
Compare
95c5ca5 to
138681f
Compare
260558c to
f6dfed1
Compare
15bbbc2 to
f16b507
Compare
50cf30c to
a36d53c
Compare
f16b507 to
57ef434
Compare
57ef434 to
a24f174
Compare
a36d53c to
23fae65
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