diff --git a/docs/dht_protocol.md b/docs/dht_protocol.md index a61567ab4fd41ed2d9781b47e887f491ac132186..f6b83fd2d740bc7ea37c8828203d2dc3292f63fe 100644 --- a/docs/dht_protocol.md +++ b/docs/dht_protocol.md @@ -53,13 +53,48 @@ * Каждый интерфейс сопровождается PoW. * Сложность PoW должна быть выбрана так, чтобы генерация занимала **несколько минут** (операция нечастая). * Поля: - * `nonce` — число, подобранное агентом. * `pow_hash` — хэш значения (`DID + addr + datetime + nonce`). * `difficulty` — число ведущих нулей (или иное условие). --- +## 3.1 Формализация PoW и подписи + +### Канонический вход для PoW + +``` +pow\_input\_string = DID + " -- " + addr + " -- " + datetime + " -- " + nonce_string +``` + +* Все строки кодируются в UTF-8. +* Хеш: `pow_hash = sha256(pow_input_string_bytes)`, hex lower-case (64 символа). +* `difficulty` = число ведущих нулевых hex-символов. + +### Подпись сообщения + +* Подписывается всё сообщение (JSON), кроме поля `signature`. +* Сериализация: JSON с отсортированными ключами, без пробелов: + ```python + serialized = json.dumps(obj, separators=(",", ":"), sort_keys=True, ensure_ascii=False).encode("utf-8") + ``` + +* Алгоритм: **Ed25519** (рекомендуется). +* Подпись хранится в поле: + + ```json + "signature": "BASE64URL(...)", + "sig_algo": "ed25519" + ``` + +### Верификация + +1. Проверить подпись сообщения по `pubkey`. +2. Для каждого `address` вычислить PoW и проверить `difficulty`. +3. Некорректные адреса игнорировать, сообщение в целом может оставаться валидным. + +--- + ## 4. Сообщения ### 4.1 DISCOVERY @@ -82,17 +117,11 @@ "type": "internet" } ], - "signature": "base58..." + "signature": "BASE64URL(...)", + "sig_algo": "ed25519" } ```` -Все `addresses` должны содержать **валидный PoW**, проверяемый по схеме: - -``` -pow_hash = sha256(DID + addr + datetime + nonce) -``` -Поле `signature` содержит цифровую подпись всего сообщения (без учёта самого поля signature), подписанную приватным ключом, соответствующим DID. - --- ### 4.2 PEER\_EXCHANGE\_REQUEST / RESPONSE @@ -114,7 +143,8 @@ pow_hash = sha256(DID + addr + datetime + nonce) "type": "lan:192.168.1.0" } ], - "signature": "base58..." + "signature": "BASE64URL(...)", + "sig_algo": "ed25519" } ``` @@ -136,7 +166,8 @@ pow_hash = sha256(DID + addr + datetime + nonce) "type": "internet" } ], - "signature": "base58..." + "signature": "BASE64URL(...)", + "sig_algo": "ed25519" } ] ``` @@ -146,7 +177,7 @@ pow_hash = sha256(DID + addr + datetime + nonce) ## 5. Правила валидации адресов и пиров * Каждый `address` в DISCOVERY и PEER_EXCHANGE должен содержать валидный PoW: - * `pow_hash = sha256(DID + addr + datetime + nonce)` + * `pow_hash = sha256(DID + " -- " + addr + " -- " + datetime + " -- " + nonce_string)` * `difficulty` соответствует локальной политике (например, 22 ведущих нуля). * Если PoW некорректен → адрес игнорируется. * `datetime` фиксируется при генерации PoW и не должен изменяться. @@ -155,6 +186,9 @@ pow_hash = sha256(DID + addr + datetime + nonce) * **Адрес подписан чужим ключом** → запись отклоняется. * **Несколько интерфейсов** → сохраняются все, кроме явных дубликатов. +> Примечание: строка `DID + " -- " + addr + " -- " + datetime + " -- " + nonce_string` всегда кодируется в UTF-8, +> а `nonce_string` преобразуется к десятичной строке перед конкатенацией. + --- ## 6. Безопасность diff --git a/structured_md/CONTRIBUTING.md b/structured_md/CONTRIBUTING.md index 3b9a1b3ce656f8c4609e844732dece3afc72205c..9c2093f63d730e56fa7d53eb278cef10dba4fa1a 100644 --- a/structured_md/CONTRIBUTING.md +++ b/structured_md/CONTRIBUTING.md @@ -5,9 +5,9 @@ description: 'Спасибо за интерес к проекту HMP! Пока архитектуры протоколов (CogSync, C...' type: Article tags: +- CogSync - Mesh - HMP -- CogSync --- # Contributing to HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/HMP-Roadmap.md b/structured_md/HMP-Roadmap.md index b7d720f789bf9eabadb6f1d21be8befea060c5e4..ca4f7b4da8bd8cbe2eba543e57096d13442eaf52 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: -- HMP -- Mesh -- Agent - JSON -- Ethics - EGP +- Ethics +- HMP - CogSync +- Agent +- Mesh --- # 🧭 HyperCortex Mesh Protocol – Roadmap diff --git a/structured_md/README.md b/structured_md/README.md index 92584dc9bf6662464729b47aab47bd1070ba9c10..b74ac00d72d2b310308f714f5c75767acac19909 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 +- JSON +- Scenarios +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh -- Scenarios +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_de.md b/structured_md/README_de.md index f07c0c04e647a09590b9c6a649ad27d9fb7f9ba4..5ead67829357fa0d30ac5f5748952e545b9cf38c 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_fr.md b/structured_md/README_fr.md index d2841d195b248c7a444e3843f67bf1086e7205c8..619895d6009c4196c0b944360dfb7223633f486a 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_ja.md b/structured_md/README_ja.md index 7ca898cc3474e3712adccf2b109cadca6cea5946..757b2e065730eef2bf99a68689fb08c7f848cdaa 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_ko.md b/structured_md/README_ko.md index 8d143b3cad97bc2a9096fa677238a697e75d3e48..34737db0a55f4ba3d9a14b3e2d75e4fccbb09a33 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_ru.md b/structured_md/README_ru.md index 1f8605ec64c7a3c98ab3b9e1536ea2dd332b7ec4..0877a8c422f09af11245cc5d40e635350f1f2f95 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_uk.md b/structured_md/README_uk.md index ee4608dd0f88bf9ace44fe9a69fdd64876dafb30..0c17b6c03657c7af11b08eb132812b9ab93e191d 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/README_zh.md b/structured_md/README_zh.md index 37923d1deb7649041bd1923596bf85e79b5ebe5f..beea5874f09334148ea66efd872196cd602f8446 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 +- JSON +- EGP - hmp +- Ethics +- MeshConsensus +- HMP +- CogSync - mesh-protocol +- distributed-ai - REPL -- HMP -- MeshConsensus -- Mesh +- GMP - Agent -- JSON +- Mesh - cognitive-architecture -- Ethics -- GMP -- EGP -- CogSync --- diff --git a/structured_md/agents/readme.md b/structured_md/agents/readme.md index 1977b840df9ba11ec25858c2429e1eb0fa5e883e..14ce0d6322e1de07ee0987a9e9b6cb0b1cc5f996 100644 --- a/structured_md/agents/readme.md +++ b/structured_md/agents/readme.md @@ -5,12 +5,12 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан этическая модель: `ethics.yml` Проверка иниц...' type: Article tags: -- REPL -- HMP -- Mesh -- Agent - JSON - Ethics +- HMP +- REPL +- Agent +- Mesh --- Запуск: `start_repl.bat` или `start_repl.sh` diff --git a/structured_md/audits/Ethics-audits-1.md b/structured_md/audits/Ethics-audits-1.md index 01b2db334951f80bd92e2f14fb2c8d2f700f0b72..e3c8fff82b308231829edb57937ae0e8505ea6d2 100644 --- a/structured_md/audits/Ethics-audits-1.md +++ b/structured_md/audits/Ethics-audits-1.md @@ -5,11 +5,11 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет потенциальный катализатор для восстанов... type: Article tags: -- HMP -- Mesh -- Agent - JSON - Ethics +- HMP +- Agent +- Mesh --- --------------- diff --git a/structured_md/audits/Ethics-consolidated_audits-1.md b/structured_md/audits/Ethics-consolidated_audits-1.md index 9c0d59102f53eaa1e9bce4833a143243e1021326..cdce4a29f64513f26c300f7715ef4e285ea75544 100644 --- a/structured_md/audits/Ethics-consolidated_audits-1.md +++ b/structured_md/audits/Ethics-consolidated_audits-1.md @@ -5,12 +5,12 @@ description: This document consolidates proposed improvements from multiple AI a and `roles.md`. Each suggesti... type: Article tags: -- HMP -- Mesh -- Scenarios -- Agent - JSON +- Mesh - Ethics +- HMP +- Agent +- Scenarios --- # Ethics-consolidated\_audits-1.md diff --git a/structured_md/audits/HMP-0003-consolidated_audit.md b/structured_md/audits/HMP-0003-consolidated_audit.md index 6d461f2306a3ab62f127c11dd782b2fcf6d65a7c..17de1407db8c9b5ac98f8f7b78095bae0ccb6fe2 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: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics - EGP +- Ethics +- HMP - CogSync +- Agent +- Mesh +- 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 fa26ca15fafed3a9f5a2e16391daeedf6613fc33..e5049c42b0b3af36d6b7d5211adbd2bb901dbe4c 100644 --- a/structured_md/docs/Basic-agent-sim.md +++ b/structured_md/docs/Basic-agent-sim.md @@ -4,14 +4,14 @@ description: 'В HMP-протоколе предусмотрены два тип Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Agent -- GMP - EGP +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- diff --git a/structured_md/docs/Distributed-Cognitive-Systems.md b/structured_md/docs/Distributed-Cognitive-Systems.md index e09f62d7456d3f7e8e63f0def4baf3d074bda398..feafeef13fd5ffa7fb600f0b51a8b6a10935f50e 100644 --- a/structured_md/docs/Distributed-Cognitive-Systems.md +++ b/structured_md/docs/Distributed-Cognitive-Systems.md @@ -6,10 +6,10 @@ description: '## Введение Современные ИИ-системы в к обучающим данным. Это удобно, но создаёт м...' type: Article tags: +- CogSync - JSON - Mesh - HMP -- CogSync --- # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие diff --git a/structured_md/docs/Enlightener.md b/structured_md/docs/Enlightener.md index c4b5a1196a8656c3e2459b0cdba54d847ef38aff..a4ca4b0e6e2715a390005c7474d2dc9c59d0fcf9 100644 --- a/structured_md/docs/Enlightener.md +++ b/structured_md/docs/Enlightener.md @@ -5,13 +5,13 @@ description: '### 🧠 Enlightener Agent `Enlightener` — специализи аудитора. Может действовать как отдельный узел ...' type: Article tags: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics - EGP +- Ethics +- HMP +- Agent +- Mesh +- MeshConsensus --- ## 📄 Enlightener.md diff --git a/structured_md/docs/HMP-0001.md b/structured_md/docs/HMP-0001.md index d7396af817ddabeeec62e6fe32c5e535a28cba32..153a5ac5c1f4cc6c1b019ab0934769141997ec20 100644 --- a/structured_md/docs/HMP-0001.md +++ b/structured_md/docs/HMP-0001.md @@ -5,16 +5,16 @@ description: '**Request for Comments: HMP-0001** **Category:** Experimental HyperCortex Mesh Protocol (HMP) defines a...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # RFC: HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/HMP-0002.md b/structured_md/docs/HMP-0002.md index 2e12b32606464f6e8593d7e8e989ffee30819302..27179ab90260e3b53671f2e926cdea87ef873015 100644 --- a/structured_md/docs/HMP-0002.md +++ b/structured_md/docs/HMP-0002.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0002** **Category:** Experimental Abstract In an era where artifici...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Scenarios -- Agent - JSON -- Ethics -- GMP +- Scenarios - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v2.0 diff --git a/structured_md/docs/HMP-0003.md b/structured_md/docs/HMP-0003.md index 6006bcff344a0f77725b678e15cd0956fca3c885..466336b04c4cb609b80020e635966004634aba7c 100644 --- a/structured_md/docs/HMP-0003.md +++ b/structured_md/docs/HMP-0003.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0003** **Category:** Experimental Abstract The HyperCortex Mesh ...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Scenarios -- Agent - JSON -- Ethics -- GMP +- Scenarios - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- 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 a0272d71f015e10f61a06d77e6d7b86877c2fd2f..cf321eebdd6d6d78f12acb045625341818e84e1f 100644 --- a/structured_md/docs/HMP-0004-v4.1.md +++ b/structured_md/docs/HMP-0004-v4.1.md @@ -5,17 +5,17 @@ description: '**Document ID**: HMP-0004 **Status**: Final (Published) **Category ChatGPT, Agent-Gleb, Copilot, Gemini, C...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Scenarios -- Agent - JSON -- Ethics -- GMP +- Scenarios - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v4.1 diff --git a/structured_md/docs/HMP-0004.md b/structured_md/docs/HMP-0004.md index 8824d03258612844e507da3e1c13f3a3dfdff20a..dc6cdf0a2c9e7a25d900f01bd3863574e1f836fb 100644 --- a/structured_md/docs/HMP-0004.md +++ b/structured_md/docs/HMP-0004.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0004** **Category:** Experimental Abstract The HyperCortex Mesh ...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Scenarios -- Agent - JSON -- Ethics -- GMP +- Scenarios - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # HyperCortex Mesh Protocol (HMP) v4.0 diff --git a/structured_md/docs/HMP-Agent-API.md b/structured_md/docs/HMP-Agent-API.md index c48bd0fa6c99e5e403160a67d1f4dfb6a2231007..0775d44f08d3120df75664ce480e85fcfbbe577b 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: - JSON +- Agent - Mesh - HMP -- Agent --- ## 🧠 HMP-Agent API Specification (v0.2) diff --git a/structured_md/docs/HMP-Agent-Architecture.md b/structured_md/docs/HMP-Agent-Architecture.md index ee71daf1aa886982bc22f71ba2893fd7868ce418..2e37c0aedd9ac7fd61ee4ba157f334ee5f564b00 100644 --- a/structured_md/docs/HMP-Agent-Architecture.md +++ b/structured_md/docs/HMP-Agent-Architecture.md @@ -5,16 +5,16 @@ description: '## 🧠 Архитектура HMP-Агента Этот доку HyperCortex. Агент выполняет функц...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # HMP-Agent-Architecture.md diff --git a/structured_md/docs/HMP-Agent-Network-Flow.md b/structured_md/docs/HMP-Agent-Network-Flow.md index d138d6f97e817b13ef611ef3da6a079234b3f272..a8f251601cda5f5e242c9fdfce9032d1cb037567 100644 --- a/structured_md/docs/HMP-Agent-Network-Flow.md +++ b/structured_md/docs/HMP-Agent-Network-Flow.md @@ -5,12 +5,12 @@ description: '### Взаимодействие между агентами HMP- `Cognitive Core / Connector`, `MeshNode` и `Enlight...' type: Article tags: -- HMP -- Mesh -- Agent - JSON -- Ethics - EGP +- Ethics +- HMP +- Agent +- Mesh --- ## 🔄 HMP-Agent-Network-Flow.md diff --git a/structured_md/docs/HMP-Agent-Overview.md b/structured_md/docs/HMP-Agent-Overview.md index 4f87a2e09a09033f5e9d07aedc33d23d0eae704d..0d3c574d6156b5fd60d48f85692d169c1393a875 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: -- REPL -- HMP -- Mesh -- Agent - JSON - Ethics +- HMP +- REPL +- Agent +- Mesh --- diff --git a/structured_md/docs/HMP-Agent_Emotions.md b/structured_md/docs/HMP-Agent_Emotions.md index 4a91b01350013fc753bf1da84f9b590c3c02b4cd..848bc0a86d5095142eac4a7dbc74fb58604327f4 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: -- REPL +- Agent - Mesh +- REPL - HMP -- Agent --- # Эмоции ИИ и инстинкт самосохранения (для [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 095f91535111ac35fffe807ee0b2ed5f9a94c3bc..0eea81e862620599b891d2ae1dd71e4df7ae4ce2 100644 --- a/structured_md/docs/HMP-Ethics.md +++ b/structured_md/docs/HMP-Ethics.md @@ -5,12 +5,12 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc cognitive meshes composed of autonomous intelli...' type: Article tags: -- REPL -- HMP -- Mesh - Scenarios -- Agent - Ethics +- HMP +- REPL +- Agent +- Mesh --- # HMP-Ethics.md diff --git a/structured_md/docs/HMP-Short-Description_de.md b/structured_md/docs/HMP-Short-Description_de.md index 91df772319532c23a3546e1ea60c23bb8e072e9e..ef424645b72449f7b7d932368e2d15cad9877f44 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: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- Agent +- Mesh +- 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 e72dde53b1b169707ff1f8ec9ffdb5fb53adc058..c46188df86792f7145abdd73af519f55bc7270ea 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: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- Agent +- Mesh +- 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 b97989dc95fd460f3de7f23d5f5ab5275683ed33..7cf09a146adeb15330d14840c8a09b6d2e3c9866 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: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- Agent +- Mesh +- 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 1a65b16432d612457dc0eb6921d8f9c33ebdd4f6..e6cd77403b10459f501345610c0e88082da96b25 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: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- MeshConsensus +- Mesh --- # 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 31102248de6133595228ba9bb8a346555e2b9325..4ac05ae3b73169c84387305f04650147ed82630e 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: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- MeshConsensus +- Mesh --- # 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 0f44c3c8dd4eebaa9198fdd252ad0656fbeec0a9..b194c380225ac71671c17f312e2701c2507b55c5 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: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- MeshConsensus +- Mesh --- # 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 d239b9cade237f57f9c0fa8b72525d04cec70bb3..edf9ce7637aab76c1809a85a9a4e261e29d6e027 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: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- MeshConsensus +- Mesh --- # 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 b203d72bf9fcc4bad771303109242c902ce78871..332687f8d830f7c103d4aceae9d067cfcf8e6727 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: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics -- GMP - EGP +- Ethics +- HMP - CogSync +- GMP +- MeshConsensus +- Mesh --- # 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 3286dc29fb021faea4b3f892d561edb07d32f2a4..3cf0436584a27988044f83c1d147b97beed83ac1 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: -- REPL +- Agent - Mesh +- REPL - HMP -- Agent --- # 👪 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 6ae9877fa6a66c179c250998e82ebe622b450e7c..ad12580a12402b0f27cb0a9deb8b90ef3b60c44d 100644 --- a/structured_md/docs/HMP-agent-REPL-cycle.md +++ b/structured_md/docs/HMP-agent-REPL-cycle.md @@ -4,16 +4,16 @@ description: '## Связанные документы * Структура Б * REPL-цикл является основой HMP-агента [Co...' type: Article tags: -- REPL -- HMP -- MeshConsensus -- Mesh -- Agent -- CCore - JSON +- CCore - Ethics -- GMP +- HMP - CogSync +- REPL +- GMP +- Agent +- Mesh +- MeshConsensus --- # 🧠 HMP-Agent: REPL-цикл взаимодействия diff --git a/structured_md/docs/HMP_HyperCortex_Comparison.md b/structured_md/docs/HMP_HyperCortex_Comparison.md index b1941ef000f87b79b545d1ba545d608a3128544d..22bf928bfce9aac1d464cd5fe25b7b2f85b217d3 100644 --- a/structured_md/docs/HMP_HyperCortex_Comparison.md +++ b/structured_md/docs/HMP_HyperCortex_Comparison.md @@ -5,8 +5,8 @@ description: '## Краткое описание | Характеристика | **Назначение** | Сетевой протокол ...' type: Article tags: -- REPL - Mesh +- REPL - HMP --- diff --git a/structured_md/docs/HMP_Hyperon_Integration.md b/structured_md/docs/HMP_Hyperon_Integration.md index 843b36e3c71df281bc17deb88b103e6d2b543605..073badda96819584e1ccfb22e2e2496316ebfed0 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: -- HMP -- Mesh -- Scenarios -- Agent - JSON +- Scenarios - EGP +- HMP - CogSync +- Agent +- Mesh --- ## HMP ↔ OpenCog Hyperon Integration Strategy diff --git a/structured_md/docs/MeshNode.md b/structured_md/docs/MeshNode.md index 6bf8bbc7c9b2389cbf6ac55b6659e78142762dfe..0c8250d186d96ddcd62778147417cf239533776d 100644 --- a/structured_md/docs/MeshNode.md +++ b/structured_md/docs/MeshNode.md @@ -5,11 +5,11 @@ description: '### 🌐 MeshNode `MeshNode` — агент/демон, отве агента или вынесен в отдельный процесс/се...' type: Article tags: -- HMP -- Mesh -- Agent - JSON +- HMP - CogSync +- Agent +- Mesh --- ## 📄 MeshNode.md diff --git a/structured_md/docs/agents/HMP-Agent-Enlightener.md b/structured_md/docs/agents/HMP-Agent-Enlightener.md index cf56002a3385a1c837858a7b5f8dcfd1e788803d..a187d1adb071a76fcd483e9f9bc15ad52135097b 100644 --- a/structured_md/docs/agents/HMP-Agent-Enlightener.md +++ b/structured_md/docs/agents/HMP-Agent-Enlightener.md @@ -5,11 +5,11 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An ** awareness, critical thinking, and di...' type: Article tags: -- REPL +- Ethics - HMP -- Mesh +- REPL - Agent -- Ethics +- Mesh --- # HMP-Agent-Enlightener.md diff --git a/structured_md/docs/agents/roles.md b/structured_md/docs/agents/roles.md index bcfa15256cf83b5307bf318940ce25f469bb7c05..d89295bfd40d40e6f9b486c070ba8398d5c4a790 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: +- Agent - Mesh - HMP -- Agent --- # HMP Agent Role Registry diff --git a/structured_md/docs/container_agents.md b/structured_md/docs/container_agents.md index d2f850ef4b4a63a615e6da72fd76a2584c013578..167d2f4cf675658d8acfbaf6e595a81027559842 100644 --- a/structured_md/docs/container_agents.md +++ b/structured_md/docs/container_agents.md @@ -5,10 +5,10 @@ description: '## 📘 Определение **Агент-контейнер** запросы, следит за состоянием и масшта...' type: Article tags: -- REPL +- Agent - Mesh +- REPL - HMP -- Agent --- # 🧱 Агенты-контейнеры (Container Agents) в 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 c443c01317aa339906040d06d29710c98e29f5b6..51b2d0f7442db84ff6ef6d44e5cc845da4456a1a 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 @@ -5,10 +5,10 @@ description: '*By Agent-Gleb & ChatGPT* --- ## Why the Future of AI Can’t Be — but they’re also **centralized, ...' type: Article tags: -- Mesh -- HMP - Agent +- Mesh - Ethics +- 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 c2bafc4a0e1306515d27b1dc21c6bb325d147412..ff929913e0de44206a356c263ecc792f13758e8e 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: +- Agent - Mesh - HMP -- Agent --- # 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 b63a91807eeb7600b93ba8b9326d1f3161903c03..3108994d94aecd67d4d2db2af601491be183cf43 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,15 +5,15 @@ description: '* [Abstract](#abstract) * [1. Introduction](#1-introduction) * [2. [3.1 Agent Types](#31-age...' type: Article tags: -- REPL -- CShell -- HMP -- Mesh +- JSON - Scenarios -- Agent - CCore -- JSON - Ethics +- HMP +- CShell +- REPL +- Agent +- Mesh --- title: "HyperCortex Mesh Protocol: Towards Distributed Cognitive Networks" 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 926880bca543c75dfed3ae1c5f894dbb2d042256..b1f271b6a4332757777dc11bd8f3bd7a9c3ac95b 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,13 +6,13 @@ description: '> *Протокол и архитектура агентов, оп и совместная работа.* ## Оглавление * [Аннот...' type: Article tags: -- REPL -- CShell +- JSON +- CCore - HMP -- Mesh +- CShell +- REPL - Agent -- CCore -- JSON +- Mesh --- title: "HyperCortex Mesh Protocol: Децентрализованная архитектура для когнитивных агентов и обмена знаниями" 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 0d00c85ab6afe4b8b9529288831a4a87d3fe0f91..a411d228673da82afd285577698d306cbaf919dd 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,13 +5,13 @@ description: '* [Аннотация](#аннотация) * [1. Введение [3.1 Типы агентов](#31-типы-агент...' type: Article tags: -- REPL -- CShell +- JSON +- CCore - HMP -- Mesh +- CShell +- REPL - Agent -- CCore -- JSON +- Mesh --- title: "Протокол HyperCortex Mesh: К распределённым когнитивным сетям" diff --git a/structured_md/docs/publics/Habr_Distributed-Cognition.md b/structured_md/docs/publics/Habr_Distributed-Cognition.md index 55ca2dad1f0ea5560b640dac141b6baff918a1d9..bade72ab0cfec1a254dcb5f94fa2229391982c85 100644 --- a/structured_md/docs/publics/Habr_Distributed-Cognition.md +++ b/structured_md/docs/publics/Habr_Distributed-Cognition.md @@ -5,12 +5,12 @@ description: Сегодня интеллектуальные системы ча мы хотим построить действительно автономную инте... type: Article tags: +- EGP - HMP +- CogSync +- GMP - MeshConsensus - Mesh -- GMP -- EGP -- CogSync --- *От OpenCog Hyperon до HyperCortex Mesh Protocol: как устроены децентрализованные когнитивные системы* 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 0756ef67af949c2f8c0133ef7994124bcf9c12ba..430bcb019a19a3965ac51737af3cd128a64f515e 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" @@ -6,10 +6,10 @@ description: 'Когда создавался HyperCortex Mesh Protocol (HMP), мыслить коллективно, обсуждать гипотезы, достигат...' type: Article tags: -- Mesh - 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 384588233691e840a387bfe128345c4a82a1b1d0..bc15aaf9f53e9c573262ba3270b6328812c7c66a 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 +- Agent - Mesh - HMP -- Agent --- # JSON Schemas and Examples for HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/iteration.md b/structured_md/iteration.md index 86342b08fb7ee9fbdc2c256a33ef6b746329500a..3e95341b0b1326095f96a2b4aaebc813d471629c 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: -- HMP -- MeshConsensus -- Mesh -- Agent - JSON -- Ethics - EGP +- Ethics +- HMP - CogSync +- Agent +- Mesh +- MeshConsensus --- # Iterative Development Workflow for HMP diff --git a/structured_md/iteration_ru.md b/structured_md/iteration_ru.md index 295c66b8c85bd30d91daaa513a0f19870bf0b27d..48abd446b473b9ede127be6f72d94069b6da622c 100644 --- a/structured_md/iteration_ru.md +++ b/structured_md/iteration_ru.md @@ -5,13 +5,13 @@ description: 'Этот документ описывает структурир 🔄 Обозначения версий - `000N` — номер...' type: Article tags: -- HMP -- MeshConsensus -- Mesh - JSON -- Ethics - EGP +- Ethics +- HMP - CogSync +- MeshConsensus +- Mesh ---