Commit Graph
162 Commits
Author SHA1 Message Date
jhogyuandClaude Opus 5.5 b9484ce9cb feat(liti): convert R1/F1 to capture tasks and add stale-file start markers
- Part 2: R1/F1 answer in JSON; new capture tasks R1c/F1c write the files
  (fixes false-complete R1 failures in sessions 314/315).
- Part 2 R0: mark decisions, ledger, exception pack, review handoff and
  BO.json at start; write ledger last. Part 4 F0: mark bundle, pack, handoff.
- Rebuild Agent_Block_1 and Liti (d76f40c0369f), mirror to GPT folder.
- Add Nov_30_1 failure analysis, revision proposals and review reports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:10:58 +09:00
jhogyuandClaude Opus 5.5 5da734c79f feat(liti): apply Nov_29_2 revisions to Master YAML, soga assets, and GPT mirror
YAML (Master_yaml_files, Liti 297e9b7116da -> 70c343b419a3):
- Part 1: non-blocking P1CG client_goal checks in B2 gate; Task_A
  wording A/B/C for statutory counterparties; drop 28,000 B vocabulary
  budget (labels always full)
- S2_10: R4 rate rule in all four rulebook copies, config_sha256 recomputed
- S2_20: R4 phrase and R2-c late-interest form
- S2_30 (generator): R3 G5 limitation-rebuttal exception, CONFLICT_VARIANT role
- Master_yaml_files_GPT: same 9 YAML files mirrored (Liti as _gpt)

Soga assets (soga/v1, MANIFEST 67411c1e1e08):
- R2-a CONFLICT_VARIANT candidates, R5 per-pair overlap sum, R2-b
  D-BLANK-AMOUNT reduced-amount rule; golden 634/634
- rulebook v.3 synced with S2_10 rule 5

Reports: 1st-pass (Fable), 2nd verification (Opus), main final check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:05:40 +09:00
jhogyuandClaude Opus 5.5 8637be8312 docs(stage1): add proposal to remove 28,000-byte vocabulary budget in Part 1 A0_03
- 개정안_28000바이트예산삭제.md (메인 1차 → Sonnet 검증·최종) + 1차본
- MEMORY.md entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:55:50 +09:00
jhogyu ef73538bb1 docs(master): add GPT comparison workspace and Stage 1 migration strategies 2026-11-29 20:57:18 +09:00
jhogyuandClaude Opus 5.5 965146f7b5 docs(stage2): add 11-29 15th-exam run report and Task_A_client_goal prompt evaluation
- 결과보고서_11_29_7pm.md (Fable 1차 → Opus 2차 → 메인 검증) + 1차/2차본
- 프롬프트평가_Task_A_client_goal.md (Fable 1차 → Opus 2차 → 메인 검증) + 1차/2차본
- 실행사실_DB_20261129.md (DB 세션·비용 수집)
- MEMORY.md entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:43:42 +09:00
jhogyuandClaude Opus 5.5 3d31f4a7e2 feat(master): add Master_yaml_files canonical Liti workspace
Collect every component of the canonical revised Liti_agent_beta_v1.yml
(297e9b7116da) into Case_02_Comparison_Research/YAML_Prompts/Master_yaml_files:
Stage 1 parts 1-6, Stage 2 S2 YAMLs, Agent Blocks 1-4, merge/postprocess
tools, the S2_30 G4 generator, build.sh and README. build.sh verify
reproduces Blocks 1-4 and Liti byte for byte; s2_30 regenerates identically.
Also copy the 8 shared component YAMLs missing from revised_files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:55:55 +09:00
jhogyuandClaude Opus 5.5 2aec2852a8 feat(stage1-2): apply new revision strategy v1 and Imbumjun Stage 1 fixes
Stage 1
- Part 1 B2 gate: skip B1-dropped alias ordinals in evidence-reference
  check (CHECK 2) and cross-document signature dedup
- Part 5 display writer: report Part 1 BLOCKED before input checks
  (BLOCKED_UPSTREAM with hard_gate_ids), main and revised trees

Stage 2
- S2_10 7.6.10: creditor subrogation candidates, collection claims only
  against the named third debtor, plaintiff-side formation rights
  exercised by complaint service, prefer non-conflicting amount row
- S2_20 2.9.8-g3: legal note 7 (termination by complaint service, takes
  precedence over rulebook notice requirement), limitation rebuttal,
  guarantee accessoriness, computed remaining price; prepare keeps
  lawyer-screened unconditional exclusions as lawyer notes
