Add 10 new tasks under tasks/architecture/ for Phase 0a (ADR writing): - 9 ADR tasks (026-034) with dependency-ordered structure - 1 review checkpoint task before Phase 0b spec writing ADR dependency graph (3 generations): Gen 1 (parallel): 026, 029, 030, 031, 032, 034 Gen 2 (depends on 029): 027, 028 Gen 3 (depends on 027+028): 033 Gen 4: review checkpoint Also mark all 34 prior implementation tasks as completed — they were finished but still showing as pending in the taskgraph.
2.3 KiB
2.3 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level |
|---|---|---|---|---|---|---|---|
| setup/project-init | Initialize Cargo workspace with alknet, alknet-core, and alknet-napi crates | completed | moderate | low | project | implementation |
Description
Set up the Rust workspace from scratch. The repo currently has only docs/ and .git/. Initialize a Cargo workspace with three crate directories following the architecture spec:
alknet-core— library crate with feature flags (tls,iroh,acme). All core logic lives here.alknet— binary crate depending onalknet-core. CLI entry point.alknet-napi— napi-rs crate for the Node.js native addon (skeleton only at this stage).
Per overview.md: russh, tokio, clap, tracing, anyhow/thiserror are core dependencies. tokio-rustls, rustls, rustls-acme, iroh are feature-gated.
Acceptance Criteria
Cargo.tomlworkspace root with[workspace]members:crates/alknet-core,crates/alknet,crates/alknet-napicrates/alknet-core/Cargo.tomlwith library crate, feature flags:tls(tokio-rustls + rustls),iroh(iroh),acme(rustls-acme, impliestls)- Core dependencies listed:
russh,tokio(full),tracing,anyhow,thiserror,tokio-util crates/alknet/Cargo.tomlwith binary crate, depends onalknet-corewith default features,clapwithderivefeaturecrates/alknet-napi/Cargo.tomlwithcdylibcrate type, depends onalknet-core,napiandnapi-derivecrates/alknet-core/src/lib.rswith module skeleton:pub mod transport; pub mod client; pub mod server; pub mod auth; pub mod socks5; pub mod error;crates/alknet/src/main.rswith minimalfn main()skeletoncrates/alknet-napi/src/lib.rswith#[macro_use] extern crate napi_derive;and empty skeleton.gitignorecoverstarget/,node_modules/cargo checksucceeds for all workspace members- Feature flags resolve correctly:
cargo check -p alknet-core --features tls,--features iroh,--features acme
References
- docs/architecture/overview.md — package structure, dependencies, feature flags
- docs/architecture/napi-and-pubsub.md — alknet-napi crate purpose
Notes
To be filled by implementation agent
Summary
To be filled on completion