# ISIS v2 Architecture Kitbash Pack Control-Conditioned Workflow Graph

Generated: 2026-08-02T14:11:46.846Z Checklist: `MXA-0184` (ISIS2-00382) Asset
Family: `architecture-kitbash-pack` Phase: Phase 4 | Milestone: M3 Launch
(2026-07-27 to 2026-10-30)

## Objective

Define a control-conditioned workflow graph for architecture-kitbash-pack that
supports pose/depth/segmentation/normal/canny/lineart constraints while
preserving deterministic modular-kit atlas defaults.

## Deterministic Defaults

| Setting                    | Value                                     |
| -------------------------- | ----------------------------------------- |
| `checkpointModel`          | `sd_xl_base_1.0.safetensors`              |
| `seed`                     | `2026110404`                              |
| `width`                    | `2048`                                    |
| `height`                   | `2048`                                    |
| `steps`                    | `32`                                      |
| `cfgScale`                 | `5.9`                                     |
| `samplerName`              | `dpmpp_2m_sde`                            |
| `scheduler`                | `karras`                                  |
| `denoise`                  | `1`                                       |
| `poseControlModel`         | `control_v11p_sd15_openpose.safetensors`  |
| `depthControlModel`        | `control_v11f1p_sd15_depth.safetensors`   |
| `segmentationControlModel` | `control_v11p_sd15_seg.safetensors`       |
| `normalControlModel`       | `control_v11p_sd15_normalbae.safetensors` |
| `cannyControlModel`        | `control_v11p_sd15_canny.safetensors`     |
| `lineartControlModel`      | `control_v11p_sd15_lineart.safetensors`   |
| `poseStrength`             | `0.7`                                     |
| `depthStrength`            | `0.72`                                    |
| `segmentationStrength`     | `0.6`                                     |
| `normalStrength`           | `0.64`                                    |
| `cannyStrength`            | `0.66`                                    |
| `lineartStrength`          | `0.62`                                    |
| `batchSize`                | `1`                                       |
| `outputFormat`             | `png`                                     |
| `outputChannels`           | `4`                                       |

## Input Contract

