The Rust compatibility layer needed real tool implementations so downstream code can expose the core Claude-style Bash, Read, Write, Edit, Glob, and Grep surfaces instead of an empty registry. This adds a shared Tool trait, matching input schemas, executable local behaviors, and regression tests, while also fixing the workspace clippy configuration and a CLI lint blocker so the required verification gates run cleanly.\n\nConstraint: Tool schemas must match Claude Code field names and required keys\nConstraint: Do not commit .omx state artifacts\nRejected: Scope tools as schema-only stubs | would not satisfy execute() and test requirements\nRejected: Add heavier diff/PDF/sandbox dependencies now | unnecessary for the requested compatibility baseline\nConfidence: medium\nScope-risk: moderate\nReversibility: clean\nDirective: If you deepen tool semantics later, preserve the current schema contract and keep workspace-wide clippy/test green\nTested: cargo fmt --all && cargo clippy --workspace --all-targets --all-features -- -D warnings && cargo test --workspace\nNot-tested: Full parity with Claude Code edge behaviors such as PDF extraction, non-empty diff hunks, and sandbox/timeout enforcement
This creates a new rust/ workspace for the compatibility-first port effort, adds a README that explains the milestone and verification commands, links the new Rust docs from the repository root, and seeds a minimal CLI/runtime/registry/harness skeleton that can read the upstream TypeScript sources.
Constraint: Initial delivery had to stay inside rust/ except for the root README pointer
Constraint: The workspace started empty, so the first milestone needed proof-oriented scaffolding before broader porting
Rejected: Wait for tmux worker integration output | local verified implementation finished first and worker merges conflicted with local files
Rejected: Start with a feature-complete CLI rewrite | too risky without manifest and bootstrap harness scaffolding
Confidence: medium
Scope-risk: moderate
Reversibility: clean
Directive: Grow compatibility from extracted manifests and tests before claiming drop-in parity
Tested: cargo fmt --all; cargo check --workspace; cargo test --workspace; cargo run -p rusty-claude-cli -- --help; cargo run -p rusty-claude-cli -- dump-manifests; cargo run -p rusty-claude-cli -- bootstrap-plan
Not-tested: Real command execution parity; state/config fixture round-trips; bridge/MCP/plugin protocol replay
Related: /home/bellman/Workspace/rusty-claude-code/.omx/plans/prd-rust-port-claude-code-dropin-cli.md
Related: /home/bellman/Workspace/rusty-claude-code/.omx/plans/test-spec-rust-port-claude-code-dropin-cli.md