blob: c91fc1bffe7334b45f2b537b0db8d9a461fe0feb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Ship v2 Rebuild Progress
Tracking rebuilding ship for agent-first JSON interface.
## Status: IN PROGRESS
## Completed
- [x] Design docs (SHIP_V2.md, SPEC.md)
- [x] JSON output types and helpers (`internal/output`)
- [x] Auto-detection logic (`internal/detect`)
- [x] Error codes and exit codes
- [x] New CLI structure (`ship [PATH]` as primary)
- [x] Deploy orchestration with placeholder implementations
## Current Phase: Subcommand Implementations
- [x] Static site deploy (rsync + Caddyfile)
- [x] Docker deploy (build + systemd + Caddy)
- [x] Binary deploy (scp + systemd + Caddy)
- [x] Health check implementation
- [x] TTL support (server-side)
- [x] Port allocation (server-side)
## Upcoming
- [ ] TTL cleanup timer (server-side cron)
- [ ] `ship host init` (update to match spec)
- [ ] `ship list/status/logs/remove` implementations
- [ ] Wire up v2 commands in main.go (feature flag or replace)
## Commits
- `5b88935` feat(v2): add output and detect packages
- `8094639` feat(v2): add CLI structure and deploy orchestration
---
## Notes
- Branch: `agent-mode`
- Keep v1 code for reference until v2 is working
- Test with real deploys before merging to main
|