# ISIS v2 Terrain Heightmap Pack Canonical Requirements Brief

Generated: 2026-08-02T18:14:04.429Z Checklist: `MXA-0361` (ISIS2-00559) Asset
Family: `terrain-heightmap-pack` Phase: Phase 4 | Milestone: M3 Launch
(2026-07-27 to 2026-10-30)

## Objective

Define a canonical implementation contract for `terrain-heightmap-pack` so
workflow design, contract exposure, operational rollout, and quality
certification execute with measurable, release-gated criteria.

## Scope

### In Scope

- Workflow family requirements spanning baseline, conditioned, and
  consistency-locked variants.
- Control, consistency, output package, and surface parity requirements for
  terrain elevation, slope, erosion, and seam fidelity.
- Success metrics and explicit failure criteria tied to Matrix A delivery
  tickets.

### Out of Scope

- Implementation details for non-terrain-heightmap asset families.
- Provider-specific low-level node wiring beyond declared dependency/control
  contracts.

## Baseline Assessment

- Related baseline workflow count: 5
- Missing required controls in related baseline: ipadapter-style,
  ipadapter-composition
- Current control-mode pass rate (global baseline): 81.58%
- Current required control quality average (selected controls): 0.975

### Existing Related Workflows

| Workflow ID              | Asset Family                    | Output Profile          | Controls                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------ | ------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `3d-texture`             | `game-pbr-texture-material-set` | `game-ready-3d-profile` | camera-lock, color-script-lock, controlnet-depth, controlnet-normal, controlnet-tile, depth-constraint, identity-adapter, latent-reuse, model-lock, palette-lock, pose-constraint, prompt-template-lock, reference-ensemble, sampler-scheduler-lock, scene-lock, seed-lock, style-anchor, style-lock, temporal-lock, wardrobe-lock                                                                                                                                                                                                         |
| `animatediff-controlnet` | `film-previs-blocking-reel`     | `video-master-profile`  | camera-lock, camera-path-guide, color-script-lock, controlnet-canny, controlnet-depth, controlnet-lineart, controlnet-normal, controlnet-pose, controlnet-scribble, controlnet-segmentation, controlnet-softedge, depth-constraint, identity-adapter, identity-lock, keyframe-anchor-lock, latent-reuse, model-lock, motion-vector-lock, openpose-sequence, palette-lock, pose-constraint, prompt-template-lock, reference-ensemble, sampler-scheduler-lock, scene-lock, seed-lock, style-anchor, style-lock, temporal-lock, wardrobe-lock |
| `environment-map`        | `game-skybox-hdri-pack`         | `game-ready-3d-profile` | camera-lock, color-script-lock, controlnet-depth, depth-constraint, identity-adapter, latent-reuse, lens-profile-lock, model-lock, palette-lock, pose-constraint, prompt-template-lock, reference-ensemble, sampler-scheduler-lock, scene-lock, seed-lock, style-anchor, style-lock, temporal-lock, wardrobe-lock                                                                                                                                                                                                                          |
| `mandala-3d`             | `game-pbr-texture-material-set` | `game-ready-3d-profile` | camera-lock, color-script-lock, controlnet-depth, controlnet-normal, controlnet-tile, depth-constraint, identity-adapter, latent-reuse, lens-profile-lock, model-lock, palette-lock, pose-constraint, prompt-template-lock, reference-ensemble, sampler-scheduler-lock, scene-lock, seed-lock, style-anchor, style-lock, temporal-lock, wardrobe-lock                                                                                                                                                                                      |
| `sfx-sound-designer`     | `film-vfx-element-library`      | `audio-master-profile`  | camera-lock, color-script-lock, depth-constraint, identity-adapter, latent-reuse, model-lock, palette-lock, pose-constraint, prompt-template-lock, reference-ensemble, sampler-scheduler-lock, scene-lock, seed-lock, style-anchor, style-lock, temporal-lock, wardrobe-lock                                                                                                                                                                                                                                                               |

## Canonical Requirements

### Output Package Contract Baseline

| Output Class        | Required Package Classes                |
| ------------------- | --------------------------------------- |
| `preview_image`     | `preview`, `metadata`, `manifest`       |
| `source_frames`     | `source-frames`, `metadata`, `manifest` |
| `metadata_manifest` | `metadata`, `manifest`                  |

