feat(web): authorize corrective smooth reader
This commit is contained in:
23
my-tools/compact_continuation_docs.py
Executable file
23
my-tools/compact_continuation_docs.py
Executable 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())
|
||||
Reference in New Issue
Block a user