Repository navigation
feat: add the practice chapter on handing work to other agents - #1635
Merged
Merged
Conversation
… keep copies off the clipboard
…aste chapter 4's ID by hand in the journey
…pter 4's child tab to the kit's delegated rule
…ce-ch4 # Conflicts: # docs/UI_BEHAVIOR.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #1632 (practice-foundation, 이 PR의 base)
Summary
연습 모드 4편 "에이전트끼리 일 시키기"를 더합니다. 리드 에이전트에게 말로 일을 넘기는 세 가지 방법을 끝까지 해 봅니다. ⏎만 눌러도 되고, 직접 쳐서 해도 됩니다.
Review
navigator.clipboard는web/src/clipboard.ts에서만 쓰고 eslint가 그 밖의 사용을 막습니다. 연습 창의 ⌘C/⌘X/⌘V는web/src/practice/clipboard.ts가 document capture 단계에서 받아 연습 클립보드로 보냅니다. type 단계는 학습자가 친 글이 있으면 그 글을 보내고, 단계 숫자는 한 줄을 지킵니다. 열린 우클릭 메뉴를 가리는 말풍선은 옆으로 비킵니다.web/src/practice/PracticeCoach.tsx- 공용 파일입니다. 이 PR에 남은 변경은 메뉴 gesture 하나입니다. 마지막 항목을 누른 뒤 손 커서를 기다리지 않게 했고, 하위 메뉴가 0.8초 안에 안 열리면 최대 3번까지 다시 누릅니다.web/src/practice/worlds/delegate.ts-withLineage가 kit의 스냅샷을 받아 자식을 리드 밑 depth 1로 다시 그립니다. 자식 탭의 delegated 판정은 kit에 맡깁니다. 학습자가 연 새 pane은 셸 화면으로 그립니다.worlds/delegate.ts의 ANSI RGB 리터럴(\x1b[38;2;215;119;87m)은tour.ts와 같은 예시 터미널 출력이고, 디자인 토큰이 닿지 않는 터미널 바이트라서 그대로 둡니다.web/e2e/practice.spec.ts- 4편 붙여넣기 단계만 ⏎ 대신 손으로 합니다(우클릭 › 붙여넣기 + 직접 친 말 + ⏎). 시스템 클립보드 호출이 0건인지 함께 확인합니다.Evidence
web/e2e/practice.spec.ts(격리 Herdr·hided)를 로컬에서 통과했습니다. ch3과 ch5를 병합한 시험 브랜치(push 안 함)에서는 0·1·3·4·5편을 끝까지 진행했고, 4편 붙여넣기는 손으로 했으며 시스템 클립보드 호출은 0건이었습니다.node scripts/check-design-contract.mjs,worlds.test.ts(셸 명령 전체와 pane focus를 단계마다 보내 보는 검사) 4편까지 통과했습니다./?practice=1&lang=ko&host=electron&platform=darwin에서 4편 붙여넣기를 손으로 해 보고, ja intro의 kick과1 / 10이 한 줄에 남는 것을 확인했습니다(아래 추가 증거).PRESSES_PER_CHAPTER = 25이고, 장 수에 곱해지므로 장이 늘어도 모자라지 않습니다.추가 증거
Verification record
PRESSES_PER_CHAPTER = 25× 장 수