docs(node1): add safe deploy workflow and snapshot

Document canonical sync between GitHub and NODA1 and add a snapshot script to capture runtime state without editing production by hand.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Apple
2026-02-10 05:33:32 -08:00
parent c1cc5591f6
commit 0d8582d552
3 changed files with 127 additions and 0 deletions

View File

@@ -26,6 +26,19 @@
| **Project Root** | `/opt/microdao-daarion/` |
| **Docker Network** | `dagi-network` |
### NODA1 Sync Policy (Repo ↔ Runtime)
**Канонічна правда:** GitHub `origin/main`.
На NODA1:
- `/opt/microdao-daarion.repo` — canonical deployment checkout (git worktree на `origin/main`), деплой робимо тільки звідси.
- `/opt/microdao-daarion` — legacy checkout; не використовувати для `git pull/rebase`, якщо історія роз'їхалась.
**Safe deploy runbook:** `NODA1-SAFE-DEPLOY.md`
**Runtime snapshot:** `scripts/node1/snapshot_node1.sh`
---
## 🎯 AGENT REGISTRY (Single Source of Truth)