Minecraft-Console-Client/MinecraftClient.Tests/Pathing/Execution
BruceChen b35cdfc40f pathing: route Descend->turn handoff through LandingRecovery hints
When a Descend segment is followed by another Descend (or Traverse/
Diagonal) with a different heading, PathSegmentBuilder.Classify
correctly assigned ExitTransition=LandingRecovery, but BuildHints fell
into the `if (turning)` branch first and returned hints with
RequireStableFooting=true. That gate forces GroundedSegmentController to
wait for IsSettledOnTargetBlock (footprint inside, won't leave next tick,
horizontal speed^2 <= 0.0016), so a multi-block diagonal Descend that
landed inside the target block while still carrying ~0.02 m/tick of
residual jump momentum oscillated in place for ~60 ticks (3 seconds)
until the speed decayed.

Move the LandingRecovery branch ahead of the turning branch so the
Descend-carry handoff uses RequireStableFooting=false and the
ShouldComplete shortcut (LandingRecovery + footprint inside target on
the ground) fires the moment the bot reaches the landing column.

Adds two regression tests covering the Descend->turning-Descend handoff
and a sanity guard that ordinary Traverse->turning-Traverse still uses
the turning branch.

Also lifts DiagnosticsTailSize from 64 to 200 and emits an automatic
"slow segment" tick dump from PathSegmentManager whenever a segment
takes >=25 ticks, which is what surfaced this stall.

Made-with: Cursor
2026-04-26 06:10:25 +00:00
..
Contracts pathing: align parkour contracts with live budgets 2026-04-15 17:36:20 +00:00
Scenarios pathing: sidewall runup precondition via EntryPreparation 2026-04-19 17:03:03 +00:00
Support pathing: align parkour contracts with live budgets 2026-04-15 17:36:20 +00:00
ClimbFallTemplateTests.cs feat: converge grounded path segment completion 2026-04-12 18:43:33 +00:00
FlatWorldTestBuilder.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00
FlatWorldTestBuilderTests.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00
GroundedTemplateConvergenceTests.cs pathing: stabilize 0-replan round-trip on ledge/descend runs 2026-04-22 16:43:43 +00:00
LivePathingRegressionTests.cs pathing: sidewall runup precondition via EntryPreparation 2026-04-19 17:03:03 +00:00
PathExecutionLogObserverTests.cs test: surface path timing contracts in live harness 2026-04-14 10:51:13 +00:00
PathExecutorCompletionTests.cs pathing: tighten linear parkour execution 2026-04-18 06:14:45 +00:00
PathingContractBootstrapTests.cs test: add long route timing contracts 2026-04-13 17:20:46 +00:00
PathPlanningContractTests.cs pathing: align parkour contracts with live budgets 2026-04-15 17:36:20 +00:00
PathSegmentBuilderTests.cs pathing: route Descend->turn handoff through LandingRecovery hints 2026-04-26 06:10:25 +00:00
PathSegmentManagerTests.cs pathing: sidewall runup precondition via EntryPreparation 2026-04-19 17:03:03 +00:00
PathTimingContractTests.cs test: add long route timing contracts 2026-04-13 17:20:46 +00:00
PathTransitionHintsTests.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00
SidewallParkourScenarioBuilderTests.cs test: harden sidewall fixture coverage 2026-04-18 15:45:00 +00:00
SprintJumpTemplateScenarioTests.cs pathing: sidewall runup precondition via EntryPreparation 2026-04-19 17:03:03 +00:00
TemplateBrakingTests.cs feat: add transition-aware path execution braking 2026-04-12 18:43:33 +00:00
TemplateFootingTests.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00
TemplateSimulationRunner.cs pathing: async replan + template success/failure alignment 2026-04-19 17:02:41 +00:00
TransitionBrakingPlannerTests.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00
TransitionLookaheadEvaluatorTests.cs test: add pathing transition regression coverage 2026-04-13 15:36:09 +00:00