Tie routing documentation to user and developer workflows

This commit is contained in:
Jan Petykiewicz 2026-11-27 10:15:54 -08:00
commit 2c7a7ea90a

View file

@ -1,9 +1,29 @@
# Routing development archive
Historical plans, run captures, and raw measurements live here. For current workflows, start with the [developer guide](../../docs/development.md) or [benchmarks](../../docs/benchmarks.md).
Use these records to recover the rationale for a routing decision or compare a fresh capture with an earlier run.
- **Plans.** [Original routing goal](routing-policy-goal.md), [routing refactor plan](routing-refactor-plan.md), and [documentation improvement plan](documentation-improvement-plan.md).
- **Performance records.** [Example baseline](performance.md) and its [JSON](performance_baseline.json), [optimization log](optimization_pass_01_log.md), and [pair-local characterization](pair_local_characterization.md).
- **Recorded diagnostics.** [Iteration](iteration_trace.md), [conflict](conflict_trace.md), [frontier](frontier_trace.md), and [pre-pair](pre_pair_frontier_trace.md) traces. Each report has a companion JSON file with the raw data.
## Recover earlier decisions
The baseline comparison tool reads `archive/routing/performance_baseline.json` by default. Capture tools write here by default and replace files with the same name. To save a scratch capture, pass `--output-dir` as shown in the [diagnostics guide](../../docs/routing-diagnostics.md#reproduce-and-compare).
- 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 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. Capture tools also write here by default and replace files with the same name. To preserve an earlier record while running a fresh capture, follow the [scratch output commands](../../docs/routing-diagnostics.md#reproduce-and-compare).