Repository navigation
feat: add the practice chapter that follows agents - #1639
Merged
Merged
Conversation
…by a drag lets it through
…ce-ch3 # Conflicts: # docs/UI_BEHAVIOR.md # web/src/practice/PracticeCoach.tsx
…ce-ch3 # Conflicts: # docs/UI_BEHAVIOR.md # web/src/practice/PracticeCoach.tsx # web/src/practice/PracticePlayer.tsx
…ts closes the core's consequence deskSnapshot marks a tab delegated by the core's rule (it holds an agent and every agent in it is a delegated child) and leaves it off the strip, and lists the close consequence for every pane, tab and desk, so a close chord on a practice screen no longer throws.
…finished child as quiet A plain shell from a split or a new tab has no lineage instead of reading a missing agent row; the strip rule now comes from the kit; the finished child's tones follow the core's row_state for a quiet mark.
…r's world at each step
…at the world check sends
# Conflicts: # docs/UI_BEHAVIOR.md
# 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 (base)
Summary
연습 모드 3편 "에이전트 따라가기"를 더했습니다. 진짜 에이전트 없이 스크립트 세계에서 ⏎나 클릭만으로 끝까지 갑니다.
chapters/follow.ts,worlds/follow.ts, 문구 4개 언어)와 UI_BEHAVIOR 한 문단입니다. 이 장에 필요했던 공용 변경 3개(shown단계, 연습 화면의 Overview, 클릭 gesture를 손처럼 누르기)는 #1632에 먼저 올렸습니다.리뷰 수정(head 01eeb81 이후):
Tab 2,Tab 3으로 보이던 문제를 고쳤습니다. 이제 공용 kit이 core와 같은 규칙으로 위임 탭을 탭 줄에서 뺍니다.대화 카드 단계(내 요청 줄을 눌러 고정한 카드와 안내):

Review
shown(그 셀렉터가 보이면 끝)으로 판정합니다. 단계 문구가 화면과 맞는지 봐 주세요.›만) 모두 맞게 "헤더 맨 앞의 부모 표시"로 썼습니다.worlds/kit.ts(위임 탭을 탭 줄에서 빼기, 닫기 결과 목록),worlds/kit.test.ts,practice/worlds.test.ts, UI_BEHAVIOR "Adding a chapter" 두 문장은 practice-foundation 25438e9d9로 올렸고, 이 브랜치가 그것을 병합해 이 PR의 diff에는 3편 파일만 남습니다.web/src/practice/worlds/kit.ts- 위임 탭 판정은 coretab_is_delegated(에이전트가 하나 이상, 모두 위임 자식)와from_herdr_tabs를 따르고, 닫기 결과는tally/close.rs처럼 pane·탭·데스크마다 둡니다. 연습 에이전트는 자손을 기록하지 않아 subtree는 늘 비어 있습니다.move등)는 앞 단계 상태에서 검사합니다. 실행 시간은 장 3개에 약 0.7초입니다.web/src/practice/worlds/follow.ts- kit의deskSnapshot위에 이 장 값(태스크 카드, lineage, 헤더 밴드,pane_focus_request응답)을 덧입힘. core가 보낼 모양과 다르면 다른 화면이 잘못 그려집니다.Evidence
practice.spec.ts통과(격리 Herdr 0.9.5 + hided, 0·1·3편을 ⏎만으로 끝까지, 진행 기록 core 저장).at tasks, then new_tab: Cannot read properties of undefined (reading 'lineage_parent_pane_id')로 실패합니다. kit 수정 전에는 0편 말고 모든 장이close_pane: Missing core close consequence로 실패했습니다.Tab 1만 있고 새 셸이 리드 옆에 열리는 것을 캡처로 확인.delegate세계가 새 셸 pane에서SCREENS[paneId] is not a function으로 실패합니다(4편 브랜치에서 고칠 것). 4편도 자식 탭을delegated로 손으로 표시하는데 탭 줄은 그대로라 같은 탭 줄 문제가 있고, kit 커밋이 이를 덮습니다.?practice=1&lang=ko&host=electron&platform=darwin에서 11단계를 하나씩 캡처해 링·말풍선 위치와 문구를 눈으로 확인. 개요는 처음부터·장 목록·다른 장에서 닫힘.verify-web.shweb typecheck·lint·test(2054 passed, 1 skipped)·build, desktop typecheck,check-design-contract.mjs, attribution·workstation identity 검사 통과. 병합 전 한 번의 전체 실행에서mobile/sleep.test.tsx하나가 머신 부하로 5초 시간 초과했고, 혼자 다시 돌리면 1초에 통과했으며 병합 뒤 전체 실행에서도 통과했습니다.추가 증거
부모로 돌아온 뒤: 리드가 내 차례로 바뀌고 헤더 밴드가 질문을 보여 줌.

개요 지도: 리드-자식 선과 나를 기다리는 두 에이전트.

Verification record
src/practice단위 검사와 web typecheck 다시 통과)src/practice: worlds.test.ts(0·1·3편) + worlds/kit.test.ts 통과, 약 0.7초