chore(p2): strip cellar-lip dispatch-trace probes after visual confirmation
The stale-footCenter fix (cc4590f) is visually confirmed: cellar ascent is
smooth, inn door still blocks, generic step-up still climbs. The residual
9/29 (0,-1,0)-sliding-normal records did NOT manifest in live play —
confirming they were buggy-trajectory artifacts.
Remove the temporary investigation scaffolding added for this trace:
- [fc-dispatch] probe in BSPQuery.FindCollisions
- [step-sphere-down] probe in BSPQuery.StepSphereDown
- CellarLipWedgeTests.Diagnostic_TraceRecordByIndex [Theory]
Kept: the fix, the Fix_StaleFootCenter_* regression guards, and the
DocumentsResidualWedge_* documents-the-bug test. Core suite 1317 pass /
4 fail (documented baseline) / 1 skip.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cc4590f9e5
commit
9fdf6a5d01
2 changed files with 0 additions and 69 deletions
|
|
@ -339,47 +339,6 @@ public class CellarLipWedgeTests
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// TEMP diagnostic (2026-06-05): trace ONE record by index with full probes,
|
||||
/// to a per-index %TEMP%/lip-trace-{idx}.log. Used to compare a ramp record
|
||||
/// (no sliding normal) against a floor record. STRIP after fix.
|
||||
/// </summary>
|
||||
[Theory]
|
||||
[InlineData(6)] // STILL 0% post-footCenter-fix: flat floor, sliding normal (0,-1,0)
|
||||
[InlineData(13)] // STILL 0% post-footCenter-fix: ramp, NO sliding normal, motion -X,+Y
|
||||
[InlineData(0)] // STILL 0% post-footCenter-fix: ramp, sliding normal (0,-1,0)
|
||||
[InlineData(21)] // STILL 0% post-footCenter-fix: ramp, NO slide, motion -X,-Y (away?)
|
||||
public void Diagnostic_TraceRecordByIndex(int idx)
|
||||
{
|
||||
var rec = LoadWedgeRecords()[idx];
|
||||
var saved = Console.Out;
|
||||
var sw = new StringWriter();
|
||||
PhysicsDiagnostics.ProbeIndoorBspEnabled = true;
|
||||
PhysicsDiagnostics.ProbeStepWalkEnabled = true;
|
||||
Environment.SetEnvironmentVariable("ACDREAM_DUMP_STEPUP", "1");
|
||||
Console.SetOut(sw);
|
||||
try
|
||||
{
|
||||
var (res, req, adv) = ReplayRecord(rec);
|
||||
Console.SetOut(saved);
|
||||
var bb = rec.BodyBefore!;
|
||||
File.WriteAllText(Path.Combine(Path.GetTempPath(), $"lip-trace-{idx}.log"),
|
||||
$"record #{idx} cur=({rec.Input.CurrentPos.X:F4},{rec.Input.CurrentPos.Y:F4},{rec.Input.CurrentPos.Z:F4}) " +
|
||||
$"tgt=({rec.Input.TargetPos.X:F4},{rec.Input.TargetPos.Y:F4},{rec.Input.TargetPos.Z:F4}) " +
|
||||
$"cp=({bb.ContactPlane.Normal.X:F2},{bb.ContactPlane.Normal.Y:F2},{bb.ContactPlane.Normal.Z:F2}) " +
|
||||
$"slide=({bb.SlidingNormal.X:F2},{bb.SlidingNormal.Y:F2},{bb.SlidingNormal.Z:F2}) ts=0x{bb.TransientState:X2} " +
|
||||
$"req={req:F3} adv={adv:F3} res=({res.X:F4},{res.Y:F4},{res.Z:F4})\n\n" + sw.ToString());
|
||||
Assert.True(true);
|
||||
}
|
||||
finally
|
||||
{
|
||||
Console.SetOut(saved);
|
||||
Environment.SetEnvironmentVariable("ACDREAM_DUMP_STEPUP", null);
|
||||
PhysicsDiagnostics.ProbeIndoorBspEnabled = false;
|
||||
PhysicsDiagnostics.ProbeStepWalkEnabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FIX VALIDATION (2026-06-05) — the stale-footCenter fix in
|
||||
/// <c>RunCheckOtherCellsAndAdvance</c>. Retail's <c>check_other_cells</c>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue