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

@@ -36,7 +36,10 @@ fn three_page_pdf_emits_one_paragraph_block_per_page() {
assert_eq!(doc.title, "three");
assert_eq!(doc.lang.0, "und");
assert_eq!(doc.parser_version.0, kebab_parse_pdf::PARSER_VERSION);
assert_eq!(doc.metadata.user["pdf"]["page_count"], Value::Number(3.into()));
assert_eq!(
doc.metadata.user["pdf"]["page_count"],
Value::Number(3.into())
);
let blocks = paragraph_blocks(&doc);
assert_eq!(blocks.len(), 3);
@@ -149,7 +152,10 @@ fn page_count_matches_actual_count() {
.extract(&fx.ctx(), &bytes)
.expect("5-page extraction must succeed");
assert_eq!(doc.metadata.user["pdf"]["page_count"], Value::Number(5.into()));
assert_eq!(
doc.metadata.user["pdf"]["page_count"],
Value::Number(5.into())
);
assert_eq!(doc.blocks.len(), 5);
}
@@ -277,7 +283,10 @@ fn snapshot_three_page_canonical_document_stable() {
Value::Number(((i as u64) + 1).into())
);
}
assert_eq!(json["metadata"]["source_type"], Value::String("paper".into()));
assert_eq!(
json["metadata"]["source_type"],
Value::String("paper".into())
);
assert_eq!(
json["metadata"]["trust_level"],
Value::String("primary".into())