C.W.K.
Stream
Lesson 01 of 05 · published

Compact 전에 Checkpoint

~26 min · checkpoint, compact, state

Level 0Window Watcher
0 XP0/50 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete

Checkpoint는 명시적 state capture

Compaction은 context 줄여. Checkpoint는 줄이기 전 운영 진실 보존. 현재 goal, 건드린 파일, 내린 결정, 돌린 test, blocker, 다음 action, authority boundary 명명. context 꽉 차기 전, task 전환 전, risky edit 전, 다른 모형 instance에 넘기기 전에.

Verifiable이 vague 이긴다

좋은 checkpoint는 정확한 path, commit hash, 명령 결과, status 포함. Vague checkpoint는 쓸모 있다는 망상 갖는 일기일 뿐. Acid test — fresh instance가 checkpoint와 현재 source만 읽고 일을 계속할 수 있나? No면 checkpoint 불완전.

Checkpoint는 누적, 대체 X

새 checkpoint가 옛 거 안 지워. 같이 audit trail. 가장 최근이 운영 진실, 옛 거는 프로젝트가 어떻게 여기 왔는지 reference.

Code

Checkpoint template·markdown
# Checkpoint @ <timestamp>
- Goal:
- Current truth:
- Files changed (paths + last commit):
- Commands run + outcomes:
- Tests passed/failed:
- Decisions made:
- Authority boundaries (do-not list):
- Next action:
- Push/deploy status:
- Open questions:
Acid test·text
Read only the checkpoint and the current source files.
Could you, as a fresh instance:
  - know what the goal is?
  - know what is already done?
  - know what to do next?
  - know what NOT to do?
If any answer is no, the checkpoint is incomplete.

External links

Exercise

현재나 가상의 coding task용 checkpoint 써. 정확한 path 둘 + authority boundary 하나 포함. Acid test 적용 — fresh instance가 그것만으로 계속 가능한가?
Hint
새 instance가 그것만으로 못 계속하면 아직 checkpoint 아니야.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.