inire/archive/routing/README.md
Jan Petykiewicz 63acb94642 Fix routing correctness and bound optional routing work
Check physical keepout clearance, retain useful partial paths, and account for all pair repair searches. Verify complete seeds early and recover narrower corridors when shared guides are blocked.

Keep frontier diagnostics outside routing decisions and bound their work by the worker deadline. Correct benchmark scaling and scenario validation, and update the guides and release metadata.
2026-12-02 17:16:34 -08:00

32 lines
2.8 KiB
Markdown

# Routing development archive
Use these records to recover the rationale for a routing decision or compare a fresh capture with an earlier run.
## Recover earlier decisions
- For the original coverage target and retry priorities, read the [routing policy goal](routing-policy-goal.md).
- For the reason a responsibility lives in a particular module, consult the [routing refactor plan](routing-refactor-plan.md).
- For the work removed by the routing cleanups and the prototypes that changed search behavior, read the [simplification results](simplification-results.md).
- For the original audience and page split, see the [first documentation reorganization plan](documentation-improvement-plan.md).
## Reproduce probe and retry experiments
- To recover the measured probe and holdout tables from November 26, 2026, run `git show 2b02c6e:docs/topological-routing.md`.
- For the original retry triggers, budget sweeps, and authored Terminal-Bench lane comparisons, run `git show ea5cfe7:docs/topological-routing.md`. To rerun a retired policy, use that revision's driver in a separate worktree.
- To see how these experiments inform the current probe and retry policy, read the [measurement summary](../../docs/benchmark-results.md).
## Compare performance or diagnose a trace
| What to recover | Archive record |
| --- | --- |
| Example coverage and timings | [Baseline report](performance.md) with a [machine-readable snapshot](performance_baseline.json) for comparisons. |
| Work measured during the earlier optimization pass | [Optimization log](optimization_pass_01_log.md). |
| Conditions under which repair succeeds in the fan-out fixture | [Pair-local characterization](pair_local_characterization.md) with [per-case measurements](pair_local_characterization.json). |
| Work by net and iteration | [Iteration trace](iteration_trace.md). |
| Overlapping components before and after repair | [Conflict trace](conflict_trace.md). |
| Sampled prune reasons near remaining overlaps | [Frontier trace](frontier_trace.md). |
| Reroute order and work immediately before repair | [Pre-pair frontier trace](pre_pair_frontier_trace.md). |
Each trace report has a companion JSON file with the same basename. The baseline comparison tool reads `performance_baseline.json` from this directory by default. For a fresh trace, set `--output-dir` to keep the capture separate from the archived record. See the [fan-out capture command](../../docs/routing-diagnostics.md#follow-a-late-conflict-into-pair-local-repair).
In the archived traces and pair-local characterization, `nodes_expanded` excludes pair-local search. The archived `pair_local_search_nodes_expanded` counts only attempts that produced a locally valid pair. Neither convention affects the nine scenarios in the saved performance baseline, which used no pair-local search. Fresh captures count every pair-local search in both counters.