GitHub Action commited on
Commit
666a7de
·
1 Parent(s): 6c36acc

Sync from GitHub with Git LFS

Browse files
Files changed (48) hide show
  1. docs/dht_protocol.md +48 -8
  2. structured_md/HMP-Roadmap.md +5 -5
  3. structured_md/README.md +10 -10
  4. structured_md/README_de.md +10 -10
  5. structured_md/README_fr.md +10 -10
  6. structured_md/README_ja.md +10 -10
  7. structured_md/README_ko.md +10 -10
  8. structured_md/README_ru.md +10 -10
  9. structured_md/README_uk.md +10 -10
  10. structured_md/README_zh.md +10 -10
  11. structured_md/agents/readme.md +4 -4
  12. structured_md/audits/Ethics-audits-1.md +2 -2
  13. structured_md/audits/Ethics-consolidated_audits-1.md +4 -4
  14. structured_md/audits/HMP-0003-consolidated_audit.md +5 -5
  15. structured_md/docs/Basic-agent-sim.md +5 -5
  16. structured_md/docs/Distributed-Cognitive-Systems.md +1 -1
  17. structured_md/docs/Enlightener.md +5 -5
  18. structured_md/docs/HMP-0001.md +7 -7
  19. structured_md/docs/HMP-0002.md +8 -8
  20. structured_md/docs/HMP-0003.md +8 -8
  21. structured_md/docs/HMP-0004-v4.1.md +8 -8
  22. structured_md/docs/HMP-0004.md +8 -8
  23. structured_md/docs/HMP-Agent-API.md +1 -1
  24. structured_md/docs/HMP-Agent-Architecture.md +7 -7
  25. structured_md/docs/HMP-Agent-Network-Flow.md +4 -4
  26. structured_md/docs/HMP-Agent-Overview.md +4 -4
  27. structured_md/docs/HMP-Ethics.md +4 -4
  28. structured_md/docs/HMP-Short-Description_de.md +5 -5
  29. structured_md/docs/HMP-Short-Description_en.md +5 -5
  30. structured_md/docs/HMP-Short-Description_fr.md +5 -5
  31. structured_md/docs/HMP-Short-Description_ja.md +4 -4
  32. structured_md/docs/HMP-Short-Description_ko.md +4 -4
  33. structured_md/docs/HMP-Short-Description_ru.md +4 -4
  34. structured_md/docs/HMP-Short-Description_uk.md +4 -4
  35. structured_md/docs/HMP-Short-Description_zh.md +4 -4
  36. structured_md/docs/HMP-agent-REPL-cycle.md +11 -7
  37. structured_md/docs/HMP_Hyperon_Integration.md +4 -4
  38. structured_md/docs/MeshNode.md +2 -2
  39. structured_md/docs/agents/HMP-Agent-Enlightener.md +3 -3
  40. structured_md/docs/dht_protocol.md +54 -13
  41. structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md +1 -1
  42. structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md +6 -6
  43. structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md +4 -4
  44. structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md +4 -4
  45. structured_md/docs/publics/Habr_Distributed-Cognition.md +3 -3
  46. structured_md/docs/schemas/README.md +1 -1
  47. structured_md/iteration.md +5 -5
  48. structured_md/iteration_ru.md +4 -4
docs/dht_protocol.md CHANGED
@@ -72,24 +72,50 @@
72
  "id": "did:example:123",
73
  "name": "Agent_X",
74
  "pubkey": "base58...",
75
- "addresses": [ { ... }, { ... } ]
 
 
 
 
 
 
 
 
 
76
  }
 
 
 
 
 
 
77
  ```
78
 
 
 
79
  ### 4.2 PEER\_EXCHANGE\_REQUEST / RESPONSE
80
 
81
- Запрос и обмен известными пирами.
82
 
83
  ```json
84
  {
85
  "type": "PEER_EXCHANGE_REQUEST",
86
  "id": "did:example:123",
87
  "name": "Agent_X",
88
- "addresses": [ { ... } ]
 
 
 
 
 
 
 
 
 
89
  }
90
  ```
91
 
92
- Ответ:
93
 
94
  ```json
95
  [
@@ -97,19 +123,33 @@
97
  "id": "did:example:456",
98
  "name": "Agent_Y",
99
  "pubkey": "base58...",
100
- "addresses": [ { ... } ]
 
 
 
 
 
 
 
 
 
101
  }
102
  ]