- S2_30 1.4.7-g5 (regenerated from G4 generator): assumed debt with
  debtor request -> "jointly and severally"
- soga asset: allow SECURED_DEBT_STATED as principal basis for row 55,
  MANIFEST resealed (golden 634/634)
- Rebuilt Agent_Block_1..4 and Liti for main and revised trees
- TestRun/Nov_29_1: 1st apply report, 2nd verification, main final check

Preservation copies (*_pre_*) intentionally excluded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:18:45 +09:00
jhogyuandClaude Opus 5.5 c72c3c0cb2 docs(stage2): add bar15 answer-gap analysis and new revision strategy v1
- TestRun/Nov_28_4: compare bar15 complaints with the reference answer
  (10 claims: 2 match, 6 partial, 2 wrong/missing), trace causes
  (S2_10 rule gaps for subrogation/collection-defendant/formation rights,
  S2_20 kind-62 termination notice rule, G4 SECURED_DEBT_STATED rejection),
  and minimal fixes M1, M1-b, M3-M6
- Fable 1st draft, Opus 2nd verification, main-verified final
- MEMORY.md: session entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:03:26 +09:00
jhogyuandClaude Opus 5.5 76f3dfb0ea docs(stage2): add run reports, Stage 1 failure analysis, and terra migration strategy
- Nov_28_4: bar15 full-revision run report (1st draft + verified final),
  Stage 1 model-swap Q&A, gemini-3.8-flash -> gpt-6.1-terra migration
  strategy (1st, Fable-verified 2nd, final)
- Nov_28_med_1: Imbumjun case Stage 1 screen failure root cause
  (B2-HARD-001 false block from B1 alias drop), 1st draft + final
- MEMORY.md: session entries
- Backend raw log (.log) intentionally excluded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:41:08 +09:00
jhogyuandClaude Opus 5.5 d3a160b8eb feat(stage2): decide fraud restitution method at claim design (S2_10 7.6.9)
Apply the bar15 final strategy M1-a/b/c (S2_10 C4, filter rulebook 5.4
method criterion K1-K5, intra_scope exception), M2 (soga mismatch review
RESTITUTION_METHOD_REVIEW) and M3 (D-FRAUD-METHOD aligned). User
decisions: K5 keeps original-return primary; add Suwon district court
2018gahap17900 as a lower-court basis. Golden 634/634; merges reproduce.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:47:50 +09:00
jhogyuandClaude Opus 5.5 7461ae31cb feat(stage1-2): apply bar15 v2 and bar13 final revision strategies
Apply S15 F1-F3, F5, F5b, F4 (3), F6-F9 (1), F11 and S13 D1-D6, D8-D15
to individual YAMLs, Block 1-4 and Liti in both trees, plus soga and
rulebook 078 assets. User decisions: D12 statutory term 30 years;
F4 replaced by VALUE-only (omit restitution-in-kind row when the agent
decides value compensation). Verifier fixes: D3 cancel_limit scope,
D5 key_dates limit. Golden 628/628, merges reproduce byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:01:24 +09:00
jhogyuandClaude Opus 5.5 3dcef55f2b docs(stage2): add bar15 strategy v2 (F5 revision, F5b preserved-claim fix) and candidate-drop trace
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:37:32 +09:00
jhogyuandClaude Opus 5.5 0c7dfe9e1d docs(stage2): add bar13 final revision strategy and evaluations for run 293-296
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:28:59 +09:00
jhogyuandClaude Opus 5.5 40cf50e483 docs(stage2): add bar15 revision strategy for run 299-302 defects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:06:29 +09:00
jhogyuandClaude Opus 5.5 9d9a5b6454 docs(stage2): add bar15 P5 failure analysis and run 299-302 result report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:40:17 +09:00
jhogyuandClaude Opus 5.5 0b6e5020e7 docs(stage2): add bar13 run 293-296 result report for P1-P8 Liti
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:30:43 +09:00
jhogyuandClaude Opus 5.5 11da6d1e84 docs(stage2): record P1-P8 asset upload in MEMORY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:38:49 +09:00
jhogyuandClaude Opus 5.5 77546ce0db fix(stage1-2): apply bar13 run 289 error fixes P1-P8
Apply TestRun/Nov_27_6/오류분석및해결책_변시13.md (P8 option A):
- P1 T7 number check accepts digits from the row CU's object display
- P2 lost final judgment added as S2_20 blocker example
- P3 alt_of heading rule limited to preliminary joinder
- P4 rulebook 135: deduct full lease deposit on share disposal
- P5 S2_10 C3 wording and rulebook 006 STOP-R1 for third-party
  payment reimbursement (구상금)
