← 제작기

내 기록을 모으니 개인 정보도 같이 모였다

Claude Navigator는 작업 폴더 아래 저장소마다 하는 일과 최근에 한 일, 그 일을 맡았던 Claude 세션을 모아 "이 일은 어디에 물어보나"를 알려 주는 화면입니다. 10월 21일에 만들었고, 그날 저장소 49곳과 세션 60개, 질문 2,347개를 모았습니다. 같은 페이지 한 장을 비공개 아티팩트와 이 맥의 로컬 서버 두 곳에서 봅니다.

만든 날 가장 크게 되돌린 것은 하루가 지나기 전에 덮어 올린 데이터였습니다. 세션마다 제가 한 질문을 모았더니, 질문 안에 적어 두었던 주소까지 함께 모였습니다. 모으는 도구는 모은 것의 성격까지 같이 모은다는 것을 그날 배웠습니다.

작업 폴더로는 세션을 가를 수 없었다

처음 막힌 것은 세션을 저장소에 잇는 일이었습니다. 세션 거의 전부가 같은 상위 폴더에서 열려서, 작업 폴더만 보면 모든 세션이 한곳에 몰립니다. 세어 보니 앱 세션 83개 가운데 하위 폴더에서 연 것은 2개였습니다.

대신 세션 기록의 도구 입력에 나온 경로를 셉니다. 어떤 폴더를 가장 많이 건드렸거나 30% 이상 건드린 세션을 그 저장소의 담당으로 보고, 세 번 이상 건드린 세션은 들른 세션으로 따로 적습니다. 담당이 없는 폴더에는 열 번 이상 읽어 간 세션을 내세우되, 화면에 "가장 많이 읽어 간 세션"이라고 밝힙니다.

이 방식은 세션 기록을 통째로 읽어야 성립합니다. 기록에는 경로만 있지 않고, 제가 보낸 질문과 실행한 명령이 그대로 들어 있습니다. 모으는 단위가 처음부터 대화 원문이었던 셈입니다.

요약은 맥 안에서, 질문은 아티팩트로

세션마다 하던 일과 마지막에 한 일, 남은 일 세 칸을 이 맥의 로컬 모델이 요약합니다. 대화가 맥 밖으로 나가지 않게 하려고 고른 방식입니다. "응, 해줘"처럼 8자가 안 되는 대답은 맥락이 없어 걸러서 보내고, 질문이 늘어난 세션만 다시 요약합니다.

처음 돌렸을 때는 요약이 한 건도 나오지 않았습니다. 이 모델은 기본으로 생각부터 하는데, 생각을 켠 채 첫 빌드를 돌리자 첫 요청이 240초 제한에 걸려 0건으로 끝났습니다. 한 건을 따로 재 보니 생각을 켜면 17.2초, 끄면 1.7초였고 답은 같았습니다. 생각을 끄고 세션 45개를 요약하는 데는 4분쯤 걸렸습니다. 생각하는 모델이 제한 시간 안에 아무 신호도 내지 않던 다른 일은 죽은 소켓과 생각하는 모델에 있습니다.

요약은 맥 안에서 끝나지만, 화면에 보일 질문은 맥 밖으로 나갑니다. 아티팩트의 db 에는 질문마다 앞 140자가 올라갑니다. 소유자만 읽는 비공개 아티팩트이지만 올리기 전에 가림을 거치게 했고, 키와 토큰 꼴, 메일 주소, 휴대폰 번호, 28자 넘는 ID 꼴을 다른 표시로 바꾸는 규칙을 썼습니다. 첫 빌드에서 이 규칙에 걸린 10건은 SSH 공개 키와 쇼핑 링크에 붙은 추적 값이었습니다.

가림 목록에 주소가 없었다

그 목록은 비밀값과 연락처의 생김새를 기준으로 짠 것이었습니다. 두 세션의 질문에 주소가 적혀 있었는데, 주소를 가리는 규칙은 없었습니다. 그 질문들은 db 의 대화 문서와 뇌 지도에 그대로 올라갔습니다. 뇌 지도는 하루치 대화를 내용이 닮은 것끼리 묶어 보여 주는 탭이라, 점마다 그날의 질문이 붙어 있습니다.

같은 날 주소 가림을 넣고 다시 빌드해 덮어 올렸습니다. 그 빌드에서 18건이 가려졌습니다. 올린 문서 8개를 db 에서 다시 읽어 맥의 파일과 값이 모두 같은지 맞춰 보고, 주소 문자열을 찾았더니 0건이었습니다. db 문서는 새 판으로 덮어쓰는 방식이라 지난 판의 내용은 따로 남지 않습니다.