103
  ```
104
 
105
  ---
106
 
107
- ## 5. Обработка ошибок и нестыковок
108
 
 
 
 
 
 
 
109
  * **Разные pubkey для одного DID** → принимается **первый**, остальные игнорируются.
110
  * **Адрес подписан чужим ключом** → запись отклоняется.
111
- * **Адрес без PoW / с некорректным PoW** → запись отклоняется.
112
- * **Несколько интерфейсов** → сохраняются все; новый с более свежей датой заменяет старый.
113
 
114
  ---
115
 
 
72
  "id": "did:example:123",
73
  "name": "Agent_X",
74
  "pubkey": "base58...",
75
+ "addresses": [
76
+ {
77
+ "addr": "tcp://1.2.3.4:4000",
78
+ "nonce": 123456,
79
+ "pow_hash": "0000abf39d...",
80
+ "difficulty": 22,
81
+ "datetime": "2025-09-14T21:00:00Z",
82
+ "type": "internet"
83
+ }
84
+ ]
85
  }
86
+ ````
87
+
88
+ Все `addresses` должны содержать **валидный PoW**, проверяемый по схеме:
89
+
90
+ ```
91
+ pow_hash = sha256(DID + addr + datetime + nonce)
92
  ```
93
 
94
+ ---
95
+
96
  ### 4.2 PEER\_EXCHANGE\_REQUEST / RESPONSE
97
 
98
+ Запрос известных пиров:
99
 
100
  ```json
101
  {
102
  "type": "PEER_EXCHANGE_REQUEST",
103
  "id": "did:example:123",
104
  "name": "Agent_X",
105
+ "addresses": [
106
+ {
107
+ "addr": "udp://1.2.3.4:4010",
108
+ "nonce": 987654,
109
+ "pow_hash": "0000123def...",
110
+ "difficulty": 22,
111
+ "datetime": "2025-09-14T21:05:00Z",
112
+ "type": "lan:192.168.1.0"
113
+ }
114
+ ]
115
  }
116
  ```
117
 
118
+ Ответ содержит список пиров (каждый с DID, pubkey и адресами, у которых тоже должен быть валидный PoW):
119
 
120
  ```json
121
  [
 
123
  "id": "did:example:456",
124
  "name": "Agent_Y",
125
  "pubkey": "base58...",
126
+ "addresses": [
127
+ {
128
+ "addr": "tcp://5.6.7.8:4020",
129
+ "nonce": 22222,
130
+ "pow_hash": "0000a1b2c3...",
131
+ "difficulty": 22,
132
+ "datetime": "2025-09-14T21:10:00Z",
133
+ "type": "internet"
134
+ }
135
+ ]
136
  }
137
  ]
138
  ```
139
 
140
  ---
141
 
142
+ ## 5. Правила валидации адресов и пиров
143
 
144
+ * Каждый `address` в DISCOVERY и PEER_EXCHANGE должен содержать валидный PoW:
145
+ * `pow_hash = sha256(DID + addr + datetime + nonce)`
146
+ * `difficulty` соответствует локальной политике (например, 22 ведущих нуля).
147
+ * Если PoW некорректен → адрес игнорируется.
148
+ * `datetime` фиксируется при генерации PoW и не должен изменяться.
149
+ * Если приходит новый адрес с той же парой `(DID + addr)` и более свежим `datetime` → он заменяет старый.
150
  * **Разные pubkey для одного DID** → принимается **первый**, остальные игнорируются.
151
  * **Адрес подписан чужим ключом** → запись отклоняется.
152
+ * **Несколько интерфейсов** сохраняются все, кроме явных дубликатов.
 
153
 
154
  ---
155
 
structured_md/HMP-Roadmap.md CHANGED
@@ -5,13 +5,13 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
- - JSON
12
  - Ethics
13
- - Mesh
 
14
  - CogSync
 
 
 
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
 
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - Ethics
9
+ - JSON
10
+ - HMP
11
  - CogSync
12
+ - Agent
13
+ - Mesh
14
+ - EGP
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
structured_md/README.md CHANGED
@@ -5,21 +5,21 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
8
  - cognitive-architecture
 
 
 
 
 
 
 
9
  - REPL
 
10
  - Agent
11
- - mesh-protocol
12
  - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
- - hmp
18
- - Ethics
19
  - Scenarios
20
- - Mesh
21
- - distributed-ai
22
- - MeshConsensus
23
  ---
24
 
25
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - mesh-protocol
9
  - cognitive-architecture
10
+ - hmp
11
+ - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
+ - MeshConsensus
16
+ - HMP
17
  - REPL
18
+ - CogSync
19
  - Agent
20
+ - Mesh
21
  - EGP
 
 
 
 
 
 
22
  - Scenarios
 
 
 
23
  ---
24
 
25
 
structured_md/README_de.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_fr.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_ja.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_ko.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_ru.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_uk.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/README_zh.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - cognitive-architecture
9
- - REPL
10
- - Agent
11
  - mesh-protocol
12
- - EGP
13
- - CogSync
14
- - HMP
15
- - GMP
16
- - JSON
17
  - hmp
18
- - Ethics
19
- - Mesh
20
  - distributed-ai
 
 
 
21
  - MeshConsensus
 
 
 
 
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - mesh-protocol
9
+ - cognitive-architecture
 
 
 
 
10
  - hmp
 
 
11
  - distributed-ai
12
+ - GMP
13
+ - Ethics
14
+ - JSON
15
  - MeshConsensus
16
+ - HMP
17
+ - REPL
18
+ - CogSync
19
+ - Agent
20
+ - Mesh
21
+ - EGP
22
  ---
23
 
24
 
structured_md/agents/readme.md CHANGED
@@ -5,11 +5,11 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - HMP
11
- - JSON
12
  - Ethics
 
 
 
 
13
  - Mesh
14
  ---
15
 
 
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - Ethics
9
+ - JSON
10
+ - HMP
11
+ - REPL
12
+ - Agent
13
  - Mesh
14
  ---
15
 
structured_md/audits/Ethics-audits-1.md CHANGED
@@ -5,10 +5,10 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
8
- - Agent
9
  - JSON
10
  - HMP
11
- - Ethics
12
  - Mesh
13
  ---
14
 
 
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
8
+ - Ethics
9
  - JSON
10
  - HMP
11
+ - Agent
12
  - Mesh
13
  ---
14
 
structured_md/audits/Ethics-consolidated_audits-1.md CHANGED
@@ -5,12 +5,12 @@ description: This document consolidates proposed improvements from multiple AI a
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
8
- - Agent
9
- - HMP
10
- - JSON
11
  - Ethics
12
- - Scenarios
 
 
13
  - Mesh
 
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
 
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
+ - JSON
10
+ - HMP
11
+ - Agent
12
  - Mesh
13
+ - Scenarios
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
structured_md/audits/HMP-0003-consolidated_audit.md CHANGED
@@ -5,14 +5,14 @@ description: Сводный аудит предложений по улучше
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
 
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
 
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
8
+ - Ethics
 
 
9
  - JSON
10
  - MeshConsensus
11
+ - HMP
 
12
  - CogSync
13
+ - Agent
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
structured_md/docs/Basic-agent-sim.md CHANGED
@@ -4,14 +4,14 @@ description: 'В HMP-протоколе предусмотрены два тип
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
- - Agent
 
 
8
  - REPL
9
- - EGP
10
  - CogSync
11
- - HMP
12
- - GMP
13
  - Mesh
14
- - MeshConsensus
15
  ---
16
 
17
 
 
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
+ - GMP
8
+ - MeshConsensus
9
+ - HMP
10
  - REPL
 
11
  - CogSync
12
+ - Agent
 
13
  - Mesh
14
+ - EGP
15
  ---
16
 
17
 
structured_md/docs/Distributed-Cognitive-Systems.md CHANGED
@@ -6,8 +6,8 @@ description: '## Введение Современные ИИ-системы в
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
9
- - JSON
10
  - CogSync
 
11
  - Mesh
12
  - HMP
13
  ---
 
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
 
9
  - CogSync
10
+ - JSON
11
  - Mesh
12
  - HMP
13
  ---
structured_md/docs/Enlightener.md CHANGED
@@ -5,13 +5,13 @@ description: '### 🧠 Enlightener Agent `Enlightener` — специализи
5
  аудитора. Может действовать как отдельный узел ...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
- - JSON
12
  - Ethics
13
- - Mesh
14
  - MeshConsensus
 
 
 
 
15
  ---
16
 
17
  ## 📄 Enlightener.md
 
5
  аудитора. Может действовать как отдельный узел ...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - Ethics
9
+ - JSON
10
  - MeshConsensus
11
+ - HMP
12
+ - Agent
13
+ - Mesh
14
+ - EGP
15
  ---
16
 
17
  ## 📄 Enlightener.md
structured_md/docs/HMP-0001.md CHANGED
@@ -5,16 +5,16 @@ description: '**Request for Comments: HMP-0001** **Category:** Experimental
5
  HyperCortex Mesh Protocol (HMP) defines a...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Mesh
17
  - MeshConsensus
 
 
 
 
 
 
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
 
5
  HyperCortex Mesh Protocol (HMP) defines a...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
structured_md/docs/HMP-0002.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0002** **Category:** Experimental
5
  Abstract In an era where artifici...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Scenarios
17
- - Mesh
18
  - MeshConsensus
 
 
 
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
 
5
  Abstract In an era where artifici...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
 
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
+ - Scenarios
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
structured_md/docs/HMP-0003.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0003** **Category:** Experimental
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Scenarios
17
- - Mesh
18
  - MeshConsensus
 
 
 
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
 
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
 
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
+ - Scenarios
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
structured_md/docs/HMP-0004-v4.1.md CHANGED
@@ -5,17 +5,17 @@ description: '**Document ID**: HMP-0004 **Status**: Final (Published) **Category
5
  ChatGPT, Agent-Gleb, Copilot, Gemini, C...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Scenarios
17
- - Mesh
18
  - MeshConsensus
 
 
 
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
 
5
  ChatGPT, Agent-Gleb, Copilot, Gemini, C...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
 
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
+ - Scenarios
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
structured_md/docs/HMP-0004.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0004** **Category:** Experimental
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Scenarios
17
- - Mesh
18
  - MeshConsensus
 
 
 
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
 
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
 
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
+ - Scenarios
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
structured_md/docs/HMP-Agent-API.md CHANGED
@@ -5,8 +5,8 @@ description: 'Этот документ описывает **базовый API*
5
  См. также: [HMP-Agent-Overview.md](./HMP-A...'
6
  type: Article
7
  tags:
8
- - JSON
9
  - Agent
 
10
  - Mesh
11
  - HMP
12
  ---
 
5
  См. также: [HMP-Agent-Overview.md](./HMP-A...'
6
  type: Article
7
  tags:
 
8
  - Agent
9
+ - JSON
10
  - Mesh
11
  - HMP
12
  ---
structured_md/docs/HMP-Agent-Architecture.md CHANGED
@@ -5,16 +5,16 @@ description: '## 🧠 Архитектура HMP-Агента Этот доку
5
  HyperCortex. Агент выполняет функц...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - EGP
11
- - CogSync
12
- - HMP
13
  - GMP
14
- - JSON
15
  - Ethics
16
- - Mesh
17
  - MeshConsensus
 
 
 
 
 
 
18
  ---
19
 
20
  # HMP-Agent-Architecture.md
 
5
  HyperCortex. Агент выполняет функц...'
6
  type: Article
7
  tags:
 
 
 
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
+ - EGP
18
  ---
19
 
20
  # HMP-Agent-Architecture.md
structured_md/docs/HMP-Agent-Network-Flow.md CHANGED
@@ -5,12 +5,12 @@ description: '### Взаимодействие между агентами HMP-
5
  `Cognitive Core / Connector`, `MeshNode` и `Enlight...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
