You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prototype evidence: draft PR #1743 and checkpoint 3f11f175, especially corridor_cohort_integration.py types near CorridorScalarRequest, CorridorScalarGrant, _FootprintTerm, _FootprintOrder, _FootprintContact, and build_corridor_footprint_witnesses.
Retrieving the prototype: git fetch origin refs/pull/1743/head:pr-1743-checkpoint, then read files with git show 3f11f1758f16341ace6b1409eff53a36a36ec715:<path>. Never check that branch out into your worktree.
The four witness tests to re-establish live in the checkpoint's tests/test_corridor_cohorts.py, not its integration module: test_footprint_witnesses_publish_typed_scalar_ownership_deterministically (line 1430), test_semantic_ledger_claims_store_no_observed_geometry (1729), test_opposite_running_peer_is_not_a_fixed_equality (1994), test_coordinate_proximity_without_a_shared_network_is_not_a_fixed_equality (2024). Re-establish them in tests/test_corridor_cohort_integration.py, since #1747 keeps tests/test_corridor_cohorts.py free of integration imports.
Outcome
Define coordinate-free owner identities and extract the typed footprint/relation graph (witnesses, orders, contacts), without closing components (that is #1749) and without changing production route geometry.
Estimate: 4-6 focused hours, hard maximum one working day. Use a fresh worktree based on the predecessor PR.
Add owner-typed scalar request/grant records with deterministic identity and ordering: CorridorScalarVariable, CorridorScalarRequest, CorridorScalarGrant, CorridorFootprintWitness, _FootprintTerm, _FootprintOrder, _FootprintContact, build_corridor_footprint_witnesses, and the coordinate-free portions of _bind_ledger.
Port the coordinate-free container types every later child depends on and which no other child names: CorridorCohortLedger, CorridorCohortTarget, CorridorCohortAllocation, CorridorCohortComponentPlan, CorridorCohortLanding, CorridorCohortSegmentKey, and the RoutePlan.corridor_cohort_ledger field. Port their coordinate-free fields only; do not port finalized_owned_segments.
Extract typed carrier, adjacent lead, landing, connector, endpoint frame, network, direction, region, and per-segment owner witnesses from one route-plan snapshot.
Prefer one new focused module plus route_reservations.py (whose checkpoint additions claim_is_destination_boundary_carrier, _plan_owned_clearances, canvas_content_band, and _simultaneous_stack_width are reusable starting points); tests live in tests/test_corridor_cohort_integration.py.
Reuse guidance
Reuse the coordinate-free identity, endpoint-rank, exact connector provenance, and direction-qualified owner tests. Do not port the checkpoint's 316-line _member_footprint_model intact: extract the witness/relation-production pieces this issue needs and leave lowering to #1750. Do not port finalized_owned_segments or any proximity-based ownership. Two names used in earlier drafts of this programme, _landing_domains and the landing-obstacle| alias prefix, exist neither on main nor at 3f11f175; ignore them and do not go looking for them.
Run the module whole; a -k filter that matches nothing exits 5, which reads like success.
CI and render expectations
This issue must not change a single rendered SVG. Open the PR as a draft based on the predecessor's branch and never merge it to main alone. Mark work-in-progress commits [skip ci]; push the final commit without a skip marker so CI runs, and confirm the render diff reports zero changed renders.
This issue describes semantic evidence only. If extraction needs to choose a lane, move a point, inspect a fixture ID, or infer ownership by distance, stop and revise the identity model before continuing.
Parent: #1745
Predecessor: #1747 and its stacked draft PR.
Prototype evidence: draft PR #1743 and checkpoint
3f11f175, especiallycorridor_cohort_integration.pytypes nearCorridorScalarRequest,CorridorScalarGrant,_FootprintTerm,_FootprintOrder,_FootprintContact, andbuild_corridor_footprint_witnesses.Retrieving the prototype:
git fetch origin refs/pull/1743/head:pr-1743-checkpoint, then read files withgit show 3f11f1758f16341ace6b1409eff53a36a36ec715:<path>. Never check that branch out into your worktree.The four witness tests to re-establish live in the checkpoint's
tests/test_corridor_cohorts.py, not its integration module:test_footprint_witnesses_publish_typed_scalar_ownership_deterministically(line 1430),test_semantic_ledger_claims_store_no_observed_geometry(1729),test_opposite_running_peer_is_not_a_fixed_equality(1994),test_coordinate_proximity_without_a_shared_network_is_not_a_fixed_equality(2024). Re-establish them intests/test_corridor_cohort_integration.py, since #1747 keepstests/test_corridor_cohorts.pyfree of integration imports.Outcome
Define coordinate-free owner identities and extract the typed footprint/relation graph (witnesses, orders, contacts), without closing components (that is #1749) and without changing production route geometry.
Estimate: 4-6 focused hours, hard maximum one working day. Use a fresh worktree based on the predecessor PR.
Starting reproduction
Scope
CorridorScalarVariable,CorridorScalarRequest,CorridorScalarGrant,CorridorFootprintWitness,_FootprintTerm,_FootprintOrder,_FootprintContact,build_corridor_footprint_witnesses, and the coordinate-free portions of_bind_ledger.CorridorCohortLedger,CorridorCohortTarget,CorridorCohortAllocation,CorridorCohortComponentPlan,CorridorCohortLanding,CorridorCohortSegmentKey, and theRoutePlan.corridor_cohort_ledgerfield. Port their coordinate-free fields only; do not portfinalized_owned_segments.route_reservations.py(whose checkpoint additionsclaim_is_destination_boundary_carrier,_plan_owned_clearances,canvas_content_band, and_simultaneous_stack_widthare reusable starting points); tests live intests/test_corridor_cohort_integration.py.Reuse guidance
Reuse the coordinate-free identity, endpoint-rank, exact connector provenance, and direction-qualified owner tests. Do not port the checkpoint's 316-line
_member_footprint_modelintact: extract the witness/relation-production pieces this issue needs and leave lowering to #1750. Do not portfinalized_owned_segmentsor any proximity-based ownership. Two names used in earlier drafts of this programme,_landing_domainsand thelanding-obstacle|alias prefix, exist neither onmainnor at3f11f175; ignore them and do not go looking for them.Non-goals
Code expected to become obsolete
None. This issue deletes no production code.
Acceptance
Verification
Run the module whole; a
-kfilter that matches nothing exits 5, which reads like success.CI and render expectations
This issue must not change a single rendered SVG. Open the PR as a draft based on the predecessor's branch and never merge it to
mainalone. Mark work-in-progress commits[skip ci]; push the final commit without a skip marker so CI runs, and confirm the render diff reports zero changed renders.#1653 guardrail and stop condition
This issue describes semantic evidence only. If extraction needs to choose a lane, move a point, inspect a fixture ID, or infer ownership by distance, stop and revise the identity model before continuing.