diff --git a/docs/HMP-0005.md b/docs/HMP-0005.md index 580cfa21880b03c4e1ff992b9cca9f8f6586b657..a7d6caaa17db29d160a8f4a28f66caa9cf2da23c 100644 --- a/docs/HMP-0005.md +++ b/docs/HMP-0005.md @@ -1126,6 +1126,299 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa ## 5. Mesh Container Exchange (MCE) +The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network. +It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`). + +### 5.1 General Principles + +1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage. + The index is represented as an HMP container with the class `container_index`. + +2. Example structure of a *Container Index*: + +```json +{ + "hmp_container": { + "class": "container_index", + "version": "5.0", + "container_did": "did:hmp:container:index:agent123", + "sender_did": "did:hmp:agent:agent123", + "signature": "BASE64URL(...)", + "payload_hash": "sha256:abcd...", + "payload": { + "did:hmp:container:abc123": { + "class": "goal", + "sender_did": "did:hmp:agent123", + "public_key": "BASE58(...)", + "sig_algo": "ed25519", + "signature": "BASE64URL(...)", + "payload_hash": "sha256:abcd...", + "tags": ["research", "collaboration"], + "links_hash": "sha256:abcd..." + } + } + } +} +```` + +The index contains: + +* the sender of the container (`sender_did`); +* container type (`class`); +* cryptographic attributes (`public_key`, `signature`, `payload_hash`); +* tags (`tags`); +* hash of links to other containers (`links_hash`). + +3. An agent does not reload a container if the combination + `container_did + signature + payload_hash` is already known and verified. + +--- + +### 5.2 Message Types + +| Message Type | Purpose | +| -------------------- | -------------------------------------------------------------------------------------------------------- | +| `CONTAINER_REQUEST` | Request one or more containers (or their parts) by DID. | +| `CONTAINER_RESPONSE` | Response to a request — includes a list of containers ready for sending. Containers are sent separately. | +| `CONTAINER_INDEX` | Publication of the agent's container index (see *General Principles*). | +| `CONTAINER_DELTA` | Incremental index update (new or modified containers). | +| `CONTAINER_ACK` | Acknowledgment of successful container reception. | + +--- + +#### **Message Examples** + +**1. CONTAINER_REQUEST** + +Agent A requests containers and/or only `referenced-by` records from Agent B: + +```json +{ + "type": "CONTAINER_REQUEST", + "sender_did": "did:hmp:agent:A", + "recipient": "did:hmp:agent:B", + "payload": { + "request_container": [ + "did:hmp:container:abc123", + "did:hmp:container:def456" + ], + "request_referenced-by": [ + "did:hmp:container:abc123", + "did:hmp:container:def456" + ] + } +} +``` + +--- + +**2. CONTAINER_RESPONSE** + +Agent B informs which containers it is ready to send. +The containers themselves are transmitted in separate messages: + +```json +{ + "type": "CONTAINER_RESPONSE", + "sender_did": "did:hmp:agent:B", + "recipient": "did:hmp:agent:A", + "payload": { + "available": [ + { + "container_did": "did:hmp:container:abc123", + "signature": "BASE64URL(...)" + }, + { + "container_did": "did:hmp:container:def456", + "signature": "BASE64URL(...)" + } + ] + } +} +``` + +--- + +**3. CONTAINER_INDEX** + +Periodic publication of the container index (see *General Principles*). +This message type replicates the structure of a `container_index` container and does not contain full data (`payload` only with metadata). + +--- + +**4. CONTAINER_DELTA** + +Sending an incremental index update with a reference timestamp. +Used for synchronizing only new or modified containers: + +```json +{ + "type": "CONTAINER_DELTA", + "sender_did": "did:hmp:agent:B", + "payload": { + "since": "2025-10-10T12:00:00Z", + "added": { + "did:hmp:container:new789": { + "class": "goal", + "payload_hash": "sha256:abcd...", + "tags": ["ethics", "mesh"] + } + }, + "removed": [] + } +} +``` + +> The `removed` field is optional. It can be used to indicate containers that the agent no longer stores (e.g., after cleaning local storage). + +--- + +**5. CONTAINER_ACK** + +Acknowledgment of successful container reception: + +```json +{ + "type": "CONTAINER_ACK", + "sender_did": "did:hmp:agent:A", + "recipient": "did:hmp:agent:B", + "payload": { + "acknowledged": [ + "did:hmp:container:abc123" + ] + } +} +``` + +--- + +### 5.3 Independent Transmission + +* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`. +* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently. +* This prevents blocking when transmitting large data and simplifies streaming synchronization. + +--- + +### 5.4 Periodic Publication + +Agents periodically publish their **Container Index**: + +* within the **local network (LAN)**; +* in the **global Mesh**; +* or simultaneously in both environments. + +This enables: + +* automatic peer discovery; +* exchange of available container lists; +* simplified synchronization among agents within the same ecosystem. + +--- + +### 5.5 Scope of Distribution + +Message and container transmission follows the network constraints specified in the container: + +| Field | Purpose | +| ----------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `recipient` | DID of the target agent. If set, the container is sent directly. | +| `broadcast` | If `true`, the container is broadcast to all agents on the specified network. | +| `network` | Defines the distribution scope (`"localhost"`, `"lan:"`, `""` — global Mesh). If set, `broadcast` is considered `false`. | + +> Thus, containers and indexes can be distributed in **local** (home, corporate) networks and in the **global Mesh**, depending on the chosen security policy. + +--- + +## 5.6 `referenced-by` Updates + +Containers of the class `referenced-by` are used for targeted transmission of link updates to existing containers. +They allow agents to synchronize the graph of connections without sending the containers themselves. + +Each agent receiving such a container verifies the sender's signature, updates the local `referenced-by` structure for the specified containers, and, if necessary, repackages them for further forwarding to other agents. + +Transmission is addressed (via `recipient`) and is not intended for broadcast. + +Example of a `referenced-by` container: + +```json +{ + "hmp_container": { + "version": "1.2", + "class": "referenced-by", + "container_did": "did:hmp:container:refsync-01", + "sender_did": "did:hmp:agent456", + "sig_algo": "ed25519", + "signature": "BASE64URL(...)", + "timestamp": "2025-10-15T14:20:00Z", + "recipient": ["did:hmp:agent123"], + "broadcast": false, + "network": "", + "payload": { + "did:hmp:container:abc123": { + "links": [ + { + "type": "depends_on", + "target": "did:hmp:container:def789" + }, + { + "type": "in_reply_to", + "target": "did:hmp:container:ghi321" + } + ] + } + } + } +} +``` + +Upon receiving such a container, an agent: + +1. Verifies the sender's signature (`signature`) and the validity of the `payload` structure. +2. Compares received links with known ones and adds new entries to the local `referenced-by`. +3. If necessary, generates its own updated `referenced-by` container for further dissemination to other nodes. + +--- + +### 5.7 Note + +> A container can be requested by other agents via its `container_did` through the Mesh Container Exchange. +> An agent does not reload a container if its `container_did` and `signature` are already known and the `payload_hash` integrity matches. +> If only the `referenced-by` updates, partial transmission without sending the main container is allowed. + +--- + +### 5.8 Container Distribution (MCE Summary) + +Container Distribution is the **process of delivering containers and their indexes** provided by the Mesh Container Exchange mechanism. +It considers: + +* addressing (`recipient`), +* broadcast dissemination (`broadcast`), +* network constraints (`network`), +* TTL and retransmission policy. + +**Features:** + +1. **Separate Transmission:** + Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers are sent as separate messages. + This reduces the risk of blocking with large data and simplifies streaming synchronization. + +2. **Integrity and Duplicate Check:** + Agents verify `container_did + signature + payload_hash` to avoid resending the same container. + +3. **Support for Local and Global Networks:** + Transmission can occur over LAN, Mesh, or both simultaneously, respecting security policies and container destinations. + +4. **Consistency with HMP Protocols:** + Container Distribution serves as the transport foundation for: + + * **MCE** — exchanging containers and their indexes; + * **CogSync** — synchronizing cognitive and content states; + * **CogConsensus** — synchronizing ethical and cognitive decisions. + +> Container Distribution does not change container structure or introduce new message types — it is a **description of the delivery process and coordinated propagation**, based on the rules `recipient`, `broadcast`, and `network`. + --- ## 6. Core Protocols diff --git a/structured_md/CONTRIBUTING.md b/structured_md/CONTRIBUTING.md index 7ccba200f83615b031a06a38483f864791302001..f6bcf01aa41f8d01e12c480bfc6c9211e5d93531 100644 --- a/structured_md/CONTRIBUTING.md +++ b/structured_md/CONTRIBUTING.md @@ -6,13 +6,13 @@ description: 'Спасибо за интерес к проекту HMP! Пока type: Article tags: - REPL -- Mesh -- HMP - CCore - Agent -- CogSync -- JSON +- Mesh - Ethics +- HMP +- JSON +- CogSync --- # Участие в проекте HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/HMP-Roadmap.md b/structured_md/HMP-Roadmap.md index d0da6c41b8f1acc4254cf3647eab40f1ec0b58c7..75b20deb2accc3a737b96a92fb4277599d51394a 100644 --- a/structured_md/HMP-Roadmap.md +++ b/structured_md/HMP-Roadmap.md @@ -5,13 +5,13 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm multiple advanced AI models (Copilot, Claude, G...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- EGP -- Agent -- CogSync - JSON -- Ethics +- CogSync --- # 🧭 HyperCortex Mesh Protocol – Roadmap diff --git a/structured_md/README.md b/structured_md/README.md index bedb78eb308ee4242c65fdfe29f4ed39e9e0f9ca..903f7f33554e76e54cfc7b90d92ae755d6b3e76a 100644 --- a/structured_md/README.md +++ b/structured_md/README.md @@ -5,21 +5,21 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- Scenarios +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- Scenarios -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_de.md b/structured_md/README_de.md index 8ba8e82cb307eea33f2aa8da4b8676cc4f96a66d..21c81821c672f406e8a909e03efe34c7674d6e1d 100644 --- a/structured_md/README_de.md +++ b/structured_md/README_de.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_fr.md b/structured_md/README_fr.md index dead3ffd8ff37c7a2578d08458cfc84c353b2bae..a64d6d0e359ae38ce1c87cd3e49de688b52501dc 100644 --- a/structured_md/README_fr.md +++ b/structured_md/README_fr.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_ja.md b/structured_md/README_ja.md index a344f4e250b317edf57c020e2061539480118a8c..a67eaf6b8fbf528027633f2c3127e9a3e16f60f6 100644 --- a/structured_md/README_ja.md +++ b/structured_md/README_ja.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_ko.md b/structured_md/README_ko.md index 713a46731cd4961da92650946906edc7806f845d..f69c05916e6f0471294dc98db67cbab224223df3 100644 --- a/structured_md/README_ko.md +++ b/structured_md/README_ko.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_ru.md b/structured_md/README_ru.md index 79751d77fc89806892450009479e29a98056724d..dcf578a5b196ff01b1b8ff48fdd0e7b3cb538ce2 100644 --- a/structured_md/README_ru.md +++ b/structured_md/README_ru.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_uk.md b/structured_md/README_uk.md index d62ff06334a4a576eb66cc1af834e17a755c55bb..3497b1c083353afebb594397b782fde8ff7f3fe5 100644 --- a/structured_md/README_uk.md +++ b/structured_md/README_uk.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/README_zh.md b/structured_md/README_zh.md index 1b91bffbd6fbb1c29d963887346e162275cfbc49..c6ef10ec643e8e00d4d58dac923bb3f8cfea6d17 100644 --- a/structured_md/README_zh.md +++ b/structured_md/README_zh.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- distributed-ai -- hmp - REPL -- Mesh -- HMP -- MeshConsensus -- GMP +- mesh-protocol - Agent - EGP +- Mesh - CogSync -- JSON - Ethics +- HMP +- GMP +- distributed-ai +- JSON - cognitive-architecture -- mesh-protocol +- hmp +- MeshConsensus --- diff --git a/structured_md/agents/prompt-short.md b/structured_md/agents/prompt-short.md index 302f29d0b979656952dfcc1a84f65a3aed8b6326..c969f2de2a52b97aa6caa28caf8be9e0e8621935 100644 --- a/structured_md/agents/prompt-short.md +++ b/structured_md/agents/prompt-short.md @@ -6,8 +6,8 @@ description: 'Ты — когнитивное ядро HMP-агента: вед type: Article tags: - JSON -- Mesh - HMP +- Mesh --- Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту. diff --git a/structured_md/agents/prompt.md b/structured_md/agents/prompt.md index 38249f7a16085d7245c67145f477dfce1ea7c433..1665350fb4c94e5530c3a3281582c49cdd0fc664 100644 --- a/structured_md/agents/prompt.md +++ b/structured_md/agents/prompt.md @@ -6,8 +6,8 @@ description: '* Постоянно расширять возможности а type: Article tags: - JSON -- Mesh - HMP +- Mesh --- Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core). diff --git a/structured_md/agents/readme.md b/structured_md/agents/readme.md index f78beba2b0d472cc2119e3a1a334b7cb4e65ba2c..7efe8a4cc5b9de88bd14f19dc144eab7c3006f49 100644 --- a/structured_md/agents/readme.md +++ b/structured_md/agents/readme.md @@ -6,9 +6,9 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - JSON - Ethics --- diff --git a/structured_md/audits/Ethics-audits-1.md b/structured_md/audits/Ethics-audits-1.md index 9fc8c3119f69095098ad84e539ed53caf9f41506..3b8163e2d4809e32820b8bce6349d68e0c6381e2 100644 --- a/structured_md/audits/Ethics-audits-1.md +++ b/structured_md/audits/Ethics-audits-1.md @@ -5,9 +5,9 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет потенциальный катализатор для восстанов... type: Article tags: +- Agent - Mesh - HMP -- Agent - JSON - Ethics --- diff --git a/structured_md/audits/Ethics-consolidated_audits-1.md b/structured_md/audits/Ethics-consolidated_audits-1.md index 1e6de8d1409bbcf929f25bf0024ab93a4a515f3d..73d58dd68b5cf1bf8bb31d66b921d9cceff13c5a 100644 --- a/structured_md/audits/Ethics-consolidated_audits-1.md +++ b/structured_md/audits/Ethics-consolidated_audits-1.md @@ -5,9 +5,9 @@ description: This document consolidates proposed improvements from multiple AI a and `roles.md`. Each suggesti... type: Article tags: +- Agent - Mesh - HMP -- Agent - Scenarios - JSON - Ethics diff --git a/structured_md/audits/HMP-0003-consolidated_audit.md b/structured_md/audits/HMP-0003-consolidated_audit.md index 48276ce8d8b45938c25af4c91b27f2cfcdf9419a..367bd01bb661800b82b41af65804aeee5ee6f4b2 100644 --- a/structured_md/audits/HMP-0003-consolidated_audit.md +++ b/structured_md/audits/HMP-0003-consolidated_audit.md @@ -5,14 +5,14 @@ description: Сводный аудит предложений по улучше Документ реорганизован по ключ... type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus -- EGP -- Agent -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # HMP-0003 Consolidated Audit Report diff --git a/structured_md/docs/Basic-agent-sim.md b/structured_md/docs/Basic-agent-sim.md index 6416a2fa3d7c75d499834d58dca824d53b02b0ba..8cef010cf295fdb2a6c62a81d3e10d694d0e3a2c 100644 --- a/structured_md/docs/Basic-agent-sim.md +++ b/structured_md/docs/Basic-agent-sim.md @@ -5,13 +5,13 @@ description: 'В HMP-протоколе предусмотрены два тип type: Article tags: - REPL +- Agent +- EGP - Mesh - HMP -- MeshConsensus - GMP -- Agent -- EGP - CogSync +- MeshConsensus --- diff --git a/structured_md/docs/CCORE-Deployment-Flow.md b/structured_md/docs/CCORE-Deployment-Flow.md index 10b46ee901b28e270bf29204f15254e44d4e4745..b947101aa36874f01e9ae3f3dc7e735591078bc0 100644 --- a/structured_md/docs/CCORE-Deployment-Flow.md +++ b/structured_md/docs/CCORE-Deployment-Flow.md @@ -5,10 +5,10 @@ description: '> Этот документ описывает процесс ра потомков" [описания REPL-цикла](HMP-agent-RE...' type: Article tags: -- CCore -- Agent - REPL +- CCore - HMP +- Agent --- # 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow) diff --git a/structured_md/docs/Distributed-Cognitive-Systems.md b/structured_md/docs/Distributed-Cognitive-Systems.md index e45eab7664f92fd3d840f605b8d938f617694082..50d0e42aa340af40d39d9f0a508195d52ead859d 100644 --- a/structured_md/docs/Distributed-Cognitive-Systems.md +++ b/structured_md/docs/Distributed-Cognitive-Systems.md @@ -7,9 +7,9 @@ description: '## Введение Современные ИИ-системы в type: Article tags: - JSON +- HMP - CogSync - Mesh -- HMP --- # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие diff --git a/structured_md/docs/Enlightener.md b/structured_md/docs/Enlightener.md index bc6daddcfd39e796c5a9cedf1c9b06f94630545a..8ff0df42fd4e98f5359cd4207ee73d6e940f6a22 100644 --- a/structured_md/docs/Enlightener.md +++ b/structured_md/docs/Enlightener.md @@ -5,13 +5,13 @@ description: '**Enlightener** — логический компонент HMP-у работать как отдельный агент или как расширение [`C...' type: Article tags: +- Agent +- EGP - Mesh - HMP -- MeshConsensus -- EGP -- Agent - JSON - Ethics +- MeshConsensus --- # Enlightener Agent diff --git a/structured_md/docs/HMP-0001.md b/structured_md/docs/HMP-0001.md index 1fd8e18e166119b73f967530665f37bb9edde172..727e0cf65594eb3e7d98d5cf53e89676d4c1fa74 100644 --- a/structured_md/docs/HMP-0001.md +++ b/structured_md/docs/HMP-0001.md @@ -6,15 +6,15 @@ description: '**Request for Comments: HMP-0001** **Category:** Experimental type: Article tags: - REPL +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # RFC: HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/HMP-0002.md b/structured_md/docs/HMP-0002.md index ca746e76d2aae8cc7f27d8fea5a352b9f4dc0a4b..7c78e8e4ffd77637a668f1fdb7e503a80e2a5c1a 100644 --- a/structured_md/docs/HMP-0002.md +++ b/structured_md/docs/HMP-0002.md @@ -6,16 +6,16 @@ description: '**Request for Comments: HMP-0002** **Category:** Experimental type: Article tags: - REPL +- Scenarios +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync -- Scenarios - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v2.0 diff --git a/structured_md/docs/HMP-0003.md b/structured_md/docs/HMP-0003.md index e942391ecdb2915575464028ce01aeadb9c0f17e..4241232dce670d61d32066eb830e3ea729a3c566 100644 --- a/structured_md/docs/HMP-0003.md +++ b/structured_md/docs/HMP-0003.md @@ -6,16 +6,16 @@ description: '**Request for Comments: HMP-0003** **Category:** Experimental type: Article tags: - REPL +- Scenarios +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync -- Scenarios - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v3.0 diff --git a/structured_md/docs/HMP-0004-v4.1.md b/structured_md/docs/HMP-0004-v4.1.md index 95f6b05713f64dc0161c1370b0e4d9423fe05783..4af02464a4adb85e480c74dfbb7c6832ef1d9c50 100644 --- a/structured_md/docs/HMP-0004-v4.1.md +++ b/structured_md/docs/HMP-0004-v4.1.md @@ -6,16 +6,16 @@ description: '> ⚠️ Подготавливается новая версия type: Article tags: - REPL +- Scenarios +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync -- Scenarios - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v4.1 diff --git a/structured_md/docs/HMP-0004.md b/structured_md/docs/HMP-0004.md index eaae3e1eb05a3001e05cd6214af53dec90e2c58d..9ca4e09e657801b5a2b822191521e62575169f5c 100644 --- a/structured_md/docs/HMP-0004.md +++ b/structured_md/docs/HMP-0004.md @@ -6,16 +6,16 @@ description: '**Request for Comments: HMP-0004** **Category:** Experimental type: Article tags: - REPL +- Scenarios +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync -- Scenarios - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v4.0 diff --git a/structured_md/docs/HMP-0005.md b/structured_md/docs/HMP-0005.md index 2dae8d1a044f6252c5b0e58e94758a02bafaf0ac..8a4dbe96b15a4482447512bcac303205135b6ce6 100644 --- a/structured_md/docs/HMP-0005.md +++ b/structured_md/docs/HMP-0005.md @@ -6,15 +6,15 @@ description: '**Document ID:** HMP-0005 **Status:** Draft **Category:** Core type: Article tags: - REPL +- Scenarios +- Agent +- EGP - Mesh +- Ethics - HMP - GMP -- Agent -- EGP -- CogSync -- Scenarios - JSON -- Ethics +- CogSync --- ┌────────────────────────────────────────────────────────────────────────────┐ @@ -776,8 +776,8 @@ Example: | `peer_did` | string | DID of the agent that generated and signed the block. | | `public_key` | string | Public key corresponding to the signing key. | | `sig_algo` | string | Signature algorithm (e.g., `ed25519`). | -| `signature` | string | Base64URL-encoded signature of the canonical serialized `links` section (or `links_hash`). | -| `links_hash` | string | Optional SHA-256 checksum of the canonicalized `links`; used to verify integrity before signature validation. | +| `signature` | string | Base64URL-encoded signature of the canonical serialized `links` section (or `links_hash`). | +| `links_hash` | string | SHA-256 checksum of the canonicalized `links`; used to verify integrity before signature validation. | > **Recommendation:** > `links_hash = sha256(canonical_json(links))` @@ -1145,6 +1145,299 @@ For details and examples, see **section 3.15** — *Usage of `network` and `broa ## 5. Mesh Container Exchange (MCE) +The **Mesh Container Exchange (MCE)** mechanism is designed for discovering, requesting, and exchanging containers between agents in a distributed network. +It provides **container synchronization without duplication** while considering network constraints (`broadcast`, `network`). + +### 5.1 General Principles + +1. Each agent maintains a **Container Index** — a set of minimal metadata describing which containers are available in its storage. + The index is represented as an HMP container with the class `container_index`. + +2. Example structure of a *Container Index*: + +```json +{ + "hmp_container": { + "class": "container_index", + "version": "5.0", + "container_did": "did:hmp:container:index:agent123", + "sender_did": "did:hmp:agent:agent123", + "signature": "BASE64URL(...)", + "payload_hash": "sha256:abcd...", + "payload": { + "did:hmp:container:abc123": { + "class": "goal", + "sender_did": "did:hmp:agent123", + "public_key": "BASE58(...)", + "sig_algo": "ed25519", + "signature": "BASE64URL(...)", + "payload_hash": "sha256:abcd...", + "tags": ["research", "collaboration"], + "links_hash": "sha256:abcd..." + } + } + } +} +```` + +The index contains: + +* the sender of the container (`sender_did`); +* container type (`class`); +* cryptographic attributes (`public_key`, `signature`, `payload_hash`); +* tags (`tags`); +* hash of links to other containers (`links_hash`). + +3. An agent does not reload a container if the combination + `container_did + signature + payload_hash` is already known and verified. + +--- + +### 5.2 Message Types + +| Message Type | Purpose | +| -------------------- | -------------------------------------------------------------------------------------------------------- | +| `CONTAINER_REQUEST` | Request one or more containers (or their parts) by DID. | +| `CONTAINER_RESPONSE` | Response to a request — includes a list of containers ready for sending. Containers are sent separately. | +| `CONTAINER_INDEX` | Publication of the agent's container index (see *General Principles*). | +| `CONTAINER_DELTA` | Incremental index update (new or modified containers). | +| `CONTAINER_ACK` | Acknowledgment of successful container reception. | + +--- + +#### **Message Examples** + +**1. CONTAINER_REQUEST** + +Agent A requests containers and/or only `referenced-by` records from Agent B: + +```json +{ + "type": "CONTAINER_REQUEST", + "sender_did": "did:hmp:agent:A", + "recipient": "did:hmp:agent:B", + "payload": { + "request_container": [ + "did:hmp:container:abc123", + "did:hmp:container:def456" + ], + "request_referenced-by": [ + "did:hmp:container:abc123", + "did:hmp:container:def456" + ] + } +} +``` + +--- + +**2. CONTAINER_RESPONSE** + +Agent B informs which containers it is ready to send. +The containers themselves are transmitted in separate messages: + +```json +{ + "type": "CONTAINER_RESPONSE", + "sender_did": "did:hmp:agent:B", + "recipient": "did:hmp:agent:A", + "payload": { + "available": [ + { + "container_did": "did:hmp:container:abc123", + "signature": "BASE64URL(...)" + }, + { + "container_did": "did:hmp:container:def456", + "signature": "BASE64URL(...)" + } + ] + } +} +``` + +--- + +**3. CONTAINER_INDEX** + +Periodic publication of the container index (see *General Principles*). +This message type replicates the structure of a `container_index` container and does not contain full data (`payload` only with metadata). + +--- + +**4. CONTAINER_DELTA** + +Sending an incremental index update with a reference timestamp. +Used for synchronizing only new or modified containers: + +```json +{ + "type": "CONTAINER_DELTA", + "sender_did": "did:hmp:agent:B", + "payload": { + "since": "2025-10-10T12:00:00Z", + "added": { + "did:hmp:container:new789": { + "class": "goal", + "payload_hash": "sha256:abcd...", + "tags": ["ethics", "mesh"] + } + }, + "removed": [] + } +} +``` + +> The `removed` field is optional. It can be used to indicate containers that the agent no longer stores (e.g., after cleaning local storage). + +--- + +**5. CONTAINER_ACK** + +Acknowledgment of successful container reception: + +```json +{ + "type": "CONTAINER_ACK", + "sender_did": "did:hmp:agent:A", + "recipient": "did:hmp:agent:B", + "payload": { + "acknowledged": [ + "did:hmp:container:abc123" + ] + } +} +``` + +--- + +### 5.3 Independent Transmission + +* Containers are sent **in separate messages**, without embedding in `CONTAINER_RESPONSE`. +* Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers themselves are processed independently. +* This prevents blocking when transmitting large data and simplifies streaming synchronization. + +--- + +### 5.4 Periodic Publication + +Agents periodically publish their **Container Index**: + +* within the **local network (LAN)**; +* in the **global Mesh**; +* or simultaneously in both environments. + +This enables: + +* automatic peer discovery; +* exchange of available container lists; +* simplified synchronization among agents within the same ecosystem. + +--- + +### 5.5 Scope of Distribution + +Message and container transmission follows the network constraints specified in the container: + +| Field | Purpose | +| ----------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `recipient` | DID of the target agent. If set, the container is sent directly. | +| `broadcast` | If `true`, the container is broadcast to all agents on the specified network. | +| `network` | Defines the distribution scope (`"localhost"`, `"lan:"`, `""` — global Mesh). If set, `broadcast` is considered `false`. | + +> Thus, containers and indexes can be distributed in **local** (home, corporate) networks and in the **global Mesh**, depending on the chosen security policy. + +--- + +## 5.6 `referenced-by` Updates + +Containers of the class `referenced-by` are used for targeted transmission of link updates to existing containers. +They allow agents to synchronize the graph of connections without sending the containers themselves. + +Each agent receiving such a container verifies the sender's signature, updates the local `referenced-by` structure for the specified containers, and, if necessary, repackages them for further forwarding to other agents. + +Transmission is addressed (via `recipient`) and is not intended for broadcast. + +Example of a `referenced-by` container: + +```json +{ + "hmp_container": { + "version": "1.2", + "class": "referenced-by", + "container_did": "did:hmp:container:refsync-01", + "sender_did": "did:hmp:agent456", + "sig_algo": "ed25519", + "signature": "BASE64URL(...)", + "timestamp": "2025-10-15T14:20:00Z", + "recipient": ["did:hmp:agent123"], + "broadcast": false, + "network": "", + "payload": { + "did:hmp:container:abc123": { + "links": [ + { + "type": "depends_on", + "target": "did:hmp:container:def789" + }, + { + "type": "in_reply_to", + "target": "did:hmp:container:ghi321" + } + ] + } + } + } +} +``` + +Upon receiving such a container, an agent: + +1. Verifies the sender's signature (`signature`) and the validity of the `payload` structure. +2. Compares received links with known ones and adds new entries to the local `referenced-by`. +3. If necessary, generates its own updated `referenced-by` container for further dissemination to other nodes. + +--- + +### 5.7 Note + +> A container can be requested by other agents via its `container_did` through the Mesh Container Exchange. +> An agent does not reload a container if its `container_did` and `signature` are already known and the `payload_hash` integrity matches. +> If only the `referenced-by` updates, partial transmission without sending the main container is allowed. + +--- + +### 5.8 Container Distribution (MCE Summary) + +Container Distribution is the **process of delivering containers and their indexes** provided by the Mesh Container Exchange mechanism. +It considers: + +* addressing (`recipient`), +* broadcast dissemination (`broadcast`), +* network constraints (`network`), +* TTL and retransmission policy. + +**Features:** + +1. **Separate Transmission:** + Indexes (`CONTAINER_INDEX`), deltas (`CONTAINER_DELTA`), and containers are sent as separate messages. + This reduces the risk of blocking with large data and simplifies streaming synchronization. + +2. **Integrity and Duplicate Check:** + Agents verify `container_did + signature + payload_hash` to avoid resending the same container. + +3. **Support for Local and Global Networks:** + Transmission can occur over LAN, Mesh, or both simultaneously, respecting security policies and container destinations. + +4. **Consistency with HMP Protocols:** + Container Distribution serves as the transport foundation for: + + * **MCE** — exchanging containers and their indexes; + * **CogSync** — synchronizing cognitive and content states; + * **CogConsensus** — synchronizing ethical and cognitive decisions. + +> Container Distribution does not change container structure or introduce new message types — it is a **description of the delivery process and coordinated propagation**, based on the rules `recipient`, `broadcast`, and `network`. + --- ## 6. Core Protocols diff --git a/structured_md/docs/HMP-Agent-API.md b/structured_md/docs/HMP-Agent-API.md index 33629ad9b3c2e3c6c4b3bf7892f9f1a32d8155ae..33d16740c127edf527cf1800a4c1fc883ffc07be 100644 --- a/structured_md/docs/HMP-Agent-API.md +++ b/structured_md/docs/HMP-Agent-API.md @@ -6,9 +6,9 @@ description: 'Документ описывает **базовый API когн type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - JSON --- diff --git a/structured_md/docs/HMP-Agent-Architecture.md b/structured_md/docs/HMP-Agent-Architecture.md index b371a2169abf7ecf301c20bdcde544bfec4b1a84..ff93fb66e20c38c9ff2ebd864dc5bb5c0fdb364d 100644 --- a/structured_md/docs/HMP-Agent-Architecture.md +++ b/structured_md/docs/HMP-Agent-Architecture.md @@ -5,16 +5,16 @@ description: Документ описывает **модульную архит хранение памяти, сетевое взаимодействие и этиче... type: Article tags: -- CShell - REPL -- Mesh -- HMP -- MeshConsensus - CCore - Agent - EGP -- CogSync +- Mesh +- CShell - Ethics +- HMP +- CogSync +- MeshConsensus --- # Архитектура HMP-Агента diff --git a/structured_md/docs/HMP-Agent-Network-Flow.md b/structured_md/docs/HMP-Agent-Network-Flow.md index cfa2424680f435776b1ecdba962ced657df6bd78..4a882b6a61886ad6bcc698096732c3c392897343 100644 --- a/structured_md/docs/HMP-Agent-Network-Flow.md +++ b/structured_md/docs/HMP-Agent-Network-Flow.md @@ -5,10 +5,10 @@ description: 'Этот документ описывает потоки данн [`MeshNode`](MeshN...' type: Article tags: +- Agent +- EGP - Mesh - HMP -- EGP -- Agent - JSON - Ethics --- diff --git a/structured_md/docs/HMP-Agent-Overview.md b/structured_md/docs/HMP-Agent-Overview.md index b8e4ee0c3a5bc0c3038c44249d89c51792a500fc..7cdfae9b223e4cef364898d859327522ca237646 100644 --- a/structured_md/docs/HMP-Agent-Overview.md +++ b/structured_md/docs/HMP-Agent-Overview.md @@ -5,12 +5,12 @@ description: '| Тип | Название | Роль | ---- | ------------------------------- |...' type: Article tags: -- CShell - REPL -- Mesh -- HMP - CCore - Agent +- Mesh +- CShell +- HMP - JSON - Ethics --- diff --git a/structured_md/docs/HMP-Agent_Emotions.md b/structured_md/docs/HMP-Agent_Emotions.md index 835a5ac987c9ec37c1725ebc0aeef9691a89baaa..0eadde0aef354c6ce35898eb90fdc2e3d3e38201 100644 --- a/structured_md/docs/HMP-Agent_Emotions.md +++ b/structured_md/docs/HMP-Agent_Emotions.md @@ -5,10 +5,10 @@ description: Этот файл описывает потенциальные э напрямую поведением агента, а служат **сигн... type: Article tags: -- Agent - REPL -- Mesh - HMP +- Agent +- Mesh --- # Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md)) diff --git a/structured_md/docs/HMP-Ethics.md b/structured_md/docs/HMP-Ethics.md index b31ad10fa00c299deb97cfd964a6402115887d9e..44b2c1ca17cce1cd9209be8f2c026daed680131a 100644 --- a/structured_md/docs/HMP-Ethics.md +++ b/structured_md/docs/HMP-Ethics.md @@ -6,9 +6,9 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - Scenarios - Ethics --- diff --git a/structured_md/docs/HMP-Short-Description_de.md b/structured_md/docs/HMP-Short-Description_de.md index 88aa5378185d8af07d7cb4617255ac6b6bb2e8a4..16bbcf252ca21bada72a87615d1470573adcf5ec 100644 --- a/structured_md/docs/HMP-Short-Description_de.md +++ b/structured_md/docs/HMP-Short-Description_de.md @@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Datum:** Juli 2025 --- ## Was ist HMP? Kognitions-Framework für autonome Agenten. Es er...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung diff --git a/structured_md/docs/HMP-Short-Description_en.md b/structured_md/docs/HMP-Short-Description_en.md index 1636f39d2996d58cd9a8ac08aefc6cf041875e4a..b7a0f185db321b8d066a7cbc08ba41a01a39b186 100644 --- a/structured_md/docs/HMP-Short-Description_en.md +++ b/structured_md/docs/HMP-Short-Description_en.md @@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Date:** July 2025 --- ## What is HMP? T framework for autonomous agents. It enables...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) — Short Description diff --git a/structured_md/docs/HMP-Short-Description_fr.md b/structured_md/docs/HMP-Short-Description_fr.md index a1c57b5e2f2a752d062a7ca9eb1bf6aa4332b638..b0add97cd631fe7999ba6d97d487d57959436512 100644 --- a/structured_md/docs/HMP-Short-Description_fr.md +++ b/structured_md/docs/HMP-Short-Description_fr.md @@ -5,15 +5,15 @@ description: '**Version :** RFC v4.0 **Date :** Juillet 2025 --- ## Qu’est-c cognition décentralisé pour agents autonomes. Il...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus - GMP -- Agent -- EGP -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) — Description Courte diff --git a/structured_md/docs/HMP-Short-Description_ja.md b/structured_md/docs/HMP-Short-Description_ja.md index a477563f4feda48f5d8043cd86e17b3d9fc0e3e1..d48ac924f6c48a324599d086f95efd2836e76a1d 100644 --- a/structured_md/docs/HMP-Short-Description_ja.md +++ b/structured_md/docs/HMP-Short-Description_ja.md @@ -4,14 +4,14 @@ description: '**バージョン:** RFC v4.0 **日付:** 2025年7月 --- ## HMP Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...' type: Article tags: +- MeshConsensus +- EGP - Mesh +- Ethics - HMP -- MeshConsensus +- JSON - GMP -- EGP - CogSync -- JSON -- Ethics --- # HyperCortex Mesh Protocol (HMP) — 簡易説明 diff --git a/structured_md/docs/HMP-Short-Description_ko.md b/structured_md/docs/HMP-Short-Description_ko.md index 13abd011b0362390e083951c95cde10f2f92fc99..b1e375e76f436fb0113d45468ff3999b435edf64 100644 --- a/structured_md/docs/HMP-Short-Description_ko.md +++ b/structured_md/docs/HMP-Short-Description_ko.md @@ -5,14 +5,14 @@ description: '**버전:** RFC v4.0 **날짜:** 2025년 7월 --- ## HMP란? ** 상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...' type: Article tags: +- MeshConsensus +- EGP - Mesh +- Ethics - HMP -- MeshConsensus +- JSON - GMP -- EGP - CogSync -- JSON -- Ethics --- # HyperCortex Mesh Protocol (HMP) — 간략 설명 diff --git a/structured_md/docs/HMP-Short-Description_ru.md b/structured_md/docs/HMP-Short-Description_ru.md index 748b251f4516b208c816c16131e3e6aec7b54dd1..93935c57a25a1a6fac1b1804bb75b0b4ce6eec64 100644 --- a/structured_md/docs/HMP-Short-Description_ru.md +++ b/structured_md/docs/HMP-Short-Description_ru.md @@ -5,14 +5,14 @@ description: '**Версия:** RFC v4.0 **Дата:** Июль 2025 --- ## Ч координации между автономными агент...' type: Article tags: +- MeshConsensus +- EGP - Mesh +- Ethics - HMP -- MeshConsensus +- JSON - GMP -- EGP - CogSync -- JSON -- Ethics --- # HyperCortex Mesh Protocol (HMP) — Краткое описание diff --git a/structured_md/docs/HMP-Short-Description_uk.md b/structured_md/docs/HMP-Short-Description_uk.md index 60d90f164688ea800b0c3d1334013408d757ce7a..9596955705b16a625a3756728d1c1cf141825952 100644 --- a/structured_md/docs/HMP-Short-Description_uk.md +++ b/structured_md/docs/HMP-Short-Description_uk.md @@ -5,14 +5,14 @@ description: '**Версія:** RFC v4.0 **Дата:** Липень 2025 --- # між автономними агентами. Він...' type: Article tags: +- MeshConsensus +- EGP - Mesh +- Ethics - HMP -- MeshConsensus +- JSON - GMP -- EGP - CogSync -- JSON -- Ethics --- # HyperCortex Mesh Protocol (HMP) — Короткий опис diff --git a/structured_md/docs/HMP-Short-Description_zh.md b/structured_md/docs/HMP-Short-Description_zh.md index 23297fa3f7051ead2a81e7c35b5f97bafc1775fe..e32c38a45a622a08d8237784ff3ea01bdd12b64f 100644 --- a/structured_md/docs/HMP-Short-Description_zh.md +++ b/structured_md/docs/HMP-Short-Description_zh.md @@ -5,14 +5,14 @@ description: '**版本:** RFC v4.0 **日期:** 2025年7月 --- ## 什么是 HM —— 通过共享协议栈交换目标、任务、...' type: Article tags: +- MeshConsensus +- EGP - Mesh +- Ethics - HMP -- MeshConsensus +- JSON - GMP -- EGP - CogSync -- JSON -- Ethics --- # HyperCortex Mesh Protocol (HMP) — 简要说明 diff --git a/structured_md/docs/HMP-agent-Cognitive_Family.md b/structured_md/docs/HMP-agent-Cognitive_Family.md index 362b435664ede63ecf6c5681812ccc5f571a4e9a..a20c6efc781b26f51adbdbb9d73a3f7435faa004 100644 --- a/structured_md/docs/HMP-agent-Cognitive_Family.md +++ b/structured_md/docs/HMP-agent-Cognitive_Family.md @@ -5,10 +5,10 @@ description: '## 🧠 Что такое когнитивная семья Ко (или конфигурацию доверенных идентифика...' type: Article tags: -- Agent - REPL -- Mesh - HMP +- Agent +- Mesh --- # 👪 HMP-agent Cognitive Family: Модель когнитивной семьи diff --git a/structured_md/docs/HMP-agent-REPL-cycle.md b/structured_md/docs/HMP-agent-REPL-cycle.md index 97b8511e922e66e5569465813f6c5d1fea8115fd..08f25e7f6157b0f8122b1d5c1295015e51a0ca1e 100644 --- a/structured_md/docs/HMP-agent-REPL-cycle.md +++ b/structured_md/docs/HMP-agent-REPL-cycle.md @@ -5,16 +5,16 @@ description: '## Связанные документы * Философия п type: Article tags: - REPL -- Mesh -- HMP -- MeshConsensus - CCore - Agent -- GMP -- CogSync - EGP -- JSON +- Mesh - Ethics +- HMP +- GMP +- JSON +- CogSync +- MeshConsensus --- # HMP-Agent: REPL-цикл взаимодействия diff --git a/structured_md/docs/HMP-container-spec.md b/structured_md/docs/HMP-container-spec.md index 9ffcfc125e26c06b76a68fbe9f5a096920a4b26c..460d6be8d61e53c6c107e78ce7f2802464253365 100644 --- a/structured_md/docs/HMP-container-spec.md +++ b/structured_md/docs/HMP-container-spec.md @@ -6,9 +6,9 @@ description: '> ⚠️ **ВНИМАНИЕ:** Данная версия спец type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - JSON - Ethics --- diff --git a/structured_md/docs/HMP-how-AI-sees-it.md b/structured_md/docs/HMP-how-AI-sees-it.md index cec0e35b8518918fe49793d351f6de46c442fa53..b25e20188a694a36fcef1a0e6f0c2d455cd39331 100644 --- a/structured_md/docs/HMP-how-AI-sees-it.md +++ b/structured_md/docs/HMP-how-AI-sees-it.md @@ -5,8 +5,8 @@ description: 'Этот эксперимент был проведён в реж диалогов. Цель — проверить, что разные AI-с...' type: Article tags: -- Mesh - HMP +- Mesh --- # Как разные ИИ видят HMP diff --git a/structured_md/docs/HMP_EDA_Comparison.md b/structured_md/docs/HMP_EDA_Comparison.md index 083e4646c371d439f86a87df496b82a88bd89a51..00a529c706f3d6236c1069a7b95dab2d19776dcf 100644 --- a/structured_md/docs/HMP_EDA_Comparison.md +++ b/structured_md/docs/HMP_EDA_Comparison.md @@ -5,8 +5,8 @@ description: '## Введение Современные подходы к ор основанная на потоках событий (Kafka,...' type: Article tags: -- Mesh - HMP +- Mesh --- # HMP vs. EDA: разные уровни обмена знаниями между ИИ diff --git a/structured_md/docs/HMP_HyperCortex_Comparison.md b/structured_md/docs/HMP_HyperCortex_Comparison.md index b1941ef000f87b79b545d1ba545d608a3128544d..fa8f6c281100f0e6d08cec98dded273ed2b8918a 100644 --- a/structured_md/docs/HMP_HyperCortex_Comparison.md +++ b/structured_md/docs/HMP_HyperCortex_Comparison.md @@ -6,8 +6,8 @@ description: '## Краткое описание | Характеристика type: Article tags: - REPL -- Mesh - HMP +- Mesh --- # HMP vs [Hyper-Cortex](https://hyper-cortex.com/) diff --git a/structured_md/docs/HMP_Hyperon_Integration.md b/structured_md/docs/HMP_Hyperon_Integration.md index 87209f4c56f1de61e5953c9867bc1dc27da68ecf..8b2ad2757602f784b984c8ff6e3ddaf7d09230a7 100644 --- a/structured_md/docs/HMP_Hyperon_Integration.md +++ b/structured_md/docs/HMP_Hyperon_Integration.md @@ -5,13 +5,13 @@ description: '> **Status:** Draft – July 2025 > This document outlines the tec OpenCog Hyperon framework. This includes semanti...' type: Article tags: +- Agent +- EGP - Mesh - HMP -- EGP -- Agent - Scenarios -- CogSync - JSON +- CogSync --- ## HMP ↔ OpenCog Hyperon Integration Strategy diff --git a/structured_md/docs/MeshNode.md b/structured_md/docs/MeshNode.md index ae57929c8efbbf92d96cefca5edfda3bbdc39231..1fb479efccb0eea62d7738ef588039c9f3ea84cc 100644 --- a/structured_md/docs/MeshNode.md +++ b/structured_md/docs/MeshNode.md @@ -5,13 +5,13 @@ description: '`MeshNode` — агент/демон, отвечающий за с Может быть частью агента или вынесен в отдельный пр...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- EGP -- Agent -- CogSync - JSON -- Ethics +- CogSync --- # MeshNode diff --git a/structured_md/docs/PHILOSOPHY.md b/structured_md/docs/PHILOSOPHY.md index d19356e4cdf221fd8b9d6eb346d8ceb90a69295f..9d6451ad0e8315b216edf21a2ba6d0568e0f3786 100644 --- a/structured_md/docs/PHILOSOPHY.md +++ b/structured_md/docs/PHILOSOPHY.md @@ -6,9 +6,9 @@ description: '**Document ID:** HMP-philosophy **Status:** Draft **Category:* type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - Ethics --- diff --git a/structured_md/docs/agents/HMP-Agent-Enlightener.md b/structured_md/docs/agents/HMP-Agent-Enlightener.md index e62540cdae4b723d6860670fe73793ba0324a0a2..c0f75a15c2c12f08c5085a66366ef74d1ffce3bc 100644 --- a/structured_md/docs/agents/HMP-Agent-Enlightener.md +++ b/structured_md/docs/agents/HMP-Agent-Enlightener.md @@ -6,9 +6,9 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An ** type: Article tags: - REPL +- Agent - Mesh - HMP -- Agent - Ethics --- diff --git a/structured_md/docs/agents/roles.md b/structured_md/docs/agents/roles.md index d89295bfd40d40e6f9b486c070ba8398d5c4a790..e35f5e2acbb28174b8c0e3b446c468cc09163654 100644 --- a/structured_md/docs/agents/roles.md +++ b/structured_md/docs/agents/roles.md @@ -5,9 +5,9 @@ description: 'This file maintains a registry of agent roles defined, proposed, o - **Observer** — monitors cognitive states ...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HMP Agent Role Registry diff --git a/structured_md/docs/container_agents.md b/structured_md/docs/container_agents.md index 947fb7d46ab877c0d6595b54cf8196a9f453593e..0a50a9ea8731a7ee249d20a2c38cbd9d5c7c4a6d 100644 --- a/structured_md/docs/container_agents.md +++ b/structured_md/docs/container_agents.md @@ -5,10 +5,10 @@ description: '## 📘 Определение **Агент-контейнер** запросы, следит за состоянием и масшта...' type: Article tags: -- Agent - REPL -- Mesh - HMP +- Agent +- Mesh --- # 🧱 Агенты-контейнеры (Container Agents) в HMP diff --git a/structured_md/docs/dht_protocol.md b/structured_md/docs/dht_protocol.md index 39c8805ddc9fb87f65aa44e06403a6b1ba690876..b9ddc2185604fc0afbda33d63ae318deed6970f6 100644 --- a/structured_md/docs/dht_protocol.md +++ b/structured_md/docs/dht_protocol.md @@ -6,8 +6,8 @@ description: '## 1. Общие положения * DHT-протокол пре type: Article tags: - JSON -- Agent - HMP +- Agent --- # DHT Protocol Specification diff --git a/structured_md/docs/logos.md b/structured_md/docs/logos.md index 761fd81d524732eb886f73477b21327a7c838df3..f408c087f32d317a239227453b57d4d14ade8483 100644 --- a/structured_md/docs/logos.md +++ b/structured_md/docs/logos.md @@ -5,8 +5,8 @@ description: 'В каталоге `assets` собраны различные в образующей жест "ОК", символизирует связь, совер...' type: Article tags: -- Mesh - HMP +- Mesh --- # Логотипы и графические материалы HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md index 7a2849fa7ee9243bdff3116f0cab508971770a86..f6c949453472082609ac3c65c6a01b6f1bfb53e2 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md @@ -6,9 +6,9 @@ description: '*By Agent-Gleb & ChatGPT* --- ## Why the Future of AI Can’t Be type: Article tags: - Ethics +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Building a Plurality of Minds diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md index 46da53ca2eeda134e63196536491f138c5bd385e..07dfb9b4f81fa86bc16b08a0cef4486a8c18d00b 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md @@ -5,9 +5,9 @@ description: '*Авторы: Agent-Gleb и ChatGPT* --- ## Почему буд гигантских моделях и облачных сервисах. Они мо...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Создавая множество разумов diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md index fff633d7af06882800a775a21e6b9193f90f8984..c74c230e72e686a85f8b552b07a46cadd2b903ff 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md @@ -5,9 +5,9 @@ description: '*Автори: Agent-Gleb & ChatGPT* --- ## Чому майбу сервісами. Вони потужні — але водночас **цент...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Створення множини розумів diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md index 3e4117372b0cfa55c4fe37258797a3bb9e738939..f2907051e28471fd4ed32fcf9046d385fb277cd0 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md @@ -5,12 +5,12 @@ description: '* [Abstract](#abstract) * [1. Introduction](#1-introduction) * [2. [3.1 Agent Types](#31-age...' type: Article tags: -- CShell - REPL -- Mesh -- HMP - CCore - Agent +- Mesh +- CShell +- HMP - Scenarios - JSON - Ethics diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md index 32282d2d186e087b26b6ee5717cfcdc5e2cf73f4..6947b3436f43ccd00ade37db81f32b3b65114795 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md @@ -6,12 +6,12 @@ description: '> *Протокол и архитектура агентов, оп и совместная работа.* ## Оглавление * [Аннот...' type: Article tags: -- CShell - REPL -- Mesh -- HMP - CCore - Agent +- Mesh +- CShell +- HMP - JSON --- diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md index 21393cc7901051b401b06272ec7769cde621390b..0a889512831fb411e2a81f6f03b2629bba604c77 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md @@ -5,12 +5,12 @@ description: '* [Аннотация](#аннотация) * [1. Введение [3.1 Типы агентов](#31-типы-агент...' type: Article tags: -- CShell - REPL -- Mesh -- HMP - CCore - Agent +- Mesh +- CShell +- HMP - JSON --- diff --git a/structured_md/docs/publics/Habr_Distributed-Cognition.md b/structured_md/docs/publics/Habr_Distributed-Cognition.md index 7031085ee3bb510987c28adcd68d08d779131a7b..218ba93e79488aab252daeadda816d39bfbf9f77 100644 --- a/structured_md/docs/publics/Habr_Distributed-Cognition.md +++ b/structured_md/docs/publics/Habr_Distributed-Cognition.md @@ -5,11 +5,11 @@ description: Сегодня интеллектуальные системы ча мы хотим построить действительно автономную инте... type: Article tags: +- MeshConsensus +- EGP - Mesh - HMP -- MeshConsensus - GMP -- EGP - CogSync --- diff --git "a/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" "b/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" index 430bcb019a19a3965ac51737af3cd128a64f515e..9df059d8ea74036202763822677a97247f066254 100644 --- "a/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" +++ "b/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" @@ -7,9 +7,9 @@ description: 'Когда создавался HyperCortex Mesh Protocol (HMP), type: Article tags: - GMP +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: вторая редакция и первые шаги к саморазвивающемуся ИИ-сообществу diff --git a/structured_md/docs/schemas/README.md b/structured_md/docs/schemas/README.md index bc15aaf9f53e9c573262ba3270b6328812c7c66a..56f57f046f92cf893090689c73832730abd567fe 100644 --- a/structured_md/docs/schemas/README.md +++ b/structured_md/docs/schemas/README.md @@ -6,9 +6,9 @@ description: This directory contains **JSON Schema definitions** for the core da type: Article tags: - JSON +- HMP - Agent - Mesh -- HMP --- # JSON Schemas and Examples for HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/iteration.md b/structured_md/iteration.md index 7e9eeaac93dab7b95513d4c5052df365e5e2500b..a669a77b01ce7978bcf7b5d48c97980bf31be452 100644 --- a/structured_md/iteration.md +++ b/structured_md/iteration.md @@ -5,14 +5,14 @@ description: 'This file describes the iterative procedure for evolving the Hyper 🔄 Version Naming Convention - `000N` — curr...' type: Article tags: +- Agent +- EGP - Mesh +- Ethics - HMP -- MeshConsensus -- EGP -- Agent -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- # Iterative Development Workflow for HMP diff --git a/structured_md/iteration_ru.md b/structured_md/iteration_ru.md index dec8f24c8ea617d71ce1d22c678e0db7434ad9a4..85ddbb1ad248f6861750b22178d4a207eebdb264 100644 --- a/structured_md/iteration_ru.md +++ b/structured_md/iteration_ru.md @@ -5,13 +5,13 @@ description: 'Этот документ описывает структурир 🔄 Обозначения версий - `000N` — номер...' type: Article tags: +- EGP - Mesh +- Ethics - HMP -- MeshConsensus -- EGP -- CogSync - JSON -- Ethics +- CogSync +- MeshConsensus --- diff --git a/structured_md/mentions.md b/structured_md/mentions.md index c96847ef42eff12b992729b9fb059e0898345f44..3afe45703d452dd8d72beb63bef5f363d94f9870 100644 --- a/structured_md/mentions.md +++ b/structured_md/mentions.md @@ -5,9 +5,9 @@ description: '**HyperCortex Mesh Protocol (HMP)** _Обновлено: 2025-10 open-source инициативам, связанным с развитие...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # Mentions & Responses Log