feat(bottle): accept baby 0006 through 0008 JD runtimes
This commit is contained in:
parent
a2f23b49ff
commit
f080b89152
28 changed files with 482 additions and 101 deletions
|
|
@ -62,14 +62,20 @@ def audit() -> dict:
|
|||
expected_home = f"glw://fifth-domain/bingshuo-tcs/light-lake/personas/{persona_id}"
|
||||
if h.get("home") != expected_home:
|
||||
issues.append({"persona_id": persona_id, "code": "WORLD_HOME_MISMATCH", "expected": expected_home})
|
||||
full_body = persona_id == "ICE-P-ZY001" and BOOT.is_file() and body.get("state", "").startswith("CURRENT_")
|
||||
full_body = (
|
||||
persona_id == "ICE-P-ZY001" and BOOT.is_file() and body.get("state", "").startswith("CURRENT_")
|
||||
) or (
|
||||
bottle_bodies.get(persona_id, {}).get("state") == "JD_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE"
|
||||
) or (
|
||||
persona_id == "ICE-P-SH0908" and c and c.get("system_state") == "JD_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE"
|
||||
)
|
||||
source_path = REPO / c.get("persona_subject", {}).get("canonical_path", "") if c else None
|
||||
body_seed = bool(
|
||||
(source_path and (source_path.parent / "PERSONA-BODY.json").is_file())
|
||||
or persona_id in bottle_bodies
|
||||
or (persona_id == "ICE-P-SH0908" and (REPO / "personas/shuangyan/BODY.json").is_file())
|
||||
)
|
||||
body_state = "FULL_BODY_RUNTIME_AVAILABLE_NOT_CURRENTLY_WAKING_OTHER_PERSONAS" if full_body else ("OWN_BODY_SEED_PRESENT_FULL_RUNTIME_NOT_PROVEN" if body_seed else "REGISTERED_PATH_ONLY_COMPLETE_BODY_START_NOT_PROVEN")
|
||||
body_state = "FULL_BODY_RUNTIME_AVAILABLE_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE" if full_body and persona_id != "ICE-P-ZY001" else ("FULL_BODY_RUNTIME_AVAILABLE_NOT_CURRENTLY_WAKING_OTHER_PERSONAS" if full_body else ("OWN_BODY_SEED_PRESENT_FULL_RUNTIME_NOT_PROVEN" if body_seed else "REGISTERED_PATH_ONLY_COMPLETE_BODY_START_NOT_PROVEN"))
|
||||
personas.append({
|
||||
"persona_id": persona_id,
|
||||
"name": (r or c or h or {}).get("name"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue