Repository navigation
chore: freeze v1 CLI and report contract - #96
Merged
Merged
Conversation
Co-authored-by: Hermes
Owner
Author
|
approve Self-review현재 원격 head
잔여 경계: 공개 npm |
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.
Closes #91
요약
schemaVersion: 2와 report JSON key를 privatereport_contract모듈에 중앙화했습니다.scan,report,diff,clean의 출력·format·exit-code·preview/apply 계약을 문서화하고 CLI smoke를 보강했습니다.계약 및 호환성
unusedImports는 synthetic representative 값으로 독립 검증합니다.clean의 현재 v1 동작을 정확히 기록했습니다.safe는 현재 descriptive metadata이며 fail-closed/fingerprint 강화는 [v1 readiness][kratos] Clean/delete safety and false-positive fixture gate #92 범위입니다.검증
cargo test --workspace— PASSnpm run verify— PASS (9 pass, 환경변수 미설정 native test1 skip, pack dry-run PASS)cargo clippy --workspace --all-targets— exit0; 이번 diff 밖의 기존 경고만 존재cargo test -p kratos-core --test report_v2—11/11PASScargo test -p kratos-cli --test cli_smoke—23/23PASScargo test -p kratos-cli --test diff_cli—3/3PASScargo test -p kratos-cli --test clean_threshold_cli—10/10PASSKRATOS_PACKAGE_SMOKE_NATIVE_LIB=target/release/libkratos_node.dylib node --test --test-name-pattern='packed root package boots the actual native addon' test/package-smoke.test.js—1/1PASSscan,report summary|json|md,diff summary|json|md,clean previewPASSrustfmt --check/git diff --check— PASS독립 리뷰
PASSAPPROVED(Critical/Important/Minor없음)증거 경계
0.3.7addon은 이 미병합 변경을 포함하지 않습니다. 이번 PR은 버전 bump·tag·publish 범위가 아닙니다.cargo fmt --all -- --check는 이번 diff 밖의 기존clean.rs,discover.rs,ignore.rs,clean_preview.rsformatting drift를 보고했습니다. 변경된 Rust 파일의 scoped format 검사는 통과했습니다.Wiki Context Manifest
JeremyDev87/kratos개인 저장소이므로 적용하지 않았습니다.