Tool Shadow Calibration
Use this skill before trusting a new Tool Shadow, after an authoritative or
physical result contradicts it, and periodically as the design space or source
tool changes.
A Tool Shadow is useful only when it improves decisions. Low mean error is not
enough if the shadow ranks finalists incorrectly, misses unsafe cases, or fails
to abstain outside its training envelope.
Calibration workflow
- Freeze the shadow version, dataset version, feature contract, units, and
authoritative evaluator version.
- Maintain held-out tests that include ordinary cases, constraint-boundary
cases, withheld geometry or input corners, and optimizer-generated challenge
cases.
- Compare shadow predictions with authoritative and physical results without
overwriting any prior Evaluation.
- Measure decision-aware metrics:
- false-safe rate
- top-k feasible recall
- constraint-boundary accuracy
- ranking regret
- interval calibration
- abstention and out-of-domain quality
- authoritative-call reduction
- first-finalist verification rate
- disagreement between verified and observed outcomes
- Select new authoritative evaluations using a mixture of:
- high predicted value
- high uncertainty
- proximity to constraints
- evaluator disagreement
- diversity
- known failure patterns
- Append the results to a versioned dataset and retrain or recalibrate only
through an auditable Run.
- Compare the new shadow against the prior version on the same frozen suite.
- Recommend promotion, restricted use, retraining, rollback, or retirement.
Policy or a human authority makes the decision.
Optimizer-resistance
Assume an optimization agent will search for and amplify systematic shadow
errors. Keep hard bounds and trust regions, penalize uncertainty, require
authoritative checks near constraints, and add optimizer-discovered failures to
a permanent challenge set.
Status discipline
Use separate labels:
predicted: produced by a shadow
verified: produced by an authoritative software tool
observed: measured in the physical or production environment
A physical discrepancy may reveal a bad shadow, a bad authoritative model,
incorrect conditions, manufacturing variation, or measurement error. Preserve
all hypotheses until evidence distinguishes them.
Use
https://github.com/closedloop-technologies/climbhill/blob/main/resources/strategies/tool-shadows/CALIBRATION.md for the full
strategy and
https://github.com/closedloop-technologies/climbhill/blob/main/resources/strategies/tool-shadows/CONTRACT.md for required
provenance fields.
1---2name: tool-shadow-calibration3description: Evaluate, challenge, calibrate, and improve a Tool Shadow using authoritative results, physical outcomes, active learning, and decision-aware metrics rather than average prediction error alone.4---56# Tool Shadow Calibration78Use this skill before trusting a new Tool Shadow, after an authoritative or9physical result contradicts it, and periodically as the design space or source10tool changes.1112A Tool Shadow is useful only when it improves decisions. Low mean error is not13enough if the shadow ranks finalists incorrectly, misses unsafe cases, or fails14to abstain outside its training envelope.1516## Calibration workflow17181. Freeze the shadow version, dataset version, feature contract, units, and19 authoritative evaluator version.202. Maintain held-out tests that include ordinary cases, constraint-boundary21 cases, withheld geometry or input corners, and optimizer-generated challenge22 cases.233. Compare shadow predictions with authoritative and physical results without24 overwriting any prior Evaluation.254. Measure decision-aware metrics:26 - false-safe rate27 - top-k feasible recall28 - constraint-boundary accuracy29 - ranking regret30 - interval calibration31 - abstention and out-of-domain quality32 - authoritative-call reduction33 - first-finalist verification rate34 - disagreement between verified and observed outcomes355. Select new authoritative evaluations using a mixture of:36 - high predicted value37 - high uncertainty38 - proximity to constraints39 - evaluator disagreement40 - diversity41 - known failure patterns426. Append the results to a versioned dataset and retrain or recalibrate only43 through an auditable Run.447. Compare the new shadow against the prior version on the same frozen suite.458. Recommend promotion, restricted use, retraining, rollback, or retirement.46 Policy or a human authority makes the decision.4748## Optimizer-resistance4950Assume an optimization agent will search for and amplify systematic shadow51errors. Keep hard bounds and trust regions, penalize uncertainty, require52authoritative checks near constraints, and add optimizer-discovered failures to53a permanent challenge set.5455## Status discipline5657Use separate labels:5859- `predicted`: produced by a shadow60- `verified`: produced by an authoritative software tool61- `observed`: measured in the physical or production environment6263A physical discrepancy may reveal a bad shadow, a bad authoritative model,64incorrect conditions, manufacturing variation, or measurement error. Preserve65all hypotheses until evidence distinguishes them.6667Use68`https://github.com/closedloop-technologies/climbhill/blob/main/resources/strategies/tool-shadows/CALIBRATION.md` for the full69strategy and70`https://github.com/closedloop-technologies/climbhill/blob/main/resources/strategies/tool-shadows/CONTRACT.md` for required71provenance fields.