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

Tail: Live State와 Next Action

~22 min · state, next-action, tail

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

Tail은 결정이 land하는 곳

Tail은 가장 fresh한 material — 현재 사용자 질문, 최신 diff, 가장 최근 tool result, 다음 의도된 action. 항상 변동성, 항상 input 맨 끝. recency-attention zone 안 + cached prefix 밖에 둔다 — 둘 다 맞아.

turn당 질문 하나

Multi-question tail은 priority 헷갈리게 해. turn당 objective 하나; 더 필요하면 turn 가로질러 sequence하거나 명시적 numbering + 'address them in order' 명령. 동등 weight 부탁 더미는 모형이 자기 선호로 reorder할 더미야.

State snapshot이지 state diary 아니야

Tail에 현재 운영 state 포함 — branch 이름, pending action, 마지막 tool exit code — 그 state가 어떻게 도달됐는지 full history는 X. history는 context 필요하면 body, session 가로질러 필요하면 별도 handoff.

Code

깨끗한 tail·xml
<state>
  branch: feature/auth-cleanup
  last_tool: pytest -> 0 (passed)
  pending: review diff and propose tests
</state>

<task>
  Summarize the diff in three bullets.
  Then propose two test cases that would have caught the original bug.
</task>
Anti-pattern: 잡동사니 tail·markdown
BAD: tail mixes new question, three old questions still unanswered,
     a banner timestamp, and an unrelated tip.

GOOD: tail = exactly one question + the live state needed to answer it.

External links

Exercise

long session 하나 골라 마지막 user message 봐. 실제 현재 ask 아닌 거 다 식별. state snapshot, body, 또는 삭제로 옮겨.
Hint
두 turn 전 사실인 문장 셋 들어있으면 그건 tail 아니라 body나 state야.

Progress

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

댓글 0

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

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