Rename all crates, CLI commands, constants, type names, doc comments, and documentation from wraith to alknet. Includes wire-protocol changes: ALPN wraith-ssh -> alknet-ssh, reserved destination prefix wraith- -> alknet-, SSH auth username wraith -> alknet.
1.6 KiB
1.6 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level | |
|---|---|---|---|---|---|---|---|---|
| setup/test-infrastructure | Set up test infrastructure with tokio test helpers and integration test skeleton | pending |
|
narrow | trivial | component | implementation |
Description
Set up test infrastructure so that subsequent tasks can write tests as they implement. Add test helpers for creating in-memory transport streams (mock transport), and skeleton integration test files for each component.
The mock transport is critical — it lets us test SSH client/server flows without actual network I/O, per ADR-001's consequence that "mock transports can produce in-memory streams."
Acceptance Criteria
crates/alknet-core/tests/directory with empty integration test skeletons:transport_tests.rs,client_tests.rs,server_tests.rs,auth_tests.rscrates/alknet-core/src/testutil.rsmodule (behind#[cfg(test)]or atestutilfeature) exportingMockTransportandMockStreamMockStreamwrapstokio::io::DuplexStreamimplementingAsyncRead + AsyncWrite + Unpin + SendMockTransportimplementsTransporttrait (once defined) returningMockStreamviaconnect()MockTransportAcceptorimplementsTransportAcceptor(once defined) returning pairedMockStreamviaaccept()cargo testsucceeds (even if no real tests yet)
References
- docs/architecture/transport.md — Transport trait contract
- docs/architecture/decisions/001-pluggable-transport.md — "mock transports can produce in-memory streams"
Notes
To be filled by implementation agent
Summary
To be filled on completion