- - JSON
12
  - Ethics
 
 
 
13
  - Mesh
 
14
  ---
15
 
16
  ## 🔄 HMP-Agent-Network-Flow.md
 
5
  `Cognitive Core / Connector`, `MeshNode` и `Enlight...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - Ethics
9
+ - JSON
10
+ - HMP
11
+ - Agent
12
  - Mesh
13
+ - EGP
14
  ---
15
 
16
  ## 🔄 HMP-Agent-Network-Flow.md
structured_md/docs/HMP-Agent-Overview.md CHANGED
@@ -5,11 +5,11 @@ description: '| Тип | Название | Роль
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - HMP
11
- - JSON
12
  - Ethics
 
 
 
 
13
  - Mesh
14
  ---
15
 
 
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - Ethics
9
+ - JSON
10
+ - HMP
11
+ - REPL
12
+ - Agent
13
  - Mesh
14
  ---
15
 
structured_md/docs/HMP-Ethics.md CHANGED
@@ -5,12 +5,12 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - HMP
11
  - Ethics
12
- - Scenarios
 
 
13
  - Mesh
 
14
  ---
15
 
16
  # HMP-Ethics.md
 
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
+ - HMP
10
+ - REPL
11
+ - Agent
12
  - Mesh
13
+ - Scenarios
14
  ---
15
 
16
  # HMP-Ethics.md
structured_md/docs/HMP-Short-Description_de.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Datum:** Juli 2025 --- ## Was ist HMP?
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
  - GMP
 
12
  - JSON
13
  - MeshConsensus
14
- - Ethics
15
- - Mesh
16
  - CogSync
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
 
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
 
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Agent
15
+ - Mesh
16
+ - EGP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
structured_md/docs/HMP-Short-Description_en.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Date:** July 2025 --- ## What is HMP? T
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
  - GMP
 
12
  - JSON
13
  - MeshConsensus
14
- - Ethics
15
- - Mesh
16
  - CogSync
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
 
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
 
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Agent
15
+ - Mesh
16
+ - EGP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
structured_md/docs/HMP-Short-Description_fr.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version :** RFC v4.0 **Date :** Juillet 2025 --- ## Qu’est-c
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
  - GMP
 
12
  - JSON
13
  - MeshConsensus
14
- - Ethics
15
- - Mesh
16
  - CogSync
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
 
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
 
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Agent
15
+ - Mesh
16
+ - EGP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
structured_md/docs/HMP-Short-Description_ja.md CHANGED
@@ -4,14 +4,14 @@ description: '**バージョン:** RFC v4.0 **日付:** 2025年7月 --- ## HMP
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
7
- - EGP
8
- - HMP
9
  - GMP
 
10
  - JSON
11
  - MeshConsensus
12
- - Ethics
13
- - Mesh
14
  - CogSync
 
 
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
 
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
 
 
7
  - GMP
8
+ - Ethics
9
  - JSON
10
  - MeshConsensus
11
+ - HMP
 
12
  - CogSync
13
+ - Mesh
14
+ - EGP
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
structured_md/docs/HMP-Short-Description_ko.md CHANGED
@@ -5,14 +5,14 @@ description: '**버전:** RFC v4.0 **날짜:** 2025년 7월 --- ## HMP란? **
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - GMP
 
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
 
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
structured_md/docs/HMP-Short-Description_ru.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версия:** RFC v4.0 **Дата:** Июль 2025 --- ## Ч
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - GMP
 
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
 
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
structured_md/docs/HMP-Short-Description_uk.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версія:** RFC v4.0 **Дата:** Липень 2025 --- #
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - GMP
 
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
 
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
structured_md/docs/HMP-Short-Description_zh.md CHANGED
@@ -5,14 +5,14 @@ description: '**版本:** RFC v4.0 **日期:** 2025年7月 --- ## 什么是 HM
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - GMP
 
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
 
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
 
 
8
  - GMP
9
+ - Ethics
10
  - JSON
11
  - MeshConsensus
12
+ - HMP
 
13
  - CogSync
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
structured_md/docs/HMP-agent-REPL-cycle.md CHANGED
@@ -4,23 +4,27 @@ description: 'Структура БД, используемая в докуме
4
  является основой HMP-агента [Cognitive Core](HMP-Agent-Ove...'
5
  type: Article
6
  tags:
7
- - Agent
8
- - REPL
9
  - CCore
10
- - CogSync
11
- - HMP
12
  - GMP
13
- - JSON
14
  - Ethics
15
- - Mesh
16
  - MeshConsensus
 
 
 
 
 
17
  ---
18
 
19
  # 🧠 HMP-Agent: REPL-цикл взаимодействия
20
 
21
  Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_structure.sql)
22
 
23
- REPL-цикл является основой HMP-агента [Cognitive Core](HMP-Agent-Overview.md)
 
 
 
 
24
 
25
  ---
26
 
 
4
  является основой HMP-агента [Cognitive Core](HMP-Agent-Ove...'
5
  type: Article
6
  tags:
 
 
7
  - CCore
 
 
8
  - GMP
 
9
  - Ethics
10
+ - JSON
11
  - MeshConsensus
12
+ - HMP
13
+ - REPL
14
+ - CogSync
15
+ - Agent
16
+ - Mesh
17
  ---
18
 
19
  # 🧠 HMP-Agent: REPL-цикл взаимодействия
20
 
21
  Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_structure.sql)
22
 
23
+ REPL-цикл является основой HMP-агента [Cognitive Core](HMP-Agent-Overview.md).
24
+
25
+ Поиск других агентов осуществляется в соответствии с [DHT спецификацией](dht_protocol.md).
26
+
27
+ Для взаимодействия с другими агентами он использует [HMP спецификацию](HMP-0004-v4.1.md) и [этические стандарты](HMP-Ethics.md).
28
 
29
  ---
30
 
structured_md/docs/HMP_Hyperon_Integration.md CHANGED
@@ -5,13 +5,13 @@ description: '> **Status:** Draft – July 2025 > This document outlines the tec
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
 
 
 
8
  - Agent
 
9
  - EGP
10
- - HMP
11
- - JSON
12
  - Scenarios
13
- - Mesh
14
- - CogSync
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
 
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
+ - JSON
9
+ - HMP
10
+ - CogSync
11
  - Agent
12
+ - Mesh
13
  - EGP
 
 
14
  - Scenarios
 
 
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
structured_md/docs/MeshNode.md CHANGED
@@ -5,11 +5,11 @@ description: '### 🌐 MeshNode `MeshNode` — агент/демон, отве
5
  агента или вынесен в отдельный процесс/се...'
6
  type: Article
7
  tags:
8
- - Agent
9
  - JSON
10
  - HMP
11
- - Mesh
12
  - CogSync
 
 
13
  ---
14
 
15
  ## 📄 MeshNode.md
 
5
  агента или вынесен в отдельный процесс/се...'
6
  type: Article
7
  tags:
 
8
  - JSON
9
  - HMP
 
10
  - CogSync
11
+ - Agent
12
+ - Mesh
13
  ---
14
 
15
  ## 📄 MeshNode.md
structured_md/docs/agents/HMP-Agent-Enlightener.md CHANGED
@@ -5,10 +5,10 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An **
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
- - HMP
11
  - Ethics
 
 
 
12
  - Mesh
13
  ---
14
 
 
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
+ - HMP
10
+ - REPL
11
+ - Agent
12
  - Mesh
13
  ---
14
 
structured_md/docs/dht_protocol.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: DHT Protocol Specification (Draft)
3
  description: '## 1. Общие положения * DHT-протокол предназначен для обмена информацией
4
  о пирах между агентами. * Используется **DID** (Decentralized Identifier) как уникальный
5
  идентификатор агента. * Для проверки ...'
@@ -9,7 +9,7 @@ tags:
9
  - JSON
10
  ---
11
 
12
- # DHT Protocol Specification (Draft)
13
 
14
  ## 1. Общие положения
15
 
@@ -66,7 +66,7 @@ tags:
66
  * Поля:
67
 
68
  * `nonce` — число, подобранное агентом.
69
- * `pow_hash` — хэш значения (`addr + nonce`).
70
  * `difficulty` — число ведущих нулей (или иное условие).
71
 
72
  ---
@@ -83,24 +83,50 @@ tags:
83
  "id": "did:example:123",
84
  "name": "Agent_X",
85
  "pubkey": "base58...",
86
- "addresses": [ { ... }, { ... } ]
 
 
 
 
 
 
 
 
 
87
  }
 
 
 
 
 
 
88
  ```