| Input                       | Type    | Required | Default                                                                                                                                                                                     |
| --------------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pose_map`                  | image   | no       | n/a                                                                                                                                                                                         |
| `depth_map`                 | image   | no       | n/a                                                                                                                                                                                         |
| `segmentation_map`          | image   | no       | n/a                                                                                                                                                                                         |
| `normal_map`                | image   | no       | n/a                                                                                                                                                                                         |
| `canny_map`                 | image   | no       | n/a                                                                                                                                                                                         |
| `lineart_map`               | image   | no       | n/a                                                                                                                                                                                         |
| `use_pose_control`          | boolean | yes      | `false`                                                                                                                                                                                     |
| `use_depth_control`         | boolean | yes      | `true`                                                                                                                                                                                      |
| `use_segmentation_control`  | boolean | yes      | `false`                                                                                                                                                                                     |
| `use_normal_control`        | boolean | yes      | `false`                                                                                                                                                                                     |
| `use_canny_control`         | boolean | yes      | `true`                                                                                                                                                                                      |
| `use_lineart_control`       | boolean | yes      | `false`                                                                                                                                                                                     |
| `pose_strength`             | float   | yes      | `0.7`                                                                                                                                                                                       |
| `depth_strength`            | float   | yes      | `0.72`                                                                                                                                                                                      |
| `segmentation_strength`     | float   | yes      | `0.6`                                                                                                                                                                                       |
| `normal_strength`           | float   | yes      | `0.64`                                                                                                                                                                                      |
| `canny_strength`            | float   | yes      | `0.66`                                                                                                                                                                                      |
| `lineart_strength`          | float   | yes      | `0.62`                                                                                                                                                                                      |
| `kitbash_theme`             | enum    | yes      | `fortified-citadel`                                                                                                                                                                         |
| `architectural_epoch`       | enum    | yes      | `medieval`                                                                                                                                                                                  |
| `region_context`            | enum    | yes      | `mountainous`                                                                                                                                                                               |
| `structure_scale`           | enum    | yes      | `city-block`                                                                                                                                                                                |
| `module_family`             | enum    | yes      | `foundation-wall-roof`                                                                                                                                                                      |
| `assembly_grid_profile`     | enum    | yes      | `2m-grid`                                                                                                                                                                                   |
| `facade_material_profile`   | enum    | yes      | `weathered-stone`                                                                                                                                                                           |
| `atlas_layout`              | enum    | yes      | `4x4-2048`                                                                                                                                                                                  |
| `texel_density_class`       | enum    | yes      | `gameplay-standard`                                                                                                                                                                         |
| `material_response_profile` | enum    | yes      | `pbr-neutral`                                                                                                                                                                               |
| `lighting_reference`        | enum    | yes      | `neutral-overcast`                                                                                                                                                                          |
| `color_palette_profile`     | string  | yes      | `weathered sandstone, oxidized copper accents, muted moss greens, low-saturation neutrals`                                                                                                  |
| `style_preset`              | enum    | yes      | `stylized`                                                                                                                                                                                  |
| `negative_prompt`           | string  | no       | `blurry, low resolution, visible seams, non-tileable motifs, broken edge continuity, stretched texels, noisy compression artifacts, duplicated structures, text, watermark, jpeg artifacts` |
| `seed`                      | integer | yes      | `2026110404`                                                                                                                                                                                |
| `width`                     | integer | yes      | `2048`                                                                                                                                                                                      |
| `height`                    | integer | yes      | `2048`                                                                                                                                                                                      |
| `steps`                     | integer | yes      | `32`                                                                                                                                                                                        |
| `cfg_scale`                 | float   | yes      | `5.9`                                                                                                                                                                                       |

## Graph Nodes

| Node ID | Class                    | Role                       | Output Count |
| ------- | ------------------------ | -------------------------- | ------------ |
| `n1`    | `LoadImage`              | depth-control-input        | 2            |
| `n2`    | `LoadImage`              | segmentation-control-input | 2            |
| `n3`    | `LoadImage`              | canny-control-input        | 2            |
| `n4`    | `CheckpointLoaderSimple` | model-load                 | 3            |
| `n5`    | `ControlNetLoader`       | depth-control-load         | 1            |
| `n6`    | `ControlNetLoader`       | segmentation-control-load  | 1            |
| `n7`    | `ControlNetLoader`       | canny-control-load         | 1            |
| `n8`    | `CLIPTextEncode`         | positive-conditioning      | 1            |
| `n9`    | `CLIPTextEncode`         | negative-conditioning      | 1            |
| `n10`   | `ControlNetApply`        | depth-control-apply        | 1            |
| `n11`   | `ControlNetApply`        | segmentation-control-apply | 1            |
| `n12`   | `ControlNetApply`        | canny-control-apply        | 1            |
| `n13`   | `EmptyLatentImage`       | latent-init                | 1            |
| `n14`   | `KSampler`               | latent-sample              | 1            |
| `n15`   | `VAEDecode`              | image-decode               | 1            |
| `n16`   | `SaveImage`              | artifact-output            | 0            |
| `n17`   | `LoadImage`              | pose-control-input         | 2            |
| `n18`   | `LoadImage`              | normal-control-input       | 2            |
| `n19`   | `LoadImage`              | lineart-control-input      | 2            |
| `n20`   | `ControlNetLoader`       | pose-control-load          | 1            |
| `n21`   | `ControlNetLoader`       | normal-control-load        | 1            |
| `n22`   | `ControlNetLoader`       | lineart-control-load       | 1            |
| `n23`   | `ControlNetApply`        | pose-control-apply         | 1            |
| `n24`   | `ControlNetApply`        | normal-control-apply       | 1            |
| `n25`   | `ControlNetApply`        | lineart-control-apply      | 1            |

## Graph Edges

| Edge ID | From    | To                 |
| ------- | ------- | ------------------ |
| `e1`    | `n4:0`  | `n14.model`        |
| `e2`    | `n4:1`  | `n8.clip`          |
| `e3`    | `n4:1`  | `n9.clip`          |
| `e4`    | `n4:2`  | `n15.vae`          |
| `e5`    | `n8:0`  | `n23.conditioning` |
| `e6`    | `n5:0`  | `n10.control_net`  |
| `e7`    | `n1:0`  | `n10.image`        |
| `e8`    | `n10:0` | `n11.conditioning` |
| `e9`    | `n6:0`  | `n11.control_net`  |
| `e10`   | `n2:0`  | `n11.image`        |
| `e11`   | `n11:0` | `n24.conditioning` |
| `e12`   | `n7:0`  | `n12.control_net`  |
| `e13`   | `n3:0`  | `n12.image`        |
| `e14`   | `n12:0` | `n25.conditioning` |
| `e15`   | `n9:0`  | `n14.negative`     |
| `e16`   | `n13:0` | `n14.latent_image` |
| `e17`   | `n14:0` | `n15.samples`      |
| `e18`   | `n15:0` | `n16.images`       |
| `e19`   | `n20:0` | `n23.control_net`  |
| `e20`   | `n17:0` | `n23.image`        |
| `e21`   | `n23:0` | `n10.conditioning` |
| `e22`   | `n21:0` | `n24.control_net`  |
| `e23`   | `n18:0` | `n24.image`        |
| `e24`   | `n24:0` | `n12.conditioning` |
| `e25`   | `n22:0` | `n25.control_net`  |
| `e26`   | `n19:0` | `n25.image`        |
| `e27`   | `n25:0` | `n14.positive`     |

## Topological Node Order

`n1` -> `n13` -> `n17` -> `n18` -> `n19` -> `n2` -> `n20` -> `n21` -> `n22` ->
`n3` -> `n4` -> `n5` -> `n6` -> `n7` -> `n8` -> `n23` -> `n10` -> `n11` -> `n24`
-> `n12` -> `n25` -> `n9` -> `n14` -> `n15` -> `n16`

## Research Alignment

| Workflow                       | Path                                                                  | Control Nodes |
| ------------------------------ | --------------------------------------------------------------------- | ------------- |
| AnimateDiff with ControlNet    | `libs/isis/workflows/src/workflows/video/animatediff-controlnet.json` | 2             |
| HDRI Environment Map Generator | `libs/isis/workflows/src/workflows/texture/environment-map.json`      | 0             |
| 3D Texture Generator           | `libs/isis/workflows/src/workflows/texture/3d-texture.json`           | 0             |

## Acceptance Criteria

- Graph is acyclic and topologically sortable.
- Depth/segmentation/canny control paths are explicitly represented through
  ControlNet loaders and apply nodes.
- At least one control mode can be enabled per run without breaking
  deterministic sampler/model defaults.
- Output contract aligns to MXA-0181 required output classes.
- Architecture kitbash module, grid, and facade-material fields are first-class
  required inputs for controlled generation.

## Traceability

- Checklist item: `MXA-0184`
- Ticket key: `ISIS2-00382`
- Source references:
  - `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_ARCHITECTURE_KITBASH_PACK_REQUIREMENTS_BRIEF.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_ARCHITECTURE_KITBASH_PACK_BASELINE_WORKFLOW_GRAPH.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_ARCHITECTURE_KITBASH_PACK_IMAGE_CONDITIONED_WORKFLOW_GRAPH.json`
  - `libs/isis/workflows/src/workflows/video/animatediff-controlnet.json`
  - `libs/isis/workflows/src/workflows/texture/environment-map.json`
  - `libs/isis/workflows/src/workflows/texture/3d-texture.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_CONTROL_TAXONOMY.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_OUTPUT_PACKAGE_TAXONOMY.json`
  - `ISIS_TODOS_2.md`
