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

Generated: 2026-03-01T06:28:36.504Z Checklist: `MXA-0244` (ISIS2-00442) Asset
Family: `weapon-pack` Phase: Phase 4 | Milestone: M3 Launch (2026-07-27 to
2026-10-30)

## Objective

Expose weapon-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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `weapon-pack-baseline`            | `text-to-image` | `weapon_class`, `manufacturer_style`, `era_technology`, `faction_alignment`, `intended_use`, `scale_class`, `material_stack`, `silhouette_profile`, `grip_configuration`, `attachment_profile`, `condition_grade`, `safety_state`, `render_view_set`, `lighting_setup`, `color_palette_profile`, `emblem_policy`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `weapon-pack-image-conditioned`   | `text-to-image` | `style_reference_image`, `use_composition_reference`, `reference_strength`, `composition_strength`, `weapon_class`, `manufacturer_style`, `era_technology`, `faction_alignment`, `intended_use`, `scale_class`, `material_stack`, `silhouette_profile`, `grip_configuration`, `attachment_profile`, `condition_grade`, `safety_state`, `render_view_set`, `lighting_setup`, `color_palette_profile`, `emblem_policy`, `style_preset`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                                                     |
| `weapon-pack-control-conditioned` | `text-to-image` | `use_depth_control`, `use_segmentation_control`, `use_canny_control`, `depth_strength`, `segmentation_strength`, `canny_strength`, `weapon_class`, `manufacturer_style`, `era_technology`, `faction_alignment`, `intended_use`, `scale_class`, `material_stack`, `silhouette_profile`, `grip_configuration`, `attachment_profile`, `condition_grade`, `safety_state`, `render_view_set`, `lighting_setup`, `color_palette_profile`, `emblem_policy`, `style_preset`, `seed`, `width`, `height`, `steps`, `cfg_scale`                                                                                                                                                                                                                                                                                                      |
| `weapon-pack-consistency-locked`  | `text-to-image` | `continuity_profile_id`, `continuity_profile_revision`, `continuity_locked_dimensions`, `scene_profile_id`, `style_profile_id`, `scene_anchor_reference_image`, `use_scene_anchor_reference`, `use_layout_reference`, `use_lighting_reference`, `use_lens_reference`, `use_style_lock`, `weapon_class`, `manufacturer_style`, `era_technology`, `faction_alignment`, `intended_use`, `scale_class`, `material_stack`, `silhouette_profile`, `grip_configuration`, `attachment_profile`, `condition_grade`, `safety_state`, `render_view_set`, `lighting_setup`, `focal_length_mm`, `color_palette_profile`, `emblem_policy`, `style_preset`, `seed`, `width`, `height`, `steps`, `cfg_scale`, `scene_anchor_lock_strength`, `layout_lock_strength`, `lighting_lock_strength`, `lens_lock_strength`, `style_lock_strength` |

## SDK Surface

- Workflow resource method `runWeaponPack`: present
- Workflow resource method `runWeaponPackBaseline`: present
- Workflow resource method `runWeaponPackImageConditioned`: present
- Workflow resource method `runWeaponPackControlConditioned`: present
- Workflow resource method `runWeaponPackConsistencyLocked`: present
- Client shortcut `runWeaponPackBaseline`: present
- Client shortcut `runWeaponPackImageConditioned`: present
- Client shortcut `runWeaponPackControlConditioned`: present
- Client shortcut `runWeaponPackConsistencyLocked`: present
- Example helper `createWeaponPackEndToEndExamples`: present
- Example helper `executeWeaponPackEndToEndExamples`: present

## Verification Commands

- `pnpm --filter @isis/client exec vitest run src/resources/workflows.weapon-pack.spec.ts src/examples/weapon-pack.spec.ts`
- `pnpm --filter @isis/client exec tsup`

## Acceptance Criteria

- SDK exposes typed run methods for baseline, image-conditioned,
  control-conditioned, and consistency-locked weapon-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 weapon-pack workflow
  surface for downstream consumers.

## Traceability

- Checklist item: `MXA-0244`
- Ticket key: `ISIS2-00442`
- Source references:
  - `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_WEAPON_PACK_REQUIREMENTS_BRIEF.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_WEAPON_PACK_GENERATION_API_TYPED_REQUEST_CONTRACTS.json`
  - `libs/isis/client/src/resources/workflows.ts`
  - `libs/isis/client/src/resources/workflows.weapon-pack.spec.ts`
  - `libs/isis/client/src/examples/weapon-pack.ts`
  - `libs/isis/client/src/examples/weapon-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`