### Required Controls

| Control                   | Category           | Coverage Baseline | Quality Baseline |
| ------------------------- | ------------------ | ----------------- | ---------------- |
| `seed-lock`               | determinism        | 5 workflows       | 1.000            |
| `sampler-scheduler-lock`  | determinism        | 5 workflows       | 1.000            |
| `model-lock`              | determinism        | 5 workflows       | 1.000            |
| `prompt-template-lock`    | determinism        | 5 workflows       | 1.000            |
| `style-lock`              | style-and-identity | 5 workflows       | 1.000            |
| `color-script-lock`       | style-and-identity | 5 workflows       | 1.000            |
| `ipadapter-style`         | reference-guidance | 0 workflows       | 0.900            |
| `ipadapter-composition`   | reference-guidance | 0 workflows       | 0.900            |
| `controlnet-pose`         | spatial-guidance   | 1 workflows       | 1.000            |
| `controlnet-depth`        | spatial-guidance   | 4 workflows       | 1.000            |
| `controlnet-segmentation` | spatial-guidance   | 1 workflows       | 1.000            |
| `controlnet-normal`       | spatial-guidance   | 3 workflows       | 1.000            |
| `controlnet-canny`        | spatial-guidance   | 1 workflows       | 0.950            |
| `controlnet-lineart`      | spatial-guidance   | 1 workflows       | 0.950            |
| `lens-profile-lock`       | camera-and-motion  | 2 workflows       | 0.925            |

### Functional Requirements

| ID      | Checklist  | Requirement                                                                                                                                                   |
| ------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `F-000` | `MXA-0361` | Publish a canonical, machine-readable requirements brief for `terrain-heightmap-pack` that defines scope, constraints, success metrics, and failure criteria. |
| `F-001` | `MXA-0362` | Design baseline workflow graph for `terrain-heightmap-pack` with deterministic defaults.                                                                      |
| `F-002` | `MXA-0363` | Design image-conditioned variant workflow for `terrain-heightmap-pack`.                                                                                       |
| `F-003` | `MXA-0364` | Design control-conditioned variant workflow for `terrain-heightmap-pack` (pose/depth/segmentation where applicable).                                          |
| `F-004` | `MXA-0365` | Design consistency-locked variant workflow for `terrain-heightmap-pack` with continuity profile support.                                                      |
| `F-005` | `MXA-0366` | Define model/node dependency manifest for `terrain-heightmap-pack` workflows.                                                                                 |
| `F-006` | `MXA-0367` | Define output package contract for `terrain-heightmap-pack` including file naming and metadata manifest.                                                      |
| `F-007` | `MXA-0368` | Add workflow templates and presets for `terrain-heightmap-pack` production tiers (draft/final/hero).                                                          |
| `F-008` | `MXA-0369` | Expose `terrain-heightmap-pack` workflows via generation API with typed request contracts.                                                                    |
| `F-009` | `MXA-0370` | Expose `terrain-heightmap-pack` workflows via SDK with end-to-end examples.                                                                                   |
| `F-010` | `MXA-0371` | Expose `terrain-heightmap-pack` workflows in web UI with ergonomic form controls and validation.                                                              |
| `F-011` | `MXA-0372` | Implement side-by-side comparison tools for `terrain-heightmap-pack` outputs.                                                                                 |
| `F-012` | `MXA-0373` | Map `terrain-heightmap-pack` workflows to RunPod endpoint classes and sizing policies.                                                                        |
| `F-013` | `MXA-0374` | Add `terrain-heightmap-pack` cost estimation and budget guardrails.                                                                                           |
| `F-014` | `MXA-0375` | Add `terrain-heightmap-pack` quality evaluator and threshold-based acceptance gate.                                                                           |
| `F-015` | `MXA-0376` | Add `terrain-heightmap-pack` regression tests and golden datasets.                                                                                            |
| `F-016` | `MXA-0377` | Add `terrain-heightmap-pack` external integration recipe for downstream tools/systems.                                                                        |
| `F-017` | `MXA-0378` | Publish `terrain-heightmap-pack` operator and creator documentation with troubleshooting.                                                                     |

### Non-Functional Requirements

