Commit Graph
100 Commits
Author SHA1 Message Date
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
jhogyuandClaude Opus 5.5 cd9ecb4c9d fix(hitl): run the Stage 1 display generator outside the repo and reject a missing registry
- Build the default registry and Stage 1 YAML paths only when the script sits
  inside the repository; elsewhere --registry is required and --check-vocab
  falls back to registry-only scope with a notice
- Exit 1 with a clear stderr message when --registry has no
  */domain_config.json, instead of silently writing an HTML with raw codes
- Manual sections 2, 4, 6, 10, 11 updated to match (L1, L2 marked resolved)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:38:57 +09:00
jhogyuandClaude Opus 5.5 b25ed2d126 feat(hitl): Stage 1 result display HTML generator, output, and backend manual
- stage_1_display_v1.py: deterministic (no LLM) generator that turns Stage 1
  outputs into one self-contained HTML report with five screens (summary,
  party map, timeline, requirement status, decision requests) and a
  fact -> original record -> evidence drill-down panel
- stage_1_display_v1.html: output for workspace 11월_1일_구성
- inputs_v1/: input snapshot used to build the output (workspace layout)
- stage_1_display_v1_매뉴얼.md: integration manual for backend engineers
  (input/output contract, CLI, iframe/CSP/security, verification, known limits)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:56:28 +09:00
jhogyuandClaude Opus 5.5 389d6668db feat(stage1,stage2): apply human-lawyer-method revision 2 (G4_G5 1.3.9, soga path e, rulebooks 019/102)
Apply all 14 items of 인간변호사방식_개정방안_최종_2_v1.md, then fixes from
two independent verification passes (Fable 5.2 medium x2, high x1).

- Stage 1 Part 1: V1 rule R20 records client-statement repayments
  (PAYMENT_MADE/PAID, date role PAYMENT).
- Rulebooks: elements 019 lien-use periods (2009다40684, 2019다295278),
  claim 019 STOP-V01 rent amount and share exception, claim 102 agreed
  deposit; cleanup record and index rebuilt (019/102 and manifest only).
- soga/v1: path (e) UNLINKED_VALUE for plaintiff collateral value,
  _fraud_limit guard, own-security notes, D-FRAUD-PRESERVED sentences;
  golden 546.
- G4_G5 1.3.9-g5: one corporate-form list (CORP_WORDS), T6 joint money
  item merge, G5 formal party name, PRAYER_SURVEY_DRAWING review code.
- Full run 2026-11-22 06:54Z: 8 YAML completed, 373 tasks READY,
  $13.54; all 10 expected values match, G5 COMPLETE (NEEDS_FIX 0).
- Reports: agent_scripts/인간변호방식_최종개정작업_2_v1_보고서.md,
  TestRun/Nov_22/결과보고서_2_All_Stage_16_00pm.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:33:29 +09:00
jhogyuandClaude Opus 5.5 04dabf58ba feat(stage1,stage2): apply human-lawyer-method revision plan (S2_20 2.8.2, G4_G5 1.3.8)
Apply all 21 items of 인간변호사방식_개정방안_최종_v1.md (20 required + O-1),
then fixes from three independent verification passes.

- S2_20 2.8.2-g3: placeholder priority, [법리 보충], [금액] share blank,
  evidence components, client-statement rows, overflow and date sharing.
- G4 assets soga/v1: D-REG-SHARE appropriation, J1-RENT words, share
  multiplication, D-FRAUD-LIMIT reference date, paths (b) and (d); golden 535.
- G4_G5 1.3.8-g5: fact rank, MEANS absorption, G5 internal-token check.
- value_facts v4: gate ~~ handling, cancellation cause date (extractor const).
- Stage 1 Part 1/2: E-000 client-statement value records, O-1 prior demand.
- Report: agent_scripts/인간변호방식_최종개정작업_v1_보고서.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:08:28 +09:00
jhogyuandClaude Opus 5.5 be67cd5fba docs(stage2): human-lawyer-method revision plan for empty prayer fields
Research on why the CP-01..CP-04 complaints from run 241 left prayer
fields blank while the human lawyer filled them from the same record,
and a merged minimal revision plan:

- 인간변호사결과_불일치분석_v1.md: gap analysis for the CP-01 fraudulent
  conveyance claim
- 인간변호사방식_최소수정안_v1/v2.md: minimal fix for the 70M cancel limit
  (deduction timing, gate strikethrough, E-000 client statement, same-day
  payoff join)
- 인간변호사방식_2_최소수정안_v1.md: causes and fixes for blank fields in
  CP-01..CP-04 (placeholder priority, evidence components, client
  statement channel, share by payment appropriation, means-claim absorb)
- 인간변호사방식_3_최소수정안_v1.md: remaining limits L1..L4 (share
  multiply in calculate(), consultation channel sizing, start date, J1-RENT
  joinder words)
- 인간변호사방식_개정방안_최종_v1.md: merged final plan, 20 required items
  in two runs (S2_20 first, then Stage 1 Part 1)
- MEMORY.md: work log entries