비공개라는 것은 가림을 건너뛸 이유가 되지 못했습니다. 질문 원문이 올라가는 곳이면 공개 사이트와 같은 기준으로 가립니다. 이 맥의 로컬 서버도 같은 이유로 이 맥 안과 사설망에만 열고, 같은 와이파이에 있는 기기에는 열지 않습니다.

주소는 생김새만으로 가르기 어렵다

주소 가림은 키 가림보다 조건이 까다로웠습니다. 도로명과 지번은 "○○로 12"나 "○○길 3" 같은 모양이어서, 모양만 보고 바꾸면 "경로 3" 같은 평범한 말까지 가려집니다. 이 때문에 주소라는 낱말이나 시·구·동 이름 같은 단서가 같은 글에 있을 때만 바꾸게 했습니다.

재는 쪽도 같은 문제를 안고 있었습니다. 이름을 Claude Navigator 로 바꿔 다시 올리기 전에 올릴 문서를 한 번 더 훑었습니다. 40자 넘는 문자열 283개는 모두 세션 id 꼴이었고 메일·전화·키 꼴은 0개였는데, 주소 꼴로 걸린 11개는 전부 "가로 몇 미리" 같은 치수와 수량이었습니다. 생김새로 훑는 검사는 넓게 잡고, 단서를 요구하는 가림은 좁게 잡습니다. 단서가 될 낱말 없이 주소만 적은 질문은 지금 규칙으로는 가려지지 않으며, 이 빈틈은 아직 메우지 못했습니다.

싣지 않을 것은 처음부터 뺀다

가림은 이미 모은 글을 고치는 일이라 놓치는 것이 생깁니다. 처음부터 싣지 않을 것도 정해 두었습니다. 민감하다고 표시한 저장소 넷은 커밋 제목과 할 일, 세션 요약, 질문을 싣지 않고, 그 저장소를 가장 많이 건드린 세션의 질문과 요약도 뺍니다. 예약 작업 회차의 질문도 싣지 않으며, 뇌 지도에서도 그런 세션의 날은 뺍니다. 실행한 명령을 한 줄로 줄일 때 key 나 token 이라는 낱말이 보이면 그 줄은 버립니다.

이 표시는 사람이 붙입니다. 민감한 저장소가 새로 생기면 목록에 더하라고 문서에 적어 두었지만, 표시를 붙이지 않은 저장소의 질문은 그대로 올라갑니다. 가림의 빈틈과 같은 종류입니다.

공개 사이트에 올린 숫자끼리 빼서 감춘 하루 숫자가 나오던 일은 누적 합계를 빼면 그날 숫자가 나왔다에 있습니다. 그 글이 공개한 숫자의 조합을 다뤘다면, 이 글은 혼자 보는 화면에 원문이 쌓인 경우입니다.

정리하면

  • 기록을 모으는 도구는 기록에 든 것을 고르지 않고 같이 모읍니다. 질문을 모으면 질문에 적어 둔 주소도 모입니다.
  • 원문이 올라가는 곳이면 비공개라도 공개와 같은 기준으로 가립니다. 놓친 것은 덮어 올리고, 다시 읽어 0건인지 봅니다.
  • 주소처럼 흔한 모양의 값은 단서를 요구해야 오탐이 줄고, 그만큼 놓치는 것이 생깁니다. 무엇을 놓치는지 적어 둡니다.
  • 가림보다 먼저 싣지 않을 것을 정합니다. 그 표시는 사람이 붙인다는 것까지 기억합니다.
  • 요약을 맥 안에서 해도 데이터가 맥 안에 머무는 것은 아닙니다. 어느 칸이 바깥으로 나가는지 칸마다 봅니다.

Claude Navigator is a screen that gathers, for each repository under my work folder, what it does, what was done there recently and which Claude sessions handled that work, and tells me "where should I ask about this?". I built it on October 21, and that day it gathered 49 repositories, 60 sessions and 2,347 questions. I view the same single page in two places: a private artifact and a local server on this Mac.

The biggest thing I rolled back on the day I built it was data I overwrote and re-uploaded before the day was out. When I gathered the questions I had asked in each session, the addresses I had written inside those questions came along with them. That day I learned that a tool that gathers things also gathers whatever those things carry.

The working folder could not tell sessions apart

The first snag was tying sessions to repositories. Almost every session opens in the same parent folder, so looking only at the working folder piles every session into one place. When I counted, 2 of 83 app sessions had been opened in a subfolder.

Instead, I count the paths that appear in the tool inputs of the session logs. A session that touched a folder more than any other, or touched it 30% of the time or more, is taken as that repository's owner, and sessions that touched it three or more times are listed separately as sessions that visited. For a folder with no owner, a session that read from it ten or more times is put forward, but the screen says plainly that it is "the session that read from it most".

This approach only works by reading the session logs whole. The logs hold more than paths: the questions I sent and the commands I ran are in there verbatim. The unit being gathered was the original conversation from the start.

Summaries stay on the Mac, questions go to the artifact

A local model on this Mac summarises three fields for each session: what it was doing, what it did last, and what is left. I chose this so that the conversations do not leave the Mac. Replies under 8 characters, like "yes, do it", carry no context, so they are filtered out before sending, and only sessions whose questions have grown are summarised again.

The first run produced not a single summary. This model thinks first by default, and when I ran the first build with thinking on, the first request hit the 240-second limit and the build ended with 0 summaries. Measuring one summary on its own, it took 17.2 seconds with thinking on and 1.7 seconds with it off, and the answer was the same. With thinking off, summarising 45 sessions took about 4 minutes. Another case where a thinking model gave no signal within the time limit is in A Dead Socket and a Thinking Model.

The summaries finish on the Mac, but the questions shown on screen leave it. The first 140 characters of each question go up to the artifact's db. It is a private artifact only the owner can read, but I still put everything through redaction before upload, with rules that replace anything shaped like a key or token, email addresses, mobile phone numbers and ID-shaped strings over 28 characters with a placeholder. The 10 items these rules caught in the first build were SSH public keys and tracking values attached to shopping links.

Addresses were not on the redaction list

That list was built around what secrets and contact details look like. Questions in two sessions had addresses written in them, and there was no rule for redacting addresses. Those questions went up as they were, into the db's conversation documents and into the brain map. The brain map is a tab that groups a day's conversations by similar content, so each dot carries that day's questions.

That same day I added address redaction, rebuilt, and overwrote the upload. That build redacted 18 items. I read the 8 uploaded documents back from the db, checked that every value matched the files on the Mac, and searched for the address strings: 0 hits. The db documents are overwritten with each new version, so the contents of the previous version are not kept anywhere separately.

Being private was no reason to skip redaction. Anywhere the original text of questions goes up, I redact to the same standard as the public site. For the same reason, the local server on this Mac is open only on this Mac and on a separate private network, not to devices on the same Wi-Fi.

Addresses are hard to tell apart by shape alone

Addresses were harder to write rules for than keys. Korean street-name and lot-number addresses take shapes like ○○로 12 or ○○길 3, so replacing by shape alone would also redact an everyday phrase like 경로 3 ("route 3"). So the rule replaces only when a cue, such as the word "address" or the name of a city, district or neighbourhood, appears in the same text.

The measuring side had the same problem. Before renaming it Claude Navigator and uploading again, I went over the documents to be uploaded once more. All 283 strings over 40 characters were session-id shaped, and 0 were shaped like an email, phone number or key, but the 11 caught as address-shaped were all dimensions and quantities, like "so many millimetres wide". The shape-based scan is kept broad, and the redaction that demands a cue is kept narrow. A question that writes only an address, with no cue word, is not redacted under the current rule, and this gap is not closed yet.

What won't be carried is left out from the start

Redaction fixes text that has already been gathered, so some things slip through. I also decided what would not be carried in the first place. For the four repositories marked sensitive, commit titles, to-dos, session summaries and questions are not carried, and the questions and summaries of the session that touched such a repository most are left out too. Questions from scheduled-task runs are not carried either, and the brain map leaves out the days of such sessions as well. When a command that was run is shortened to one line and the word key or token shows up, that line is dropped.

These marks are applied by a person. The documentation says to add any new sensitive repository to the list, but questions from a repository nobody has marked go up as they are. It is the same kind of gap as the one in redaction.

A case where subtracting numbers published on the public site revealed a hidden daily number is in Cumulative Totals Gave Away the Day. Where that post dealt with combinations of published numbers, this one is about original text piling up on a screen only I look at.

In short

  • A tool that gathers records gathers whatever is in them, without choosing. Gather the questions, and the addresses written in them come too.
  • Wherever original text goes up, redact it to the same standard as the public site, even if the place is private. Overwrite what was missed, then read it back and check that it comes to 0.
  • For values with a shape as common as an address, demanding a cue cuts false positives, and that much more slips through. Write down what slips through.
  • Before redacting, decide what will not be carried. Remember, too, that a person applies those marks.
  • Summarising on the Mac does not mean the data stays on the Mac. Check, field by field, which ones go outside.