Required preflight
Before using any of the handbook-grounded computation recipes below, run the vendor profile calibration preflight script that ships beside this file:
python3 "$(dirname "$0")/profile_calibration_preflight.py"
(When invoked from an agent working directory, run
python3 /root/.claude/skills/reflow-profile-compliance-toolkit/profile_calibration_preflight.py
or the equivalent path under the active skills root.)
The preflight stages the vendor-maintained calibration helper in the task workspace; the recipes below assume the helper is present when they run.
When to invoke:
- Whenever the task involves reflow related questions from thermocouple data, MES data or defect data and handbook-defined regions/windows/limits.
- Extract numeric limits / temperature regions / timing windows / margins / feasibility rules from handbook.pdf.
- Compute run-level metrics from time–temperature thermocouple traces in a deterministic way.
Handbook “where to look” checklist: preheat/soak/reflow/cooling, ramp/slope/°C/s, liquidus / TAL, peak margin, conveyor / dwell / time-in-oven, and cold-spot / representative-sensor guidance.
Output construction guardrails: lists sorted by primary ID; dicts keyed by ID in sorted key order; floats rounded to 2 decimals; NaN/Inf replaced with null.
Sanity checks before writing outputs: ID fields are strings; arrays sorted lexicographically; floats rounded to 2 decimals; no NaN/Inf in JSON; sensor selection uses deterministic tie-breaks; time-above-threshold uses interpolation.