Hillclimb
Improve a measured outcome while preserving correctness. Requires a reproducible
workload, measurement tools, and authority to edit the target. Use for sustained
optimization; match the effort to the user's target and resource budget.
- Ground the metric. Reproduce the reported problem on a realistic workload.
Name the metric, direction of improvement, constraints, and checkable stopping
target. Establish a bounded time or attempt budget from the request or state a
reasonable initial budget before beginning. If the workload cannot reproduce the
problem, improve the reproduction before optimizing.
- Validate measurement. Use one repeatable command and enough samples to estimate
noise. Confirm the harness distinguishes meaningfully different workloads. Record
the baseline and passing correctness checks, then keep workload and measurement
settings fixed. A necessary harness correction invalidates earlier comparisons:
re-baseline and explain the change.
- Run one hypothesis at a time. Name the mechanism expected to improve the metric,
make a bounded change in an isolated branch or scratch copy, measure under the same
conditions, and run relevant regression checks. Keep only changes with a supported
benefit and preserved behavior; revert only the experiment's own edits otherwise.
Inspect artifacts yourself when experiments are delegated. Parallel attempts need
separate state and uncontended measurements.
- Record each decision. Keep a compact local log: hypothesis, change, baseline,
result, sample variability, regression outcome, keep/revert decision, and evidence
path. Preserve failed attempts so the next hypothesis can use them. A simplification
that holds performance may be valuable; label it a simplification rather than a
measured speed improvement.
- Stop and verify. Stop at the target, budget, a material blocker, or diminishing
returns after plausible alternatives were considered. Keep the original success
criteria intact and report an unmet target honestly. Rerun the final accepted state
against the baseline workload and correctness checks. Keep accepted changes
reviewable; commits and publication follow the user's requested scope.
Report baseline to final, variability and measurement method, accepted changes,
rejected attempts, evidence paths, and any remaining promising hypothesis. An
unmeasured intuition or a gain smaller than noise is not an established win.
1---2name: hillclimb3description: Improve one measurable outcome through isolated hypotheses, repeated measurements, and regression checks.4---56# Hillclimb78Improve a measured outcome while preserving correctness. Requires a reproducible9workload, measurement tools, and authority to edit the target. Use for sustained10optimization; match the effort to the user's target and resource budget.11121. **Ground the metric.** Reproduce the reported problem on a realistic workload.13 Name the metric, direction of improvement, constraints, and checkable stopping14 target. Establish a bounded time or attempt budget from the request or state a15 reasonable initial budget before beginning. If the workload cannot reproduce the16 problem, improve the reproduction before optimizing.172. **Validate measurement.** Use one repeatable command and enough samples to estimate18 noise. Confirm the harness distinguishes meaningfully different workloads. Record19 the baseline and passing correctness checks, then keep workload and measurement20 settings fixed. A necessary harness correction invalidates earlier comparisons:21 re-baseline and explain the change.223. **Run one hypothesis at a time.** Name the mechanism expected to improve the metric,23 make a bounded change in an isolated branch or scratch copy, measure under the same24 conditions, and run relevant regression checks. Keep only changes with a supported25 benefit and preserved behavior; revert only the experiment's own edits otherwise.26 Inspect artifacts yourself when experiments are delegated. Parallel attempts need27 separate state and uncontended measurements.284. **Record each decision.** Keep a compact local log: hypothesis, change, baseline,29 result, sample variability, regression outcome, keep/revert decision, and evidence30 path. Preserve failed attempts so the next hypothesis can use them. A simplification31 that holds performance may be valuable; label it a simplification rather than a32 measured speed improvement.335. **Stop and verify.** Stop at the target, budget, a material blocker, or diminishing34 returns after plausible alternatives were considered. Keep the original success35 criteria intact and report an unmet target honestly. Rerun the final accepted state36 against the baseline workload and correctness checks. Keep accepted changes37 reviewable; commits and publication follow the user's requested scope.3839Report baseline to final, variability and measurement method, accepted changes,40rejected attempts, evidence paths, and any remaining promising hypothesis. An41unmeasured intuition or a gain smaller than noise is not an established win.