# Isis Character Turnaround Sheet Cost Estimation and Budget Guardrails Runbook

Last Updated: 2026-02-25  
Scope: `MXA-0032` cost-estimation and budget-guardrail enforcement for
`character-turnaround-sheet` workflows.

## Purpose

Generate and validate the canonical artifact that captures deterministic
runtime/cost estimation, hard-fail budget guardrail enforcement, and
compatibility-route policy exposure for `character-turnaround-sheet` workflow
execution.

## Artifacts

- `docs/domains/isis/remediation-v2/ISIS_V2_CHARACTER_TURNAROUND_SHEET_COST_ESTIMATION_BUDGET_GUARDRAILS.json`
- `docs/domains/isis/remediation-v2/ISIS_V2_CHARACTER_TURNAROUND_SHEET_COST_ESTIMATION_BUDGET_GUARDRAILS.md`

## Generator

```bash
node scripts/isis/generate-v2-character-turnaround-sheet-cost-estimation-budget-guardrails.mjs
```

Options:

- `--report-date=YYYY-MM-DD` (default: current UTC date)

## Validator

```bash
node scripts/isis/validate-v2-character-turnaround-sheet-cost-estimation-budget-guardrails.mjs
```

## Source Inputs

- `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json`
- `docs/domains/isis/remediation-v2/ISIS_V2_CHARACTER_TURNAROUND_SHEET_REQUIREMENTS_BRIEF.json`
- `docs/domains/isis/remediation-v2/ISIS_V2_CHARACTER_TURNAROUND_SHEET_RUNPOD_ENDPOINT_CLASS_SIZING_POLICIES.json`
- `apps/isis/generation-api/src/routes/workflows.ts`
- `apps/isis/generation-api/src/routes/workflows.spec.ts`
- `apps/isis/generation-api/src/routes/jobs.ts`
- `apps/isis/generation-api/src/routes/jobs.spec.ts`
- `apps/isis/generation-api/src/routes/character-turnaround-sheet-budget-utils.ts`
- `apps/isis/generation-api/src/routes/character-turnaround-sheet-budget-utils.spec.ts`

## Operational Cadence

1. Regenerate when character-turnaround-sheet cost model factors, thresholds, or
   route response contracts change.
2. Validate before closing downstream quality/regression/operator tasks that
   rely on stable budget enforcement and observability.
3. Keep cost model defaults and environment-key policy metadata synchronized
   between workflow execution enforcement and provider compatibility
   diagnostics.

## Related Artifacts

- `apps/isis/generation-api/src/routes/workflows.ts`
- `apps/isis/generation-api/src/routes/character-turnaround-sheet-budget-utils.ts`
- `apps/isis/generation-api/src/routes/jobs.ts`
- `docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_BACKLOG.md`
