Files
alknet/tasks/meta/client-layer.md
glm-5.1 5c820a41e9 tasks: decompose Phase 0a ADR foundation and mark prior tasks completed
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.
2026-06-07 08:55:33 +00:00

40 lines
1.1 KiB
Markdown

---
id: meta/client-layer
name: Complete client layer — SOCKS5, port forwarding, channel manager, ConnectOptions
status: completed
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