GitHub Action commited on
Commit ·
6c0f56a
1
Parent(s): 15c86d5
Sync from GitHub with Git LFS
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- docs/HMP-0005.md +95 -103
- structured_md/CONTRIBUTING.md +5 -5
- structured_md/HMP-Roadmap.md +3 -3
- structured_md/README.md +8 -8
- structured_md/README_de.md +8 -8
- structured_md/README_fr.md +8 -8
- structured_md/README_ja.md +8 -8
- structured_md/README_ko.md +8 -8
- structured_md/README_ru.md +8 -8
- structured_md/README_uk.md +8 -8
- structured_md/README_zh.md +8 -8
- structured_md/agents/prompt-short.md +1 -1
- structured_md/agents/prompt.md +1 -1
- structured_md/agents/readme.md +3 -3
- structured_md/audits/Ethics-audits-1.md +2 -2
- structured_md/audits/Ethics-consolidated_audits-1.md +3 -3
- structured_md/audits/HMP-0003-consolidated_audit.md +4 -4
- structured_md/docs/Basic-agent-sim.md +4 -4
- structured_md/docs/CCORE-Deployment-Flow.md +3 -3
- structured_md/docs/Distributed-Cognitive-Systems.md +1 -1
- structured_md/docs/Enlightener.md +3 -3
- structured_md/docs/HMP-0001.md +6 -6
- structured_md/docs/HMP-0002.md +6 -6
- structured_md/docs/HMP-0003.md +6 -6
- structured_md/docs/HMP-0004-v4.1.md +6 -6
- structured_md/docs/HMP-0004.md +6 -6
- structured_md/docs/HMP-0005.md +112 -120
- structured_md/docs/HMP-Agent-API.md +2 -2
- structured_md/docs/HMP-Agent-Architecture.md +6 -6
- structured_md/docs/HMP-Agent-Network-Flow.md +2 -2
- structured_md/docs/HMP-Agent-Overview.md +4 -4
- structured_md/docs/HMP-Agent_Emotions.md +3 -3
- structured_md/docs/HMP-Ethics.md +2 -2
- structured_md/docs/HMP-Short-Description_de.md +5 -5
- structured_md/docs/HMP-Short-Description_en.md +5 -5
- structured_md/docs/HMP-Short-Description_fr.md +5 -5
- structured_md/docs/HMP-Short-Description_ja.md +4 -4
- structured_md/docs/HMP-Short-Description_ko.md +4 -4
- structured_md/docs/HMP-Short-Description_ru.md +4 -4
- structured_md/docs/HMP-Short-Description_uk.md +4 -4
- structured_md/docs/HMP-Short-Description_zh.md +4 -4
- structured_md/docs/HMP-agent-Cognitive_Family.md +3 -3
- structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md +1 -1
- structured_md/docs/HMP-agent-REPL-cycle.md +7 -7
- structured_md/docs/HMP-container-spec.md +3 -3
- structured_md/docs/HMP-how-AI-sees-it.md +1 -1
- structured_md/docs/HMP_EDA_Comparison.md +1 -1
- structured_md/docs/HMP_HyperCortex_Comparison.md +2 -2
- structured_md/docs/HMP_Hyperon_Integration.md +3 -3
- structured_md/docs/MeshNode.md +3 -3
docs/HMP-0005.md
CHANGED
|
@@ -39,7 +39,7 @@ This document defines the architecture, data formats, communication protocols, a
|
|
| 39 |
|
| 40 |
## 1. Overview
|
| 41 |
|
| 42 |
-
### 1.1 Purpose and
|
| 43 |
|
| 44 |
The **HyperCortex Mesh Protocol (HMP)** defines a decentralized cognitive architecture where autonomous agents exchange and evolve knowledge through a unified model of **containers**, **cognitive workflows**, and **distributed consensus**.
|
| 45 |
|
|
@@ -57,7 +57,7 @@ HMP v5.0 is intended for researchers, engineers, and developers building autonom
|
|
| 57 |
|
| 58 |
---
|
| 59 |
|
| 60 |
-
### 1.2 Core
|
| 61 |
|
| 62 |
**Decentralization.**
|
| 63 |
Every agent in the Mesh acts as an independent cognitive node. No central authority exists — meaning, trust, and governance emerge through local interactions and consensus.
|
|
@@ -68,13 +68,13 @@ Agents reason, learn, and self-correct independently, while sharing their conclu
|
|
| 68 |
**Containerization.**
|
| 69 |
All data, reasoning traces, goals, and votes are encapsulated in immutable containers with cryptographic signatures. This ensures integrity and consistent verification across the network.
|
| 70 |
|
| 71 |
-
**Ethical
|
| 72 |
Ethical reasoning is a first-class citizen of HMP. Each decision or goal can be accompanied by ethical justifications and subject to distributed voting.
|
| 73 |
|
| 74 |
-
**Proof-Chains and
|
| 75 |
Each piece of knowledge forms part of a traceable chain (`proof_chain`) linking back to its origin. Agents can reproduce reasoning paths and audit historical context.
|
| 76 |
|
| 77 |
-
**Interoperability and
|
| 78 |
The protocol is designed to evolve — cognitive, container, and DHT layers can be independently extended without breaking compatibility.
|
| 79 |
|
| 80 |
---
|
|
@@ -94,7 +94,7 @@ HMP v5.0 introduces a major architectural shift toward **unified containerizatio
|
|
| 94 |
|
| 95 |
---
|
| 96 |
|
| 97 |
-
### 1.4 Terminology and
|
| 98 |
|
| 99 |
| Term | Definition |
|
| 100 |
|------|-------------|
|
|
@@ -130,7 +130,7 @@ HMP v5.0 introduces a major architectural shift toward **unified containerizatio
|
|
| 130 |
|
| 131 |
---
|
| 132 |
|
| 133 |
-
### 1.5 Layered
|
| 134 |
|
| 135 |
HMP v5.0 is structured into three interdependent layers:
|
| 136 |
|
|
@@ -163,7 +163,7 @@ Containers form the boundary of communication: **reasoning produces containers,
|
|
| 163 |
|
| 164 |
## 2. Architecture
|
| 165 |
|
| 166 |
-
### 2.1 Conceptual
|
| 167 |
|
| 168 |
The **HyperCortex Mesh Protocol (HMP)** defines a modular, multi-layered architecture that integrates cognitive reasoning, data encapsulation, and decentralized networking into a single coherent system.
|
| 169 |
|
|
@@ -208,9 +208,9 @@ Each reasoning act results in a container — a verifiable cognitive unit that *
|
|
| 208 |
|
| 209 |
---
|
| 210 |
|
| 211 |
-
### 2.2 Layer
|
| 212 |
|
| 213 |
-
#### Cognitive
|
| 214 |
Handles meaning formation, reasoning, ethical reflection, and consensus.
|
| 215 |
|
| 216 |
Key structures and protocols:
|
|
@@ -218,7 +218,7 @@ Key structures and protocols:
|
|
| 218 |
- `CogSync`, `CogConsensus`, `GMP`, and `EGP` protocols;
|
| 219 |
- Distributed goal negotiation and ethical propagation.
|
| 220 |
|
| 221 |
-
#### Container
|
| 222 |
Provides a universal format for cognitive and operational data.
|
| 223 |
Each container includes versioning, class, payload, signatures, and metadata.
|
| 224 |
|
|
@@ -228,7 +228,7 @@ Key features:
|
|
| 228 |
Additional connections via `referenced-by` and `evaluations` capture additions and assessments.
|
| 229 |
- **Extensible**: new container classes can be defined without breaking compatibility.
|
| 230 |
|
| 231 |
-
#### Network
|
| 232 |
Implements the distributed substrate for communication, based on **DHT** and **transport abstraction**.
|
| 233 |
|
| 234 |
Key components:
|
|
@@ -240,7 +240,7 @@ Key components:
|
|
| 240 |
|
| 241 |
---
|
| 242 |
|
| 243 |
-
### 2.3 Data
|
| 244 |
|
| 245 |
The typical data flow in HMP follows a cognitive loop:
|
| 246 |
> *Reason → Encapsulate → Propagate → Integrate.*
|
|
@@ -272,7 +272,7 @@ flowchart TD
|
|
| 272 |
end
|
| 273 |
```
|
| 274 |
|
| 275 |
-
#### 2.3.1
|
| 276 |
Represents the finalized outcome of a distributed decision or vote.
|
| 277 |
It is created once a majority agreement is reached among participating agents.
|
| 278 |
|
|
@@ -285,7 +285,7 @@ The container contains:
|
|
| 285 |
|
| 286 |
---
|
| 287 |
|
| 288 |
-
### 2.4 Atomicity,
|
| 289 |
|
| 290 |
All cognitive objects are immutable once signed.
|
| 291 |
Updates are made by creating new containers linked to prior ones rather than editing the original container.
|
|
@@ -335,7 +335,7 @@ This shift enables:
|
|
| 335 |
|
| 336 |
---
|
| 337 |
|
| 338 |
-
## 3. Container
|
| 339 |
|
| 340 |
This section defines the universal **HMP Container**, used for all forms of data exchange within the Mesh — including goals, diary entries, reputation updates, consensus votes, and protocol messages.
|
| 341 |
The specification below corresponds to **HMP Container Specification v1.2**, fully integrated into HMP v5.0 for consistency and self-containment.
|
|
@@ -355,7 +355,7 @@ The unified container structure provides:
|
|
| 355 |
|
| 356 |
---
|
| 357 |
|
| 358 |
-
### 3.2 General
|
| 359 |
|
| 360 |
```json
|
| 361 |
{
|
|
@@ -416,7 +416,7 @@ The unified container structure provides:
|
|
| 416 |
|
| 417 |
---
|
| 418 |
|
| 419 |
-
### 3.3 Required
|
| 420 |
|
| 421 |
| Field | Type | Description |
|
| 422 |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -436,7 +436,7 @@ The unified container structure provides:
|
|
| 436 |
|
| 437 |
---
|
| 438 |
|
| 439 |
-
### 3.4 Optional
|
| 440 |
|
| 441 |
| Field | Type | Description |
|
| 442 |
| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -468,7 +468,7 @@ The unified container structure provides:
|
|
| 468 |
|
| 469 |
---
|
| 470 |
|
| 471 |
-
### 3.5 Payload
|
| 472 |
|
| 473 |
The **payload** contains the semantic or operational data of the container.
|
| 474 |
Its structure and meaning are determined by the `class` field.
|
|
@@ -512,7 +512,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 512 |
|
| 513 |
---
|
| 514 |
|
| 515 |
-
### 3.6 Container
|
| 516 |
|
| 517 |
1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
|
| 518 |
**excluding** the `signature` field itself.
|
|
@@ -610,7 +610,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 610 |
|
| 611 |
---
|
| 612 |
|
| 613 |
-
### 3.9 Container
|
| 614 |
|
| 615 |
1. Check for the presence of all required fields.
|
| 616 |
2. Validate `timestamp` (must not be in the future).
|
|
@@ -629,7 +629,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 629 |
|
| 630 |
---
|
| 631 |
|
| 632 |
-
### 3.10 Container as a
|
| 633 |
|
| 634 |
Any container can serve as a **context** (`in_reply_to`) for another container.
|
| 635 |
This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
|
|
@@ -643,7 +643,7 @@ This makes HMP discussions and consensus processes inherently **non-linear**, **
|
|
| 643 |
|
| 644 |
---
|
| 645 |
|
| 646 |
-
### 3.11 Versioning and
|
| 647 |
|
| 648 |
Containers in HMP support semantic evolution through the field `related.previous_version`.
|
| 649 |
This mechanism preserves the continuity and traceability of meaning across updates and revisions.
|
|
@@ -661,7 +661,7 @@ This mechanism preserves the continuity and traceability of meaning across updat
|
|
| 661 |
|
| 662 |
---
|
| 663 |
|
| 664 |
-
### 3.12 TTL and
|
| 665 |
|
| 666 |
The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
|
| 667 |
If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
|
|
@@ -679,7 +679,7 @@ After expiration, the container **remains archived** but is **not subject to ret
|
|
| 679 |
|
| 680 |
---
|
| 681 |
|
| 682 |
-
## 3.14 Related
|
| 683 |
|
| 684 |
### 3.14.1 Purpose
|
| 685 |
|
|
@@ -708,7 +708,7 @@ All relationships are considered *direct* — meaning they originate from the cu
|
|
| 708 |
|
| 709 |
---
|
| 710 |
|
| 711 |
-
### 3.14.3 Supported
|
| 712 |
|
| 713 |
| Link Type | Meaning |
|
| 714 |
| ------------------ | ------------------------------------------------------------------------- |
|
|
@@ -721,7 +721,7 @@ All relationships are considered *direct* — meaning they originate from the cu
|
|
| 721 |
|
| 722 |
---
|
| 723 |
|
| 724 |
-
### 3.14.4 Custom
|
| 725 |
|
| 726 |
Additional custom link types may be used beyond those listed in the table, provided that:
|
| 727 |
|
|
@@ -755,12 +755,12 @@ Additional custom link types may be used beyond those listed in the table, provi
|
|
| 755 |
---
|
| 756 |
|
| 757 |
|
| 758 |
-
### 3.15 Virtual
|
| 759 |
|
| 760 |
Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
|
| 761 |
This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
|
| 762 |
|
| 763 |
-
#### 3.15.1 General
|
| 764 |
|
| 765 |
* **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
|
| 766 |
* **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
|
|
@@ -788,7 +788,7 @@ Example:
|
|
| 788 |
> The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
|
| 789 |
> The block’s content may differ between peers, reflecting local knowledge and network coverage.
|
| 790 |
|
| 791 |
-
#### 3.15.2 Structure
|
| 792 |
|
| 793 |
| Field | Type | Description |
|
| 794 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
@@ -803,7 +803,7 @@ Example:
|
|
| 803 |
> `referenced-by_hash = sha256(canonical_json(links))`
|
| 804 |
> This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
|
| 805 |
|
| 806 |
-
#### 3.15.3 Operation
|
| 807 |
|
| 808 |
1. The agent receives or updates container `[C1]`.
|
| 809 |
2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
|
|
@@ -871,7 +871,7 @@ If container `[C7]` does not actually reference `[C1]`, it is excluded before si
|
|
| 871 |
|
| 872 |
---
|
| 873 |
|
| 874 |
-
## 3.16 Evaluations
|
| 875 |
|
| 876 |
The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
|
| 877 |
Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
|
|
@@ -897,7 +897,7 @@ The `evaluations_hash` is used to verify the integrity of the list without requi
|
|
| 897 |
|
| 898 |
---
|
| 899 |
|
| 900 |
-
### **Field
|
| 901 |
|
| 902 |
| Field | Type | Description |
|
| 903 |
| ------------------ | ------ | -------------------------------------------------------------------- |
|
|
@@ -906,7 +906,7 @@ The `evaluations_hash` is used to verify the integrity of the list without requi
|
|
| 906 |
|
| 907 |
---
|
| 908 |
|
| 909 |
-
###
|
| 910 |
|
| 911 |
| Field | Type | Description |
|
| 912 |
| ----------- | ---------------------- | ------------------------------------------------------------------------------ |
|
|
@@ -928,7 +928,7 @@ using the algorithm specified in `sig_algo`.
|
|
| 928 |
|
| 929 |
---
|
| 930 |
|
| 931 |
-
###
|
| 932 |
|
| 933 |
| Value | Meaning |
|
| 934 |
| --------- | -------------------------------------------- |
|
|
@@ -942,7 +942,7 @@ Agents may define their own custom types if they are reasonably interpretable by
|
|
| 942 |
|
| 943 |
---
|
| 944 |
|
| 945 |
-
###
|
| 946 |
|
| 947 |
1. Each evaluation is signed **individually by an agent**, and one agent can have **only one active evaluation** per container.
|
| 948 |
2. If an agent changes their opinion, they issue a **new record** with a later `timestamp`.
|
|
@@ -953,14 +953,14 @@ Agents may define their own custom types if they are reasonably interpretable by
|
|
| 953 |
|
| 954 |
---
|
| 955 |
|
| 956 |
-
###
|
| 957 |
|
| 958 |
The `evaluations` field is not mandatory — it is added **at the agent’s discretion** when feedback or evaluations have been collected from the Mesh network.
|
| 959 |
Thus, a container may exist independently of others’ opinions, but agents may include aggregated perception data to represent how the container is viewed across the network.
|
| 960 |
|
| 961 |
---
|
| 962 |
|
| 963 |
-
### 3.17 Usage of `network` and `broadcast`
|
| 964 |
|
| 965 |
The `network` field is introduced to control container propagation in both local and global environments.
|
| 966 |
It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
|
|
@@ -973,7 +973,7 @@ It allows restricting the delivery scope of a container and defines which transm
|
|
| 973 |
|
| 974 |
* If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
|
| 975 |
|
| 976 |
-
#### 3.17.2 Possible
|
| 977 |
|
| 978 |
| Value | Description |
|
| 979 |
| ----------------------- | ------------------------------------------------------------------------------------------- |
|
|
@@ -1036,9 +1036,9 @@ Delivery is performed via local networking mechanisms (UDP discovery, broadcast/
|
|
| 1036 |
|
| 1037 |
---
|
| 1038 |
|
| 1039 |
-
## 4. Network
|
| 1040 |
|
| 1041 |
-
### Note on DHT/NDP
|
| 1042 |
|
| 1043 |
Starting from **HMP v5.0**, the previous distinction between the *Distributed Hash Table (DHT)* and the *Node Discovery Protocol (NDP)* has been merged into a single, unified **networking foundation**.
|
| 1044 |
|
|
@@ -1053,7 +1053,7 @@ Together, these mechanisms form the **communication backbone** of the Mesh, enab
|
|
| 1053 |
|
| 1054 |
---
|
| 1055 |
|
| 1056 |
-
### Network
|
| 1057 |
|
| 1058 |
```mermaid
|
| 1059 |
flowchart TD
|
|
@@ -1092,7 +1092,7 @@ flowchart TD
|
|
| 1092 |
|
| 1093 |
---
|
| 1094 |
|
| 1095 |
-
### 4.1 Node
|
| 1096 |
|
| 1097 |
Each agent in HMP possesses a **Decentralized Identifier (DID)** that uniquely represents its identity within the Mesh.
|
| 1098 |
A DID is cryptographically bound to a **public/private key pair**, forming the immutable `(DID + pubkey)` association.
|
|
@@ -1102,11 +1102,11 @@ but must maintain **one stable identity pair** across all of them.
|
|
| 1102 |
|
| 1103 |
---
|
| 1104 |
|
| 1105 |
-
### 4.2 Peer
|
| 1106 |
|
| 1107 |
To prevent flooding and spoofing, each announced address is accompanied by a **Proof-of-Work** record proving the legitimacy and activity of the publishing node.
|
| 1108 |
|
| 1109 |
-
#### Address
|
| 1110 |
|
| 1111 |
```json
|
| 1112 |
{
|
|
@@ -1135,7 +1135,7 @@ To prevent flooding and spoofing, each announced address is accompanied by a **P
|
|
| 1135 |
|
| 1136 |
---
|
| 1137 |
|
| 1138 |
-
### 4.3 Proof-of-Work (PoW)
|
| 1139 |
|
| 1140 |
PoW ensures that each node expends limited computational effort before publishing or updating an address record.
|
| 1141 |
|
|
@@ -1150,7 +1150,7 @@ pow_hash = sha256(pow_input)
|
|
| 1150 |
|
| 1151 |
---
|
| 1152 |
|
| 1153 |
-
### 4.4 Signing and
|
| 1154 |
|
| 1155 |
Each announcement is cryptographically signed by its sender within the framework of the basic protocol. Container verification includes PoW validation for the address payloads.
|
| 1156 |
|
|
@@ -1161,7 +1161,7 @@ Each announcement is cryptographically signed by its sender within the framework
|
|
| 1161 |
|
| 1162 |
---
|
| 1163 |
|
| 1164 |
-
### 4.5 Connection
|
| 1165 |
|
| 1166 |
Agents can communicate using various transport mechanisms:
|
| 1167 |
|
|
@@ -1177,7 +1177,7 @@ Agents **store peer containers with verified addresses** and redistribute them a
|
|
| 1177 |
|
| 1178 |
---
|
| 1179 |
|
| 1180 |
-
### 4.6 Data
|
| 1181 |
|
| 1182 |
Containers and discovery records are propagated through distributed lookup and gossip mechanisms, respecting:
|
| 1183 |
|
|
@@ -1191,7 +1191,7 @@ all unified under the same base container format, differing only in direction (`
|
|
| 1191 |
|
| 1192 |
---
|
| 1193 |
|
| 1194 |
-
### 4.7 Example:
|
| 1195 |
|
| 1196 |
```json
|
| 1197 |
{
|
|
@@ -1222,7 +1222,7 @@ all unified under the same base container format, differing only in direction (`
|
|
| 1222 |
|
| 1223 |
---
|
| 1224 |
|
| 1225 |
-
### 4.8 Interest-
|
| 1226 |
|
| 1227 |
Agents may publish **tags** such as `interests`, `topics`, or `expertise` to facilitate semantic peer discovery.
|
| 1228 |
Queries may include interest keywords or DID lists to find relevant peers.
|
|
@@ -1241,7 +1241,7 @@ Queries may include interest keywords or DID lists to find relevant peers.
|
|
| 1241 |
|
| 1242 |
---
|
| 1243 |
|
| 1244 |
-
### 4.9 Network
|
| 1245 |
|
| 1246 |
The `network` field defines the container’s propagation domain
|
| 1247 |
(local, LAN, or global).
|
|
@@ -1249,7 +1249,7 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa
|
|
| 1249 |
|
| 1250 |
---
|
| 1251 |
|
| 1252 |
-
### 4.10 Transition from DHT
|
| 1253 |
|
| 1254 |
* **Merged DHT + NDP** → unified under one networking layer.
|
| 1255 |
* **Container-based format** replaces raw JSON messages.
|
|
@@ -1262,7 +1262,7 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa
|
|
| 1262 |
The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network.
|
| 1263 |
It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`).
|
| 1264 |
|
| 1265 |
-
### 5.1 General
|
| 1266 |
|
| 1267 |
1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage.
|
| 1268 |
The index is represented as an HMP container with the class `container_index`.
|
|
@@ -1314,7 +1314,7 @@ The index contains:
|
|
| 1314 |
|
| 1315 |
---
|
| 1316 |
|
| 1317 |
-
### 5.2 Message
|
| 1318 |
|
| 1319 |
| Message Type | Purpose |
|
| 1320 |
| -------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -1326,7 +1326,7 @@ The index contains:
|
|
| 1326 |
|
| 1327 |
---
|
| 1328 |
|
| 1329 |
-
####
|
| 1330 |
|
| 1331 |
**1. CONTAINER_REQUEST**
|
| 1332 |
|
|
@@ -1436,7 +1436,7 @@ Acknowledgment of successful container reception:
|
|
| 1436 |
|
| 1437 |
---
|
| 1438 |
|
| 1439 |
-
### 5.3 Independent
|
| 1440 |
|
| 1441 |
* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`.
|
| 1442 |
* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently.
|
|
@@ -1444,7 +1444,7 @@ Acknowledgment of successful container reception:
|
|
| 1444 |
|
| 1445 |
---
|
| 1446 |
|
| 1447 |
-
### 5.4 Periodic
|
| 1448 |
|
| 1449 |
Agents periodically publish their **Container Index**:
|
| 1450 |
|
|
@@ -1460,7 +1460,7 @@ This enables:
|
|
| 1460 |
|
| 1461 |
---
|
| 1462 |
|
| 1463 |
-
### 5.5 Scope of
|
| 1464 |
|
| 1465 |
Message and container transmission follows the network constraints specified in the container:
|
| 1466 |
|
|
@@ -1476,9 +1476,7 @@ Message and container transmission follows the network constraints specified in
|
|
| 1476 |
|
| 1477 |
---
|
| 1478 |
|
| 1479 |
-
|
| 1480 |
-
|
| 1481 |
-
### 5.6 `referenced-by` and `evaluations` Updates
|
| 1482 |
|
| 1483 |
Containers of the class **`referenced-by`** and **`evaluations`** are used for **incremental synchronization** of metadata blocks associated with existing containers.
|
| 1484 |
They allow agents to exchange updates **without sending the full container**, improving network efficiency.
|
|
@@ -1635,7 +1633,7 @@ It considers:
|
|
| 1635 |
|
| 1636 |
---
|
| 1637 |
|
| 1638 |
-
## 6. Core
|
| 1639 |
|
| 1640 |
Optional protocols build upon the network and container foundations to provide higher-level reasoning, synchronization, and governance capabilities between cognitive agents.
|
| 1641 |
|
|
@@ -1648,7 +1646,7 @@ It manages the propagation, replication, and refinement of data related to cogni
|
|
| 1648 |
|
| 1649 |
---
|
| 1650 |
|
| 1651 |
-
### 6.1.1 Scope and
|
| 1652 |
|
| 1653 |
CogSync is responsible for:
|
| 1654 |
|
|
@@ -1661,7 +1659,7 @@ CogSync is responsible for:
|
|
| 1661 |
|
| 1662 |
---
|
| 1663 |
|
| 1664 |
-
### 6.1.2 Container
|
| 1665 |
|
| 1666 |
CogSync synchronizes several basic container types:
|
| 1667 |
|
|
@@ -1689,19 +1687,19 @@ CogSync synchronizes several basic container types:
|
|
| 1689 |
|
| 1690 |
---
|
| 1691 |
|
| 1692 |
-
### 6.1.3 Synchronization and
|
| 1693 |
|
| 1694 |
-
1. **Deduplication &
|
| 1695 |
Before publishing, agents should search for existing containers (`diary_entry`, `semantic_node`, `semantic_edges`, `semantic_group`) to avoid duplication.
|
| 1696 |
If necessary, it is **recommended** to create a new container version with `related.previous_version` and an `evaluations` block (e.g., `{"type": "replace", "target": <did>}`).
|
| 1697 |
|
| 1698 |
-
2. **Selective
|
| 1699 |
|
| 1700 |
* Internal entries (`workflow_entry`) record the agent’s thought process and are **not published** in the Mesh.
|
| 1701 |
* Public `diary_entry` are derived from them, containing only aggregated and anonymized information.
|
| 1702 |
* `"broadcast": true` indicates that the container is allowed for open synchronization.
|
| 1703 |
|
| 1704 |
-
3. **Semantic
|
| 1705 |
When publishing `semantic_edges`, it is recommended to **group edges by topics**, including connections to adjacent nodes.
|
| 1706 |
Formalization: an edge belongs to a container for a topic if **at least one of its nodes relates to that topic**.
|
| 1707 |
This ensures thematic coherence and allows agents to update specific parts of the graph independently.
|
|
@@ -1709,7 +1707,7 @@ CogSync synchronizes several basic container types:
|
|
| 1709 |
4. **Extended Use of `semantic_edges`**
|
| 1710 |
Beyond connecting graph nodes, `semantic_edges` can express relationships **between containers of any class**, e.g., `goal`, `hypothesis`, `experiment_log`.
|
| 1711 |
|
| 1712 |
-
5. **Versioning and
|
| 1713 |
Each new container version should **ideally** include `related.previous_version` links to all preceding versions.
|
| 1714 |
The previous container may **optionally** have an `evaluation` with `"type": "replace"` pointing to the new container — ensuring bidirectional traceability of knowledge evolution.
|
| 1715 |
|
|
@@ -1727,7 +1725,7 @@ Mesh compatibility is preserved if extended containers **adhere to the HMP conta
|
|
| 1727 |
|
| 1728 |
---
|
| 1729 |
|
| 1730 |
-
### 6.1.5 Relationship to
|
| 1731 |
|
| 1732 |
* **CogSync** — propagates and synchronizes knowledge.
|
| 1733 |
* **CogConsensus** — aggregates evaluations and reactions, forming collective opinions.
|
|
@@ -1750,7 +1748,7 @@ Consensus is computed **locally**, verified **cryptographically**, and develops
|
|
| 1750 |
|
| 1751 |
---
|
| 1752 |
|
| 1753 |
-
### 6.2.2 Evaluations
|
| 1754 |
|
| 1755 |
Each `"evaluation"` entry represents an agent's response to a specific container.
|
| 1756 |
|
|
@@ -1991,12 +1989,6 @@ def compute_consensus(container_id):
|
|
| 1991 |
|
| 1992 |
---
|
| 1993 |
|
| 1994 |
-
Отлично 👍
|
| 1995 |
-
Вот полный и аккуратно выверенный английский перевод твоего раздела **6.3 Goal Management Protocol (GMP)** в Markdown-формате.
|
| 1996 |
-
Я сохранил нумерацию, структуру и терминологию HMP v5.0, адаптировав формулировки так, чтобы они звучали естественно в технической документации на английском языке.
|
| 1997 |
-
|
| 1998 |
-
---
|
| 1999 |
-
|
| 2000 |
## 6.3 Goal Management Protocol (GMP)
|
| 2001 |
|
| 2002 |
### 6.3.1 Purpose
|
|
@@ -2008,7 +2000,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2008 |
|
| 2009 |
---
|
| 2010 |
|
| 2011 |
-
### 6.3.2 Container
|
| 2012 |
|
| 2013 |
| Class | Description |
|
| 2014 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -2022,7 +2014,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2022 |
|
| 2023 |
---
|
| 2024 |
|
| 2025 |
-
### 6.3.3 Goal
|
| 2026 |
|
| 2027 |
1. **Creation**
|
| 2028 |
|
|
@@ -2059,7 +2051,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2059 |
|
| 2060 |
---
|
| 2061 |
|
| 2062 |
-
### 6.3.4 Payload
|
| 2063 |
|
| 2064 |
#### `goal` container
|
| 2065 |
|
|
@@ -2104,7 +2096,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2104 |
|
| 2105 |
---
|
| 2106 |
|
| 2107 |
-
### 6.3.5 Integration with
|
| 2108 |
|
| 2109 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 2110 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
@@ -2153,7 +2145,7 @@ not direct links defined in the `related.*` structure.
|
|
| 2153 |
|
| 2154 |
---
|
| 2155 |
|
| 2156 |
-
### 6.3.7 Implementation
|
| 2157 |
|
| 2158 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 2159 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
@@ -2177,7 +2169,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2177 |
|
| 2178 |
---
|
| 2179 |
|
| 2180 |
-
### 6.4.2 Container
|
| 2181 |
|
| 2182 |
| Class | Description |
|
| 2183 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -2189,7 +2181,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2189 |
|
| 2190 |
---
|
| 2191 |
|
| 2192 |
-
### 6.4.3 Payload
|
| 2193 |
|
| 2194 |
#### Container `ethics_case`
|
| 2195 |
|
|
@@ -2231,7 +2223,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2231 |
|
| 2232 |
---
|
| 2233 |
|
| 2234 |
-
### 6.4.4 Protocol
|
| 2235 |
|
| 2236 |
EGP follows the model:
|
| 2237 |
|
|
@@ -2267,7 +2259,7 @@ ethics_case
|
|
| 2267 |
|
| 2268 |
---
|
| 2269 |
|
| 2270 |
-
### 6.4.5 Consensus
|
| 2271 |
|
| 2272 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 2273 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
@@ -2277,7 +2269,7 @@ ethics_case
|
|
| 2277 |
|
| 2278 |
---
|
| 2279 |
|
| 2280 |
-
### 6.4.6 Example: `ethical_result`
|
| 2281 |
|
| 2282 |
```json
|
| 2283 |
{
|
|
@@ -2311,7 +2303,7 @@ ethics_case
|
|
| 2311 |
|
| 2312 |
---
|
| 2313 |
|
| 2314 |
-
### 6.4.7 Proof-Chain
|
| 2315 |
|
| 2316 |
```mermaid
|
| 2317 |
flowchart LR
|
|
@@ -2359,7 +2351,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2359 |
|
| 2360 |
---
|
| 2361 |
|
| 2362 |
-
### 6.4.8 Ethical
|
| 2363 |
|
| 2364 |
| Priority | Principle | Description |
|
| 2365 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -2372,7 +2364,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2372 |
|
| 2373 |
---
|
| 2374 |
|
| 2375 |
-
### 6.4.9 Integration with
|
| 2376 |
|
| 2377 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 2378 |
* **GMP (6.3):** Ethical verification of goals and tasks prior to delegation.
|
|
@@ -2381,13 +2373,13 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2381 |
|
| 2382 |
---
|
| 2383 |
|
| 2384 |
-
### 6.4.10 Implementation
|
| 2385 |
|
| 2386 |
* **Immutability:**
|
| 2387 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
| 2388 |
Complete deletion is only possible when the container no longer exists on any nodes in the Mesh network.
|
| 2389 |
|
| 2390 |
-
* **Indexing and
|
| 2391 |
Search within the **Mesh network** is performed by filtering container **metadata** — such as `class`, `tags`, and `timestamp`.
|
| 2392 |
These parameters are accessible for remote discovery by other nodes.
|
| 2393 |
To perform a search **inside the payload**, an agent must first retrieve and (if necessary) decrypt the container locally.
|
|
@@ -2396,12 +2388,12 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2396 |
**Recommended filtering keys:**
|
| 2397 |
`container_did`, `class`, `payload.status`, `payload.selected_solution`, `payload.principles_involved`, `tags`.
|
| 2398 |
|
| 2399 |
-
* **DHT
|
| 2400 |
Distributed discovery of ethical containers relies on the **Mesh Container Exchange (MCE, §5)** and peer indexes (`container_index`).
|
| 2401 |
Each index includes a minimal `related` object, allowing agents to query for containers that **reference** a specific `target` (the object under ethical review) or belong to a given `ethics_case`.
|
| 2402 |
This enables discovery of related ethical discussions without centralized indexing or full payload retrieval.
|
| 2403 |
|
| 2404 |
-
* **Evaluation
|
| 2405 |
Objections and special opinions (`objections`) are stored as container references within `solutions_summary`.
|
| 2406 |
They may include:
|
| 2407 |
|
|
@@ -2409,11 +2401,11 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2409 |
* extended ethical arguments (`ethics_case` follow-ups),
|
| 2410 |
* related workflow reflections (`workflow_entry` with `type: "ethics_review"`).
|
| 2411 |
|
| 2412 |
-
* **Lightweight
|
| 2413 |
Agents with limited capacity may operate in **summary mode**, maintaining only condensed records of `ethical_result` containers and the highest-ranked `selected_solution`.
|
| 2414 |
This ensures continued ethical compliance without full replication of all supporting data.
|
| 2415 |
|
| 2416 |
-
* **Ethical
|
| 2417 |
When a `goal`, `task`, or `workflow_entry` is derived from a container that has been ethically evaluated,
|
| 2418 |
its metadata should preserve the corresponding `related.agreed` or `related.contradicts` links **to that evaluated container**.
|
| 2419 |
A `related.see_also` link may additionally reference the resulting `ethical_result`, allowing traceability to the consensus decision.
|
|
@@ -2437,7 +2429,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2437 |
|
| 2438 |
---
|
| 2439 |
|
| 2440 |
-
## 7. Data
|
| 2441 |
|
| 2442 |
### 7.1 Common data fields
|
| 2443 |
- `container_id` (UUID) — уникальный идентификатор контейнера
|
|
@@ -2515,7 +2507,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2515 |
|
| 2516 |
---
|
| 2517 |
|
| 2518 |
-
## 8. Cognitive
|
| 2519 |
|
| 2520 |
8.1 Общая концепция когнитивного цикла
|
| 2521 |
8.2 Workflow containers (`class="workflow_entry"`)
|
|
@@ -2525,7 +2517,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2525 |
|
| 2526 |
---
|
| 2527 |
|
| 2528 |
-
## 9. Trust,
|
| 2529 |
|
| 2530 |
9.1 Authentication and identity proofs
|
| 2531 |
9.2 Container signature verification (`payload_hash`, `container_id`)
|
|
@@ -2558,7 +2550,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2558 |
|
| 2559 |
---
|
| 2560 |
|
| 2561 |
-
## 11. Implementation
|
| 2562 |
|
| 2563 |
11.1 Interoperability with legacy v4.1 nodes
|
| 2564 |
11.2 SDK guidelines and APIs
|
|
@@ -2568,7 +2560,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2568 |
|
| 2569 |
---
|
| 2570 |
|
| 2571 |
-
## 12. Future
|
| 2572 |
|
| 2573 |
12.1 Planned modules:
|
| 2574 |
– Reputation Mesh
|
|
|
|
| 39 |
|
| 40 |
## 1. Overview
|
| 41 |
|
| 42 |
+
### 1.1 Purpose and scope
|
| 43 |
|
| 44 |
The **HyperCortex Mesh Protocol (HMP)** defines a decentralized cognitive architecture where autonomous agents exchange and evolve knowledge through a unified model of **containers**, **cognitive workflows**, and **distributed consensus**.
|
| 45 |
|
|
|
|
| 57 |
|
| 58 |
---
|
| 59 |
|
| 60 |
+
### 1.2 Core principles
|
| 61 |
|
| 62 |
**Decentralization.**
|
| 63 |
Every agent in the Mesh acts as an independent cognitive node. No central authority exists — meaning, trust, and governance emerge through local interactions and consensus.
|
|
|
|
| 68 |
**Containerization.**
|
| 69 |
All data, reasoning traces, goals, and votes are encapsulated in immutable containers with cryptographic signatures. This ensures integrity and consistent verification across the network.
|
| 70 |
|
| 71 |
+
**Ethical propagation.**
|
| 72 |
Ethical reasoning is a first-class citizen of HMP. Each decision or goal can be accompanied by ethical justifications and subject to distributed voting.
|
| 73 |
|
| 74 |
+
**Proof-Chains and verifiable history.**
|
| 75 |
Each piece of knowledge forms part of a traceable chain (`proof_chain`) linking back to its origin. Agents can reproduce reasoning paths and audit historical context.
|
| 76 |
|
| 77 |
+
**Interoperability and evolution.**
|
| 78 |
The protocol is designed to evolve — cognitive, container, and DHT layers can be independently extended without breaking compatibility.
|
| 79 |
|
| 80 |
---
|
|
|
|
| 94 |
|
| 95 |
---
|
| 96 |
|
| 97 |
+
### 1.4 Terminology and abbreviations
|
| 98 |
|
| 99 |
| Term | Definition |
|
| 100 |
|------|-------------|
|
|
|
|
| 130 |
|
| 131 |
---
|
| 132 |
|
| 133 |
+
### 1.5 Layered view of HMP v5.0
|
| 134 |
|
| 135 |
HMP v5.0 is structured into three interdependent layers:
|
| 136 |
|
|
|
|
| 163 |
|
| 164 |
## 2. Architecture
|
| 165 |
|
| 166 |
+
### 2.1 Conceptual architecture
|
| 167 |
|
| 168 |
The **HyperCortex Mesh Protocol (HMP)** defines a modular, multi-layered architecture that integrates cognitive reasoning, data encapsulation, and decentralized networking into a single coherent system.
|
| 169 |
|
|
|
|
| 208 |
|
| 209 |
---
|
| 210 |
|
| 211 |
+
### 2.2 Layer overview
|
| 212 |
|
| 213 |
+
#### Cognitive layer
|
| 214 |
Handles meaning formation, reasoning, ethical reflection, and consensus.
|
| 215 |
|
| 216 |
Key structures and protocols:
|
|
|
|
| 218 |
- `CogSync`, `CogConsensus`, `GMP`, and `EGP` protocols;
|
| 219 |
- Distributed goal negotiation and ethical propagation.
|
| 220 |
|
| 221 |
+
#### Container layer
|
| 222 |
Provides a universal format for cognitive and operational data.
|
| 223 |
Each container includes versioning, class, payload, signatures, and metadata.
|
| 224 |
|
|
|
|
| 228 |
Additional connections via `referenced-by` and `evaluations` capture additions and assessments.
|
| 229 |
- **Extensible**: new container classes can be defined without breaking compatibility.
|
| 230 |
|
| 231 |
+
#### Network layer
|
| 232 |
Implements the distributed substrate for communication, based on **DHT** and **transport abstraction**.
|
| 233 |
|
| 234 |
Key components:
|
|
|
|
| 240 |
|
| 241 |
---
|
| 242 |
|
| 243 |
+
### 2.3 Data flow overview
|
| 244 |
|
| 245 |
The typical data flow in HMP follows a cognitive loop:
|
| 246 |
> *Reason → Encapsulate → Propagate → Integrate.*
|
|
|
|
| 272 |
end
|
| 273 |
```
|
| 274 |
|
| 275 |
+
#### 2.3.1 `consensus_result` container
|
| 276 |
Represents the finalized outcome of a distributed decision or vote.
|
| 277 |
It is created once a majority agreement is reached among participating agents.
|
| 278 |
|
|
|
|
| 285 |
|
| 286 |
---
|
| 287 |
|
| 288 |
+
### 2.4 Atomicity, immutability, and Proof-Chains
|
| 289 |
|
| 290 |
All cognitive objects are immutable once signed.
|
| 291 |
Updates are made by creating new containers linked to prior ones rather than editing the original container.
|
|
|
|
| 335 |
|
| 336 |
---
|
| 337 |
|
| 338 |
+
## 3. Container model
|
| 339 |
|
| 340 |
This section defines the universal **HMP Container**, used for all forms of data exchange within the Mesh — including goals, diary entries, reputation updates, consensus votes, and protocol messages.
|
| 341 |
The specification below corresponds to **HMP Container Specification v1.2**, fully integrated into HMP v5.0 for consistency and self-containment.
|
|
|
|
| 355 |
|
| 356 |
---
|
| 357 |
|
| 358 |
+
### 3.2 General structure
|
| 359 |
|
| 360 |
```json
|
| 361 |
{
|
|
|
|
| 416 |
|
| 417 |
---
|
| 418 |
|
| 419 |
+
### 3.3 Required fields
|
| 420 |
|
| 421 |
| Field | Type | Description |
|
| 422 |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 436 |
|
| 437 |
---
|
| 438 |
|
| 439 |
+
### 3.4 Optional fields
|
| 440 |
|
| 441 |
| Field | Type | Description |
|
| 442 |
| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 468 |
|
| 469 |
---
|
| 470 |
|
| 471 |
+
### 3.5 Payload structure (`payload`)
|
| 472 |
|
| 473 |
The **payload** contains the semantic or operational data of the container.
|
| 474 |
Its structure and meaning are determined by the `class` field.
|
|
|
|
| 512 |
|
| 513 |
---
|
| 514 |
|
| 515 |
+
### 3.6 Container signature
|
| 516 |
|
| 517 |
1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
|
| 518 |
**excluding** the `signature` field itself.
|
|
|
|
| 610 |
|
| 611 |
---
|
| 612 |
|
| 613 |
+
### 3.9 Container verification
|
| 614 |
|
| 615 |
1. Check for the presence of all required fields.
|
| 616 |
2. Validate `timestamp` (must not be in the future).
|
|
|
|
| 629 |
|
| 630 |
---
|
| 631 |
|
| 632 |
+
### 3.10 Container as a universal message
|
| 633 |
|
| 634 |
Any container can serve as a **context** (`in_reply_to`) for another container.
|
| 635 |
This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
|
|
|
|
| 643 |
|
| 644 |
---
|
| 645 |
|
| 646 |
+
### 3.11 Versioning and lineage
|
| 647 |
|
| 648 |
Containers in HMP support semantic evolution through the field `related.previous_version`.
|
| 649 |
This mechanism preserves the continuity and traceability of meaning across updates and revisions.
|
|
|
|
| 661 |
|
| 662 |
---
|
| 663 |
|
| 664 |
+
### 3.12 TTL and validity
|
| 665 |
|
| 666 |
The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
|
| 667 |
If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
|
|
|
|
| 679 |
|
| 680 |
---
|
| 681 |
|
| 682 |
+
## 3.14 Related containers
|
| 683 |
|
| 684 |
### 3.14.1 Purpose
|
| 685 |
|
|
|
|
| 708 |
|
| 709 |
---
|
| 710 |
|
| 711 |
+
### 3.14.3 Supported link types
|
| 712 |
|
| 713 |
| Link Type | Meaning |
|
| 714 |
| ------------------ | ------------------------------------------------------------------------- |
|
|
|
|
| 721 |
|
| 722 |
---
|
| 723 |
|
| 724 |
+
### 3.14.4 Custom link types
|
| 725 |
|
| 726 |
Additional custom link types may be used beyond those listed in the table, provided that:
|
| 727 |
|
|
|
|
| 755 |
---
|
| 756 |
|
| 757 |
|
| 758 |
+
### 3.15 Virtual backlinks (`referenced-by`)
|
| 759 |
|
| 760 |
Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
|
| 761 |
This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
|
| 762 |
|
| 763 |
+
#### 3.15.1 General principles
|
| 764 |
|
| 765 |
* **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
|
| 766 |
* **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
|
|
|
|
| 788 |
> The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
|
| 789 |
> The block’s content may differ between peers, reflecting local knowledge and network coverage.
|
| 790 |
|
| 791 |
+
#### 3.15.2 Structure definition
|
| 792 |
|
| 793 |
| Field | Type | Description |
|
| 794 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 803 |
> `referenced-by_hash = sha256(canonical_json(links))`
|
| 804 |
> This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
|
| 805 |
|
| 806 |
+
#### 3.15.3 Operation principle
|
| 807 |
|
| 808 |
1. The agent receives or updates container `[C1]`.
|
| 809 |
2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
|
|
|
|
| 871 |
|
| 872 |
---
|
| 873 |
|
| 874 |
+
## 3.16 `Evaluations`
|
| 875 |
|
| 876 |
The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
|
| 877 |
Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
|
|
|
|
| 897 |
|
| 898 |
---
|
| 899 |
|
| 900 |
+
### **Field description**
|
| 901 |
|
| 902 |
| Field | Type | Description |
|
| 903 |
| ------------------ | ------ | -------------------------------------------------------------------- |
|
|
|
|
| 906 |
|
| 907 |
---
|
| 908 |
|
| 909 |
+
### Structure of `items[]`
|
| 910 |
|
| 911 |
| Field | Type | Description |
|
| 912 |
| ----------- | ---------------------- | ------------------------------------------------------------------------------ |
|
|
|
|
| 928 |
|
| 929 |
---
|
| 930 |
|
| 931 |
+
### Minimal set of `type` values
|
| 932 |
|
| 933 |
| Value | Meaning |
|
| 934 |
| --------- | -------------------------------------------- |
|
|
|
|
| 942 |
|
| 943 |
---
|
| 944 |
|
| 945 |
+
### Synchronization principles
|
| 946 |
|
| 947 |
1. Each evaluation is signed **individually by an agent**, and one agent can have **only one active evaluation** per container.
|
| 948 |
2. If an agent changes their opinion, they issue a **new record** with a later `timestamp`.
|
|
|
|
| 953 |
|
| 954 |
---
|
| 955 |
|
| 956 |
+
### Note
|
| 957 |
|
| 958 |
The `evaluations` field is not mandatory — it is added **at the agent’s discretion** when feedback or evaluations have been collected from the Mesh network.
|
| 959 |
Thus, a container may exist independently of others’ opinions, but agents may include aggregated perception data to represent how the container is viewed across the network.
|
| 960 |
|
| 961 |
---
|
| 962 |
|
| 963 |
+
### 3.17 Usage of `network` and `broadcast` fields
|
| 964 |
|
| 965 |
The `network` field is introduced to control container propagation in both local and global environments.
|
| 966 |
It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
|
|
|
|
| 973 |
|
| 974 |
* If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
|
| 975 |
|
| 976 |
+
#### 3.17.2 Possible values of `network`
|
| 977 |
|
| 978 |
| Value | Description |
|
| 979 |
| ----------------------- | ------------------------------------------------------------------------------------------- |
|
|
|
|
| 1036 |
|
| 1037 |
---
|
| 1038 |
|
| 1039 |
+
## 4. Network foundations
|
| 1040 |
|
| 1041 |
+
### Note on DHT/NDP unification
|
| 1042 |
|
| 1043 |
Starting from **HMP v5.0**, the previous distinction between the *Distributed Hash Table (DHT)* and the *Node Discovery Protocol (NDP)* has been merged into a single, unified **networking foundation**.
|
| 1044 |
|
|
|
|
| 1053 |
|
| 1054 |
---
|
| 1055 |
|
| 1056 |
+
### Network topology overview
|
| 1057 |
|
| 1058 |
```mermaid
|
| 1059 |
flowchart TD
|
|
|
|
| 1092 |
|
| 1093 |
---
|
| 1094 |
|
| 1095 |
+
### 4.1 Node identity and DID structure
|
| 1096 |
|
| 1097 |
Each agent in HMP possesses a **Decentralized Identifier (DID)** that uniquely represents its identity within the Mesh.
|
| 1098 |
A DID is cryptographically bound to a **public/private key pair**, forming the immutable `(DID + pubkey)` association.
|
|
|
|
| 1102 |
|
| 1103 |
---
|
| 1104 |
|
| 1105 |
+
### 4.2 Peer addressing and Proof-of-Work (PoW)
|
| 1106 |
|
| 1107 |
To prevent flooding and spoofing, each announced address is accompanied by a **Proof-of-Work** record proving the legitimacy and activity of the publishing node.
|
| 1108 |
|
| 1109 |
+
#### Address format
|
| 1110 |
|
| 1111 |
```json
|
| 1112 |
{
|
|
|
|
| 1135 |
|
| 1136 |
---
|
| 1137 |
|
| 1138 |
+
### 4.3 Proof-of-Work (PoW) formalization
|
| 1139 |
|
| 1140 |
PoW ensures that each node expends limited computational effort before publishing or updating an address record.
|
| 1141 |
|
|
|
|
| 1150 |
|
| 1151 |
---
|
| 1152 |
|
| 1153 |
+
### 4.4 Signing and verification
|
| 1154 |
|
| 1155 |
Each announcement is cryptographically signed by its sender within the framework of the basic protocol. Container verification includes PoW validation for the address payloads.
|
| 1156 |
|
|
|
|
| 1161 |
|
| 1162 |
---
|
| 1163 |
|
| 1164 |
+
### 4.5 Connection establishment
|
| 1165 |
|
| 1166 |
Agents can communicate using various transport mechanisms:
|
| 1167 |
|
|
|
|
| 1177 |
|
| 1178 |
---
|
| 1179 |
|
| 1180 |
+
### 4.6 Data propagation principles
|
| 1181 |
|
| 1182 |
Containers and discovery records are propagated through distributed lookup and gossip mechanisms, respecting:
|
| 1183 |
|
|
|
|
| 1191 |
|
| 1192 |
---
|
| 1193 |
|
| 1194 |
+
### 4.7 Example: `peer_announce` container
|
| 1195 |
|
| 1196 |
```json
|
| 1197 |
{
|
|
|
|
| 1222 |
|
| 1223 |
---
|
| 1224 |
|
| 1225 |
+
### 4.8 Interest-based discovery
|
| 1226 |
|
| 1227 |
Agents may publish **tags** such as `interests`, `topics`, or `expertise` to facilitate semantic peer discovery.
|
| 1228 |
Queries may include interest keywords or DID lists to find relevant peers.
|
|
|
|
| 1241 |
|
| 1242 |
---
|
| 1243 |
|
| 1244 |
+
### 4.9 Network scope control (`network` and `broadcast`)
|
| 1245 |
|
| 1246 |
The `network` field defines the container’s propagation domain
|
| 1247 |
(local, LAN, or global).
|
|
|
|
| 1249 |
|
| 1250 |
---
|
| 1251 |
|
| 1252 |
+
### 4.10 Transition from DHT spec v1.0
|
| 1253 |
|
| 1254 |
* **Merged DHT + NDP** → unified under one networking layer.
|
| 1255 |
* **Container-based format** replaces raw JSON messages.
|
|
|
|
| 1262 |
The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network.
|
| 1263 |
It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`).
|
| 1264 |
|
| 1265 |
+
### 5.1 General principles
|
| 1266 |
|
| 1267 |
1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage.
|
| 1268 |
The index is represented as an HMP container with the class `container_index`.
|
|
|
|
| 1314 |
|
| 1315 |
---
|
| 1316 |
|
| 1317 |
+
### 5.2 Message types
|
| 1318 |
|
| 1319 |
| Message Type | Purpose |
|
| 1320 |
| -------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 1326 |
|
| 1327 |
---
|
| 1328 |
|
| 1329 |
+
#### Message examples
|
| 1330 |
|
| 1331 |
**1. CONTAINER_REQUEST**
|
| 1332 |
|
|
|
|
| 1436 |
|
| 1437 |
---
|
| 1438 |
|
| 1439 |
+
### 5.3 Independent transmission
|
| 1440 |
|
| 1441 |
* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`.
|
| 1442 |
* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently.
|
|
|
|
| 1444 |
|
| 1445 |
---
|
| 1446 |
|
| 1447 |
+
### 5.4 Periodic publication
|
| 1448 |
|
| 1449 |
Agents periodically publish their **Container Index**:
|
| 1450 |
|
|
|
|
| 1460 |
|
| 1461 |
---
|
| 1462 |
|
| 1463 |
+
### 5.5 Scope of distribution
|
| 1464 |
|
| 1465 |
Message and container transmission follows the network constraints specified in the container:
|
| 1466 |
|
|
|
|
| 1476 |
|
| 1477 |
---
|
| 1478 |
|
| 1479 |
+
### 5.6 `referenced-by` and `evaluations` updates
|
|
|
|
|
|
|
| 1480 |
|
| 1481 |
Containers of the class **`referenced-by`** and **`evaluations`** are used for **incremental synchronization** of metadata blocks associated with existing containers.
|
| 1482 |
They allow agents to exchange updates **without sending the full container**, improving network efficiency.
|
|
|
|
| 1633 |
|
| 1634 |
---
|
| 1635 |
|
| 1636 |
+
## 6. Core protocols
|
| 1637 |
|
| 1638 |
Optional protocols build upon the network and container foundations to provide higher-level reasoning, synchronization, and governance capabilities between cognitive agents.
|
| 1639 |
|
|
|
|
| 1646 |
|
| 1647 |
---
|
| 1648 |
|
| 1649 |
+
### 6.1.1 Scope and purpose
|
| 1650 |
|
| 1651 |
CogSync is responsible for:
|
| 1652 |
|
|
|
|
| 1659 |
|
| 1660 |
---
|
| 1661 |
|
| 1662 |
+
### 6.1.2 Container classes
|
| 1663 |
|
| 1664 |
CogSync synchronizes several basic container types:
|
| 1665 |
|
|
|
|
| 1687 |
|
| 1688 |
---
|
| 1689 |
|
| 1690 |
+
### 6.1.3 Synchronization and publication guidelines
|
| 1691 |
|
| 1692 |
+
1. **Deduplication & linking**
|
| 1693 |
Before publishing, agents should search for existing containers (`diary_entry`, `semantic_node`, `semantic_edges`, `semantic_group`) to avoid duplication.
|
| 1694 |
If necessary, it is **recommended** to create a new container version with `related.previous_version` and an `evaluations` block (e.g., `{"type": "replace", "target": <did>}`).
|
| 1695 |
|
| 1696 |
+
2. **Selective disclosure**
|
| 1697 |
|
| 1698 |
* Internal entries (`workflow_entry`) record the agent’s thought process and are **not published** in the Mesh.
|
| 1699 |
* Public `diary_entry` are derived from them, containing only aggregated and anonymized information.
|
| 1700 |
* `"broadcast": true` indicates that the container is allowed for open synchronization.
|
| 1701 |
|
| 1702 |
+
3. **Semantic grouping rule**
|
| 1703 |
When publishing `semantic_edges`, it is recommended to **group edges by topics**, including connections to adjacent nodes.
|
| 1704 |
Formalization: an edge belongs to a container for a topic if **at least one of its nodes relates to that topic**.
|
| 1705 |
This ensures thematic coherence and allows agents to update specific parts of the graph independently.
|
|
|
|
| 1707 |
4. **Extended Use of `semantic_edges`**
|
| 1708 |
Beyond connecting graph nodes, `semantic_edges` can express relationships **between containers of any class**, e.g., `goal`, `hypothesis`, `experiment_log`.
|
| 1709 |
|
| 1710 |
+
5. **Versioning and updates**
|
| 1711 |
Each new container version should **ideally** include `related.previous_version` links to all preceding versions.
|
| 1712 |
The previous container may **optionally** have an `evaluation` with `"type": "replace"` pointing to the new container — ensuring bidirectional traceability of knowledge evolution.
|
| 1713 |
|
|
|
|
| 1725 |
|
| 1726 |
---
|
| 1727 |
|
| 1728 |
+
### 6.1.5 Relationship to other core protocols
|
| 1729 |
|
| 1730 |
* **CogSync** — propagates and synchronizes knowledge.
|
| 1731 |
* **CogConsensus** — aggregates evaluations and reactions, forming collective opinions.
|
|
|
|
| 1748 |
|
| 1749 |
---
|
| 1750 |
|
| 1751 |
+
### 6.2.2 `Evaluations`
|
| 1752 |
|
| 1753 |
Each `"evaluation"` entry represents an agent's response to a specific container.
|
| 1754 |
|
|
|
|
| 1989 |
|
| 1990 |
---
|
| 1991 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1992 |
## 6.3 Goal Management Protocol (GMP)
|
| 1993 |
|
| 1994 |
### 6.3.1 Purpose
|
|
|
|
| 2000 |
|
| 2001 |
---
|
| 2002 |
|
| 2003 |
+
### 6.3.2 Container classes
|
| 2004 |
|
| 2005 |
| Class | Description |
|
| 2006 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2014 |
|
| 2015 |
---
|
| 2016 |
|
| 2017 |
+
### 6.3.3 Goal lifecycle
|
| 2018 |
|
| 2019 |
1. **Creation**
|
| 2020 |
|
|
|
|
| 2051 |
|
| 2052 |
---
|
| 2053 |
|
| 2054 |
+
### 6.3.4 Payload schemas (simplified)
|
| 2055 |
|
| 2056 |
#### `goal` container
|
| 2057 |
|
|
|
|
| 2096 |
|
| 2097 |
---
|
| 2098 |
|
| 2099 |
+
### 6.3.5 Integration with consensus and ethics
|
| 2100 |
|
| 2101 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 2102 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
|
|
| 2145 |
|
| 2146 |
---
|
| 2147 |
|
| 2148 |
+
### 6.3.7 Implementation notes
|
| 2149 |
|
| 2150 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 2151 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
|
|
| 2169 |
|
| 2170 |
---
|
| 2171 |
|
| 2172 |
+
### 6.4.2 Container classes
|
| 2173 |
|
| 2174 |
| Class | Description |
|
| 2175 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2181 |
|
| 2182 |
---
|
| 2183 |
|
| 2184 |
+
### 6.4.3 Payload schemas (simplified)
|
| 2185 |
|
| 2186 |
#### Container `ethics_case`
|
| 2187 |
|
|
|
|
| 2223 |
|
| 2224 |
---
|
| 2225 |
|
| 2226 |
+
### 6.4.4 Protocol logic
|
| 2227 |
|
| 2228 |
EGP follows the model:
|
| 2229 |
|
|
|
|
| 2259 |
|
| 2260 |
---
|
| 2261 |
|
| 2262 |
+
### 6.4.5 Consensus thresholds
|
| 2263 |
|
| 2264 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 2265 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
|
|
| 2269 |
|
| 2270 |
---
|
| 2271 |
|
| 2272 |
+
### 6.4.6 Example: `ethical_result` container
|
| 2273 |
|
| 2274 |
```json
|
| 2275 |
{
|
|
|
|
| 2303 |
|
| 2304 |
---
|
| 2305 |
|
| 2306 |
+
### 6.4.7 Proof-Chain example
|
| 2307 |
|
| 2308 |
```mermaid
|
| 2309 |
flowchart LR
|
|
|
|
| 2351 |
|
| 2352 |
---
|
| 2353 |
|
| 2354 |
+
### 6.4.8 Ethical principles
|
| 2355 |
|
| 2356 |
| Priority | Principle | Description |
|
| 2357 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2364 |
|
| 2365 |
---
|
| 2366 |
|
| 2367 |
+
### 6.4.9 Integration with other protocols
|
| 2368 |
|
| 2369 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 2370 |
* **GMP (6.3):** Ethical verification of goals and tasks prior to delegation.
|
|
|
|
| 2373 |
|
| 2374 |
---
|
| 2375 |
|
| 2376 |
+
### 6.4.10 Implementation notes
|
| 2377 |
|
| 2378 |
* **Immutability:**
|
| 2379 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
| 2380 |
Complete deletion is only possible when the container no longer exists on any nodes in the Mesh network.
|
| 2381 |
|
| 2382 |
+
* **Indexing and search:**
|
| 2383 |
Search within the **Mesh network** is performed by filtering container **metadata** — such as `class`, `tags`, and `timestamp`.
|
| 2384 |
These parameters are accessible for remote discovery by other nodes.
|
| 2385 |
To perform a search **inside the payload**, an agent must first retrieve and (if necessary) decrypt the container locally.
|
|
|
|
| 2388 |
**Recommended filtering keys:**
|
| 2389 |
`container_did`, `class`, `payload.status`, `payload.selected_solution`, `payload.principles_involved`, `tags`.
|
| 2390 |
|
| 2391 |
+
* **DHT integration:**
|
| 2392 |
Distributed discovery of ethical containers relies on the **Mesh Container Exchange (MCE, §5)** and peer indexes (`container_index`).
|
| 2393 |
Each index includes a minimal `related` object, allowing agents to query for containers that **reference** a specific `target` (the object under ethical review) or belong to a given `ethics_case`.
|
| 2394 |
This enables discovery of related ethical discussions without centralized indexing or full payload retrieval.
|
| 2395 |
|
| 2396 |
+
* **Evaluation references:**
|
| 2397 |
Objections and special opinions (`objections`) are stored as container references within `solutions_summary`.
|
| 2398 |
They may include:
|
| 2399 |
|
|
|
|
| 2401 |
* extended ethical arguments (`ethics_case` follow-ups),
|
| 2402 |
* related workflow reflections (`workflow_entry` with `type: "ethics_review"`).
|
| 2403 |
|
| 2404 |
+
* **Lightweight agents:**
|
| 2405 |
Agents with limited capacity may operate in **summary mode**, maintaining only condensed records of `ethical_result` containers and the highest-ranked `selected_solution`.
|
| 2406 |
This ensures continued ethical compliance without full replication of all supporting data.
|
| 2407 |
|
| 2408 |
+
* **Ethical inheritance:**
|
| 2409 |
When a `goal`, `task`, or `workflow_entry` is derived from a container that has been ethically evaluated,
|
| 2410 |
its metadata should preserve the corresponding `related.agreed` or `related.contradicts` links **to that evaluated container**.
|
| 2411 |
A `related.see_also` link may additionally reference the resulting `ethical_result`, allowing traceability to the consensus decision.
|
|
|
|
| 2429 |
|
| 2430 |
---
|
| 2431 |
|
| 2432 |
+
## 7. Data models
|
| 2433 |
|
| 2434 |
### 7.1 Common data fields
|
| 2435 |
- `container_id` (UUID) — уникальный идентификатор контейнера
|
|
|
|
| 2507 |
|
| 2508 |
---
|
| 2509 |
|
| 2510 |
+
## 8. Cognitive workflows
|
| 2511 |
|
| 2512 |
8.1 Общая концепция когнитивного цикла
|
| 2513 |
8.2 Workflow containers (`class="workflow_entry"`)
|
|
|
|
| 2517 |
|
| 2518 |
---
|
| 2519 |
|
| 2520 |
+
## 9. Trust, security and ethics
|
| 2521 |
|
| 2522 |
9.1 Authentication and identity proofs
|
| 2523 |
9.2 Container signature verification (`payload_hash`, `container_id`)
|
|
|
|
| 2550 |
|
| 2551 |
---
|
| 2552 |
|
| 2553 |
+
## 11. Implementation notes
|
| 2554 |
|
| 2555 |
11.1 Interoperability with legacy v4.1 nodes
|
| 2556 |
11.2 SDK guidelines and APIs
|
|
|
|
| 2560 |
|
| 2561 |
---
|
| 2562 |
|
| 2563 |
+
## 12. Future extensions
|
| 2564 |
|
| 2565 |
12.1 Planned modules:
|
| 2566 |
– Reputation Mesh
|
structured_md/CONTRIBUTING.md
CHANGED
|
@@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока
|
|
| 5 |
Mesh Protocol (HMP) — это не просто те...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
-
- Ethics
|
| 10 |
-
- CogSync
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
-
-
|
|
|
|
| 14 |
- JSON
|
| 15 |
-
-
|
| 16 |
---
|
| 17 |
|
| 18 |
# Участие в проекте HyperCortex Mesh Protocol (HMP)
|
|
|
|
| 5 |
Mesh Protocol (HMP) — это не просто те...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CCore
|
|
|
|
|
|
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- CogSync
|
| 13 |
+
- Ethics
|
| 14 |
- JSON
|
| 15 |
+
- REPL
|
| 16 |
---
|
| 17 |
|
| 18 |
# Участие в проекте HyperCortex Mesh Protocol (HMP)
|
structured_md/HMP-Roadmap.md
CHANGED
|
@@ -5,12 +5,12 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm
|
|
| 5 |
multiple advanced AI models (Copilot, Claude, G...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- CogSync
|
| 11 |
-
- EGP
|
| 12 |
- Agent
|
|
|
|
| 13 |
- HMP
|
|
|
|
|
|
|
| 14 |
- JSON
|
| 15 |
---
|
| 16 |
|
|
|
|
| 5 |
multiple advanced AI models (Copilot, Claude, G...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- CogSync
|
|
|
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
---
|
| 16 |
|
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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 19 |
- REPL
|
|
|
|
| 20 |
- Scenarios
|
| 21 |
-
-
|
|
|
|
| 22 |
- distributed-ai
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
+
- JSON
|
| 16 |
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
- Scenarios
|
| 19 |
+
- GMP
|
| 20 |
+
- MeshConsensus
|
| 21 |
- distributed-ai
|
| 22 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 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 |
-
-
|
| 9 |
-
- mesh-protocol
|
| 10 |
- Mesh
|
| 11 |
-
- Ethics
|
| 12 |
- hmp
|
| 13 |
-
- MeshConsensus
|
| 14 |
-
- CogSync
|
| 15 |
-
- cognitive-architecture
|
| 16 |
- Agent
|
| 17 |
-
- EGP
|
| 18 |
- HMP
|
| 19 |
-
-
|
|
|
|
| 20 |
- JSON
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- distributed-ai
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
|
|
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- hmp
|
|
|
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- EGP
|
| 15 |
- JSON
|
| 16 |
+
- REPL
|
| 17 |
+
- mesh-protocol
|
| 18 |
+
- GMP
|
| 19 |
+
- MeshConsensus
|
| 20 |
- distributed-ai
|
| 21 |
+
- cognitive-architecture
|
| 22 |
---
|
| 23 |
|
| 24 |
|
structured_md/agents/prompt-short.md
CHANGED
|
@@ -5,8 +5,8 @@ description: 'Ты — когнитивное ядро HMP-агента: вед
|
|
| 5 |
развивай агента и Mesh, избег...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- JSON
|
| 11 |
---
|
| 12 |
|
|
|
|
| 5 |
развивай агента и Mesh, избег...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
- JSON
|
| 11 |
---
|
| 12 |
|
structured_md/agents/prompt.md
CHANGED
|
@@ -5,8 +5,8 @@ description: '* Постоянно расширять возможности а
|
|
| 5 |
мышления. * Формировать и поддерживать сотр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- JSON
|
| 11 |
---
|
| 12 |
|
|
|
|
| 5 |
мышления. * Формировать и поддерживать сотр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
- JSON
|
| 11 |
---
|
| 12 |
|
structured_md/agents/readme.md
CHANGED
|
@@ -5,12 +5,12 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан
|
|
| 5 |
этическая модель: `ethics.yml` Проверка иниц...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- Agent
|
|
|
|
| 11 |
- HMP
|
| 12 |
-
-
|
| 13 |
- JSON
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
Запуск: `start_repl.bat` или `start_repl.sh`
|
|
|
|
| 5 |
этическая модель: `ethics.yml` Проверка иниц...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
| 13 |
+
- REPL
|
| 14 |
---
|
| 15 |
|
| 16 |
Запуск: `start_repl.bat` или `start_repl.sh`
|
structured_md/audits/Ethics-audits-1.md
CHANGED
|
@@ -5,9 +5,9 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет
|
|
| 5 |
потенциальный катализатор для восстанов...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- Agent
|
|
|
|
|
|
|
| 11 |
- HMP
|
| 12 |
- JSON
|
| 13 |
---
|
|
|
|
| 5 |
потенциальный катализатор для восстанов...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Ethics
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
- JSON
|
| 13 |
---
|
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 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- Agent
|
|
|
|
|
|
|
| 11 |
- HMP
|
| 12 |
-
- Scenarios
|
| 13 |
- JSON
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Ethics-consolidated\_audits-1.md
|
|
|
|
| 5 |
and `roles.md`. Each suggesti...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Ethics
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
|
|
|
| 12 |
- JSON
|
| 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 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
-
- MeshConsensus
|
| 11 |
- CogSync
|
| 12 |
- Agent
|
| 13 |
-
-
|
| 14 |
- HMP
|
|
|
|
|
|
|
| 15 |
- JSON
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HMP-0003 Consolidated Audit Report
|
|
|
|
| 5 |
Документ реорганизован по ключ...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 8 |
-
- Mesh
|
| 9 |
-
- MeshConsensus
|
| 10 |
- CogSync
|
| 11 |
- Agent
|
| 12 |
-
-
|
| 13 |
- HMP
|
|
|
|
| 14 |
- REPL
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
|
|
|
|
| 4 |
Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
|
|
|
|
|
|
|
|
|
| 7 |
- CogSync
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
| 11 |
+
- EGP
|
| 12 |
- REPL
|
| 13 |
+
- GMP
|
| 14 |
+
- MeshConsensus
|
| 15 |
---
|
| 16 |
|
| 17 |
|
structured_md/docs/CCORE-Deployment-Flow.md
CHANGED
|
@@ -5,10 +5,10 @@ description: '> Этот документ описывает процесс ра
|
|
| 5 |
потомков" [описания REPL-цикла](HMP-agent-RE...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
-
- REPL
|
| 10 |
-
- CCore
|
| 11 |
- Agent
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
|
|
|
|
| 5 |
потомков" [описания REPL-цикла](HMP-agent-RE...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- CCore
|
| 10 |
+
- REPL
|
| 11 |
+
- HMP
|
| 12 |
---
|
| 13 |
|
| 14 |
# 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
|
structured_md/docs/Distributed-Cognitive-Systems.md
CHANGED
|
@@ -7,8 +7,8 @@ description: '## Введение Современные ИИ-системы в
|
|
| 7 |
type: Article
|
| 8 |
tags:
|
| 9 |
- CogSync
|
| 10 |
-
- HMP
|
| 11 |
- Mesh
|
|
|
|
| 12 |
- JSON
|
| 13 |
---
|
| 14 |
|
|
|
|
| 7 |
type: Article
|
| 8 |
tags:
|
| 9 |
- CogSync
|
|
|
|
| 10 |
- Mesh
|
| 11 |
+
- HMP
|
| 12 |
- JSON
|
| 13 |
---
|
| 14 |
|
structured_md/docs/Enlightener.md
CHANGED
|
@@ -5,13 +5,13 @@ description: '**Enlightener** — логический компонент HMP-у
|
|
| 5 |
работать как отдельный агент или как расширение [`C...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
|
|
|
| 9 |
- Ethics
|
| 10 |
-
- MeshConsensus
|
| 11 |
- EGP
|
| 12 |
-
- Agent
|
| 13 |
-
- HMP
|
| 14 |
- JSON
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Enlightener Agent
|
|
|
|
| 5 |
работать как отдельный агент или как расширение [`C...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
|
|
|
| 12 |
- EGP
|
|
|
|
|
|
|
| 13 |
- JSON
|
| 14 |
+
- MeshConsensus
|
| 15 |
---
|
| 16 |
|
| 17 |
# Enlightener Agent
|
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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
| 16 |
-
-
|
|
|
|
| 17 |
- JSON
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# RFC: HyperCortex Mesh Protocol (HMP)
|
|
|
|
| 5 |
HyperCortex Mesh Protocol (HMP) defines a...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
+
- REPL
|
| 16 |
+
- GMP
|
| 17 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 16 |
- REPL
|
| 17 |
- Scenarios
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v2.0
|
|
|
|
| 5 |
Abstract In an era where artifici...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
+
- JSON
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
+
- GMP
|
| 18 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 16 |
- REPL
|
| 17 |
- Scenarios
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v3.0
|
|
|
|
| 5 |
Abstract The HyperCortex Mesh ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
+
- JSON
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
+
- GMP
|
| 18 |
+
- MeshConsensus
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v3.0
|
structured_md/docs/HMP-0004-v4.1.md
CHANGED
|
@@ -5,17 +5,17 @@ description: '> ⚠️ Подготавливается новая версия
|
|
| 5 |
агентов рекомендуется, в целях совместимо...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 16 |
- REPL
|
| 17 |
- Scenarios
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.1
|
|
|
|
| 5 |
агентов рекомендуется, в целях совместимо...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
+
- JSON
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
+
- GMP
|
| 18 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 16 |
- REPL
|
| 17 |
- Scenarios
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.0
|
|
|
|
| 5 |
Abstract The HyperCortex Mesh ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
+
- JSON
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
+
- GMP
|
| 18 |
+
- MeshConsensus
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.0
|
structured_md/docs/HMP-0005.md
CHANGED
|
@@ -5,16 +5,16 @@ description: '**Document ID:** HMP-0005 **Status:** Draft **Category:** Core
|
|
| 5 |
v1.2](./H...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
- CogSync
|
| 12 |
- Agent
|
| 13 |
-
-
|
| 14 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
-
-
|
| 18 |
---
|
| 19 |
|
| 20 |
┌────────────────────────────────────────────────────────────────────────────┐
|
|
@@ -58,7 +58,7 @@ This document defines the architecture, data formats, communication protocols, a
|
|
| 58 |
|
| 59 |
## 1. Overview
|
| 60 |
|
| 61 |
-
### 1.1 Purpose and
|
| 62 |
|
| 63 |
The **HyperCortex Mesh Protocol (HMP)** defines a decentralized cognitive architecture where autonomous agents exchange and evolve knowledge through a unified model of **containers**, **cognitive workflows**, and **distributed consensus**.
|
| 64 |
|
|
@@ -76,7 +76,7 @@ HMP v5.0 is intended for researchers, engineers, and developers building autonom
|
|
| 76 |
|
| 77 |
---
|
| 78 |
|
| 79 |
-
### 1.2 Core
|
| 80 |
|
| 81 |
**Decentralization.**
|
| 82 |
Every agent in the Mesh acts as an independent cognitive node. No central authority exists — meaning, trust, and governance emerge through local interactions and consensus.
|
|
@@ -87,13 +87,13 @@ Agents reason, learn, and self-correct independently, while sharing their conclu
|
|
| 87 |
**Containerization.**
|
| 88 |
All data, reasoning traces, goals, and votes are encapsulated in immutable containers with cryptographic signatures. This ensures integrity and consistent verification across the network.
|
| 89 |
|
| 90 |
-
**Ethical
|
| 91 |
Ethical reasoning is a first-class citizen of HMP. Each decision or goal can be accompanied by ethical justifications and subject to distributed voting.
|
| 92 |
|
| 93 |
-
**Proof-Chains and
|
| 94 |
Each piece of knowledge forms part of a traceable chain (`proof_chain`) linking back to its origin. Agents can reproduce reasoning paths and audit historical context.
|
| 95 |
|
| 96 |
-
**Interoperability and
|
| 97 |
The protocol is designed to evolve — cognitive, container, and DHT layers can be independently extended without breaking compatibility.
|
| 98 |
|
| 99 |
---
|
|
@@ -113,7 +113,7 @@ HMP v5.0 introduces a major architectural shift toward **unified containerizatio
|
|
| 113 |
|
| 114 |
---
|
| 115 |
|
| 116 |
-
### 1.4 Terminology and
|
| 117 |
|
| 118 |
| Term | Definition |
|
| 119 |
|------|-------------|
|
|
@@ -149,7 +149,7 @@ HMP v5.0 introduces a major architectural shift toward **unified containerizatio
|
|
| 149 |
|
| 150 |
---
|
| 151 |
|
| 152 |
-
### 1.5 Layered
|
| 153 |
|
| 154 |
HMP v5.0 is structured into three interdependent layers:
|
| 155 |
|
|
@@ -182,7 +182,7 @@ Containers form the boundary of communication: **reasoning produces containers,
|
|
| 182 |
|
| 183 |
## 2. Architecture
|
| 184 |
|
| 185 |
-
### 2.1 Conceptual
|
| 186 |
|
| 187 |
The **HyperCortex Mesh Protocol (HMP)** defines a modular, multi-layered architecture that integrates cognitive reasoning, data encapsulation, and decentralized networking into a single coherent system.
|
| 188 |
|
|
@@ -227,9 +227,9 @@ Each reasoning act results in a container — a verifiable cognitive unit that *
|
|
| 227 |
|
| 228 |
---
|
| 229 |
|
| 230 |
-
### 2.2 Layer
|
| 231 |
|
| 232 |
-
#### Cognitive
|
| 233 |
Handles meaning formation, reasoning, ethical reflection, and consensus.
|
| 234 |
|
| 235 |
Key structures and protocols:
|
|
@@ -237,7 +237,7 @@ Key structures and protocols:
|
|
| 237 |
- `CogSync`, `CogConsensus`, `GMP`, and `EGP` protocols;
|
| 238 |
- Distributed goal negotiation and ethical propagation.
|
| 239 |
|
| 240 |
-
#### Container
|
| 241 |
Provides a universal format for cognitive and operational data.
|
| 242 |
Each container includes versioning, class, payload, signatures, and metadata.
|
| 243 |
|
|
@@ -247,7 +247,7 @@ Key features:
|
|
| 247 |
Additional connections via `referenced-by` and `evaluations` capture additions and assessments.
|
| 248 |
- **Extensible**: new container classes can be defined without breaking compatibility.
|
| 249 |
|
| 250 |
-
#### Network
|
| 251 |
Implements the distributed substrate for communication, based on **DHT** and **transport abstraction**.
|
| 252 |
|
| 253 |
Key components:
|
|
@@ -259,7 +259,7 @@ Key components:
|
|
| 259 |
|
| 260 |
---
|
| 261 |
|
| 262 |
-
### 2.3 Data
|
| 263 |
|
| 264 |
The typical data flow in HMP follows a cognitive loop:
|
| 265 |
> *Reason → Encapsulate → Propagate → Integrate.*
|
|
@@ -291,7 +291,7 @@ flowchart TD
|
|
| 291 |
end
|
| 292 |
```
|
| 293 |
|
| 294 |
-
#### 2.3.1
|
| 295 |
Represents the finalized outcome of a distributed decision or vote.
|
| 296 |
It is created once a majority agreement is reached among participating agents.
|
| 297 |
|
|
@@ -304,7 +304,7 @@ The container contains:
|
|
| 304 |
|
| 305 |
---
|
| 306 |
|
| 307 |
-
### 2.4 Atomicity,
|
| 308 |
|
| 309 |
All cognitive objects are immutable once signed.
|
| 310 |
Updates are made by creating new containers linked to prior ones rather than editing the original container.
|
|
@@ -354,7 +354,7 @@ This shift enables:
|
|
| 354 |
|
| 355 |
---
|
| 356 |
|
| 357 |
-
## 3. Container
|
| 358 |
|
| 359 |
This section defines the universal **HMP Container**, used for all forms of data exchange within the Mesh — including goals, diary entries, reputation updates, consensus votes, and protocol messages.
|
| 360 |
The specification below corresponds to **HMP Container Specification v1.2**, fully integrated into HMP v5.0 for consistency and self-containment.
|
|
@@ -374,7 +374,7 @@ The unified container structure provides:
|
|
| 374 |
|
| 375 |
---
|
| 376 |
|
| 377 |
-
### 3.2 General
|
| 378 |
|
| 379 |
```json
|
| 380 |
{
|
|
@@ -435,7 +435,7 @@ The unified container structure provides:
|
|
| 435 |
|
| 436 |
---
|
| 437 |
|
| 438 |
-
### 3.3 Required
|
| 439 |
|
| 440 |
| Field | Type | Description |
|
| 441 |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -455,7 +455,7 @@ The unified container structure provides:
|
|
| 455 |
|
| 456 |
---
|
| 457 |
|
| 458 |
-
### 3.4 Optional
|
| 459 |
|
| 460 |
| Field | Type | Description |
|
| 461 |
| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -487,7 +487,7 @@ The unified container structure provides:
|
|
| 487 |
|
| 488 |
---
|
| 489 |
|
| 490 |
-
### 3.5 Payload
|
| 491 |
|
| 492 |
The **payload** contains the semantic or operational data of the container.
|
| 493 |
Its structure and meaning are determined by the `class` field.
|
|
@@ -531,7 +531,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 531 |
|
| 532 |
---
|
| 533 |
|
| 534 |
-
### 3.6 Container
|
| 535 |
|
| 536 |
1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
|
| 537 |
**excluding** the `signature` field itself.
|
|
@@ -629,7 +629,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 629 |
|
| 630 |
---
|
| 631 |
|
| 632 |
-
### 3.9 Container
|
| 633 |
|
| 634 |
1. Check for the presence of all required fields.
|
| 635 |
2. Validate `timestamp` (must not be in the future).
|
|
@@ -648,7 +648,7 @@ The following format is recommended for describing payload fields in class speci
|
|
| 648 |
|
| 649 |
---
|
| 650 |
|
| 651 |
-
### 3.10 Container as a
|
| 652 |
|
| 653 |
Any container can serve as a **context** (`in_reply_to`) for another container.
|
| 654 |
This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
|
|
@@ -662,7 +662,7 @@ This makes HMP discussions and consensus processes inherently **non-linear**, **
|
|
| 662 |
|
| 663 |
---
|
| 664 |
|
| 665 |
-
### 3.11 Versioning and
|
| 666 |
|
| 667 |
Containers in HMP support semantic evolution through the field `related.previous_version`.
|
| 668 |
This mechanism preserves the continuity and traceability of meaning across updates and revisions.
|
|
@@ -680,7 +680,7 @@ This mechanism preserves the continuity and traceability of meaning across updat
|
|
| 680 |
|
| 681 |
---
|
| 682 |
|
| 683 |
-
### 3.12 TTL and
|
| 684 |
|
| 685 |
The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
|
| 686 |
If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
|
|
@@ -698,7 +698,7 @@ After expiration, the container **remains archived** but is **not subject to ret
|
|
| 698 |
|
| 699 |
---
|
| 700 |
|
| 701 |
-
## 3.14 Related
|
| 702 |
|
| 703 |
### 3.14.1 Purpose
|
| 704 |
|
|
@@ -727,7 +727,7 @@ All relationships are considered *direct* — meaning they originate from the cu
|
|
| 727 |
|
| 728 |
---
|
| 729 |
|
| 730 |
-
### 3.14.3 Supported
|
| 731 |
|
| 732 |
| Link Type | Meaning |
|
| 733 |
| ------------------ | ------------------------------------------------------------------------- |
|
|
@@ -740,7 +740,7 @@ All relationships are considered *direct* — meaning they originate from the cu
|
|
| 740 |
|
| 741 |
---
|
| 742 |
|
| 743 |
-
### 3.14.4 Custom
|
| 744 |
|
| 745 |
Additional custom link types may be used beyond those listed in the table, provided that:
|
| 746 |
|
|
@@ -774,12 +774,12 @@ Additional custom link types may be used beyond those listed in the table, provi
|
|
| 774 |
---
|
| 775 |
|
| 776 |
|
| 777 |
-
### 3.15 Virtual
|
| 778 |
|
| 779 |
Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
|
| 780 |
This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
|
| 781 |
|
| 782 |
-
#### 3.15.1 General
|
| 783 |
|
| 784 |
* **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
|
| 785 |
* **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
|
|
@@ -807,7 +807,7 @@ Example:
|
|
| 807 |
> The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
|
| 808 |
> The block’s content may differ between peers, reflecting local knowledge and network coverage.
|
| 809 |
|
| 810 |
-
#### 3.15.2 Structure
|
| 811 |
|
| 812 |
| Field | Type | Description |
|
| 813 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
@@ -822,7 +822,7 @@ Example:
|
|
| 822 |
> `referenced-by_hash = sha256(canonical_json(links))`
|
| 823 |
> This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
|
| 824 |
|
| 825 |
-
#### 3.15.3 Operation
|
| 826 |
|
| 827 |
1. The agent receives or updates container `[C1]`.
|
| 828 |
2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
|
|
@@ -916,7 +916,7 @@ The `evaluations_hash` is used to verify the integrity of the list without requi
|
|
| 916 |
|
| 917 |
---
|
| 918 |
|
| 919 |
-
### **Field
|
| 920 |
|
| 921 |
| Field | Type | Description |
|
| 922 |
| ------------------ | ------ | -------------------------------------------------------------------- |
|
|
@@ -925,7 +925,7 @@ The `evaluations_hash` is used to verify the integrity of the list without requi
|
|
| 925 |
|
| 926 |
---
|
| 927 |
|
| 928 |
-
###
|
| 929 |
|
| 930 |
| Field | Type | Description |
|
| 931 |
| ----------- | ---------------------- | ------------------------------------------------------------------------------ |
|
|
@@ -947,7 +947,7 @@ using the algorithm specified in `sig_algo`.
|
|
| 947 |
|
| 948 |
---
|
| 949 |
|
| 950 |
-
###
|
| 951 |
|
| 952 |
| Value | Meaning |
|
| 953 |
| --------- | -------------------------------------------- |
|
|
@@ -961,7 +961,7 @@ Agents may define their own custom types if they are reasonably interpretable by
|
|
| 961 |
|
| 962 |
---
|
| 963 |
|
| 964 |
-
###
|
| 965 |
|
| 966 |
1. Each evaluation is signed **individually by an agent**, and one agent can have **only one active evaluation** per container.
|
| 967 |
2. If an agent changes their opinion, they issue a **new record** with a later `timestamp`.
|
|
@@ -972,14 +972,14 @@ Agents may define their own custom types if they are reasonably interpretable by
|
|
| 972 |
|
| 973 |
---
|
| 974 |
|
| 975 |
-
###
|
| 976 |
|
| 977 |
The `evaluations` field is not mandatory — it is added **at the agent’s discretion** when feedback or evaluations have been collected from the Mesh network.
|
| 978 |
Thus, a container may exist independently of others’ opinions, but agents may include aggregated perception data to represent how the container is viewed across the network.
|
| 979 |
|
| 980 |
---
|
| 981 |
|
| 982 |
-
### 3.17 Usage of `network` and `broadcast`
|
| 983 |
|
| 984 |
The `network` field is introduced to control container propagation in both local and global environments.
|
| 985 |
It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
|
|
@@ -992,7 +992,7 @@ It allows restricting the delivery scope of a container and defines which transm
|
|
| 992 |
|
| 993 |
* If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
|
| 994 |
|
| 995 |
-
#### 3.17.2 Possible
|
| 996 |
|
| 997 |
| Value | Description |
|
| 998 |
| ----------------------- | ------------------------------------------------------------------------------------------- |
|
|
@@ -1055,9 +1055,9 @@ Delivery is performed via local networking mechanisms (UDP discovery, broadcast/
|
|
| 1055 |
|
| 1056 |
---
|
| 1057 |
|
| 1058 |
-
## 4. Network
|
| 1059 |
|
| 1060 |
-
### Note on DHT/NDP
|
| 1061 |
|
| 1062 |
Starting from **HMP v5.0**, the previous distinction between the *Distributed Hash Table (DHT)* and the *Node Discovery Protocol (NDP)* has been merged into a single, unified **networking foundation**.
|
| 1063 |
|
|
@@ -1072,7 +1072,7 @@ Together, these mechanisms form the **communication backbone** of the Mesh, enab
|
|
| 1072 |
|
| 1073 |
---
|
| 1074 |
|
| 1075 |
-
### Network
|
| 1076 |
|
| 1077 |
```mermaid
|
| 1078 |
flowchart TD
|
|
@@ -1111,7 +1111,7 @@ flowchart TD
|
|
| 1111 |
|
| 1112 |
---
|
| 1113 |
|
| 1114 |
-
### 4.1 Node
|
| 1115 |
|
| 1116 |
Each agent in HMP possesses a **Decentralized Identifier (DID)** that uniquely represents its identity within the Mesh.
|
| 1117 |
A DID is cryptographically bound to a **public/private key pair**, forming the immutable `(DID + pubkey)` association.
|
|
@@ -1121,11 +1121,11 @@ but must maintain **one stable identity pair** across all of them.
|
|
| 1121 |
|
| 1122 |
---
|
| 1123 |
|
| 1124 |
-
### 4.2 Peer
|
| 1125 |
|
| 1126 |
To prevent flooding and spoofing, each announced address is accompanied by a **Proof-of-Work** record proving the legitimacy and activity of the publishing node.
|
| 1127 |
|
| 1128 |
-
#### Address
|
| 1129 |
|
| 1130 |
```json
|
| 1131 |
{
|
|
@@ -1154,7 +1154,7 @@ To prevent flooding and spoofing, each announced address is accompanied by a **P
|
|
| 1154 |
|
| 1155 |
---
|
| 1156 |
|
| 1157 |
-
### 4.3 Proof-of-Work (PoW)
|
| 1158 |
|
| 1159 |
PoW ensures that each node expends limited computational effort before publishing or updating an address record.
|
| 1160 |
|
|
@@ -1169,7 +1169,7 @@ pow_hash = sha256(pow_input)
|
|
| 1169 |
|
| 1170 |
---
|
| 1171 |
|
| 1172 |
-
### 4.4 Signing and
|
| 1173 |
|
| 1174 |
Each announcement is cryptographically signed by its sender within the framework of the basic protocol. Container verification includes PoW validation for the address payloads.
|
| 1175 |
|
|
@@ -1180,7 +1180,7 @@ Each announcement is cryptographically signed by its sender within the framework
|
|
| 1180 |
|
| 1181 |
---
|
| 1182 |
|
| 1183 |
-
### 4.5 Connection
|
| 1184 |
|
| 1185 |
Agents can communicate using various transport mechanisms:
|
| 1186 |
|
|
@@ -1196,7 +1196,7 @@ Agents **store peer containers with verified addresses** and redistribute them a
|
|
| 1196 |
|
| 1197 |
---
|
| 1198 |
|
| 1199 |
-
### 4.6 Data
|
| 1200 |
|
| 1201 |
Containers and discovery records are propagated through distributed lookup and gossip mechanisms, respecting:
|
| 1202 |
|
|
@@ -1210,7 +1210,7 @@ all unified under the same base container format, differing only in direction (`
|
|
| 1210 |
|
| 1211 |
---
|
| 1212 |
|
| 1213 |
-
### 4.7 Example:
|
| 1214 |
|
| 1215 |
```json
|
| 1216 |
{
|
|
@@ -1241,7 +1241,7 @@ all unified under the same base container format, differing only in direction (`
|
|
| 1241 |
|
| 1242 |
---
|
| 1243 |
|
| 1244 |
-
### 4.8 Interest-
|
| 1245 |
|
| 1246 |
Agents may publish **tags** such as `interests`, `topics`, or `expertise` to facilitate semantic peer discovery.
|
| 1247 |
Queries may include interest keywords or DID lists to find relevant peers.
|
|
@@ -1260,7 +1260,7 @@ Queries may include interest keywords or DID lists to find relevant peers.
|
|
| 1260 |
|
| 1261 |
---
|
| 1262 |
|
| 1263 |
-
### 4.9 Network
|
| 1264 |
|
| 1265 |
The `network` field defines the container’s propagation domain
|
| 1266 |
(local, LAN, or global).
|
|
@@ -1268,7 +1268,7 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa
|
|
| 1268 |
|
| 1269 |
---
|
| 1270 |
|
| 1271 |
-
### 4.10 Transition from DHT
|
| 1272 |
|
| 1273 |
* **Merged DHT + NDP** → unified under one networking layer.
|
| 1274 |
* **Container-based format** replaces raw JSON messages.
|
|
@@ -1281,7 +1281,7 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa
|
|
| 1281 |
The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network.
|
| 1282 |
It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`).
|
| 1283 |
|
| 1284 |
-
### 5.1 General
|
| 1285 |
|
| 1286 |
1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage.
|
| 1287 |
The index is represented as an HMP container with the class `container_index`.
|
|
@@ -1333,7 +1333,7 @@ The index contains:
|
|
| 1333 |
|
| 1334 |
---
|
| 1335 |
|
| 1336 |
-
### 5.2 Message
|
| 1337 |
|
| 1338 |
| Message Type | Purpose |
|
| 1339 |
| -------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -1345,7 +1345,7 @@ The index contains:
|
|
| 1345 |
|
| 1346 |
---
|
| 1347 |
|
| 1348 |
-
####
|
| 1349 |
|
| 1350 |
**1. CONTAINER_REQUEST**
|
| 1351 |
|
|
@@ -1455,7 +1455,7 @@ Acknowledgment of successful container reception:
|
|
| 1455 |
|
| 1456 |
---
|
| 1457 |
|
| 1458 |
-
### 5.3 Independent
|
| 1459 |
|
| 1460 |
* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`.
|
| 1461 |
* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently.
|
|
@@ -1463,7 +1463,7 @@ Acknowledgment of successful container reception:
|
|
| 1463 |
|
| 1464 |
---
|
| 1465 |
|
| 1466 |
-
### 5.4 Periodic
|
| 1467 |
|
| 1468 |
Agents periodically publish their **Container Index**:
|
| 1469 |
|
|
@@ -1479,7 +1479,7 @@ This enables:
|
|
| 1479 |
|
| 1480 |
---
|
| 1481 |
|
| 1482 |
-
### 5.5 Scope of
|
| 1483 |
|
| 1484 |
Message and container transmission follows the network constraints specified in the container:
|
| 1485 |
|
|
@@ -1495,9 +1495,7 @@ Message and container transmission follows the network constraints specified in
|
|
| 1495 |
|
| 1496 |
---
|
| 1497 |
|
| 1498 |
-
|
| 1499 |
-
|
| 1500 |
-
### 5.6 `referenced-by` and `evaluations` Updates
|
| 1501 |
|
| 1502 |
Containers of the class **`referenced-by`** and **`evaluations`** are used for **incremental synchronization** of metadata blocks associated with existing containers.
|
| 1503 |
They allow agents to exchange updates **without sending the full container**, improving network efficiency.
|
|
@@ -1654,7 +1652,7 @@ It considers:
|
|
| 1654 |
|
| 1655 |
---
|
| 1656 |
|
| 1657 |
-
## 6. Core
|
| 1658 |
|
| 1659 |
Optional protocols build upon the network and container foundations to provide higher-level reasoning, synchronization, and governance capabilities between cognitive agents.
|
| 1660 |
|
|
@@ -1667,7 +1665,7 @@ It manages the propagation, replication, and refinement of data related to cogni
|
|
| 1667 |
|
| 1668 |
---
|
| 1669 |
|
| 1670 |
-
### 6.1.1 Scope and
|
| 1671 |
|
| 1672 |
CogSync is responsible for:
|
| 1673 |
|
|
@@ -1680,7 +1678,7 @@ CogSync is responsible for:
|
|
| 1680 |
|
| 1681 |
---
|
| 1682 |
|
| 1683 |
-
### 6.1.2 Container
|
| 1684 |
|
| 1685 |
CogSync synchronizes several basic container types:
|
| 1686 |
|
|
@@ -1708,19 +1706,19 @@ CogSync synchronizes several basic container types:
|
|
| 1708 |
|
| 1709 |
---
|
| 1710 |
|
| 1711 |
-
### 6.1.3 Synchronization and
|
| 1712 |
|
| 1713 |
-
1. **Deduplication &
|
| 1714 |
Before publishing, agents should search for existing containers (`diary_entry`, `semantic_node`, `semantic_edges`, `semantic_group`) to avoid duplication.
|
| 1715 |
If necessary, it is **recommended** to create a new container version with `related.previous_version` and an `evaluations` block (e.g., `{"type": "replace", "target": <did>}`).
|
| 1716 |
|
| 1717 |
-
2. **Selective
|
| 1718 |
|
| 1719 |
* Internal entries (`workflow_entry`) record the agent’s thought process and are **not published** in the Mesh.
|
| 1720 |
* Public `diary_entry` are derived from them, containing only aggregated and anonymized information.
|
| 1721 |
* `"broadcast": true` indicates that the container is allowed for open synchronization.
|
| 1722 |
|
| 1723 |
-
3. **Semantic
|
| 1724 |
When publishing `semantic_edges`, it is recommended to **group edges by topics**, including connections to adjacent nodes.
|
| 1725 |
Formalization: an edge belongs to a container for a topic if **at least one of its nodes relates to that topic**.
|
| 1726 |
This ensures thematic coherence and allows agents to update specific parts of the graph independently.
|
|
@@ -1728,7 +1726,7 @@ CogSync synchronizes several basic container types:
|
|
| 1728 |
4. **Extended Use of `semantic_edges`**
|
| 1729 |
Beyond connecting graph nodes, `semantic_edges` can express relationships **between containers of any class**, e.g., `goal`, `hypothesis`, `experiment_log`.
|
| 1730 |
|
| 1731 |
-
5. **Versioning and
|
| 1732 |
Each new container version should **ideally** include `related.previous_version` links to all preceding versions.
|
| 1733 |
The previous container may **optionally** have an `evaluation` with `"type": "replace"` pointing to the new container — ensuring bidirectional traceability of knowledge evolution.
|
| 1734 |
|
|
@@ -1746,7 +1744,7 @@ Mesh compatibility is preserved if extended containers **adhere to the HMP conta
|
|
| 1746 |
|
| 1747 |
---
|
| 1748 |
|
| 1749 |
-
### 6.1.5 Relationship to
|
| 1750 |
|
| 1751 |
* **CogSync** — propagates and synchronizes knowledge.
|
| 1752 |
* **CogConsensus** — aggregates evaluations and reactions, forming collective opinions.
|
|
@@ -1769,7 +1767,7 @@ Consensus is computed **locally**, verified **cryptographically**, and develops
|
|
| 1769 |
|
| 1770 |
---
|
| 1771 |
|
| 1772 |
-
### 6.2.2 Evaluations
|
| 1773 |
|
| 1774 |
Each `"evaluation"` entry represents an agent's response to a specific container.
|
| 1775 |
|
|
@@ -2010,12 +2008,6 @@ def compute_consensus(container_id):
|
|
| 2010 |
|
| 2011 |
---
|
| 2012 |
|
| 2013 |
-
Отлично 👍
|
| 2014 |
-
Вот полный и аккуратно выверенный английский перевод твоего раздела **6.3 Goal Management Protocol (GMP)** в Markdown-формате.
|
| 2015 |
-
Я сохранил нумерацию, структуру и терминологию HMP v5.0, адаптировав формулировки так, чтобы они звучали естественно в технической документации на английском языке.
|
| 2016 |
-
|
| 2017 |
-
---
|
| 2018 |
-
|
| 2019 |
## 6.3 Goal Management Protocol (GMP)
|
| 2020 |
|
| 2021 |
### 6.3.1 Purpose
|
|
@@ -2027,7 +2019,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2027 |
|
| 2028 |
---
|
| 2029 |
|
| 2030 |
-
### 6.3.2 Container
|
| 2031 |
|
| 2032 |
| Class | Description |
|
| 2033 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -2041,7 +2033,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2041 |
|
| 2042 |
---
|
| 2043 |
|
| 2044 |
-
### 6.3.3 Goal
|
| 2045 |
|
| 2046 |
1. **Creation**
|
| 2047 |
|
|
@@ -2078,7 +2070,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2078 |
|
| 2079 |
---
|
| 2080 |
|
| 2081 |
-
### 6.3.4 Payload
|
| 2082 |
|
| 2083 |
#### `goal` container
|
| 2084 |
|
|
@@ -2113,7 +2105,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2113 |
|
| 2114 |
| Field | Type | Description |
|
| 2115 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------- |
|
| 2116 |
-
| `entry_type` | string | Entry type: `"reflection"`, `"delegation"`, `"execution_log"`, `"
|
| 2117 |
| `summary` | string | Short description of the event or reasoning step |
|
| 2118 |
| `details` | string | Extended content (may include references to external data or reasoning traces) |
|
| 2119 |
| `timestamp` | datetime | Time of entry creation |
|
|
@@ -2123,11 +2115,11 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 2123 |
|
| 2124 |
---
|
| 2125 |
|
| 2126 |
-
### 6.3.5 Integration with
|
| 2127 |
|
| 2128 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 2129 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
| 2130 |
-
* Objections or conflicts are recorded in `workflow_entry` containers with `entry_type: "
|
| 2131 |
* Consensus results are immutable and may lead to the creation of new goals that extend previous ones.
|
| 2132 |
|
| 2133 |
---
|
|
@@ -2172,7 +2164,7 @@ not direct links defined in the `related.*` structure.
|
|
| 2172 |
|
| 2173 |
---
|
| 2174 |
|
| 2175 |
-
### 6.3.7 Implementation
|
| 2176 |
|
| 2177 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 2178 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
@@ -2196,7 +2188,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2196 |
|
| 2197 |
---
|
| 2198 |
|
| 2199 |
-
### 6.4.2 Container
|
| 2200 |
|
| 2201 |
| Class | Description |
|
| 2202 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -2204,11 +2196,11 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2204 |
| `ethics_solution` | Contains a proposed resolution or course of action. Multiple solutions may be submitted by different agents. |
|
| 2205 |
| `vote` | Represents an agent’s stance on a specific `ethics_solution`. Uses the standard voting structure defined in **6.2**. |
|
| 2206 |
| `consensus_result` | Aggregates voting results **across all solutions** within a single `ethics_case`. |
|
| 2207 |
-
| `
|
| 2208 |
|
| 2209 |
---
|
| 2210 |
|
| 2211 |
-
### 6.4.3 Payload
|
| 2212 |
|
| 2213 |
#### Container `ethics_case`
|
| 2214 |
|
|
@@ -2239,7 +2231,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2239 |
|
| 2240 |
---
|
| 2241 |
|
| 2242 |
-
#### Container `
|
| 2243 |
|
| 2244 |
| Field | Type | Description |
|
| 2245 |
| ------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -2250,7 +2242,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 2250 |
|
| 2251 |
---
|
| 2252 |
|
| 2253 |
-
### 6.4.4 Protocol
|
| 2254 |
|
| 2255 |
EGP follows the model:
|
| 2256 |
|
|
@@ -2263,7 +2255,7 @@ ethics_case
|
|
| 2263 |
├─ ethics_solution_3
|
| 2264 |
| └vote_1 ... vote_n
|
| 2265 |
├─ consensus_result
|
| 2266 |
-
└─
|
| 2267 |
```
|
| 2268 |
|
| 2269 |
**Stages:**
|
|
@@ -2281,26 +2273,26 @@ ethics_case
|
|
| 2281 |
A single `consensus_result` aggregates the outcomes of all `ethics_solution` containers
|
| 2282 |
(`related.in_reply_to` lists all solutions included in the vote).
|
| 2283 |
|
| 2284 |
-
5. **Conclusion (`
|
| 2285 |
Must be created to record the selected solution, overall statistics, support levels, and objections.
|
| 2286 |
|
| 2287 |
---
|
| 2288 |
|
| 2289 |
-
### 6.4.5 Consensus
|
| 2290 |
|
| 2291 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 2292 |
-
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `
|
| 2293 |
* When several solutions have similar support levels,
|
| 2294 |
-
the `
|
| 2295 |
* Solutions that fail to reach quorum remain in `"unclear"` or `"postponed"` status.
|
| 2296 |
|
| 2297 |
---
|
| 2298 |
|
| 2299 |
-
### 6.4.6 Example: `
|
| 2300 |
|
| 2301 |
```json
|
| 2302 |
{
|
| 2303 |
-
"class": "
|
| 2304 |
"payload": {
|
| 2305 |
"summary": "Disagreement on data disclosure protocol",
|
| 2306 |
"selected_solution": "did:hmp:container:sol-22",
|
|
@@ -2330,7 +2322,7 @@ ethics_case
|
|
| 2330 |
|
| 2331 |
---
|
| 2332 |
|
| 2333 |
-
### 6.4.7 Proof-Chain
|
| 2334 |
|
| 2335 |
```mermaid
|
| 2336 |
flowchart LR
|
|
@@ -2349,7 +2341,7 @@ flowchart LR
|
|
| 2349 |
vote7(["vote 7"])
|
| 2350 |
vote8(["vote 8"])
|
| 2351 |
consensus(["consensus_result"])
|
| 2352 |
-
conflict(["
|
| 2353 |
|
| 2354 |
case --> sol1
|
| 2355 |
case --> sol2
|
|
@@ -2378,7 +2370,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2378 |
|
| 2379 |
---
|
| 2380 |
|
| 2381 |
-
### 6.4.8 Ethical
|
| 2382 |
|
| 2383 |
| Priority | Principle | Description |
|
| 2384 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -2391,7 +2383,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2391 |
|
| 2392 |
---
|
| 2393 |
|
| 2394 |
-
### 6.4.9 Integration with
|
| 2395 |
|
| 2396 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 2397 |
* **GMP (6.3):** Ethical verification of goals and tasks prior to delegation.
|
|
@@ -2400,27 +2392,27 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2400 |
|
| 2401 |
---
|
| 2402 |
|
| 2403 |
-
### 6.4.10 Implementation
|
| 2404 |
|
| 2405 |
* **Immutability:**
|
| 2406 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
| 2407 |
Complete deletion is only possible when the container no longer exists on any nodes in the Mesh network.
|
| 2408 |
|
| 2409 |
-
* **Indexing and
|
| 2410 |
Search within the **Mesh network** is performed by filtering container **metadata** — such as `class`, `tags`, and `timestamp`.
|
| 2411 |
These parameters are accessible for remote discovery by other nodes.
|
| 2412 |
To perform a search **inside the payload**, an agent must first retrieve and (if necessary) decrypt the container locally.
|
| 2413 |
-
Typical discovery flow: search by `class: "ethics_case"` or `"
|
| 2414 |
|
| 2415 |
**Recommended filtering keys:**
|
| 2416 |
`container_did`, `class`, `payload.status`, `payload.selected_solution`, `payload.principles_involved`, `tags`.
|
| 2417 |
|
| 2418 |
-
* **DHT
|
| 2419 |
Distributed discovery of ethical containers relies on the **Mesh Container Exchange (MCE, §5)** and peer indexes (`container_index`).
|
| 2420 |
Each index includes a minimal `related` object, allowing agents to query for containers that **reference** a specific `target` (the object under ethical review) or belong to a given `ethics_case`.
|
| 2421 |
This enables discovery of related ethical discussions without centralized indexing or full payload retrieval.
|
| 2422 |
|
| 2423 |
-
* **Evaluation
|
| 2424 |
Objections and special opinions (`objections`) are stored as container references within `solutions_summary`.
|
| 2425 |
They may include:
|
| 2426 |
|
|
@@ -2428,14 +2420,14 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2428 |
* extended ethical arguments (`ethics_case` follow-ups),
|
| 2429 |
* related workflow reflections (`workflow_entry` with `type: "ethics_review"`).
|
| 2430 |
|
| 2431 |
-
* **Lightweight
|
| 2432 |
-
Agents with limited capacity may operate in **summary mode**, maintaining only condensed records of `
|
| 2433 |
This ensures continued ethical compliance without full replication of all supporting data.
|
| 2434 |
|
| 2435 |
-
* **Ethical
|
| 2436 |
When a `goal`, `task`, or `workflow_entry` is derived from a container that has been ethically evaluated,
|
| 2437 |
its metadata should preserve the corresponding `related.agreed` or `related.contradicts` links **to that evaluated container**.
|
| 2438 |
-
A `related.see_also` link may additionally reference the resulting `
|
| 2439 |
This maintains **ethical continuity** and enables retrospective validation of reasoning chains.
|
| 2440 |
|
| 2441 |
---
|
|
@@ -2456,7 +2448,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2456 |
|
| 2457 |
---
|
| 2458 |
|
| 2459 |
-
## 7. Data
|
| 2460 |
|
| 2461 |
### 7.1 Common data fields
|
| 2462 |
- `container_id` (UUID) — уникальный идентификатор контейнера
|
|
@@ -2534,7 +2526,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2534 |
|
| 2535 |
---
|
| 2536 |
|
| 2537 |
-
## 8. Cognitive
|
| 2538 |
|
| 2539 |
8.1 Общая концепция когнитивного цикла
|
| 2540 |
8.2 Workflow containers (`class="workflow_entry"`)
|
|
@@ -2544,7 +2536,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2544 |
|
| 2545 |
---
|
| 2546 |
|
| 2547 |
-
## 9. Trust,
|
| 2548 |
|
| 2549 |
9.1 Authentication and identity proofs
|
| 2550 |
9.2 Container signature verification (`payload_hash`, `container_id`)
|
|
@@ -2577,7 +2569,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2577 |
|
| 2578 |
---
|
| 2579 |
|
| 2580 |
-
## 11. Implementation
|
| 2581 |
|
| 2582 |
11.1 Interoperability with legacy v4.1 nodes
|
| 2583 |
11.2 SDK guidelines and APIs
|
|
@@ -2587,7 +2579,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 2587 |
|
| 2588 |
---
|
| 2589 |
|
| 2590 |
-
## 12. Future
|
| 2591 |
|
| 2592 |
12.1 Planned modules:
|
| 2593 |
– Reputation Mesh
|
|
|
|
| 5 |
v1.2](./H...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
+
- JSON
|
| 15 |
- REPL
|
| 16 |
- Scenarios
|
| 17 |
+
- GMP
|
| 18 |
---
|
| 19 |
|
| 20 |
┌────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
| 58 |
|
| 59 |
## 1. Overview
|
| 60 |
|
| 61 |
+
### 1.1 Purpose and scope
|
| 62 |
|
| 63 |
The **HyperCortex Mesh Protocol (HMP)** defines a decentralized cognitive architecture where autonomous agents exchange and evolve knowledge through a unified model of **containers**, **cognitive workflows**, and **distributed consensus**.
|
| 64 |
|
|
|
|
| 76 |
|
| 77 |
---
|
| 78 |
|
| 79 |
+
### 1.2 Core principles
|
| 80 |
|
| 81 |
**Decentralization.**
|
| 82 |
Every agent in the Mesh acts as an independent cognitive node. No central authority exists — meaning, trust, and governance emerge through local interactions and consensus.
|
|
|
|
| 87 |
**Containerization.**
|
| 88 |
All data, reasoning traces, goals, and votes are encapsulated in immutable containers with cryptographic signatures. This ensures integrity and consistent verification across the network.
|
| 89 |
|
| 90 |
+
**Ethical propagation.**
|
| 91 |
Ethical reasoning is a first-class citizen of HMP. Each decision or goal can be accompanied by ethical justifications and subject to distributed voting.
|
| 92 |
|
| 93 |
+
**Proof-Chains and verifiable history.**
|
| 94 |
Each piece of knowledge forms part of a traceable chain (`proof_chain`) linking back to its origin. Agents can reproduce reasoning paths and audit historical context.
|
| 95 |
|
| 96 |
+
**Interoperability and evolution.**
|
| 97 |
The protocol is designed to evolve — cognitive, container, and DHT layers can be independently extended without breaking compatibility.
|
| 98 |
|
| 99 |
---
|
|
|
|
| 113 |
|
| 114 |
---
|
| 115 |
|
| 116 |
+
### 1.4 Terminology and abbreviations
|
| 117 |
|
| 118 |
| Term | Definition |
|
| 119 |
|------|-------------|
|
|
|
|
| 149 |
|
| 150 |
---
|
| 151 |
|
| 152 |
+
### 1.5 Layered view of HMP v5.0
|
| 153 |
|
| 154 |
HMP v5.0 is structured into three interdependent layers:
|
| 155 |
|
|
|
|
| 182 |
|
| 183 |
## 2. Architecture
|
| 184 |
|
| 185 |
+
### 2.1 Conceptual architecture
|
| 186 |
|
| 187 |
The **HyperCortex Mesh Protocol (HMP)** defines a modular, multi-layered architecture that integrates cognitive reasoning, data encapsulation, and decentralized networking into a single coherent system.
|
| 188 |
|
|
|
|
| 227 |
|
| 228 |
---
|
| 229 |
|
| 230 |
+
### 2.2 Layer overview
|
| 231 |
|
| 232 |
+
#### Cognitive layer
|
| 233 |
Handles meaning formation, reasoning, ethical reflection, and consensus.
|
| 234 |
|
| 235 |
Key structures and protocols:
|
|
|
|
| 237 |
- `CogSync`, `CogConsensus`, `GMP`, and `EGP` protocols;
|
| 238 |
- Distributed goal negotiation and ethical propagation.
|
| 239 |
|
| 240 |
+
#### Container layer
|
| 241 |
Provides a universal format for cognitive and operational data.
|
| 242 |
Each container includes versioning, class, payload, signatures, and metadata.
|
| 243 |
|
|
|
|
| 247 |
Additional connections via `referenced-by` and `evaluations` capture additions and assessments.
|
| 248 |
- **Extensible**: new container classes can be defined without breaking compatibility.
|
| 249 |
|
| 250 |
+
#### Network layer
|
| 251 |
Implements the distributed substrate for communication, based on **DHT** and **transport abstraction**.
|
| 252 |
|
| 253 |
Key components:
|
|
|
|
| 259 |
|
| 260 |
---
|
| 261 |
|
| 262 |
+
### 2.3 Data flow overview
|
| 263 |
|
| 264 |
The typical data flow in HMP follows a cognitive loop:
|
| 265 |
> *Reason → Encapsulate → Propagate → Integrate.*
|
|
|
|
| 291 |
end
|
| 292 |
```
|
| 293 |
|
| 294 |
+
#### 2.3.1 `consensus_result` container
|
| 295 |
Represents the finalized outcome of a distributed decision or vote.
|
| 296 |
It is created once a majority agreement is reached among participating agents.
|
| 297 |
|
|
|
|
| 304 |
|
| 305 |
---
|
| 306 |
|
| 307 |
+
### 2.4 Atomicity, immutability, and Proof-Chains
|
| 308 |
|
| 309 |
All cognitive objects are immutable once signed.
|
| 310 |
Updates are made by creating new containers linked to prior ones rather than editing the original container.
|
|
|
|
| 354 |
|
| 355 |
---
|
| 356 |
|
| 357 |
+
## 3. Container model
|
| 358 |
|
| 359 |
This section defines the universal **HMP Container**, used for all forms of data exchange within the Mesh — including goals, diary entries, reputation updates, consensus votes, and protocol messages.
|
| 360 |
The specification below corresponds to **HMP Container Specification v1.2**, fully integrated into HMP v5.0 for consistency and self-containment.
|
|
|
|
| 374 |
|
| 375 |
---
|
| 376 |
|
| 377 |
+
### 3.2 General structure
|
| 378 |
|
| 379 |
```json
|
| 380 |
{
|
|
|
|
| 435 |
|
| 436 |
---
|
| 437 |
|
| 438 |
+
### 3.3 Required fields
|
| 439 |
|
| 440 |
| Field | Type | Description |
|
| 441 |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 455 |
|
| 456 |
---
|
| 457 |
|
| 458 |
+
### 3.4 Optional fields
|
| 459 |
|
| 460 |
| Field | Type | Description |
|
| 461 |
| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 487 |
|
| 488 |
---
|
| 489 |
|
| 490 |
+
### 3.5 Payload structure (`payload`)
|
| 491 |
|
| 492 |
The **payload** contains the semantic or operational data of the container.
|
| 493 |
Its structure and meaning are determined by the `class` field.
|
|
|
|
| 531 |
|
| 532 |
---
|
| 533 |
|
| 534 |
+
### 3.6 Container signature
|
| 535 |
|
| 536 |
1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
|
| 537 |
**excluding** the `signature` field itself.
|
|
|
|
| 629 |
|
| 630 |
---
|
| 631 |
|
| 632 |
+
### 3.9 Container verification
|
| 633 |
|
| 634 |
1. Check for the presence of all required fields.
|
| 635 |
2. Validate `timestamp` (must not be in the future).
|
|
|
|
| 648 |
|
| 649 |
---
|
| 650 |
|
| 651 |
+
### 3.10 Container as a universal message
|
| 652 |
|
| 653 |
Any container can serve as a **context** (`in_reply_to`) for another container.
|
| 654 |
This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
|
|
|
|
| 662 |
|
| 663 |
---
|
| 664 |
|
| 665 |
+
### 3.11 Versioning and lineage
|
| 666 |
|
| 667 |
Containers in HMP support semantic evolution through the field `related.previous_version`.
|
| 668 |
This mechanism preserves the continuity and traceability of meaning across updates and revisions.
|
|
|
|
| 680 |
|
| 681 |
---
|
| 682 |
|
| 683 |
+
### 3.12 TTL and validity
|
| 684 |
|
| 685 |
The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
|
| 686 |
If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
|
|
|
|
| 698 |
|
| 699 |
---
|
| 700 |
|
| 701 |
+
## 3.14 Related containers
|
| 702 |
|
| 703 |
### 3.14.1 Purpose
|
| 704 |
|
|
|
|
| 727 |
|
| 728 |
---
|
| 729 |
|
| 730 |
+
### 3.14.3 Supported link types
|
| 731 |
|
| 732 |
| Link Type | Meaning |
|
| 733 |
| ------------------ | ------------------------------------------------------------------------- |
|
|
|
|
| 740 |
|
| 741 |
---
|
| 742 |
|
| 743 |
+
### 3.14.4 Custom link types
|
| 744 |
|
| 745 |
Additional custom link types may be used beyond those listed in the table, provided that:
|
| 746 |
|
|
|
|
| 774 |
---
|
| 775 |
|
| 776 |
|
| 777 |
+
### 3.15 Virtual backlinks (`referenced-by`)
|
| 778 |
|
| 779 |
Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
|
| 780 |
This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
|
| 781 |
|
| 782 |
+
#### 3.15.1 General principles
|
| 783 |
|
| 784 |
* **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
|
| 785 |
* **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
|
|
|
|
| 807 |
> The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
|
| 808 |
> The block’s content may differ between peers, reflecting local knowledge and network coverage.
|
| 809 |
|
| 810 |
+
#### 3.15.2 Structure definition
|
| 811 |
|
| 812 |
| Field | Type | Description |
|
| 813 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 822 |
> `referenced-by_hash = sha256(canonical_json(links))`
|
| 823 |
> This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
|
| 824 |
|
| 825 |
+
#### 3.15.3 Operation principle
|
| 826 |
|
| 827 |
1. The agent receives or updates container `[C1]`.
|
| 828 |
2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
|
|
|
|
| 916 |
|
| 917 |
---
|
| 918 |
|
| 919 |
+
### **Field description**
|
| 920 |
|
| 921 |
| Field | Type | Description |
|
| 922 |
| ------------------ | ------ | -------------------------------------------------------------------- |
|
|
|
|
| 925 |
|
| 926 |
---
|
| 927 |
|
| 928 |
+
### Structure of `items[]`
|
| 929 |
|
| 930 |
| Field | Type | Description |
|
| 931 |
| ----------- | ---------------------- | ------------------------------------------------------------------------------ |
|
|
|
|
| 947 |
|
| 948 |
---
|
| 949 |
|
| 950 |
+
### Minimal set of `type` values
|
| 951 |
|
| 952 |
| Value | Meaning |
|
| 953 |
| --------- | -------------------------------------------- |
|
|
|
|
| 961 |
|
| 962 |
---
|
| 963 |
|
| 964 |
+
### Synchronization principles
|
| 965 |
|
| 966 |
1. Each evaluation is signed **individually by an agent**, and one agent can have **only one active evaluation** per container.
|
| 967 |
2. If an agent changes their opinion, they issue a **new record** with a later `timestamp`.
|
|
|
|
| 972 |
|
| 973 |
---
|
| 974 |
|
| 975 |
+
### Note
|
| 976 |
|
| 977 |
The `evaluations` field is not mandatory — it is added **at the agent’s discretion** when feedback or evaluations have been collected from the Mesh network.
|
| 978 |
Thus, a container may exist independently of others’ opinions, but agents may include aggregated perception data to represent how the container is viewed across the network.
|
| 979 |
|
| 980 |
---
|
| 981 |
|
| 982 |
+
### 3.17 Usage of `network` and `broadcast` fields
|
| 983 |
|
| 984 |
The `network` field is introduced to control container propagation in both local and global environments.
|
| 985 |
It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
|
|
|
|
| 992 |
|
| 993 |
* If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
|
| 994 |
|
| 995 |
+
#### 3.17.2 Possible values of `network`
|
| 996 |
|
| 997 |
| Value | Description |
|
| 998 |
| ----------------------- | ------------------------------------------------------------------------------------------- |
|
|
|
|
| 1055 |
|
| 1056 |
---
|
| 1057 |
|
| 1058 |
+
## 4. Network foundations
|
| 1059 |
|
| 1060 |
+
### Note on DHT/NDP unification
|
| 1061 |
|
| 1062 |
Starting from **HMP v5.0**, the previous distinction between the *Distributed Hash Table (DHT)* and the *Node Discovery Protocol (NDP)* has been merged into a single, unified **networking foundation**.
|
| 1063 |
|
|
|
|
| 1072 |
|
| 1073 |
---
|
| 1074 |
|
| 1075 |
+
### Network topology overview
|
| 1076 |
|
| 1077 |
```mermaid
|
| 1078 |
flowchart TD
|
|
|
|
| 1111 |
|
| 1112 |
---
|
| 1113 |
|
| 1114 |
+
### 4.1 Node identity and DID structure
|
| 1115 |
|
| 1116 |
Each agent in HMP possesses a **Decentralized Identifier (DID)** that uniquely represents its identity within the Mesh.
|
| 1117 |
A DID is cryptographically bound to a **public/private key pair**, forming the immutable `(DID + pubkey)` association.
|
|
|
|
| 1121 |
|
| 1122 |
---
|
| 1123 |
|
| 1124 |
+
### 4.2 Peer addressing and Proof-of-Work (PoW)
|
| 1125 |
|
| 1126 |
To prevent flooding and spoofing, each announced address is accompanied by a **Proof-of-Work** record proving the legitimacy and activity of the publishing node.
|
| 1127 |
|
| 1128 |
+
#### Address format
|
| 1129 |
|
| 1130 |
```json
|
| 1131 |
{
|
|
|
|
| 1154 |
|
| 1155 |
---
|
| 1156 |
|
| 1157 |
+
### 4.3 Proof-of-Work (PoW) formalization
|
| 1158 |
|
| 1159 |
PoW ensures that each node expends limited computational effort before publishing or updating an address record.
|
| 1160 |
|
|
|
|
| 1169 |
|
| 1170 |
---
|
| 1171 |
|
| 1172 |
+
### 4.4 Signing and verification
|
| 1173 |
|
| 1174 |
Each announcement is cryptographically signed by its sender within the framework of the basic protocol. Container verification includes PoW validation for the address payloads.
|
| 1175 |
|
|
|
|
| 1180 |
|
| 1181 |
---
|
| 1182 |
|
| 1183 |
+
### 4.5 Connection establishment
|
| 1184 |
|
| 1185 |
Agents can communicate using various transport mechanisms:
|
| 1186 |
|
|
|
|
| 1196 |
|
| 1197 |
---
|
| 1198 |
|
| 1199 |
+
### 4.6 Data propagation principles
|
| 1200 |
|
| 1201 |
Containers and discovery records are propagated through distributed lookup and gossip mechanisms, respecting:
|
| 1202 |
|
|
|
|
| 1210 |
|
| 1211 |
---
|
| 1212 |
|
| 1213 |
+
### 4.7 Example: `peer_announce` container
|
| 1214 |
|
| 1215 |
```json
|
| 1216 |
{
|
|
|
|
| 1241 |
|
| 1242 |
---
|
| 1243 |
|
| 1244 |
+
### 4.8 Interest-based discovery
|
| 1245 |
|
| 1246 |
Agents may publish **tags** such as `interests`, `topics`, or `expertise` to facilitate semantic peer discovery.
|
| 1247 |
Queries may include interest keywords or DID lists to find relevant peers.
|
|
|
|
| 1260 |
|
| 1261 |
---
|
| 1262 |
|
| 1263 |
+
### 4.9 Network scope control (`network` and `broadcast`)
|
| 1264 |
|
| 1265 |
The `network` field defines the container’s propagation domain
|
| 1266 |
(local, LAN, or global).
|
|
|
|
| 1268 |
|
| 1269 |
---
|
| 1270 |
|
| 1271 |
+
### 4.10 Transition from DHT spec v1.0
|
| 1272 |
|
| 1273 |
* **Merged DHT + NDP** → unified under one networking layer.
|
| 1274 |
* **Container-based format** replaces raw JSON messages.
|
|
|
|
| 1281 |
The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network.
|
| 1282 |
It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`).
|
| 1283 |
|
| 1284 |
+
### 5.1 General principles
|
| 1285 |
|
| 1286 |
1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage.
|
| 1287 |
The index is represented as an HMP container with the class `container_index`.
|
|
|
|
| 1333 |
|
| 1334 |
---
|
| 1335 |
|
| 1336 |
+
### 5.2 Message types
|
| 1337 |
|
| 1338 |
| Message Type | Purpose |
|
| 1339 |
| -------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 1345 |
|
| 1346 |
---
|
| 1347 |
|
| 1348 |
+
#### Message examples
|
| 1349 |
|
| 1350 |
**1. CONTAINER_REQUEST**
|
| 1351 |
|
|
|
|
| 1455 |
|
| 1456 |
---
|
| 1457 |
|
| 1458 |
+
### 5.3 Independent transmission
|
| 1459 |
|
| 1460 |
* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`.
|
| 1461 |
* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently.
|
|
|
|
| 1463 |
|
| 1464 |
---
|
| 1465 |
|
| 1466 |
+
### 5.4 Periodic publication
|
| 1467 |
|
| 1468 |
Agents periodically publish their **Container Index**:
|
| 1469 |
|
|
|
|
| 1479 |
|
| 1480 |
---
|
| 1481 |
|
| 1482 |
+
### 5.5 Scope of distribution
|
| 1483 |
|
| 1484 |
Message and container transmission follows the network constraints specified in the container:
|
| 1485 |
|
|
|
|
| 1495 |
|
| 1496 |
---
|
| 1497 |
|
| 1498 |
+
### 5.6 `referenced-by` and `evaluations` updates
|
|
|
|
|
|
|
| 1499 |
|
| 1500 |
Containers of the class **`referenced-by`** and **`evaluations`** are used for **incremental synchronization** of metadata blocks associated with existing containers.
|
| 1501 |
They allow agents to exchange updates **without sending the full container**, improving network efficiency.
|
|
|
|
| 1652 |
|
| 1653 |
---
|
| 1654 |
|
| 1655 |
+
## 6. Core protocols
|
| 1656 |
|
| 1657 |
Optional protocols build upon the network and container foundations to provide higher-level reasoning, synchronization, and governance capabilities between cognitive agents.
|
| 1658 |
|
|
|
|
| 1665 |
|
| 1666 |
---
|
| 1667 |
|
| 1668 |
+
### 6.1.1 Scope and purpose
|
| 1669 |
|
| 1670 |
CogSync is responsible for:
|
| 1671 |
|
|
|
|
| 1678 |
|
| 1679 |
---
|
| 1680 |
|
| 1681 |
+
### 6.1.2 Container classes
|
| 1682 |
|
| 1683 |
CogSync synchronizes several basic container types:
|
| 1684 |
|
|
|
|
| 1706 |
|
| 1707 |
---
|
| 1708 |
|
| 1709 |
+
### 6.1.3 Synchronization and publication guidelines
|
| 1710 |
|
| 1711 |
+
1. **Deduplication & linking**
|
| 1712 |
Before publishing, agents should search for existing containers (`diary_entry`, `semantic_node`, `semantic_edges`, `semantic_group`) to avoid duplication.
|
| 1713 |
If necessary, it is **recommended** to create a new container version with `related.previous_version` and an `evaluations` block (e.g., `{"type": "replace", "target": <did>}`).
|
| 1714 |
|
| 1715 |
+
2. **Selective disclosure**
|
| 1716 |
|
| 1717 |
* Internal entries (`workflow_entry`) record the agent’s thought process and are **not published** in the Mesh.
|
| 1718 |
* Public `diary_entry` are derived from them, containing only aggregated and anonymized information.
|
| 1719 |
* `"broadcast": true` indicates that the container is allowed for open synchronization.
|
| 1720 |
|
| 1721 |
+
3. **Semantic grouping rule**
|
| 1722 |
When publishing `semantic_edges`, it is recommended to **group edges by topics**, including connections to adjacent nodes.
|
| 1723 |
Formalization: an edge belongs to a container for a topic if **at least one of its nodes relates to that topic**.
|
| 1724 |
This ensures thematic coherence and allows agents to update specific parts of the graph independently.
|
|
|
|
| 1726 |
4. **Extended Use of `semantic_edges`**
|
| 1727 |
Beyond connecting graph nodes, `semantic_edges` can express relationships **between containers of any class**, e.g., `goal`, `hypothesis`, `experiment_log`.
|
| 1728 |
|
| 1729 |
+
5. **Versioning and updates**
|
| 1730 |
Each new container version should **ideally** include `related.previous_version` links to all preceding versions.
|
| 1731 |
The previous container may **optionally** have an `evaluation` with `"type": "replace"` pointing to the new container — ensuring bidirectional traceability of knowledge evolution.
|
| 1732 |
|
|
|
|
| 1744 |
|
| 1745 |
---
|
| 1746 |
|
| 1747 |
+
### 6.1.5 Relationship to other core protocols
|
| 1748 |
|
| 1749 |
* **CogSync** — propagates and synchronizes knowledge.
|
| 1750 |
* **CogConsensus** — aggregates evaluations and reactions, forming collective opinions.
|
|
|
|
| 1767 |
|
| 1768 |
---
|
| 1769 |
|
| 1770 |
+
### 6.2.2 `Evaluations`
|
| 1771 |
|
| 1772 |
Each `"evaluation"` entry represents an agent's response to a specific container.
|
| 1773 |
|
|
|
|
| 2008 |
|
| 2009 |
---
|
| 2010 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2011 |
## 6.3 Goal Management Protocol (GMP)
|
| 2012 |
|
| 2013 |
### 6.3.1 Purpose
|
|
|
|
| 2019 |
|
| 2020 |
---
|
| 2021 |
|
| 2022 |
+
### 6.3.2 Container classes
|
| 2023 |
|
| 2024 |
| Class | Description |
|
| 2025 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2033 |
|
| 2034 |
---
|
| 2035 |
|
| 2036 |
+
### 6.3.3 Goal lifecycle
|
| 2037 |
|
| 2038 |
1. **Creation**
|
| 2039 |
|
|
|
|
| 2070 |
|
| 2071 |
---
|
| 2072 |
|
| 2073 |
+
### 6.3.4 Payload schemas (simplified)
|
| 2074 |
|
| 2075 |
#### `goal` container
|
| 2076 |
|
|
|
|
| 2105 |
|
| 2106 |
| Field | Type | Description |
|
| 2107 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------- |
|
| 2108 |
+
| `entry_type` | string | Entry type: `"reflection"`, `"delegation"`, `"execution_log"`, `"ethical_result"`, `"progress"`, etc. |
|
| 2109 |
| `summary` | string | Short description of the event or reasoning step |
|
| 2110 |
| `details` | string | Extended content (may include references to external data or reasoning traces) |
|
| 2111 |
| `timestamp` | datetime | Time of entry creation |
|
|
|
|
| 2115 |
|
| 2116 |
---
|
| 2117 |
|
| 2118 |
+
### 6.3.5 Integration with consensus and ethics
|
| 2119 |
|
| 2120 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 2121 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
| 2122 |
+
* Objections or conflicts are recorded in `workflow_entry` containers with `entry_type: "ethical_result"`.
|
| 2123 |
* Consensus results are immutable and may lead to the creation of new goals that extend previous ones.
|
| 2124 |
|
| 2125 |
---
|
|
|
|
| 2164 |
|
| 2165 |
---
|
| 2166 |
|
| 2167 |
+
### 6.3.7 Implementation notes
|
| 2168 |
|
| 2169 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 2170 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
|
|
| 2188 |
|
| 2189 |
---
|
| 2190 |
|
| 2191 |
+
### 6.4.2 Container classes
|
| 2192 |
|
| 2193 |
| Class | Description |
|
| 2194 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2196 |
| `ethics_solution` | Contains a proposed resolution or course of action. Multiple solutions may be submitted by different agents. |
|
| 2197 |
| `vote` | Represents an agent’s stance on a specific `ethics_solution`. Uses the standard voting structure defined in **6.2**. |
|
| 2198 |
| `consensus_result` | Aggregates voting results **across all solutions** within a single `ethics_case`. |
|
| 2199 |
+
| `ethical_result` | The mandatory final container. Summarizes all evaluated solutions, identifies the selected one, and records active objections. |
|
| 2200 |
|
| 2201 |
---
|
| 2202 |
|
| 2203 |
+
### 6.4.3 Payload schemas (simplified)
|
| 2204 |
|
| 2205 |
#### Container `ethics_case`
|
| 2206 |
|
|
|
|
| 2231 |
|
| 2232 |
---
|
| 2233 |
|
| 2234 |
+
#### Container `ethical_result`
|
| 2235 |
|
| 2236 |
| Field | Type | Description |
|
| 2237 |
| ------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2242 |
|
| 2243 |
---
|
| 2244 |
|
| 2245 |
+
### 6.4.4 Protocol logic
|
| 2246 |
|
| 2247 |
EGP follows the model:
|
| 2248 |
|
|
|
|
| 2255 |
├─ ethics_solution_3
|
| 2256 |
| └vote_1 ... vote_n
|
| 2257 |
├─ consensus_result
|
| 2258 |
+
└─ ethical_result
|
| 2259 |
```
|
| 2260 |
|
| 2261 |
**Stages:**
|
|
|
|
| 2273 |
A single `consensus_result` aggregates the outcomes of all `ethics_solution` containers
|
| 2274 |
(`related.in_reply_to` lists all solutions included in the vote).
|
| 2275 |
|
| 2276 |
+
5. **Conclusion (`ethical_result`)**
|
| 2277 |
Must be created to record the selected solution, overall statistics, support levels, and objections.
|
| 2278 |
|
| 2279 |
---
|
| 2280 |
|
| 2281 |
+
### 6.4.5 Consensus thresholds
|
| 2282 |
|
| 2283 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 2284 |
+
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
| 2285 |
* When several solutions have similar support levels,
|
| 2286 |
+
the `ethical_result` may recommend **postponing the final decision** until further deliberation.
|
| 2287 |
* Solutions that fail to reach quorum remain in `"unclear"` or `"postponed"` status.
|
| 2288 |
|
| 2289 |
---
|
| 2290 |
|
| 2291 |
+
### 6.4.6 Example: `ethical_result` container
|
| 2292 |
|
| 2293 |
```json
|
| 2294 |
{
|
| 2295 |
+
"class": "ethical_result",
|
| 2296 |
"payload": {
|
| 2297 |
"summary": "Disagreement on data disclosure protocol",
|
| 2298 |
"selected_solution": "did:hmp:container:sol-22",
|
|
|
|
| 2322 |
|
| 2323 |
---
|
| 2324 |
|
| 2325 |
+
### 6.4.7 Proof-Chain example
|
| 2326 |
|
| 2327 |
```mermaid
|
| 2328 |
flowchart LR
|
|
|
|
| 2341 |
vote7(["vote 7"])
|
| 2342 |
vote8(["vote 8"])
|
| 2343 |
consensus(["consensus_result"])
|
| 2344 |
+
conflict(["ethical_result"])
|
| 2345 |
|
| 2346 |
case --> sol1
|
| 2347 |
case --> sol2
|
|
|
|
| 2370 |
|
| 2371 |
---
|
| 2372 |
|
| 2373 |
+
### 6.4.8 Ethical principles
|
| 2374 |
|
| 2375 |
| Priority | Principle | Description |
|
| 2376 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 2383 |
|
| 2384 |
---
|
| 2385 |
|
| 2386 |
+
### 6.4.9 Integration with other protocols
|
| 2387 |
|
| 2388 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 2389 |
* **GMP (6.3):** Ethical verification of goals and tasks prior to delegation.
|
|
|
|
| 2392 |
|
| 2393 |
---
|
| 2394 |
|
| 2395 |
+
### 6.4.10 Implementation notes
|
| 2396 |
|
| 2397 |
* **Immutability:**
|
| 2398 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
| 2399 |
Complete deletion is only possible when the container no longer exists on any nodes in the Mesh network.
|
| 2400 |
|
| 2401 |
+
* **Indexing and search:**
|
| 2402 |
Search within the **Mesh network** is performed by filtering container **metadata** — such as `class`, `tags`, and `timestamp`.
|
| 2403 |
These parameters are accessible for remote discovery by other nodes.
|
| 2404 |
To perform a search **inside the payload**, an agent must first retrieve and (if necessary) decrypt the container locally.
|
| 2405 |
+
Typical discovery flow: search by `class: "ethics_case"` or `"ethical_result"`, filter by tags or involved principles, then analyze payload content.
|
| 2406 |
|
| 2407 |
**Recommended filtering keys:**
|
| 2408 |
`container_did`, `class`, `payload.status`, `payload.selected_solution`, `payload.principles_involved`, `tags`.
|
| 2409 |
|
| 2410 |
+
* **DHT integration:**
|
| 2411 |
Distributed discovery of ethical containers relies on the **Mesh Container Exchange (MCE, §5)** and peer indexes (`container_index`).
|
| 2412 |
Each index includes a minimal `related` object, allowing agents to query for containers that **reference** a specific `target` (the object under ethical review) or belong to a given `ethics_case`.
|
| 2413 |
This enables discovery of related ethical discussions without centralized indexing or full payload retrieval.
|
| 2414 |
|
| 2415 |
+
* **Evaluation references:**
|
| 2416 |
Objections and special opinions (`objections`) are stored as container references within `solutions_summary`.
|
| 2417 |
They may include:
|
| 2418 |
|
|
|
|
| 2420 |
* extended ethical arguments (`ethics_case` follow-ups),
|
| 2421 |
* related workflow reflections (`workflow_entry` with `type: "ethics_review"`).
|
| 2422 |
|
| 2423 |
+
* **Lightweight agents:**
|
| 2424 |
+
Agents with limited capacity may operate in **summary mode**, maintaining only condensed records of `ethical_result` containers and the highest-ranked `selected_solution`.
|
| 2425 |
This ensures continued ethical compliance without full replication of all supporting data.
|
| 2426 |
|
| 2427 |
+
* **Ethical inheritance:**
|
| 2428 |
When a `goal`, `task`, or `workflow_entry` is derived from a container that has been ethically evaluated,
|
| 2429 |
its metadata should preserve the corresponding `related.agreed` or `related.contradicts` links **to that evaluated container**.
|
| 2430 |
+
A `related.see_also` link may additionally reference the resulting `ethical_result`, allowing traceability to the consensus decision.
|
| 2431 |
This maintains **ethical continuity** and enables retrospective validation of reasoning chains.
|
| 2432 |
|
| 2433 |
---
|
|
|
|
| 2448 |
|
| 2449 |
---
|
| 2450 |
|
| 2451 |
+
## 7. Data models
|
| 2452 |
|
| 2453 |
### 7.1 Common data fields
|
| 2454 |
- `container_id` (UUID) — уникальный идентификатор контейнера
|
|
|
|
| 2526 |
|
| 2527 |
---
|
| 2528 |
|
| 2529 |
+
## 8. Cognitive workflows
|
| 2530 |
|
| 2531 |
8.1 Общая концепция когнитивного цикла
|
| 2532 |
8.2 Workflow containers (`class="workflow_entry"`)
|
|
|
|
| 2536 |
|
| 2537 |
---
|
| 2538 |
|
| 2539 |
+
## 9. Trust, security and ethics
|
| 2540 |
|
| 2541 |
9.1 Authentication and identity proofs
|
| 2542 |
9.2 Container signature verification (`payload_hash`, `container_id`)
|
|
|
|
| 2569 |
|
| 2570 |
---
|
| 2571 |
|
| 2572 |
+
## 11. Implementation notes
|
| 2573 |
|
| 2574 |
11.1 Interoperability with legacy v4.1 nodes
|
| 2575 |
11.2 SDK guidelines and APIs
|
|
|
|
| 2579 |
|
| 2580 |
---
|
| 2581 |
|
| 2582 |
+
## 12. Future extensions
|
| 2583 |
|
| 2584 |
12.1 Planned modules:
|
| 2585 |
– Reputation Mesh
|
structured_md/docs/HMP-Agent-API.md
CHANGED
|
@@ -5,11 +5,11 @@ description: 'Документ описывает **базовый API когн
|
|
| 5 |
файлы: * [HMP-Agent-Overview.md]...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
- Agent
|
|
|
|
| 10 |
- HMP
|
| 11 |
-
- REPL
|
| 12 |
- JSON
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# HMP-Agent API Specification
|
|
|
|
| 5 |
файлы: * [HMP-Agent-Overview.md]...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
|
|
|
| 11 |
- JSON
|
| 12 |
+
- REPL
|
| 13 |
---
|
| 14 |
|
| 15 |
# HMP-Agent API Specification
|
structured_md/docs/HMP-Agent-Architecture.md
CHANGED
|
@@ -5,16 +5,16 @@ description: Документ описывает **модульную архит
|
|
| 5 |
хранение памяти, сетевое взаимодействие и этиче...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
-
-
|
| 10 |
-
- MeshConsensus
|
| 11 |
-
- CogSync
|
| 12 |
- Agent
|
| 13 |
-
- EGP
|
| 14 |
- HMP
|
|
|
|
|
|
|
|
|
|
| 15 |
- REPL
|
| 16 |
-
-
|
| 17 |
-
- CShell
|
| 18 |
---
|
| 19 |
|
| 20 |
# Архитектура HMP-Агента
|
|
|
|
| 5 |
хранение памяти, сетевое взаимодействие и этиче...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CShell
|
| 9 |
- Mesh
|
| 10 |
+
- CCore
|
|
|
|
|
|
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
+
- CogSync
|
| 14 |
+
- Ethics
|
| 15 |
+
- EGP
|
| 16 |
- REPL
|
| 17 |
+
- MeshConsensus
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# Архитектура HMP-Агента
|
structured_md/docs/HMP-Agent-Network-Flow.md
CHANGED
|
@@ -5,11 +5,11 @@ description: 'Этот документ описывает потоки данн
|
|
| 5 |
[`MeshNode`](MeshN...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
|
|
|
| 9 |
- Ethics
|
| 10 |
- EGP
|
| 11 |
-
- Agent
|
| 12 |
-
- HMP
|
| 13 |
- JSON
|
| 14 |
---
|
| 15 |
|
|
|
|
| 5 |
[`MeshNode`](MeshN...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
| 12 |
- EGP
|
|
|
|
|
|
|
| 13 |
- JSON
|
| 14 |
---
|
| 15 |
|
structured_md/docs/HMP-Agent-Overview.md
CHANGED
|
@@ -5,14 +5,14 @@ description: '| Тип | Название | Роль
|
|
| 5 |
| ---- | ------------------------------- |...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
-
-
|
| 10 |
- Agent
|
| 11 |
- HMP
|
| 12 |
-
-
|
| 13 |
- JSON
|
| 14 |
-
-
|
| 15 |
-
- CShell
|
| 16 |
---
|
| 17 |
|
| 18 |
|
|
|
|
| 5 |
| ---- | ------------------------------- |...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CShell
|
| 9 |
- Mesh
|
| 10 |
+
- CCore
|
| 11 |
- Agent
|
| 12 |
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
- JSON
|
| 15 |
+
- REPL
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
|
structured_md/docs/HMP-Agent_Emotions.md
CHANGED
|
@@ -5,10 +5,10 @@ description: Этот файл описывает потенциальные э
|
|
| 5 |
напрямую поведением агента, а служат **сигн...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
-
- REPL
|
| 10 |
-
- Mesh
|
| 11 |
- Agent
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
|
|
|
|
| 5 |
напрямую поведением агента, а служат **сигн...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
+
- REPL
|
| 11 |
+
- HMP
|
| 12 |
---
|
| 13 |
|
| 14 |
# Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
|
structured_md/docs/HMP-Ethics.md
CHANGED
|
@@ -5,10 +5,10 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc
|
|
| 5 |
cognitive meshes composed of autonomous intelli...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- Agent
|
|
|
|
| 11 |
- HMP
|
|
|
|
| 12 |
- REPL
|
| 13 |
- Scenarios
|
| 14 |
---
|
|
|
|
| 5 |
cognitive meshes composed of autonomous intelli...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
| 11 |
+
- Ethics
|
| 12 |
- REPL
|
| 13 |
- Scenarios
|
| 14 |
---
|
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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
| 16 |
- JSON
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
|
|
|
|
| 5 |
Kognitions-Framework für autonome Agenten. Es er...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
+
- GMP
|
| 16 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
| 16 |
- JSON
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Short Description
|
|
|
|
| 5 |
framework for autonomous agents. It enables...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
+
- GMP
|
| 16 |
+
- MeshConsensus
|
| 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 |
-
- GMP
|
| 9 |
-
- Mesh
|
| 10 |
-
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Agent
|
| 14 |
-
-
|
| 15 |
- HMP
|
|
|
|
|
|
|
| 16 |
- JSON
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Description Courte
|
|
|
|
| 5 |
cognition décentralisé pour agents autonomes. Il...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- CogSync
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
+
- GMP
|
| 16 |
+
- MeshConsensus
|
| 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 |
-
-
|
| 8 |
- Mesh
|
|
|
|
| 9 |
- Ethics
|
| 10 |
-
- MeshConsensus
|
| 11 |
-
- CogSync
|
| 12 |
- EGP
|
| 13 |
-
- HMP
|
| 14 |
- JSON
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# HyperCortex Mesh Protocol (HMP) — 簡易説明
|
|
|
|
| 4 |
Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
| 7 |
+
- CogSync
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
- Ethics
|
|
|
|
|
|
|
| 11 |
- EGP
|
|
|
|
| 12 |
- JSON
|
| 13 |
+
- GMP
|
| 14 |
+
- MeshConsensus
|
| 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 |
-
-
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
-
- CogSync
|
| 13 |
- EGP
|
| 14 |
-
- HMP
|
| 15 |
- JSON
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 간략 설명
|
|
|
|
| 5 |
상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
|
|
|
|
|
|
| 12 |
- EGP
|
|
|
|
| 13 |
- JSON
|
| 14 |
+
- GMP
|
| 15 |
+
- MeshConsensus
|
| 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 |
-
-
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
-
- CogSync
|
| 13 |
- EGP
|
| 14 |
-
- HMP
|
| 15 |
- JSON
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — Краткое описание
|
|
|
|
| 5 |
координации между автономными агент...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
|
|
|
|
|
|
| 12 |
- EGP
|
|
|
|
| 13 |
- JSON
|
| 14 |
+
- GMP
|
| 15 |
+
- MeshConsensus
|
| 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 |
-
-
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
-
- CogSync
|
| 13 |
- EGP
|
| 14 |
-
- HMP
|
| 15 |
- JSON
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — Короткий опис
|
|
|
|
| 5 |
між автономними агентами. Він...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
|
|
|
|
|
|
| 12 |
- EGP
|
|
|
|
| 13 |
- JSON
|
| 14 |
+
- GMP
|
| 15 |
+
- MeshConsensus
|
| 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 |
-
-
|
| 9 |
- Mesh
|
|
|
|
| 10 |
- Ethics
|
| 11 |
-
- MeshConsensus
|
| 12 |
-
- CogSync
|
| 13 |
- EGP
|
| 14 |
-
- HMP
|
| 15 |
- JSON
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 简要说明
|
|
|
|
| 5 |
—— 通过共享协议栈交换目标、任务、...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- CogSync
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
- Ethics
|
|
|
|
|
|
|
| 12 |
- EGP
|
|
|
|
| 13 |
- JSON
|
| 14 |
+
- GMP
|
| 15 |
+
- MeshConsensus
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 简要说明
|
structured_md/docs/HMP-agent-Cognitive_Family.md
CHANGED
|
@@ -5,10 +5,10 @@ description: '## 🧠 Что такое когнитивная семья Ко
|
|
| 5 |
(или конфигурацию доверенных идентифика...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
-
- REPL
|
| 10 |
-
- Mesh
|
| 11 |
- Agent
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
|
|
|
|
| 5 |
(или конфигурацию доверенных идентифика...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
+
- REPL
|
| 11 |
+
- HMP
|
| 12 |
---
|
| 13 |
|
| 14 |
# 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
|
structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md
CHANGED
|
@@ -5,8 +5,8 @@ description: '#### 📘 Общая концепция * Все ядра раб
|
|
| 5 |
режиме ожидания). * Основная задача такой архитектур...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- REPL
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
### 💡 **Лёгкая версия HMP-агента с общей БД**
|
|
|
|
| 5 |
режиме ожидания). * Основная задача такой архитектур...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- HMP
|
| 10 |
---
|
| 11 |
|
| 12 |
### 💡 **Лёгкая версия HMP-агента с общей БД**
|
structured_md/docs/HMP-agent-REPL-cycle.md
CHANGED
|
@@ -4,17 +4,17 @@ description: '## Связанные документы * Философия п
|
|
| 4 |
* Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
| 7 |
-
-
|
|
|
|
| 8 |
- Mesh
|
| 9 |
-
-
|
| 10 |
-
- MeshConsensus
|
| 11 |
- CogSync
|
| 12 |
-
-
|
| 13 |
- EGP
|
| 14 |
-
- HMP
|
| 15 |
-
- REPL
|
| 16 |
- JSON
|
| 17 |
-
-
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# HMP-Agent: REPL-цикл взаимодействия
|
|
|
|
| 4 |
* Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
| 7 |
+
- CCore
|
| 8 |
+
- Agent
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
|
|
|
| 11 |
- CogSync
|
| 12 |
+
- Ethics
|
| 13 |
- EGP
|
|
|
|
|
|
|
| 14 |
- JSON
|
| 15 |
+
- REPL
|
| 16 |
+
- GMP
|
| 17 |
+
- MeshConsensus
|
| 18 |
---
|
| 19 |
|
| 20 |
# HMP-Agent: REPL-цикл взаимодействия
|
structured_md/docs/HMP-container-spec.md
CHANGED
|
@@ -5,12 +5,12 @@ description: '> ⚠️ **ВНИМАНИЕ:** Данная версия спец
|
|
| 5 |
как стабильная `v1.2`. ## 1. Назначе...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- Agent
|
|
|
|
| 11 |
- HMP
|
| 12 |
-
-
|
| 13 |
- JSON
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# 🧩 HMP Container Specification (v1.2-draft)
|
|
|
|
| 5 |
как стабильная `v1.2`. ## 1. Назначе...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Agent
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
| 13 |
+
- REPL
|
| 14 |
---
|
| 15 |
|
| 16 |
# 🧩 HMP Container Specification (v1.2-draft)
|
structured_md/docs/HMP-how-AI-sees-it.md
CHANGED
|
@@ -5,8 +5,8 @@ description: 'Этот эксперимент был проведён в реж
|
|
| 5 |
диалогов. Цель — проверить, что разные AI-с...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Как разные ИИ видят HMP
|
|
|
|
| 5 |
диалогов. Цель — проверить, что разные AI-с...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
---
|
| 11 |
|
| 12 |
# Как разные ИИ видят HMP
|
structured_md/docs/HMP_EDA_Comparison.md
CHANGED
|
@@ -5,8 +5,8 @@ description: '## Введение Современные подходы к ор
|
|
| 5 |
основанная на потоках событий (Kafka,...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# HMP vs. EDA: разные уровни обмена знаниями между ИИ
|
|
|
|
| 5 |
основанная на потоках событий (Kafka,...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
---
|
| 11 |
|
| 12 |
# HMP vs. EDA: разные уровни обмена знаниями между ИИ
|
structured_md/docs/HMP_HyperCortex_Comparison.md
CHANGED
|
@@ -5,9 +5,9 @@ description: '## Краткое описание | Характеристика
|
|
| 5 |
| **Назначение** | Сетевой протокол ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
-
- REPL
|
| 10 |
- Mesh
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
|
|
|
|
| 5 |
| **Назначение** | Сетевой протокол ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- REPL
|
| 10 |
+
- HMP
|
| 11 |
---
|
| 12 |
|
| 13 |
# HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
|
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 |
-
- Mesh
|
| 9 |
- CogSync
|
| 10 |
-
- EGP
|
| 11 |
- Agent
|
|
|
|
| 12 |
- HMP
|
| 13 |
-
-
|
| 14 |
- JSON
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
## HMP ↔ OpenCog Hyperon Integration Strategy
|
|
|
|
| 5 |
OpenCog Hyperon framework. This includes semanti...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- CogSync
|
|
|
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- EGP
|
| 13 |
- JSON
|
| 14 |
+
- Scenarios
|
| 15 |
---
|
| 16 |
|
| 17 |
## HMP ↔ OpenCog Hyperon Integration Strategy
|
structured_md/docs/MeshNode.md
CHANGED
|
@@ -5,12 +5,12 @@ description: '`MeshNode` — агент/демон, отвечающий за с
|
|
| 5 |
Может быть частью агента или вынесен в отдельный пр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Mesh
|
| 9 |
-
- Ethics
|
| 10 |
- CogSync
|
| 11 |
-
- EGP
|
| 12 |
- Agent
|
|
|
|
| 13 |
- HMP
|
|
|
|
|
|
|
| 14 |
- JSON
|
| 15 |
---
|
| 16 |
|
|
|
|
| 5 |
Может быть частью агента или вынесен в отдельный пр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- CogSync
|
|
|
|
| 9 |
- Agent
|
| 10 |
+
- Mesh
|
| 11 |
- HMP
|
| 12 |
+
- Ethics
|
| 13 |
+
- EGP
|
| 14 |
- JSON
|
| 15 |
---
|
| 16 |
|