| ID       | Title                            | Verification                                                                                                                                                                                                                                                                       |
| -------- | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NF-001` | Deterministic replay reliability | Replay the approved golden set over two independent runs and compute reproducibility pass ratio.                                                                                                                                                                                   |
| `NF-002` | Control coverage completeness    | Run contract and UX coverage checks against control IDs: seed-lock, style-lock, color-script-lock, ipadapter-style, ipadapter-composition, controlnet-pose, controlnet-depth, controlnet-segmentation, controlnet-normal, controlnet-canny, controlnet-lineart, lens-profile-lock. |
| `NF-003` | Output package integrity         | Validate output package contract and checksum manifest presence for each golden output.                                                                                                                                                                                            |
| `NF-004` | Operational budget guardrails    | Evaluate p95 runtime/cost telemetry against policy thresholds and enforce rejection when guardrails fail.                                                                                                                                                                          |
| `NF-005` | External integration readiness   | Pass external integration cookbook examples and operator runbook smoke checks.                                                                                                                                                                                                     |

## Success Metrics

| Metric   | Target                                                                                                                           | Baseline                                                                            | Linked Checklist IDs                                                                                                                                                                                       |
| -------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `SM-001` | >= 4 certified workflows (baseline, image-conditioned, control-conditioned, consistency-locked).                                 | 0 workflows currently mapped to `terrain-heightmap-pack`.                           | `MXA-0362`, `MXA-0363`, `MXA-0364`, `MXA-0365`, `MXA-0376`                                                                                                                                                 |
| `SM-002` | 17/17 downstream tickets DONE by milestone end date.                                                                             | 17/17 downstream tickets are DONE at report generation.                             | `MXA-0362`, `MXA-0363`, `MXA-0364`, `MXA-0365`, `MXA-0366`, `MXA-0367`, `MXA-0368`, `MXA-0369`, `MXA-0370`, `MXA-0371`, `MXA-0372`, `MXA-0373`, `MXA-0374`, `MXA-0375`, `MXA-0376`, `MXA-0377`, `MXA-0378` |
| `SM-003` | 15/15 required controls implemented and exposed.                                                                                 | 13/15 controls currently evidenced in related baseline workflows.                   | `MXA-0364`, `MXA-0369`, `MXA-0370`, `MXA-0371`                                                                                                                                                             |
| `SM-004` | Average required-control quality score >= 0.75.                                                                                  | Current benchmark baseline: 0.975.                                                  | `MXA-0375`, `MXA-0376`                                                                                                                                                                                     |
| `SM-005` | height_rmse_m <= 1.5, slope_mae_deg <= 6, and drainage_basin_iou >= 0.78.                                                        | Not yet measured for terrain-heightmap-pack baseline (family not implemented).      | `MXA-0365`, `MXA-0375`, `MXA-0376`                                                                                                                                                                         |
| `SM-006` | tile_seam_delta <= 0.03 and lod_transition_pop_rate <= 0.05.                                                                     | Not yet measured for terrain-heightmap-pack baseline (family not implemented).      | `MXA-0365`, `MXA-0375`, `MXA-0376`                                                                                                                                                                         |
| `SM-007` | 100% of outputs include package classes required by `preview_image`, `source_frames`, and `metadata_manifest` mappings.          | No dedicated terrain-heightmap-pack output package contract is currently published. | `MXA-0367`, `MXA-0376`                                                                                                                                                                                     |
| `SM-008` | Typed request/response support and user-facing controls available across generation API, SDK, and web UI with zero schema drift. | Terrain-heightmap-pack family not yet exposed on API/SDK/UI surfaces.               | `MXA-0369`, `MXA-0370`, `MXA-0371`                                                                                                                                                                         |

## Failure Criteria

| Criterion | Trigger                                                                                                                                  | Severity | Required Response                                                                                               |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------- |
| `FC-001`  | Any of baseline, image-conditioned, control-conditioned, or consistency-locked variants is absent or uncertified.                        | high     | Block promotion and complete missing variant tickets before reopening certification.                            |
| `FC-002`  | Any required control ID is missing from workflow metadata or is not exposed consistently in API/SDK/UI.                                  | high     | Fail contract parity checks and block release until missing control contracts and UI exposure are restored.     |
| `FC-003`  | Elevation continuity, slope fidelity, drainage structure, or tile seam metrics fail taxonomy thresholds across approved golden datasets. | high     | Reject quality gate, retune workflows/models, and rerun regression benchmark until thresholds pass.             |
| `FC-004`  | Generated outputs are missing required package classes or manifest/checksum artifacts.                                                   | high     | Fail output package validation and block external integrations until packaging contract is restored.            |
| `FC-005`  | Cost estimation or runtime sizing exceeds approved guardrails without explicit override policy.                                          | medium   | Apply hard-fail guardrail behavior and reclassify endpoint sizing before allowing additional runs.              |
| `FC-006`  | Golden dataset or regression suite detects perceptual drift above accepted threshold.                                                    | high     | Mark build as non-releasable, investigate drift root cause, and refresh certification evidence only after pass. |

## Downstream Delivery Map

| Ticket        | Checklist  | Status | Title                                                                                                                |
| ------------- | ---------- | ------ | -------------------------------------------------------------------------------------------------------------------- |
| `ISIS2-00560` | `MXA-0362` | DONE   | Design baseline workflow graph for `terrain-heightmap-pack` with deterministic defaults.                             |
| `ISIS2-00561` | `MXA-0363` | DONE   | Design image-conditioned variant workflow for `terrain-heightmap-pack`.                                              |
| `ISIS2-00562` | `MXA-0364` | DONE   | Design control-conditioned variant workflow for `terrain-heightmap-pack` (pose/depth/segmentation where applicable). |
| `ISIS2-00563` | `MXA-0365` | DONE   | Design consistency-locked variant workflow for `terrain-heightmap-pack` with continuity profile support.             |
| `ISIS2-00564` | `MXA-0366` | DONE   | Define model/node dependency manifest for `terrain-heightmap-pack` workflows.                                        |
| `ISIS2-00565` | `MXA-0367` | DONE   | Define output package contract for `terrain-heightmap-pack` including file naming and metadata manifest.             |
| `ISIS2-00566` | `MXA-0368` | DONE   | Add workflow templates and presets for `terrain-heightmap-pack` production tiers (draft/final/hero).                 |
| `ISIS2-00567` | `MXA-0369` | DONE   | Expose `terrain-heightmap-pack` workflows via generation API with typed request contracts.                           |
| `ISIS2-00568` | `MXA-0370` | DONE   | Expose `terrain-heightmap-pack` workflows via SDK with end-to-end examples.                                          |
| `ISIS2-00569` | `MXA-0371` | DONE   | Expose `terrain-heightmap-pack` workflows in web UI with ergonomic form controls and validation.                     |
| `ISIS2-00570` | `MXA-0372` | DONE   | Implement side-by-side comparison tools for `terrain-heightmap-pack` outputs.                                        |
| `ISIS2-00571` | `MXA-0373` | DONE   | Map `terrain-heightmap-pack` workflows to RunPod endpoint classes and sizing policies.                               |
| `ISIS2-00572` | `MXA-0374` | DONE   | Add `terrain-heightmap-pack` cost estimation and budget guardrails.                                                  |
| `ISIS2-00573` | `MXA-0375` | DONE   | Add `terrain-heightmap-pack` quality evaluator and threshold-based acceptance gate.                                  |
| `ISIS2-00574` | `MXA-0376` | DONE   | Add `terrain-heightmap-pack` regression tests and golden datasets.                                                   |
| `ISIS2-00575` | `MXA-0377` | DONE   | Add `terrain-heightmap-pack` external integration recipe for downstream tools/systems.                               |
| `ISIS2-00576` | `MXA-0378` | DONE   | Publish `terrain-heightmap-pack` operator and creator documentation with troubleshooting.                            |

## Traceability

- Checklist item: `MXA-0361`
- Ticket key: `ISIS2-00559`
- Source references:
  - `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_ASSET_TAXONOMY.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_CONTROL_TAXONOMY.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_CONSISTENCY_TAXONOMY.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_OUTPUT_PACKAGE_TAXONOMY.json`
  - `libs/isis/workflows/src/metadata/workflow-taxonomy-registry.json`
  - `docs/domains/isis/remediation-v2/ISIS_V2_BENCHMARK_DASHBOARD.json`
  - `ISIS_TODOS_2.md`
