Files
RecoveryHelio/.hermes/_register_reh.py
2026-10-06 23:43:54 -07:00

13 lines
629 B
Python

import json, os
# Load source-of-truth fields straight from canonical state for consistency across this whole session
sd = None
try:
sd = json.load(open("/Users/drjones/.hermes/app-factory/state.json"))
except Exception as e:
print("__STATE_ERR__", repr(e)[:100])
def pick(field): return sd.get(field) if isinstance(sd, dict) else "(missing)"
CT_IP = "10.30.20.114"
INTERNAL_PORT = 5092
TABLE_HOSTS_ID ="tblnw8XLSXzb5l4r2P1" # Hosts recorder (per memory: hosted app names incl recovery_helios_app_XXX)
print("REGISTER_START phase=%s ct_ip=%s port=%s hosts=%s"%(pick("phase"), CT_IP, INTERNAL_PORT, TABLE_HOSTS_ID))