Skip to content

Commit 5b4bd63

Browse files
committed
C2_On_Off_Chain_Map and C4_Deployment_View
1 parent 0b4d9e0 commit 5b4bd63

10 files changed

Lines changed: 324 additions & 0 deletions

File tree

.DS_Store

2 KB
Binary file not shown.

assets/.DS_Store

6 KB
Binary file not shown.

assets/diagrams/.DS_Store

4 KB
Binary file not shown.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
config:
3+
layout: dagre
4+
---
5+
flowchart LR
6+
subgraph TB1["Trust Boundary: Public Blockchain (On-Chain)"]
7+
C2_01["C2-01 Governance SCs\nProposals • Voting • Execution"]
8+
C2_02["C2-02 Treasury SCs\nQF Matching • Disbursements"]
9+
C2_03["C2-03 Identity/PoCI SCs\nProof-of-Contribution Ledger"]
10+
C2_04["C2-04 Meta-Governance SCs\nParam/Rules Versioning"]
11+
LGR["On-chain Event Log\n(Immutable)"]
12+
end
13+
subgraph TB2["Trust Boundary: Cohere Cloud (Off-Chain Services)"]
14+
C2_05["C2-05 API Gateway\nhttps://api.coherosphere.io"]
15+
C2_06["C2-06 Resonance Service\nImpact×Alignment • Time Decay"]
16+
C2_07["C2-07 Proposal Service\nLifecycle/Quorum"]
17+
C2_08["C2-08 Funding Service\nQF Calc • Payout Orchestration"]
18+
C2_09["C2-09 Identity Aggregator\nPoCI Aggregation"]
19+
C2_10["C2-10 Guardian Service\nAlignment/Policy Checks"]
20+
C2_11["C2-11 Anomaly Service\nSybil/Spam/Outliers"]
21+
C2_12["C2-12 Metrics/SRI Service\nDashboards • KPIs"]
22+
BUS["Event/Messaging Bus"]
23+
DB["Operational DB"]
24+
LAKE["Analytics Lake"]
25+
AUD["Audit Log (off-chain mirror)"]
26+
end
27+
subgraph TB3["Trust Boundary: Clients & Hubs"]
28+
APP["Member UI (Web)\nhttps://app.coherosphere.com"]
29+
CLI["Contributor CLI/API"]
30+
HUB["Local Hub Node\n(sync w/ chain)"]
31+
end
32+
APP --> C2_05
33+
CLI --> C2_05
34+
C2_05 --> C2_06 & C2_07 & C2_08 & C2_09 & C2_10 & C2_11 & C2_12
35+
C2_06 --> BUS & DB
36+
C2_07 --> C2_01 & DB
37+
C2_08 --> C2_02 & DB
38+
C2_09 --> C2_03 & DB
39+
C2_04 --- C2_01
40+
C2_01 --- LGR
41+
C2_02 --- LGR
42+
C2_03 --- LGR
43+
C2_10 --> DB
44+
C2_11 --> DB
45+
C2_12 --> DB & LAKE
46+
AUD --- DB
47+
HUB -- periodic sync --> C2_01 & C2_03
624 KB
Loading

assets/diagrams/C2_containers/C2_On_Off_Chain_Map.svg

Lines changed: 102 additions & 0 deletions
Loading
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
config:
3+
layout: elk
4+
---
5+
flowchart TB
6+
subgraph Client["Clients (Internet)"]
7+
Web["Web App — app.coherosphere.com"]
8+
Tool["Contributor Tools (CLI/API)"]
9+
Wallet["User Wallet / Keys (non-custodial)"]
10+
end
11+
subgraph Edge["Edge / Access"]
12+
OIDC["Auth Gateway (OIDC)"]
13+
WAF["WAF / CDN"]
14+
end
15+
subgraph Svc["Microservices"]
16+
RS["Resonance Service"]
17+
PS["Proposal Service"]
18+
FS["Funding Service"]
19+
IS["Identity Aggregator (PoCI)"]
20+
GS["Guardian / Policy Service"]
21+
AS["Anomaly Service"]
22+
MS["Metrics / SRI Service"]
23+
end
24+
subgraph Cloud["Cohere Cloud (Prod)"]
25+
APIGW["API Gateway — api.coherosphere.io"]
26+
Svc
27+
EV["Event Bus"]
28+
ODB["Operational DB (HA)"]
29+
DL["Analytics Lake / Warehouse"]
30+
AUD2["Audit Mirror (immutable-like)"]
31+
MON["Monitoring / Alerts"]
32+
end
33+
subgraph Chain["Public Blockchain (Mainnet)"]
34+
GSC["Governance SCs"]
35+
TSC["Treasury SCs"]
36+
ISC["Identity / PoCI SCs"]
37+
MSC["Meta-Gov SCs"]
38+
LGR2["On-chain Logs"]
39+
end
40+
subgraph Ext["External Infra"]
41+
IPFS["IPFS / Pinning (artifacts)"]
42+
Reserve["BTC / Stable Reserve (treasury base)"]
43+
end
44+
subgraph Hubs["Local Hubs / Field Nodes"]
45+
HubNode["Hub Node (local cache, chain sync)"]
46+
HubOps["Hub Ops (programs, events)"]
47+
end
48+
Web --> WAF
49+
WAF --> OIDC
50+
OIDC --> APIGW
51+
Tool --> APIGW
52+
Wallet --- Web
53+
APIGW --> RS & PS & FS & IS & GS & AS & MS
54+
RS --> EV & ODB
55+
PS --> EV & ODB
56+
FS --> EV & ODB
57+
IS --> EV & ODB
58+
GS --> EV & ODB
59+
AS --> EV & ODB
60+
MS --> EV & ODB & DL
61+
AUD2 --- ODB
62+
MON --- APIGW & RS & PS & FS & IS & GS & AS & MS & EV & ODB
63+
PS -- propose / vote / exec --> GSC
64+
FS -- match / disburse --> TSC
65+
IS -- issue / update proofs --> ISC
66+
MSC -- param updates --- GSC
67+
GSC --- LGR2
68+
TSC --- LGR2
69+
ISC --- LGR2
70+
HubNode -- periodic sync --> GSC
71+
HubNode -- sync --> ISC
72+
FS -- reserve mgmt --> Reserve
73+
RS -- pin artifacts --> IPFS
636 KB
Loading

assets/diagrams/C4_deployment/C4_Deployment_View.svg

Lines changed: 102 additions & 0 deletions
Loading

assets/docs/.DS_Store

4 KB
Binary file not shown.

0 commit comments

Comments
 (0)