feat(identifiers): verify batch projections
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
parent
e6cc18bf18
commit
055c6971ab
11 changed files with 2964 additions and 9 deletions
|
|
@ -551,7 +551,7 @@ def registrar_reconcile(
|
|||
bootstrap_verified = projection_error is None
|
||||
|
||||
requested_verified = False
|
||||
if completed.returncode == 1 and not any(after.values()):
|
||||
if completed.returncode == 1 and any(before.values()) and not any(after.values()):
|
||||
(
|
||||
requested_workplans,
|
||||
requested_tasks,
|
||||
|
|
@ -578,7 +578,14 @@ def registrar_reconcile(
|
|||
# A repository-scoped projection repair may coexist with legacy stale
|
||||
# references that correctly keep the broader consistency report red.
|
||||
accepted_exit_codes.add(1)
|
||||
if completed.returncode not in accepted_exit_codes or any(after.values()):
|
||||
mode_verification_failed = bool(repair_projection_id and not repair_verified) or (
|
||||
bootstrap_empty_projection and not bootstrap_verified
|
||||
)
|
||||
if (
|
||||
completed.returncode not in accepted_exit_codes
|
||||
or any(after.values())
|
||||
or mode_verification_failed
|
||||
):
|
||||
return RegistrarResult(
|
||||
"failed",
|
||||
evidence,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue