candygoogy/notary
각 턴에서 무엇이 변경되었는지 보여주고 그중 한 파일을 되돌릴 수 있는 Claude Code 모드를 만들었습니다
Changes를 소개하는 Reddit 게시물입니다. Changes는 Claude Code 모드로, /changes 패널을 추가하여 턴별 파일 편집 타임라인을 파일별 diff와 함께 보여주고, 두 번 누르는 Revert로 한 파일을 해당 턴 이전 상태로 복원합니다. 또한 마지막 편집 이후 주장된 테스트 실행을 검증하는 companion Receipts도 있습니다. 둘 다 로컬 전용, MIT 라이선스이며 candygoogy/notary 마켓플레이스에서 /plugin으로 설치할 수 있습니다.
이 mod 소개
Changes는 대화 기록 옆에 패널을 추가하여 세션 타임라인을 최신 턴 우선으로 나열합니다. 파일을 건드린 도구 호출과 하위 에이전트를 포함하며, 각 파일의 diff(새 파일 포함)와 Keep/Revert 컨트롤을 표시합니다. Revert는 단일 파일을 해당 턴 이전 상태로 복원하고, 두 번 눌러야 하며, 파일이 Claude가 남긴 내용과 일치할 때만 씁니다. 그런 다음 Claude는 숨겨진 노트를 받아 파일을 다시 읽습니다. Revert는 hunk 단위가 아니라 파일 단위이며, 기록은 하나의 대화를 포괄하고, 셸 명령 변경은 git 저장소 내에서만 추적됩니다. companion Receipts는 Claude가 테스트 통과를 주장할 때 마지막 편집 이후 실제로 무엇이 실행되었는지 확인하고, 실패하면 한 번 다시 보냅니다. Claude Code 2.1.287+에서 /plugin install changes --marketplace candygoogy/notary 및 /plugin install receipts --marketplace candygoogy/notary로 설치합니다. 저장소: https://github.com/candygoogy/notary
설치
설치 방법은 원본 출처를 확인하세요.
원문 / README
When Claude works through a long task, I often want to answer "what did turn 12 change, and can I undo just that one file?" /diff shows the whole working tree, and /rewind goes back to an earlier point for every file at once. So I built Changes, a Claude Code mod. Not staged: ordinary prompts, one file reverted, and Claude notices. /changes opens a pane next to the transcript: - a timeline of the session, newest turn first, with the tool calls and subagents that changed files; - each file's diff, including new files' contents; - Keep and Revert per file. Revert puts the file back the way it was before that turn. It takes two presses, and it only writes if the file is exactly what Claude left, so it won't silently overwrite your own edits. Afterwards Claude gets a hidden note, so it re-reads the file instead of editing from memory. In the GIF, it notices the revert and points out that its test no longer matches. Nothing in that run is staged. Limits, up front: reverts are per file, not per hunk. The history covers one conversation (/clear starts it fresh). Changes made by shell commands are tracked only inside a git repo. It ships with a companion, Receipts. When Claude says "all tests pass", Receipts checks what it actually ran after its last edit, and sends it back once if the tests failed. It's quiet by default. On my 105 real sessions, it would have shown 5 warnings, no ❌, and never sent Claude back. Both are local only: no network, no telemetry, no model calls (Receipts has an opt-in "smart check" that asks a model; it's off by default). Built and used on Windows, with CI on Windows, macOS and Linux. MIT. Install (Claude Code 2.1.287+): /plugin install changes --marketplace candygoogy/notary /plugin install receipts --marketplace candygoogy/notary It's v0.1. The most useful bug report is a revert that wrote the wrong bytes, or a refusal whose reason didn't make sense. Repo: https://github.com/candygoogy/notary submitted by /u/WaretaGarasu to r/ClaudeAI [link] [comments]