- P6 preserved claim principal decided in the same soga decide packet
- P7 S2_35 report shows no-suit and draft failure reasons
- P8 Part 1 실현장애 defendant basis (three conditions), S2_00
  DQ_ANCHOR_KINDS, mandatory review note on S2_15
- Rebuild Agent_Block_1-4 and Liti for main and revised_files trees,
  reseal soga MANIFEST, rebuild rulebook index
- Nov_27_6 error analysis and run report, Nov_27_7 revision reports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:35:51 +09:00
jhogyuandClaude Opus 5.5 fd87ce7df4 fix(stage1): repair out-of-binding calculation requests in A0 screener 02
Task_A0_domain_screener_02 no longer hard-fails on CALC_NOT_IN_BINDINGS.
When a candidate requests a calculation domain outside its registry calc
list, the request is replaced with the full allowed list and a
CALC_NOT_IN_BINDINGS_REPAIRED warning is emitted. Pattern and refs checks
still fail as before.

- Rebuild Agent_Block_1 and Liti for main and revised_files trees
- Nov_27_4: S1 Part 5 client_goal failure analysis (main 1st, Opus final)
- Nov_27_5: Fable 1st revision, Opus verification, main verification
- MEMORY.md: task records

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:33:02 +09:00
jhogyuandClaude Opus 5.5 745fd1b0ce fix(stage1-2): apply bar13 evaluator-merged revision strategy across pipeline
Apply TestRun/Nov_27_3/개정전략서_for_재재개정.md (§6 per recommendations):
- A1-A6 code: G5 fact parser, S2_20 EVIDENCE_KEEP keys, S2_25 HOLD count,
  S2_15 D8 card filter, G5 evidence order, attachments/court line,
  plan_cp simple joinder when the primary claim is held or excluded
- B1 soga: client-stated market value path, share factor in fraud limit
- C1-C4: heir ranking (S2_00 7.13.1), obligor-inheritance candidate
  (S2_10 7.6.6), rulebook 019 STOP-R06
- C5-C7, C9: no scope narrowing, rulebook 096 STOP-H02, FIXED_DATE,
  085/096 doctrine additions
- D1 limitation rebuttal exception, D2 party address prefill (minimal),
  D3 superficies duration optional variable, D5 PRAYER_PLACEHOLDER
- Rebuild Agent_Block_1-4 and Liti for main and revised_files trees
- Reseal soga MANIFEST, rebuild rulebook index
- Nov_27_4 reports: Fable 1st, Opus verification, main verification

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:19:43 +09:00
jhogyuandClaude Opus 5.5 73d1aa1bed docs(stage2): add bar13 revision strategy merging evaluator findings
- Nov_27_3: revision strategy 1st (Fable), 2nd (Opus) with verification log, final for re-revision
- MEMORY.md: task record

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:09:34 +09:00
jhogyuandClaude Opus 5.5 5c1a45dd24 docs(stage2): add bar13 post-fix run report, answer-gap analysis and backend evaluations
- Nov_27_3: post-fix run result report (Fable draft + final)
- Nov_27_3: answer-gap analysis and step fixes (Fable 1st, Opus 2nd, verification log, final)
- Nov_27_3: backend evaluation reports by GPT Astra and Gemini Neon (평가서_1, 평가서_2)
- Evaluation_Rubric: Liti-agent complaint evaluation prompt v1
- MEMORY.md: task records

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:20:47 +09:00
jhogyuandClaude Opus 5.5 92ea0c52fa fix(stage1-2): apply bar13 answer-gap fixes across pipeline
Apply 변시13회_오류분석해결책_v1 (user-approved §4.4-1, §4.7, §4.9-5;
§4.3-3 excluded):
- S2_30 1.4.3-g5: verify_cp accepts cross-CU preliminary pairs by role
  (primary_of), adds JOINDER_ORDER; T6 prompt line.
- soga v1: SHARE formula, amount_kinds_by_kind (52/55), plaintiff_share
  path; resealed MANIFEST, golden 596/596.