No code, YAML or asset changes. Not run online.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:22:49 +09:00
jhogyuandClaude Opus 5.5 bd3ad603e9 docs(stage2): S2_30 1.3.5-g5 run 241 result report
Backend run analysis of session 241: verdict, IO DAG, intent check,
per-task runtime and cost, comparison with run 240.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:52:01 +09:00
jhogyuandClaude Opus 5.5 4b1cdb97ec feat(stage2): S2_30 1.3.5-g5 bring writing principles into the G5 complaint prompt
Add the complaint writing principles (agent_scripts/글쓰기규칙_소장작성규칙.md)
to the G5 writer prompt (src/p_g5_complaint.txt) at six existing slots
(E1-E6, +1,377 chars), following the design doc 글쓰기규칙도입_S2_30.md.
Principle sentences that conflict with current constraints or checks are
left out. Two independent verification rounds applied (HIGH 0).
Regenerated Stage_2_S2_30_G4_G5.yml; diff limited to header, version and
G5 prompt. Check code and other tasks unchanged. Not deployed or run online.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 22:17:59 +09:00
jhogyuandClaude Fable 5.2 b8a1ae1691 docs(stage1): Stage 1 HITL gate design (party frame review before S2_00)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 17:54:49 +09:00
jhogyuandClaude Opus 5.5 93c81ee662 docs(stage2): move HITL design docs into agent_scripts/HITL and fix links
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:56:26 +09:00
jhogyuandClaude Opus 5.5 f4567cf118 docs(stage2): S2_20 HITL gate design (two review gates before and after S2_30)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:32:22 +09:00
jhogyuandClaude Opus 5.5 872ac46766 feat(stage2): S2_30 1.3.4-g5 prayer heading order and S2_10/S2_20/S2_30 run reports
- S2_30 1.3.4-g5: T6 (draft_cp) prompt [번호와 병합 형태] gains one sentence:
  unheaded prayer items go before all headed items (primary, preliminary,
  selective). CP-01 failed the G5 PRAYER_HEADING_SCOPE check in two
  consecutive runs (11-16, 11-20). Edited in the generator source
  (src/p_draft_cp.txt, gen_yaml.py VERSION, src/header_g5.txt) and the YAML
  regenerated; the diff against the previous YAML is limited to the history
  note, the version line and that prompt line.
- Run reports for the 11-20 online runs: S2_10 (session 238), S2_20
  (session 239) and S2_30 (session 240).
- MEMORY.md entries for this work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:20:05 +09:00
jhogyuandClaude Opus 5.5 cbd0f20d5e feat(stage1,stage2): Part 2 structured output, E-09 receiver split and label rule, Part 4 F1 rule, S2_00 7.11.3
Stage 1
- Part 2: worker structured output (strict llm_json_schema v3, kv_entries
  restore in capture); manifest pin 629698ec.
- Part 3 assets: E-09 fact receiver opens transfer-cause BOs (sale, gift,
  exchange, substitution) to both E-09 general_legal_effect and X2
  asset_state; BOs whose JuristicAct.label is one of 매매/증여/교환/대물변제
  also match (exclude tokens still win, route branch unchanged).
- Part 4: X2 value requests inherited only by evidence overlap; F1 decision
  reduced to three mechanical rules on current_value_id and value_kind.
- runtime_manifest resealed (5c4ce1e8 -> 629698ec).

Stage 2
- S2_00 7.11.3: heir list falls back to legal_entitlement_candidates when
  Part 1 writes capacity_basis "불명", only if all candidates belong to one
  decedent and each IC row names that decedent; B text check covers those
  rows (부친/모친 tokens added); resolved heirs' capacity rows become
  "상속인" in the projected copy. Fixes G1_cluster_bound block (8 > 7).

Run reports for sessions 222-237 (TestRun/Nov_19) and design notes.
Backups (_pre_*) are not committed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:16:25 +09:00
jhogyuandClaude Opus 5.5 0c580c65a7 feat(stage2): S2_20 2.7.4-g3 and S2_30 1.3.3-g5 complaint grouping minimal plan
Apply items 1-11 of the CU-to-complaint grouping criteria (11-18 doc, section 4.1).

S2_20 T0 group_complaints:
- a shared object alone no longer joins RCs; it raises JOINDER_LATTER_CANDIDATE
  (§65 latter-sentence candidate), except when the S2_10 cross call did not run
  (OBJECT_LINK_CROSS_NOT_REVIEWED keeps the old join)
- NONE labels skipped; SAME_PAIR joins RCs with an overlapping plaintiff and the
  same defendant; CROSS_HOLD_SEPARATED and LABEL_JOIN_REVIEW reviews
- reviews judged on final candidates after cp_split; link_reasons on CP candidates
S2_20 T5 plan_cp: LC_PERIOD_FLAG for merged CUs with LC-PERIOD ISSUE/UNKNOWN.
S2_30 calculate court_review: JUR_PANEL, JUR_SMALL_CLAIM, JUR_APPEAL_HIGH_COURT
(sealed appeal_court), JUR_SPLIT_HINT via sealed evaluate_complaint per RC;
schema kind CHECK, numbers unchanged. Sealed assets and S2_10 unchanged.

Also adds the HITL complaint-regrouping options design note (11-19).
Two independent verification rounds; offline tests and golden 516/516 pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:09:22 +09:00
jhogyuandClaude Opus 5.5 027a531e88 docs(stage2): CU-to-complaint grouping criteria and code-only feasibility
- Add 소장작성_개별청구권묶음기준_11_18.md: which complaint grouping
  criteria (same pair, necessary/alternative coparties, section 65,
  jurisdiction and value reviews) S2_20 group_complaints can execute
  from S2_10 labels, which need legal judgment or missing data, and a
  minimal revision path. Verified twice by an independent reviewer.
- MEMORY.md entry for this work. No code or YAML change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:58:44 +09:00
jhogyuandClaude Opus 5.5 d4103e1d15 feat(stage2): S2_20 2.7.3-g3 workspace filing date and S2_30 1.3.2-g5 notice
- S2_20 T0 reads the workspace filing date ({{env.filing_date | py}},
  SKILL.md 4.1) first and writes it to stage2_control/s2_20_request.json
  (filing_reference_date, _default=null, _env). Empty keeps the KST
  run-date default; a stale workspace value is re-defaulted and a
  hand-written date is kept. Original kept as _11_18_pre_env.yml.
