[PR #14] How I Read 500 Files from an Old Project
- What changed: The full material of the old project folder (2022–2023) was read, and the facts found for each milestone, their sources, and their impact were organized into one document.
- Decision: Reading depth was split into four levels: read closely, read only the final version, search only, or do not read. Documents with personal data were read only for context, and names, contacts, and amounts were not copied.
- Still unknown: Some old material was not read closely and will be read again when needed.
This is the record of a PR that read all the materials of an old project, found the information each milestone needs, and saved it as one document. No code changed; only the analysis document and this PR’s work log went in.
What I did and why
- I asked Claude to look through the whole old project folder (2022 to 2023) and find the information each milestone needs. In the earlier PRs #11 and #13, only part of this folder had been read.
- This time Claude went through all of it and wrote up, by milestone, “what was found / source / effect on this plan” in one document,
옛-프로젝트-자료-분석.md. - What Claude and I decided first:
- The reading depth is divided. Read closely, read only the last version, search only, or do not read.
- Documents with personal information are also read to understand the context, but personal names, contact details, amounts and secret values are not copied into the document.
- Hangul (HWP) documents are read with a short script instead of an external tool.
- If the shared drive is slow, files are copied to a temporary folder and processed there.
The options I chose and the ones I dropped
- An MCP that reads HWP (a way of attaching external tools to Claude) was not installed. Claude found and compared candidates, but they were new packages from 2026 with no link to a source repository. They would have required running outside code and changing Claude’s settings, so I chose the “own script” route. Only olefile (a Python library that reads old Hangul document files) was installed in the session’s temporary folder, so the system Python was left alone.
- Reading straight from the shared drive was changed to copying. Reading directly managed only 52 files in a few minutes. After copying 501 documents (about 1 GB) to a temporary folder in 29 seconds with robocopy (a Windows file-copy tool), the text was extracted.
- Duplicate copies of the same document were filtered out. The same documents were repeated across several folders, so removing the overlaps by the hash of the text (a fingerprint value that tells whether contents are the same) cut 500 files to 291 (3.36 million characters).
- For documents that pile up weekly versions, such as schedule tables and effort-estimate tables, only the last version was read. The weekly versions are the same table, so the differences are small.
- The milestone document and the reference-data document were not changed. Claude only listed the 8 candidates for change at the end of the new document.
- Secret values were not copied. Claude found that secret values were mixed into the materials, did not copy the values into the document, and recorded only where they were, as a “recommend revoking and reissuing” note.
How I checked
- Claude extracted text from 499 of the 500 files. The one failure was a temporary lock file made by an office program, so it had no content.
- At first there were 10 errors from empty cells when reading Excel, and 1 error from garbled characters in HWP. Each was fixed and the run was repeated until there were 0.
- Claude reopened the lines of the original text to check the main numbers.
- For the app backup file, Claude opened only the app configuration files and did not print the authentication key values.
- In the finished document, Claude searched with regular expressions (text-pattern search) for email addresses, phone numbers, IPs, personal names and account IDs and confirmed that none remained.
What happened after the merge
- The temporary copies were deleted. I chose “delete” over “keep elsewhere”, and Claude deleted the document copies, extracted text files, analysis notes, old source copies, price tables and extraction scripts in the session’s temporary folder (about 1.3 GB in total). The originals remain on the shared drive, and if they are needed again, copying and extracting can be redone in about a minute. The reason was to avoid leaving one more copy containing sensitive content on my Windows computer.
What I learned
- Reading a large body of material uses up a lot of conversation length. Because the findings were saved into a document first, the work could continue even after switching sessions.
- Even a fact summarized in one sentence gained a date and a reason once the source was read further. An example is that a correction was left out not because of a field judgment but because the data was short. Before using a summary as the basis of a decision, check the time of the source.
- So that a document store does not end up used like a place to keep secrets, this project follows the rule from the start of not writing secret values in documents and meeting minutes.