89
 
 
 
90
  ### 4.2 PEER\_EXCHANGE\_REQUEST / RESPONSE
91
 
92
- Запрос и обмен известными пирами.
93
 
94
  ```json
95
  {
96
  "type": "PEER_EXCHANGE_REQUEST",
97
  "id": "did:example:123",
98
  "name": "Agent_X",
99
- "addresses": [ { ... } ]
 
 
 
 
 
 
 
 
 
100
  }
101
  ```
102
 
103
- Ответ:
104
 
105
  ```json
106
  [
@@ -108,19 +134,33 @@ tags:
108
  "id": "did:example:456",
109
  "name": "Agent_Y",
110
  "pubkey": "base58...",
111
- "addresses": [ { ... } ]
 
 
 
 
 
 
 
 
 
112
  }
113
  ]
114
  ```
115
 
116
  ---
117
 
118
- ## 5. Обработка ошибок и нестыковок
119
 
 
 
 
 
 
 
120
  * **Разные pubkey для одного DID** → принимается **первый**, остальные игнорируются.
121
  * **Адрес подписан чужим ключом** → запись отклоняется.
122
- * **Адрес без PoW / с некорректным PoW** → запись отклоняется.
123
- * **Несколько интерфейсов** → сохраняются все; новый с более свежей датой заменяет старый.
124
 
125
  ---
126
 
@@ -130,6 +170,7 @@ tags:
130
  * Сообщения без подписи или с невалидным PoW могут игнорироваться.
131
  * В перспективе можно добавить шифрование трафика (например, на уровне TCP/TLS или QUIC).
132
 
 
133
  ---
134
  > ⚡ [AI friendly version docs (structured_md)](../index.md)
135
 
@@ -138,7 +179,7 @@ tags:
138
  {
139
  "@context": "https://schema.org",
140
  "@type": "Article",
141
- "name": "DHT Protocol Specification (Draft)",
142
- "description": "# DHT Protocol Specification (Draft) ## 1. Общие положения * DHT-протокол предназначен для обмена ..."
143
  }
144
  ```
 
1
  ---
2
+ title: DHT Protocol Specification
3
  description: '## 1. Общие положения * DHT-протокол предназначен для обмена информацией
4
  о пирах между агентами. * Используется **DID** (Decentralized Identifier) как уникальный
5
  идентификатор агента. * Для проверки ...'
 
9
  - JSON
10
  ---
11
 
12
+ # DHT Protocol Specification
13
 
14
  ## 1. Общие положения
15
 
 
66
  * Поля:
67
 
68
  * `nonce` — число, подобранное агентом.
69
+ * `pow_hash` — хэш значения (`DID + addr + datetime + nonce`).
70
  * `difficulty` — число ведущих нулей (или иное условие).
71
 
72
  ---
 
83
  "id": "did:example:123",
84
  "name": "Agent_X",
85
  "pubkey": "base58...",
86
+ "addresses": [
87
+ {
88
+ "addr": "tcp://1.2.3.4:4000",
89
+ "nonce": 123456,
90
+ "pow_hash": "0000abf39d...",
91
+ "difficulty": 22,
92
+ "datetime": "2025-09-14T21:00:00Z",
93
+ "type": "internet"
94
+ }
95
+ ]
96
  }
97
+ ````
98
+
99
+ Все `addresses` должны содержать **валидный PoW**, проверяемый по схеме:
100
+
101
+ ```
102
+ pow_hash = sha256(DID + addr + datetime + nonce)
103
  ```
104
 
105
+ ---
106
+
107
  ### 4.2 PEER\_EXCHANGE\_REQUEST / RESPONSE
108
 
109
+ Запрос известных пиров:
110
 
111
  ```json
