Files
opengenesislinkserver/tools/ci/verify_no_ogl_pathfinding.py
T
OpenGenesis (MPL 2.0) bc0977df5b release(0.9.3.10): stabilize RC1 scope, defer Experience/Viewer 2.0 gates (#178)
* release(09310): replace Experience-dependent RC1 gate with fail-closed v2 stabilization matrix

* test(09310): enforce 22/23 stabilization gates and reject legacy Experience evidence

* docs(release): define 22/23 case stabilization RC1 matrix and defer own-viewer features

* docs(operator): replace Experience E2E matrix with stabilization acceptance runbook

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* release(09310): scope stabilization and defer Experiences/My Outfits/Pathfinding to own viewer

* config(09310): fail-closed default Experience adapter for stabilization RC1

* config(09310): fail-closed default Experience adapter for stabilization RC1

* test(09310): require disabled Experience adapter in shipped configs

* test(09310): keep NexBus active but assert Experience adapter disabled in stabilization templates

* test(09310): assert Experience disabled without breaking compact INI port contract

* test(pathfinding): enforce new 23-case stabilization gate without restoring navigation

* docs(release): update RC1 draft to stabilization scope and deferred viewer 2.0

* docs(versioning): reflect 0.9.3.10 stabilization train instead of Experiences release
2026-10-12 01:11:34 +02:00

25 lines
1.3 KiB
Python

#!/usr/bin/env python3
"""Ensure the retired OGL Pathfinding implementation stays out of 0.9.3.10."""
from pathlib import Path
import re
root = Path(__file__).resolve().parents[2]
for package in ("NexVerse/Core/Pathfinding", "NexVerse/RegionModules/Pathfinding"):
assert not (root / package).exists(), "retired OGL Pathfinding source: " + package
assert not (root / "OpenSim/Region/Framework/Interfaces/IOglNativeTerrainQuery.cs").exists()
for rel in ("bin/OpenSim.ini", "bin/OpenSim.ini.example"):
cfg = (root / rel).read_text()
assert not re.search(r"(?m)^\[(OGLPathfinding|OGLNpcNavigation)\]$", cfg), rel
assert "FirestormNavMeshCaps =" not in cfg, rel
assert "OpenNavGraphCaps =" not in cfg, rel
api = (root / "OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs").read_text()
assert "IOglNativeTerrainQuery" not in api
assert "ScriptBaseClass.PU_FAILURE_NO_NAVMESH" in api
assert "public LSL_List llGetClosestNavPoint(" in api
assert "return new LSL_List();" in api
release = (root / "tools/ci/verify_09310_release_readiness.py").read_text()
assert '"NAV":' not in release and '"NAV08"' not in release
assert "assert len(REQUIRED_CASES) == 23" in release
assert "SEC_XP_OFF" in release and "ECON_MASTERBANK" in release
print("0.9.3.10 server: OGL Pathfinding fully excluded; LSL gracefully unsupported.")