feat(server): save economy hardening and CH5 continuation work

This commit is contained in:
shen
2026-10-22 06:22:23 -07:00
parent c979b53762
commit 5b7442ea37
142 changed files with 5850 additions and 1682 deletions
+12
View File
@@ -0,0 +1,12 @@
"""Actual production UI snapshot encoder plus transaction store with SQL adapter."""
import subprocess
import tempfile
import unittest
from pathlib import Path
ROOT=Path(__file__).resolve().parents[2]
class EconomyView(unittest.TestCase):
def test_atomic_bounded_snapshots_and_authoritative_receipts(self):
with tempfile.TemporaryDirectory() as tmp:
p=Path(tmp);exe=p/'view'
subprocess.run(['c++','-std=c++17','-fsanitize=address,undefined','-fno-sanitize-recover=all','-I'+str(ROOT),str(ROOT/'tests/features/fixtures/economy_view_probe.cpp'),'-lsqlite3','-o',str(exe)],check=True)
subprocess.run([str(exe),str(p/'view.db'),str(p/'frames')],check=True)