- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
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>
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>
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>
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>
- 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>
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>
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>
- 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>
- 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>
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>
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>
- 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>
- 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>
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>
- 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>
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>
- 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>
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>
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>
- 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>
- 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>
- 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>