Integration-test harness that drives the repo's .githooks/{pre-commit,commit-msg} shell hooks through bash + ephemeral git repos and asserts their Gate-0.5 / attribution / secure-media / CONTRACT-STATUS behavior. Logic lives entirely in tests/; the lib target is intentionally empty.
| Tier | tools |
| Role | unclassified (baselined) |
| Path | crates/tools/githooks-verify |
| Edition | 2021 |
| Targets | tools_githooks_verify, hooks, workflow_packages |
| Public items | 0 across 0 modules |
| Tests | 43 |
What it is for
Intentionally empty.
tools-githooks-verify is a test-only crate: all behavior under test lives in the repo's .githooks/ shell hooks, and the harness that exercises them lives in tests/hooks.rs (an integration test that compiles only under cargo test). Cargo still requires a target, so this crate carries an empty library that cannot affect cargo build.
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/githooks-verify |
| Vocabulary in force (lexicon) | current |
Dependencies
Runtime. None.
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 |
|---|---|---|
| lib | tools_githooks_verify | `src/lib.rs` |
| test | hooks | `tests/hooks.rs` |
| test | workflow_packages | `tests/workflow_packages.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 | 0 |
| Integration tests | 43 |
| Examples | 0 |
| Doctests | 0 |
What the tests establish, by name:
commitmsg_blank_separator_before_stamp—tests/hooks.rscommitmsg_case_insensitive_claim—tests/hooks.rscommitmsg_combined_strip_and_stamp—tests/hooks.rscommitmsg_idempotent_existing_status—tests/hooks.rscommitmsg_no_attribution_unchanged—tests/hooks.rscommitmsg_no_stamp_comment_line_claim—tests/hooks.rscommitmsg_no_stamp_issue_trailer_only—tests/hooks.rscommitmsg_no_stamp_non_claim_subject—tests/hooks.rscommitmsg_stamp_from_body_claim—tests/hooks.rscommitmsg_stamp_on_subject_claim—tests/hooks.rscommitmsg_strip_coauthored_trailer—tests/hooks.rscommitmsg_strip_generated_and_built_lines—tests/hooks.rscommitmsg_token_regex_scope_bang_edge—tests/hooks.rscommitmsg_trailing_blanks_trimmed—tests/hooks.rsprecommit_accumulates_multiple_violations—tests/hooks.rsprecommit_attr_allow_excluded_exact_path—tests/hooks.rsprecommit_attr_allow_pattern_excluded_path—tests/hooks.rsprecommit_attr_block_built_with_claude—tests/hooks.rsprecommit_attr_block_coauthored—tests/hooks.rsprecommit_attr_scope_context_line_not_blocked—tests/hooks.rsprecommit_clap_conformance_blocks_a_clap_crate_with_no_wiring—tests/hooks.rsprecommit_clap_conformance_ignores_a_crate_with_no_clap_dependency—tests/hooks.rsprecommit_clap_conformance_passes_a_wired_clap_crate—tests/hooks.rsprecommit_clean_passes—tests/hooks.rsprecommit_crypto_allow_under_auth—tests/hooks.rsprecommit_crypto_custom_impl_blocks—tests/hooks.rsprecommit_gate05_allow_dto_suffix_branch—tests/hooks.rsprecommit_gate05_allow_primitives_reexport—tests/hooks.rsprecommit_gate05_allow_test_fixture_path—tests/hooks.rsprecommit_gate05_allow_under_identity_path—tests/hooks.rs- _… 13 more_
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 | 7 |
| Code lines | 0 |
| Public API items | 0 |
| Public modules | 0 |
| Tests | 43 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 0 |
| Workspace reverse dependencies | 0 |
pie showData
title Rust source composition
"Code" : 0
"Blank or comment" : 7
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.