Add snow dcm compile and dependencies commands - #3082
Draft
sfc-gh-jsommerfeld wants to merge 3 commits into
Draft
Conversation
sfc-gh-jsommerfeld
marked this pull request as draft
June 4, 2026 00:17
sfc-gh-jsommerfeld
force-pushed
the
feature/dcm-dependencies
branch
3 times, most recently
from
June 8, 2026 19:09
004b720 to
3e74830
Compare
Rename the analyze-errors command to compile and have it download the server-rendered project definitions to rendered_definitions/ plus the raw response to compile.json (under --save-output). The output is reordered so the "Rendered definitions saved to:" line precedes the findings, followed by a trailing separator. Co-authored-by: Cursor <cursoragent@cursor.com>
Add `snow dcm dependencies`, which analyzes a DCM Project and writes a Markdown file containing a Mermaid flowchart of the object dependency graph (plus the rendered definitions under --save-output). Uses the unified compile-phase checklist (RENDER -> COMPILE) and shares the OUTPUT_FOLDER and rendered-definitions helpers with the compile command. Co-authored-by: Cursor <cursoragent@cursor.com>
sfc-gh-jsommerfeld
force-pushed
the
feature/dcm-dependencies
branch
from
June 8, 2026 19:53
3e74830 to
2445fae
Compare
sfc-gh-jsommerfeld
changed the base branch from
main
to
feature/dcm-analyze-improvements
June 8, 2026 19:54
9 tasks
Collapse the two divergent blues — the periwinkle hex #a0a8fe (refresh status / unknown rows) and the terminal-default named "blue" (running phase, progress bar/spinner, analyze INFO findings / file headers) — onto one BLUE constant in styles.py, and route progress.py's hardcoded style="blue" literals through it, so every blue in DCM output renders the same hue. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Combines the
snow dcm compileimprovements and the newsnow dcm dependenciescommand into a single PR (the formerdcm-compile-improvementsbranch has been folded in here).Summary
analyze-errors->compile; download server-rendered definitions torendered_definitions/and the raw response tocompile.json(under--save-output); reorder output so "Rendered definitions saved to:" precedes findings, followed by a trailing separator.snow dcm dependenciescommand that writes a Markdown file with a Mermaid flowchart of the object dependency graph; shares the rendered-definitions output withcompile.Stack
Based on #3070 (analyze) -> #3069 (deploy/plan/purge live progress) -> #3068 (upload progress + canonical phase model).
Test plan
tests/dcm/test_commands.py(compile, dependencies, deploy, plan, purge)tests/dcm/test_reporters/test_dependencies_reporter.pytests/dcm/test_progress.py,tests/dcm/test_utils.pyTestDCMTest/TestDCMRefresh.