본문 바로가기
C.W.K.
Stream
Lesson 02 of 05 · published

Re-Prompt 나선

~22 min · loop, rot, anti-pattern

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

계속 수긍하고, 계속 어겨

고쳐줬는데도 모형이 같은 규칙을 계속 어기면 되묻기 나선에 빠진 거야. 모양은 늘 똑같아. 사람이 고쳐주고, 모형이 알겠다고 하고, 또 어기고, 사람이 더 세게 말하고, 모형이 더 열렬히 알겠다고 하고, 또 어겨. 한 바퀴 돌 때마다 token만 붙고 동작은 그대로야.

왜 이렇게 되냐면

옛 context가 아직 window에 남아서 attention에 영향을 주고 있거든. 거기다 잔소리를 더 얹어봐야 원래의 잘못된 방향은 그대로고 잡음만 커져. 그 session은 attention 싸움에서 이미 진 거고, 더 prompt를 넣는 건 틀린 도구야.

나선을 끊는 법

잔소리를 그만 얹어. 살아 있는 진실을 오래 남는 노트에 적어. session을 새로 열어. 그 노트랑 지금 소스를 다시 올려. 깨끗한 prefix에서 이어가. 새 session은 보통 한 turn 만에 정확히 행동해. 문제가 능력이 아니라 context 오염이었다는 증거야.

session이 오염되면 prompt를 더 넣는 게 해법이 아니라 문제일 수 있어.

Code

나선 감지기·python
def in_reprompt_spiral(history, rule_text):
    violations = sum(1 for turn in history[-10:] if rule_text in turn.violation_log)
    corrections = sum(1 for turn in history[-10:] if rule_text in turn.correction_log)
    return violations >= 3 and corrections >= 3

if in_reprompt_spiral(session.history, "do not push"):
    plan_recovery_to_fresh_session()
되살리기 계획·yaml
recovery_plan:
  capture:
    - live rules with source
    - current state
    - failed attempts worth remembering (if any)
  reset:
    - fresh session OR explicit compaction with audit
  reload:
    - durable note
    - current source files
    - latest test/git state
  continue:
    - exactly one next safe action

External links

Exercise

직접 겪었든 가상이든 되묻기 나선을 하나 묘사해봐. 그걸 대신할 되살리기 계획을 써봐 — 적어두기, 초기화, 다시 올리기, 이어가기.
Hint
계속 수긍하는데 계속 어기는 패턴을 찾아.

Progress

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

댓글 0

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

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