...g")
    log(f"INPUT: {in_root}")
    log(f"OUTPUT: {out_root}")
    log(f"MODEL: {args.model} HOST: {args.host}")

    done = load_done_block_ids(jsonl_path)
    files = list(iter_files(in_root))
    total = len(files)
    processed = 0
    skipped = 0
    failed = 0

    for path in files:
        try:
            extract_text = read_text(path)
            sections = split_sections(extract_text)
     ...