Mechanical evidence engine for the two crate-capability inventory experiments: parses normalized-tests/*.tsv, manifest.json, and the two crates-capabilities artifact TSVs, and emits a structured, code-computed evidence report (no LLM calls, no estimation).
| Tier | tools |
| Role | unclassified (baselined) |
| Path | crates/tools/crate-capability-audit |
| Edition | 2021 |
| Targets | tools-crate-capability-audit, cli_test |
| Public items | 2 across 0 modules |
| Tests | 21 |
What it is for
Mechanical evidence engine for the two crate-capability inventory experiments: parses normalized-tests/*.tsv, manifest.json, and the two crates-capabilities artifact TSVs, and emits a structured, code-computed evidence report (no LLM calls, no estimation).
Capabilities
crate root
Mechanical evidence engine for the two crate-capability inventory experiments: parses normalized-tests/*.tsv, manifest.json, and the two crates-capabilities artifact TSVs, and emits a structured, code-computed evidence report (no LLM calls, no estimation).
| Item |
|---|
pub const SCHEMA_VERSION: u32 |
fn envelope(command : & str, data : Value) -> Value |
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
`crate root`
| Item | What it is |
|---|---|
pub const SCHEMA_VERSION: u32 | — |
fn envelope(command : & str, data : Value) -> Value | — |
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/crate-capability-audit |
| Vocabulary in force (lexicon) | current |
Dependencies
Runtime, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
anyhow | ^1 | — | no | always |
clap | ^4 | derive | no | always |
csv | ^1 | — | no | always |
serde | ^1 | derive, derive | no | always |
serde_json | ^1 | — | no | always |
Development, in this workspace.
| Crate | Tier | Optional | Only on |
|---|---|---|---|
| `tools-cli-conformance` | tools | no | always |
Build. None.
Depended on by. Nothing in this workspace.
Signal flow — what reaches this crate, and what it reaches.
flowchart LR SELF["tools-crate-capability-audit"] SELF -->|development| n_tools_cli_conformance["tools-cli-conformance"] classDef self fill:#1f883d,stroke:#1f883d,color:#fff; class SELF self;
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-crate-capability-audit | `src/main.rs` |
| test | cli_test | `tests/cli_test.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 | 8 |
| Integration tests | 13 |
| Examples | 0 |
| Doctests | 0 |
Evidence by module. How often each public module is named by something executable.
| Module | Tests | Examples | Consumers |
|---|---|---|---|
crate root | 2 | 0 | 0 |
What the tests establish, by name:
artifact1_duplicate_path_detected—tests/cli_test.rsartifact_quality_schema_facts_are_structural_not_score—tests/cli_test.rscoverage_diff_finds_exact_paths_not_hardcoded_384_388—tests/cli_test.rsdata_quality_flags_clean_on_valid_fixtures—tests/cli_test.rsderived_per_crate_metrics_use_mechanically_counted_denominator—tests/cli_test.rsenvelope_shape—tests/cli_test.rshedge_words_counted_in_both_artifacts—tests/cli_test.rsnormalization_counts_reconcile_on_clean_fixtures—tests/cli_test.rsprocess_architecture_distinguishes_delegation_from_workflow—tests/cli_test.rstest1_embedded_session_detected—tests/cli_test.rstoken_classes_stay_separate_and_sum_correctly—tests/cli_test.rsunsupported_claim_heuristic_flags_capability_without_evidence—tests/cli_test.rsverification_effect_finds_keyword_hits_but_no_before_after_state—tests/cli_test.rsartifact_quality_flags_capability_without_evidence—src/analysis.rscounter_sorts_by_count_desc_then_key_asc—src/analysis.rscoverage_difference_finds_exact_set_symmetric_difference—src/analysis.rscoverage_difference_normalizes_trailing_slash—src/analysis.rsduplicate_paths_only_reports_paths_seen_more_than_once—src/analysis.rsevidence_citation_hits_matches_file_line_pattern—src/analysis.rshedge_hits_counts_known_words_case_insensitively—src/analysis.rscli_definition_conforms—src/main.rs
Documentation coverage
| Measure | Documented | Total |
|---|---|---|
| Public items with rustdoc | 0 | 2 |
Public modules with a //! block | 0 | 0 |
pie showData
title Public items with rustdoc
"Documented" : 0
"No rustdoc detected" : 2
Metrics
| Metric | Value |
|---|---|
| Rust source files | 3 |
| Source lines | 1420 |
| Code lines | 1255 |
| Public API items | 2 |
| Public modules | 0 |
| Tests | 21 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 5 |
| Workspace reverse dependencies | 0 |
pie showData
title Public API by kind
"constant" : 1
"function" : 1
pie showData
title Rust source composition
"Code" : 1255
"Blank or comment" : 165
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.