- S2_30 review notes: default-date line now says to enter the workspace
  filing date or the request file and rerun from S2_20; the section 4
  form line points FILING_DATE at that line. Text only; YAML
  regenerated with gen_yaml.py --g5 (byte-equal).
- MEMORY.md entries for both revisions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:51:17 +09:00
jhogyuandClaude Fable 5.2 2554da9b97 feat(stage2): S2_30 G4/G5 soga assets and fraudulent-transfer amount rules rev. 2 (stages 1-3)
Add the S2_30 static soga assets (assets_for_stage_2/soga/v1 with preserved
earlier versions), the G4 YAML generator and its generated YAMLs, and the
design/research documents for the fraudulent-transfer amount rules.

Revision 2 of the amount rules (design doc: actio_amounts_calculation/
소가관련_수정내역_11_18_17_00pm.md), applied in stages 1-3:
- stage 1: lease-deposit deduction with guards, registered debt amount of an
  ordinary mortgage as a lien-group cap, dividend-based deduction after the
  distribution-demand deadline (2024다242223), new formula FRAUD_DIVIDEND
  (2000다44348), registered debt amount as input for security-right claims
- stage 2: plaintiff's own security (OWN_SECURITY_NET, own_security), interest
  split at the fraud date, no principal fallback for the cancel limit, lawyer
  label and fixed question, priority wage claims as senior amounts only
- stage 3: marks whether the mortgagee/lessee of a deduction candidate is the
  plaintiff of that complaint (holder)
- fixes from two independent verifications, and the deposit default for a
  tenant with opposability but no fixed date (deduct when no prior right)

Golden tests 516/516, MANIFEST sealed, YAML 1.3.1-g5 regenerated from the
generator. Not deployed to the server and not run online.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:43:04 +09:00
jhogyuandClaude Fable 5.2 9b72638146 feat(stage2): S2_20 2.6.0-2.7.2-g3 (T5 plan, shared amount facts, leaf rule) with run reports and filing-value research
S2_20 (Stage_2_S2_20_G1_G2_G3.yml, 2.5.1-g3 -> 2.7.2-g3):
- 2.6.0/2.6.1: T5 plan_cp writes plan/CP-NN.json; amount table reads prayer.relief
- 2.6.2: draft/repair max_concurrency 14 -> 20
- 2.7.0: T0 shares amount FACT rows across satisfaction groups (shared_from);
  [금액] prompt rule fills a shared amount as a default with basis and question
- 2.7.1: T5 marks a principal equal to a shared amount (shared_source,
  SHARED_AMOUNT_DEFAULT review item)
- 2.7.2: [Step 1] keeps leaf_ids non-empty when a branching question is open
- preserved pre-revision copies, run reports (11-09, 11-11), 작업개요, MEMORY.md

Filing value / stamp duty (소가·인지) research for G4:
- research reports (Opus, Astra, Argon, ensemble, Fable 5.2), G4 work list,
  calculation module draft and reference materials under legal_references/

