From f8e06297b2c5201d5b4793e10d4b4ab6887e47e9 Mon Sep 17 00:00:00 2001
From: _ <>
Date: Thu, 27 Mar 2025 08:59:51 +0000
Subject: [PATCH] feat: new flow

---
 README.md     |  9 ++++++---
 signupflow.md | 33 ++++++++++++++-------------------
 2 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/README.md b/README.md
index 6dc131c..5cfd01c 100644
--- a/README.md
+++ b/README.md
@@ -26,19 +26,22 @@ The architecture looks like this:
 ```mermaid
 architecture-beta
     group user(internet)[End User PC]
+    group dvms(internet)[DVM Server]
     group home(logos:aws-s3)[Private Server]
     group cloud(cloud)[Public Servers]
 
     service browser(internet)[Electron App] in user
     service aw(disk)[Activity Watch] in user
 
-    service dvm(logos:aws-ec2)[DVM] in home
+    service dvm(logos:aws-ec2)[DVM] in dvms
+    service pow[PoW API] in home
     service k(logos:aws-ec2)[Kimai] in home
     service db(database)[Database] in home
 
     browser:R -- L:aw
-    dvm:T -- B:db
-    dvm:T -- B:k
+    dvm:T -- B:pow
+    pow:T -- B:k
+    pow:T -- B:db
     dvm:T -- B:relay
     dvm:T -- B:blossom
 
diff --git a/signupflow.md b/signupflow.md
index e783849..28dd2b6 100644
--- a/signupflow.md
+++ b/signupflow.md
@@ -8,39 +8,34 @@ Kind numbers are all based on a "2029" root, which is the [BIP-39 word for "work
 
 |Kind|Name|Type|Comments|
 |---|---|---|---|
-|2029000|POST Client|Gift-Wrapped|Register a POW client|
-|2029001|Publish Instance|Public, replaceable|Announce POW instance|
+|2029|POST Client|Gift-Wrapped|Register a POW client|
 
 
-## Admin (bootstrap) flow:
+## SuperAdmin Signup flow:
 
 ```mermaid
 sequenceDiagram
     autoNumber
-    participant d as DVM
+    participant d as POW Server
 
     participant e as Electron App
-    actor u as Administrator
+    actor u as SuperAdmin
     
-    Note over d: DVM started &<br>npub is written<br>to console
+    Note over d: DVM initiated <br>with relays &<br>Admin Npubs
+    Note over d: DVM nProfile<br>logged to console
+    e->>u: Download App
     u->>e: Sign in
+    Note over e: Client npub <br>created
     u->>e: "Add Org"
-    u->>e: Paste DVM <br>nprofile
-    u->>e: Sign 000
-    e->>d: Kind 000
-    Note over d: Validate admin<br>& update DB<br>with Client info
-    e->>d: GET INFO Job
+    u->>e: Paste DVM<br> nProfile
+    u->>e: Sign 21120 <br> AUTH
+    e->>d: POST CLIENT 
+    Note over d: Validate event<br>& update DB<br>with Client info
     d->>e: Job Response
 
-    Note over e: Client registered<br>& DVM validated
-
-    Note over e: If org info <br>unpublished:
-    e->>u: Notify admin
-    u->>e: Sign 001
-    Note over e: 001 published
-
-
+    Note over e: Client registered
 
+    Note over e: Additional 21120's <br> signed by client
 
     
 ```