Decompose architecture into 35 atomic tasks across 10 generations for implementation

This commit is contained in:
2026-06-02 09:02:55 +00:00
parent b5c59ef3bc
commit 14dbd81195
35 changed files with 1636 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
---
id: meta/client-layer
name: Complete client layer — SOCKS5, port forwarding, channel manager, ConnectOptions
status: pending
depends_on:
- client/socks5-server
- client/port-forwarding
- client/channel-manager
- client/connect-options
scope: system
risk: high
impact: phase
level: planning
---
## Description
Meta task that clusters all client module tasks. Once complete, the client establishes SSH sessions via any transport, runs a local SOCKS5 proxy, manages port forwards, handles reconnection with exponential backoff, and shuts down gracefully.
## Acceptance Criteria
- [ ] All client tasks completed
- [ ] SOCKS5 proxy works with DNS leak prevention (SOCKS5h)
- [ ] Local and remote port forwarding work
- [ ] Channel manager handles reconnection with exponential backoff (1s → 30s cap)
- [ ] Port forwards re-registered after reconnection
- [ ] ConnectOptions programmatic struct and CLI flags available
- [ ] Graceful shutdown on SIGTERM/SIGINT
## References
- docs/architecture/client.md
## Notes
> To be filled by implementation agent
## Summary
> To be filled on completion