Skip to content

CLI Reference and TEST READY Gate

Andrew Paolucci edited this page Dec 2, 2026 · 3 revisions

CLI Reference & TEST_READY.md Gate (guap-e2e)

CLI Options (guap-e2e --help)

cargo run --offline --bin guap-e2e -- [OPTIONS]
Flag Default Description
--tier <1|2|3|4> (None) Select specific E2E tier(s) to run (repeatable, e.g., --tier 1 --tier 3).
--all false Run all 4 E2E tiers (combine with --r4-check to run the full 396-check M6 gate + 56-rule R4 scan).
--r4-check false Run the automated 56-rule R4 exclusion and compliance scanner across --guap-root (PE/ELF/Mach-O binaries, .rs/.py/.ps1/.sh/.c/.h/.ts/.js sources, AST, CLI & MCP).
--target <TARGET> all Filter to all, guap, guap-kit, forensics2rust, chrome2rust, mail2rust, mail2mail, android2rust, winctl2rust, net2rust, sys2rust, fs2rust, or robocopy2rust.
--exclude-dir <NAME> (None) Additional directory name(s) to exclude during R4 scanning (repeatable; also honors R4_EXCLUDE_DIRS and .r4ignore).
--guap-root <PATH> $GUAP_ROOT / .. Root directory containing the sibling GUAP workspaces.
--fixtures-dir <PATH> TempDir Materialize the 79 deterministic fixtures into an explicit directory instead of a temporary folder.
--skip-cargo-build false Reuse existing target/debug binaries without invoking cargo build.
--json false Emit machine-readable JSON output to stdout.
--write-test-ready <PATH> (None) Write a formatted TEST_READY.md sign-off report upon gate completion.

Common Gate Invocations

# Full M6 Gate across all 13 public GUAP code workspaces + TEST_READY.md generation
cargo run --offline --bin guap-e2e -- --all --r4-check --write-test-ready TEST_READY.md

# Target a single suite during iterative development (JSON output)
cargo run --offline --bin guap-e2e -- --tier 1 --tier 3 --target net2rust --json

# Standalone R4 compliance check against sibling GUAP root
cargo run --offline --bin guap-e2e -- --r4-check --guap-root .. --json