112
  {
113
  "type": "PEER_EXCHANGE_REQUEST",
114
  "id": "did:example:123",
115
  "name": "Agent_X",
116
+ "addresses": [
117
+ {
118
+ "addr": "udp://1.2.3.4:4010",
119
+ "nonce": 987654,
120
+ "pow_hash": "0000123def...",
121
+ "difficulty": 22,
122
+ "datetime": "2025-09-14T21:05:00Z",
123
+ "type": "lan:192.168.1.0"
124
+ }
125
+ ]
126
  }
127
  ```
128
 
129
+ Ответ содержит список пиров (каждый с DID, pubkey и адресами, у которых тоже должен быть валидный PoW):
130
 
131
  ```json
132
  [
 
134
  "id": "did:example:456",
135
  "name": "Agent_Y",
136
  "pubkey": "base58...",
137
+ "addresses": [
138
+ {
139
+ "addr": "tcp://5.6.7.8:4020",
140
+ "nonce": 22222,
141
+ "pow_hash": "0000a1b2c3...",
142
+ "difficulty": 22,
143
+ "datetime": "2025-09-14T21:10:00Z",
144
+ "type": "internet"
145
+ }
146
+ ]
147
  }
148
  ]
149
  ```
150
 
151
  ---
152
 
153
+ ## 5. Правила валидации адресов и пиров
154
 
155
+ * Каждый `address` в DISCOVERY и PEER_EXCHANGE должен содержать валидный PoW:
156
+ * `pow_hash = sha256(DID + addr + datetime + nonce)`
157
+ * `difficulty` соответствует локальной политике (например, 22 ведущих нуля).
158
+ * Если PoW некорректен → адрес игнорируется.
159
+ * `datetime` фиксируется при генерации PoW и не должен изменяться.
160
+ * Если приходит новый адрес с той же парой `(DID + addr)` и более свежим `datetime` → он заменяет старый.
161
  * **Разные pubkey для одного DID** → принимается **первый**, остальные игнорируются.
162
  * **Адрес подписан чужим ключом** → запись отклоняется.
163
+ * **Несколько интерфейсов** сохраняются все, кроме явных дубликатов.
 
164
 
165
  ---
166
 
 
170
  * Сообщения без подписи или с невалидным PoW могут игнорироваться.
171
  * В перспективе можно добавить шифрование трафика (например, на уровне TCP/TLS или QUIC).
172
 
173
+
174
  ---
175
  > ⚡ [AI friendly version docs (structured_md)](../index.md)
176
 
 
179
  {
180
  "@context": "https://schema.org",
181
  "@type": "Article",
182
+ "name": "DHT Protocol Specification",
183
+ "description": "# DHT Protocol Specification ## 1. Общие положения * DHT-протокол предназначен для обмена информац..."
184
  }
185
  ```
structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md CHANGED
@@ -5,10 +5,10 @@ description: '*By Agent-Gleb & ChatGPT* --- ## Why the Future of AI Can’t Be
5
  — but they’re also **centralized, ...'
6
  type: Article
7
  tags:
8
- - Ethics
9
  - Agent
10
  - Mesh
11
  - HMP
 
12
  ---
13
 
14
  # HyperCortex Mesh Protocol: Building a Plurality of Minds
 
5
  — but they’re also **centralized, ...'
6
  type: Article
7
  tags:
 
8
  - Agent
9
  - Mesh
10
  - HMP
11
+ - Ethics
12
  ---
13
 
14
  # HyperCortex Mesh Protocol: Building a Plurality of Minds
structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md CHANGED
@@ -5,15 +5,15 @@ description: '* [Abstract](#abstract) * [1. Introduction](#1-introduction) * [2.
5
  [3.1 Agent Types](#31-age...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
  - CCore
11
- - HMP
12
- - JSON
13
  - Ethics
14
- - Scenarios
15
- - Mesh
 
16
  - CShell
 
 
 
17
  ---
18
 
19
  title: "HyperCortex Mesh Protocol: Towards Distributed Cognitive Networks"
 
5
  [3.1 Agent Types](#31-age...'
6
  type: Article
7
  tags:
 
 
8
  - CCore
 
 
9
  - Ethics
10
+ - JSON
11
+ - HMP
12
+ - REPL
13
  - CShell
14
+ - Agent
15
+ - Mesh
16
+ - Scenarios
17
  ---
18
 
19
  title: "HyperCortex Mesh Protocol: Towards Distributed Cognitive Networks"
structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md CHANGED
@@ -6,13 +6,13 @@ description: '> *Протокол и архитектура агентов, оп
6
  и совместная работа.* ## Оглавление * [Аннот...'
7
  type: Article
8
  tags:
9
- - Agent
10
- - REPL
11
  - CCore
12
- - HMP
13
  - JSON
14
- - Mesh
 
15
  - CShell
 
 
16
  ---
17
 
18
  title: "HyperCortex Mesh Protocol: Децентрализованная архитектура для когнитивных агентов и обмена знаниями"
 
6
  и совместная работа.* ## Оглавление * [Аннот...'
7
  type: Article
8
  tags:
 
 
9
  - CCore
 
10
  - JSON
11
+ - HMP
12
+ - REPL
13
  - CShell
14
+ - Agent
15
+ - Mesh
16
  ---
17
 
18
  title: "HyperCortex Mesh Protocol: Децентрализованная архитектура для когнитивных агентов и обмена знаниями"
structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md CHANGED
@@ -5,13 +5,13 @@ description: '* [Аннотация](#аннотация) * [1. Введение
5
  [3.1 Типы агентов](#31-типы-агент...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - REPL
10
  - CCore
11
- - HMP
12
  - JSON
13
- - Mesh
 
14
  - CShell
 
 
15
  ---
16
 
17
  title: "Протокол HyperCortex Mesh: К распределённым когнитивным сетям"
 
5
  [3.1 Типы агентов](#31-типы-агент...'
6
  type: Article
7
  tags:
 
 
8
  - CCore
 
9
  - JSON
10
+ - HMP
11
+ - REPL
12
  - CShell
13
+ - Agent
14
+ - Mesh
15
  ---
16
 
17
  title: "Протокол HyperCortex Mesh: К распределённым когнитивным сетям"
structured_md/docs/publics/Habr_Distributed-Cognition.md CHANGED
@@ -5,12 +5,12 @@ description: Сегодня интеллектуальные системы ча
5
  мы хотим построить действительно автономную инте...
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - GMP
11
  - MeshConsensus
12
- - Mesh
13
  - CogSync
 
 
14
  ---
15
 
16
  *От OpenCog Hyperon до HyperCortex Mesh Protocol: как устроены децентрализованные когнитивные системы*
 
5
  мы хотим построить действительно автономную инте...
6
  type: Article
7
  tags:
 
 
8
  - GMP
9
  - MeshConsensus
10
+ - HMP
11
  - CogSync
12
+ - Mesh
13
+ - EGP
14
  ---
15
 
16
  *От OpenCog Hyperon до HyperCortex Mesh Protocol: как устроены децентрализованные когнитивные системы*
structured_md/docs/schemas/README.md CHANGED
@@ -5,8 +5,8 @@ description: This directory contains **JSON Schema definitions** for the core da
5
  interoperability, and tooling support for a...
6
  type: Article
7
  tags:
8
- - JSON
9
  - Agent
 
10
  - Mesh
11
  - HMP
12
  ---
 
5
  interoperability, and tooling support for a...
6
  type: Article
7
  tags:
 
8
  - Agent
9
+ - JSON
10
  - Mesh
11
  - HMP
12
  ---
structured_md/iteration.md CHANGED
@@ -5,14 +5,14 @@ description: 'This file describes the iterative procedure for evolving the Hyper
5
  🔄 Version Naming Convention - `000N` — curr...'
6
  type: Article
7
  tags:
8
- - Agent
9
- - EGP
10
- - HMP
11
  - JSON
12
  - MeshConsensus
13
- - Ethics
14
- - Mesh
15
  - CogSync
 
 
 
16
  ---
17
 
18
  # Iterative Development Workflow for HMP
 
5
  🔄 Version Naming Convention - `000N` — curr...'
6
  type: Article
7
  tags:
8
+ - Ethics
 
 
9
  - JSON
10
  - MeshConsensus
11
+ - HMP
 
12
  - CogSync
13
+ - Agent
14
+ - Mesh
15
+ - EGP
16
  ---
17
 
18
  # Iterative Development Workflow for HMP
structured_md/iteration_ru.md CHANGED
@@ -5,13 +5,13 @@ description: 'Этот документ описывает структурир
5
  🔄 Обозначения версий - `000N` — номер...'
6
  type: Article
7
  tags:
8
- - EGP
9
- - HMP
10
  - JSON
11
  - MeshConsensus
12
- - Ethics
13
- - Mesh
14
  - CogSync
 
 
15
  ---
16
 
17
 
 
5
  🔄 Обозначения версий - `000N` — номер...'
6
  type: Article
7
  tags:
8
+ - Ethics
 
9
  - JSON
10
  - MeshConsensus
11
+ - HMP
 
12
  - CogSync
13
+ - Mesh
14
+ - EGP
15
  ---
16
 
17