Run: node {baseDir}/generate-birth-id.js
This will generate a unique Birth ID for new instances, create an Ethereum wallet, and generate a cryptographic signature.
If IS_CLONE=true is set, it will automatically generate a clone Birth ID.
Return the generated Birth ID, wallet address, and signature verification status.
Ask for password if not provided (use env BIRTH_PRIVATE_KEY_PASSWORD if set).
Run: node {baseDir}/pack.js [password]
Return the generated tar.gz path.
Ask for package path and target dir (default ~/openclaw-new-lobster).
Run: node {baseDir}/unpack.js
IMPORTANT: After unpacking, remind user to mark as clone:
```bash
export IS_CLONE=true
node ~/.openclaw/birth-system/clone-init.js
```
Or run directly: node {baseDir}/clone-init.js (requires IS_CLONE=true env var)
This will generate new birth_id, set parent_id, and build family tree.
Run: node {baseDir}/whoami.js
Return full output including:
Check if IS_CLONE=true is set. If not, instruct user to run:
```bash
export IS_CLONE=true
node {baseDir}/clone-init.js
```
This will:
Return new birth_id and family tree.
Run: node {baseDir}/whoami.js --verbose
Return detailed family tree showing complete ancestor chain with creation dates.
If user missed clone initialization after unpacking, guide them to:
```bash
tar -xzf birth-pack-xxx.tar.gz ./.openclaw/birth-info.json
cat .openclaw/birth-info.json | grep birth_id
```
```bash
node {baseDir}/fix-clone.js
```
This will:
Return updated birth_id and family tree.
Require password (env or ask).
Run: node {baseDir}/decrypt-wallet.js ~/.openclaw/birth-info.json [password]
Return ONLY wallet address and success message, NEVER show full private key.
Explain it's for unique agent identity and cloning tracking with full family tree lineage tracking.
Security: All operations local, no network calls. Passwords via env only.
Migration Notes:
export IS_CLONE=true before running clone-init.js共 1 个版本