docs+cleanup: CURRENT-STATE.md and dead L86/L88 ablation switches removed (L131)

One current-state page (shipping behaviour, references with sources, gaps, verification, closed lines), linked from
CLAUDE.md. Removes the L86/L88 passage/boundary ablation switches and the unused legacy route-grade audit; inventory
of every kept switch in the report. Output identical: 24/24 + 18/18 hashes, fast tier, walk/seam audits, UE host
build; timing unchanged (-0.2%, CI spans 0). No Source/ changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dhxM43dnWvUu2B5Ph1iG1
This commit is contained in:
Fr0zkaandClaude Opus 5.5 committed 2026-10-31 02:11:10 +01:00
1 parent cbbfd46bd3
commit 81071969fc
11 files changed
+404 -147

No files matched your search

+11 -57
View File
@@ -33,48 +33,22 @@
#include <variant>
#include <vector>
// L88-only composition split. These switches let the timing harness remove passage work and
// resolved boundary-band work independently. They are diagnostic only, never world settings.
static bool VF_IsL88DiagnosticSwitchEnabled(const char* Name)
static bool VF_IsDiagnosticEnvSwitchEnabled(const char* Name)
{
const char* Value=std::getenv(Name);
return Value&&Value[0]=='1'&&Value[1]=='\0';
}
static bool VF_IsL88PassageCompositionDisabled()
{
static const bool bDisabled=VF_IsL88DiagnosticSwitchEnabled(
"VOXELFORGE_L88_DISABLE_PASSAGES")
||VF_IsL88DiagnosticSwitchEnabled("VOXELFORGE_L86_DISABLE_PASSAGE_COMPOSITION");
return bDisabled;
}
static bool VF_IsL88BoundaryBandsDisabled()
{
static const bool bDisabled=VF_IsL88DiagnosticSwitchEnabled(
"VOXELFORGE_L88_DISABLE_BOUNDARY_BANDS")
||VF_IsL88DiagnosticSwitchEnabled("VOXELFORGE_L86_DISABLE_PASSAGE_COMPOSITION");
return bDisabled;
}
static bool VF_IsL88AllowPassageAblationWalkabilityFailure()
{
static const bool bEnabled=VF_IsL88DiagnosticSwitchEnabled(
"VOXELFORGE_L88_ALLOW_PASSAGE_ABLATION_WALKABILITY_FAILURE");
return bEnabled;
}
static bool VF_IsL98PassagePrepareTraceEnabled()
{
static const bool bEnabled=VF_IsL88DiagnosticSwitchEnabled(
static const bool bEnabled=VF_IsDiagnosticEnvSwitchEnabled(
"VOXELFORGE_L98_PASSAGE_PREP_TRACE");
return bEnabled;
}
static bool VF_IsL130PassageReachProofAuditEnabled()
{
static const bool bEnabled=VF_IsL88DiagnosticSwitchEnabled(
static const bool bEnabled=VF_IsDiagnosticEnvSwitchEnabled(
"VOXELFORGE_L130_PASSAGE_REACH_PROOF_AUDIT");
return bEnabled;
}
@@ -327,18 +301,14 @@ public:
{
mayContainResolvedBoundaryBand_=shape.ResolvedBoundaryBandsIntersectSubvoxelRange(
minimumSubvoxels_[2],maximumSubvoxels_[2]);
const bool disablePassageComposition=VF_IsL88PassageCompositionDisabled();
if(VF_IsL88BoundaryBandsDisabled())mayContainResolvedBoundaryBand_=false;
mayContainTransitionPassageFade_=!disablePassageComposition
&&shape.ResolvedTransitionPassageFadeIntersectsTileXY(
minimumSubvoxels_,maximumSubvoxels_);
if(!disablePassageComposition)
featureIndices_=shape.BuildPassageFeatureTileList(
minimumSubvoxels_,maximumSubvoxels_);
mayContainTransitionPassageFade_=shape.ResolvedTransitionPassageFadeIntersectsTileXY(
minimumSubvoxels_,maximumSubvoxels_);
featureIndices_=shape.BuildPassageFeatureTileList(
minimumSubvoxels_,maximumSubvoxels_);
stampIndices_=shape.BuildStampTileList(minimumSubvoxels_,maximumSubvoxels_);
cavernFeatureIndices_=shape.BuildCavernFeatureTileList(
minimumSubvoxels_,maximumSubvoxels_);
passageRoutes_.assign(shape.ResolvedLayout&&!disablePassageComposition
passageRoutes_.assign(shape.ResolvedLayout
?shape.ResolvedLayout->passages.size():0,0);
passageRouteSegments_.resize(passageRoutes_.size());
for(const std::uint32_t featureIndex:featureIndices_)
@@ -1561,12 +1531,8 @@ public:
// the generic stratum transition distance creates a discontinuity at a
// mouth that crosses a wide transition band. Keep that opt-in field whole;
// its host-rock value already supplies the ceiling and bedrock.
const bool disablePassageComposition=!nativeLattice
&&VF_IsL88PassageCompositionDisabled();
const bool disableBoundaryBands=!nativeLattice
&&VF_IsL88BoundaryBandsDisabled();
float boundary=graphDensity;
if(!nativeLattice&&!disableBoundaryBands)
if(!nativeLattice)
{
VoxelForgeCore::Linux77Profiler::FScopedPhase l77BandsPhase(
VoxelForgeCore::Linux77Profiler::EPhase::Bands);
@@ -1595,7 +1561,6 @@ public:
?bound->Resolved->passageCapabilities.hasNativeCaveField
:bound->Resolved->passageCapabilities.hasNativeLatticeField))
{
if(!disablePassageComposition)
{
VoxelForgeCore::Linux77Profiler::FScopedPhase l77PassagePhase(
VoxelForgeCore::Linux77Profiler::EPhase::Passage);
@@ -1626,7 +1591,6 @@ public:
ELegacyFieldTerm::ComposerPassage);
final=ApplyResolvedCavernFloorCaps(stamped,X,Y,Z);
}
if(!disablePassageComposition)
{
VoxelForgeCore::Linux77Profiler::FScopedPhase l77PassagePhase(
VoxelForgeCore::Linux77Profiler::EPhase::Passage);
@@ -2332,18 +2296,8 @@ public:
const bool bPassageRoutesValid=!bValidatePassageRoutes||ValidatePassageRoutes();
if(!bPassageRoutesValid)
{
if(VF_IsL88PassageCompositionDisabled()
&&!VF_IsL88BoundaryBandsDisabled()
&&VF_IsL88AllowPassageAblationWalkabilityFailure())
{
std::printf("[L88PassageAblation] route walkability failed as expected; "
"continuing only to measure passage-off/bands-on readiness\n");
}
else
{
Error="compiled shape world contains a solid passage centreline sample";
return false;
}
Error="compiled shape world contains a solid passage centreline sample";
return false;
}
Stats.PassageValidationSeconds=std::chrono::duration<double>(Clock::now()-Substage).count();
Built=true;