feat: add core SDK scaffold and migration preflight - #1
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.
SDK 분리를 시작하기 전에 기존 확장 프로그램의 의존 경계와 판정 기준선을 저장하고, 코어 구현에 사용할 타입 계약을 추가합니다.
packages/core에 요청·판정 타입, 포트, 훅 및createCore시그니처를 추가합니다. 패키지는private: true이며,createCore는 미구현 오류를 던지는 스캐폴드입니다.검증 대상은
3e30c4bdd545ae659392409a0de8bdcd5fb7cb56입니다.rust,wasm,extension,registry-api,secrets-scan5개 작업 모두 통과했습니다. Firefox 빌드·패키징은 기존 워크플로의 main 전용 조건에 따라 PR에서 제외됩니다.tsc --noEmit -p packages/core/tsconfig.json통과.policy-engine-wasm-pkg-5c6c07244306c3edcc496e3dd5d70380bc344dfe산출물과 체크아웃의 기본 정책 생성 스크립트를 사용해vitest run --config fixtures/vitest.config.ts4/4 통과. 예상 판정 fixture는 갱신하지 않았습니다.git diff --check origin/main...origin/feat/npmpacking통과.새 core 타입 및 fixture 검증은 기존 CI 작업에 포함되어 있지 않아 위와 같이 별도로 실행했습니다. 이번 변경에는 SDK 런타임 추출, 패키지 매니저 통합 또는 npm 발행이 포함되지 않습니다.