Repository navigation
Conversation
Alpenj
marked this pull request as ready for review
August 27, 2026 07:35
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.
변경 목적
Cowork handoff의 시작 전 점검, SHA manifest, 검증된 PR 생성과 병합 후 안전한 정리를 하나의 lifecycle로 연결한다.
변경 범위
scripts/cowork doctor: origin/worktree/dirty state/Python/NumPy/gh/ruleset/active task 점검scripts/cowork pr: clean+synchronized+verified exact SHA에서만 metadata PR 생성scripts/cowork finish: clean+synchronized+verified+merged 상태에서만 local worktree/branch/manifest 정리--delete-remote: 원격 삭제가 실패하면 local cleanup을 시작하지 않음협업 추적
0582e9d1b41a0b72efc797937e9a89d3e481947a968c1fc968c1fc검증
bash -n scripts/cowork scripts/verify-hardware-free— PASSShellCheck v0.10.0 — PASS
bats test/cowork.bats test/cowork-verify-path.bats— 36/36 PASSpython3 -m unittest discover -s dapier_sim_first/test -v— 19/19 PASS(cd casino_dealer && python3 -m unittest discover -s test -v)— 20/20 PASSgit diff --check— PASSMarkdown fences — PASS
관련 단위 테스트를 실행했다.
SIM, MOCK, HW 결과를 구분했다.
비밀값, 장치 ID, 개인 calibration, 원시 dataset을 포함하지 않았다.
검증한 SHA와 PR의 remote head SHA가 같다.
무승인 실물 하드웨어 명령을 실행하지 않았다.
실물 하드웨어 접근
위험 및 되돌리기
pro/**deletion ruleset 때문에 실제 저장소에서는finish --delete-remote가 거부될 수 있으며, 이 경우 local state를 보존한다.