{ "scope": "Recover owned original mine site policy in the existing finite delivered-post selector. No changes to actor/stock/task/attempt/controller behavior.", "provenance": { "original": "/home/jakub/devel/escapists/escapists-ai/Scripts/Game/EscapistsAI/EAI_HQRoadblocks.c", "sha256": "128776f0b448162ee36cfc71b2a38d2cd06d6d6e4679253f215896aa3fcabb98", "road_exclusion_line": 385, "settlement_exclusion_line": 386, "successor_baseline": "Centerline candidate tests codify existing implementation, but no explicit overriding user policy found. Shared ERR_SettlementSafety comment explicitly names mine sites as intended consumer." }, "design": { "positions": "Both \u00b115.01m parallel flanks of each actual eligible road segment; reuse bounded projection/endpoints/annulus-crossings.", "post_distance_m": [ 25, 60 ], "road_centerline_minimum_m": 15, "settlement_exclusion_m": 200, "query": "One AABB query\u00b180m XZ,\u00b11000mY. Every roadcenterline point within15m of a candidate<=60m frompost iswithin75m XZ; query adds5m margin.", "hazards": "Every returned originalsegment inclnarrowroads andzero-length points; finite positive-length projection uses squared>0 toretain shortsegment endpoints.", "bounds": { "roads": 128, "points_per_road": 1024, "segments": 4096, "candidates": 128, "cached_segment_comparisons": 65536 }, "failure": "Unknown/malformed roads, bounds overflow, exhausted clearance budget or all rejected candidates returnfalse withresultzero. No partially checked candidate can succeed.", "determinism": "Canonical local segment endpoints via existing Better(0,b,0,a) before offset generation and clearance projection; original native polylines remain unchanged." }, "tests": "Final source d838f569: independent actual geometry harness passes; baseline compiles and fails at runtime. See /tmp/erri-mine-flank-review-0402/review.json and /tmp/erri-mine-flank-tests-0402.", "limits": [ "Inherited policy is15m from road centerlines, not road edges: a very wide road is not guaranteed to be outside its carriageway.", "Vertical query\u00b11000m, existing2mroad-groundheight check and Standable do not prove semantic bridge classification or native engineer walking/arming.", "Bounded nearest-candidate retention may conservatively refuse despite a different unexamined feasible location.", "65536 comparison cap is a bound, not a measured FPS/performance claim." ], "target_edits": false, "native_run": false, "compiler_run_by_author": false, "independent_review": "/tmp/erri-mine-flank-review-0402/review.json" }