style: cargo fmt --all (round 4 ingest log feature follow-up)

Phase C4 executor 의 마지막 `fix(test): clippy + fmt fixes` commit 이
test file 부분만 fmt 적용. workspace 전체 fmt 누락 발견 → cargo fmt --all
적용. 모든 import alphabetical reorder + line wrapping 정합.

추가 untracked artifact 동시 commit:
- docs/superpowers/specs/2026-05-28-v0.20-ingest-log-spec.md (491 line, ACCEPT)
- docs/superpowers/plans/2026-05-28-v0.20-ingest-log-plan.md (616 line, ACCEPT)

workspace test: 1370 passed / 0 failed / 50 ignored, ingest_log_smoke green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-28 04:18:40 +00:00
parent 445b096215
commit 685007789a
235 changed files with 6520 additions and 3955 deletions

View File

@@ -110,11 +110,7 @@ fn document_and_query_yield_different_vectors() {
assert_eq!(out[1].len(), 1024);
// Both vectors are L2-normalized → cosine similarity == dot product.
let cos: f32 = out[0]
.iter()
.zip(out[1].iter())
.map(|(a, b)| a * b)
.sum();
let cos: f32 = out[0].iter().zip(out[1].iter()).map(|(a, b)| a * b).sum();
// Same text, different prefix → vectors must NOT be identical.
assert!(
cos < 0.9999,
@@ -232,8 +228,8 @@ const SNAPSHOT_HASH_BASELINE: u64 = 0;
#[ignore = "loads ONNX model; CI-only"]
fn snapshot_aggregate_hash_is_stable() {
let emb = shared_embedder();
let fixture_path =
std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/embed/known-sentences.json");
let fixture_path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
.join("tests/fixtures/embed/known-sentences.json");
let raw = std::fs::read_to_string(&fixture_path).expect("read fixture");
let json: serde_json::Value = serde_json::from_str(&raw).expect("parse fixture json");
let sentences: Vec<String> = json["sentences"]