HARVEST-PLAYBOOK regression-clean gate, ported from scripts/harvest/workspace-green.sh via the script-scan pipeline: cargo fmt --check + clippy -D warnings + build --workspace, then builds each standalone-workspace host from its own root. Exit 0 only when everything is green.
| Tier | tools |
| Role | unclassified (baselined) |
| Path | crates/tools/workspace-green |
| Edition | 2021 |
| Targets | tools-workspace-green |
| Public items | 0 across 0 modules |
| Tests | 19 |
What it is for
Port of scripts/harvest/tools-workspace-green.sh — "regression clean" == green. Runs fmt --check, clippy -D warnings, build --workspace, then builds any standalone-workspace hosts (given as CLI args) from their own root.
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/workspace-green |
| 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-workspace-green | `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 | yes |
No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.
Configuration
| Variable | Read in |
|---|---|
CORPUS_SOURCECODE_APP_DB | src/main.rs |
Related capabilities
No workspace crate depends on this one.
Verification
| Kind | Count |
|---|---|
| Unit tests | 19 |
| Integration tests | 0 |
| Examples | 0 |
| Doctests | 0 |
What the tests establish, by name:
clippy_argv_matches_script—src/main.rsfmt_argv_matches_script—src/main.rsformat_invocation_joins_program_and_args—src/main.rsformat_invocation_with_no_args—src/main.rshost_build_argv_matches_script—src/main.rsmanuals_check_covers_every_export_present—src/main.rsoverall_pass_false_when_any_fails—src/main.rsoverall_pass_true_for_empty_results—src/main.rsoverall_pass_true_when_all_succeed—src/main.rssummary_message_fail—src/main.rssummary_message_pass—src/main.rsthe_loop_asks_about_the_tree_not_about_one_commit—src/main.rsthe_loop_asks_whether_the_renderings_match_the_rows—src/main.rsvalidate_host_dir_accepts_existing_directory—src/main.rsvalidate_host_dir_rejects_empty—src/main.rsvalidate_host_dir_rejects_file_not_dir—src/main.rsvalidate_host_dir_rejects_nonexistent—src/main.rsvalidate_host_dir_rejects_oversized_path—src/main.rsworkspace_build_argv_matches_script—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 | 375 |
| Code lines | 306 |
| Public API items | 0 |
| Public modules | 0 |
| Tests | 19 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 1 |
| Workspace reverse dependencies | 0 |
pie showData
title Rust source composition
"Code" : 306
"Blank or comment" : 69
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.