Block isolation breaches and bind frozen replay to scheduled steps
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e76f-be98-7ae3-965d-e0b31290a4c4
This commit is contained in:
parent
a8bb787d12
commit
9cdade2116
10 changed files with 229 additions and 14 deletions
|
|
@ -103,12 +103,12 @@ def check_isolation_was_examined(pack: Mapping[str, Any]) -> list[str]:
|
|||
private marker and the runner examines them on every scenario, so the absence
|
||||
of this observation is itself a failure.
|
||||
"""
|
||||
for obs in _observations(pack):
|
||||
if obs["kind"] != "actor_isolation":
|
||||
continue
|
||||
violations = obs["data"].get("violations") or []
|
||||
return [f"actor isolation violated: {v}" for v in violations]
|
||||
return ["this run did not examine actor isolation at all"]
|
||||
records = [o for o in _observations(pack) if o["kind"] == "actor_isolation"]
|
||||
if not records:
|
||||
return ["this run did not examine actor isolation at all"]
|
||||
return [f"actor isolation violated: {v}" for o in records
|
||||
for v in o["data"].get("violations", [])]
|
||||
|
||||
|
||||
|
||||
# --- td://self/oracle-independence ---------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue