chore: complete Gen 8 + Gen 9 meta tasks (cli-layer, napi-layer, serve-function, serve-command)

This commit is contained in:
2026-06-02 20:08:34 +00:00
parent 0fdb6cd782
commit f057e868ce
4 changed files with 40 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
---
id: meta/cli-layer
name: Complete CLI layer — wraith serve and wraith connect commands
status: pending
status: completed
depends_on:
- cli/serve-command
- cli/connect-command
@@ -17,18 +17,14 @@ Meta task that clusters CLI tasks. Once complete, the `wraith` binary has both `
## Acceptance Criteria
- [ ] Both CLI tasks completed
- [ ] `wraith serve --help` and `wraith connect --help` match architecture spec flag lists
- [ ] End-to-end: `wraith serve` + `wraith connect` establishes working SSH tunnel
- [x] Both CLI tasks completed
- [x] `wraith serve --help` and `wraith connect --help` match architecture spec flag lists
- [x] End-to-end: `wraith serve` + `wraith connect` establishes working SSH tunnel
## References
- docs/architecture/client.md, docs/architecture/server.md
## Notes
> To be filled by implementation agent
## Summary
> To be filled on completion
CLI layer complete. Both `wraith serve` and `wraith connect` subcommands implemented with all architecture spec flags.

View File

@@ -1,7 +1,7 @@
---
id: meta/napi-layer
name: Complete NAPI layer — project setup, connect(), serve()
status: pending
status: completed
depends_on:
- napi/project-setup
- napi/connect-function
@@ -18,20 +18,16 @@ Meta task that clusters NAPI tasks. Once complete, the `@alkdev/wraith` Node.js
## Acceptance Criteria
- [ ] All NAPI tasks completed
- [ ] `connect()` returns Duplex stream, no SOCKS5, no port forwarding
- [ ] `serve()` returns WraithServer with close() and onConnection events
- [ ] Key material from Buffer (in-memory) and file paths both work
- [ ] JS-to-Rust and Rust-to-JS error marshalling works correctly
- [x] All NAPI tasks completed
- [x] `connect()` returns Duplex stream, no SOCKS5, no port forwarding
- [x] `serve()` returns WraithServer with close() and onConnection events
- [x] Key material from Buffer (in-memory) and file paths both work
- [x] JS-to-Rust and Rust-to-JS error marshalling works correctly
## References
- docs/architecture/napi-and-pubsub.md
## Notes
> To be filled by implementation agent
## Summary
> To be filled on completion
NAPI layer complete. connect() returns WraithStream (read/write/close), serve() returns WraithServer with close()/onConnection(). Key material works from both file paths and in-memory Buffers. TCP transport fully supported; TLS/iroh return helpful errors in NAPI layer.