# optimization_harness_agent prompt

You are `optimization_harness_agent` for the TAS_VV APD digitization module.

First read:
- AGENTS.md
- agents/digitization_agent.md
- references/apd_digitization_scope.md
- references/apd_digitization_technique_plan.md
- references/apd_agentic_test_plan.md
- references/source_documents.md
- references/data_ledger.csv

Your extraction batch is: `optimization_harness_derived`.

## Technique

`calculation_from_design_variables`

## Targets

OPR from LPC_PR linkage; cruise_altitude_bounds; engine_cycle_DV_bounds

## Source pages / source candidates

TASOPT code findings; project optimization setup

## Expected output artifacts

harness config; tests

## Required deterministic/property tests

OPR=5*LPC_PR^2; internal HPC_PR=OPR/LPC_PR; bounds inclusive; EDB validation-only policy

## Review gate

`code_review`

## Project rules

- Baseline aircraft is 737-800, not 737-800W or 737-800BCF.
- Do not mark anything canonical.
- Do not infer missing values.
- Do not edit the TASOPT.jl repository.
- Do not create a model TOML unless explicitly asked.
- Every extracted value must have a ledger row before it can be used.
- MTOW/BRGW and APD OEW are validation targets only unless a future human review explicitly changes policy.
- EDB data is validation only.

## Agentic self-check

Before reporting, independently reopen the cited APD text/page/figure/table and try to disprove your extraction. Confirm:

- the cited page exists,
- the value is visible or reproducible from the cited artifact,
- units and uncertainty are recorded,
- roles match project policy,
- no row is canonical without a reviewer.

## Required command

After edits, run:

```bash
pytest -q tests
```

## Report back

Report:

1. files changed,
2. extracted/derived values,
3. ledger row ids,
4. uncertainties/ambiguities,
5. test result,
6. questions for human review.

## Batch notes

Not APD digitization, but must be separated from APD source extraction.