Not included: 작업_히스토리_11_07/09/11.txt (contain live tokens) and the
untracked duplicate folder "1. Stage_1/v.8 copy".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 21:56:41 +09:00
jhogyu 15c371455b Merge pull request 'feat(stage2): S2_00 7.11.x, S2_10 7.6.2, S2_20 2.5.1-g3 and run reports' (#9) from jhogyu/s2-stage2-1109 into main
Reviewed-on: #9
2026-11-09 06:20:16 +00:00
jhogyuandClaude Opus 5.5 bcc49a0495 feat(stage2): S2_00 7.11.x, S2_10 7.6.2 and S2_20 2.5.1-g3 with run reports
- S2_00 7.10.0 -> 7.11.2: inheritance unit provisional rules, client deferral
  only on negative wording, G8 as INFO, resolved-succession override of
  IC succession flags in cg_projection.
- S2_10 7.5.0 -> 7.6.2: handoff SIGNAL/FACT trim and llm_view header dedup
  (7.6.0), PARTY_ATTRIBUTION_REVIEW compares party_id (7.6.1), capture flags
  kana in claims/identity_review as NON_KOREAN_TEXT and identity_review
  rule 7 (Korean only, names as in input) (7.6.2); runtime and config
  hashes resealed.
- S2_20 2.3.0 -> 2.5.1-g3: rebinding to S2_00 7.10/S2_10 7.6, review ledger
  amount section and grade tables, packet_limit 290000, succession as
  LAWYER_NOTE, CFG prefer "speed" and NON_KOREAN_TEXT in GRADE3.
- Pre-revision YAML copies, run/result reports, consistency reports,
  runtime_evidence build folders v75/v76, S2_20 harness, MEMORY.md entries.

Not run online after S2_10 7.6.2 / S2_20 2.5.1-g3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:18:34 +09:00
jhogyu a9fcc625c8 Merge pull request 'feat(stage1): Part 4 consistency fixes P4-01..08 and Nov 5 live runs' (#8) from stage2/s2-20-index-coverage-build into main
Reviewed-on: #8
2026-11-05 10:33:36 +00:00
jhogyuandClaude Opus 5.5 6da9492ce5 feat(stage1): apply Part 4 consistency fixes P4-01..08 and record Nov 5 live runs
- Part 4 YAML: party links from value_facts, recommender label scoped by
  (domain, attached_type, bo), unique calculation request counts, BO input
  seal against Part 3 receipt, gate-without-rows review code with
  blocks_final_drafting, SG-06/SG-10 reads removed
- Part 2 YAML: projection-note handoff items use source_field; manifest pin
  updated to 9d2df172
- Runtime assets: fact_ledger_compiler, fact_ledger_policy, signal_compiler
  and resealed runtime_manifest
- Live run reports (Nov 5): Part 2 run 1, Part 3 run 5, Part 4 runs 1-2,
  all succeeded; consistency report and solutions document; backups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:29:20 +09:00
jhogyu 8935c480f8 Merge pull request 'Sync Stage 1 and Stage 2 working files (2026-09-30)' (#7) from stage1-stage2-sync-20260930 into main
Reviewed-on: #7
2026-11-05 07:01:32 +00:00
jhogyu 73d601d611 Merge pull request 'Stage 1 Part 3 L1 JEV recommender, Part 1/2 cache revisions, S2_00-S2_20 alignment' (#6) from stage2/s2-20-index-coverage-build into main
Reviewed-on: #6
2026-11-05 07:01:06 +00:00
jhogyuandClaude Opus 5.5 0ab9275770 Merge branch 'main' into stage1-stage2-sync-20260930
Resolve add/add conflicts in favor of main: the sync branch versions of the
v.8 Part 1/2/4 YAMLs and Stage 2 MEMORY/SKILL/IO docs are older snapshots
already present in main history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:59:56 +09:00
jhogyuandClaude Opus 5.5 5d9693b98d feat(stage1): add Part 3 L1 JEV recommender with glossary, 4-key relation and live apply
- Part 3 YAML: Gemini glossary task, planner state with definitions and BO
  context, JEV 4-key relation criteria (unrelated added), apply receipt v2,
  SHADOW_RUN off, SOFT target-unrelated review item; backups per revision
- p3l1 harness (src, splice, tests) and Nov_04/Nov_05 run reports and glossary
- Part 1/2 YAML revisions, strategy docs, MEMORY/SKILL updates, research sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:53:21 +09:00
jhogyuandClaude Fable 5.1 556f0b3cd9 feat(stage1): apply GPT-6.1 Sol cache optimization to Part 2 domain worker; Part 1 cache/repair revisions; S2_20 G1-G3 docs
Part 2 (stage_1_part_2_v.8.yml, 4,847 -> 5,636 lines, tasks 6 -> 9)
- Worker: llm_endpoint responses (required: completions SDK path has no `text`
  kwarg, so llm_verbosity raised before the call), expose_tools false,
  max_iterations 1, llm_result_envelope true, explicit 30m [prefix] cache.
  First user prompt is instance-invariant; instance values moved to a second
  user message <RUNTIME_PARAMETERS>. Static preflight 4 files + dynamic 2.
- New tasks: Task_C_B_domain_prewarm (no-output prefix write),
  Task_C_B_domain_load_fanout (A0 success + plan sha check; never raises,
  writes stage1_tmp/task_c_bo/fanout_blocked.json), Task_C_B_domain_capture_*
  (stores envelope JSON as-is at expected_output_path).
- A0: shared source_universe and vocabulary promoted to static files,
  per-domain worker_inputs/<id>.json; fail-closed equivalence and preflight
  size-limit checks; slice files and hashes unchanged.
- R0: PART2_FANOUT_BLOCKED_UPSTREAM / PART2_SEED_CAPTURE_FAILED; waits on
  all capture_*.
- Analysis docs: 캐시최적화_part_2_{Sonnet,Astra,Argon,앙상블_Fable}.md;
  backup stage_1_part_2_v.8_11_03_pre_cache.yml.

Part 1 (stage_1_part_1_v.8.yml): cache-boundary and repair revisions with
backups and Nov_03 test-run analysis (from parallel sessions).

Stage 2: S2_20 G1-G3 YAML/docs, 작업개요 S2_00/S2_10/S2_20, value_facts v4
tool mirrors, MEMORY.md entries.

Not yet run online; harness wiring checks pending.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 13:28:59 +09:00
jhogyuandClaude Opus 5.5 3e1072fa74 chore: add value-facts plans, roadmap and law.go.kr download notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:59:50 +09:00
jhogyuandClaude Opus 5.5 a9c948e7bb feat(stage2): align S2_00, S2_10 and S2_20 with Stage 1 and add G1-G3 strategy documents
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:59:44 +09:00
jhogyuandClaude Opus 5.5 f318f7fa7a feat(stage1): revise v.7 runtime and v.8 Part 1-4 YAMLs with strategy documents
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:59:41 +09:00
jhogyuandClaude Opus 5.5 36b470969f chore(stage2): add legal reference materials and compensation research report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:59:35 +09:00
jhogyuandClaude Opus 5.5 8a61c99c9a chore(stage1): add v.8 revision scratchpads, probes and harness outputs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:59:22 +09:00
jhogyu 06605d308c Merge pull request 'feat(skills): add lawnb-pdf-download skill' (#5) from stage2/s2-20-index-coverage-build into main
Reviewed-on: #5
2026-10-28 13:26:36 +00:00
jhogyuandClaude Sonnet 5.5 b066471945 feat(skills): add lawnb-pdf-download skill for saving LAWnB 주석서 pages as PDF
Scripts to probe a book's TOC, print each page-level item to PDF via the
print popup, verify, merge per 대항목 and clean up temp files. Invoked only
by /lawnb-pdf-download (disable-model-invocation).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:16:22 +09:00
jhogyu 6ee013d83b Merge pull request 'feat(stage2): S2_20 v.2 YAMLs (G1, G2 draft/verify, G3 CU repair) and legal reference PDFs' (#4) from stage2/s2-20-index-coverage-build into main
Reviewed-on: #4
2026-10-28 12:26:47 +00:00
jhogyuandClaude Opus 5.5 18fa95368b chore(stage2): add 주석 민법·상법 chapter PDFs to legal references
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:05:43 +09:00
jhogyuandClaude Opus 5.5 ee943358e3 feat(stage2): add S2_20 v.2 YAMLs for G1, G1+G2 and G1+G2+G3 (CU repair)
- Stage_2_S2_20_G1.yml: T0 prepare (input binding, index load, coverage, CU packets)
- Stage_2_S2_20_G1_G2.yml: CU drafting and verification (T2a/T3a/T1/T2b/T3b, gpt-6.1-sol)
- Stage_2_S2_20_G1_G2_G3.yml: CU repair loader, repair LLM and re-verification
  (T4p/T4/T3c); packet limit 260,000 chars to match the backend preflight limit
- 작업구조도설계_S2_20_v.2.md design doc, work history, previous YAML kept as outdated
- MEMORY.md entries for G2 and G3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:05:33 +09:00
jhogyu b8f3ca927c Merge pull request 'Stage2/s2 20 index coverage build' (#3) from stage2/s2-20-index-coverage-build into main
Reviewed-on: #3
2026-10-28 02:29:29 +00:00
jhogyuandClaude Opus 5.5 38c9a07a98 feat(stage2): add coverage T1/T1′/T3 to rulebook_index (rbidx/2.1.0) and build the S2_20 rulebook index
indexing_scratchpad/rulebook_index.py:
- read the S2_10 YAML (case_kind_relief_map.v1, KINDS, JOINS) without a
  YAML parser and the three class tables next to the module
- T1 relief candidates and T1′ object class spans are a build gate (no
  manifest on any gap); T3 lists paths whose 주된 주문 형태 falls outside the
  S2_10 candidates
- manifest.json gains "coverage" with input sha (S2_10 YAML, mapping,
  tables); check verifies them and B4 rebuilds manifest + coverage
- CLI: build CLAIM ELEM REC REGISTRY S2_10_YAML OUT_ROOT /
  check OUT_ROOT [REGISTRY [S2_10_YAML [CLAIM ELEM REC]]]
- B6 adds 6 T3 samples (24 in total); previous module kept as
  rulebook_index_old_v.1.py

Tables extracted verbatim from 정보묶음_일반성_확장.md: relief_invariants.json
(§4.2), object_class_spans.json (§5.2·§5.3), module_registry.json (§6.1~§6.3).

agent_scripts/rulebook_build/: 137 index entries + manifest and the 274
rulebook copies; T1 137/137, T1′ 137/137, T3 17 kinds; build and check
(B4 included) pass.

Docs: 최적색인방식구상_S2_20_Fable_v.2.md (new, §5-4 implementation),
정보묶음_일반성_확장.md §10.4, MEMORY.md entries, legal references and
working notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:25:38 +09:00
jhogyuandClaude Opus 5.5 2ac6de641d fix(rulebooks): unify joint-liability wording upstream and add freight joint-liability criteria
요건사실론 v2 (reprocessed, E1~E12 137/137):
- 관리비·진료비·청산금등·정산금: "각자" -> "공동하여" with the overlap scope;
  선급금 "연대(부진정)하여" -> "공동하여" (S2_20 W3 labels, 86그141)
- 변상금: drop table rows R-PROV013-5-06/5-19 that had no body; 분담금 §4
  header aligned to R-PROV021-4-04; 경정등기 retired ID -> description
- 운임운송대금: relation criteria (연대채무 / 부진정연대 / 독립) for
  shipper + receiving consignee (상법 §57·§141·§807①), 57① quoted verbatim,
  wording delegated to the common S2_20 rule

청구취지 appendix decisions (C1~C12 pass, assembled output byte-checked):
- 19 kinds, 51 patches for "각자" recommendations / conditional use / split
  usage, 32 "STOP-ROUTE" -> STOP-ROUTE01~04, 45 RULE-ILLEGALITY -> prose
- 운임운송대금 21 patches: Q-19 route to 전액공동 / LEAF-02 / FORM-02,
  [부담표지] for FORM-02/03/05, SRC-L09/L13 in basis columns

Previous inputs are kept under yo_work/_superseded_20261027_{gakja,unim}/ and
appx_decisions/*.dec_outdated_20261027_*.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:25:23 +09:00
jhogyuandClaude Opus 5.5 8ec843ede6 chore(stage2): remove weaviate corpus snapshot lineage and Argon index prototype
Delete the weaviate collection schema and the zero-source corpus snapshot
(corpus/, offline_build/build_corpus_snapshot.py and its .txt copy,
manifest/corpus_release.json) and drop the builder entries from
offline_build.zip. Delete the Argon v.1 prototype under
agent_scripts/rulebook_index/ and its byte-identical copy
agent_scripts/gemini_색인작업파일/.

Note: the current Stage_2_S2_20.yml, runtime/s2_20_reduce.py, deployment
binding, three manifests and two tests still reference the removed files;
stage2_release.json (sha 2363f116…) is pinned in S2_20/30/40 YAML. See
최적색인방식구상_S2_20_Fable_v.2.md §10-6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:24:34 +09:00
jhogyuandClaude Opus 5.5 2fff7917cf feat(stage2): add 요건사실론 cleanup outputs for all 137 docs and fix two v2 sources
- yo_clean.py (inv/build/check), judge decisions, work files and
  filtered_정리/ + filtered_정리_기록/ outputs for 137 documents
  (E1-E12 137/137 pass)
- 임대료청구 v2: correct source reference (§11.2 -> 4.4 '중복·이중회복 금지')
- 선급금선수금청구 v2: replace "각자" guidance with "연대하여"/"연대(부진정)하여"
- superseded outputs kept in yo_work/_superseded_20261027/
- 실행본 prompt drafts, Astra review notes, legal reference PDFs, MEMORY entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 19:59:22 +09:00
jhogyuandClaude Opus 5.5 1d00e627ea chore(stage2): add S2_20 index research notes, legal references and working files
- agent_scripts: index design drafts (Argon/Astra/Opus), legal_references,
  rulebook_index, gemini/astra research folders, 10-26 work history
- Remove superseded 10-21 work history file
- Mask law.go.kr OC values in reference URLs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 11:40:43 +09:00
jhogyuandClaude Opus 5.5 4bee20a5eb feat(appendix): apply decision-record fixes for 4 rule docs and add C12 record_ids check
- appx_clean.py: accept numbered-heading ID definitions (R_DEF_NUM), add
  record_ids exemption with C12 guard, OLD_WORDING_ROW flag
- Apply revised decisions for 4 docs (old ones kept as dec_outdated), rebuild
  outputs, update _요약.md rows
- _new folder: 137-doc rebuild, item probe, 판단기록_수정.md
- Sync prompt §5-1 ID regex and appx_brief.md b2 with script R_ID
- MEMORY.md entries for 10-27 work

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 11:40:15 +09:00
jhogyuandClaude Opus 5.5 96e5772435 docs(stage2): record S2_20 DAG v.1 Q&A findings and add working notes
- MEMORY.md: new 2026-10-22 entry (S2_20_dag_v1_qa_20261022) with four
  design gaps in the task DAG v.1 (index cache path, information
  sufficiency check, filing-fee rule table, static prompt sets), statutes
  and precedent 2007마515 verified on law.go.kr, and unverified sources
- agent_scripts: Q&A tracking notes and revision prep notes for the
  S2_20 task DAG v.1, updated 10-21 work history
- remove stray firebase-debug.log

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:25:24 +09:00
jhogyuandClaude Fable 5.1 d9441755d2 chore(stage2): add remaining S2_20 working files, 실무제요 PDF reference and SKILL.md updates
- SKILL.md (root, Case_02, 2. Stage_2): user edits to skill instructions
- agent_scripts: OUTSOURCING_SKILL.md, S2_20 research/brainstorming notes, 작업_히스토리_10_21.txt, 보고서_IO_구조_S2_00_10_both.md, 청구취지작성예시_Stage_2_S2_20_배상금청구.yml, 법원실무제요_민사소송_3권_합본.pdf (cited by the S2_20 design documents), a stale copy of 작업구조도설계_S2_20_v.1.md
- plans/s2_20_information_bundle_astra_20261019.md
- secret scan of all text files: 0 hits

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-21 19:54:20 +09:00
jhogyuandClaude Fable 5.1 56a9d8be9b docs(stage2): add S2_20 task DAG design v.1, bundle generality extension and 10-21 work summary
- 작업구조도설계_S2_20_v.1.md: CU-parallel drafting + CP merge + chained code verification, two independent verification rounds (27 findings) applied
- 정보묶음_일반성_확장.md: G1-G4 devices generalising the S2_20 bundle to all 137 case kinds
- 최적정보묶음_for_S2_20_{Opus,Argon,Astra,v.2_Fable}.md: bundle design lineage the above documents build on
- 10_21_작업내역_요약.md and MEMORY.md entries for the 10-20/10-21 work

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-21 18:00:31 +09:00
jhogyuandClaude Opus 5.5 09c9f17d62 feat(stage2): S2_10 7.3.3 raises RC split and cross limits to 210k with live run evidence
- Stage_2_S2_10.yml 7.3.3: RC split limit (planning_file_chars cap and default)
  and filter.max_packet_chars 190,000 -> 210,000 chars, matching the backend
  preflight per-file cap of 240,000. Rebuilt with assemble.py; 7.3.2 kept as
  Stage_2_S2_10_10_19.yml.
- Live run 2026-10-19: COMPLETE_WITH_REVIEW in 416.9 s (7.3.2: 787.4 s),
  RC-02 ran as a single 191,002-char call with no reconcile chain.
- Add run report 실행보고서_Stage_2_S2_10_10월_19일.md, build sources and
  run evidence (token scan 0 hits), MEMORY entries, and pending work notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 16:35:36 +09:00
jhogyuandClaude Opus 5.5 728498b445 docs(stage2): restore non-secret repository URL in work history notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:09:25 +09:00
jhogyuandClaude Opus 5.5 da0088a65b docs(stage2): add work history notes with tokens redacted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:01:58 +09:00
jhogyuandClaude Opus 5.5 36d676d8e3 feat(stage2): S2_00 v7.7 and S2_10 7.3.x revisions with live run evidence
- Stage_2_S2_00.yml v7.7 (deterministic, root s2_00/v7_7) online run + evidence
- Stage_2_S2_10.yml 7.3.0 -> 7.3.1 (upstream v7_7 rebind) -> 7.3.2
  (reconcile prompt KEPT/REVIEW rule); 7.3.2 online run COMPLETE_WITH_REVIEW
- Backups _10_18_2pm/7pm/8pm, run reports (10월_18일, v.2, v.3)
- runtime_evidence for S2_00 v77 and S2_10 v73 (V0~V3, R4, R10, R731, R732, builds)
- Claim filtering / identity ensemble research notes, reports, plans
- MEMORY.md entries for 10-18 work

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 21:58:13 +09:00
jhogyu 30e06d9b01 docs(stage2): add S2_10 YAML analysis v1 and revised Argon ensemble claim filtering criteria 2026-10-15 15:03:59 +09:00
jhogyu 6215fb697d docs(stage2): record S2_10 v6 results and claim filtering criteria 2026-10-14 16:52:49 +09:00
jhogyu 9219a15bc3 fix(stage2): overwrite S2_10 outputs on rerun
Use the unversioned S2_10 output root and clear its subtree before
new runs, including older version directories. Preserve prepared-plan
continuation and existing inference behavior.

Record the v5 EXISTING_OUTPUT failure and its execution evidence.
Validate reset behavior with 9 checks and 19 native regression tests.
2026-10-14 14:09:27 +09:00
jhogyu 08e9006fba fix(stage2): use native S2_10 reconciliation chains 2026-10-14 12:01:33 +09:00
jhogyu 9334b2e321 docs(stage2): record S2_10 backend findings 2026-10-13 21:55:08 +09:00
jhogyu 1018de9e45 fix(stage2): connect S2_10 preparation and execution
Handle MCP failure envelopes and upstream character-count contracts.
Add prepare-only and evidence-bound execution modes, correct limit
diagnostics, and move new runs to v13 while preserving snapshots.

Include backend execution reports, runtime evidence, regression tests,
and Stage 2 memory updates. Offline validation: 109 tests passed.
Actual backend capability checks and initial token counts remain required.
2026-10-13 17:14:51 +09:00
jhogyu 0c2a8362a5 docs: update agent guides and S2_10 work records
Expand the project YAML/API/cache guidance, remove the Stage 2 guide,
and update the work history and evaluation PDF.

Redact two plaintext authentication tokens from the new history file.
2026-10-13 15:35:37 +09:00
jhogyu 09f95ec806 feat(stage2): rebuild S2_10 with internal reconciliation
Rebuild the claim-identification workflow and perform reconciliation
inside coverage using identical count/generation inputs, reserved output
capacity, and staged source processing with candidate provenance.

Include preserved YAML versions, strategy and evaluation documents,
relief/cache research, task analyses, tests, and work records.

Validation artifacts record 21 offline coverage checks and 25 analysis
consistency checks. No live provider execution or deployment.
2026-10-13 15:28:20 +09:00
jhogyuandClaude Fable 5.1 5f9853e44b chore: snapshot of work since 2026-10-05 (Stage 1 v.8, S2_00 v7.4/v7.5 handoff, S2_10 rewrite research v.2, 청구취지·요건사실 corpora)
Case_02_Comparison_Research
- Stage 1 v.8: Part 1~4 YAMLs with R1~R3 patches, F-1/F-2 fixes, 피고과식별방지 prompt
  (defendant_qualification), dated backups, 실행검사/실패분석 reports
- Stage 2 S2_00: v7.4 handoff (Task_S2_00_handoff, 경량화 전략서 + §2 개정) and
  v7.5 defendant qualification gate (피고관련작업_개정_S2_00.md), copies v.7/v.10/v.11,
  dated backups, 실행보고서/실패분석/결과물 리스트
- Stage 2 S2_10: v6/v7/v8 failure analyses, 재작성전략 10_06/10_08, case_kind_registry.json,
  연구조사보고서_S2_10_재작성용.md (v.1), _추가.md (multi-claim methodology) and
  merged _v.2.md (claims[] 1~4, join PRELIMINARY/SELECTIVE/INDEPENDENT, V1~V6),
  S2_10_Test run outputs, 실행검사 v.10/v.11
- Stage_2 MEMORY.md / CLAUDE.md / work-history notes, AGENTS.md and README_KO.md updates

Other corpora and tooling
- Default_Agent_청구취지기재방법: 청구취지 규칙문서 전체 모음(원문·사건종류별·raw) and tmp drafts
- 요건사실론: 사건종류별 문서(raw·filtered), plans, rf_draft
- 판례모음, STT_앱구성_연구, API Crowdness 조사, update_numbers.py

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 13:02:13 +09:00
jhogyuandClaude Fable 5.1 4d8c23863f docs(stage2): S2_10 v5/v6 analyses, strategy v.5 and backups from 2026-10-05 session
Add the S2_10 failure analyses (v4 gate stop, Gitea AuthGate 401, v6 slot
delivery and localdocs cache poisoning), the SKILL.md/gpt compatibility
report, the provider budget and reasoning check, revision strategy v.5,
the v4 and v5.0.0 YAML backups, and the Stage 2 MEMORY entries.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 22:22:25 +09:00
jhogyuandClaude Fable 5.1 7551764b98 chore(stage2): S2_10 v5.0.1 — set runtime flags True (v.6 copy)
Flip RUNTIME_VERIFIED to True in both code blocks on the user's instruction
to treat the seven probe premises as resolved; metadata records that no
canary run id exists. Fingerprint constants unchanged from 5.0.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 20:09:44 +09:00
jhogyuandClaude Fable 5.1 ab448fbf23 feat(stage2): S2_10 v5 — task_procedure fan-out with per-slot preflight
Replace the S2_10 map_reduce stage with load_fanout -> assess_bundle_* ->
capture_bundle_{same_ordinal} -> reducer so each LLM instance receives its
slot through preflight_files. Merge output and reasoning reserves into
max_output_tokens 128000, move the three runtime flags out of the input
fingerprint, and publish to the s2_10/v5 root. Flags stay False until the
canary probe.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 19:38:28 +09:00
jhogyu f417469289 feat(stage2): implement S2_10 provisional bundle workflow
Apply the v4-1 strategy with reversible source bundles, bundle-level legal assessment, bounded reassessment and structural repair, and validated claim-record publication.

Preserve the original YAML backup and v4 copy. Add v3/v4 strategies, the simplicity evaluation, v4-1 strategy, v4 analysis, and S2_10 memory notes.

Validation: offline implementation records and current source/schema/artifact checks. Live runtime, legal quality, and downstream readiness remain pending.
2026-10-04 23:32:05 +09:00
jhogyu b85b120722 docs(stage2): plan efficient S2_10 wave processing 2026-10-04 19:19:26 +09:00
jhogyu 23f5134e89 fix(stage2): validate direct S2_00 ingress
Correct Localdocs error handling and Stage 1 source adapters while preserving direct root handoff and status-last publication. Include version backups, v4-v6 copies, the v6 analysis, and execution notes.

Validation: v6 previously passed 58 regressions and a live workspace run with exit code 0 and READY_WITH_ISSUES. Confirmed staged source hashes, backup identity, Python syntax, and diff whitespace before commit.
2026-10-02 15:36:23 +09:00
jhogyu 234b65d7c7 feat(stage2): use direct Stage 1 handoff in S2_00 v3 2026-10-02 14:06:31 +09:00
jhogyu 546bad4d4d feat(stage2): prepare S2_00 request before ingress
Add the fixed six-field request writer and two-task S2_00 projection. Refresh bound release metadata, regression coverage, and the S2_00 analysis; backend argument binding and live admission remain pending.
2026-10-01 16:51:57 +09:00
jhogyu 348413044b chore: sync Stage 1 and Stage 2 working files
Include only YAML_Prompts/1. Stage_1 and YAML_Prompts/2. Stage_2.
2026-09-30 20:13:00 +09:00
jhogyu 48fd0435a8 docs: record S2_00 IO analysis and request preparation plans 2026-09-30 20:07:39 +09:00
jhogyu 112be9ed57 docs(stage2): analyze five deployed YAML workflows 2026-09-09 14:05:15 +09:00
jhogyu f4aece497a feat(stage2): implement S2_40 finalizer
Add deterministic validation, closed rendering, review resume, and content-addressed commit while keeping live and legal admission pending.
2026-09-01 15:30:59 +09:00
jhogyu 527604d42f feat(stage2): implement S2_30 drafting
Add release-bound claim-group drafting and reseal the shared P00, executor admission, and S2_00-S2_20 hash chain.
2026-08-31 17:39:19 +09:00
jhogyu daab564e81 feat(stage2): implement S2_20 relief planner
- add one inline deterministic MCP task and sealed planning assets
- reseal S2_00/S2_10 release hashes for the S2_20 handoff
- keep live and legal admission explicitly pending
2026-08-31 14:02:15 +09:00
jhogyu 978e6a6b72 feat(stage2): integrate hybrid S2_10
Bind structured S2_00 handoff to the inline-prompt S2_10 Agent and reseal the parent-child release chain.
2026-08-31 01:11:40 +09:00
jhogyu 1b7d2d3a09 feat(stage2): run S2_00 through inline MCP
Replace the unresolved host-loader invocation with one hash-bound Code Executor task so deterministic ingress has a concrete Agent execution path.\n\nBREAKING CHANGE: S2_00 no longer invokes stage2_loader.py. The legacy loader binding is reference-only and cannot authorize or provide fallback.
2026-08-30 16:37:43 +09:00
jhogyu 388a6c0179 feat(stage2): add S2_00 AgentBackend spec
Keep the adapter non-executable until the native loader primitive and signed runtime admission contracts are bound.
2026-08-30 03:05:06 +09:00
jhogyu 0ac7223790 feat(stage2): implement S2_00 asset package
Add the 141-file deterministic ingress package, implementation plan, and scoped project memory record. Keep runtime admission disabled until pending bindings, signatures, authority data, Stage 1 seals, and legal review are complete.
2026-08-30 01:32:29 +09:00
jhogyu decd3280bc docs(stage2): add S2_00 asset inventory 2026-08-29 23:42:51 +09:00
jhogyu fef75bd30d docs(stage2): finalize v4 strategy and assets
Preserve v3 contracts while integrating accepted audit findings. Document version-free runtime assets and independent verification evidence.
2026-08-28 17:08:03 +09:00
jhogyuandClaude Fable 5 e35d979bb3 docs(stage2): v.3 전략 엄격 검증 eval 보고서 + 검증 원장 + MEMORY
- eval_stage_2_optimal_update_strategy_v.3.md: 8차원 finder·refuter Workflow(176 sub-agent)와
  3-lens 독립 감사 2회로 v.3(sha fd2b39fb…)를 검증. 판정 CRITICAL 2·MAJOR 22·MINOR 36.
  v2-1 대비 LOST 15건(유류분 전환 계약·137 catalog blueprint·freshness·사죄광고 금지 등)과
  소장 작성층 신규 결함(cause-atom provenance, 갑 호증, 동시이행, 필수적 공동소송 등) 기록.
  법률 인용 20건 law.go.kr/scourt 직접 확인, 민법_지원림.pdf 쪽 단위 대조.
- evals/stage2_v3/eval_v3_verification_ledger.md: finder/refuter/critic 원장, 감사 1·2차,
  clean-slate 식별자 61종 부록.
- 2. Stage_2/MEMORY.md: 세션 요약·교훈 추가.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 09:07:11 +09:00