- S2_00 7.13.0: plaintiff default from legal_entitlement_candidates,
  IC objects from control rows; S2_15 D7/D8 cards; S2_15_1 fills
  missing D7/D8 state.
- Stage 1 Part 1 Task_A prompt; S2_10 7.6.5 (C6 procedure, filter
  §4.1/§4.3/§4.5, review_requests keep, PRELIMINARY premise refs,
  continuing-performance period) with filter rulebook v.3.
- S2_20 2.9.4-g3: STOP self-decision, ③ priority, share blank.
- Rulebooks claim/019, claim/051, elements/051 (+ masters); index rebuilt.
- Re-merged Agent_Block_1..4 and Liti in main and revised trees.
- Records in TestRun/Nov_27_2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:33:20 +09:00
jhogyuandClaude Opus 5.5 1f5f3a950d docs(stage2): add bar13 run reports, answer-gap analysis and fix plan
- 실패분석_v1: 11-27 run stopped at BO_A0 PART2_RUNTIME_MANIFEST_STALE
  (new YAML, stale workspace assets); assets re-uploaded.
- 결과보고서_변시13_v1: successful rerun (367 tasks READY, $8.05),
  per-task runtime/cost, IO DAG, CP-03 verify_cp JOINDER_FORM defect.
- 변시13회_오류분석해결책_v1: answer-key comparison (오서구, 김연제,
  경진아, 구산영, plus 김삼병/지산희/강유수) with root causes and
  step-by-step fixes; Fable 1st drafts, Opus verification log.
- MEMORY.md entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:16:12 +09:00
jhogyuandClaude Opus 5.5 51422d22f1 fix(stage1): use draft source_unit_index as canonical units in A0 screener 02
Apply 수정방안_실패보고서_v1 4.1-4.3 so free-format client meetings no longer
fail stage 1:
- Part 1: Task_A0_domain_screener_02 drops the line-regex re-mint and takes
  the 01 draft source_unit_index as the unit universe (MTG. prefix, \Z anchor,
  duplicate and empty checks); one 01 prompt sentence aligned.
- stage_a_context_builder (.py/.txt): clause map tolerates no numbered clauses
  and suffixes duplicate ids (~2); runtime_manifest sha entries updated.
- Part 2 and S2_00: runtime manifest sha pin -> c07e6fec.
- Re-merged Agent_Block_1/2 and Liti_agent_beta_v1 in main and
  HITL/화면연구/revised_files trees; Liti model-swap postprocess reapplied.
- Records: TestRun/Nov_27 (Fable 1st pass, Opus verify, main final check).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 10:00:04 +09:00
jhogyuandClaude Opus 5.5 802518d7d6 docs(stage2): add beta run failure report and free-format meeting fix plan
- TestRun/Nov_26/실패보고서_v1.md: root cause of the 2026-11-26 run on
  workspace 변시_13회_민사기록형 (Task_A0_domain_screener_02 line-regex
  re-minting rejects 19 valid LLM refs; later stage errors are cascade).
