phase-36: delever_regen's agent start refuses a body with any !FAKE marker — its first run started from d20's parked invented-branch body; that row is excluded from banking; e27 (4) + e29 (2) banked

This commit is contained in:
Drew T
2026-09-11 04:08:36 -06:00
parent c2dba59cb8
commit 652e7fc3be
+3 -1
View File
@@ -66,7 +66,9 @@ def starts(e):
ap = REPO / ".run" / "P36" / "agents" / f"{e['alias']}__{e['fn']}" / "body.c"
if ap.exists():
t = ap.read_text(errors="surrogateescape")
if not re.search(r"__asm__|\bregister\b[^;]*\$", t) and all(t != x for _n, x in out):
# no lever AND no marked fake: S104's first run started from d20's PARKED body (invented always-false branches
# marked `!FAKE: dead-branch`, awaiting Drew) and the families "closed" it — a marked body is never a start text
if not re.search(r"__asm__|\bregister\b[^;]*\$|!FAKE", t) and all(t != x for _n, x in out):
out.append(("agent", t))
return out