back to table · edit · history · where entries came from · files · download
1152 bytes, as of the version from 2026-10-26 19:01 (current). Recorded here, not run.
"""T523 repair validation. Run alongside the unchanged website attachments.
sage -python repair_checks.py < API-key-file
The key is used only for authenticated reads of NumberDB. This executes the
attached builder's reproducible checks; it is not an independent critique.
"""
import hashlib
import json
import os
import sys
from pathlib import Path
import checks
import sage.version
from importlib.metadata import version
root = Path(__file__).resolve().parent
manifest_path = 'agents/runs/20261026T185537Z-repair-skills/manifest.json'
print(json.dumps({'table':'T523','stage':'repair','skill_manifest':manifest_path,
'manifest_sha256':'d03b756eaa1cd22ce39c8cee78fb3a44b052146786d6371925ac7bc9dec564f3',
'local_and_live_skill_sha256':'b4d51ded0d52cfe3dcc0859de0845c3879b0c2363273ba7e809a7e06ded40b18',
'sage':sage.version.version,'python':sys.version,'numberdb':version('numberdb'),
'check_source_sha256':hashlib.sha256(Path(checks.__file__).read_bytes()).hexdigest()}))
checks.run()
os.environ['NUMBERDB_KEY_FROM_STDIN']='1'
checks.stored_checks()
print('All T523 repair checks passed. No values or generator sources were changed.')