# ISIS v2 Decal Pack SDK End-to-End Examples

Generated: 2026-03-01T22:39:34.916Z Checklist: `MXA-0352` (ISIS2-00550) Asset
Family: `decal-pack` Phase: Phase 4 | Milestone: M3 Launch (2026-07-27 to
2026-10-30)

## Objective

Expose decal-pack workflows via @isis/client with typed SDK request contracts
and end-to-end example builders covering direct runs, chained orchestration, and
batch variants.

## Typed Workflow Contracts

| Workflow ID                      | Generation Type | Required Parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `decal-pack-baseline`            | `text-to-image` | `decal_subject`, `decal_category`, `decal_style_family`, `silhouette_profile`, `edge_treatment`, `wear_profile`, `substrate_target`, `adhesion_context`, `transparency_mode`, `print_process`, `contrast_target`, `roughness_profile`, `metallic_profile`, `normal_intensity_profile`, `tileability_mode`, `scale_class`, `color_palette_profile`, `platform_target`, `render_intent`, `checkpoint_id`, `prompt_template_id`, `style_profile_id`, `color_script`, `lens_profile`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `decal-pack-image-conditioned`   | `text-to-image` | `style_reference_image`, `use_composition_reference`, `reference_strength`, `composition_strength`, `style_preset`, `decal_subject`, `decal_category`, `decal_style_family`, `silhouette_profile`, `edge_treatment`, `wear_profile`, `substrate_target`, `adhesion_context`, `transparency_mode`, `print_process`, `contrast_target`, `roughness_profile`, `metallic_profile`, `normal_intensity_profile`, `tileability_mode`, `scale_class`, `color_palette_profile`, `platform_target`, `render_intent`, `checkpoint_id`, `prompt_template_id`, `style_profile_id`, `color_script`, `lens_profile`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                                                          |
| `decal-pack-control-conditioned` | `text-to-image` | `use_pose_control`, `use_depth_control`, `use_segmentation_control`, `pose_strength`, `depth_strength`, `segmentation_strength`, `decal_control_preset`, `decal_subject`, `decal_category`, `decal_style_family`, `silhouette_profile`, `edge_treatment`, `wear_profile`, `substrate_target`, `adhesion_context`, `transparency_mode`, `print_process`, `contrast_target`, `roughness_profile`, `metallic_profile`, `normal_intensity_profile`, `tileability_mode`, `scale_class`, `color_palette_profile`, `platform_target`, `render_intent`, `checkpoint_id`, `prompt_template_id`, `style_profile_id`, `color_script`, `lens_profile`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                     |
| `decal-pack-consistency-locked`  | `text-to-image` | `continuity_profile_id`, `continuity_profile_revision`, `continuity_locked_dimensions`, `decal_scene_profile_id`, `decal_scale_reference`, `decal_finish_preset`, `style_profile_id`, `checkpoint_id`, `prompt_template_id`, `color_script`, `lens_profile`, `decal_anchor_reference_image`, `use_decal_anchor_reference`, `use_placement_reference`, `use_lighting_reference`, `use_lens_reference`, `use_style_lock`, `decal_subject`, `decal_category`, `decal_style_family`, `silhouette_profile`, `edge_treatment`, `wear_profile`, `substrate_target`, `adhesion_context`, `transparency_mode`, `print_process`, `contrast_target`, `roughness_profile`, `metallic_profile`, `normal_intensity_profile`, `tileability_mode`, `scale_class`, `color_palette_profile`, `platform_target`, `render_intent`, `seed`, `width`, `height`, `steps`, `cfg_scale`, `decal_anchor_lock_strength`, `placement_lock_strength`, `lighting_lock_strength`, `lens_lock_strength`, `style_lock_strength` |

## SDK Surface Checks

| Category          | Method                             | Present |
| ----------------- | ---------------------------------- | ------- |
| workflow-resource | `runDecalPack`                     | true    |
| workflow-resource | `runDecalPackBaseline`             | true    |
| workflow-resource | `runDecalPackImageConditioned`     | true    |
| workflow-resource | `runDecalPackControlConditioned`   | true    |
| workflow-resource | `runDecalPackConsistencyLocked`    | true    |
| client-shortcut   | `runDecalPackBaseline`             | true    |
| client-shortcut   | `runDecalPackImageConditioned`     | true    |
| client-shortcut   | `runDecalPackControlConditioned`   | true    |
| client-shortcut   | `runDecalPackConsistencyLocked`    | true    |
| examples-module   | `createDecalPackEndToEndExamples`  | true    |
| examples-module   | `executeDecalPackEndToEndExamples` | true    |

## Verification Commands

- `pnpm --filter @isis/client exec vitest run src/resources/workflows.decal-pack.spec.ts src/examples/decal-pack.spec.ts`
- `pnpm --filter @isis/client exec vitest run src/resources/workflows.route-parity.spec.ts`

## Acceptance Criteria

- SDK exposes typed run methods for baseline, image-conditioned,
  control-conditioned, and consistency-locked decal-pack workflows.
- SDK runtime validation rejects invalid generation types and malformed variant
  parameters before transport dispatch.
- SDK exports end-to-end examples for direct runs plus chain and batch
  orchestration payloads.
- SDK root exports and client shortcut methods expose the decal-pack workflow
  surface for downstream consumers.

## Traceability

- Checklist item: `MXA-0352`
- Ticket key: `ISIS2-00550`
- Source references:
  - `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_DECAL_PACK_REQUIREMENTS_BRIEF.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_DECAL_PACK_GENERATION_API_TYPED_REQUEST_CONTRACTS.json`
  - `libs/isis/client/src/resources/workflows.ts`
  - `libs/isis/client/src/resources/workflows.decal-pack.spec.ts`
  - `libs/isis/client/src/examples/decal-pack.ts`
  - `libs/isis/client/src/examples/decal-pack.spec.ts`
  - `libs/isis/client/src/client.ts`
  - `libs/isis/client/src/index.ts`
  - `libs/isis/client/src/resources/index.ts`
  - `ISIS_TODOS_2.md`
