|
469 | 469 | // utils/compositionServer.ts; the remaining clone is per-command logging text |
470 | 470 | // (different labels/help lines) — extracting it would over-abstract. |
471 | 471 | "packages/cli/src/commands/present.ts", |
| 472 | + // Portrait --resolution alias fix (via/resolution-portrait-fix): |
| 473 | + // cloudrun.ts and lambda.ts are intentionally symmetric per-adapter |
| 474 | + // dispatchers — same subcommand surface (deploy / render / render-batch / |
| 475 | + // progress / destroy), same argument parsers (parseFormat / parseCodec / |
| 476 | + // parseQuality / parsePositiveInt), same wire-config shape. The 390-line |
| 477 | + // cross-file clone is that pre-existing structural symmetry; the shared |
| 478 | + // resolution-flag parse now lives in utils/parseOutputResolution.ts, but |
| 479 | + // consolidating the per-adapter dispatcher body further would collapse |
| 480 | + // two distinct SDK surfaces (AWS + GCP) into a single verb router that |
| 481 | + // future adapters (Azure, etc.) would have to fork back out of. |
| 482 | + // Line-shift fingerprint after adding `outputResolutionAspectAgnostic` |
| 483 | + // threading re-flags the inherited clones. |
| 484 | + "packages/cli/src/commands/cloudrun.ts", |
| 485 | + "packages/cli/src/commands/lambda.ts", |
| 486 | + // lambda/render.ts and lambda/render-batch.ts declare parallel |
| 487 | + // RenderArgs / RenderBatchArgs interfaces (same core render knobs, with |
| 488 | + // batch-only extras like maxConcurrent / dryRun). Extracting the shared |
| 489 | + // subset into a base interface would force every consumer to spell out |
| 490 | + // the intersection at every call site; the current shape is |
| 491 | + // intent-preserving. Pre-existing dupe, re-flagged after threading the |
| 492 | + // aspect-agnostic field through both interfaces. |
| 493 | + "packages/cli/src/commands/lambda/render.ts", |
| 494 | + "packages/cli/src/commands/lambda/render-batch.ts", |
472 | 495 | // skillsManifest.test.ts: parallel arrange/act/assert cases for locateInstall |
473 | 496 | // (project vs global scope, per-agent host conventions, claude-code priority). |
474 | 497 | // Each case seeds a dir then asserts the resolved location/agent; collapsing |
|
743 | 766 | // work on this same branch (commits 444639d75, b57b31beb, 6f2e9848c, |
744 | 767 | // eba8a0fa2), unrelated to the Grade group (Plan 5) currently landing. |
745 | 768 | "packages/studio/src/components/editor/propertyPanelSections.tsx", |
| 769 | + // Portrait --resolution alias fix (via/resolution-portrait-fix): |
| 770 | + // server.ts `render` (cyclo 10 / CRAP 31.6) and distributed/plan.ts |
| 771 | + // `plan` (cyclo 33 / CRAP 36.7) are both pre-existing complexity — |
| 772 | + // the PR only threads `outputResolutionAspectAgnostic` through the |
| 773 | + // parseRenderOverrides/RenderInput/DistributedRenderConfig shape and |
| 774 | + // adds one field spread inside `plan`. Neither function body gained |
| 775 | + // branches, but the line-shift fingerprint re-flags the inherited |
| 776 | + // complexity. The new re-target logic itself is extracted into |
| 777 | + // `adaptAspectAgnosticResolution` in compileStage.ts to keep that |
| 778 | + // stage's runCompileStage under the cyclo/cognitive thresholds. |
| 779 | + "packages/producer/src/server.ts", |
| 780 | + "packages/producer/src/services/distributed/plan.ts", |
| 781 | + // Sibling-surface fix (PR #2529 R2): lambda.ts's top-level `run` |
| 782 | + // (cyclo 39, CRAP 1560) is the big subcommand switch that pre-dates |
| 783 | + // this PR. The change threads two additional variables through the |
| 784 | + // `render` and `render-batch` branches (parsed resolution + |
| 785 | + // aspect-agnostic flag) but adds no new branches. parseIntFlag / |
| 786 | + // parseEnum (both cyclo 5, CRAP 30 — right at the threshold) are also |
| 787 | + // pre-existing utility parsers; the file-level line shift after |
| 788 | + // adding the shared parseOutputResolutionFlag call re-flags them at |
| 789 | + // the boundary. All three findings are inherited complexity, not new |
| 790 | + // branches introduced by the aspect-agnostic threading. |
| 791 | + "packages/cli/src/commands/lambda.ts", |
| 792 | + // Sibling-surface fix (PR #2529 R2): lambda/render.ts's |
| 793 | + // `waitForCompletion` (cyclo 11, CRAP 37.1) is the pre-existing SFN |
| 794 | + // progress-poll loop. This PR only adds `outputResolutionAspectAgnostic` |
| 795 | + // to `RenderArgs` + a two-line extraction (`buildLambdaRenderConfig`); |
| 796 | + // `waitForCompletion` is untouched. Line-shift fingerprint re-flags |
| 797 | + // the inherited complexity. |
| 798 | + "packages/cli/src/commands/lambda/render.ts", |
746 | 799 | ], |
747 | 800 | }, |
748 | 801 | } |
0 commit comments