### Goal Anchor - Outcome: Document와 Order도 Sheet처럼 저장 순서가 아닌 화면 줄 위에서 고르고 복사할 수 있다. - Done: `copy`/`selectedBlockIds`·`selectedItemIds`가 optional `LineTopology`를 받고, 생략 시 저장 순서를 쓰며, 줄 밖 id는 Sheet와 같이 거절한다. 계약 테스트가 화면 줄과 저장 줄이 다를 때를 증명한다. - Don't: Intent 통합 없음(#327). Kernel 변경 없음. 필드 이름 변경 없음. Tree `visibleIds` 공개 계약 변경 없음. ### 의존 #329 가 Line 계산을 공통 함수로 옮긴 뒤에 붙인다. 지금은 Document·Order가 저장 순서만 줄로 쓴다. ### 왜 지금 안 하는가 Document·Order host에 접기/필터/정렬이 없다. 인자를 지금 열면 호출부가 없는 API가 된다. ### 검증 - `npm test -w @interactive-os/json-document-editing` - `npm run typecheck -w @interactive-os/json-document-editing`
Goal Anchor
copy/selectedBlockIds·selectedItemIds가 optionalLineTopology를 받고, 생략 시 저장 순서를 쓰며, 줄 밖 id는 Sheet와 같이 거절한다. 계약 테스트가 화면 줄과 저장 줄이 다를 때를 증명한다.visibleIds공개 계약 변경 없음.의존
#329 가 Line 계산을 공통 함수로 옮긴 뒤에 붙인다. 지금은 Document·Order가 저장 순서만 줄로 쓴다.
왜 지금 안 하는가
Document·Order host에 접기/필터/정렬이 없다. 인자를 지금 열면 호출부가 없는 API가 된다.
검증
npm test -w @interactive-os/json-document-editingnpm run typecheck -w @interactive-os/json-document-editing