Legal evidence: Bates numbering, production sets, translations, redaction, evidence integrity
| Tier | domain |
| Role | unclassified (baselined) |
| Path | crates/domain/legal-evidence |
| Edition | 2021 |
| Targets | domain_legal_evidence |
| Public items | 0 across 0 modules |
| Tests | 27 |
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.
Re-exports. Exported here, defined elsewhere.
| Export | Defined in |
|---|---|
{BatesNumber,BatesScopeType,BatesSequence} | bates::{BatesNumber,BatesScopeType,BatesSequence} |
{EvidenceItem,EvidenceType} | evidence::{EvidenceItem,EvidenceType} |
{ProductionExportConfig,ProductionItem,ProductionSet,ProductionStatus} | production::{ProductionExportConfig,ProductionItem,ProductionSet,ProductionStatus} |
{RedactionRecord,RedactionType} | redaction::{RedactionRecord,RedactionType} |
{TranslatableEntityType,Translation,TranslationMethod,TranslationParams} | translation::{TranslatableEntityType,Translation,TranslationMethod,TranslationParams} |
Boundary
Reaches into foundation, identity, infrastructure.
Shares tier domain with 41 other crates: domain-agreements, domain-ai-report, domain-billing, domain-catalog, domain-classify, domain-comments, domain-competitive-intel, domain-contact, … (41 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) | domain |
| Architectural role (taxonomy) | unclassified (baselined) |
| Location | crates/domain/legal-evidence |
| Vocabulary in force (lexicon) | current |
Tier flow. Which tiers this crate's own edges cross.
flowchart LR n_domain["domain"] --> n_foundation["foundation"] n_domain["domain"] --> n_identity["identity"] n_domain["domain"] --> n_infrastructure["infrastructure"]
Dependencies
Runtime, in this workspace.
| Crate | Tier | Optional | Only on |
|---|---|---|---|
| `domain-legal-matter` | domain | no | always |
| `foundation-audit-log` | foundation | no | always |
| `foundation-basemodels` | foundation | no | always |
| `identity-parties` | identity | no | always |
| `infrastructure-storage` | infrastructure | no | always |
Runtime, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
chrono | ^0.4 | serde | no | always |
serde | ^1 | derive | no | always |
serde_json | ^1 | — | no | always |
sha2 | ^0.10 | — | no | always |
thiserror | ^2 | — | no | always |
uuid | ^1 | v4, v7, serde, js | no | always |
Development, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
tokio-test | ^0.4 | — | no | always |
Build. None.
Depended on by. 1 workspace crate.
Signal flow — what reaches this crate, and what it reaches.
flowchart LR n_application_legal_evidence["application-legal-evidence"] -->|uses| SELF SELF["domain-legal-evidence"] SELF -->|runtime| n_domain_legal_matter["domain-legal-matter"] SELF -->|runtime| n_foundation_audit_log["foundation-audit-log"] SELF -->|runtime| n_foundation_basemodels["foundation-basemodels"] SELF -->|runtime| n_identity_parties["identity-parties"] SELF -->|runtime| n_infrastructure_storage["infrastructure-storage"] 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 |
|---|---|---|
| lib | domain_legal_evidence | `src/lib.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
1 workspace crate depends on this one: application-legal-evidence.
Verification
| Kind | Count |
|---|---|
| Unit tests | 27 |
| Integration tests | 0 |
| Examples | 0 |
| Doctests | 0 |
What the tests establish, by name:
test_bates_batch_allocation—src/bates.rstest_bates_number_equality—src/bates.rstest_bates_number_formatting—src/bates.rstest_bates_number_immutability—src/bates.rstest_bates_number_large_sequence—src/bates.rstest_bates_number_ordering—src/bates.rstest_bates_sequence_allocation—src/bates.rstest_bates_sequence_no_reuse—src/bates.rstest_assign_bates_locks_evidence—src/evidence.rstest_cannot_reassign_bates_after_lock—src/evidence.rstest_evidence_creation_has_stored_file—src/evidence.rstest_evidence_spanish_language—src/evidence.rstest_evidence_starts_unlocked_without_bates—src/evidence.rstest_evidence_with_policy—src/evidence.rstest_hash_verification—src/evidence.rstest_cannot_export_draft—src/production.rstest_cannot_finalize_twice—src/production.rstest_export_config_defaults—src/production.rstest_production_item_with_bates—src/production.rstest_production_set_lifecycle—src/production.rstest_redaction_approval—src/redaction.rstest_redaction_record_preserves_source_link—src/redaction.rstest_certification_requires_certifier—src/translation.rstest_drift_detection—src/translation.rstest_machine_translation_with_confidence—src/translation.rstest_supersession_chain—src/translation.rstest_translation_creation—src/translation.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 | 6 |
| Source lines | 1068 |
| Code lines | 880 |
| Public API items | 0 |
| Public modules | 0 |
| Tests | 27 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 11 |
| Workspace reverse dependencies | 1 |
pie showData
title Rust source composition
"Code" : 880
"Blank or comment" : 188
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.