feat(web): authorize corrective smooth reader

This commit is contained in:
mes123456
2026-09-02 18:35:58 +08:00
parent 244e058999
commit 0d61c64150
51 changed files with 127040 additions and 67 deletions

View File

@@ -0,0 +1,23 @@
#!/usr/bin/env python3
"""Report that Blender/WBV2 context bounds are enforced by the Node tools."""
from __future__ import annotations
import subprocess
from wbv2_runtime import ROOT
def main() -> int:
result = subprocess.run(["node", "tools/web/check-task-context.mjs"], cwd=ROOT, text=True, capture_output=True, check=False)
output = result.stdout or result.stderr
if output:
print(output, end="" if output.endswith("\n") else "\n")
if result.returncode:
return result.returncode
print("WBV2 CONTEXT WITHIN BUDGET: no document compaction required")
return 0
if __name__ == "__main__":
raise SystemExit(main())