Research-Stack/4-Infrastructure/infra
Devin AI e5f04ee6c3 refactor(infra): extract shared utilities from duplicated code patterns
Create 4-Infrastructure/lib/ with canonical implementations of:
- hashing.py: sha256_bytes, sha256_text, sha256_file
- q16.py: Q16_16 fixed-point constants and arithmetic
- jsonl.py: load_json, load_jsonl, write_jsonl, stable_json, canonical_json_bytes
- fraction_utils.py: Fraction serialization helpers for hardware probes

Refactor 66 files across 4-Infrastructure/{hardware,shim,infra} and
5-Applications/{scripts,tools-scripts,hutter_prize,text-to-cad} to import
from the shared library instead of maintaining local copies.

4-Infrastructure/auto/lib/q16.py now re-exports from lib.q16.

Net: -743 lines (490 added, 1233 removed)

Build: not applicable (Python-only change, py_compile verified on all 71 files)
Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-06-15 02:26:45 +00:00
..
access_control initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
embedded_surface fix(infra): resolve k3s services startup issues and update ingress configuration 2026-05-27 17:39:00 -05:00
ene-rds fix(adversarial-review): resolve 35 critical coding bugs across 8 subsystems 2026-05-31 23:38:03 -05:00
ene-session-sync chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
ene_plugins/tiddlywiki_bridge refactor(infra): extract shared utilities from duplicated code patterns 2026-06-15 02:26:45 +00:00
nodes chore: preserve working tree before secure wipe 2026-05-13 17:36:02 -05:00
service-orchestrator WIP: accumulated changes 2026-05-25 16:24:21 -05:00
shims initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
aws_language_proof_server_user_data.sh WIP: accumulated changes 2026-05-25 16:24:21 -05:00
backup-appflowy-db.sh Fix Porkbun DNS, automate postgres backups, fix rds_probe vulns 2026-05-18 11:52:01 -05:00
credential_store_schema.sql WIP: accumulated changes 2026-05-25 16:24:21 -05:00
deploy_aws_language_proof_server.sh WIP: accumulated changes 2026-05-25 16:24:21 -05:00
deploy_language_proof_server.sh Add proof worker pool routing 2026-05-25 22:27:18 -05:00
ec2-configuration.nix WIP: accumulated changes 2026-05-25 16:24:21 -05:00
ec2-idle-watchdog.service archive: remove experimental tools-scripts, scripts, and shim probes 2026-05-25 18:14:31 -05:00
ec2-idle-watchdog.timer archive: remove experimental tools-scripts, scripts, and shim probes 2026-05-25 18:14:31 -05:00
ec2_idle_watchdog.py archive: remove experimental tools-scripts, scripts, and shim probes 2026-05-25 18:14:31 -05:00
ene_cognitive_refactor_plan.md collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
ene_contextstream_mcp.py refactor(infra): extract shared utilities from duplicated code patterns 2026-06-15 02:26:45 +00:00
language_proof_server.py Add proof worker pool routing 2026-05-25 22:27:18 -05:00
nixos-setup-cred-server.sh WIP: accumulated changes 2026-05-25 16:24:21 -05:00
NV2 initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
recover_credential_server.sh ene-session-sync: complete Python→Rust port; fix all 6 pre-existing test failures 2026-05-19 14:44:19 +00:00
RECOVERY.md Add EC2 recovery backup: NixOS config, AppFlowy compose/env template, credential server bootstrap, recovery guide 2026-05-18 10:44:23 -05:00
remote_lean_proof_mcp.py Add proof worker pool routing 2026-05-25 22:27:18 -05:00
requirements_knowledge.txt initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00