You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migration guides document the process of transitioning between versions, architectures, or configurations in the OpenSIN-AI ecosystem. They ensure fleet-wide consistency and prevent breakage during upgrades.
11
+
12
+
---
13
+
14
+
## Migration Categories
15
+
16
+
### 1. OpenCode Config Migrations
17
+
Changes to `~/.config/opencode/opencode.json` that require fleet-wide sync:
18
+
- Model updates or additions
19
+
- Provider configuration changes
20
+
- Plugin additions/removals
21
+
- MCP server registration changes
22
+
23
+
**Sync command:**`sin-sync` (pushes Mac → OCI VM → HF VMs)
24
+
25
+
### 2. Agent Migrations
26
+
Updating agent configurations across teams:
27
+
- Team member additions/removals
28
+
- Model reassignments
29
+
- Capability registry updates
30
+
- Telegram bot re-registration
31
+
32
+
### 3. Database Migrations
33
+
Supabase schema changes:
34
+
- New tables for agent pools
35
+
- Column additions/modifications
36
+
- Index optimizations
37
+
- Data migrations
38
+
39
+
### 4. Infrastructure Migrations
40
+
OCI VM, Cloudflare Workers, HF Space changes:
41
+
- Container image updates
42
+
- Proxy configuration changes
43
+
- SSL/TLS certificate rotations
44
+
- Domain migrations
45
+
46
+
---
47
+
48
+
## Migration Protocol
49
+
50
+
1.**Announce**: Create GitHub Issue with migration details
51
+
2.**Test**: Apply migration on staging/dev environment
52
+
3.**Document**: Update migration guide with steps and rollback plan
53
+
4.**Execute**: Run migration during low-traffic window
54
+
5.**Verify**: Run health checks across all fleet nodes
55
+
6.**Sync**: Run `sin-sync` to propagate config changes
56
+
57
+
---
58
+
59
+
## Rollback Procedure
60
+
61
+
Every migration MUST have a rollback plan:
62
+
1. Revert config changes from backup
63
+
2. Restore database from snapshot
64
+
3. Run `sin-sync` with previous config
65
+
4. Verify fleet health returns to baseline
66
+
67
+
---
68
+
69
+
## Active Migrations
70
+
71
+
| Migration | Status | Date | Impact |
72
+
|-----------|--------|------|--------|
73
+
|*(none currently active)*| — | — | — |
74
+
75
+
---
76
+
77
+
## Past Migrations
78
+
79
+
| Migration | Completed | Notes |
80
+
|-----------|-----------|-------|
81
+
| Antigravity Plugin Migration | 2026-04 | All fleet nodes updated to use Antigravity OAuth |
82
+
| Bun Package Manager Mandate | 2026-03 | npm permanently banned, bun enforced |
0 commit comments