feat: stabilize finding identity for diff - #102
Merged
Conversation
Add a versioned, deterministic finding identity for introduced-only diff evidence while preserving ReportDiff and legacy formatter compatibility. Refs: #101 Co-authored-by: Hermes
Owner
Author
ddalggak review — approveVerdict: 검증 근거 / Checks
Findings 상세Critical / High / Evidence gaps
Substantive non-CI observations (current head)
Low / nit (non-blocking)
Gate / Wiki / Scope 상세Quality Lens Router Output
Evidence Contract
Wiki Context Manifest
Manual merge boundary
|
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.
What
kratos:v1:<64-hex-sha256>.identityVersionand full finding IDs in JSON/Markdown diff evidence.ReportDiffcallers, and legacy formatter output through additive identity-aware APIs.Why
Presentation metadata such as reason, confidence, safety, and clean-safety evidence must not make one semantic finding appear newly introduced or resolved. A stable identity is required before later introduced-only corpus or gate work can be trusted.
Scope / boundaries
Validation
cargo test --workspacePASScargo clippy --workspace --all-targetsPASScargo metadata --locked --no-depsPASSnpm run verifyPASS; 9 passed, 1 environment-gated native smoke skippedscan --no-writeCLI smoke PASS; no report or.kratos/writegit diff --checkPASSKnown boundary
cargo fmt --all -- --checkreports pre-existing formatting drift in unrelatedcrates/kratos-core/src/discover.rs,crates/kratos-core/src/ignore.rs, andcrates/kratos-core/tests/report_v2.rs. Those files are outside [P1-1][kratos] Stable finding identity and introduced-only diff contract #101 and were not modified; all four changed Rust files pass targeted rustfmt.Live facts
master@c0fdabd05e7cf1deec65816f551b26ef5777b09658f948cbf11fd296e8ade13f444c281885a6fea5featlabel andJeremyDev87assignee.Closes #101