- TestRun/Nov_26/수정방안_실패보고서_v1.md: format-independent fix (a')
  using the draft source_unit_index as canonical, plus the hidden
  stage_a_context_builder clause-map raise that must also be fixed.
- TestRun/Nov_26/scratchpad/: offline replay scripts, patched code,
  synthetic meetings and inputs.
- MEMORY.md: two entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:24:09 +09:00
jhogyuandClaude Opus 5.5 8315844002 docs(stage2): add backend system prompt revision strategy v1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 22:19:11 +09:00
jhogyuandClaude Opus 5.5 31b106cf66 docs(stage2): analyze backend system prompt conflicts with beta GPT-6.2-Sol prompts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 20:36:54 +09:00
jhogyu 24d63cbd9f docs(stage2): add self-contained workspace evaluation rubric v3 2026-11-26 17:32:49 +09:00
jhogyu 34d423f04c docs(stage2): add v3 complaint evaluation rubric 2026-11-26 17:30:37 +09:00
jhogyuandClaude Opus 5.5 877444a3c8 feat(hitl): screen revision strategy and v2 revised files for 4 HITL screens
- Add screen revision strategy (Fable draft -> Opus verified), its
  verification record, and the changed-file list with local/Gitea paths.
- Add revised_files/: v2 display generators and reference HTML for
  screens 1-4, reassembled Part 5/6, S2_15/15_1, S2_25/25_1, S2_35 YAMLs,
  re-merged Agent_Block_1-4 and Liti_agent_beta_v1.yml, leak checker,
  glossary, UI wording table, frontend handoff bundle, fixture tools.
- Originals are unchanged; revised files mirror YAML_Prompts/ paths.
  Reports: Fable round 1, Opus round 2, main final verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 17:28:03 +09:00
jhogyuandClaude Opus 5.5 04a73ee3f9 docs(assets): backend asset location lists (all 713, v2 read-only 636) and NAS mirror notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 17:23:41 +09:00
jhogyuandClaude Opus 5.5 207cb0435c fix(stage2): apply run 11-26 fixes (A1-A3, B1-B3, C1-C3) and align bad-faith start date to case law
- S2_00 7.12.0: build succession/alias/object tables from Stage 1 outputs at run time (no case constants)
- S2_10 7.6.4: direct/indirect possessor use-benefit as satisfaction-bundle candidate
- S2_20 2.9.2-g3: ship loan/secured components for same-object evidence, schedule rows by object tokens, reopen succession-only holds
- S2_30 1.4.2-g5: statutory appropriation table computed in code, mortgage share inherits ownership share, G5 HOLD_CU_OMITTED / PRAYER_ANNEX_DROPPED
- soga v1 assets (golden 560), rulebook 019/060: bad-faith start = service of complaint in the 본권 suit (2016다242273, 2001다6213)
- Agent_Block_2/3/4 and Liti_agent_beta_v1 re-merged; fix plan and apply summary reports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:41:14 +09:00
jhogyu b7f56ef4ac docs(stage2): add Gemini evaluation rubrics v1/v2 and Nov 22/26 run comparison reports 2026-11-26 14:55:09 +09:00
jhogyu caa8162c99 docs(stage2): add complaint rubrics and November run evaluations 2026-11-26 14:37:53 +09:00
jhogyuandClaude Opus 5.5 ea98077d65 docs(stage2): beta_v1 run report 11-26 with prayer error root-cause analysis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:19:14 +09:00
jhogyuandClaude Opus 5.5 8b0127a6fc docs(hitl): HITL screen revision research for 4 display screens
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:22:53 +09:00
jhogyuandClaude Opus 5.5 1c443ece6b fix(stage2): soga fill only rows with amount blank, T7 lists only inserted values
- soga_adapter calculate(): prayer amounts go only to rows whose draft has a
  bracketed amount blank; propagated values only within the same claim type.
  Fixes CP-01 (cancel_limit on 원물반환 row R3) dropped by T7.
- golden case A-4 (547/547), MANIFEST regenerated by build_assets.py.
- S2_30 1.4.1-g5 (generator regenerated): AGENT_AMOUNT_IN_PRAYER lists only
  values actually inserted. Re-merged Agent_Block_4 and Liti_agent_beta_v1
  (gpt-6.2-sol swap reapplied).
- Run report 11_25_7_40pm and fix plan 11_25_8_20pm, MEMORY entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:07:10 +09:00
jhogyuandClaude Opus 5.5 1e1ab71260 feat(stage2): S2_00 7.11.4 succession-unit fix, beta_v1 merge with gpt-6.2-sol, run analyses
- S2_00 7.11.4 (C3): unresolved-succession IC with 2+ plaintiff entitlement
  candidates always forms a succession unit (provisional unless confirm
  conditions hold); G1_cluster_bound reports over_bound
- Re-merge Agent_Block_2 and Liti_agent_beta_v1; beta switches GPT-6.1 Sol
  tasks to gpt-6.2-sol and recomputes S2_10 config_sha256 (6 tasks)
- merge_agent_block.py: --pause-between-files and '+' join options
- Final_TestRun docs: S2_00 fix plan, Client_Goal runtime analysis,
  S2_15_1 bind DECISIONS_MISSING analysis; All_Assets_Location docs
- MEMORY.md entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:52:42 +09:00
jhogyuandClaude Opus 5.5 dabfc191fd feat(blocks): Agent_Block_1~4 merged YAMLs, decision-set checks in Part 6 and S2_25_1
- Agent_Block_1 (Stage 1 Part 1-5), Agent_Block_2 (Part 6 -> S2_00 -> S2_10 -> S2_15),
  Agent_Block_3 (S2_15_1 -> S2_20 -> S2_25), Agent_Block_4 (S2_25_1 -> S2_30 G4_G5):
  stages chained with prevs/nexts and skip_confirm true; mergers merge_block1.py and
  merge_agent_block.py assert each merged stage equals its original.
- Part 6 T1: DECISION_SET_MISMATCH when a model decision is missing from the payload.
- S2_25_1 T1 check_state: dec/def keys limited to what the screen can produce
  (DECISION_UNKNOWN / DECISION_VALUE_INVALID). Tests 32/32 and 47/47.
- S2_20 2.9.1-g3: T0 stops with S2_15_1_NOT_READY when s2_15_feedback/status.json is not READY_FOR_S2_20.
- HITL: parent-page decision receiver flow doc (Stage 1 -> Stage 2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:34:41 +09:00
jhogyuandClaude Opus 5.5 0e8b8a19f3 chore(hitl): remove stage_1_decisions.json
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:30:27 +09:00
jhogyuandClaude Opus 5.5 88a7950af0 feat(hitl): S2_25_1 gate-1 apply job, S2_30 lawyer instructions (1.4.0-g5), S2_35 instruction display
- New Stage_2_S2_25_1.yml and generator: T1 bind, LLM interpret fan-out,
  T3 all-or-nothing apply (C-5 narrative instructions, gate2 values,
  S2_20 rerun request, name-only order_text edits)
- S2_30 G4/G5: reads C-5, LAWYER_INSTRUCTION review items, T6 [변호사 지시] rule
- S2_25 screen: title '소장 초안 - 청구취지', lead text revised
- S2_35 screen: lawyer-instruction card with T6 change records, per-instruction
  checks, stale/changed/unsent notes, binding hash check; negtests 29/29
- Link plan S2_20 -> S2_30 (sections 1-11), manuals, MEMORY

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:27:15 +09:00
jhogyu 14126a5e1a Merge branch 'stage2/s2-20-index-coverage-build' of https://git.eroomai.com/jhogyu/Liti-agent-Development into stage2/s2-20-index-coverage-build 2026-11-24 20:55:03 +09:00
jhogyuandClaude Opus 5.5 7eb6704487 feat(hitl): Stage 1 Part 6 and S2_15_1 decision hand-off, S2_20 lawyer instructions (2.9.0-g3)
- Stage 1: display generator r5 (--model, --parent-origin, stage1_decisions postMessage,
  title "사건 정보 구조화"), Part 5 rebuild, new Part 6 YAML and generator (bind -> interpret
  fan-out -> capture -> apply) with tests.
- S2_10 gate screen: title "청구권 식별", tab/columns renamed to 청구권 분류/청구묶음,
  per-claim drafting instruction box, --model/--parent-origin, stage2_10_decisions postMessage,
  storage key bound to model sha. S2_15 YAML rebuilt.
- New Stage_2_S2_15_1.yml and generator: recomputes the screen hand-off in Python, judges card
  memos with gpt-6.2-sol, writes only stage2_control/s2_20_request.json and s2_20_values.json
  (S2_00/S2_10 outputs untouched). 36 tests.
- S2_20 2.9.0-g3: I10 "instructions" key, block 3 lawyer_instructions for sent CUs,
  LAWYER_INSTRUCTION ledger rows (GRADE2). S2_10/S2_20 prompts honor lawyer-selected amounts.
- Link plans (Stage 1 -> S2_00 v2, S2_00/10 -> S2_20), manuals and MEMORY updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 20:54:36 +09:00
jhogyu cf0aae175f Merge branch 'main' into stage2/s2-20-index-coverage-build 2026-11-24 03:12:24 +00:00
jhogyuandClaude Opus 5.5 7c3b51362b feat(hitl): S2_30 final-report display, manual, and S2_35 model YAML
- stage_2_30_display_v1.py/.html: S2_30 (G4 soga + G5 complaint) final
  report screen generator with input contract, 137-type generality fixes
  (failed/skipped G5, G4 not run, filing-date blank, soga statuses,
  FX/FILING_DATE inputs, blocking review items).
- stage_2_30_display_v1_매뉴얼.md: run, integrate, and verify manual.
- stage_2_30_generator/: synthetic tests (23) and mutation tests (14).
- Stage_2_S2_35.yml: after S2_30, writes view_only/stage_2_30_model.json
  (generator model + meta). Gate on final/binding/soga status g4_run_id,
  post-build re-check, PENDING first, write verify.
- stage_2_35_generator/: assembler and harness; 26/26 stop/boundary tests,
  model identical to the generator.
- MEMORY.md: work records.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:08:25 +09:00
jhogyuandClaude Opus 5.5 7cbf01ecfa feat(hitl): Stage 2 display manuals, generator fixes, S2_15/S2_25 model YAMLs
- Manuals for the S2_00/S2_10 (stage_2_10) and S2_20 (stage_2_20) display
  generators, verified against code and downstream YAMLs.
- 2-00 generator: D4 answers keyed per claim unit, five request keys always
  written, previous request carried; value download uses the soga GIVEN shape.
- 2-20 generator: held/no-draft claims shown, complaint link names by kind,
  corporation detection, default-question detection, Python 3.9 support,
  excluded-claim labels, leaks() checks reference texts, value download per
  chosen kind, restored claims kept in cp_split, no-cp claims handled, and
  only CU-<n>/CP-<n> files read (ignores *.repair_unparsed.json).
- lawyer_items_rule: amount-token rule for grade-2 rows, ID-only file listing.
- Stage_2_S2_15.yml: writes view_only/stage_2_10_model.json after S2_10.
- Stage_2_S2_25.yml: writes view_only/stage_2_20_model.json after S2_20,
  reading Stage 1 from the S2_20 snapshot copies.
- Builders and offline test tools in HITL/stage_2_15_generator and
  HITL/stage_2_25_generator; MEMORY.md entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:59:38 +09:00
jhogyuandClaude Opus 5.5 5f640f679c feat(hitl): Stage 1 display input contract check and variable list (v1 r3-r4)
- stage_1_display_v1.py: CONTRACT (required/optional/known keys, schema refs);
  stop with file and path on a required-key violation; show keys outside the
  contract in the detail panel and a review card; --check-contract and
  --print-contract; evidence amounts reformat only plain won amounts; header
  docstring matches 5 screens and 12 inputs.
- Manual: r4 behaviour, §5.3 contract check, new options, corrected key table.
- stage_1_contract_variables.md / stage_1_decisions.json: --print-contract
  output and its JSON form.
- 결과물_변수_리스트_Stage_1_v1.md: per-file variable tables of the 12 Stage 1 outputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:08:09 +09:00
jhogyuandClaude Opus 5.5 5e8788ef01 feat(stage2): S2_20 T0 reads cu_exclude and bound_cir_sha256 (2.8.3-g3)
- T0 drops cu_exclude CUs before build_cu/group_complaints: their members
  leave relation_labels, satisfaction/cross-RC groups, holds, legality flag
  targets, cp_split, and the object-link claims used for grouping. Recorded in
  review/holds.json and prepare.json "excluded" and CU_EXCLUDED (grade 4).
  A list of CU ids is accepted; other non-dict values raise CU_EXCLUDE_INVALID.
- A preliminary CU whose primary claim was excluded gets PRIMARY_EXCLUDED
  (lawyer note, DRAFT_WITH_LAWYER_NOTE); T5 plan_cp raises the same review.
- write_items skips RC memos that point to an excluded seq and no longer
  narrows memos of an RC that lost a member to RC_SINGLE_CU.
- If bound_cir_sha256 differs from the current claim_identity_review.json,
  cu_exclude/cp_split/answers/path_hint are ignored for the run with
  REQUEST_BINDING_STALE (grade 1); the request file is not rewritten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:16:00 +09:00
jhogyuandClaude Opus 5.5 1587266880 feat(hitl): Stage 2 gate displays (S2_00/S2_10, S2_20) and lawyer-items rule
- stage_2_00_display_v1.py/.html: S2_00/S2_10 gate page (agent memo, litigation
  map, complaint composition, decision cards, review items). Writes
  bound_cir_sha256 with cu_exclude/cp_split for S2_20 T0 2.8.3.
- stage_2_20_display_v1.py/.html: S2_20 gate-1 page (memo, prayer drafts with
  value/blank evidence, element checklist, decisions, lawyer items). Writes
  the four CU keys together with bound_cir_sha256; shows claims already
  excluded with a restore toggle; releases composition approval when an
  exclusion makes the agent regroup.
- lawyer_items_rule.py: general rule (structural ledger fields only, all 137
  case kinds) choosing tab-5 lines: party/standing/succession, blocking
  signals, unknown codes, Stage 1 hard warnings as a folded card; period notes
  move to the LC-PERIOD drawer.
- stage_1_display_v1.py/.html: tab bar wraps instead of scrolling, so a
  centered overflowing bar no longer clips the first tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:31:45 +09:00