Add a clap-driven Rust CLI entrypoint with interactive and prompt modes, terminal markdown rendering, syntax-highlighted streamed output, and raw-mode input handling for the CLI workstream. The slice stays self-contained in rusty-claude-cli while preserving the existing manifest/bootstrap utilities and making workspace clippy verification pass again.\n\nConstraint: This parallel worktree owns only the CLI rendering and terminal UI slice\nConstraint: .omx artifacts must stay uncommitted\nRejected: Pull in a full TUI framework such as ratatui | unnecessary scope for the requested slice\nConfidence: medium\nScope-risk: moderate\nReversibility: clean\nDirective: Replace the demo response path with real runtime integration before treating this as production chat UX\nTested: cargo fmt; cargo test --workspace; cargo clippy --workspace --all-targets -- -D warnings; cargo run -p rusty-claude-cli -- --help; cargo run -p rusty-claude-cli -- --output-format text prompt 'stream me some markdown'\nNot-tested: Interactive raw-mode key handling in a real terminal/TTY session
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