HARVEST-PLAYBOOK §13.2 citation verifier (ported from scripts/harvest/citation-verify.sh via script-scan): every file:line an audit cites must resolve or the claim is hallucinated and its row is rejected. Pure Rust (no subprocesses), input caps on the citation list and cited files.
| Tier | tools |
| Role | unclassified (baselined) |
| Path | crates/tools/citation-verify |
| Edition | 2021 |
| Targets | tools-citation-verify |
| Public items | 0 across 0 modules |
| Tests | 21 |
What it is for
This crate does not document itself. No //! block on its entry point. The facts below are complete; the reason this crate exists is not written down anywhere, and belongs in src/lib.rs rather than here.
Capabilities
No public items.
How to use it
No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.
Module structure
No public modules: the crate root is its whole surface.
Public surface
No public items.
No pub use re-exports: every item above is declared in this crate.
Boundary
Depends on no other workspace tier.
Shares tier tools with 84 other crates: tools-advisory-reach, tools-archive-guard, tools-artifact-scaffold, tools-ask-ai-core, tools-ask-ais, tools-ask-gemini, tools-book, tools-book-report, … (84 total).
_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._
Where it sits
| Tier (ontology) | tools |
| Architectural role (taxonomy) | unclassified (baselined) |
| Location | crates/tools/citation-verify |
| Vocabulary in force (lexicon) | current |
Dependencies
Runtime, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
anyhow | ^1 | — | no | always |
Development. None.
Build. None.
Depended on by. Nothing in this workspace.
Feature flags
No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.
Targets
| Kind | Name | Source |
|---|---|---|
| bin | tools-citation-verify | `src/main.rs` |
Error model
No public error type was detected: no public item declares a type named *Error, and no public signature returns one.
Operational characteristics
| Property | Evidence |
|---|---|
| async public surface | none detected |
| async runtime | none detected |
| database access | none detected |
| network I/O | none detected |
| unsafe code | none detected |
| environment variables | none detected |
No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.
Configuration
No environment variable is read with a literal name anywhere in this crate. A variable whose key is computed at run time cannot be listed here, and is not claimed to be absent.
Related capabilities
No workspace crate depends on this one.
Verification
| Kind | Count |
|---|---|
| Unit tests | 21 |
| Integration tests | 0 |
| Examples | 0 |
| Doctests | 0 |
What the tests establish, by name:
count_newlines_matches_wc_l_semantics—src/main.rsis_all_digits_false_for_non_digits—src/main.rsis_all_digits_true_for_digits_only—src/main.rsparse_citation_blank_line_is_none—src/main.rsparse_citation_full_comment_line_is_none—src/main.rsparse_citation_strips_internal_whitespace—src/main.rsparse_citation_strips_trailing_comment—src/main.rsread_input_capped_accepts_file_within_limit—src/main.rsread_input_capped_rejects_oversized_file—src/main.rsrun_with_limits_all_ok_returns_true—src/main.rsrun_with_limits_missing_citation_returns_false—src/main.rsrun_with_limits_rejects_too_many_lines—src/main.rssplit_ref_file_and_line—src/main.rssplit_ref_multiple_colons_uses_first_and_last—src/main.rssplit_ref_no_colon—src/main.rsverify_citation_file_too_large_is_rejected—src/main.rsverify_citation_line_oob—src/main.rsverify_citation_missing_file—src/main.rsverify_citation_non_numeric_suffix_skips_line_check—src/main.rsverify_citation_ok_when_line_in_range—src/main.rsverify_citation_ok_when_no_line_number—src/main.rs
Documentation coverage
| Measure | Documented | Total |
|---|---|---|
| Public items with rustdoc | 0 | 0 |
Public modules with a //! block | 0 | 0 |
Metrics
| Metric | Value |
|---|---|
| Rust source files | 1 |
| Source lines | 385 |
| Code lines | 329 |
| Public API items | 0 |
| Public modules | 0 |
| Tests | 21 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 1 |
| Workspace reverse dependencies | 0 |
pie showData
title Rust source composition
"Code" : 329
"Blank or comment" : 56
Generation
Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.