Repository navigation
feat: add the practice chapter that plans first and approves in the conversation - #1646
Merged
Merged
Conversation
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, merged)
Summary
연습 모드 7편 "계획 먼저"를 더합니다. 큰 일을 맡기기 전에 에이전트에게 계획부터 받고, 지도로 보고, 대화로 승인하는 흐름을 끝까지 해 봅니다. ⏎만 눌러도 되고 직접 쳐서 해도 됩니다.
hide plan set --ask로 3단계 계획을 올립니다. 행은 core가 하는 그대로 검토 질문(plan_review)을 받아 내 차례가 되고, pane 머리의 칩이검토가 됩니다.크게 ›로 보기 슬롯에 큰 지도를 엽니다. 검토 띠검토 기다림 · 대화에서 답하세요와대화로는 셸대로 큰 지도에만 있습니다.hide plan approve를 하고 1단계를 시작합니다. 칩은0/3, 둘째 줄은<단계> · <line>이 됩니다.Review
크게 ›→ 큰 지도 순서로 갑니다.review단계는 보기만 하는 단계입니다.대화로를 누르게 하지 않은 것은, 학습자가 보기 슬롯을 닫아도 ⏎가 막히지 않게 하려는 것입니다. 승인은 pane에 바로 입력됩니다.web/src/practice/worlds/plan.ts- 손으로 쓴 행 상태입니다. 검토 중 행은 core의lay_plan_reviews와derive_from_axes결과(needs_you, turn,ask_subject,line.subject, 빈line.text, pane bandanswer+ subject)에 맞췄습니다. Seen/Needs You 개수는kit.ts의counted로 고칩니다.detail_open- 셸의openPlan은 lane을 직접 열지 않고 core가 매기는 lane 호출 번호(lane_called/lane_calls)로 열립니다. 세계도 그 번호를 올립니다.typed)과 행 개수(counted)는 4·7·8편이 함께 쓰는kit.ts도구입니다(#1632에 포함). 이 장에는 복사본이 없습니다.Evidence
web/e2e/practice.spec.ts(격리 Herdr 0.9.5, 격리 hided)가 통과했습니다. 이 브랜치의 0·1·7편을 ⏎만으로 끝까지 진행했고 시스템 클립보드 호출은 0건이었습니다.worlds.test.ts가 7편 세계에 단계마다 셸 명령 전체와 pane focus를 보내도 세계, 스냅숏, 터미널 화면 모두 예외 없이 그려지는 것을 확인했습니다./?practice=1&lang=<ko|en|zh-CN|ja>&host=electron&platform=darwin에서 4개 언어 모두 ⏎만으로 끝까지 갔습니다. 모든 단계에서 말풍선 단계 숫자(n / 7)가 한 줄(높이 16px)입니다.workspace_view로만 열게 바뀜) web typecheck·lint·build, 디자인 계약, practice e2e를 다시 돌려 통과했고, 보기 슬롯에 큰 지도가 열리는 것을 브라우저로 다시 봤습니다.node scripts/check-design-contract.mjs가 통과했습니다.OverviewGraph.test.tsx, 2회차는mobile/sleep.test.tsx이고, 각 파일을 따로 돌리면 통과합니다(16/16, 3/3). 나머지 244개 파일은 통과했습니다.target/debug/hided와hide는 이 워크트리에서 빌드하지 않았습니다. 디스크 여유가 6.4 GB라서 형제 워크트리의 바이너리를 복사했습니다.hided는 같은 base(27ba99d)로 빌드된 것이고,hide(테스트 끝에 데몬을 멈출 때만 씀)는 같은 시각에 빌드된 ch4 워크트리의 것입니다. 이 PR은 Rust를 바꾸지 않습니다.추가 증거