diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/runtime_manifest.json b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/runtime_manifest.json
index c0735a6b..30445615 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/runtime_manifest.json
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/runtime_manifest.json
@@ -1818,11 +1818,11 @@
},
{
"path": "stage1_runtime/stage_a_context_builder.py",
- "sha256": "1943493e09d674fc8b8168967087ef831c578607cfb1d6aa77e33771a0bc9f4c"
+ "sha256": "eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1"
},
{
"path": "stage1_runtime/stage_a_context_builder.txt",
- "sha256": "1943493e09d674fc8b8168967087ef831c578607cfb1d6aa77e33771a0bc9f4c"
+ "sha256": "eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1"
},
{
"path": "stage1_runtime/structure_index_compiler.py",
diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.py b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.py
index bee8f93e..704e863e 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.py
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.py
@@ -184,18 +184,16 @@ def _build_meeting_clause_map(meeting_text: str) -> dict[str, Any]:
current["text"] = _norm_space(str(current.get("text", "")) + " " + stripped)
flush(len(lines))
- if not clauses:
- raise RuntimeError("client_meeting.md parse produced no numbered meeting clauses")
-
+ # 번호 조항이 없는 자유 형식 상담록은 빈 조항 맵으로 둔다(소비처는 빈 우주를 허용한다).
+ # 같은 번호가 다시 나오면 뒤의 것에 ~2, ~3 을 붙여 둘 다 남긴다.
by_id: dict[str, Any] = {}
- duplicate_clause_ids: list[str] = []
for clause in clauses:
- cid = clause["clause_id"]
- if cid in by_id:
- duplicate_clause_ids.append(cid)
+ cid, n = clause["clause_id"], 1
+ while cid in by_id:
+ n += 1
+ cid = f"{clause['clause_id']}~{n}"
+ clause["clause_id"] = cid
by_id[cid] = clause
- if duplicate_clause_ids:
- raise RuntimeError(f"Duplicate meeting clause ids after section normalization: {duplicate_clause_ids}")
return {
"schema_version": "meeting_clause_map.v1",
"clause_order": [c["clause_id"] for c in clauses],
diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.txt b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.txt
index bee8f93e..704e863e 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.txt
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent/stage1_runtime/stage_a_context_builder.txt
@@ -184,18 +184,16 @@ def _build_meeting_clause_map(meeting_text: str) -> dict[str, Any]:
current["text"] = _norm_space(str(current.get("text", "")) + " " + stripped)
flush(len(lines))
- if not clauses:
- raise RuntimeError("client_meeting.md parse produced no numbered meeting clauses")
-
+ # 번호 조항이 없는 자유 형식 상담록은 빈 조항 맵으로 둔다(소비처는 빈 우주를 허용한다).
+ # 같은 번호가 다시 나오면 뒤의 것에 ~2, ~3 을 붙여 둘 다 남긴다.
by_id: dict[str, Any] = {}
- duplicate_clause_ids: list[str] = []
for clause in clauses:
- cid = clause["clause_id"]
- if cid in by_id:
- duplicate_clause_ids.append(cid)
+ cid, n = clause["clause_id"], 1
+ while cid in by_id:
+ n += 1
+ cid = f"{clause['clause_id']}~{n}"
+ clause["clause_id"] = cid
by_id[cid] = clause
- if duplicate_clause_ids:
- raise RuntimeError(f"Duplicate meeting clause ids after section normalization: {duplicate_clause_ids}")
return {
"schema_version": "meeting_clause_map.v1",
"clause_order": [c["clause_id"] for c in clauses],
diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/Agent_Block_1.yml b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/Agent_Block_1.yml
index 362b3b09..67c8c1d3 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/Agent_Block_1.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/Agent_Block_1.yml
@@ -2,7 +2,7 @@
# Stage 5개: stage1_사건개요파악_기초작업 -> stage1_BO_시그널_생성 -> stage1_법률효과구조_생성 -> stage1_사실원장_생성 -> stage1_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본 Part YAML 과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(sha256 앞 12자): stage_1_part_1_v.8.yml d6e5c444f958 · stage_1_part_2_v.8.yml b20ca8a07cd2 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 8fd923c828d0
+# 원본(sha256 앞 12자): stage_1_part_1_v.8.yml 2fe795daa51f · stage_1_part_2_v.8.yml 2cee049d3662 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 8fd923c828d0
# Part 6(변호사 결정 반영)은 화면 결정 뒤 따로 실행하므로 넣지 않는다.
# 원본 Part YAML 을 고치면 이 파일을 다시 병합한다(merge_block1.py).
@@ -363,7 +363,7 @@ Agent:
- 예시: 【상담내용】 `2.` 사건군의 `라.` 문단 → `MTG.FACT.02.04`. 【사건관계인의 주장】 `5.`의 항 구분 없는 문단 → `MTG.OPP.05.00`. 【의뢰인의 희망사항】 `3.` → `MTG.WISH.03.00`. 【상담내용】의 사건군 앞 머리 문단 → `MTG.FACT.00.00`.
- 식별자는 반드시 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`를 만족해야 한다. 한글, 공백, 대괄호, `#`을 쓰지 않는다.
- 어떤 문단도 버리지 않는다. 위 규칙에 맞지 않는 문단은 `MTG.RAW.<3자리 일련번호>`로 부여하고 `review_items`에 `SCREENING_SOURCE_UNIT_FALLBACK`를 남긴다.
- - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task가 같은 규칙으로 독립 재산출하여 대조한다.
+ - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다.
- 후속 task가 `source_document_refs`를 만든다. 본 task는 그 필드를 만들지 않는다.
@@ -928,10 +928,7 @@ Agent:
"registry_index_sha256", "source_document_refs",
"screening_policy", "contract_guards")
- GANADA = "가나다라마바사아자차카타파하"
- SECTION_MARKERS = (("상담내용", "FACT"),
- ("사건관계인의주장", "OPP"),
- ("의뢰인의희망사항", "WISH"))
+ UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")
ERRORS = []
WARNINGS = []
@@ -946,57 +943,6 @@ Agent:
WARNINGS.append({"code": code, "message": message})
- # --------------------------------------------------------------------------
- # 1) source unit 독립 재산출
- # Task_A0_domain_screener_01 의 와 같은 규칙을
- # 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
- # --------------------------------------------------------------------------
- def mint_source_units(meeting_text):
- lines = unicodedata.normalize("NFC", meeting_text).split("\n")
- section = None
- cluster = 0
- units = []
- meta_seen = False
- raw_seq = 0
- for line in lines:
- t = line.strip()
- if not t:
- continue
- squashed = re.sub(r"\s+", "", t)
- if "【" in t and "】" in t:
- hit = None
- for needle, code in SECTION_MARKERS:
- if needle in squashed:
- hit = code
- break
- if hit:
- section = hit
- cluster = 0
- continue
- if section is None:
- # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
- if set(t) <= set("| -"):
- continue
- if not meta_seen:
- units.append("MTG.META.01")
- meta_seen = True
- continue
- m = re.match(r"^(\d{1,2})\.\s", t)
- if m:
- cluster = int(m.group(1))
- continue
- m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
- if m2:
- item = GANADA.index(m2.group(1)) + 1
- else:
- item = 0
- unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
- if unit_id in units:
- raw_seq += 1
- unit_id = "MTG.RAW.%03d" % raw_seq
- units.append(unit_id)
- return units, raw_seq
-
# --------------------------------------------------------------------------
# 2) 단어 사전 파싱
@@ -1185,43 +1131,25 @@ Agent:
"digest=%s registry=%s" % (digest["registry_version"], registry_version))
return None
- # ---- source unit 독립 재산출 ----
- universe, raw_fallback = mint_source_units(meeting_raw)
- if raw_fallback:
- warn("SCREENING_SOURCE_UNIT_FALLBACK",
- "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
if not universe:
- fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
return None
universe_set = set(universe)
if len(universe_set) != len(universe):
- fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
return None
- for u in universe:
- if not REF_RE.match(u):
- fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
source_document_refs = sorted(universe_set)
- # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
- draft_units = []
- for row in draft.get("source_unit_index", []) or []:
- if isinstance(row, dict) and row.get("unit_id"):
- draft_units.append(row["unit_id"])
- if draft_units and set(draft_units) != universe_set:
- only_draft = sorted(set(draft_units) - universe_set)
- only_mint = sorted(universe_set - set(draft_units))
- ADDED_REVIEWS.append({
- "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
- "severity": "review",
- "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
- "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
- % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
- "source_refs": sorted(set(only_mint))[:64],
- "domain_ids": ["E-00"],
- "unresolved_type": "source_unit_index_divergence",
- "blocks_final_drafting": False,
- })
-
# ---- 후보 검증 ----
candidates = draft.get("candidates")
if not isinstance(candidates, list):
@@ -11996,7 +11924,7 @@ Agent:
RUNTIME_MANIFEST_SCHEMA = "stage1_runtime_manifest.v1"
# 옛 묶음이 서버에 그대로면 아래 파일 대조는 통과한다. 이 YAML 이 기대하는 묶음을 고정한다.
# 배포 자산을 바꿀 때마다 함께 갱신한다.
- EXPECTED_RUNTIME_MANIFEST_SHA256 = "629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89"
+ EXPECTED_RUNTIME_MANIFEST_SHA256 = "c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c"
# registry_validator 는 overlay 오류를 모으기만 한다. 네 코드는 배포 문제이므로 경성으로 올린다.
OVERLAY_ERROR_CODES = ("PROMPT_OVERLAY_HASH_MISMATCH", "PROMPT_OVERLAY_NOT_FOUND",
"PROMPT_OVERLAY_PATH_INVALID", "PROMPT_OVERLAY_REFERENCE_DIVERGENCE")
diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_1_v.8.yml b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_1_v.8.yml
index 7558dcd4..d4144aa5 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_1_v.8.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_1_v.8.yml
@@ -352,7 +352,7 @@ Agent:
- 예시: 【상담내용】 `2.` 사건군의 `라.` 문단 → `MTG.FACT.02.04`. 【사건관계인의 주장】 `5.`의 항 구분 없는 문단 → `MTG.OPP.05.00`. 【의뢰인의 희망사항】 `3.` → `MTG.WISH.03.00`. 【상담내용】의 사건군 앞 머리 문단 → `MTG.FACT.00.00`.
- 식별자는 반드시 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`를 만족해야 한다. 한글, 공백, 대괄호, `#`을 쓰지 않는다.
- 어떤 문단도 버리지 않는다. 위 규칙에 맞지 않는 문단은 `MTG.RAW.<3자리 일련번호>`로 부여하고 `review_items`에 `SCREENING_SOURCE_UNIT_FALLBACK`를 남긴다.
- - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task가 같은 규칙으로 독립 재산출하여 대조한다.
+ - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다.
- 후속 task가 `source_document_refs`를 만든다. 본 task는 그 필드를 만들지 않는다.
@@ -917,10 +917,7 @@ Agent:
"registry_index_sha256", "source_document_refs",
"screening_policy", "contract_guards")
- GANADA = "가나다라마바사아자차카타파하"
- SECTION_MARKERS = (("상담내용", "FACT"),
- ("사건관계인의주장", "OPP"),
- ("의뢰인의희망사항", "WISH"))
+ UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")
ERRORS = []
WARNINGS = []
@@ -935,57 +932,6 @@ Agent:
WARNINGS.append({"code": code, "message": message})
- # --------------------------------------------------------------------------
- # 1) source unit 독립 재산출
- # Task_A0_domain_screener_01 의 와 같은 규칙을
- # 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
- # --------------------------------------------------------------------------
- def mint_source_units(meeting_text):
- lines = unicodedata.normalize("NFC", meeting_text).split("\n")
- section = None
- cluster = 0
- units = []
- meta_seen = False
- raw_seq = 0
- for line in lines:
- t = line.strip()
- if not t:
- continue
- squashed = re.sub(r"\s+", "", t)
- if "【" in t and "】" in t:
- hit = None
- for needle, code in SECTION_MARKERS:
- if needle in squashed:
- hit = code
- break
- if hit:
- section = hit
- cluster = 0
- continue
- if section is None:
- # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
- if set(t) <= set("| -"):
- continue
- if not meta_seen:
- units.append("MTG.META.01")
- meta_seen = True
- continue
- m = re.match(r"^(\d{1,2})\.\s", t)
- if m:
- cluster = int(m.group(1))
- continue
- m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
- if m2:
- item = GANADA.index(m2.group(1)) + 1
- else:
- item = 0
- unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
- if unit_id in units:
- raw_seq += 1
- unit_id = "MTG.RAW.%03d" % raw_seq
- units.append(unit_id)
- return units, raw_seq
-
# --------------------------------------------------------------------------
# 2) 단어 사전 파싱
@@ -1174,43 +1120,25 @@ Agent:
"digest=%s registry=%s" % (digest["registry_version"], registry_version))
return None
- # ---- source unit 독립 재산출 ----
- universe, raw_fallback = mint_source_units(meeting_raw)
- if raw_fallback:
- warn("SCREENING_SOURCE_UNIT_FALLBACK",
- "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
if not universe:
- fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
return None
universe_set = set(universe)
if len(universe_set) != len(universe):
- fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
return None
- for u in universe:
- if not REF_RE.match(u):
- fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
source_document_refs = sorted(universe_set)
- # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
- draft_units = []
- for row in draft.get("source_unit_index", []) or []:
- if isinstance(row, dict) and row.get("unit_id"):
- draft_units.append(row["unit_id"])
- if draft_units and set(draft_units) != universe_set:
- only_draft = sorted(set(draft_units) - universe_set)
- only_mint = sorted(universe_set - set(draft_units))
- ADDED_REVIEWS.append({
- "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
- "severity": "review",
- "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
- "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
- % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
- "source_refs": sorted(set(only_mint))[:64],
- "domain_ids": ["E-00"],
- "unresolved_type": "source_unit_index_divergence",
- "blocks_final_drafting": False,
- })
-
# ---- 후보 검증 ----
candidates = draft.get("candidates")
if not isinstance(candidates, list):
diff --git a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_2_v.8.yml b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_2_v.8.yml
index cf186cf5..c2425846 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_2_v.8.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.8/stage_1_part_2_v.8.yml
@@ -403,7 +403,7 @@ Agent:
RUNTIME_MANIFEST_SCHEMA = "stage1_runtime_manifest.v1"
# 옛 묶음이 서버에 그대로면 아래 파일 대조는 통과한다. 이 YAML 이 기대하는 묶음을 고정한다.
# 배포 자산을 바꿀 때마다 함께 갱신한다.
- EXPECTED_RUNTIME_MANIFEST_SHA256 = "629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89"
+ EXPECTED_RUNTIME_MANIFEST_SHA256 = "c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c"
# registry_validator 는 overlay 오류를 모으기만 한다. 네 코드는 배포 문제이므로 경성으로 올린다.
OVERLAY_ERROR_CODES = ("PROMPT_OVERLAY_HASH_MISMATCH", "PROMPT_OVERLAY_NOT_FOUND",
"PROMPT_OVERLAY_PATH_INVALID", "PROMPT_OVERLAY_REFERENCE_DIVERGENCE")
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
index 7807a66b..d3c45ac0 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
@@ -2,7 +2,7 @@
# Stage 4개: stage1_화면결정_반영 -> S2_00 -> S2_10_identify_claims -> S2_15_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 42079a3d2ecd v.1 · Stage_2_S2_00.yml 39fe3358226b 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 9de8bd8c978d v.1
+# 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 42079a3d2ecd v.1 · Stage_2_S2_00.yml 495d9a6d664e 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 9de8bd8c978d v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -1388,7 +1388,7 @@ Agent:
nexts: [S2_00]
# ======================================================================
- # [2] 원본 Stage_2_S2_00.yml (sha256 39fe3358226b)
+ # [2] 원본 Stage_2_S2_00.yml (sha256 495d9a6d664e)
# ======================================================================
#description: Stage 1 결과(16개 원본 + optional party_aliases)를 인증된 workspace에서 직접 읽어 C00 무결성 검증(v6 유지) 후 관계 묶음(RC = 원고측 단위 × 선언 상대방)을
# 결정론적으로 생성한다(S2_00_재작성전략_10_06_v.2). LLM 0회. RC별 slice·공통 context·등록부·edge·review를 쓰고 status를 마지막에 기록한다.
@@ -3813,7 +3813,7 @@ Agent:
return True
- SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
+ SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/1. Stage_1/v.8/Agent_Block_1.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/1. Stage_1/v.8/Agent_Block_1.yml
index 7e0d6399..9dcc10d8 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/1. Stage_1/v.8/Agent_Block_1.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/1. Stage_1/v.8/Agent_Block_1.yml
@@ -2,7 +2,7 @@
# Stage 5개: stage1_사건개요파악_기초작업 -> stage1_BO_시그널_생성 -> stage1_법률효과구조_생성 -> stage1_사실원장_생성 -> stage1_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본 Part YAML 과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(sha256 앞 12자): stage_1_part_1_v.8.yml d6e5c444f958 · stage_1_part_2_v.8.yml b20ca8a07cd2 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 23c1225ff69c
+# 원본(sha256 앞 12자): stage_1_part_1_v.8.yml 2fe795daa51f · stage_1_part_2_v.8.yml 2cee049d3662 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 23c1225ff69c
# Part 6(변호사 결정 반영)은 화면 결정 뒤 따로 실행하므로 넣지 않는다.
# 원본 Part YAML 을 고치면 이 파일을 다시 병합한다(merge_block1.py).
@@ -363,7 +363,7 @@ Agent:
- 예시: 【상담내용】 `2.` 사건군의 `라.` 문단 → `MTG.FACT.02.04`. 【사건관계인의 주장】 `5.`의 항 구분 없는 문단 → `MTG.OPP.05.00`. 【의뢰인의 희망사항】 `3.` → `MTG.WISH.03.00`. 【상담내용】의 사건군 앞 머리 문단 → `MTG.FACT.00.00`.
- 식별자는 반드시 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`를 만족해야 한다. 한글, 공백, 대괄호, `#`을 쓰지 않는다.
- 어떤 문단도 버리지 않는다. 위 규칙에 맞지 않는 문단은 `MTG.RAW.<3자리 일련번호>`로 부여하고 `review_items`에 `SCREENING_SOURCE_UNIT_FALLBACK`를 남긴다.
- - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task가 같은 규칙으로 독립 재산출하여 대조한다.
+ - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다.
- 후속 task가 `source_document_refs`를 만든다. 본 task는 그 필드를 만들지 않는다.
@@ -928,10 +928,7 @@ Agent:
"registry_index_sha256", "source_document_refs",
"screening_policy", "contract_guards")
- GANADA = "가나다라마바사아자차카타파하"
- SECTION_MARKERS = (("상담내용", "FACT"),
- ("사건관계인의주장", "OPP"),
- ("의뢰인의희망사항", "WISH"))
+ UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")
ERRORS = []
WARNINGS = []
@@ -946,57 +943,6 @@ Agent:
WARNINGS.append({"code": code, "message": message})
- # --------------------------------------------------------------------------
- # 1) source unit 독립 재산출
- # Task_A0_domain_screener_01 의 와 같은 규칙을
- # 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
- # --------------------------------------------------------------------------
- def mint_source_units(meeting_text):
- lines = unicodedata.normalize("NFC", meeting_text).split("\n")
- section = None
- cluster = 0
- units = []
- meta_seen = False
- raw_seq = 0
- for line in lines:
- t = line.strip()
- if not t:
- continue
- squashed = re.sub(r"\s+", "", t)
- if "【" in t and "】" in t:
- hit = None
- for needle, code in SECTION_MARKERS:
- if needle in squashed:
- hit = code
- break
- if hit:
- section = hit
- cluster = 0
- continue
- if section is None:
- # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
- if set(t) <= set("| -"):
- continue
- if not meta_seen:
- units.append("MTG.META.01")
- meta_seen = True
- continue
- m = re.match(r"^(\d{1,2})\.\s", t)
- if m:
- cluster = int(m.group(1))
- continue
- m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
- if m2:
- item = GANADA.index(m2.group(1)) + 1
- else:
- item = 0
- unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
- if unit_id in units:
- raw_seq += 1
- unit_id = "MTG.RAW.%03d" % raw_seq
- units.append(unit_id)
- return units, raw_seq
-
# --------------------------------------------------------------------------
# 2) 단어 사전 파싱
@@ -1185,43 +1131,25 @@ Agent:
"digest=%s registry=%s" % (digest["registry_version"], registry_version))
return None
- # ---- source unit 독립 재산출 ----
- universe, raw_fallback = mint_source_units(meeting_raw)
- if raw_fallback:
- warn("SCREENING_SOURCE_UNIT_FALLBACK",
- "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
if not universe:
- fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
return None
universe_set = set(universe)
if len(universe_set) != len(universe):
- fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
return None
- for u in universe:
- if not REF_RE.match(u):
- fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
source_document_refs = sorted(universe_set)
- # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
- draft_units = []
- for row in draft.get("source_unit_index", []) or []:
- if isinstance(row, dict) and row.get("unit_id"):
- draft_units.append(row["unit_id"])
- if draft_units and set(draft_units) != universe_set:
- only_draft = sorted(set(draft_units) - universe_set)
- only_mint = sorted(universe_set - set(draft_units))
- ADDED_REVIEWS.append({
- "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
- "severity": "review",
- "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
- "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
- % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
- "source_refs": sorted(set(only_mint))[:64],
- "domain_ids": ["E-00"],
- "unresolved_type": "source_unit_index_divergence",
- "blocks_final_drafting": False,
- })
-
# ---- 후보 검증 ----
candidates = draft.get("candidates")
if not isinstance(candidates, list):
@@ -11996,7 +11924,7 @@ Agent:
RUNTIME_MANIFEST_SCHEMA = "stage1_runtime_manifest.v1"
# 옛 묶음이 서버에 그대로면 아래 파일 대조는 통과한다. 이 YAML 이 기대하는 묶음을 고정한다.
# 배포 자산을 바꿀 때마다 함께 갱신한다.
- EXPECTED_RUNTIME_MANIFEST_SHA256 = "629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89"
+ EXPECTED_RUNTIME_MANIFEST_SHA256 = "c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c"
# registry_validator 는 overlay 오류를 모으기만 한다. 네 코드는 배포 문제이므로 경성으로 올린다.
OVERLAY_ERROR_CODES = ("PROMPT_OVERLAY_HASH_MISMATCH", "PROMPT_OVERLAY_NOT_FOUND",
"PROMPT_OVERLAY_PATH_INVALID", "PROMPT_OVERLAY_REFERENCE_DIVERGENCE")
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
index 563d092f..8f722e50 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Agent_Block_2.yml
@@ -2,7 +2,7 @@
# Stage 4개: stage1_화면결정_반영 -> S2_00 -> S2_10_identify_claims -> S2_15_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 792467ce6771 v.1 · Stage_2_S2_00.yml 39fe3358226b 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 7dfb9c104e9f v.1
+# 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 792467ce6771 v.1 · Stage_2_S2_00.yml 495d9a6d664e 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 7dfb9c104e9f v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -1388,7 +1388,7 @@ Agent:
nexts: [S2_00]
# ======================================================================
- # [2] 원본 Stage_2_S2_00.yml (sha256 39fe3358226b)
+ # [2] 원본 Stage_2_S2_00.yml (sha256 495d9a6d664e)
# ======================================================================
#description: Stage 1 결과(16개 원본 + optional party_aliases)를 인증된 workspace에서 직접 읽어 C00 무결성 검증(v6 유지) 후 관계 묶음(RC = 원고측 단위 × 선언 상대방)을
# 결정론적으로 생성한다(S2_00_재작성전략_10_06_v.2). LLM 0회. RC별 slice·공통 context·등록부·edge·review를 쓰고 status를 마지막에 기록한다.
@@ -3813,7 +3813,7 @@ Agent:
return True
- SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
+ SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
index 49b300d4..50a6d97b 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/HITL/화면연구/revised_files/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
@@ -6,7 +6,7 @@
# 같은 세션에서 confirm 하면 백엔드가 다음 Stage 하나만 돌고 다시 멈춘다(skip_confirm 무시). 멈춘 세션은 deny 로 닫고
# (안 닫으면 1800초 뒤 Action timeout) 위 번호로 새 실행을 시작한다. Stage 사이 값은 workspace 파일로만 넘긴다.
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(파일 sha256 앞 12자 · 원본 Agent version): Agent_Block_1.yml efa21061b59c v.1 · Agent_Block_2.yml 13727553c228 v.1 · Agent_Block_3.yml 16a87e5a4f30 v.1 · Agent_Block_4.yml b7cf4a43658a v.1 · Stage_2_S2_35.yml 7b8cc3a73815 v.1
+# 원본(파일 sha256 앞 12자 · 원본 Agent version): Agent_Block_1.yml ad44a839957a v.1 · Agent_Block_2.yml aec318db3dfb v.1 · Agent_Block_3.yml 16a87e5a4f30 v.1 · Agent_Block_4.yml b7cf4a43658a v.1 · Stage_2_S2_35.yml 7b8cc3a73815 v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -25,13 +25,13 @@ Agent:
Stages:
# ======================================================================
- # [1] 원본 Agent_Block_1.yml (sha256 efa21061b59c)
+ # [1] 원본 Agent_Block_1.yml (sha256 ad44a839957a)
# ======================================================================
# Agent_Block_1.yml — Stage 1 Part 1~5 를 한 번에 순차 실행한다.
# Stage 5개: stage1_사건개요파악_기초작업 -> stage1_BO_시그널_생성 -> stage1_법률효과구조_생성 -> stage1_사실원장_생성 -> stage1_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본 Part YAML 과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
- # 원본(sha256 앞 12자): stage_1_part_1_v.8.yml d6e5c444f958 · stage_1_part_2_v.8.yml b20ca8a07cd2 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 23c1225ff69c
+ # 원본(sha256 앞 12자): stage_1_part_1_v.8.yml 2fe795daa51f · stage_1_part_2_v.8.yml 2cee049d3662 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 23c1225ff69c
# Part 6(변호사 결정 반영)은 화면 결정 뒤 따로 실행하므로 넣지 않는다.
# 원본 Part YAML 을 고치면 이 파일을 다시 병합한다(merge_block1.py).
@@ -386,7 +386,7 @@ Agent:
- 예시: 【상담내용】 `2.` 사건군의 `라.` 문단 → `MTG.FACT.02.04`. 【사건관계인의 주장】 `5.`의 항 구분 없는 문단 → `MTG.OPP.05.00`. 【의뢰인의 희망사항】 `3.` → `MTG.WISH.03.00`. 【상담내용】의 사건군 앞 머리 문단 → `MTG.FACT.00.00`.
- 식별자는 반드시 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`를 만족해야 한다. 한글, 공백, 대괄호, `#`을 쓰지 않는다.
- 어떤 문단도 버리지 않는다. 위 규칙에 맞지 않는 문단은 `MTG.RAW.<3자리 일련번호>`로 부여하고 `review_items`에 `SCREENING_SOURCE_UNIT_FALLBACK`를 남긴다.
- - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task가 같은 규칙으로 독립 재산출하여 대조한다.
+ - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다.
- 후속 task가 `source_document_refs`를 만든다. 본 task는 그 필드를 만들지 않는다.
@@ -951,10 +951,7 @@ Agent:
"registry_index_sha256", "source_document_refs",
"screening_policy", "contract_guards")
- GANADA = "가나다라마바사아자차카타파하"
- SECTION_MARKERS = (("상담내용", "FACT"),
- ("사건관계인의주장", "OPP"),
- ("의뢰인의희망사항", "WISH"))
+ UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")
ERRORS = []
WARNINGS = []
@@ -969,57 +966,6 @@ Agent:
WARNINGS.append({"code": code, "message": message})
- # --------------------------------------------------------------------------
- # 1) source unit 독립 재산출
- # Task_A0_domain_screener_01 의 와 같은 규칙을
- # 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
- # --------------------------------------------------------------------------
- def mint_source_units(meeting_text):
- lines = unicodedata.normalize("NFC", meeting_text).split("\n")
- section = None
- cluster = 0
- units = []
- meta_seen = False
- raw_seq = 0
- for line in lines:
- t = line.strip()
- if not t:
- continue
- squashed = re.sub(r"\s+", "", t)
- if "【" in t and "】" in t:
- hit = None
- for needle, code in SECTION_MARKERS:
- if needle in squashed:
- hit = code
- break
- if hit:
- section = hit
- cluster = 0
- continue
- if section is None:
- # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
- if set(t) <= set("| -"):
- continue
- if not meta_seen:
- units.append("MTG.META.01")
- meta_seen = True
- continue
- m = re.match(r"^(\d{1,2})\.\s", t)
- if m:
- cluster = int(m.group(1))
- continue
- m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
- if m2:
- item = GANADA.index(m2.group(1)) + 1
- else:
- item = 0
- unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
- if unit_id in units:
- raw_seq += 1
- unit_id = "MTG.RAW.%03d" % raw_seq
- units.append(unit_id)
- return units, raw_seq
-
# --------------------------------------------------------------------------
# 2) 단어 사전 파싱
@@ -1208,43 +1154,25 @@ Agent:
"digest=%s registry=%s" % (digest["registry_version"], registry_version))
return None
- # ---- source unit 독립 재산출 ----
- universe, raw_fallback = mint_source_units(meeting_raw)
- if raw_fallback:
- warn("SCREENING_SOURCE_UNIT_FALLBACK",
- "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
if not universe:
- fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
return None
universe_set = set(universe)
if len(universe_set) != len(universe):
- fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
return None
- for u in universe:
- if not REF_RE.match(u):
- fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
source_document_refs = sorted(universe_set)
- # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
- draft_units = []
- for row in draft.get("source_unit_index", []) or []:
- if isinstance(row, dict) and row.get("unit_id"):
- draft_units.append(row["unit_id"])
- if draft_units and set(draft_units) != universe_set:
- only_draft = sorted(set(draft_units) - universe_set)
- only_mint = sorted(universe_set - set(draft_units))
- ADDED_REVIEWS.append({
- "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
- "severity": "review",
- "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
- "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
- % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
- "source_refs": sorted(set(only_mint))[:64],
- "domain_ids": ["E-00"],
- "unresolved_type": "source_unit_index_divergence",
- "blocks_final_drafting": False,
- })
-
# ---- 후보 검증 ----
candidates = draft.get("candidates")
if not isinstance(candidates, list):
@@ -12019,7 +11947,7 @@ Agent:
RUNTIME_MANIFEST_SCHEMA = "stage1_runtime_manifest.v1"
# 옛 묶음이 서버에 그대로면 아래 파일 대조는 통과한다. 이 YAML 이 기대하는 묶음을 고정한다.
# 배포 자산을 바꿀 때마다 함께 갱신한다.
- EXPECTED_RUNTIME_MANIFEST_SHA256 = "629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89"
+ EXPECTED_RUNTIME_MANIFEST_SHA256 = "c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c"
# registry_validator 는 overlay 오류를 모으기만 한다. 네 코드는 배포 문제이므로 경성으로 올린다.
OVERLAY_ERROR_CODES = ("PROMPT_OVERLAY_HASH_MISMATCH", "PROMPT_OVERLAY_NOT_FOUND",
"PROMPT_OVERLAY_PATH_INVALID", "PROMPT_OVERLAY_REFERENCE_DIVERGENCE")
@@ -23874,13 +23802,13 @@ Agent:
nexts: [stage1_화면결정_반영]
# ======================================================================
- # [2] 원본 Agent_Block_2.yml (sha256 13727553c228)
+ # [2] 원본 Agent_Block_2.yml (sha256 aec318db3dfb)
# ======================================================================
# Agent_Block_2.yml — 아래 원본 YAML 의 Stage 를 한 번에 순차 실행한다.
# Stage 4개: stage1_화면결정_반영 -> S2_00 -> S2_10_identify_claims -> S2_15_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
- # 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 792467ce6771 v.1 · Stage_2_S2_00.yml 39fe3358226b 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 7dfb9c104e9f v.1
+ # 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 792467ce6771 v.1 · Stage_2_S2_00.yml 495d9a6d664e 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 7dfb9c104e9f v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -25260,7 +25188,7 @@ Agent:
nexts: [S2_00]
# ======================================================================
- # [2] 원본 Stage_2_S2_00.yml (sha256 39fe3358226b)
+ # [2] 원본 Stage_2_S2_00.yml (sha256 495d9a6d664e)
# ======================================================================
#description: Stage 1 결과(16개 원본 + optional party_aliases)를 인증된 workspace에서 직접 읽어 C00 무결성 검증(v6 유지) 후 관계 묶음(RC = 원고측 단위 × 선언 상대방)을
# 결정론적으로 생성한다(S2_00_재작성전략_10_06_v.2). LLM 0회. RC별 slice·공통 context·등록부·edge·review를 쓰고 status를 마지막에 기록한다.
@@ -27685,7 +27613,7 @@ Agent:
return True
- SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
+ SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
index 89304829..7a139493 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Liti_agent_beta_v1.yml
@@ -6,7 +6,7 @@
# 같은 세션에서 confirm 하면 백엔드가 다음 Stage 하나만 돌고 다시 멈춘다(skip_confirm 무시). 멈춘 세션은 deny 로 닫고
# (안 닫으면 1800초 뒤 Action timeout) 위 번호로 새 실행을 시작한다. Stage 사이 값은 workspace 파일로만 넘긴다.
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
-# 원본(파일 sha256 앞 12자 · 원본 Agent version): Agent_Block_1.yml 1b9acf9f0804 v.1 · Agent_Block_2.yml dceb9739fbe8 v.1 · Agent_Block_3.yml 0157f76e55ea v.1 · Agent_Block_4.yml d9017f74efe6 v.1 · Stage_2_S2_35.yml 643a060151c2 v.1
+# 원본(파일 sha256 앞 12자 · 원본 Agent version): Agent_Block_1.yml e1b018c1b5e9 v.1 · Agent_Block_2.yml 4d934edb0354 v.1 · Agent_Block_3.yml 0157f76e55ea v.1 · Agent_Block_4.yml d9017f74efe6 v.1 · Stage_2_S2_35.yml 643a060151c2 v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -25,13 +25,13 @@ Agent:
Stages:
# ======================================================================
- # [1] 원본 Agent_Block_1.yml (sha256 1b9acf9f0804)
+ # [1] 원본 Agent_Block_1.yml (sha256 e1b018c1b5e9)
# ======================================================================
# Agent_Block_1.yml — Stage 1 Part 1~5 를 한 번에 순차 실행한다.
# Stage 5개: stage1_사건개요파악_기초작업 -> stage1_BO_시그널_생성 -> stage1_법률효과구조_생성 -> stage1_사실원장_생성 -> stage1_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본 Part YAML 과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
- # 원본(sha256 앞 12자): stage_1_part_1_v.8.yml d6e5c444f958 · stage_1_part_2_v.8.yml b20ca8a07cd2 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 8fd923c828d0
+ # 원본(sha256 앞 12자): stage_1_part_1_v.8.yml 2fe795daa51f · stage_1_part_2_v.8.yml 2cee049d3662 · stage_1_part_3_v.8.yml 5b6336bd76e6 · stage_1_part_4_v.8.yml daf452603346 · stage_1_part_5_v.8.yml 8fd923c828d0
# Part 6(변호사 결정 반영)은 화면 결정 뒤 따로 실행하므로 넣지 않는다.
# 원본 Part YAML 을 고치면 이 파일을 다시 병합한다(merge_block1.py).
@@ -386,7 +386,7 @@ Agent:
- 예시: 【상담내용】 `2.` 사건군의 `라.` 문단 → `MTG.FACT.02.04`. 【사건관계인의 주장】 `5.`의 항 구분 없는 문단 → `MTG.OPP.05.00`. 【의뢰인의 희망사항】 `3.` → `MTG.WISH.03.00`. 【상담내용】의 사건군 앞 머리 문단 → `MTG.FACT.00.00`.
- 식별자는 반드시 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`를 만족해야 한다. 한글, 공백, 대괄호, `#`을 쓰지 않는다.
- 어떤 문단도 버리지 않는다. 위 규칙에 맞지 않는 문단은 `MTG.RAW.<3자리 일련번호>`로 부여하고 `review_items`에 `SCREENING_SOURCE_UNIT_FALLBACK`를 남긴다.
- - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task가 같은 규칙으로 독립 재산출하여 대조한다.
+ - 부여한 전체 목록을 `source_unit_index`에 문서 등장 순서대로 기록한다. 이 목록이 본 task가 살펴본 원천의 전부이며, 후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다.
- 후속 task가 `source_document_refs`를 만든다. 본 task는 그 필드를 만들지 않는다.
@@ -951,10 +951,7 @@ Agent:
"registry_index_sha256", "source_document_refs",
"screening_policy", "contract_guards")
- GANADA = "가나다라마바사아자차카타파하"
- SECTION_MARKERS = (("상담내용", "FACT"),
- ("사건관계인의주장", "OPP"),
- ("의뢰인의희망사항", "WISH"))
+ UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")
ERRORS = []
WARNINGS = []
@@ -969,57 +966,6 @@ Agent:
WARNINGS.append({"code": code, "message": message})
- # --------------------------------------------------------------------------
- # 1) source unit 독립 재산출
- # Task_A0_domain_screener_01 의 와 같은 규칙을
- # 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
- # --------------------------------------------------------------------------
- def mint_source_units(meeting_text):
- lines = unicodedata.normalize("NFC", meeting_text).split("\n")
- section = None
- cluster = 0
- units = []
- meta_seen = False
- raw_seq = 0
- for line in lines:
- t = line.strip()
- if not t:
- continue
- squashed = re.sub(r"\s+", "", t)
- if "【" in t and "】" in t:
- hit = None
- for needle, code in SECTION_MARKERS:
- if needle in squashed:
- hit = code
- break
- if hit:
- section = hit
- cluster = 0
- continue
- if section is None:
- # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
- if set(t) <= set("| -"):
- continue
- if not meta_seen:
- units.append("MTG.META.01")
- meta_seen = True
- continue
- m = re.match(r"^(\d{1,2})\.\s", t)
- if m:
- cluster = int(m.group(1))
- continue
- m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
- if m2:
- item = GANADA.index(m2.group(1)) + 1
- else:
- item = 0
- unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
- if unit_id in units:
- raw_seq += 1
- unit_id = "MTG.RAW.%03d" % raw_seq
- units.append(unit_id)
- return units, raw_seq
-
# --------------------------------------------------------------------------
# 2) 단어 사전 파싱
@@ -1208,43 +1154,25 @@ Agent:
"digest=%s registry=%s" % (digest["registry_version"], registry_version))
return None
- # ---- source unit 독립 재산출 ----
- universe, raw_fallback = mint_source_units(meeting_raw)
- if raw_fallback:
- warn("SCREENING_SOURCE_UNIT_FALLBACK",
- "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
if not universe:
- fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
return None
universe_set = set(universe)
if len(universe_set) != len(universe):
- fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
return None
- for u in universe:
- if not REF_RE.match(u):
- fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
source_document_refs = sorted(universe_set)
- # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
- draft_units = []
- for row in draft.get("source_unit_index", []) or []:
- if isinstance(row, dict) and row.get("unit_id"):
- draft_units.append(row["unit_id"])
- if draft_units and set(draft_units) != universe_set:
- only_draft = sorted(set(draft_units) - universe_set)
- only_mint = sorted(universe_set - set(draft_units))
- ADDED_REVIEWS.append({
- "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
- "severity": "review",
- "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
- "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
- % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
- "source_refs": sorted(set(only_mint))[:64],
- "domain_ids": ["E-00"],
- "unresolved_type": "source_unit_index_divergence",
- "blocks_final_drafting": False,
- })
-
# ---- 후보 검증 ----
candidates = draft.get("candidates")
if not isinstance(candidates, list):
@@ -12019,7 +11947,7 @@ Agent:
RUNTIME_MANIFEST_SCHEMA = "stage1_runtime_manifest.v1"
# 옛 묶음이 서버에 그대로면 아래 파일 대조는 통과한다. 이 YAML 이 기대하는 묶음을 고정한다.
# 배포 자산을 바꿀 때마다 함께 갱신한다.
- EXPECTED_RUNTIME_MANIFEST_SHA256 = "629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89"
+ EXPECTED_RUNTIME_MANIFEST_SHA256 = "c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c"
# registry_validator 는 overlay 오류를 모으기만 한다. 네 코드는 배포 문제이므로 경성으로 올린다.
OVERLAY_ERROR_CODES = ("PROMPT_OVERLAY_HASH_MISMATCH", "PROMPT_OVERLAY_NOT_FOUND",
"PROMPT_OVERLAY_PATH_INVALID", "PROMPT_OVERLAY_REFERENCE_DIVERGENCE")
@@ -23700,13 +23628,13 @@ Agent:
nexts: [stage1_화면결정_반영]
# ======================================================================
- # [2] 원본 Agent_Block_2.yml (sha256 dceb9739fbe8)
+ # [2] 원본 Agent_Block_2.yml (sha256 4d934edb0354)
# ======================================================================
# Agent_Block_2.yml — 아래 원본 YAML 의 Stage 를 한 번에 순차 실행한다.
# Stage 4개: stage1_화면결정_반영 -> S2_00 -> S2_10_identify_claims -> S2_15_결과화면_모델_생성
# Stage 사이는 prevs/nexts 로 잇고 모두 skip_confirm: true(앞 Stage 가 끝나면 확인 없이 다음 Stage).
# 각 Stage 의 tools · task_procedure · tasks 는 원본과 같다(들여쓰기와 공백만 있는 줄만 맞춤. 파싱 값 동일을 병합 때 검사).
- # 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 42079a3d2ecd v.1 · Stage_2_S2_00.yml 39fe3358226b 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 9de8bd8c978d v.1
+ # 원본(파일 sha256 앞 12자 · 원본 Agent version): stage_1_part_6_v.8.yml 42079a3d2ecd v.1 · Stage_2_S2_00.yml 495d9a6d664e 7.12.0 · Stage_2_S2_10.yml 389c5bac4369 7.6.4 · Stage_2_S2_15.yml 9de8bd8c978d v.1
# 아래 원본 머리 주석의 '이 파일' · '이 YAML' 은 그 원본 YAML 을 가리킨다.
# 주의: 앞 Stage 의 task 가 실패해도 백엔드가 다음 Stage 를 시작할 수 있다(2. Stage_2/MEMORY.md 10-06 backend 판독, 미실측).
# 앞 Stage 가 멈췄으면 그 status.json 을 보고, 다음 Stage 결과물은 쓰지 않는다.
@@ -25086,7 +25014,7 @@ Agent:
nexts: [S2_00]
# ======================================================================
- # [2] 원본 Stage_2_S2_00.yml (sha256 39fe3358226b)
+ # [2] 원본 Stage_2_S2_00.yml (sha256 495d9a6d664e)
# ======================================================================
#description: Stage 1 결과(16개 원본 + optional party_aliases)를 인증된 workspace에서 직접 읽어 C00 무결성 검증(v6 유지) 후 관계 묶음(RC = 원고측 단위 × 선언 상대방)을
# 결정론적으로 생성한다(S2_00_재작성전략_10_06_v.2). LLM 0회. RC별 slice·공통 context·등록부·edge·review를 쓰고 status를 마지막에 기록한다.
@@ -27511,7 +27439,7 @@ Agent:
return True
- SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
+ SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Stage_2_S2_00.yml b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Stage_2_S2_00.yml
index 7134d929..a5a25e56 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Stage_2_S2_00.yml
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/Stage_2_S2_00.yml
@@ -2426,7 +2426,7 @@ Agent:
return True
- SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"629698ec67b1afee8b5b82b54379004dc40035aed322158650c74a508c65cb89","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
+ SOURCE_POLICY = load_json_strict(r'''{"stage1_sources":[{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","logical_input_id":"evidence_indexed","path":"evidence_indexed.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B1_quality_gate_evidence_indexed","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","logical_input_id":"evidence_event_candidates","path":"evidence_event_candidates.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_quality_gate_event_candidates","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","items"],"requirement_class":"EVIDENCE_EVENT_SCOPE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-CLIENT-GOAL-V8-V1","logical_input_id":"client_goal","path":"client_goal.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A_client_goal","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["primary_goal","constraints","parties"],"requirement_class":"OPTIMIZATION_CONTEXT","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DOMAIN-SCREENING-V1","logical_input_id":"domain_screening","path":"routing/domain_screening.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_A0_domain_screener_02","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_screening"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-DUAL-SG01-V1","logical_input_id":"domain_activation_manifest","path":"routing/domain_activation_manifest.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_D0_domain_activation_gate","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["domain_activation_manifest"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","path":"signals/schemas/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a"},"transaction_identity_pointer":null},{"adapter_id":"S2A-B1-GATE-V1","logical_input_id":"b1_evidence_indexed_gate","path":"quality_gates/B1_evidence_indexed_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-B2-GATE-V1","logical_input_id":"b2_event_candidates_gate","path":"quality_gates/B2_event_candidates_gate.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B12_gate_audit_finalizer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_contract_version","gate_id","overall_severity","hard_gate_findings","review_findings","stage2_auto_progression_allowed"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","logical_input_id":"stage1_part1_soft_gate_handoff","path":"quality_gates/stage1_part1_soft_gate_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_B2_SHA256_soft_gate_handoff_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","handoff_status","review_items","stage2_auto_progression_allowed","hard_gate_summary","review_item_conservation","digest_guard"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-BO-V8-LIST-V1","logical_input_id":"bo","path":"BO.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_manifest","path":"signals/signal_manifest.json","path_rule":null,"producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["files","downstream_read_sets"],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","path":"signals/schemas/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681"},"transaction_identity_pointer":"/transaction_id"},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","logical_input_id":"stage1_part2_review_handoff","path":"quality_gates/stage1_part2_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version","status","review_items"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-LES-CURRENT-V8-V1","logical_input_id":"legal_effect_structures","path":"legal_effect_structures.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"ROUTING_PROFILE_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","path":"platform/schemas/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df"},"transaction_identity_pointer":"/signal_manifest_transaction_id"},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part3_review_handoff","path":"quality_gates/stage1_part3_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_LE_L2_final_structure_index_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part3_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","logical_input_id":"fact_ledger_base","path":"Fact_Ledger_base.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":[],"requirement_class":"IDENTITY_BACKBONE","run_identity_pointer":null,"schema_ref":{"$id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","path":"platform/schemas/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8"},"transaction_identity_pointer":null},{"adapter_id":"S2A-FACT-LEDGER-WRITER-REPORT-V1","logical_input_id":"fact_ledger_writer_report","path":"stage1_tmp/fact_ledger/fact_ledger_writer_report.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["schema_version"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","logical_input_id":"stage1_part4_review_handoff","path":"quality_gates/stage1_part4_review_handoff.json","path_rule":null,"producer_alias_id":null,"producer_id":"Task_C_FL_F2_final_fact_ledger_gate_and_writer","raw_hash_source":"UNAVAILABLE_DEV","required_keys":["stage1_part4_review_handoff"],"requirement_class":"INTEGRITY_CORROBORATOR","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null},{"adapter_id":"S2A-SIGNAL-ALL-V1","logical_input_id":"signal_payload_family","path":null,"path_rule":"signals/","producer_alias_id":"PA-SG-COMPILER-001","producer_id":"Task_C_BO_S0_signal_bundle_writer","raw_hash_source":"MANIFEST_ROW","required_keys":[],"requirement_class":"SIGNAL_PAYLOAD","run_identity_pointer":null,"schema_ref":null,"transaction_identity_pointer":null}],"dependency_locks":{"stage1":{"closure_scope":"REFERENCED_55_ONLY_NOT_FULL_STAGE1_RUNTIME_RELEASE","closure_snapshot_date":"2026-08-29","concrete_paths":[{"binding_status":"BOUND","lock_id":"S1-DEPLOY-001","path":"runtime_manifest.json","schema_id":"stage1_runtime_manifest.v1","sha256":"c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-002","path":"domains/_registry_index.json","schema_id":null,"sha256":"9f177ebf8860e20e05483967a2037f3baa09c2ac92c69ddeb260c04ca31ebf39","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-003","path":"signals/signal_registry.v2.json","schema_id":"signal_registry.v2","sha256":"4392b40da458102f8dd11b40b40ae3f694b7b5911849b050e2e4118c569e5ab0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-004","path":"domains/E-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5919f7ea1d7be02666b0c48aa6a66445e6d454fc2fbb21d7fe5154b0a1e68f6f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-005","path":"domains/E-01/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"b557e92cd1b093bf31792dbcf5b62cab8ad064a65c4421e79f141e06b4cc2192","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-006","path":"domains/E-02/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"be407c980c28226a15406f85b5861b04a4e19a13870513ac6626349fc05ac434","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-007","path":"domains/E-03/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7d3814f9b50cd5b33ef65a4eb778693552b3685bd369e765e9ac032734ebe23e","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-008","path":"domains/E-04/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"95a8c600cdce5a687f766788af0f763ee1b6a895e6ed80934afd28fe9a107e25","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-009","path":"domains/E-05/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e50541018f47aa27de2f8b13ec3fa52210cf8456a6feed8356af78c1f1da144a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-010","path":"domains/E-06/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"1e2bee36cb3c24dd37fc3beb3cf70236d531126c4f62ee97b5b42e55f4b0745c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-011","path":"domains/E-07/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"22ac562084b1ce231b7257d099c18b6a4619defa2fc42504d590e0bcc494c5f8","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-012","path":"domains/E-08/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"4d545306d42120e8552dd953d4336ef6de828ea827779944ba73acfda3d3a8bb","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-013","path":"domains/E-09/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7ef7340750094efeb372c397eb3134e21d62dda6988b1f6fa0a197b9963868e0","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-014","path":"domains/E-10/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e8d4f45fa76ea9e09333256dd4ea36cd3dd963bf60c04814a2cb8dc90d152f0a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-015","path":"domains/E-11/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eb78d0188a0a2400307b1c34c8f8703c54cd86dd06b942c1709c44a8630a68e1","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-016","path":"domains/E-12/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"f336accdc6de10cdcc28c1190328054bca402fb77a2a9859d59fbaf5e84dd170","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-017","path":"domains/E-13/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"e27e2e3855b5868a3ec12c7093b872434702f2e465b73c0bfc948b516aa0fc35","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-018","path":"domains/E-14/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"a273148cc17f07d90cda500fa5cb7df30c9cd253f7b86048cf4f63495d36a156","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-019","path":"domains/E-15/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"7f37edddc101a08ed8a0e25f3a2c638e72571edc212ac91d96c1e33c51202a69","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-020","path":"domains/E-16/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"ae9af46ee31b6ef0dafedd35ccd7959a941d67d1a3dcc70e0b13647896873323","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-021","path":"domains/E-17/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"5c61f4486bdc968e4b30734b3c045404f0a711f47ea3abbe6c5c64652fb7f68c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-022","path":"domains/E-18/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"74ff76148d175929bdeeeced77e9a9922d29b51ad3d00ae6711c43c55717692c","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-023","path":"domains/E-19/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"a8578f54a3fead3bbd35c62d7199b0f8aafb77f5d409a87236a55d2550fbfd37","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-024","path":"domains/E-20/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"29ee14cfe7789f004e6b6978d5360cf1bebe33bf88715df0cb47257993a11d00","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-025","path":"domains/E-21/domain_config.json","schema_id":"stage1_domain_config.v2","sha256":"4e1684a843d9e0c5af82f45332ad85abe94eda0c3ff0d578235d892aee39b908","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-026","path":"domains/EC-00/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"fe74de112b73289485dcead7e0fc7d270c794b3cf8a29ee00fab1eb64ba13861","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-027","path":"domains/X1/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"ad2fee7d206018f9a1f66e5fdf40dd67b686f6938099bad1ffc5d538db14ac57","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-028","path":"domains/X2/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"eba7d4671546bd66f1350d144ae0884f8beffb0dffdc147b45b9d5292676d46f","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-029","path":"domains/X3/domain_config.json","schema_id":"stage1_domain_config.v1","sha256":"8b67a638ae4a86aca3a2216974242b11ec39790162c9f366edfa91b02c3d270a","source_manifest":"domains/_registry_index.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-030","path":"platform/schemas/client_goal_domain_profiles.schema.json","schema_id":null,"sha256":"ae2bfe0d754a09cbae16b2c15bf1518fc23f9e1bda8fa1f5f949606c8e42c010","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-031","path":"platform/schemas/domain_fanout_plan.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_fanout_plan.schema.json","sha256":"3b0948613a5996028b9c030a99f0b51d682f6035e019557756b1a15d43971113","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-032","path":"platform/schemas/domain_seed_output.schema.v3.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_seed_output.schema.v3.json","sha256":"992acf05dbccb34c65ead4e8c592f424e3b91672dc109cbd1bfa76a0a71a13c9","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-033","path":"platform/schemas/domain_slice.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s1/domain_slice.schema.v2.json","sha256":"212a405088e7cf7ba2c65528a1c716938c946df7fe3bae3256b613051ed31aa3","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-034","path":"platform/schemas/fact_exception_pack.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_exception_pack.schema.json","sha256":"4eba7e51ed46a99e3704bc2333169749f4a16935de26a8c8027c1cac98ea58cf","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-035","path":"platform/schemas/fact_ledger_base.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_base.schema.json","sha256":"b3f0e79ecb4c2f720f3e07e89154aadbd2327e4129cc703569fb5635240d2fe8","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-036","path":"platform/schemas/fact_ledger_candidate_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part4/fact_ledger_candidate_bundle.schema.json","sha256":"4e481504fb795b2be510680a8fa88124f5763a8124462f7870be4125ed9a7730","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-037","path":"platform/schemas/legal_effect_structures.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/legal_effect_structures.schema.json","sha256":"fc962e8ae39f9bede64ba017297eded6413689204a065e00c3b3bdca8f1854df","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-038","path":"platform/schemas/structure_seed_bundle.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/part3/structure_seed_bundle.schema.json","sha256":"b7af9e422b6ac3876cffea39ec4f617eea76a631a57dfdfcd57d3785a83c667a","source_manifest":"runtime_manifest.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-039","path":"signals/_common/evidence_slot_status.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_slot_status.schema.json","sha256":"292b03960b187cef668b8635a8d7539fde7c31f0c20d01af52c4f6ff8519d7b1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-040","path":"signals/_common/signal_item.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_item.schema.json","sha256":"de8695f98041c06cf50c0d8d2ebc31e7b3c518ca9d39a27da940438704c58bb1","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-041","path":"signals/schemas/domain_activation_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_activation_manifest.schema.json","sha256":"013a6ebd230ebe46dda665af9f6c4448b267444b44e7b8f701f2fae80a2ee92a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-042","path":"signals/schemas/procedural_posture_relief_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/procedural_posture_relief_signals.schema.json","sha256":"fefb4317ad63088919b61777c71fe75ee6aa507b9f599dcf455d2af63dfc5e0d","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-043","path":"signals/schemas/party_capacity_standing_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/party_capacity_standing_signals.schema.json","sha256":"66de89ac53964166f6caabd50cbc03eb82dede0acf702d5e6d825c1d82ef81d0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-044","path":"signals/schemas/governing_law_version_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/governing_law_version_signals.schema.json","sha256":"13a3f62f03356090d2cb24de2da0ba217928dfe8eb3c111d0f5e87c7df3119ee","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-045","path":"signals/schemas/legal_relation_lifecycle_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_relation_lifecycle_signals.schema.json","sha256":"420613a5900c4360487b89b978efedde58f5ddc61644130e4b9e63ef8ab33d8b","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-046","path":"signals/schemas/timeline_notice_condition_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/timeline_notice_condition_signals.schema.json","sha256":"99c66208524155cea6bbd5e24fd26998cc9b653c89b24b569c793e36f1623d35","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-047","path":"signals/schemas/asset_right_state_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/asset_right_state_signals.schema.json","sha256":"fc34fbb3d33a284c3d57f3c278cbda8b3555ef26ee2f06b803fd2410ebce38b6","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-048","path":"signals/schemas/liability_causation_damage_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/liability_causation_damage_signals.schema.json","sha256":"34102cb8eeda80773eb62a5ee61e3d714bf90424ed5350dcac4b7bf873a72c5a","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-049","path":"signals/schemas/defense_exception_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/defense_exception_signals.schema.json","sha256":"010148c15e60e4d112b142f80b1723c06e34ba22b3edefae9e4371f2353b053e","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-050","path":"signals/schemas/evidence_proof_conflict_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/evidence_proof_conflict_signals.schema.json","sha256":"c419f568e28c06c629bc715aff7b0737b77e9c4871c91d4fae8f6ecf04196390","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-051","path":"signals/schemas/calculation_requirements.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/calculation_requirements.schema.json","sha256":"7fdb5ef0f50d7af22ac417abc4022cd238f5ab0dc942866420616729a9e3571f","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-052","path":"signals/schemas/remedy_enforcement_signals.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/remedy_enforcement_signals.schema.json","sha256":"999e1969b983748f209e9b5239f7edd0ec43bc642d9ea8fd7edbf34f9ce653f3","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-053","path":"signals/schemas/legal_effect_routes.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/legal_effect_routes.schema.json","sha256":"c24cb740c370aa2477199a0225be8291164ef5c787601fd962a370c642cc3cc0","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-054","path":"signals/schemas/domain_signal_envelope.schema.v2.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/domain_signal_envelope.schema.v2.json","sha256":"1483d6c5f98083f59172feff9b7c15b44d3ed789db5b6172d0de05f06e9d3fbc","source_manifest":"signals/signal_registry.v2.json"},{"binding_status":"BOUND","lock_id":"S1-DEPLOY-055","path":"signals/schemas/signal_manifest.schema.json","schema_id":"https://schemas.liti-agent.local/stage1/s5/signal_manifest.schema.json","sha256":"5e72084780b82b29582c9ffcf48f3e4894d7c0b152e5ce8df394583c07dde681","source_manifest":"signals/signal_registry.v2.json"}],"contract_manifest_ref":{"mode":"CONDITIONAL_RELOCATION_ONLY","path":null,"sha256":null,"status":"NOT_REQUIRED_DEFAULT_PATHS"},"expected_concrete_path_count":55,"full_stage1_runtime_release_status":"STAGE1_NOT_RELEASE_READY"}},"adapter_decisions":[{"adapter_id":"S2A-SIGNAL-ALL-V1","decision":{"file_conservation_equation":"semantic_file_rows + integrity_only_file_rows = Counter(signal_manifest.files[])","global_signal_id_uniqueness_assumed":false,"integrity_only_kinds":["compatibility_view"],"manifest_selector":"/downstream_read_sets/stage2","physical_path_rule":"U/signals/","record_conservation_equation":"used_record_occurrences + unused_record_occurrences + unmapped_record_occurrences = records_from_semantic_files","record_occurrence_key":["manifest_transaction_id","file_path","record_ordinal","signal_id"],"row_order":"PRESERVE_MANIFEST_ORDER","row_source":"/files","semantic_kinds":["canonical","domain_signal"],"sentinel":["ALL"]}},{"adapter_id":"S2A-DUAL-SG01-V1","decision":{"comparison":"PARSED_CANONICAL_PROJECTION_EQUAL","payload_root":"/domain_activation_manifest","projection_json_pointers":["/schema_version","/signal_id","/status","/registry_version","/registry_index_sha256","/screening_sha256","/domain_entries","/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains","/unrouted_material","/conservation_gate","/fail_open_policy","/review_items","/contract_guards"],"raw_hash_policy":"PRESERVE_AND_VERIFY_SEPARATELY","routing_path":"routing/domain_activation_manifest.json","set_semantics_json_pointers":["/active_domain_ids","/supporting_domain_ids","/monitor_domain_ids","/expected_runnable_domain_ids","/required_calculation_domains"],"signal_path":"signals/domain_activation_manifest.json"}},{"adapter_id":"S2A-P1-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P1_REVIEW_HANDOFF","p1_digest_keys":["evidence_indexed_sha256","evidence_event_candidates_sha256","b1_gate_sha256","b2_gate_sha256","screening_sha256","activation_manifest_sha256","registry_index_sha256"],"review_items_json_pointer":"/review_items","schema_version":"stage1_part1_soft_gate_handoff.v1","seal_sources":["routing/domain_screening.json","routing/domain_activation_manifest.json","domains/_registry_index.json"],"source_stage":"P1","status_json_pointer":"/handoff_status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P2-HANDOFF-FLAT-V1","decision":{"count_field_required":false,"logical_input_id":"P2_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part2_review_handoff.v1","seal_sources":["BO.json","signals/signal_manifest.json"],"source_stage":"P2","status_json_pointer":"/status","wrapper_json_pointer":""}},{"adapter_id":"S2A-P3-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P3_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part3_review_handoff.v1","seal_sources":["legal_effect_structures.json","validation_assets/routing/part3_receipt.json"],"source_stage":"P3","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part3_review_handoff"}},{"adapter_id":"S2A-P4-HANDOFF-WRAPPED-V1","decision":{"count_field_required":true,"logical_input_id":"P4_REVIEW_HANDOFF","review_items_json_pointer":"/review_items","schema_version":"stage1_part4_review_handoff.v1","seal_sources":["Fact_Ledger_base.json","validation_assets/routing/part4_receipt.json","stage1_tmp/fact_ledger/fact_ledger_writer_report.json"],"source_stage":"P4","status_json_pointer":"/status","wrapper_json_pointer":"/stage1_part4_review_handoff"}},{"adapter_id":"S2-REVIEW-MAP-V1","decision":{"aggregate_handoff_status_never_resolves_item":true,"handoff_status_mappings":[{"source_stage":"P1","source_value":"READY_NO_REVIEW","technical_disposition":"AVAILABLE"},{"source_stage":"P1","source_value":"READY_WITH_REVIEW","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P1","source_value":"BLOCKED","technical_disposition":"UNAVAILABLE"},{"source_stage":"P2","source_value":"PENDING_FINALIZE","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P2","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P3","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P3","source_value":"FINALIZED","technical_disposition":"AVAILABLE"},{"source_stage":"P4","source_value":"OPEN","technical_disposition":"AVAILABLE_WITH_ISSUES"},{"source_stage":"P4","source_value":"FINALIZED","technical_disposition":"AVAILABLE"}],"mappings":[{"mapping_id":"S2RM-001","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"SUPPORTED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-002","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"CONDITIONAL","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-003","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"UNRESOLVED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-004","normalized_partition":"EXCLUDED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"EXCLUDED","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-005","normalized_partition":"SUPPORTED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"observed","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-006","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"inferred","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-007","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"contested","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-008","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"missing_required","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-009","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-010","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_STATUS","source_stage":"ANY","source_value":"NO_SUPPORT","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-011","normalized_partition":"CONDITIONAL","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"info","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-012","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"review","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-013","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"SOFT_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-014","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"hard_warning","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-015","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"HARD_WARNING","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-016","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"block","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"},{"mapping_id":"S2RM-017","normalized_partition":"UNRESOLVED","resolution_inference_allowed":false,"source_field_kind":"REVIEW_ITEM_SEVERITY","source_stage":"ANY","source_value":"BLOCK","unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}],"normalized_partitions":["SUPPORTED","CONDITIONAL","UNRESOLVED","EXCLUDED","UNMAPPED"],"resolution_inference_allowed":false,"unknown_value_policy":"MAP_TO_UNMAPPED_AND_ISSUE"}},{"adapter_id":"S2A-BO-V8-LIST-V1","decision":{"logical_input_id":"BO","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_C_BO_F0_final_bo_compiler_gate_writer","required_item_fields":["BO_ID","id","BOType","ActionType","JuristicAct","Action","Reason","PriorAct","ReasonRefs","Legal_Keywords","core_field_base","amount","EvidenceTitles","Evidence","source_evidence_indexes","provenance","downstream_seed_refs","extensions"],"required_root_fields":[],"root_shape":"ARRAY","schema_contract_version":null}},{"adapter_id":"S2A-EVIDENCE-V3-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_INDEXED","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B1_quality_gate_evidence_indexed","required_root_fields":["schema_contract_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_indexed.v3"}},{"adapter_id":"S2A-EVENTS-V1-ENVELOPE-V1","decision":{"logical_input_id":"EVIDENCE_EVENT_CANDIDATES","open_source_fields_policy":"PRESERVE_UNMODELED_FIELDS_WITH_RAW_HASH","producer_id":"Task_B2_quality_gate_event_candidates","required_root_fields":["schema_version","items"],"root_shape":"OBJECT_ENVELOPE","schema_contract_version":"evidence_event_candidates.v1"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V1","decision":{"accepted_schema_version":"stage1_domain_config.v1","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-DOMAIN-CONFIG-V2","decision":{"accepted_schema_version":"stage1_domain_config.v2","depends_on_legal_dependency_allowed":false,"rebuttal_slot_synthesis_allowed":false,"required_slot_fields":["element_slots","opposing_fact_slots","defense_map","calculation_bindings","emits_signals"],"undeclared_slot_policy":"PRESERVE_AS_PROPOSED_NEW_SLOT_ISSUE"}},{"adapter_id":"S2A-FACT-LEDGER-CURRENT-V8-V1","decision":{"bo_source_bo_id_multiset_equality_required":true,"fact_id_pattern":"^F-[0-9]{3,}$","legacy_adapter_status":"DISABLED_NO_APPROVED_ADAPTER","producer_generation":"CURRENT_V8","required_row_fields":["fact_id","source_bo_id","domain_effects","calculation_requests"],"root_shape":"ARRAY"}},{"adapter_id":"PA-SG-COMPILER-001","decision":{"bidirectional_match_allowed":true,"global_alias_allowed":false,"orchestration_producer_id":"Task_C_BO_S0_signal_bundle_writer","schema_writer_id":"Task_C_BO_S0_canonical_signal_compiler","scope":"STAGE1_PART2_SIGNAL_TRANSACTION_ONLY"}}],"release_class":"DEV_FIXTURE_RELEASE","limits":{"max_file_bytes":33554432,"max_run_bytes":268435456,"max_json_depth":96,"max_json_items":1000000}}''')
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/apply_part1.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/apply_part1.py
new file mode 100644
index 00000000..07ab1587
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/apply_part1.py
@@ -0,0 +1,41 @@
+"""수정방안 4.1(02 코드) · 4.2(01 한 문장)를 stage_1_part_1_v.8.yml 에 적용한다. 사용: python3 -I apply_part1.py
+행 번호는 개정 전 Part 1 기준(= 병합본 Y행 - 34). 각 구간의 처음·끝 줄을 assert 로 확인한 뒤에만 바꾼다."""
+import sys
+p = sys.argv[1]
+L = open(p, encoding="utf-8").read().split("\n")
+def at(n): return L[n - 1]
+I = " " * 14 # 02 코드 최상위 들여쓰기
+# 4.2 (Y389 = P355)
+OLD = "후속 task가 같은 규칙으로 독립 재산출하여 대조한다."
+NEW = "후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다."
+assert at(355).endswith(OLD) and sum(l.count(OLD) for l in L) == 1
+# 4.1 (Y954~957 = P920~923, Y972~1022 = P938~988, Y1211~1246 = P1177~1212)
+assert at(919) == "" and at(920) == I + 'GANADA = "가나다라마바사아자차카타파하"' and at(923).strip() == '("의뢰인의희망사항", "WISH"))' and at(924) == ""
+assert at(937) == "" and at(938).strip().startswith("# ------") and at(939).strip() == "# 1) source unit 독립 재산출"
+assert at(943) == I + "def mint_source_units(meeting_text):" and at(987).strip() == "return units, raw_seq" and at(988) == "" and at(989) == ""
+assert at(1177).strip() == "# ---- source unit 독립 재산출 ----" and at(1212).strip() == "})" and at(1213) == "" and at(1214).strip() == "# ---- 후보 검증 ----"
+BLOCK = '''# ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+universe = []
+for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+if ERRORS:
+ return None
+if not universe:
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
+ return None
+universe_set = set(universe)
+if len(universe_set) != len(universe):
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
+ return None
+source_document_refs = sorted(universe_set)'''.split("\n")
+assert len(BLOCK) == 18
+out = (L[:354] + [at(355).replace(OLD, NEW)] + L[355:919]
+ + [I + 'UNIT_ID_RE = re.compile(r"^MTG\\.[A-Za-z0-9_.:/-]{1,250}$")']
+ + L[923:937] + L[988:1176] + [I + " " + b for b in BLOCK] + L[1212:])
+assert len(out) == len(L) - 3 - 51 - 18
+open(p, "w", encoding="utf-8").write("\n".join(out))
+print("applied", p, len(L), "->", len(out), "lines")
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extract_task.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extract_task.py
new file mode 100644
index 00000000..66e9ec28
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extract_task.py
@@ -0,0 +1,16 @@
+"""YAML 에서 task 의 parameters.code(또는 prompt)를 꺼내 파일로 쓴다. 사용: python3.14 -I extract_task.py <출력>"""
+import sys, yaml, hashlib
+d = yaml.safe_load(open(sys.argv[1], encoding="utf-8"))
+hit = [t for s in d["Agent"]["Stages"] for t in s["tasks"] if t["task_name"] == sys.argv[2]]
+assert len(hit) == 1, len(hit)
+def find(o, key):
+ if isinstance(o, dict):
+ for k, v in o.items():
+ if k == key and isinstance(v, str): yield v
+ else: yield from find(v, key)
+ elif isinstance(o, list):
+ for v in o: yield from find(v, key)
+vals = list(find(hit[0], sys.argv[3]))
+assert len(vals) == 1, len(vals)
+open(sys.argv[4], "w", encoding="utf-8").write(vals[0])
+print(sys.argv[2], sys.argv[3], len(vals[0].split("\n")), "lines sha", hashlib.sha256(vals[0].encode()).hexdigest()[:12])
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_new.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_new.py
new file mode 100644
index 00000000..f06607ea
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_new.py
@@ -0,0 +1,630 @@
+#!/usr/bin/env python3
+# Task_A0_domain_screener_02
+# domain_screening_draft.json (LLM 판단 4종) 를 받아
+# 비판단 6종을 registry 에서 직접 읽어 붙이고,
+# 멤버십과 보존 등식을 검증하여 routing/domain_screening.json 을 기록한다.
+# 판단은 하지 않는다. 상태를 올릴 수는 있어도 내리지 않는다.
+import hashlib
+import itertools
+import json
+import re
+import unicodedata
+from datetime import datetime, timezone
+
+import httpx
+
+# --------------------------------------------------------------------------
+# localdocs 보일러플레이트 (SKILL.md 5장 / 5.2장)
+# clientInfo 에 {{__user_hash__}} / {{__workspace_hash__}} 를 반드시 넣는다.
+# 빠지면 localdocs 가 루트 경로를 보므로 사용자 파일을 찾지 못한다.
+# --------------------------------------------------------------------------
+TASK_NAME = "Task_A0_domain_screener_02"
+LOCALDOCS_URL = "http://mcp-localdocs:8012/mcp"
+MCP_HEADERS = {"Content-Type": "application/json",
+ "Accept": "application/json, text/event-stream"}
+CLIENT = httpx.Client(timeout=60)
+MSG_ID_COUNTER = itertools.count(10)
+
+
+def next_msg_id():
+ return next(MSG_ID_COUNTER)
+
+
+def _init():
+ r = CLIENT.post(LOCALDOCS_URL, json={
+ "jsonrpc": "2.0", "id": 1, "method": "initialize",
+ "params": {"protocolVersion": "2025-03-26", "capabilities": {},
+ "clientInfo": {"name": TASK_NAME, "version": "1.0",
+ "user_id": "{{__user_hash__}}",
+ "workspace_id": "{{__workspace_hash__}}"}}
+ }, headers=MCP_HEADERS)
+ r.raise_for_status()
+ sid = r.headers.get("mcp-session-id")
+ if sid:
+ MCP_HEADERS["mcp-session-id"] = sid
+ CLIENT.post(LOCALDOCS_URL,
+ json={"jsonrpc": "2.0", "method": "notifications/initialized"},
+ headers=MCP_HEADERS).raise_for_status()
+
+
+def _parse_mcp(text):
+ for line in text.strip().split("\n"):
+ if line.startswith("data: "):
+ try:
+ return json.loads(line[6:])
+ except Exception:
+ return None
+ try:
+ return json.loads(text)
+ except Exception:
+ return None
+
+
+def _call(name, args, mid):
+ r = CLIENT.post(LOCALDOCS_URL, json={
+ "jsonrpc": "2.0", "id": mid, "method": "tools/call",
+ "params": {"name": name, "arguments": args}
+ }, headers=MCP_HEADERS)
+ r.raise_for_status()
+ p = _parse_mcp(r.text)
+ if not p or "result" not in p:
+ raise RuntimeError("MCP %s failed" % name)
+ return p
+
+
+def read_raw(name):
+ # 파일 내용을 재직렬화 없이 원문 그대로 돌려준다.
+ # registry_index_sha256 은 원문 바이트의 해시여야 하므로 재직렬화를 절대 허용하지 않는다.
+ p = _call("read_docs", {"doc_names": [name]}, next_msg_id())
+ text = (p["result"].get("content") or [{}])[0].get("text", "")
+ if not text:
+ raise RuntimeError("Empty response: %s" % name)
+ try:
+ outer = json.loads(text)
+ except Exception:
+ return text
+ if isinstance(outer, str):
+ return outer
+ if isinstance(outer, dict) and "results" in outer:
+ r0 = (outer.get("results") or [{}])[0]
+ inner = r0.get("content")
+ if inner is None:
+ inner = r0.get("text")
+ if not isinstance(inner, str) or not inner:
+ raise RuntimeError("Empty content: %s" % name)
+ return inner
+ raise RuntimeError("Unexpected read_docs envelope: %s" % name)
+
+
+def read_json(name):
+ raw = read_raw(name)
+ s = raw.strip()
+ if s.startswith("```"):
+ for part in s.split("```"):
+ part = part.strip()
+ if part.startswith("json"):
+ part = part[4:].strip()
+ if part.startswith("{") or part.startswith("["):
+ s = part
+ break
+ try:
+ return json.loads(s)
+ except json.JSONDecodeError:
+ obj, _ = json.JSONDecoder().raw_decode(s)
+ return obj
+
+
+def write_doc(path, content):
+ # localdocs 는 실패도 정상 응답 본문의 "Error: ..." 로 돌려준다. 표식이 안 써지면 지난 파일이 남는다.
+ p = _call("write_file", {"path": path, "content": content, "overwrite": True},
+ next_msg_id())
+ text = (p["result"].get("content") or [{}])[0].get("text", "")
+ if text.startswith("Error"):
+ raise RuntimeError("WRITE_FAILED:%s:%s" % (path, text[:200]))
+
+
+# --------------------------------------------------------------------------
+# 경로와 상수
+# --------------------------------------------------------------------------
+DRAFT_PATH = "routing/domain_screening_draft.json"
+MEETING_PATH = "client_meeting.md"
+REGISTRY_INDEX_PATH = "Default_Agent/domains/_registry_index.json"
+DIGEST_PATH = "Default_Agent/routing/activation_cue_digest.md"
+OUTPUT_PATH = "routing/domain_screening.json"
+
+SCHEMA_VERSION = "stage1_domain_screening.v1"
+
+# platform/schemas/domain_screening.schema.json 이 const 로 못박은 값이다.
+# 하나라도 다르면 스키마 검증에서 떨어지므로 판단 대상이 아니다.
+SCREENING_POLICY = {
+ "case_name_lookup_forbidden": True,
+ "single_keyword_activation_forbidden": True,
+ "negative_cue_downrank_only": True,
+ "evidence_refinement_required": True,
+ "unknown_review_code": "UNROUTED_ISSUE_REVIEW",
+}
+CONTRACT_GUARDS = {
+ "final_conclusion_forbidden": True,
+ "unknown_values_require_review": True,
+ "source_membership_required": True,
+ "strict_json_output": True,
+ "meeting_only_evidence_promotion_forbidden": True,
+}
+
+STATUS_RANK = {"READY": 0, "READY_WITH_REVIEW": 1, "BLOCKED": 2, "FAILED": 3}
+PROVISIONAL_STATUS = ("candidate", "supporting", "monitor", "review")
+CONFIDENCE = ("high", "medium", "low")
+SEVERITY = ("info", "review", "hard_warning", "block")
+
+REF_RE = re.compile(r"^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$")
+DOMAIN_RE = re.compile(r"^(?:(?:EC|E)-[A-Z0-9]{2,8}|X[A-Z0-9]{1,8})$")
+CALC_RE = re.compile(r"^CE-[A-Z0-9][A-Z0-9-]{0,15}$")
+CODE_RE = re.compile(r"^[A-Z][A-Z0-9_]{2,127}$")
+REG_VER_RE = re.compile(r"^[A-Za-z][A-Za-z0-9_.-]{2,127}$")
+SHA_RE = re.compile(r"^[a-f0-9]{64}$")
+
+CANDIDATE_REQUIRED = ("domain_id", "provisional_status", "positive_refs",
+ "negative_refs", "conflict_refs", "confidence",
+ "reasoning_summary", "final_determination_forbidden")
+CANDIDATE_ALLOWED = CANDIDATE_REQUIRED + ("requested_calculation_domains",)
+REVIEW_REQUIRED = ("review_code", "severity", "reason", "source_refs")
+REVIEW_ALLOWED = REVIEW_REQUIRED + ("domain_ids", "unresolved_type",
+ "blocks_final_drafting")
+SCREENING_REQUIRED = ("schema_version", "status", "registry_version",
+ "registry_index_sha256", "source_document_refs",
+ "candidates", "unmatched_issue_refs", "review_items",
+ "screening_policy", "contract_guards")
+
+# 01 이 쓰면 안 되는 필드. 하나라도 있으면 초안이 계약을 벗어난 것이다.
+FORBIDDEN_DRAFT_FIELDS = ("track_hypothesis", "domain_hypotheses",
+ "relief_mode_hints", "computation_hints",
+ "matched_cues", "notes_kr")
+NONJUDGMENT_FIELDS = ("schema_version", "registry_version",
+ "registry_index_sha256", "source_document_refs",
+ "screening_policy", "contract_guards")
+
+UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}$")
+
+ERRORS = []
+WARNINGS = []
+ADDED_REVIEWS = []
+
+
+def fail(code, message):
+ ERRORS.append({"code": code, "message": message})
+
+
+def warn(code, message):
+ WARNINGS.append({"code": code, "message": message})
+
+
+
+# --------------------------------------------------------------------------
+# 2) 단어 사전 파싱
+# 도메인 화이트리스트, 도메인별 계산 허용목록, 충돌 검토코드, 상시활성 목록,
+# 그리고 사전이 어느 registry 스냅숏에서 나왔는지를 뽑는다.
+# --------------------------------------------------------------------------
+def parse_digest(md):
+ text = unicodedata.normalize("NFC", md)
+ info = {"registry_version": None, "registry_index_sha256": None,
+ "domains": {}, "always_on": [], "review_codes": set()}
+ m = re.search(r"^registry_version:\s*`([^`]+)`", text, re.M)
+ if m:
+ info["registry_version"] = m.group(1).strip()
+ m = re.search(r"^registry_index:.*sha256=`([a-f0-9]{64})`", text, re.M)
+ if m:
+ info["registry_index_sha256"] = m.group(1)
+ current = None
+ for line in text.split("\n"):
+ t = line.rstrip()
+ if t.startswith("### "):
+ parts = [x.strip() for x in t[4:].split("|")]
+ if len(parts) < 6:
+ continue
+ did = parts[0]
+ kv = {}
+ for seg in parts[2:]:
+ if "=" in seg:
+ k, v = seg.split("=", 1)
+ kv[k.strip()] = v.strip()
+ calc = [] if kv.get("calc", "-") == "-" else kv["calc"].split(",")
+ dep = [] if kv.get("dep", "-") == "-" else kv["dep"].split(",")
+ info["domains"][did] = {"calc": calc, "dep": dep,
+ "kind": kv.get("kind"),
+ "ao": kv.get("ao") == "1"}
+ if kv.get("ao") == "1":
+ info["always_on"].append(did)
+ current = did
+ elif t.startswith("C|") and current:
+ fields = t.split("|")
+ if len(fields) >= 4:
+ info["review_codes"].add(fields[3].strip())
+ return info
+
+
+# --------------------------------------------------------------------------
+# 3) 최종 산출물 자기검증 — 닫힌 스키마의 형태를 코드로 다시 확인한다.
+# --------------------------------------------------------------------------
+def self_check(doc):
+ problems = []
+ if list(doc.keys()) != ["domain_screening"]:
+ problems.append("root key must be exactly domain_screening")
+ return problems
+ ds = doc["domain_screening"]
+ missing = [k for k in SCREENING_REQUIRED if k not in ds]
+ extra = [k for k in ds if k not in SCREENING_REQUIRED]
+ if missing:
+ problems.append("missing required: %s" % ",".join(missing))
+ if extra:
+ problems.append("additionalProperties: %s" % ",".join(extra))
+ if ds.get("schema_version") != SCHEMA_VERSION:
+ problems.append("schema_version const mismatch")
+ if ds.get("status") not in STATUS_RANK:
+ problems.append("status enum invalid")
+ if not REG_VER_RE.match(str(ds.get("registry_version", ""))):
+ problems.append("registry_version pattern invalid")
+ if not SHA_RE.match(str(ds.get("registry_index_sha256", ""))):
+ problems.append("registry_index_sha256 pattern invalid")
+ for key in ("source_document_refs", "unmatched_issue_refs"):
+ arr = ds.get(key, [])
+ if len(set(arr)) != len(arr):
+ problems.append("%s not unique" % key)
+ for v in arr:
+ if not REF_RE.match(v):
+ problems.append("%s ref pattern invalid: %s" % (key, v))
+ for c in ds.get("candidates", []):
+ for k in CANDIDATE_REQUIRED:
+ if k not in c:
+ problems.append("candidate missing %s" % k)
+ for k in c:
+ if k not in CANDIDATE_ALLOWED:
+ problems.append("candidate extra key %s" % k)
+ if c.get("final_determination_forbidden") is not True:
+ problems.append("final_determination_forbidden must be true")
+ for r in ds.get("review_items", []):
+ for k in REVIEW_REQUIRED:
+ if k not in r:
+ problems.append("review_item missing %s" % k)
+ for k in r:
+ if k not in REVIEW_ALLOWED:
+ problems.append("review_item extra key %s" % k)
+ if r.get("severity") not in SEVERITY:
+ problems.append("review_item severity invalid")
+ if not CODE_RE.match(str(r.get("review_code", ""))):
+ problems.append("review_code pattern invalid")
+ reason = r.get("reason", "")
+ if not (1 <= len(reason) <= 1000):
+ problems.append("review_item reason length invalid")
+ if ds.get("screening_policy") != SCREENING_POLICY:
+ problems.append("screening_policy const mismatch")
+ if ds.get("contract_guards") != CONTRACT_GUARDS:
+ problems.append("contract_guards const mismatch")
+ return problems
+
+
+# --------------------------------------------------------------------------
+# main
+# --------------------------------------------------------------------------
+def main():
+ # ---- 입력 4종 ----
+ try:
+ draft_doc = read_json(DRAFT_PATH)
+ except Exception as exc:
+ fail("DRAFT_UNREADABLE", "%s: %s" % (DRAFT_PATH, exc))
+ return None
+ try:
+ meeting_raw = read_raw(MEETING_PATH)
+ except Exception as exc:
+ fail("MEETING_UNREADABLE", "%s: %s" % (MEETING_PATH, exc))
+ return None
+ try:
+ registry_raw = read_raw(REGISTRY_INDEX_PATH)
+ except Exception as exc:
+ fail("REGISTRY_INDEX_UNREADABLE", "%s: %s" % (REGISTRY_INDEX_PATH, exc))
+ return None
+ try:
+ digest_raw = read_raw(DIGEST_PATH)
+ except Exception as exc:
+ fail("DIGEST_UNREADABLE", "%s: %s" % (DIGEST_PATH, exc))
+ return None
+
+ if not isinstance(draft_doc, dict) or "domain_screening_draft" not in draft_doc:
+ fail("DRAFT_ROOT_KEY_INVALID", "root key domain_screening_draft not found")
+ return None
+ draft = draft_doc["domain_screening_draft"]
+
+ for k in FORBIDDEN_DRAFT_FIELDS:
+ if k in draft:
+ fail("FORBIDDEN_FIELD_PRESENT", "draft contains forbidden field %s" % k)
+ for k in NONJUDGMENT_FIELDS:
+ if k in draft:
+ fail("NONJUDGMENT_FIELD_IN_DRAFT",
+ "draft must not carry non-judgment field %s" % k)
+
+ # ---- registry 원문 해시. 재직렬화하지 않은 원문 바이트로 계산한다. ----
+ registry_index_sha256 = hashlib.sha256(registry_raw.encode("utf-8")).hexdigest()
+ try:
+ registry_doc = json.loads(registry_raw)
+ registry = registry_doc["domain_registry_index"]
+ except Exception as exc:
+ fail("REGISTRY_INDEX_UNREADABLE", "parse failed: %s" % exc)
+ return None
+ registry_version = registry.get("registry_version")
+ registry_domain_ids = sorted(e["domain_id"] for e in registry.get("entries", []))
+
+ # ---- 단어 사전 ----
+ digest = parse_digest(digest_raw)
+ if len(digest["domains"]) != len(registry_domain_ids):
+ fail("DIGEST_MALFORMED",
+ "digest domains=%d registry entries=%d"
+ % (len(digest["domains"]), len(registry_domain_ids)))
+ return None
+ unknown_in_digest = sorted(set(digest["domains"]) - set(registry_domain_ids))
+ if unknown_in_digest:
+ fail("DIGEST_DOMAIN_SET_MISMATCH",
+ "digest has domains absent from registry: %s" % ",".join(unknown_in_digest))
+ return None
+ # 사전 머리말은 있으면 낡음 감지에 쓰고, 없으면 경고만 남긴다.
+ # registry_version 과 registry_index_sha256 의 정본은 _registry_index.json 이지
+ # 사전이 아니다. 사전 머리말이 편집되어 사라져도 산출물은 정확해야 한다.
+ if digest["registry_index_sha256"] is None:
+ warn("DIGEST_HEADER_ABSENT",
+ "activation_cue_digest.md has no registry_index sha256 header; "
+ "staleness cross-check skipped")
+ elif digest["registry_index_sha256"] != registry_index_sha256:
+ # 사전이 만들어진 뒤 registry 가 바뀌었거나, 읽는 과정에서 원문이 변형된 것이다.
+ # 사전이 낡은 단서로 판단한 초안을 봉인하면 안 되므로 여기서 멈춘다.
+ fail("REGISTRY_INDEX_SHA_MISMATCH",
+ "digest=%s computed=%s" % (digest["registry_index_sha256"],
+ registry_index_sha256))
+ return None
+ if digest["registry_version"] is None:
+ warn("DIGEST_HEADER_ABSENT",
+ "activation_cue_digest.md has no registry_version header")
+ elif digest["registry_version"] != registry_version:
+ fail("REGISTRY_VERSION_MISMATCH",
+ "digest=%s registry=%s" % (digest["registry_version"], registry_version))
+ return None
+
+ # ---- 원천 단위: 01 초안의 source_unit_index 를 정본으로 쓴다. 상담록 서식은 보지 않는다. ----
+ universe = []
+ for row in draft.get("source_unit_index") or []:
+ uid = row.get("unit_id") if isinstance(row, dict) else None
+ if not isinstance(uid, str) or not UNIT_ID_RE.match(uid):
+ fail("SOURCE_UNIT_ID_INVALID", "source_unit_index unit_id %r" % (uid,))
+ continue
+ universe.append(uid)
+ if ERRORS:
+ return None
+ if not universe:
+ fail("SOURCE_UNIT_SET_EMPTY", "draft source_unit_index is empty")
+ return None
+ universe_set = set(universe)
+ if len(universe_set) != len(universe):
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit_id in draft source_unit_index")
+ return None
+ source_document_refs = sorted(universe_set)
+
+ # ---- 후보 검증 ----
+ candidates = draft.get("candidates")
+ if not isinstance(candidates, list):
+ fail("DRAFT_FIELD_MISSING", "candidates must be a list")
+ return None
+ seen_domains = set()
+ cited = set()
+ clean_candidates = []
+ for c in candidates:
+ if not isinstance(c, dict):
+ fail("CANDIDATE_KEY_INVALID", "candidate is not an object")
+ continue
+ did = c.get("domain_id")
+ for k in CANDIDATE_REQUIRED:
+ if k not in c:
+ fail("CANDIDATE_KEY_INVALID", "%s missing %s" % (did, k))
+ for k in c:
+ if k not in CANDIDATE_ALLOWED:
+ fail("CANDIDATE_KEY_INVALID", "%s extra key %s" % (did, k))
+ if not DOMAIN_RE.match(str(did)) or did not in digest["domains"]:
+ fail("DOMAIN_ID_UNKNOWN", "unknown domain_id: %r" % did)
+ continue
+ if did in seen_domains:
+ fail("DOMAIN_ID_DUPLICATE", "duplicate domain_id: %s" % did)
+ continue
+ seen_domains.add(did)
+ if c.get("provisional_status") not in PROVISIONAL_STATUS:
+ fail("ENUM_INVALID", "%s provisional_status=%r" % (did, c.get("provisional_status")))
+ if c.get("confidence") not in CONFIDENCE:
+ fail("ENUM_INVALID", "%s confidence=%r" % (did, c.get("confidence")))
+ summary = c.get("reasoning_summary", "")
+ if not isinstance(summary, str) or not (1 <= len(summary) <= 1200):
+ fail("REASONING_SUMMARY_LENGTH", "%s length=%d" % (did, len(str(summary))))
+ if c.get("final_determination_forbidden") is not True:
+ fail("FINAL_DETERMINATION_FLAG_INVALID", "%s" % did)
+ for key in ("positive_refs", "negative_refs", "conflict_refs"):
+ arr = c.get(key) or []
+ if not isinstance(arr, list):
+ fail("CANDIDATE_KEY_INVALID", "%s %s must be a list" % (did, key))
+ continue
+ for ref in arr:
+ if not REF_RE.match(str(ref)):
+ fail("REF_PATTERN_INVALID", "%s %s %r" % (did, key, ref))
+ elif ref not in universe_set:
+ # source_membership_required 위반. 조용히 지우지 않고 실패로 처리한다.
+ fail("REF_NOT_IN_SOURCE_UNIVERSE", "%s %s %s" % (did, key, ref))
+ else:
+ cited.add(ref)
+ allowed_calc = set(digest["domains"][did]["calc"])
+ calc = c.get("requested_calculation_domains") or []
+ if not isinstance(calc, list):
+ fail("CANDIDATE_KEY_INVALID", "%s requested_calculation_domains must be a list" % did)
+ calc = []
+ for cid in calc:
+ if not CALC_RE.match(str(cid)):
+ fail("CALC_PATTERN_INVALID", "%s %r" % (did, cid))
+ elif cid not in allowed_calc:
+ fail("CALC_NOT_IN_BINDINGS", "%s requested %s but calc=%s"
+ % (did, cid, ",".join(sorted(allowed_calc)) or "-"))
+ out = {}
+ for k in CANDIDATE_REQUIRED:
+ out[k] = c.get(k)
+ for key in ("positive_refs", "negative_refs", "conflict_refs"):
+ out[key] = sorted(set(out.get(key) or []))
+ if "requested_calculation_domains" in c:
+ out["requested_calculation_domains"] = sorted(set(calc))
+ clean_candidates.append(out)
+ clean_candidates.sort(key=lambda x: str(x.get("domain_id")))
+
+ # 상시 활성 4종은 D0 게이트의 보장 대상이다. 여기서 후보를 만들어내지 않고 경고만 남긴다.
+ missing_ao = [d for d in sorted(digest["always_on"]) if d not in seen_domains]
+ if missing_ao:
+ warn("ALWAYS_ON_NOT_IN_DRAFT",
+ "always_on domains absent from draft candidates: %s" % ",".join(missing_ao))
+
+ # ---- 검토 항목 검증 ----
+ allowed_codes = set(digest["review_codes"]) | {
+ "UNROUTED_ISSUE_REVIEW", "SCREENING_SOURCE_UNIT_FALLBACK",
+ "E00_MEMBERSHIP_CONFLICT_REVIEW", "E00_FALSE_UNROUTED_REVIEW",
+ "E00_CONSERVATION_FAILURE"}
+ clean_reviews = []
+ for r in draft.get("review_items") or []:
+ if not isinstance(r, dict):
+ fail("REVIEW_ITEM_KEY_INVALID", "review_item is not an object")
+ continue
+ for k in REVIEW_REQUIRED:
+ if k not in r:
+ fail("REVIEW_ITEM_KEY_INVALID", "missing %s" % k)
+ for k in r:
+ if k not in REVIEW_ALLOWED:
+ fail("REVIEW_ITEM_KEY_INVALID", "extra key %s" % k)
+ code = str(r.get("review_code", ""))
+ if not CODE_RE.match(code):
+ fail("REVIEW_CODE_PATTERN_INVALID", code)
+ elif code not in allowed_codes:
+ fail("REVIEW_CODE_UNKNOWN", code)
+ if r.get("severity") not in SEVERITY:
+ fail("ENUM_INVALID", "review severity=%r" % r.get("severity"))
+ for ref in r.get("source_refs") or []:
+ if ref not in universe_set:
+ fail("REF_NOT_IN_SOURCE_UNIVERSE", "review_items %s" % ref)
+ for did in r.get("domain_ids") or []:
+ if not DOMAIN_RE.match(str(did)):
+ fail("DOMAIN_ID_UNKNOWN", "review_items %r" % did)
+ item = {}
+ for k in REVIEW_ALLOWED:
+ if k in r:
+ item[k] = r[k]
+ item["source_refs"] = sorted(set(item.get("source_refs") or []))
+ clean_reviews.append(item)
+
+ # ---- 보존 등식. 초안의 미분류를 신뢰하지 않고 다시 계산한다. ----
+ computed_unmatched = sorted(universe_set - cited)
+ draft_unmatched = sorted(set(draft.get("unmatched_issue_refs") or []))
+ if draft_unmatched != computed_unmatched:
+ only_draft = sorted(set(draft_unmatched) - set(computed_unmatched))
+ only_calc = sorted(set(computed_unmatched) - set(draft_unmatched))
+ ADDED_REVIEWS.append({
+ "review_code": "E00_FALSE_UNROUTED_REVIEW",
+ "severity": "review",
+ "reason": ("초안의 unmatched_issue_refs 가 재계산 결과와 다르다. 재계산본으로 대체했다. "
+ "초안에만 있음=%s, 재계산본에만 있음=%s"
+ % (",".join(only_draft) or "-", ",".join(only_calc) or "-"))[:1000],
+ "source_refs": (only_draft + only_calc)[:64],
+ "domain_ids": ["E-00"],
+ "unresolved_type": "unmatched_set_divergence",
+ "blocks_final_drafting": False,
+ })
+ unmatched = computed_unmatched
+ if computed_unmatched and not any(
+ r.get("review_code") == "UNROUTED_ISSUE_REVIEW" for r in clean_reviews):
+ ADDED_REVIEWS.append({
+ "review_code": "UNROUTED_ISSUE_REVIEW",
+ "severity": "review",
+ "reason": "어느 도메인 단서에도 걸리지 않은 상담록 단위를 잔여로 보존한다.",
+ "source_refs": computed_unmatched[:64],
+ "domain_ids": ["E-00"],
+ "unresolved_type": "unrouted_meeting_unit",
+ "blocks_final_drafting": True,
+ })
+ clean_reviews.extend(ADDED_REVIEWS)
+
+ if len(universe_set) != len(cited) + len(unmatched):
+ fail("CONSERVATION_FAILED",
+ "universe=%d cited=%d unmatched=%d"
+ % (len(universe_set), len(cited), len(unmatched)))
+
+ # ---- 상태. 올릴 수는 있어도 내리지 않는다. ----
+ draft_status = draft.get("status")
+ if draft_status not in STATUS_RANK:
+ fail("ENUM_INVALID", "draft status=%r" % draft_status)
+ draft_status = "READY_WITH_REVIEW"
+ status = draft_status
+ if clean_reviews and STATUS_RANK[status] < STATUS_RANK["READY_WITH_REVIEW"]:
+ status = "READY_WITH_REVIEW"
+
+ if ERRORS:
+ return None
+
+ # ---- 비판단 6종을 붙여 조립한다. 키 순서는 스키마의 required 순서를 따른다. ----
+ screening = {
+ "schema_version": SCHEMA_VERSION,
+ "status": status,
+ "registry_version": registry_version,
+ "registry_index_sha256": registry_index_sha256,
+ "source_document_refs": source_document_refs,
+ "candidates": clean_candidates,
+ "unmatched_issue_refs": unmatched,
+ "review_items": clean_reviews,
+ "screening_policy": dict(SCREENING_POLICY),
+ "contract_guards": dict(CONTRACT_GUARDS),
+ }
+ doc = {"domain_screening": screening}
+
+ problems = self_check(doc)
+ if problems:
+ for p in problems:
+ fail("OUTPUT_SCHEMA_SELF_CHECK_FAILED", p)
+ return None
+
+ body = json.dumps(doc, ensure_ascii=False, indent=2) + "\n"
+ write_doc(OUTPUT_PATH, body)
+ try:
+ _call("list_docs", {"path": "routing", "pattern": "domain_screening.json"},
+ next_msg_id())
+ except Exception as exc:
+ warn("OUTPUT_LIST_CHECK_SKIPPED", str(exc))
+
+ return {
+ "screening_sha256": hashlib.sha256(body.encode("utf-8")).hexdigest(),
+ "status": status,
+ "source_unit_count": len(universe_set),
+ "cited_unit_count": len(cited),
+ "unmatched_unit_count": len(unmatched),
+ "candidate_count": len(clean_candidates),
+ "review_item_count": len(clean_reviews),
+ "review_items_added_by_02": [r["review_code"] for r in ADDED_REVIEWS],
+ "registry_version": registry_version,
+ "registry_index_sha256": registry_index_sha256,
+ }
+
+
+# 지난 실행의 screening 이 하류로 흐르지 않게 먼저 무효화한다. 성공하면 main() 이 정본으로 덮는다.
+# try 밖에 두어 세션 열기·표식 쓰기의 실패는 raise 되고 백엔드 재시도를 받는다.
+_init()
+write_doc(OUTPUT_PATH, "SCREENING_PENDING %s\n" % datetime.now(timezone.utc).isoformat())
+
+try:
+ RESULT = main()
+except Exception as exc:
+ fail("UNHANDLED_EXCEPTION", "%s: %s" % (type(exc).__name__, exc))
+ RESULT = None
+
+if RESULT is None:
+ print(json.dumps({"status": "FAILED", "written": False,
+ "output_path": OUTPUT_PATH,
+ "errors": ERRORS, "warnings": WARNINGS},
+ ensure_ascii=False))
+else:
+ payload = {"status": RESULT["status"], "written": True,
+ "output_path": OUTPUT_PATH, "errors": [], "warnings": WARNINGS}
+ payload.update(RESULT)
+ print(json.dumps(payload, ensure_ascii=False))
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_orig.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_orig.py
new file mode 100644
index 00000000..6a5a94b3
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/extracted_02_orig.py
@@ -0,0 +1,702 @@
+#!/usr/bin/env python3
+# Task_A0_domain_screener_02
+# domain_screening_draft.json (LLM 판단 4종) 를 받아
+# 비판단 6종을 registry 에서 직접 읽어 붙이고,
+# 멤버십과 보존 등식을 검증하여 routing/domain_screening.json 을 기록한다.
+# 판단은 하지 않는다. 상태를 올릴 수는 있어도 내리지 않는다.
+import hashlib
+import itertools
+import json
+import re
+import unicodedata
+from datetime import datetime, timezone
+
+import httpx
+
+# --------------------------------------------------------------------------
+# localdocs 보일러플레이트 (SKILL.md 5장 / 5.2장)
+# clientInfo 에 {{__user_hash__}} / {{__workspace_hash__}} 를 반드시 넣는다.
+# 빠지면 localdocs 가 루트 경로를 보므로 사용자 파일을 찾지 못한다.
+# --------------------------------------------------------------------------
+TASK_NAME = "Task_A0_domain_screener_02"
+LOCALDOCS_URL = "http://mcp-localdocs:8012/mcp"
+MCP_HEADERS = {"Content-Type": "application/json",
+ "Accept": "application/json, text/event-stream"}
+CLIENT = httpx.Client(timeout=60)
+MSG_ID_COUNTER = itertools.count(10)
+
+
+def next_msg_id():
+ return next(MSG_ID_COUNTER)
+
+
+def _init():
+ r = CLIENT.post(LOCALDOCS_URL, json={
+ "jsonrpc": "2.0", "id": 1, "method": "initialize",
+ "params": {"protocolVersion": "2025-03-26", "capabilities": {},
+ "clientInfo": {"name": TASK_NAME, "version": "1.0",
+ "user_id": "{{__user_hash__}}",
+ "workspace_id": "{{__workspace_hash__}}"}}
+ }, headers=MCP_HEADERS)
+ r.raise_for_status()
+ sid = r.headers.get("mcp-session-id")
+ if sid:
+ MCP_HEADERS["mcp-session-id"] = sid
+ CLIENT.post(LOCALDOCS_URL,
+ json={"jsonrpc": "2.0", "method": "notifications/initialized"},
+ headers=MCP_HEADERS).raise_for_status()
+
+
+def _parse_mcp(text):
+ for line in text.strip().split("\n"):
+ if line.startswith("data: "):
+ try:
+ return json.loads(line[6:])
+ except Exception:
+ return None
+ try:
+ return json.loads(text)
+ except Exception:
+ return None
+
+
+def _call(name, args, mid):
+ r = CLIENT.post(LOCALDOCS_URL, json={
+ "jsonrpc": "2.0", "id": mid, "method": "tools/call",
+ "params": {"name": name, "arguments": args}
+ }, headers=MCP_HEADERS)
+ r.raise_for_status()
+ p = _parse_mcp(r.text)
+ if not p or "result" not in p:
+ raise RuntimeError("MCP %s failed" % name)
+ return p
+
+
+def read_raw(name):
+ # 파일 내용을 재직렬화 없이 원문 그대로 돌려준다.
+ # registry_index_sha256 은 원문 바이트의 해시여야 하므로 재직렬화를 절대 허용하지 않는다.
+ p = _call("read_docs", {"doc_names": [name]}, next_msg_id())
+ text = (p["result"].get("content") or [{}])[0].get("text", "")
+ if not text:
+ raise RuntimeError("Empty response: %s" % name)
+ try:
+ outer = json.loads(text)
+ except Exception:
+ return text
+ if isinstance(outer, str):
+ return outer
+ if isinstance(outer, dict) and "results" in outer:
+ r0 = (outer.get("results") or [{}])[0]
+ inner = r0.get("content")
+ if inner is None:
+ inner = r0.get("text")
+ if not isinstance(inner, str) or not inner:
+ raise RuntimeError("Empty content: %s" % name)
+ return inner
+ raise RuntimeError("Unexpected read_docs envelope: %s" % name)
+
+
+def read_json(name):
+ raw = read_raw(name)
+ s = raw.strip()
+ if s.startswith("```"):
+ for part in s.split("```"):
+ part = part.strip()
+ if part.startswith("json"):
+ part = part[4:].strip()
+ if part.startswith("{") or part.startswith("["):
+ s = part
+ break
+ try:
+ return json.loads(s)
+ except json.JSONDecodeError:
+ obj, _ = json.JSONDecoder().raw_decode(s)
+ return obj
+
+
+def write_doc(path, content):
+ # localdocs 는 실패도 정상 응답 본문의 "Error: ..." 로 돌려준다. 표식이 안 써지면 지난 파일이 남는다.
+ p = _call("write_file", {"path": path, "content": content, "overwrite": True},
+ next_msg_id())
+ text = (p["result"].get("content") or [{}])[0].get("text", "")
+ if text.startswith("Error"):
+ raise RuntimeError("WRITE_FAILED:%s:%s" % (path, text[:200]))
+
+
+# --------------------------------------------------------------------------
+# 경로와 상수
+# --------------------------------------------------------------------------
+DRAFT_PATH = "routing/domain_screening_draft.json"
+MEETING_PATH = "client_meeting.md"
+REGISTRY_INDEX_PATH = "Default_Agent/domains/_registry_index.json"
+DIGEST_PATH = "Default_Agent/routing/activation_cue_digest.md"
+OUTPUT_PATH = "routing/domain_screening.json"
+
+SCHEMA_VERSION = "stage1_domain_screening.v1"
+
+# platform/schemas/domain_screening.schema.json 이 const 로 못박은 값이다.
+# 하나라도 다르면 스키마 검증에서 떨어지므로 판단 대상이 아니다.
+SCREENING_POLICY = {
+ "case_name_lookup_forbidden": True,
+ "single_keyword_activation_forbidden": True,
+ "negative_cue_downrank_only": True,
+ "evidence_refinement_required": True,
+ "unknown_review_code": "UNROUTED_ISSUE_REVIEW",
+}
+CONTRACT_GUARDS = {
+ "final_conclusion_forbidden": True,
+ "unknown_values_require_review": True,
+ "source_membership_required": True,
+ "strict_json_output": True,
+ "meeting_only_evidence_promotion_forbidden": True,
+}
+
+STATUS_RANK = {"READY": 0, "READY_WITH_REVIEW": 1, "BLOCKED": 2, "FAILED": 3}
+PROVISIONAL_STATUS = ("candidate", "supporting", "monitor", "review")
+CONFIDENCE = ("high", "medium", "low")
+SEVERITY = ("info", "review", "hard_warning", "block")
+
+REF_RE = re.compile(r"^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$")
+DOMAIN_RE = re.compile(r"^(?:(?:EC|E)-[A-Z0-9]{2,8}|X[A-Z0-9]{1,8})$")
+CALC_RE = re.compile(r"^CE-[A-Z0-9][A-Z0-9-]{0,15}$")
+CODE_RE = re.compile(r"^[A-Z][A-Z0-9_]{2,127}$")
+REG_VER_RE = re.compile(r"^[A-Za-z][A-Za-z0-9_.-]{2,127}$")
+SHA_RE = re.compile(r"^[a-f0-9]{64}$")
+
+CANDIDATE_REQUIRED = ("domain_id", "provisional_status", "positive_refs",
+ "negative_refs", "conflict_refs", "confidence",
+ "reasoning_summary", "final_determination_forbidden")
+CANDIDATE_ALLOWED = CANDIDATE_REQUIRED + ("requested_calculation_domains",)
+REVIEW_REQUIRED = ("review_code", "severity", "reason", "source_refs")
+REVIEW_ALLOWED = REVIEW_REQUIRED + ("domain_ids", "unresolved_type",
+ "blocks_final_drafting")
+SCREENING_REQUIRED = ("schema_version", "status", "registry_version",
+ "registry_index_sha256", "source_document_refs",
+ "candidates", "unmatched_issue_refs", "review_items",
+ "screening_policy", "contract_guards")
+
+# 01 이 쓰면 안 되는 필드. 하나라도 있으면 초안이 계약을 벗어난 것이다.
+FORBIDDEN_DRAFT_FIELDS = ("track_hypothesis", "domain_hypotheses",
+ "relief_mode_hints", "computation_hints",
+ "matched_cues", "notes_kr")
+NONJUDGMENT_FIELDS = ("schema_version", "registry_version",
+ "registry_index_sha256", "source_document_refs",
+ "screening_policy", "contract_guards")
+
+GANADA = "가나다라마바사아자차카타파하"
+SECTION_MARKERS = (("상담내용", "FACT"),
+ ("사건관계인의주장", "OPP"),
+ ("의뢰인의희망사항", "WISH"))
+
+ERRORS = []
+WARNINGS = []
+ADDED_REVIEWS = []
+
+
+def fail(code, message):
+ ERRORS.append({"code": code, "message": message})
+
+
+def warn(code, message):
+ WARNINGS.append({"code": code, "message": message})
+
+
+# --------------------------------------------------------------------------
+# 1) source unit 독립 재산출
+# Task_A0_domain_screener_01 의 와 같은 규칙을
+# 코드로 다시 구현한다. LLM 의 채번을 신뢰하지 않고 대조하기 위한 것이다.
+# --------------------------------------------------------------------------
+def mint_source_units(meeting_text):
+ lines = unicodedata.normalize("NFC", meeting_text).split("\n")
+ section = None
+ cluster = 0
+ units = []
+ meta_seen = False
+ raw_seq = 0
+ for line in lines:
+ t = line.strip()
+ if not t:
+ continue
+ squashed = re.sub(r"\s+", "", t)
+ if "【" in t and "】" in t:
+ hit = None
+ for needle, code in SECTION_MARKERS:
+ if needle in squashed:
+ hit = code
+ break
+ if hit:
+ section = hit
+ cluster = 0
+ continue
+ if section is None:
+ # 상담일지 머리표는 문단마다 자르지 않고 MTG.META.01 한 단위로 접는다.
+ if set(t) <= set("| -"):
+ continue
+ if not meta_seen:
+ units.append("MTG.META.01")
+ meta_seen = True
+ continue
+ m = re.match(r"^(\d{1,2})\.\s", t)
+ if m:
+ cluster = int(m.group(1))
+ continue
+ m2 = re.match(r"^([" + GANADA + r"])\.\s", t)
+ if m2:
+ item = GANADA.index(m2.group(1)) + 1
+ else:
+ item = 0
+ unit_id = "MTG.%s.%02d.%02d" % (section, cluster, item)
+ if unit_id in units:
+ raw_seq += 1
+ unit_id = "MTG.RAW.%03d" % raw_seq
+ units.append(unit_id)
+ return units, raw_seq
+
+
+# --------------------------------------------------------------------------
+# 2) 단어 사전 파싱
+# 도메인 화이트리스트, 도메인별 계산 허용목록, 충돌 검토코드, 상시활성 목록,
+# 그리고 사전이 어느 registry 스냅숏에서 나왔는지를 뽑는다.
+# --------------------------------------------------------------------------
+def parse_digest(md):
+ text = unicodedata.normalize("NFC", md)
+ info = {"registry_version": None, "registry_index_sha256": None,
+ "domains": {}, "always_on": [], "review_codes": set()}
+ m = re.search(r"^registry_version:\s*`([^`]+)`", text, re.M)
+ if m:
+ info["registry_version"] = m.group(1).strip()
+ m = re.search(r"^registry_index:.*sha256=`([a-f0-9]{64})`", text, re.M)
+ if m:
+ info["registry_index_sha256"] = m.group(1)
+ current = None
+ for line in text.split("\n"):
+ t = line.rstrip()
+ if t.startswith("### "):
+ parts = [x.strip() for x in t[4:].split("|")]
+ if len(parts) < 6:
+ continue
+ did = parts[0]
+ kv = {}
+ for seg in parts[2:]:
+ if "=" in seg:
+ k, v = seg.split("=", 1)
+ kv[k.strip()] = v.strip()
+ calc = [] if kv.get("calc", "-") == "-" else kv["calc"].split(",")
+ dep = [] if kv.get("dep", "-") == "-" else kv["dep"].split(",")
+ info["domains"][did] = {"calc": calc, "dep": dep,
+ "kind": kv.get("kind"),
+ "ao": kv.get("ao") == "1"}
+ if kv.get("ao") == "1":
+ info["always_on"].append(did)
+ current = did
+ elif t.startswith("C|") and current:
+ fields = t.split("|")
+ if len(fields) >= 4:
+ info["review_codes"].add(fields[3].strip())
+ return info
+
+
+# --------------------------------------------------------------------------
+# 3) 최종 산출물 자기검증 — 닫힌 스키마의 형태를 코드로 다시 확인한다.
+# --------------------------------------------------------------------------
+def self_check(doc):
+ problems = []
+ if list(doc.keys()) != ["domain_screening"]:
+ problems.append("root key must be exactly domain_screening")
+ return problems
+ ds = doc["domain_screening"]
+ missing = [k for k in SCREENING_REQUIRED if k not in ds]
+ extra = [k for k in ds if k not in SCREENING_REQUIRED]
+ if missing:
+ problems.append("missing required: %s" % ",".join(missing))
+ if extra:
+ problems.append("additionalProperties: %s" % ",".join(extra))
+ if ds.get("schema_version") != SCHEMA_VERSION:
+ problems.append("schema_version const mismatch")
+ if ds.get("status") not in STATUS_RANK:
+ problems.append("status enum invalid")
+ if not REG_VER_RE.match(str(ds.get("registry_version", ""))):
+ problems.append("registry_version pattern invalid")
+ if not SHA_RE.match(str(ds.get("registry_index_sha256", ""))):
+ problems.append("registry_index_sha256 pattern invalid")
+ for key in ("source_document_refs", "unmatched_issue_refs"):
+ arr = ds.get(key, [])
+ if len(set(arr)) != len(arr):
+ problems.append("%s not unique" % key)
+ for v in arr:
+ if not REF_RE.match(v):
+ problems.append("%s ref pattern invalid: %s" % (key, v))
+ for c in ds.get("candidates", []):
+ for k in CANDIDATE_REQUIRED:
+ if k not in c:
+ problems.append("candidate missing %s" % k)
+ for k in c:
+ if k not in CANDIDATE_ALLOWED:
+ problems.append("candidate extra key %s" % k)
+ if c.get("final_determination_forbidden") is not True:
+ problems.append("final_determination_forbidden must be true")
+ for r in ds.get("review_items", []):
+ for k in REVIEW_REQUIRED:
+ if k not in r:
+ problems.append("review_item missing %s" % k)
+ for k in r:
+ if k not in REVIEW_ALLOWED:
+ problems.append("review_item extra key %s" % k)
+ if r.get("severity") not in SEVERITY:
+ problems.append("review_item severity invalid")
+ if not CODE_RE.match(str(r.get("review_code", ""))):
+ problems.append("review_code pattern invalid")
+ reason = r.get("reason", "")
+ if not (1 <= len(reason) <= 1000):
+ problems.append("review_item reason length invalid")
+ if ds.get("screening_policy") != SCREENING_POLICY:
+ problems.append("screening_policy const mismatch")
+ if ds.get("contract_guards") != CONTRACT_GUARDS:
+ problems.append("contract_guards const mismatch")
+ return problems
+
+
+# --------------------------------------------------------------------------
+# main
+# --------------------------------------------------------------------------
+def main():
+ # ---- 입력 4종 ----
+ try:
+ draft_doc = read_json(DRAFT_PATH)
+ except Exception as exc:
+ fail("DRAFT_UNREADABLE", "%s: %s" % (DRAFT_PATH, exc))
+ return None
+ try:
+ meeting_raw = read_raw(MEETING_PATH)
+ except Exception as exc:
+ fail("MEETING_UNREADABLE", "%s: %s" % (MEETING_PATH, exc))
+ return None
+ try:
+ registry_raw = read_raw(REGISTRY_INDEX_PATH)
+ except Exception as exc:
+ fail("REGISTRY_INDEX_UNREADABLE", "%s: %s" % (REGISTRY_INDEX_PATH, exc))
+ return None
+ try:
+ digest_raw = read_raw(DIGEST_PATH)
+ except Exception as exc:
+ fail("DIGEST_UNREADABLE", "%s: %s" % (DIGEST_PATH, exc))
+ return None
+
+ if not isinstance(draft_doc, dict) or "domain_screening_draft" not in draft_doc:
+ fail("DRAFT_ROOT_KEY_INVALID", "root key domain_screening_draft not found")
+ return None
+ draft = draft_doc["domain_screening_draft"]
+
+ for k in FORBIDDEN_DRAFT_FIELDS:
+ if k in draft:
+ fail("FORBIDDEN_FIELD_PRESENT", "draft contains forbidden field %s" % k)
+ for k in NONJUDGMENT_FIELDS:
+ if k in draft:
+ fail("NONJUDGMENT_FIELD_IN_DRAFT",
+ "draft must not carry non-judgment field %s" % k)
+
+ # ---- registry 원문 해시. 재직렬화하지 않은 원문 바이트로 계산한다. ----
+ registry_index_sha256 = hashlib.sha256(registry_raw.encode("utf-8")).hexdigest()
+ try:
+ registry_doc = json.loads(registry_raw)
+ registry = registry_doc["domain_registry_index"]
+ except Exception as exc:
+ fail("REGISTRY_INDEX_UNREADABLE", "parse failed: %s" % exc)
+ return None
+ registry_version = registry.get("registry_version")
+ registry_domain_ids = sorted(e["domain_id"] for e in registry.get("entries", []))
+
+ # ---- 단어 사전 ----
+ digest = parse_digest(digest_raw)
+ if len(digest["domains"]) != len(registry_domain_ids):
+ fail("DIGEST_MALFORMED",
+ "digest domains=%d registry entries=%d"
+ % (len(digest["domains"]), len(registry_domain_ids)))
+ return None
+ unknown_in_digest = sorted(set(digest["domains"]) - set(registry_domain_ids))
+ if unknown_in_digest:
+ fail("DIGEST_DOMAIN_SET_MISMATCH",
+ "digest has domains absent from registry: %s" % ",".join(unknown_in_digest))
+ return None
+ # 사전 머리말은 있으면 낡음 감지에 쓰고, 없으면 경고만 남긴다.
+ # registry_version 과 registry_index_sha256 의 정본은 _registry_index.json 이지
+ # 사전이 아니다. 사전 머리말이 편집되어 사라져도 산출물은 정확해야 한다.
+ if digest["registry_index_sha256"] is None:
+ warn("DIGEST_HEADER_ABSENT",
+ "activation_cue_digest.md has no registry_index sha256 header; "
+ "staleness cross-check skipped")
+ elif digest["registry_index_sha256"] != registry_index_sha256:
+ # 사전이 만들어진 뒤 registry 가 바뀌었거나, 읽는 과정에서 원문이 변형된 것이다.
+ # 사전이 낡은 단서로 판단한 초안을 봉인하면 안 되므로 여기서 멈춘다.
+ fail("REGISTRY_INDEX_SHA_MISMATCH",
+ "digest=%s computed=%s" % (digest["registry_index_sha256"],
+ registry_index_sha256))
+ return None
+ if digest["registry_version"] is None:
+ warn("DIGEST_HEADER_ABSENT",
+ "activation_cue_digest.md has no registry_version header")
+ elif digest["registry_version"] != registry_version:
+ fail("REGISTRY_VERSION_MISMATCH",
+ "digest=%s registry=%s" % (digest["registry_version"], registry_version))
+ return None
+
+ # ---- source unit 독립 재산출 ----
+ universe, raw_fallback = mint_source_units(meeting_raw)
+ if raw_fallback:
+ warn("SCREENING_SOURCE_UNIT_FALLBACK",
+ "%d unit(s) fell back to MTG.RAW.* numbering" % raw_fallback)
+ if not universe:
+ fail("SOURCE_UNIT_SET_EMPTY", "no source unit minted from %s" % MEETING_PATH)
+ return None
+ universe_set = set(universe)
+ if len(universe_set) != len(universe):
+ fail("SOURCE_UNIT_DUPLICATE", "duplicate unit id after minting")
+ return None
+ for u in universe:
+ if not REF_RE.match(u):
+ fail("REF_PATTERN_INVALID", "minted unit id invalid: %s" % u)
+ source_document_refs = sorted(universe_set)
+
+ # 초안이 스스로 적어둔 목록과 대조한다. 어긋나면 재산출본을 정본으로 삼고 검토를 남긴다.
+ draft_units = []
+ for row in draft.get("source_unit_index", []) or []:
+ if isinstance(row, dict) and row.get("unit_id"):
+ draft_units.append(row["unit_id"])
+ if draft_units and set(draft_units) != universe_set:
+ only_draft = sorted(set(draft_units) - universe_set)
+ only_mint = sorted(universe_set - set(draft_units))
+ ADDED_REVIEWS.append({
+ "review_code": "E00_MEMBERSHIP_CONFLICT_REVIEW",
+ "severity": "review",
+ "reason": ("초안의 source_unit_index 와 재산출한 원천 단위 집합이 다르다. "
+ "재산출본을 정본으로 삼았다. 초안에만 있음=%s, 재산출본에만 있음=%s"
+ % (",".join(only_draft) or "-", ",".join(only_mint) or "-"))[:1000],
+ "source_refs": sorted(set(only_mint))[:64],
+ "domain_ids": ["E-00"],
+ "unresolved_type": "source_unit_index_divergence",
+ "blocks_final_drafting": False,
+ })
+
+ # ---- 후보 검증 ----
+ candidates = draft.get("candidates")
+ if not isinstance(candidates, list):
+ fail("DRAFT_FIELD_MISSING", "candidates must be a list")
+ return None
+ seen_domains = set()
+ cited = set()
+ clean_candidates = []
+ for c in candidates:
+ if not isinstance(c, dict):
+ fail("CANDIDATE_KEY_INVALID", "candidate is not an object")
+ continue
+ did = c.get("domain_id")
+ for k in CANDIDATE_REQUIRED:
+ if k not in c:
+ fail("CANDIDATE_KEY_INVALID", "%s missing %s" % (did, k))
+ for k in c:
+ if k not in CANDIDATE_ALLOWED:
+ fail("CANDIDATE_KEY_INVALID", "%s extra key %s" % (did, k))
+ if not DOMAIN_RE.match(str(did)) or did not in digest["domains"]:
+ fail("DOMAIN_ID_UNKNOWN", "unknown domain_id: %r" % did)
+ continue
+ if did in seen_domains:
+ fail("DOMAIN_ID_DUPLICATE", "duplicate domain_id: %s" % did)
+ continue
+ seen_domains.add(did)
+ if c.get("provisional_status") not in PROVISIONAL_STATUS:
+ fail("ENUM_INVALID", "%s provisional_status=%r" % (did, c.get("provisional_status")))
+ if c.get("confidence") not in CONFIDENCE:
+ fail("ENUM_INVALID", "%s confidence=%r" % (did, c.get("confidence")))
+ summary = c.get("reasoning_summary", "")
+ if not isinstance(summary, str) or not (1 <= len(summary) <= 1200):
+ fail("REASONING_SUMMARY_LENGTH", "%s length=%d" % (did, len(str(summary))))
+ if c.get("final_determination_forbidden") is not True:
+ fail("FINAL_DETERMINATION_FLAG_INVALID", "%s" % did)
+ for key in ("positive_refs", "negative_refs", "conflict_refs"):
+ arr = c.get(key) or []
+ if not isinstance(arr, list):
+ fail("CANDIDATE_KEY_INVALID", "%s %s must be a list" % (did, key))
+ continue
+ for ref in arr:
+ if not REF_RE.match(str(ref)):
+ fail("REF_PATTERN_INVALID", "%s %s %r" % (did, key, ref))
+ elif ref not in universe_set:
+ # source_membership_required 위반. 조용히 지우지 않고 실패로 처리한다.
+ fail("REF_NOT_IN_SOURCE_UNIVERSE", "%s %s %s" % (did, key, ref))
+ else:
+ cited.add(ref)
+ allowed_calc = set(digest["domains"][did]["calc"])
+ calc = c.get("requested_calculation_domains") or []
+ if not isinstance(calc, list):
+ fail("CANDIDATE_KEY_INVALID", "%s requested_calculation_domains must be a list" % did)
+ calc = []
+ for cid in calc:
+ if not CALC_RE.match(str(cid)):
+ fail("CALC_PATTERN_INVALID", "%s %r" % (did, cid))
+ elif cid not in allowed_calc:
+ fail("CALC_NOT_IN_BINDINGS", "%s requested %s but calc=%s"
+ % (did, cid, ",".join(sorted(allowed_calc)) or "-"))
+ out = {}
+ for k in CANDIDATE_REQUIRED:
+ out[k] = c.get(k)
+ for key in ("positive_refs", "negative_refs", "conflict_refs"):
+ out[key] = sorted(set(out.get(key) or []))
+ if "requested_calculation_domains" in c:
+ out["requested_calculation_domains"] = sorted(set(calc))
+ clean_candidates.append(out)
+ clean_candidates.sort(key=lambda x: str(x.get("domain_id")))
+
+ # 상시 활성 4종은 D0 게이트의 보장 대상이다. 여기서 후보를 만들어내지 않고 경고만 남긴다.
+ missing_ao = [d for d in sorted(digest["always_on"]) if d not in seen_domains]
+ if missing_ao:
+ warn("ALWAYS_ON_NOT_IN_DRAFT",
+ "always_on domains absent from draft candidates: %s" % ",".join(missing_ao))
+
+ # ---- 검토 항목 검증 ----
+ allowed_codes = set(digest["review_codes"]) | {
+ "UNROUTED_ISSUE_REVIEW", "SCREENING_SOURCE_UNIT_FALLBACK",
+ "E00_MEMBERSHIP_CONFLICT_REVIEW", "E00_FALSE_UNROUTED_REVIEW",
+ "E00_CONSERVATION_FAILURE"}
+ clean_reviews = []
+ for r in draft.get("review_items") or []:
+ if not isinstance(r, dict):
+ fail("REVIEW_ITEM_KEY_INVALID", "review_item is not an object")
+ continue
+ for k in REVIEW_REQUIRED:
+ if k not in r:
+ fail("REVIEW_ITEM_KEY_INVALID", "missing %s" % k)
+ for k in r:
+ if k not in REVIEW_ALLOWED:
+ fail("REVIEW_ITEM_KEY_INVALID", "extra key %s" % k)
+ code = str(r.get("review_code", ""))
+ if not CODE_RE.match(code):
+ fail("REVIEW_CODE_PATTERN_INVALID", code)
+ elif code not in allowed_codes:
+ fail("REVIEW_CODE_UNKNOWN", code)
+ if r.get("severity") not in SEVERITY:
+ fail("ENUM_INVALID", "review severity=%r" % r.get("severity"))
+ for ref in r.get("source_refs") or []:
+ if ref not in universe_set:
+ fail("REF_NOT_IN_SOURCE_UNIVERSE", "review_items %s" % ref)
+ for did in r.get("domain_ids") or []:
+ if not DOMAIN_RE.match(str(did)):
+ fail("DOMAIN_ID_UNKNOWN", "review_items %r" % did)
+ item = {}
+ for k in REVIEW_ALLOWED:
+ if k in r:
+ item[k] = r[k]
+ item["source_refs"] = sorted(set(item.get("source_refs") or []))
+ clean_reviews.append(item)
+
+ # ---- 보존 등식. 초안의 미분류를 신뢰하지 않고 다시 계산한다. ----
+ computed_unmatched = sorted(universe_set - cited)
+ draft_unmatched = sorted(set(draft.get("unmatched_issue_refs") or []))
+ if draft_unmatched != computed_unmatched:
+ only_draft = sorted(set(draft_unmatched) - set(computed_unmatched))
+ only_calc = sorted(set(computed_unmatched) - set(draft_unmatched))
+ ADDED_REVIEWS.append({
+ "review_code": "E00_FALSE_UNROUTED_REVIEW",
+ "severity": "review",
+ "reason": ("초안의 unmatched_issue_refs 가 재계산 결과와 다르다. 재계산본으로 대체했다. "
+ "초안에만 있음=%s, 재계산본에만 있음=%s"
+ % (",".join(only_draft) or "-", ",".join(only_calc) or "-"))[:1000],
+ "source_refs": (only_draft + only_calc)[:64],
+ "domain_ids": ["E-00"],
+ "unresolved_type": "unmatched_set_divergence",
+ "blocks_final_drafting": False,
+ })
+ unmatched = computed_unmatched
+ if computed_unmatched and not any(
+ r.get("review_code") == "UNROUTED_ISSUE_REVIEW" for r in clean_reviews):
+ ADDED_REVIEWS.append({
+ "review_code": "UNROUTED_ISSUE_REVIEW",
+ "severity": "review",
+ "reason": "어느 도메인 단서에도 걸리지 않은 상담록 단위를 잔여로 보존한다.",
+ "source_refs": computed_unmatched[:64],
+ "domain_ids": ["E-00"],
+ "unresolved_type": "unrouted_meeting_unit",
+ "blocks_final_drafting": True,
+ })
+ clean_reviews.extend(ADDED_REVIEWS)
+
+ if len(universe_set) != len(cited) + len(unmatched):
+ fail("CONSERVATION_FAILED",
+ "universe=%d cited=%d unmatched=%d"
+ % (len(universe_set), len(cited), len(unmatched)))
+
+ # ---- 상태. 올릴 수는 있어도 내리지 않는다. ----
+ draft_status = draft.get("status")
+ if draft_status not in STATUS_RANK:
+ fail("ENUM_INVALID", "draft status=%r" % draft_status)
+ draft_status = "READY_WITH_REVIEW"
+ status = draft_status
+ if clean_reviews and STATUS_RANK[status] < STATUS_RANK["READY_WITH_REVIEW"]:
+ status = "READY_WITH_REVIEW"
+
+ if ERRORS:
+ return None
+
+ # ---- 비판단 6종을 붙여 조립한다. 키 순서는 스키마의 required 순서를 따른다. ----
+ screening = {
+ "schema_version": SCHEMA_VERSION,
+ "status": status,
+ "registry_version": registry_version,
+ "registry_index_sha256": registry_index_sha256,
+ "source_document_refs": source_document_refs,
+ "candidates": clean_candidates,
+ "unmatched_issue_refs": unmatched,
+ "review_items": clean_reviews,
+ "screening_policy": dict(SCREENING_POLICY),
+ "contract_guards": dict(CONTRACT_GUARDS),
+ }
+ doc = {"domain_screening": screening}
+
+ problems = self_check(doc)
+ if problems:
+ for p in problems:
+ fail("OUTPUT_SCHEMA_SELF_CHECK_FAILED", p)
+ return None
+
+ body = json.dumps(doc, ensure_ascii=False, indent=2) + "\n"
+ write_doc(OUTPUT_PATH, body)
+ try:
+ _call("list_docs", {"path": "routing", "pattern": "domain_screening.json"},
+ next_msg_id())
+ except Exception as exc:
+ warn("OUTPUT_LIST_CHECK_SKIPPED", str(exc))
+
+ return {
+ "screening_sha256": hashlib.sha256(body.encode("utf-8")).hexdigest(),
+ "status": status,
+ "source_unit_count": len(universe_set),
+ "cited_unit_count": len(cited),
+ "unmatched_unit_count": len(unmatched),
+ "candidate_count": len(clean_candidates),
+ "review_item_count": len(clean_reviews),
+ "review_items_added_by_02": [r["review_code"] for r in ADDED_REVIEWS],
+ "registry_version": registry_version,
+ "registry_index_sha256": registry_index_sha256,
+ }
+
+
+# 지난 실행의 screening 이 하류로 흐르지 않게 먼저 무효화한다. 성공하면 main() 이 정본으로 덮는다.
+# try 밖에 두어 세션 열기·표식 쓰기의 실패는 raise 되고 백엔드 재시도를 받는다.
+_init()
+write_doc(OUTPUT_PATH, "SCREENING_PENDING %s\n" % datetime.now(timezone.utc).isoformat())
+
+try:
+ RESULT = main()
+except Exception as exc:
+ fail("UNHANDLED_EXCEPTION", "%s: %s" % (type(exc).__name__, exc))
+ RESULT = None
+
+if RESULT is None:
+ print(json.dumps({"status": "FAILED", "written": False,
+ "output_path": OUTPUT_PATH,
+ "errors": ERRORS, "warnings": WARNINGS},
+ ensure_ascii=False))
+else:
+ payload = {"status": RESULT["status"], "written": True,
+ "output_path": OUTPUT_PATH, "errors": [], "warnings": WARNINGS}
+ payload.update(RESULT)
+ print(json.dumps(payload, ensure_ascii=False))
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/postprocess_liti.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/postprocess_liti.py
new file mode 100644
index 00000000..5e42038a
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/postprocess_liti.py
@@ -0,0 +1,25 @@
+"""Liti 병합본 후처리(2026-11-25 모델 교체)를 다시 한다. 사용: python3 -I postprocess_liti.py <새 병합본> <종전 Liti(머리 주석 14~19행 출처)>
+종전 파일 머리의 '모델 교체' 주석 6행을 13행 뒤에 넣고, llm_model 줄 · CFG "llm_model" · config_sha256 을 종전과 같은 값으로 바꾼다."""
+import re, sys
+p, old = sys.argv[1], sys.argv[2]
+t = open(p, encoding="utf-8").read().split("\n")
+o = open(old, encoding="utf-8").read().split("\n")
+note = o[13:19]
+assert note[0].startswith("# 모델 교체(2026-11-25") and o[19] == "" and t[13] == "", "머리 주석 위치가 다르다"
+A, B = "56e5d66dfa9f452d3de5e8c76fdad926256772237585e2bebe60fc1b23d35e7e", "87acde33816afdd6cc32f75bfedcece8042198da07de77ec6d6b8356d1f4b0db"
+n = {"model": 0, "cfg": 0, "sha": 0}
+out = []
+for l in t:
+ m = re.match(r"^(\s*llm_model: )('?)gpt-6\.1-sol('?)$", l)
+ if m:
+ l = "%s%sgpt-6.2-sol%s" % m.groups(); n["model"] += 1
+ elif l.lstrip().startswith("CFG=json.loads("):
+ c = l.count('"llm_model":"gpt-6.1-sol"'); n["cfg"] += c
+ l = l.replace('"llm_model":"gpt-6.1-sol"', '"llm_model":"gpt-6.2-sol"')
+ c = l.count('"config_sha256":"%s"' % A); n["sha"] += c
+ l = l.replace('"config_sha256":"%s"' % A, '"config_sha256":"%s"' % B)
+ out.append(l)
+assert n == {"model": 15, "cfg": 2, "sha": 6}, n
+out[13:13] = note
+open(p, "w", encoding="utf-8").write("\n".join(out))
+print("postprocessed", p, n)
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_a_new.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_a_new.py
new file mode 100644
index 00000000..1159e65d
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_a_new.py
@@ -0,0 +1,68 @@
+# replay_a.py(TestRun/Nov_26/scratchpad) 의 개정판: 02 코드를 YAML 행 번호로 조립하지 않고, 적용본 YAML 에서 꺼낸 파일을 그대로 돌린다.
+# usage: python3 -I replay_a_new.py
+import contextlib, io, json, sys, types, copy
+orig_p, patched_p, meeting_path, reg_path, dig_path, d1p, d2p, synth, outdir = sys.argv[1:10]
+ORIG = open(orig_p, encoding="utf-8").read(); PATCHED = open(patched_p, encoding="utf-8").read()
+class R:
+ def __init__(s, t): s.text, s.headers = t, {}
+ def raise_for_status(s): pass
+def run(code, files):
+ written = {}
+ class Client:
+ def __init__(s, **k): pass
+ def post(s, url, json=None, headers=None):
+ if json.get("method") != "tools/call": return R("{}")
+ n, a = json["params"]["name"], json["params"]["arguments"]
+ if n == "read_docs":
+ f = a["doc_names"][0]
+ body = __import__("json").dumps({"results": [{"name": f, "content": files[f]}]}) if f in files else ""
+ elif n == "write_file": written[a["path"]] = a["content"]; body = "ok"
+ else: body = "ok"
+ return R(__import__("json").dumps({"jsonrpc": "2.0", "id": json["id"], "result": {"content": [{"text": body}]}}))
+ m = types.ModuleType("httpx"); m.Client = Client; sys.modules["httpx"] = m
+ buf = io.StringIO()
+ with contextlib.redirect_stdout(buf): exec(compile(code, "t02", "exec"), {"__name__": "__main__"})
+ return json.loads(buf.getvalue().strip().split("\n")[-1]), written
+def show(tag, out):
+ codes = {}
+ for e in out.get("errors", []): codes[e["code"]] = codes.get(e["code"], 0) + 1
+ keep = {k: out[k] for k in ("status", "written", "source_unit_count", "cited_unit_count", "unmatched_unit_count",
+ "candidate_count", "review_item_count", "review_items_added_by_02") if k in out}
+ print(tag, json.dumps(keep, ensure_ascii=False), "errors", codes, "warnings", [w["code"] for w in out.get("warnings", [])])
+meeting = open(meeting_path, encoding="utf-8").read()
+base = {"client_meeting.md": meeting, "Default_Agent/domains/_registry_index.json": open(reg_path, encoding="utf-8").read(),
+ "Default_Agent/routing/activation_cue_digest.md": open(dig_path, encoding="utf-8").read()}
+def F(d, mt=meeting): return dict(base, **{"client_meeting.md": mt, "routing/domain_screening_draft.json": json.dumps(d, ensure_ascii=False)})
+d1 = json.load(open(d1p, encoding="utf-8")); d2 = json.load(open(d2p, encoding="utf-8"))
+show("A1 원본코드 + 세션1 초안:", run(ORIG, F(d1))[0])
+show("A2 원본코드 + 세션2 초안:", run(ORIG, F(d2))[0])
+o, w = run(PATCHED, F(d1)); show("P1 패치코드 + 세션1 초안:", o)
+open(outdir + "/screening_a_s1.json","w",encoding="utf-8").write(w["routing/domain_screening.json"])
+scr = json.loads(w["routing/domain_screening.json"])["domain_screening"]
+print(" source_document_refs", len(scr["source_document_refs"]), "미분류", scr["unmatched_issue_refs"])
+show("P2 패치코드 + 세션2 초안:", run(PATCHED, F(d2))[0])
+# 형식 무관: 같은 초안을 서식이 전혀 다른 상담록과 함께 넣어도 02 의 판정은 상담록 서식에 좌우되지 않는다
+for name in ("T1", "T2", "T3", "T6"):
+ mt = open("%s/%s.md" % (synth, name), encoding="utf-8").read()
+ show("P3 패치코드 + 세션1 초안 + 합성 상담록 %s:" % name, run(PATCHED, F(d1, mt))[0])
+# 자유 형식 상담록에서 LLM 이 RAW 번호만 쓴 초안
+dr = copy.deepcopy(d1); dd = dr["domain_screening_draft"]
+ids = [r["unit_id"] for r in dd["source_unit_index"]]; mp = {o: "MTG.RAW.%03d" % (i + 1) for i, o in enumerate(ids)}
+dd["source_unit_index"] = [{"unit_id": mp[o], "gist": "-"} for o in ids]
+for c in dd["candidates"]:
+ for k in ("positive_refs", "negative_refs", "conflict_refs"): c[k] = sorted(mp[x] for x in c[k])
+for r in dd["review_items"]: r["source_refs"] = sorted(mp[x] for x in r["source_refs"])
+dd["unmatched_issue_refs"] = sorted(mp[x] for x in dd["unmatched_issue_refs"])
+show("P4 패치코드 + RAW 번호 초안(T2 상담록):", run(PATCHED, F(dr, open(synth + "/T2.md", encoding="utf-8").read()))[0])
+show(" 원본코드 + 같은 입력:", run(ORIG, F(dr, open(synth + "/T2.md", encoding="utf-8").read()))[0])
+# 차단 시험
+x = copy.deepcopy(d1); x["domain_screening_draft"]["candidates"][1]["positive_refs"].append("MTG.FACT.09.09")
+show("N1 index 밖 인용:", run(PATCHED, F(x))[0])
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"].append(x["domain_screening_draft"]["source_unit_index"][3])
+show("N2 index 중복:", run(PATCHED, F(x))[0])
+x = copy.deepcopy(d1); x["domain_screening_draft"].pop("source_unit_index")
+show("N3 index 없음:", run(PATCHED, F(x))[0])
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"][0]["unit_id"] = "FACT-1"
+show("N4 MTG. 접두 없는 id:", run(PATCHED, F(x))[0])
+x = copy.deepcopy(d1); x["domain_screening_draft"]["unmatched_issue_refs"] = []
+show("N5 미분류 누락(보존 등식 재계산):", run(PATCHED, F(x))[0])
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_liti_out.txt b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_liti_out.txt
new file mode 100644
index 00000000..6f467fc7
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/replay_liti_out.txt
@@ -0,0 +1,16 @@
+A1 원본코드 + 세션1 초안: {"status": "FAILED", "written": false} errors {'REF_NOT_IN_SOURCE_UNIVERSE': 52} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT', 'SCREENING_SOURCE_UNIT_FALLBACK']
+A2 원본코드 + 세션2 초안: {"status": "FAILED", "written": false} errors {'REF_NOT_IN_SOURCE_UNIVERSE': 45} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT', 'SCREENING_SOURCE_UNIT_FALLBACK']
+P1 패치코드 + 세션1 초안: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+ source_document_refs 47 미분류 ['MTG.META.01']
+P2 패치코드 + 세션2 초안: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 47, "unmatched_unit_count": 0, "candidate_count": 17, "review_item_count": 3, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+P3 패치코드 + 세션1 초안 + 합성 상담록 T1: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+P3 패치코드 + 세션1 초안 + 합성 상담록 T2: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+P3 패치코드 + 세션1 초안 + 합성 상담록 T3: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+P3 패치코드 + 세션1 초안 + 합성 상담록 T6: {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+P4 패치코드 + RAW 번호 초안(T2 상담록): {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 4, "review_items_added_by_02": []} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+ 원본코드 + 같은 입력: {"status": "FAILED", "written": false} errors {'REF_NOT_IN_SOURCE_UNIVERSE': 138} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+N1 index 밖 인용: {"status": "FAILED", "written": false} errors {'REF_NOT_IN_SOURCE_UNIVERSE': 1} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+N2 index 중복: {"status": "FAILED", "written": false} errors {'SOURCE_UNIT_DUPLICATE': 1} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+N3 index 없음: {"status": "FAILED", "written": false} errors {'SOURCE_UNIT_SET_EMPTY': 1} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+N4 MTG. 접두 없는 id: {"status": "FAILED", "written": false} errors {'SOURCE_UNIT_ID_INVALID': 1} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
+N5 미분류 누락(보존 등식 재계산): {"status": "READY_WITH_REVIEW", "written": true, "source_unit_count": 47, "cited_unit_count": 46, "unmatched_unit_count": 1, "candidate_count": 16, "review_item_count": 5, "review_items_added_by_02": ["E00_FALSE_UNROUTED_REVIEW"]} errors {} warnings ['DIGEST_HEADER_ABSENT', 'DIGEST_HEADER_ABSENT']
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/semdiff.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/semdiff.py
new file mode 100644
index 00000000..146fc521
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/semdiff.py
@@ -0,0 +1,38 @@
+"""보존본과 적용본 YAML 을 파싱해 달라진 잎(leaf) 경로를 모두 적고, python 코드 블록 전부를 ast.parse 한다.
+사용: python3.14 semdiff.py <보존본 yml> <적용본 yml>"""
+import sys, yaml, ast, hashlib
+a = yaml.safe_load(open(sys.argv[1], encoding="utf-8")); b = yaml.safe_load(open(sys.argv[2], encoding="utf-8"))
+diffs = []
+def name(o, i):
+ if isinstance(o, dict):
+ return o.get("task_name") or o.get("name") or str(i)
+ return str(i)
+def walk(x, y, path):
+ if type(x) != type(y): diffs.append((path, "type")); return
+ if isinstance(x, dict):
+ if list(x) != list(y): diffs.append((path, "keys %s" % sorted(set(x) ^ set(y))))
+ for k in x:
+ if k in y: walk(x[k], y[k], path + [str(k)])
+ elif isinstance(x, list):
+ if len(x) != len(y): diffs.append((path, "len %d->%d" % (len(x), len(y)))); return
+ for i, (p, q) in enumerate(zip(x, y)): walk(p, q, path + [name(p, i)])
+ elif x != y:
+ if isinstance(x, str):
+ la, lb = x.split("\n"), y.split("\n")
+ import difflib
+ ch = [l for l in difflib.unified_diff(la, lb, lineterm="", n=0) if l[:1] in "+-" and l[:3] not in ("+++", "---")]
+ diffs.append((path, "str lines %d->%d, -%d/+%d, new sha %s" % (len(la), len(lb), sum(l[0] == "-" for l in ch), sum(l[0] == "+" for l in ch), hashlib.sha256(y.encode()).hexdigest()[:12])))
+ else: diffs.append((path, "%r->%r" % (x, y)))
+walk(a, b, [])
+for p, d in diffs: print(" DIFF", "/".join(p[2:]), "::", d)
+n = 0
+def codes(o):
+ global n
+ if isinstance(o, dict):
+ if o.get("language") == "python" and isinstance(o.get("code"), str):
+ ast.parse(o["code"]); n += 1
+ for v in o.values(): codes(v)
+ elif isinstance(o, list):
+ for v in o: codes(v)
+codes(b)
+print(" yaml ok; leaf diffs %d; python code blocks ast.parse ok: %d" % (len(diffs), n))
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv02.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv02.py
new file mode 100644
index 00000000..e28dcd1b
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv02.py
@@ -0,0 +1,85 @@
+# 독립검증 적대 사례. usage: python3 -I adv02.py []
+import contextlib, io, json, sys, types, copy, re
+code_p, N = sys.argv[1], sys.argv[2]
+CODE = open(code_p, encoding="utf-8").read()
+ORIG = open(sys.argv[3], encoding="utf-8").read() if len(sys.argv) > 3 else None
+class R:
+ def __init__(s, t): s.text, s.headers = t, {}
+ def raise_for_status(s): pass
+def run(code, files):
+ written = {}
+ class Client:
+ def __init__(s, **k): pass
+ def post(s, url, json=None, headers=None):
+ if json.get("method") != "tools/call": return R("{}")
+ n, a = json["params"]["name"], json["params"]["arguments"]
+ if n == "read_docs":
+ f = a["doc_names"][0]
+ body = __import__("json").dumps({"results": [{"name": f, "content": files[f]}]}) if f in files else ""
+ elif n == "write_file": written[a["path"]] = a["content"]; body = "ok"
+ else: body = "ok"
+ return R(__import__("json").dumps({"jsonrpc": "2.0", "id": json["id"], "result": {"content": [{"text": body}]}}))
+ m = types.ModuleType("httpx"); m.Client = Client; sys.modules["httpx"] = m
+ buf = io.StringIO()
+ with contextlib.redirect_stdout(buf): exec(compile(code, "t02", "exec"), {"__name__": "__main__"})
+ return json.loads(buf.getvalue().strip().split("\n")[-1]), written
+def show(tag, out):
+ codes = {}
+ for e in out.get("errors", []): codes[e["code"]] = codes.get(e["code"], 0) + 1
+ keep = {k: out[k] for k in ("status", "written", "source_unit_count", "cited_unit_count", "unmatched_unit_count",
+ "review_items_added_by_02") if k in out}
+ print(tag, json.dumps(keep, ensure_ascii=False), "errors", codes)
+base = {"client_meeting.md": open(N + "/inputs/meeting.md", encoding="utf-8").read(),
+ "Default_Agent/domains/_registry_index.json": open(N + "/inputs/_registry_index.json", encoding="utf-8").read(),
+ "Default_Agent/routing/activation_cue_digest.md": open(N + "/inputs/activation_cue_digest.md", encoding="utf-8").read()}
+def F(d): return dict(base, **{"routing/domain_screening_draft.json": json.dumps(d, ensure_ascii=False)})
+d1 = json.load(open(N + "/draft_s1.json", encoding="utf-8"))
+def remap(d, fn):
+ x = copy.deepcopy(d); dd = x["domain_screening_draft"]
+ for r in dd["source_unit_index"]: r["unit_id"] = fn(r["unit_id"])
+ for c in dd["candidates"]:
+ for k in ("positive_refs", "negative_refs", "conflict_refs"): c[k] = sorted(fn(v) for v in c[k])
+ for r in dd["review_items"]: r["source_refs"] = sorted(fn(v) for v in r["source_refs"])
+ dd["unmatched_issue_refs"] = sorted(fn(v) for v in dd["unmatched_issue_refs"])
+ return x
+# X1 index 에만 있고 어디에도 인용되지 않은 id (초안 unmatched 에도 없음)
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"].append({"unit_id": "MTG.FACT.07.09", "gist": "-"})
+o, w = run(CODE, F(x)); show("X1 index-only 미인용 id:", o)
+if w.get("routing/domain_screening.json", "").startswith("{"):
+ s = json.loads(w["routing/domain_screening.json"])["domain_screening"]
+ print(" unmatched", s["unmatched_issue_refs"], "reviews", [(r["review_code"], r.get("blocks_final_drafting")) for r in s["review_items"]][-3:])
+# X2 끝 줄바꿈이 붙은 id 를 초안 전체에서 일관되게 쓴 경우 ($ 는 끝 \n 앞에서도 맞는다)
+x = remap(d1, lambda v: v + "\n" if v == "MTG.FACT.01.01" else v)
+print(" UNIT_ID_RE.match('MTG.FACT.01.01\\n') =", bool(re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}$").match("MTG.FACT.01.01\n")))
+o, w = run(CODE, F(x)); show("X2 끝 \\n 이 붙은 unit_id:", o)
+if w.get("routing/domain_screening.json", "").startswith("{"):
+ s = json.loads(w["routing/domain_screening.json"])["domain_screening"]
+ print(" newline ids in source_document_refs:", [r for r in s["source_document_refs"] if "\n" in r])
+# X3 UNIT_ID_RE 가 허용하는 이상한 문자
+for odd in ("MTG..", "MTG./../etc/passwd", "MTG.:", "MTG.-", "MTG." + "A" * 250, "MTG." + "A" * 251, "MTG.FACT.01.01 ", "mtg.FACT.01.01", "MTG.사실.01"):
+ x = remap(d1, lambda v, odd=odd: odd if v == "MTG.FACT.01.01" else v)
+ show("X3 %-28r:" % (odd[:26] + ("…" if len(odd) > 26 else "")), run(CODE, F(x))[0])
+# X4 매우 큰 index (5,000 단위, 추가분은 모두 미인용)
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"] += [{"unit_id": "MTG.RAW.%04d" % i, "gist": "-"} for i in range(5000)]
+o, w = run(CODE, F(x)); show("X4 index 5,047개:", o)
+if w.get("routing/domain_screening.json", "").startswith("{"):
+ body = w["routing/domain_screening.json"]; s = json.loads(body)["domain_screening"]
+ print(" output bytes", len(body.encode()), "unmatched", len(s["unmatched_issue_refs"]), "UNROUTED src_refs", [len(r["source_refs"]) for r in s["review_items"] if r["review_code"] == "UNROUTED_ISSUE_REVIEW"])
+ open(sys.argv[2].replace("/Nov_26/scratchpad", "/Nov_26/scratchpad") and "/dev/null", "w")
+ open(__import__("os").environ.get("X4OUT", "/dev/null"), "w").write(body)
+# X5 index 행이 객체가 아니라 문자열인 경우
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"] = [r["unit_id"] for r in x["domain_screening_draft"]["source_unit_index"]]
+show("X5 index 행이 문자열:", run(CODE, F(x))[0])
+if ORIG: show(" 원본 코드 같은 입력:", run(ORIG, F(x))[0])
+# X6 금지 필드 + index 밖 인용 동시 (조기 반환으로 진단이 줄어드는지)
+x = copy.deepcopy(d1); x["domain_screening_draft"]["notes_kr"] = "x"; x["domain_screening_draft"]["candidates"][0]["positive_refs"].append("MTG.FACT.09.09")
+show("X6 금지필드+index밖 인용:", run(CODE, F(x))[0])
+if ORIG: show(" 원본 코드 같은 입력:", run(ORIG, F(x))[0])
+# X7 review_items 가 index 밖 id 를 인용
+x = copy.deepcopy(d1); x["domain_screening_draft"]["review_items"].append({"review_code": "UNROUTED_ISSUE_REVIEW", "severity": "review", "reason": "r", "source_refs": ["MTG.ZZZ.01"]})
+show("X7 review_items index 밖 인용:", run(CODE, F(x))[0])
+# X8 상담록 없음 (02 는 상담록을 읽기만 한다 — 존재 확인)
+f = F(d1); f.pop("client_meeting.md"); show("X8 client_meeting.md 없음:", run(CODE, f)[0])
+# X9 index 가 dict(잘못된 모양)
+x = copy.deepcopy(d1); x["domain_screening_draft"]["source_unit_index"] = {"MTG.FACT.01.01": "x"}
+show("X9 index 가 dict:", run(CODE, F(x))[0])
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv_sacb.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv_sacb.py
new file mode 100644
index 00000000..9ea3673b
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/adv_sacb.py
@@ -0,0 +1,42 @@
+# 독립검증 stage A 적대 사례. usage: python3 -I -B adv_sacb.py
+import sys, importlib.util
+spec = importlib.util.spec_from_file_location("sacb", sys.argv[1]); B = importlib.util.module_from_spec(spec); spec.loader.exec_module(B)
+def check(name, text):
+ try:
+ cm = B._build_meeting_clause_map(text)
+ except Exception as e:
+ print(name, "RAISE", type(e).__name__, str(e)[:100]); return None
+ order, by = cm["clause_order"], cm["by_clause_id"]
+ tags_ok = all(set(cm[k]) <= set(by) for k in ("current_state_clause_ids", "conflict_pattern_clause_ids", "succession_clause_ids", "mixed_contract_clause_ids"))
+ uniq = len(order) == len(set(order)) == len(by)
+ sync = all(by[c]["clause_id"] == c for c in order)
+ print(name, "clauses", len(order), "unique", uniq, "id==key", sync, "tags⊂ids", tags_ok, [c for c in order if "~" in c][:6])
+ return cm
+# M1 혼합 서식: 번호 섹션 + 자유 서술 섹션 + 세 번 반복된 번호 + 항 중복
+mixed = """【상담내용】
+1. 대여금
+가. 2020. 1. 1. 1억 원을 빌려줌
+가. 같은 날 추가로 2천만 원
+의뢰인은 이후 독촉하였으나 상대방은 연락을 피함.
+
+【사건관계인의 주장】
+상대방은 빌린 적이 없다고 한다. 증여였다고 주장한다. 번호 없는 자유 서술이다.
+
+【의뢰인의 희망사항】
+6. 원금 회수
+6. 이자 회수
+6. 가압류
+"""
+check("M1 혼합 서식", mixed)
+# M2 같은 번호 12회(접미사 ~10 이상)
+check("M2 같은 번호 12회", "【상담내용】\n" + "\n".join("1. 반복 %d" % i for i in range(12)))
+# M3 머리말(섹션 표지 전) 번호 + 같은 표지 반복 + 표지 문구 자체에 ~ 와 : 포함
+odd = "1. 머리 번호\n【상담내용】\n1. 첫째\n【상담내용】\n1. 둘째(같은 표지 다시)\n【 기타:메모~2 】\n1. 표지에 기호\n1. 표지에 기호 다시\n"
+cm = check("M3 머리말·표지 반복·기호 표지", odd)
+if cm: print(" ", cm["clause_order"])
+# M4 빈 문자열 / 공백만
+check("M4 빈 상담록", ""); check("M4 공백만", " \n\n\t\n")
+# M5 빈 맵 -> build_stage_a_context + build_source_universe_manifest 전 경로
+ctx = B.build_stage_a_context(meeting_text="자유 서술만 있는 상담록.", evidence_obj=[{"evidence_index":"E-1","document_type":"x"}], event_obj=[{"evidence_index":"E-1","event_candidates":[{"candidate_id":"EVT-001-01","meeting_clause_refs":["s01_consultation:6~2"]}]}], input_digests_sha256={}, created_at_utc="2026-11-27T00:00:00Z")
+man = B.build_source_universe_manifest(ctx, input_digests_sha256={})
+print("M5 빈 맵 전 경로: status", ctx["status"], "meeting_clause_ids", man["meeting_clause_ids"], "counts", man["counts"])
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/mydiff.py b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/mydiff.py
new file mode 100644
index 00000000..fdeebd83
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/scratchpad/verify_2nd/mydiff.py
@@ -0,0 +1,28 @@
+import sys, yaml, hashlib, ast
+def load(p): return yaml.safe_load(open(p, encoding="utf-8"))
+def leaves(o, path=()):
+ if isinstance(o, dict):
+ for k, v in o.items(): yield from leaves(v, path + (str(k),))
+ elif isinstance(o, list):
+ for i, v in enumerate(o):
+ key = v.get("task_name") or v.get("name") if isinstance(v, dict) else None
+ yield from leaves(v, path + ((key or "#%d" % i),))
+ else: yield path, o
+a = dict(leaves(load(sys.argv[1]))); b = dict(leaves(load(sys.argv[2])))
+for k in sorted(set(a) | set(b)):
+ if a.get(k, "") != b.get(k, ""):
+ v = b.get(k)
+ print(" ", "/".join(k[2:]), "| new sha", hashlib.sha256(str(v).encode()).hexdigest()[:12] if isinstance(v, str) else repr(v)[:60])
+# ast all python code blocks in new
+n = bad = 0
+def walk(o):
+ global n, bad
+ if isinstance(o, dict):
+ if o.get("language") == "python" and isinstance(o.get("code"), str):
+ n += 1
+ try: ast.parse(o["code"])
+ except SyntaxError as e: bad += 1; print("SYNTAX", e)
+ for v in o.values(): walk(v)
+ elif isinstance(o, list):
+ for v in o: walk(v)
+walk(load(sys.argv[2])); print(" leaves", len(b), "ast ok", n - bad, "/", n)
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/개정작업_보고서_1차_Fable.md b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/개정작업_보고서_1차_Fable.md
new file mode 100644
index 00000000..fca839d8
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/개정작업_보고서_1차_Fable.md
@@ -0,0 +1,196 @@
+# 개정작업 보고서 1차 — `수정방안_실패보고서_v1.md` 적용 (Fable 5.2, 2026-11-27)
+
+`TestRun/Nov_26/수정방안_실패보고서_v1.md`의 4.1·4.2·4.3과 7절 A(1~4)를 YAML과 로컬 자산에 적용했다. 서버, git, 외부 자산 저장소(`$V`)는 건드리지 않았다. 커밋하지 않았다.
+
+경로 약어
+
+- `$Y` = `…/Case_02_Comparison_Research/YAML_Prompts`
+- `$S1` = `$Y/1. Stage_1/v.8`
+- `$S` = `$Y/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts`
+- `$R` = `$S/HITL/화면연구/revised_files`, `$RS1` = `$R/1. Stage_1/v.8`, `$RS` = `$R/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts`
+- `$A` = `$Y/1. Stage_1/v.7/extension_research/Default_Agent`
+- `$V` = `/Volumes/Legal_POC_1/Liti_agent_Backend_Assets/Default_Agent`
+- `$D` = `$S/TestRun/Nov_27/scratchpad` (이번 작업 스크립트와 재생 출력)
+- `$N` = `$S/TestRun/Nov_26/scratchpad` (수정방안의 재생 스크립트·입력. 수정하지 않았다)
+
+## 1. 결과 요약
+
+- 적용한 것: 02 코드(4.1), 01 프롬프트 한 문장(4.2), stage A 모듈과 `.txt` 미러(4.3), `runtime_manifest.json` sha 2곳, manifest sha 고정값 2곳(Part 2, S2_00), 두 트리의 병합본 6개 재병합.
+- 새 값이 수정방안의 참고값과 같다. 모듈 `eeb63d3c…`, manifest `c07e6fec…`. 적용한 모듈은 `$N/sacb_fixed.py`와, manifest는 `$N/rm_candidate.json`과 바이트가 같다.
+- 실제 초안 두 개 모두 `written:true`다. N1~N4는 전과 같은 코드로 실패한다. 모듈 시험은 수정방안 6.2와 같다.
+- 병합본 6개의 파싱 차이는 의도한 잎 4개(Block에 따라 1~4개)뿐이다.
+- 하지 않은 것: `$V` 복사, 서버 배포, 커밋, 온라인 실행.
+
+## 2. 사전 확인
+
+| 확인 | 결과 |
+|---|---|
+| 병합본 6개의 머리 주석 sha와 현재 원본 sha | 모두 일치(재병합해도 다른 변경이 섞이지 않는다) |
+| 수정 전 원본으로 다시 병합한 결과 | 6개 모두 현재 파일과 바이트 동일(Liti는 후처리 뒤). 병합 명령과 후처리를 그대로 재현했다는 뜻이다 |
+| `.py`와 `.txt` 모듈 | 바이트 동일(`1943493e…`) |
+| `$V`의 두 파일 | `runtime_manifest.json` `629698ec…`, `stage_a_context_builder.txt` `1943493e…`(로컬 개정 전과 같다). `$V`에 `.py`는 없다 |
+
+Liti 병합본에는 병합 뒤 후처리(2026-11-25 모델 교체)가 있다. 머리 주석 14~19행, `llm_model` 15곳, CFG `"llm_model"` 2곳, `config_sha256` 6곳이다. `$D/postprocess_liti.py`로 다시 했다. 이 스크립트는 개수가 15·2·6이 아니면 멈춘다. S2_10은 바뀌지 않았으므로 `config_sha256` 새 값(`87acde33816a…`)은 종전과 같다.
+
+## 3. 파일 목록
+
+### 3.1 직접 고친 파일
+
+| 파일 | sha256 앞 12자 (전 → 후) | 바뀐 것 |
+|---|---|---|
+| `$S1/stage_1_part_1_v.8.yml` | `d6e5c444f958` → `2bcc8f70a17f` | 4.1, 4.2 (11,583행 → 11,511행) |
+| `$S1/stage_1_part_2_v.8.yml` | `b20ca8a07cd2` → `2cee049d3662` | 406행 `EXPECTED_RUNTIME_MANIFEST_SHA256` 값 |
+| `$S/Stage_2_S2_00.yml` | `39fe3358226b` → `495d9a6d664e` | 2429행 `SOURCE_POLICY`의 `runtime_manifest.json` sha 값(64자 중 59바이트). 버전 주석은 그대로 |
+| `$A/stage1_runtime/stage_a_context_builder.py` | `1943493e09d6` → `eeb63d3c4432` | 4.3 (`$N/builder_fix.diff`를 `patch`로 적용) |
+| `$A/stage1_runtime/stage_a_context_builder.txt` | `1943493e09d6` → `eeb63d3c4432` | `.py`를 복사. 바이트 동일 |
+| `$A/runtime_manifest.json` | `629698ec67b1` → `c07e6fec7ec4` | 1821행, 1825행 sha 2곳 |
+
+전체 sha256
+
+- 모듈: `eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1`
+- manifest: `c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c`
+
+Part 1의 변경 내용(행 번호는 개정 전 Part 1 기준. 병합본 Y행 − 34)
+
+| Part 1 행 | Y행 | 변경 |
+|---|---|---|
+| 355 | 389 | "후속 task가 같은 규칙으로 독립 재산출하여 대조한다." → "후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다." |
+| 920~923 | 954~957 | `GANADA`, `SECTION_MARKERS` 삭제. 그 자리에 `UNIT_ID_RE` 1행 |
+| 938~988 | 972~1022 | 주석 블록과 `mint_source_units` 삭제(51행) |
+| 1177~1212 | 1211~1246 | 수정방안 4.1의 18행으로 교체(들여쓰기만 Part 1에 맞춤) |
+
+적용 스크립트는 `$D/apply_part1.py`다. 구간마다 첫 줄과 끝 줄을 assert로 확인한 뒤에 바꾼다.
+
+### 3.2 다시 병합한 파일
+
+| 파일 | sha256 앞 12자 (전 → 후) | 행 수 |
+|---|---|---|
+| `$S1/Agent_Block_1.yml` | `1b9acf9f0804` → `5691286e08c9` | 23,677 → 23,605 |
+| `$S/Agent_Block_2.yml` | `dceb9739fbe8` → `4d934edb0354` | 15,504 (같음) |
+| `$S/Liti_agent_beta_v1.yml` | `6b76fb4d5d4a` → `00aa94d9f32c` | 58,856 → 58,784 |
+| `$RS1/Agent_Block_1.yml` | `efa21061b59c` → `7967153af1d6` | 23,851 → 23,779 |
+| `$RS/Agent_Block_2.yml` | `13727553c228` → `aec318db3dfb` | 15,719 (같음) |
+| `$RS/Liti_agent_beta_v1.yml` | `60b834200927` → `6004c6e99e3f` | 59,844 → 59,772 |
+
+Block_3, Block_4와 그 밖의 개별 YAML은 바꾸지 않았다. `$R`에 Part 1·2, S2_00 개별 사본은 넣지 않았다.
+
+### 3.3 보존본
+
+- YAML 9개: 위 3.1의 YAML 3개와 3.2의 6개 옆에 `…_11_27_pre_unitsrc.yml`. 각각 원본과 `cmp`로 같음을 확인하고 만들었다.
+- 자산: `$Y/1. Stage_1/v.7/extension_research/Default_Agent_11_27_pre_unitsrc/` 아래 `runtime_manifest.json`, `stage1_runtime/stage_a_context_builder.py`, `stage1_runtime/stage_a_context_builder.txt`. 선례 폴더(`Default_Agent_11_19_pre_e09/`)와 같은 배치다.
+
+## 4. 병합 명령
+
+모두 `python3.14`(PyYAML 6.0.3). 스크립트는 `$S1/merge_block1.py`, `$S/merge_agent_block.py` 그대로다.
+
+```bash
+B2N="Liti-agent_Civil_Suit_Plaintiff_Agent_Block_2"
+B2D="민사소송 원고 송무 초지능 AI변호사 - Agent Block 2 (Stage 1 Part 6 → S2_00 → S2_10 → S2_15 순차 실행)"
+LN="Liti-agent_Civil_Suit_Plaintiff_beta_v1"
+LD="민사소송 원고 송무 초지능 AI변호사 - beta v1 (Block 1~4 + S2_35 화면; Block 경계에서 화면 확인·변호사 결정 대기)"
+
+# main
+python3.14 "$S1/merge_block1.py" "$S1" "$S1/Agent_Block_1.yml"
+python3.14 "$S/merge_agent_block.py" "$S/Agent_Block_2.yml" "$B2N" "$B2D" \
+ "$S1/stage_1_part_6_v.8.yml" "$S/Stage_2_S2_00.yml" "$S/Stage_2_S2_10.yml" "$S/Stage_2_S2_15.yml"
+python3.14 "$S/merge_agent_block.py" --pause-between-files "$S/Liti_agent_beta_v1.yml" "$LN" "$LD" \
+ "$S1/Agent_Block_1.yml" "$S/Agent_Block_2.yml" "$S/Agent_Block_3.yml" "$S/Agent_Block_4.yml" "+$S/Stage_2_S2_35.yml"
+python3 -I "$D/postprocess_liti.py" "$S/Liti_agent_beta_v1.yml" "$S/Liti_agent_beta_v1_11_27_pre_unitsrc.yml"
+
+# revised_files (TMP = main Part 1~4 새 파일 + $RS1 Part 5 를 모은 임시 폴더)
+python3.14 "$S1/merge_block1.py" "$TMP" "$RS1/Agent_Block_1.yml"
+python3.14 "$S/merge_agent_block.py" "$RS/Agent_Block_2.yml" "$B2N" "$B2D" \
+ "$RS1/stage_1_part_6_v.8.yml" "$S/Stage_2_S2_00.yml" "$S/Stage_2_S2_10.yml" "$RS/Stage_2_S2_15.yml"
+python3.14 "$S/merge_agent_block.py" --pause-between-files "$RS/Liti_agent_beta_v1.yml" "$LN" "$LD" \
+ "$RS1/Agent_Block_1.yml" "$RS/Agent_Block_2.yml" "$RS/Agent_Block_3.yml" "$RS/Agent_Block_4.yml" "+$RS/Stage_2_S2_35.yml"
+python3 -I "$D/postprocess_liti.py" "$RS/Liti_agent_beta_v1.yml" "$RS/Liti_agent_beta_v1_11_27_pre_unitsrc.yml"
+```
+
+병합 스크립트는 파싱 대조가 통과해야만 파일을 쓴다. 여섯 번 모두 `wrote …`를 냈다. 머리 주석의 원본 sha는 새 원본 sha와 일치한다.
+
+## 5. 검증
+
+### 5.1 02 코드 재생
+
+- 명령: `python3.14 $D/extract_task.py Task_A0_domain_screener_02 code `로 코드를 꺼낸 뒤 `python3 -I $D/replay_a_new.py $N/inputs/meeting.md $N/inputs/_registry_index.json $N/inputs/activation_cue_digest.md $N/draft_s1.json $N/draft_s2.json $N/synth `
+- `replay_a_new.py`는 `$N/replay_a.py`의 시험 본문을 그대로 쓴다. 코드 출처만 바꿨다. 종전 스크립트는 옛 Liti의 행 번호로 패치본을 조립했고, 새 스크립트는 적용본 YAML에서 꺼낸 코드를 그대로 돌린다.
+- 꺼낸 02 코드는 Part 1, 두 Block_1, 두 Liti에서 모두 같다(631행, sha `67bdbcafcf49`). 아래 결과는 main Liti에서 꺼낸 코드로 돌린 것이다. 전체 출력은 `$D/replay_liti_out.txt`.
+
+| 재생 | 결과 |
+|---|---|
+| A1·A2 원본 코드 + 세션 1·2 초안 | `FAILED` 52건·45건 `REF_NOT_IN_SOURCE_UNIVERSE` |
+| P1 새 코드 + 세션 1 초안 | `written:true`, `READY_WITH_REVIEW`, 47 = 46 + 1(`MTG.META.01`), 후보 16 |
+| P2 새 코드 + 세션 2 초안 | `written:true`, 47 = 47 + 0, 후보 17 |
+| P3 합성 상담록 T1·T2·T3·T6 | 모두 P1과 같음 |
+| P4 전부 `MTG.RAW.*` 초안 | `written:true` (원본 코드는 138건 실패) |
+| N1 / N2 / N3 / N4 | `FAILED` `REF_NOT_IN_SOURCE_UNIVERSE` / `SOURCE_UNIT_DUPLICATE` / `SOURCE_UNIT_SET_EMPTY` / `SOURCE_UNIT_ID_INVALID` |
+| N5 | 통과, `E00_FALSE_UNROUTED_REVIEW` 추가 |
+
+- P1이 쓴 `routing/domain_screening.json`은 수정방안의 `$N/screening_a_s1.json`과 바이트가 같다.
+- 새 02 코드와 `$N/patched_02_a.py`의 차이는 빈 줄 2개뿐이다. 시제품은 Y1022(빈 줄)와 교체 블록 뒤 빈 줄을 하나씩 더 남겼다. 적용본은 수정방안 표의 행 범위(Y972~1022, Y1211~1246)를 그대로 따랐다.
+
+### 5.2 stage A 모듈
+
+- 명령: `python3 -I -B $N/run_sacb.py <모듈> $N/inputs/meeting.md $N/synth/T{1,2,3,4,5,6,7,9,10}.md`, `python3 -I -B $N/adv_test.py $N/v2 <모듈> $N/inputs/meeting.md `
+
+| 재생 | 원본 모듈(보존본) | 수정본 |
+|---|---|---|
+| S1 실패 상담록 | `RuntimeError` 중복 `s01_party_assertions:6` | 조항 37개(`s01_party_assertions:6~2` 포함) |
+| S2 T1~T7 | 7종 모두 `no numbered meeting clauses` | 조항 0개, 실패 없음 |
+| T9 / T10 | 중복으로 raise | 397개 / 4개(`…:1~2`, `…:1-가~2`) |
+| S3 빈 맵의 `build_source_universe_manifest` | - | `counts.meeting = 0`, `meeting_clause_ids = []` (`.txt` 미러를 직접 불러 실행) |
+
+### 5.3 구문·파싱·차이
+
+- 명령: `python3.14 $D/semdiff.py <보존본> <적용본>` (9개 YAML). 두 파일을 파싱해 달라진 잎을 모두 적고, 적용본의 python 코드 블록 전부를 `ast.parse` 한다.
+
+| 파일 | 달라진 잎 | `ast.parse` 통과 블록 |
+|---|---|---|
+| Part 1 | 01 `prompts/0/content`(−1/+1행), 02 `parameters/code`(703 → 631행) | 21 |
+| Part 2 | `Task_C_BO_A0_context_and_domain_slice_compiler` code(−1/+1행) | 6 |
+| S2_00 | `Task_S2_00_relationship_clusters` code(−1/+1행) | 2 |
+| Block_1 (두 트리) | 위 Part 1·2의 3개 | 35 |
+| Block_2 (두 트리) | 위 S2_00의 1개 | 13 |
+| Liti (두 트리) | 위 4개 | 78 |
+
+- 잎의 새 sha는 개별 파일과 병합본에서 같다(01 프롬프트 `439dc634ea9b`, 02 코드 `67bdbcafcf49`, BO_A0 코드 `b98ce5fa1fd2`, S2_00 코드 `77d3f577af13`).
+- 모듈 `.py`도 `ast.parse` 통과.
+- 글자 `diff`(보존본 대 적용본)의 hunk는 아래뿐이다.
+ - Block_1: 5행(머리 sha), 366행(01 문장), 931~1224행(02 코드), 11999행(Part 2 고정값).
+ - Block_2: 5행(머리 sha), 1391행(`# [2] 원본 Stage_2_S2_00.yml (sha256 …)`), 3816행(S2_00 고정값).
+ - Liti main: 9·28·34행(머리 sha), 389행, 954~1246행, 12022행, 23703·23709·25089행(Block_2 머리 주석의 sha), 27514행.
+ - Liti `$R`: 같은 꼴(뒤 4개는 23877·23883·25263·27688행).
+- Liti의 모델 교체 후처리 줄은 `diff`에 나오지 않는다(종전과 같다).
+
+### 5.4 손대지 않은 것 확인
+
+- `$V`의 두 파일 sha는 작업 뒤에도 `629698ec…`, `1943493e…`다.
+- `$RS/Liti_agent_beta_v1 copy.yml`은 그대로다(개정 전 `$RS` Liti와 같은 내용).
+- `git status`의 수정 파일은 3.1의 6개와 3.2의 6개뿐이다. 새 파일은 보존본 9개, 자산 보존 폴더, `TestRun/Nov_27/`다.
+- 다른 개별 YAML에 옛 고정값(`629698ec67b1`, `1943493e`)이나 `mint_source_units`가 남아 있지 않다(보존본 제외).
+
+## 6. `$V` 복사 명령 (제안. 실행하지 않았다)
+
+`$V`에 이미 있는 같은 이름 파일 두 개만 덮어쓴다. `.py`는 `$V`에 없으므로 만들지 않는다.
+
+```bash
+A="/Users/hogyujhang/Library/CloudStorage/Dropbox/Business/Eroom AI Partners/Legal POC portfolio/민사에이전트-사해행위취소및대여금청구/POC - Law-aid Agent/프롬프트/prompt_updates_sequential/Case_02_Comparison_Research/YAML_Prompts/1. Stage_1/v.7/extension_research/Default_Agent"
+V="/Volumes/Legal_POC_1/Liti_agent_Backend_Assets/Default_Agent"
+cp "$A/stage1_runtime/stage_a_context_builder.txt" "$V/stage1_runtime/stage_a_context_builder.txt"
+cp "$A/runtime_manifest.json" "$V/runtime_manifest.json"
+shasum -a 256 "$V/stage1_runtime/stage_a_context_builder.txt" "$V/runtime_manifest.json"
+# 기대값: eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1
+# c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c
+```
+
+서버에는 이 두 파일과 새 YAML을 같이 올려야 한다. 한쪽만 올리면 BO_A0가 manifest sha 불일치로 멈춘다(Part 2 406행).
+
+## 7. 하지 못한 것과 불확실한 것
+
+1. **온라인 미실행.** 02, D0, handoff, BO_A0와 그 뒤 stage(R0·F0·S0)가 빈 조항 맵이나 `~2` 접미사를 받는지는 오프라인 재생과 수정방안의 정적 판독뿐이다(수정방안 8절 6항).
+2. **PyYAML이 필요한 단계는 `python3 -I`로 돌리지 못했다.** `python3`(homebrew)에는 PyYAML이 없고, `python3.14 -I`는 사용자 site의 PyYAML을 못 본다. 병합, `extract_task.py`, `semdiff.py`는 `python3.14`(격리 없음)로 돌렸다. 재생과 모듈 시험, `ast.parse`, 적용 스크립트는 `python3 -I`다.
+3. **Part 1·2와 S2_00의 머리 변경 이력 주석과 version은 올리지 않았다.** 지시가 "sha 값만"이었고 가장 단순한 변경을 택했다. 이력 줄이 필요하면 추가해야 한다(추가하면 재병합이 다시 필요하다).
+4. **S2_00 고정값의 실행 영향은 확인하지 않았다.** 수정방안은 S2_00이 `runtime_manifest.json` 자체는 읽지 않는다고 판독했다(일관성용 갱신). 이 판독을 다시 검증하지는 않았다. `SOURCE_POLICY` 글 자체를 해시하는 코드는 grep으로 찾지 못했다.
+5. **`$D`의 재생 입력은 `$N`을 그대로 쓴다.** registry·사전이 배포본과 같다는 것은 수정방안의 기록에 기댄다. 재생 경고 `DIGEST_HEADER_ABSENT` 2건은 원본 코드와 새 코드에서 똑같이 나온다.
+6. **01 프롬프트의 채번 규칙 본문은 그대로다.** 354행의 `MTG.RAW` 규칙과 `SCREENING_SOURCE_UNIT_FALLBACK` 검토 코드는 남아 있다(수정방안 4.1 주석대로 허용). 02의 경고 `SCREENING_SOURCE_UNIT_FALLBACK`은 재산출과 함께 없어졌다.
+7. 수정방안 5.2(실패 시 exit 1), 강화안 (c′)는 범위 밖이라 적용하지 않았다.
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/검증기록_2차_Opus.md b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/검증기록_2차_Opus.md
new file mode 100644
index 00000000..27503653
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/검증기록_2차_Opus.md
@@ -0,0 +1,150 @@
+# 검증기록 2차 — `개정작업_보고서_1차_Fable.md` 적용 상태의 독립검증 (Opus 5.5, 2026-11-27)
+
+검증 대상은 `TestRun/Nov_26/수정방안_실패보고서_v1.md` 4.1·4.2·4.3과 7절 A를 적용한 상태다. 1차 보고서의 주장은 믿지 않고 1차 자료(파일 바이트, 파싱 결과, 재실행)로 다시 확인했다. 서버, git, `$V`는 건드리지 않았다.
+
+경로 약어: `$Y` = `…/YAML_Prompts`, `$S1` = `$Y/1. Stage_1/v.8`, `$S` = `$Y/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts`, `$R` = `$S/HITL/화면연구/revised_files`(`$RS1`, `$RS`는 그 아래 같은 꼴), `$A` = `$Y/1. Stage_1/v.7/extension_research/Default_Agent`, `$N` = `$S/TestRun/Nov_26/scratchpad`, `$W` = `$S/TestRun/Nov_27/scratchpad`. 이번 검증 스크립트는 `$W/verify_2nd/`(`adv02.py`, `adv_sacb.py`, `mydiff.py`)에 두었다.
+
+## 0. 결론
+
+- **결함 1건을 찾아 고쳤다.** 02의 `UNIT_ID_RE`가 `$`로 끝나서, 끝에 줄바꿈이 붙은 unit_id(`"MTG.FACT.01.01\n"`)를 통과시켰다. 초안이 이 값을 index와 인용에 일관되게 쓰면 02가 `written:true`를 내고, 줄바꿈이 든 id를 `source_document_refs`에 싣는다(적대 사례 X2). Python `re`의 `$`는 문자열 끝의 `\n` 앞에서도 맞는다. 개정 전에는 코드가 id를 직접 만들었으므로 생길 수 없던 경로다. `$` → `\Z` 한 글자로 고쳤고, 두 트리의 Block_1·Liti를 다시 병합했다.
+- 나머지 항목은 모두 1차 보고서의 주장대로 확인되었다. 실제 초안 s1·s2는 `written:true`다. N1~N4는 맞는 코드로 실패한다. 병합 6개는 내가 다시 병합해도 바이트가 같았다(수정 전 상태 기준). 파싱 차이는 의도한 잎뿐이다.
+- 남은 일: `$V` 두 파일 덮어쓰기(메인 몫), 서버 배포, 온라인 실행. 8절에 참고 사항을 적었다.
+
+## 1. 02 코드 변경(4.1)의 정확성 — 통과(결함 1건 수정)
+
+근거: `python3.14 $W/extract_task.py Task_A0_domain_screener_02 code `로 보존본 Liti(703행 `f375534ac3cc`)와 적용본 Liti(631행)에서 코드를 꺼내 `diff`했다.
+
+- 바뀐 곳은 계획서 4.1의 세 곳뿐이다. `GANADA`·`SECTION_MARKERS` → `UNIT_ID_RE` 1행, 주석 블록과 `mint_source_units` 삭제(51행), 재산출·대조 블록 → 18행 교체. 인용 검사, 보존 등식, 상태, 조립, 자기검증은 그대로다.
+- 지운 이름이 남았는지: 적용본 Liti 전체에서 `GANADA|SECTION_MARKERS|mint_source_units|minted|minting|독립 재산출|재산출`를 grep했다. 0건이다. 남은 것은 01 프롬프트의 `SCREENING_SOURCE_UNIT_FALLBACK` 3줄(388·432·518행)과 02의 `allowed_codes`(1253~1254행)뿐이다. 둘 다 01이 쓰는 검토 코드를 허용하는 쪽이라 재산출에 기대지 않는다.
+- `unicodedata`는 `parse_digest`가 계속 쓴다. `meeting_raw`는 읽기만 한다(계획서 4.1 "1137~1141 그대로"). `UNIT_ID_RE`에 맞는 값은 길이가 254자 이하이므로 언제나 `REF_RE`(`{0,255}`)에도 맞는다. 그래서 `self_check`의 패턴 검사와 충돌하지 않는다.
+- 사라진 검토 `E00_MEMBERSHIP_CONFLICT_REVIEW`를 읽는 하류: YAML 전체에는 02 `allowed_codes`밖에 없다. 자산에서는 `domains/E-00/gates.json`·`domain_config.json`, `routing/activation_cue_digest.md` 53행에 있다. 이곳들은 "같은 source_id가 routed와 unrouted로 동시 표지"라는 E-00 어휘 정의이고, 02가 이 코드를 내기를 기다리지 않는다. 02 출력의 모양(키, `review_items` 형식, 반환 payload 키)은 그대로다. `warnings`에서 `SCREENING_SOURCE_UNIT_FALLBACK` 한 종류가 빠졌을 뿐이며, 이 경고를 읽는 하류는 없다(grep 0건).
+- 계획서 5절의 하류 소비처를 다시 확인했다(행 번호는 적용본 main Liti 기준).
+ - 03(1800~1805행): `source_document_refs`를 `REF_RE`로 검사하고 `## SOURCE_UNITS`로 나열한다. 영향 없음.
+ - Task_A(2045·2252행): 프롬프트 규칙만 있다. 영향 없음.
+ - D0 `activation_gate.py` 1016~1046행: 집합과 분할 등식만 쓴다. `MTG.` 접두가 있어서 증거·사건 id와 `universe_kind`에서 섞이지 않는다. 고친 02 출력으로 `build_manifest`를 돌리면 `conservation_pass: true`, 47 = 46 + 1이다(`python3 -I -B $N/d0_try.py $A `).
+ - S0(18095~18108행): `all_source_refs`에 합집합으로 넣는다. 영향 없음.
+ - BO_A0 → stage A: 4.3에서 다룬다(3절).
+- **결함 D-1(수정함).** `UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}$")`의 `$`가 끝 `\n` 앞에서도 맞는다. 재생 X2(아래 6절)에서 수정 전 코드는 `written:true`를 냈고, `source_document_refs`에 `'MTG.FACT.01.01\n'`이 실렸다. 이 값은 03의 `## SOURCE_UNITS` 줄 구조를 깨고, Task_A·worker가 줄바꿈 없는 id를 인용하면 목록과 맞지 않게 된다. 02는 원천 단위 정본을 정하는 관문이므로 여기서 막는 것이 맞다. 고친 행은 `UNIT_ID_RE = re.compile(r"^MTG\.[A-Za-z0-9_.:/-]{1,250}\Z")`(Part 1 920행)이다. 인용과 검토의 ref는 모두 이 우주에 속하는지로 검사하므로 이 한 곳만 고치면 된다.
+
+## 2. 01 문장(4.2)과 "독립 재산출" 잔존 문구 — 통과
+
+- Part 1 355행 = "…후속 task는 이 목록을 원천 단위의 정본으로 쓴다. 이 목록에 없는 식별자를 인용하면 실패한다." 실제 02 동작(index 밖 인용 → `REF_NOT_IN_SOURCE_UNIVERSE`, N1·X7)과 맞다.
+- Part 1 전체에서 `독립|재산출|대조|source.unit|원천 단위`를 grep했다. 01·02·03의 프롬프트와 주석, 실행 그래프 주석(11397~11400행)에 재산출을 말하는 문구는 남아 있지 않다.
+- 참고: 01 자기점검 475행은 unit_id를 `^[A-Za-z][A-Za-z0-9_.:/-]{0,255}$`로 점검하라고 한다. 02의 `MTG.` 접두 강제보다 느슨하지만, 01 채번 규칙이 모든 id를 `MTG.*`로 정하므로 서로 어긋나지는 않는다.
+
+## 3. 모듈 변경(4.3) — 통과
+
+- `.py`와 `.txt`: `cmp`가 같다고 나왔다. 둘 다 `eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1`이다. 보존본과의 `diff`는 계획서 4.3 블록뿐이다(raise 2곳 삭제, `~n` 접미사 루프).
+- `~2` 접미사의 충돌 여부: `while cid in by_id`가 이미 쓴 id를 피해 n을 올리므로 `by_clause_id`의 키는 구조상 유일하다. 자연 id의 번호 자리는 `\d+` 또는 `\d+-[가-힣]`이라서 `~`를 만들 수 없다. 표지 문구에서 오는 section key에 `~`가 들어가도 같은 루프가 막는다. 재생 결과: M2(같은 번호 12회, `~10`·`~11` 생성), M3(표지 `【 기타:메모~2 】` 반복, 머리말 번호, 같은 표지 재등장), M1(혼합 서식)에서 모두 `unique True`, `id==key True`, 태그 목록 ⊂ 키였다.
+- 빈 맵을 받는 쪽:
+ - 모듈 안 `build_source_universe_manifest`(522~545행)는 `clause_order`를 그대로 싣는다. M5에서 `meeting_clause_ids []`, `counts.meeting 0`, `status READY`였다.
+ - `domain_slice_compiler.py`는 stage A 조항 맵을 읽지 않는다(417행은 `MC-`/`MEETING` 접두만 본다). `activation_gate`의 `meeting_clause`는 종류 이름일 뿐이다.
+ - YAML BO_A0(12507~12517행)는 맵을 만들어 그대로 쓴다. 비어 있는지 검사하는 곳은 event 맵(`PART2_EVENT_CANDIDATE_MAP_EMPTY`)뿐이다.
+ - R0(15906~15913행)는 evidence가 비었을 때만 raise한다.
+ - F0(17145~17155, 17227행)는 `if universe["source_meeting_clause_ids"] and …`로 빈 우주면 검사를 건너뛴다.
+ - S0(18085~18086행)는 세 목록이 모두 비었을 때만 raise한다.
+- runtime manifest: 보존본과의 `diff`는 1821·1825행 두 값뿐이다. 값은 위 모듈 sha와 같다. manifest의 path+sha 465행 중 로컬에 있는 188개를 모두 다시 계산했고 불일치는 0이다(277개는 로컬 `$A`에 없는 파일이라 계산 대상에서 빠졌다. 이번 변경과 무관하다). manifest 자체 sha는 `c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c`다.
+
+## 4. 고정값 — 통과(S2_00은 선언용)
+
+- Part 2 406행 `EXPECTED_RUNTIME_MANIFEST_SHA256`과 S2_00 2429행 `S1-DEPLOY-001`(`path: runtime_manifest.json`)은 모두 `c07e6fec…`이고 `sha256($A/runtime_manifest.json)`과 같다. S2_00의 보존본→적용본 변화는 이 64자 치환 1회뿐이다(`replace` 후 바이트 동일 확인).
+- **S2_00이 실행 중에 이 값을 대조하는가: 하지 않는다.** `hydrate_stage1`(2637~2671행)은 `needed` 집합에 든 파일만 해시한다. `needed`는 `domains/_registry_index.json`, `signals/signal_registry.v2.json`, `stage1_sources`의 `schema_ref` 경로, 활성 도메인 `domain_config.json`, 그리고 이 파일들의 `$ref`로 닿는 파일(`_schema_dependencies` 2556행)로 이루어진다. `$A` 전체 JSON에서 `"$ref"`가 `runtime_manifest`·`stage1_runtime_manifest`를 가리키는 곳은 0건이다. 그래서 `runtime_manifest.json` 행은 실행 중에 읽히지 않는다. 이번 갱신은 일관성용이며, 갱신하지 않았어도 실패하지 않았을 것이다. 실제로 대조하는 곳은 Part 2 BO_A0(main Liti 11950·12046행)뿐이다.
+- 옛 값이 남은 곳: `$Y` 전체에서 `629698ec67b1|1943493e09d6`를 grep했다(보존본·`TestRun`·`_archive`·`Default_Agent_1*` 폴더 제외). 남은 파일은 `$RS/Liti_agent_beta_v1 copy.yml` 하나다. 개정 전 사본으로 보이며 범위 밖이라 그대로 두었다. `$A` 안에서는 0건이다(다른 seal이나 manifest가 `runtime_manifest.json`을 해시하는 곳도 없다). 병합 스크립트 `merge_block1.py`·`merge_agent_block.py`에는 고정 sha가 없다.
+
+## 5. 병합 — 통과(D-1 수정 뒤 다시 병합)
+
+- 수정 전 상태 재현: 1차 보고서 4절 명령을 세션 scratchpad에 그대로 다시 돌렸다(`$R`은 main Part 1~4 + `$RS1` Part 5를 임시 폴더에 모아 병합). Block_1·Block_2 네 개는 바이트가 같았다(`5691286e08c9`, `4d934edb0354`, `7967153af1d6`, `aec318db3dfb`). Liti 두 개도 `$W/postprocess_liti.py`를 거친 뒤 `cmp`가 같았다. 후처리 차이를 따로 보면 모델 교체 머리 주석 6행, `llm_model` 15곳, CFG 줄 7줄(`config_sha256` 6곳, `"llm_model"` 2곳)이다. 머리 주석 14~19행은 보존본과 md5가 같다.
+- 머리 주석의 원본 sha는 각 병합본의 현재 원본 sha와 같다. 보존본 머리와 비교하면 바뀐 것은 Part 1·2(Block_1), S2_00(Block_2), Block_1·Block_2(Liti)뿐이다. Block_3 `0157f76e55ea`/`16a87e5a4f30`, Block_4 `d9017f74efe6`/`b7cf4a43658a`, S2_35 `643a060151c2`/`7b8cc3a73815`(main/`$R`)은 보존본 머리의 값과 같아 바뀌지 않았다.
+- 파싱 차이(`python3.14 $W/verify_2nd/mydiff.py <보존본> <적용본>`, 잎 전체 비교와 python 코드 블록 전체 `ast.parse`):
+
+| 파일 | 달라진 잎 | ast 통과 |
+|---|---|---|
+| Part 1 | 01 `prompts/#0/content`(`439dc634ea9b`), 02 `parameters/code`(`8ddb977a535c`) | 21/21 |
+| Part 2 | BO_A0 code(`b98ce5fa1fd2`) | 6/6 |
+| S2_00 | `Task_S2_00_relationship_clusters` code(`77d3f577af13`) | 2/2 |
+| Block_1 (두 트리) | 위 3개 | 35/35 |
+| Block_2 (두 트리) | S2_00 1개 | 13/13 |
+| Liti (두 트리) | 위 4개 | 78/78 |
+
+- D-1 수정 뒤 다시 병합한 것: main·`$R`의 Block_1과 Liti(Liti는 후처리 포함, 개수 15·2·6 확인). Block_2는 원본이 바뀌지 않아 그대로 두었다. 수정 전 병합본과의 글자 `diff`는 머리 sha 행과 `UNIT_ID_RE` 1행뿐이다. 02 코드는 Part 1, Block_1 두 개, Liti 두 개에서 모두 `8ddb977a535c`(631행)로 같다.
+
+## 6. 재생 — 통과
+
+명령: `cd $N && python3 -I $W/replay_a_new.py inputs/meeting.md inputs/_registry_index.json inputs/activation_cue_digest.md draft_s1.json draft_s2.json synth `. 입력 registry `9f177ebf8860…`와 사전 `7e98885a50e1…`는 `$A`의 배포 사본과 sha가 같다.
+
+| 재생 | 결과(고친 코드) |
+|---|---|
+| A1·A2 원본 코드 | `FAILED` 52건·45건 `REF_NOT_IN_SOURCE_UNIVERSE` |
+| P1 세션 1 초안 | `written:true`, `READY_WITH_REVIEW`, 47 = 46 + 1(`MTG.META.01`). 출력이 `$N/screening_a_s1.json`과 바이트 동일 |
+| P2 세션 2 초안 | `written:true`, 47 = 47 + 0 |
+| P3 합성 T1·T2·T3·T6 / P4 RAW 초안 | 모두 `written:true`(원본 코드는 P4에서 138건 실패) |
+| N1 / N2 / N3 / N4 | `REF_NOT_IN_SOURCE_UNIVERSE` / `SOURCE_UNIT_DUPLICATE` / `SOURCE_UNIT_SET_EMPTY` / `SOURCE_UNIT_ID_INVALID` |
+| N5 | 통과, `E00_FALSE_UNROUTED_REVIEW` 추가 |
+
+1차 작업자가 다루지 않은 적대 사례(`python3 -I $W/verify_2nd/adv02.py <02.py> $N []`):
+
+| 사례 | 수정 전(1차) | 수정 후 |
+|---|---|---|
+| X1 index에만 있고 어디에도 인용되지 않은 id | `written:true`, 미분류 2, `E00_FALSE_UNROUTED_REVIEW` 추가 | 같음(의도대로) |
+| **X2 끝 `\n`이 붙은 unit_id** | **`written:true`, `source_document_refs`에 `'MTG.FACT.01.01\n'`** | **`FAILED` `SOURCE_UNIT_ID_INVALID`** |
+| X3 `MTG..`, `MTG./../etc/passwd`, `MTG.:`, `MTG.-`, `MTG.`+250자 | 통과 | 통과(패턴이 허용하는 문자열이고 경로로 쓰이지 않는다) |
+| X3 `MTG.`+251자, 끝 공백, `mtg.`, 한글 | `SOURCE_UNIT_ID_INVALID` | 같음 |
+| X4 index 5,047개 | `written:true`, 출력 241,686 B. D0 `conservation_pass: true`(5047 = 46 + 5001) | 같음 |
+| X5 index 행이 객체가 아닌 문자열 | `SOURCE_UNIT_ID_INVALID` ×47 | 같음(01 출력 스키마는 객체를 요구한다) |
+| X6 금지 필드 + index 밖 인용 | `FORBIDDEN_FIELD_PRESENT` 1건만(원본은 REF 53건도 냄) | 같음 |
+| X7 review_items가 index 밖 id를 인용 | `REF_NOT_IN_SOURCE_UNIVERSE` | 같음 |
+| X8 상담록 없음 / X9 index가 dict | `MEETING_UNREADABLE` / `SOURCE_UNIT_ID_INVALID` | 같음 |
+
+stage A 모듈(`.txt`는 `importlib`가 확장자로 못 읽어서 바이트가 같은 `.py`로 돌렸다):
+
+- `python3 -I -B $N/run_sacb.py <모듈> inputs/meeting.md synth/T{1..7,9,10}.md`: 수정본은 실패 상담록 37개(`s01_party_assertions:6`, `…:6~2`), T1~T7 0개, T9 397개, T10 4개였고 raise는 없었다. 보존본 모듈은 같은 입력 10개를 모두 raise했다(meeting·T9·T10은 중복, T1~T7은 번호 조항 없음).
+- `python3 -I -B $N/adv_test.py $N/v2 <모듈> inputs/meeting.md `: stage A 열은 T1~T7 `OK 0`, T8 `OK 37`, T9 `OK 397`, T10 `OK 4`였다.
+- 이번 검증 사례(`python3 -I -B $W/verify_2nd/adv_sacb.py <모듈>`): M1 혼합 서식(번호 섹션 + 자유 서술 섹션 + `6.` 세 번 + 항 중복) 6개, M2 12회 반복, M3 머리말·표지 반복·기호 표지, M4 빈 문자열·공백만, M5 빈 맵으로 `build_stage_a_context` → `build_source_universe_manifest` 전 경로. 모두 실패 없이 유일성이 유지되었다. 보존본 모듈은 M1부터 raise했다.
+
+## 7. 137종 일반성 — 통과
+
+- 02 변경은 상담록 서식을 전혀 보지 않는다. 새 코드에 사건 고유 문자열은 없다(grep `정릉|사해|대여금|오칠성|나일오`: 0건). `"E-00"` 2곳은 개정 전부터 있던 미분류 잔여 도메인이다.
+- 모듈 변경에도 사건 고유 문자열이 없다. 번호 조항이 없는 상담록과 번호가 중복된 상담록 모두 서식과 무관하게 처리한다(합성 T1~T7, M1~M4).
+- 01 문장은 판단 규칙을 바꾸지 않는다.
+
+## 8. 남은 것과 참고 사항
+
+1. **남은 일:** `$V`의 `runtime_manifest.json`과 `stage1_runtime/stage_a_context_builder.txt` 덮어쓰기(메인 몫. `$V` 현재값은 `629698ec…`, `1943493e…`로 손대지 않았다), 서버 배포, 온라인 실행. 이번 수정은 YAML만 바꿨으므로 `$V`에 올릴 자산의 기대 sha는 1차 보고서 6절과 같다.
+2. 온라인에서 확인할 것(계획서 8.6과 같다): 번호 없는 상담록이면 조항 우주가 비므로, worker가 조항 id를 인용하면 R0(16114행)가 `source_refs outside Stage A universe`로 막는다. 이 경로는 원래 있던 것이고, 빈 맵에서는 worker에게 조항 id가 주어지지 않는다.
+3. `$RS/Liti_agent_beta_v1 copy.yml`에 옛 고정값이 남아 있다. 사본이라 고치지 않았다.
+4. X6: 02의 18행 블록에 있는 `if ERRORS: return None`은 앞서 쌓인 금지 필드 오류에서도 바로 돌아간다. 그래서 같은 실행의 다른 오류가 보고되지 않는다. 결과(`FAILED`)는 같고, 계획서가 정한 코드다.
+5. X4: 01이 이미 `UNROUTED_ISSUE_REVIEW`를 하나 냈으면, 02는 새 미분류 단위를 검토 항목에 따로 적지 않는다(개정 전과 같은 동작).
+6. 모양만의 문제: 02 주석의 절 번호가 "2) 단어 사전 파싱"부터 시작하고, 그 앞에 빈 줄이 3개 있다. 동작에는 영향이 없다.
+7. Part 1·2·S2_00의 머리 변경 이력과 version은 1차와 마찬가지로 올리지 않았다. D-1 수정 이력도 이 문서에만 있다.
+8. 조항 접미사가 `~10` 이상이 되면 RFC 6901 JSON pointer의 `~1` 꼴과 겹친다. Stage 2는 pointer를 만들 때 `~`를 `~0`으로 이스케이프한다(main Liti 27460행). 그래서 왕복은 맞다. 한 섹션에 같은 번호가 10번 이상 나와야 생기는 경우이며 참고로만 적는다.
+
+## 9. 결함과 수정
+
+| # | 파일 | 전 → 후 (sha256) | 내용 |
+|---|---|---|---|
+| D-1 | `$S1/stage_1_part_1_v.8.yml` 920행 | `2bcc8f70a17f5fa75feb984e0c04fc0dca0656b094d4bc21e0768124f44bafcc` → `2fe795daa51ffaabb57517bdecc8fa69713c0d2fb73179e96884cd891b9d346b` | `UNIT_ID_RE` 끝 `$` → `\Z` |
+| (재병합) | `$S1/Agent_Block_1.yml` | `5691286e08c9…` → `e1b018c1b5e9…` | D-1 반영 |
+| (재병합) | `$S/Liti_agent_beta_v1.yml` | `00aa94d9f32c…` → `f03ecc75e38e…` | D-1 반영 + 후처리 |
+| (재병합) | `$RS1/Agent_Block_1.yml` | `7967153af1d6…` → `ad44a839957a…` | D-1 반영 |
+| (재병합) | `$RS/Liti_agent_beta_v1.yml` | `6004c6e99e3f…` → `6341661a4e6b…` | D-1 반영 + 후처리 |
+
+보존본 9개(`…_11_27_pre_unitsrc.yml`)와 자산 보존 폴더는 손대지 않았다. 9개의 sha가 1차 보고서 3.1·3.2의 "전" 값과 같다는 것도 확인했다.
+
+## 10. 변경 파일 최종 sha256 (개정 전 대비 바뀐 전체)
+
+| 파일 | sha256 | 행 수 |
+|---|---|---|
+| `$S1/stage_1_part_1_v.8.yml` | `2fe795daa51ffaabb57517bdecc8fa69713c0d2fb73179e96884cd891b9d346b` | 11,511 |
+| `$S1/stage_1_part_2_v.8.yml` | `2cee049d3662c083e2859987492236c08a34359eab810f44f456f6c961e48238` | |
+| `$S/Stage_2_S2_00.yml` | `495d9a6d664e7de453c0147d251759923387b8788aa05566707cc0ed44131803` | |
+| `$S1/Agent_Block_1.yml` | `e1b018c1b5e931a0ea1cfbcf7459f140e423b024e7a0866305c0120efbc3eeab` | 23,605 |
+| `$S/Agent_Block_2.yml` | `4d934edb035430e66409a40f50945cb6ef3d35ca43fba73595eebecbe24cd4d7` | |
+| `$S/Liti_agent_beta_v1.yml` | `f03ecc75e38e83ddeebf1047be60a1dc55003564ca3b33c96cbd32d420d40a88` | 58,784 |
+| `$RS1/Agent_Block_1.yml` | `ad44a839957a0ac21ed032cf9a3253f9843f43edba429ff49557dfcdefd74159` | 23,779 |
+| `$RS/Agent_Block_2.yml` | `aec318db3dfbd4e383a2124bfc9acef85ea83b051bc5a172cf3e5305260edb99` | |
+| `$RS/Liti_agent_beta_v1.yml` | `6341661a4e6b758074b8b4cbf47478014d7a7b5f2324fd7e9e5048f0a90dd221` | 59,772 |
+| `$A/stage1_runtime/stage_a_context_builder.py` | `eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1` | |
+| `$A/stage1_runtime/stage_a_context_builder.txt` | `eeb63d3c44329f416c7e9b49984abd7a1d3358910b2a8d046e1233d4d09741b1` | |
+| `$A/runtime_manifest.json` | `c07e6fec7ec41f332fc2205899713df8db595088a95c91e74eabe890c406d07c` | |
+
+PyYAML은 `python3.14`(격리 없음)에서만 쓸 수 있었다. 병합, `extract_task.py`, `mydiff.py`는 그렇게 돌렸고, 재생·모듈 시험·D0·편집은 `python3 -I`로 돌렸다.
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/최종검증_메인.md b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/최종검증_메인.md
new file mode 100644
index 00000000..966919f2
--- /dev/null
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/Default_Agent/Stage_2_Clean/agent_scripts/TestRun/Nov_27/최종검증_메인.md
@@ -0,0 +1,51 @@
+# 최종검증 (메인) — 수정방안_실패보고서_v1 적용
+
+순서: Fable 5.2 medium 1차 개정(`개정작업_보고서_1차_Fable.md`) → Opus 5.5 high 검증·재개정(`검증기록_2차_Opus.md`) → 메인 검증·최종 저장(이 문서).
+
+## 1. 결론
+
+- 수정방안 4.1(02 코드), 4.2(01 한 문장), 4.3(stage A 조항 맵)을 적용했다. 본 트리와 `HITL/화면연구/revised_files` 트리의 Block·단일 YAML을 다시 병합했다.
+- 수정한 로컬 자산 2개를 `/Volumes/Legal_POC_1/Liti_agent_Backend_Assets/Default_Agent`의 같은 이름 파일에 덮어썼다.
+- 메인이 더 고친 것은 없다. Opus가 고친 결함 D-1(`UNIT_ID_RE`의 `$` → `\Z`)을 확인했다.
+- 서버 배포, 온라인 실행, 커밋은 하지 않았다.
+
+## 2. 최종 파일 (sha256 앞 12자)
+
+| 파일 | 개정 전 | 최종 |
+|---|---|---|
+| `1. Stage_1/v.8/stage_1_part_1_v.8.yml` | `d6e5c444f958` | `2fe795daa51f` |
+| `1. Stage_1/v.8/stage_1_part_2_v.8.yml` | `b20ca8a07cd2` | `2cee049d3662` |
+| `agent_scripts/Stage_2_S2_00.yml` | `39fe3358226b` | `495d9a6d664e` |
+| `1. Stage_1/v.8/Agent_Block_1.yml` | `1b9acf9f0804` | `e1b018c1b5e9` |
+| `agent_scripts/Agent_Block_2.yml` | `dceb9739fbe8` | `4d934edb0354` |
+| `agent_scripts/Liti_agent_beta_v1.yml` | `6b76fb4d5d4a` | `f03ecc75e38e` |
+| revised_files `Agent_Block_1.yml` | `efa21061b59c` | `ad44a839957a` |
+| revised_files `Agent_Block_2.yml` | `13727553c228` | `aec318db3dfb` |
+| revised_files `Liti_agent_beta_v1.yml` | `60b834200927` | `6341661a4e6b` |
+| 자산 `stage1_runtime/stage_a_context_builder.py`·`.txt` | `1943493e09d6` | `eeb63d3c4432` |
+| 자산 `runtime_manifest.json` | `629698ec67b1` | `c07e6fec7ec4` |
+
+- Block_3, Block_4, S2_35, 그 밖의 개별 YAML은 바뀌지 않았다.
+- 보존본: YAML 9개에 `_11_27_pre_unitsrc` 꼬리를 붙였다. 자산 원본 3개는 `1. Stage_1/v.7/extension_research/Default_Agent_11_27_pre_unitsrc/`에 있다.
+- `/Volumes`에는 `.py` 사본이 없어 `.txt`와 manifest만 덮어썼다. 덮어쓴 뒤 sha는 `eeb63d3c…`, `c07e6fec…`이다.
+
+## 3. 메인 검증
+
+| 항목 | 방법 | 결과 |
+|---|---|---|
+| 병합본 머리 sha | 병합본 6개의 머리 주석에 적힌 sha를 현재 원본 파일과 대조 | 원본 28건 모두 일치 |
+| 02 코드 동일성 | Part 1, 본 Liti, revised Liti에서 `extract_task.py`로 코드를 꺼내 sha 비교 | 셋 다 `8ddb977a535c` |
+| 02 재생 | `replay_a_new.py`(개정 전 Liti 코드 대비 최종 코드) | 원본 코드는 52·45건으로 실패. 최종 코드는 세션 1·2 모두 `written:true`(47 = 46 + 1, 47 = 47 + 0). 합성 상담록 T1·T2·T3·T6과 RAW 번호 초안도 통과. N1~N4는 맞는 코드로 실패. P1 출력은 수정방안의 `screening_a_s1.json`과 바이트가 같다. |
+| D-1 수정 | `\Z` 정규식에 4개 입력 대조 | 정상 id만 통과. 끝 줄바꿈 id, 한글 id, 소문자 접두 id는 거절 |
+| manifest 고정값 | sha256(`runtime_manifest.json`)을 YAML 문자열에서 grep | Part 2, S2_00, Block_1·2, Liti(2곳)에서 모두 `c07e6fec…` |
+| 모듈 쌍 | `cmp .py .txt`, manifest 항목 | 두 파일이 같고, 둘 다 `eeb63d3c…`로 등재됨 |
+
+## 4. 남은 일
+
+1. 서버 배포: 새 YAML(`Liti_agent_beta_v1.yml`)과 자산 2개를 같이 올린다. 한쪽만 올리면 `Task_C_BO_A0`가 manifest sha 불일치로 멈춘다.
+2. 온라인 재실행: 같은 작업실(`변시_13회_민사기록형`)에서 돌린다. 02 뒤에 가려져 있던 하류 task(03 어휘집, client_goal, D0)의 결과와, 빈 조항 맵을 받은 R0의 동작을 확인한다.
+3. 바꾸지 않은 것:
+ - 02는 앞 단계 오류(예: 금지 필드)가 있으면 원천 단위 검사 뒤 바로 끝난다. 그래서 같은 실행의 다른 오류는 보고되지 않는다. 결과는 어차피 FAILED라 그대로 두었다.
+ - version과 이력 주석은 올리지 않았다.
+ - revised_files의 `Liti_agent_beta_v1 copy.yml`은 손대지 않았다.
+4. 실행 환경: PyYAML은 `python3.14`의 사용자 site에만 있다. 그래서 병합과 파싱은 격리 없이 돌렸고, 재생과 모듈 시험은 `python3 -I`로 돌렸다.
diff --git a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/MEMORY.md b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/MEMORY.md
index 5c660e3c..d21c6d10 100644
--- a/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/MEMORY.md
+++ b/Case_02_Comparison_Research/YAML_Prompts/2. Stage_2/MEMORY.md
@@ -4,6 +4,14 @@
## How to Write MEMORY.md
+### unitsrc_fix_apply_20261127
+- 수정방안(`TestRun/Nov_26/수정방안_실패보고서_v1.md`) 4.1·4.2·4.3을 적용했다. 순서: Fable 5.2 medium 1차 → Opus 5.5 high 검증·재개정 → 메인 검증. 기록은 `agent_scripts/TestRun/Nov_27/`의 `개정작업_보고서_1차_Fable.md`, `검증기록_2차_Opus.md`, `최종검증_메인.md`이고, 스크립트는 같은 폴더 `scratchpad/`에 있다.
+ - 개별 YAML: Part 1 `2fe795daa51f`(02는 초안 `source_unit_index`를 정본으로 쓰고 `mint_source_units`를 삭제, 01 한 문장 수정). Part 2 `2cee049d3662`와 S2_00 `495d9a6d664e`는 manifest sha 고정값만 바꿨다. S2_00 고정값은 선언일 뿐이고, 실제로 대조하는 곳은 Part 2 BO_A0뿐이다.
+ - 자산: `stage_a_context_builder.py`·`.txt`는 `eeb63d3c`(조항 번호가 없어도 오류 없음, 중복 id에 `~2`). `runtime_manifest.json`은 `c07e6fec`. `/Volumes/Legal_POC_1/.../Default_Agent`에는 `.txt`와 manifest만 있어 그 둘만 덮어썼다(sandbox 밖에서 실행).
+ - 병합: 본 트리 Block_1 `e1b018c1`, Block_2 `4d934edb`, Liti `f03ecc75`. revised_files 트리 Block_1 `ad44a839`, Block_2 `aec318db`, Liti `6341661a`. revised_files에는 Part 1·2, S2_00 사본이 없어 본 트리 사본으로 병합했다. Liti는 병합 뒤 모델 교체 후처리(`postprocess_liti.py`, 15/2/6곳)를 다시 해야 한다.
+ - 보존본은 `_11_27_pre_unitsrc`(YAML 9개)와 `Default_Agent_11_27_pre_unitsrc/`(자산 3개)다. 미커밋, 서버 미배포, 온라인 미실행.
+ - 교훈: 원천 단위 id를 LLM이 만들게 되면 정규식 끝은 `\Z`로 쓴다(`$`는 끝 줄바꿈을 통과시킨다, Opus D-1). 재병합 전에 머리 sha와 현재 원본이 같은지, 개정 전 원본으로 다시 병합하면 바이트가 같은지 먼저 확인한다.
+
### free_format_meeting_fix_plan_20261127
- `agent_scripts/TestRun/Nov_26/수정방안_실패보고서_v1.md`(195행): 자유 형식 상담록에도 `Task_A0_domain_screener_02`가 실패하지 않게 고치는 방안이다. 순서: Fable 5.2 medium 1차(권고 (c) 코드 선분할) → Opus 5.5 high 검증·개정(맞음 9·틀림 8·보완 12, 권고를 (a′)로 바꿈) → 메인 재생 재확인. 미적용.
- 권고 (a′): 02가 상담록을 다시 자르지 않고 01 초안 `source_unit_index`를 원천 단위 정본으로 쓴다. Y1211~1246을 18행(`MTG.` 접두·중복·빈 목록 검사)으로 바꾸고 Y954~957·Y972~1022를 지운다. 01 Y389 한 문장은 선택이다. 재생 결과: 원본은 52·45건으로 실패, (a′)는 두 세션 모두 `written:true`, 합성 서식 4종에서도 같다. 지어낸 id(index 밖)·중복·접두 없음은 계속 실패한다.