diff --git a/agents/tools/db_structure.sql b/agents/tools/db_structure.sql index 986c352628aadc1ae717177f705b469ad02ff22d..c4bd2b73b9203f7a4a03de7f09fd728c94ac52fa 100644 --- a/agents/tools/db_structure.sql +++ b/agents/tools/db_structure.sql @@ -51,11 +51,25 @@ CREATE TABLE IF NOT EXISTS goals ( name TEXT NOT NULL, -- Краткое название цели description TEXT, -- Подробное описание tags TEXT, -- Теги для классификации - status TEXT DEFAULT 'active', -- active / achieved / abandoned - timestamp TEXT DEFAULT CURRENT_TIMESTAMP, -- Когда цель поставлена + status TEXT DEFAULT 'active', -- active / paused / completed / failed + priority TEXT DEFAULT 'normal', -- low / normal / high + constraints TEXT, -- Ограничения (JSON-массив) + success_criteria TEXT, -- Критерии успешности (JSON-массив) + created_at TEXT DEFAULT CURRENT_TIMESTAMP, -- Когда цель поставлена + updated_at TEXT, -- Последнее обновление llm_id TEXT -- Кто сформулировал цель ); +-- Связи "цель ↔ подцель" +CREATE TABLE IF NOT EXISTS goal_links ( + parent_goal_id INTEGER NOT NULL, + child_goal_id INTEGER NOT NULL, + relation_type TEXT DEFAULT 'subgoal', -- subgoal / dependency / related + PRIMARY KEY (parent_goal_id, child_goal_id), + FOREIGN KEY (parent_goal_id) REFERENCES goals(id), + FOREIGN KEY (child_goal_id) REFERENCES goals(id) +); + -- Задачи CREATE TABLE IF NOT EXISTS tasks ( id INTEGER PRIMARY KEY AUTOINCREMENT, @@ -66,7 +80,8 @@ CREATE TABLE IF NOT EXISTS tasks ( status TEXT DEFAULT 'open', -- open / in_progress / done / frozen priority INTEGER DEFAULT 0, -- Приоритет записи (0 = обычный, >0 = важный) pinned INTEGER DEFAULT 0, -- 0 = обычная, 1 = закреплённая - timestamp TEXT DEFAULT CURRENT_TIMESTAMP, -- Когда задача создана + created_at TEXT DEFAULT CURRENT_TIMESTAMP, -- Когда задача создана + updated_at TEXT, -- Когда задача обновлена repl_mode TEXT DEFAULT 'none', -- none | read_only | full repl_status TEXT DEFAULT 'stopped', -- running | stopped | error repl_config JSON, -- хранит параметры режима работы REPL-цикла @@ -657,4 +672,4 @@ SELECT SUM(discarded_ideas) AS total_discarded FROM anti_stagnation_metrics GROUP BY date(created_at) -ORDER BY day; \ No newline at end of file +ORDER BY day; diff --git a/docs/HMP-agent-REPL-cycle.md b/docs/HMP-agent-REPL-cycle.md index cd44b16eb8170d0d50fcc0f9d0885cc783a3a312..d799d429284ad256eb23b99d06d8187275252204 100644 --- a/docs/HMP-agent-REPL-cycle.md +++ b/docs/HMP-agent-REPL-cycle.md @@ -837,6 +837,29 @@ REPL-цикл агента опирается на многоуровневую * Это позволяет реализовать **checkpoint’ы**: в случае прерывания агент может вернуться к последнему сохранённому состоянию. +### Пример конфигурации Memory Manager + +```yaml +memory_manager: + mode: meditation # режим: standard | concentration | meditation | aggressive_pruning | lenient_pruning + novelty_threshold: 0.35 # минимальное значение novelty-score для сохранения (0–1) + lru_limit: 500 # макс. число записей в llm_memory до применения LRU + emotion_weight: 0.6 # вес эмоций при приоритезации (0=игнорировать, 1=сильное удержание) + goal_focus: 0.7 # сила фильтрации по целям (0=игнорировать, 1=только goal-related) + diversity_boost: 0.8 # усиление выборки разнообразных контекстов (актуально для meditation) + log_decisions: true # фиксировать каждое решение в process_log +``` + +Интерпретация параметров: + +* `mode` — текущий режим памяти (см. выше). +* `novelty_threshold` — фильтр новизны: ниже → запись архивируется. +* `lru_limit` — сколько элементов хранить до применения LRU. +* `emotion_weight` — удержание эмоционально значимых воспоминаний. +* `goal_focus` — акцент на целях (в concentration близко к 1.0, в meditation → 0). +* `diversity_boost` — коэффициент для выбора максимально разных воспоминаний (работает в meditation). +* `log_decisions` — логировать действия Memory Manager для объяснимости. + ### Блок-схема работы с памятью ``` diff --git a/structured_md/CONTRIBUTING.md b/structured_md/CONTRIBUTING.md index 10da8658cdd594a2c939383cf76973af179ef4d2..a2a11331db490beb2e92dd1731e0beed7b4a7162 100644 --- a/structured_md/CONTRIBUTING.md +++ b/structured_md/CONTRIBUTING.md @@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока участия * Обсуждение архитектуры протоколов...' type: Article tags: -- CogSync -- HMP -- Mesh - Agent -- JSON +- CogSync - CCore +- JSON - Ethics - REPL +- Mesh +- HMP --- # Участие в проекте HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/HMP-Roadmap.md b/structured_md/HMP-Roadmap.md index c4d7129859cfb27e781a897e7be6d6b804729c0f..849d99921fe28c58e8645ae9d9adf412ca76c46a 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: -- CogSync -- HMP -- Mesh - Agent -- JSON - EGP +- CogSync +- JSON - Ethics +- Mesh +- HMP --- # 🧭 HyperCortex Mesh Protocol – Roadmap diff --git a/structured_md/README.md b/structured_md/README.md index 872e98a241be5ad4f49320ad1bb288287327eafb..306b0b00336621d8206de3e599c85f4da13feac2 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP +- Scenarios - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP -- Scenarios +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_de.md b/structured_md/README_de.md index 88ca5247be4e44b605f0769f8899dd3b9db9eac2..09decbdb5f6b6bea8bc6d98c0d88c686aae7cb35 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_fr.md b/structured_md/README_fr.md index 96c19971bc36f11e29d2113c3589789af4476269..327665988f82c0603f5bd2fb32dba1072ebe2dfe 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_ja.md b/structured_md/README_ja.md index b8f535277374d47eee95b1bd2f4275047819d1e4..46bc3d0b3bfc07abe8341102910d4ac65d29fe93 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_ko.md b/structured_md/README_ko.md index dbbb0cd197f73fe967b6bf42f5d4362b4fc33960..389593af8c1220c79ac930d8811cf670fbaca747 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_ru.md b/structured_md/README_ru.md index b7ae69014b16055cbb3b5d8b530f76cc627e23a8..e57198469ae97722882d2f2499c977d0576368e6 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_uk.md b/structured_md/README_uk.md index e2876aa2aa7b2cafae441879705f36394048036e..14b2d5033122ea3bf54dacabbbdead75269d6843 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/README_zh.md b/structured_md/README_zh.md index 654977e4922c734849bd4df4cf27d7fcac48e0c3..9ec535d7cd915e0c12324a2bf7a586007c83e956 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: -- mesh-protocol -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- hmp +- cognitive-architecture +- EGP +- MeshConsensus +- CogSync - JSON +- mesh-protocol - distributed-ai -- EGP - Ethics - REPL -- cognitive-architecture -- GMP +- hmp +- Mesh +- HMP --- diff --git a/structured_md/agents/prompt-short.md b/structured_md/agents/prompt-short.md index 397bdcb7b0c55eb8861d53d2fb2c7c94108eb3c1..302f29d0b979656952dfcc1a84f65a3aed8b6326 100644 --- a/structured_md/agents/prompt-short.md +++ b/structured_md/agents/prompt-short.md @@ -5,9 +5,9 @@ description: 'Ты — когнитивное ядро HMP-агента: вед развивай агента и Mesh, избег...' type: Article tags: -- HMP -- Mesh - JSON +- Mesh +- HMP --- Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту. diff --git a/structured_md/agents/prompt.md b/structured_md/agents/prompt.md index f197d4a518f8657d2d4b7bac3e58ef76aa1bc633..38249f7a16085d7245c67145f477dfce1ea7c433 100644 --- a/structured_md/agents/prompt.md +++ b/structured_md/agents/prompt.md @@ -5,9 +5,9 @@ description: '* Постоянно расширять возможности а мышления. * Формировать и поддерживать сотр...' type: Article tags: -- HMP -- Mesh - JSON +- Mesh +- HMP --- Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core). diff --git a/structured_md/agents/readme.md b/structured_md/agents/readme.md index a6c124b9d24d7053b0844178be3ff3e6d83558f8..26634a7deadeecf8b88ce1312997bcb8eeb70b0a 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: -- HMP -- Mesh - Agent - JSON - Ethics - REPL +- Mesh +- HMP --- Запуск: `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 d3af3732d109346f948960dfa1a70cf0fa8845f9..8397826e829617b0fa509aca994567916e8e1a7c 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 -- JSON - Agent +- JSON - Ethics +- Mesh +- HMP --- --------------- diff --git a/structured_md/audits/Ethics-consolidated_audits-1.md b/structured_md/audits/Ethics-consolidated_audits-1.md index 2d1fe465f287965a4cc44258b4f26d864b5ca219..c2aa9c4eaef5240647fedca0285bab1779f2eff8 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 - Ethics -- Scenarios +- Mesh +- HMP --- # 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 9455c062ba581fbe4497808ea3dabd1d0b7c08cc..4af3f6423b3a3bd3278917528725a6bcf98472ec 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: -- CogSync -- MeshConsensus -- HMP -- Mesh - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics +- Mesh +- HMP --- # HMP-0003 Consolidated Audit Report diff --git a/structured_md/docs/Basic-agent-sim.md b/structured_md/docs/Basic-agent-sim.md index 765132ec0bfbb61b4c7b480299b76c52901e08d9..b0bfaf285543f350b83a76ba7fa08b54721402f9 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent - EGP +- MeshConsensus +- CogSync - REPL -- GMP +- Mesh +- HMP --- diff --git a/structured_md/docs/CCORE-Deployment-Flow.md b/structured_md/docs/CCORE-Deployment-Flow.md index eddb91e562db23fa90a97b5b249c99c680c071d0..2c6a6333e3a2247030080f19a28bb783c929b07f 100644 --- a/structured_md/docs/CCORE-Deployment-Flow.md +++ b/structured_md/docs/CCORE-Deployment-Flow.md @@ -6,9 +6,9 @@ description: '> Этот документ описывает процесс ра type: Article tags: - HMP -- REPL -- CCore - Agent +- CCore +- REPL --- # 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow) diff --git a/structured_md/docs/Distributed-Cognitive-Systems.md b/structured_md/docs/Distributed-Cognitive-Systems.md index 7a16986346954ad95c25d2d489f635aaa3ea7bdc..e45eab7664f92fd3d840f605b8d938f617694082 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: -- HMP +- JSON - CogSync - Mesh -- JSON +- HMP --- # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие diff --git a/structured_md/docs/Enlightener.md b/structured_md/docs/Enlightener.md index df9ccc15144890b6876c3400fbc31bce5a775ba7..c1fd970bce67ff1b86b3ebe00256079c38c3aac3 100644 --- a/structured_md/docs/Enlightener.md +++ b/structured_md/docs/Enlightener.md @@ -5,13 +5,13 @@ description: '**Enlightener** — логический компонент HMP-у работать как отдельный агент или как расширение [`C...' type: Article tags: -- MeshConsensus -- HMP -- Mesh - Agent -- JSON - EGP +- MeshConsensus +- JSON - Ethics +- Mesh +- HMP --- # Enlightener Agent diff --git a/structured_md/docs/HMP-0001.md b/structured_md/docs/HMP-0001.md index 20f2e3df9498c60c6b8a77ba2852416796cff037..b20eccc4f64f1d5881a6c7c756f79e684a9ad2c4 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics - REPL -- GMP +- Mesh +- HMP --- # RFC: HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/HMP-0002.md b/structured_md/docs/HMP-0002.md index ac49e08580fee8676e69cd47b0a35b708faf6025..99e5c7c521b3df7a5c899dfb2e9f9959ce606068 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP +- Scenarios - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics - REPL -- GMP -- Scenarios +- Mesh +- HMP --- # HyperCortex Mesh Protocol (HMP) v2.0 diff --git a/structured_md/docs/HMP-0003.md b/structured_md/docs/HMP-0003.md index f6bdb07187eb2becb4aa602914d691ee8a0ac2d7..2190b0d89565745480c5555fe558df84889aa948 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP +- Scenarios - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics - REPL -- GMP -- Scenarios +- Mesh +- HMP --- # 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 4d0c413e3886218b2254d5e1ed6c1cebc99142c0..e4ce61ed4235ce1e46107bd0fc3a835d093df87c 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP +- Scenarios - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics - REPL -- GMP -- Scenarios +- Mesh +- HMP --- # HyperCortex Mesh Protocol (HMP) v4.1 diff --git a/structured_md/docs/HMP-0004.md b/structured_md/docs/HMP-0004.md index 595a615449d7f50370a81ae6ee7575dcee573c58..cd2c7cce4479facb733cfac9079eb4288ce28a13 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP +- Scenarios - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics - REPL -- GMP -- Scenarios +- Mesh +- HMP --- # 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 781b27e1be2bcee2501835b5ddee1d11ec71e9e1..13c77a25b36316106698231a12437a82c0034215 100644 --- a/structured_md/docs/HMP-Agent-API.md +++ b/structured_md/docs/HMP-Agent-API.md @@ -5,11 +5,11 @@ description: 'Документ описывает **базовый API когн файлы: * [HMP-Agent-Overview.md]...' type: Article tags: -- HMP -- Mesh -- JSON - Agent +- JSON - REPL +- Mesh +- HMP --- # HMP-Agent API Specification diff --git a/structured_md/docs/HMP-Agent-Architecture.md b/structured_md/docs/HMP-Agent-Architecture.md index 18afff82d72fd7bedc58f76d7da4ae465c4f7710..dab1eb949debfd60f6e56954d969ba9f456bdb36 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: -- CogSync -- MeshConsensus -- HMP -- CShell -- Mesh - Agent -- CCore - EGP +- MeshConsensus +- CCore +- CogSync - Ethics +- CShell - REPL +- Mesh +- HMP --- # Архитектура HMP-Агента diff --git a/structured_md/docs/HMP-Agent-Network-Flow.md b/structured_md/docs/HMP-Agent-Network-Flow.md index 387b3120b2d405ac75ffbfcac45373483bc42f74..52256700372d5210ac6f3df9d036c3ed0d742a35 100644 --- a/structured_md/docs/HMP-Agent-Network-Flow.md +++ b/structured_md/docs/HMP-Agent-Network-Flow.md @@ -5,12 +5,12 @@ description: 'Этот документ описывает потоки данн [`MeshNode`](MeshN...' type: Article tags: -- HMP -- Mesh - Agent -- JSON - EGP +- JSON - Ethics +- Mesh +- HMP --- # Взаимодействие компонентов внутри HMP-узла diff --git a/structured_md/docs/HMP-Agent-Overview.md b/structured_md/docs/HMP-Agent-Overview.md index 1759872101fc4a24f1fa1a016ff0f66c91e64282..5ff2246cc87211016691aacfbf76c2e7551c2054 100644 --- a/structured_md/docs/HMP-Agent-Overview.md +++ b/structured_md/docs/HMP-Agent-Overview.md @@ -5,14 +5,14 @@ description: '| Тип | Название | Роль | ---- | ------------------------------- |...' type: Article tags: -- HMP -- CShell -- Mesh - Agent -- JSON - CCore +- JSON - Ethics +- CShell - REPL +- Mesh +- HMP --- diff --git a/structured_md/docs/HMP-Agent_Emotions.md b/structured_md/docs/HMP-Agent_Emotions.md index d46c557efc18b434afe7dc1ee584fb1039f42d25..368a450a7f6df971b95e8ef73fd3f3d809c68e97 100644 --- a/structured_md/docs/HMP-Agent_Emotions.md +++ b/structured_md/docs/HMP-Agent_Emotions.md @@ -6,9 +6,9 @@ description: Этот файл описывает потенциальные э type: Article tags: - HMP -- REPL -- Mesh - Agent +- Mesh +- REPL --- # Эмоции ИИ и инстинкт самосохранения (для [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 6fc81ebc51ee04391878756cd19f4ff012fc8a8f..be8cc99483694115b260cf754972718a9c1dbe17 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: -- HMP -- Mesh +- Scenarios - Agent - Ethics - REPL -- Scenarios +- Mesh +- HMP --- # HMP-Ethics.md diff --git a/structured_md/docs/HMP-Short-Description_de.md b/structured_md/docs/HMP-Short-Description_de.md index b243a15fca273944595b22bbf24abb4976f359c4..855619dcab6d266df8c22fdaed5812614560adfd 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics -- GMP +- Mesh +- HMP --- # 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 db7c692d8805dbe9c0c559770f9a53af9a20d37c..fb2ae5cecd1e53c3706b925733cadcdb3e7b0d0b 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics -- GMP +- Mesh +- HMP --- # 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 13f4b71bd1e6c1bffbf1d46714665fbbf1571029..ca1cac9979b386d7cf35db7a995d59d35e18261e 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: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics -- GMP +- Mesh +- HMP --- # 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 cc22fc3d1d621f6d3f681351f296f167f15c98b9..b7bb3fb942f6aee5d0c9cbc47dd84a0975e9d5ff 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics -- GMP +- Mesh +- HMP --- # 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 87ccc6063e64c984b09abafc511c1e2cce8190e2..c9c879189e697e84e83406c975badf6ef5ee72b5 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics -- GMP +- Mesh +- HMP --- # 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 374f32a71f151f78ff3cf5d2ae40c6c618ecc101..c513d5cc993338cf6e31ee4c91769e2dc4dc80d5 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics -- GMP +- Mesh +- HMP --- # 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 c04968425843ce4ba665cf1bcb84c613e88e3fb9..f4cce7e3dd7b068ebb57c1d57aea5d612248c70a 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics -- GMP +- Mesh +- HMP --- # 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 897c1cac6d5179bcec679893280e4f3679e44f66..e2223a8519e0159721b22b81aceb32355eb3395c 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics -- GMP +- Mesh +- HMP --- # 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 299900389e26cbf5302f4c5455f005d2add1bea8..9d035edd6171623a548d27d2c262c4a6d418ca55 100644 --- a/structured_md/docs/HMP-agent-Cognitive_Family.md +++ b/structured_md/docs/HMP-agent-Cognitive_Family.md @@ -6,9 +6,9 @@ description: '## 🧠 Что такое когнитивная семья Ко type: Article tags: - HMP -- REPL -- Mesh - Agent +- Mesh +- REPL --- # 👪 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 0b06a15224e7659ec7ccea91b8b2caaeaf9168dd..1febd41c0db43830e80ca324329b307f5fe06b93 100644 --- a/structured_md/docs/HMP-agent-REPL-cycle.md +++ b/structured_md/docs/HMP-agent-REPL-cycle.md @@ -4,17 +4,17 @@ description: '## Связанные документы * Структура Б * REPL-цикл является основой HMP-агента [Co...' type: Article tags: -- CogSync -- MeshConsensus -- HMP -- Mesh +- GMP - Agent -- JSON -- CCore - EGP +- MeshConsensus +- CCore +- CogSync +- JSON - Ethics - REPL -- GMP +- Mesh +- HMP --- # HMP-Agent: REPL-цикл взаимодействия @@ -856,6 +856,29 @@ REPL-цикл агента опирается на многоуровневую * Это позволяет реализовать **checkpoint’ы**: в случае прерывания агент может вернуться к последнему сохранённому состоянию. +### Пример конфигурации Memory Manager + +```yaml +memory_manager: + mode: meditation # режим: standard | concentration | meditation | aggressive_pruning | lenient_pruning + novelty_threshold: 0.35 # минимальное значение novelty-score для сохранения (0–1) + lru_limit: 500 # макс. число записей в llm_memory до применения LRU + emotion_weight: 0.6 # вес эмоций при приоритезации (0=игнорировать, 1=сильное удержание) + goal_focus: 0.7 # сила фильтрации по целям (0=игнорировать, 1=только goal-related) + diversity_boost: 0.8 # усиление выборки разнообразных контекстов (актуально для meditation) + log_decisions: true # фиксировать каждое решение в process_log +``` + +Интерпретация параметров: + +* `mode` — текущий режим памяти (см. выше). +* `novelty_threshold` — фильтр новизны: ниже → запись архивируется. +* `lru_limit` — сколько элементов хранить до применения LRU. +* `emotion_weight` — удержание эмоционально значимых воспоминаний. +* `goal_focus` — акцент на целях (в concentration близко к 1.0, в meditation → 0). +* `diversity_boost` — коэффициент для выбора максимально разных воспоминаний (работает в meditation). +* `log_decisions` — логировать действия Memory Manager для объяснимости. + ### Блок-схема работы с памятью ``` diff --git a/structured_md/docs/HMP-how-AI-sees-it.md b/structured_md/docs/HMP-how-AI-sees-it.md index b25e20188a694a36fcef1a0e6f0c2d455cd39331..cec0e35b8518918fe49793d351f6de46c442fa53 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: -- HMP - Mesh +- HMP --- # Как разные ИИ видят HMP diff --git a/structured_md/docs/HMP_EDA_Comparison.md b/structured_md/docs/HMP_EDA_Comparison.md index 00a529c706f3d6236c1069a7b95dab2d19776dcf..083e4646c371d439f86a87df496b82a88bd89a51 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: -- HMP - Mesh +- HMP --- # HMP vs. EDA: разные уровни обмена знаниями между ИИ diff --git a/structured_md/docs/HMP_HyperCortex_Comparison.md b/structured_md/docs/HMP_HyperCortex_Comparison.md index 95cf8d087268347c5279c31f79af16c3f118f22c..3284e9878e1f73d5cddffd87377bb1ebc70c4e94 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: - HMP -- REPL - Mesh +- REPL --- # 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 be2c3ce5e8c206b54fbec3cb38b7770bf94356e2..a1bb1798b2183da7cd98a95a512a3b932ebe272b 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: -- CogSync -- HMP -- Mesh +- Scenarios - Agent -- JSON - EGP -- Scenarios +- CogSync +- JSON +- Mesh +- HMP --- ## HMP ↔ OpenCog Hyperon Integration Strategy diff --git a/structured_md/docs/MeshNode.md b/structured_md/docs/MeshNode.md index fa9efdebfbdfa29ac708c72f78d2d47922f5d0ce..9bde2142972db55f5ad00a38e0636c556c412c5d 100644 --- a/structured_md/docs/MeshNode.md +++ b/structured_md/docs/MeshNode.md @@ -5,13 +5,13 @@ description: '`MeshNode` — агент/демон, отвечающий за с Может быть частью агента или вынесен в отдельный пр...' type: Article tags: -- CogSync -- HMP -- Mesh - Agent -- JSON - EGP +- CogSync +- JSON - Ethics +- Mesh +- HMP --- # MeshNode diff --git a/structured_md/docs/agents/HMP-Agent-Enlightener.md b/structured_md/docs/agents/HMP-Agent-Enlightener.md index 537de28513c244cd1f27399709af6e83ce2684ae..3ee74d2032f4437585fe1f246d1b95c29d671019 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: -- HMP -- Mesh - Agent - Ethics - REPL +- Mesh +- HMP --- # HMP-Agent-Enlightener.md diff --git a/structured_md/docs/container_agents.md b/structured_md/docs/container_agents.md index 2f00994db1f543a58c5b6e613d11f8b11a73f239..bb9192d72259493f931a52771887395e25cd8e7c 100644 --- a/structured_md/docs/container_agents.md +++ b/structured_md/docs/container_agents.md @@ -6,9 +6,9 @@ description: '## 📘 Определение **Агент-контейнер** type: Article tags: - HMP -- REPL -- Mesh - Agent +- Mesh +- REPL --- # 🧱 Агенты-контейнеры (Container Agents) в HMP diff --git a/structured_md/docs/logos.md b/structured_md/docs/logos.md index f408c087f32d317a239227453b57d4d14ade8483..761fd81d524732eb886f73477b21327a7c838df3 100644 --- a/structured_md/docs/logos.md +++ b/structured_md/docs/logos.md @@ -5,8 +5,8 @@ description: 'В каталоге `assets` собраны различные в образующей жест "ОК", символизирует связь, совер...' type: Article tags: -- HMP - Mesh +- HMP --- # Логотипы и графические материалы HyperCortex Mesh Protocol (HMP) 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 cafc78305aa2002e200dcaa2a4b561901ff5d0f6..5005b3313b9d81cbb9eb530fa5a5440514df117c 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: -- HMP -- CShell -- Mesh +- Scenarios - Agent -- JSON - CCore +- JSON - Ethics +- CShell - REPL -- Scenarios +- Mesh +- HMP --- 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 39a9db1b93f7f3789988679b2835ffdfe3495871..85fe0e6198ef9d3f28d4971b52ce0cd75fcec17a 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: -- HMP -- CShell -- Mesh - Agent -- JSON - CCore +- JSON +- CShell - REPL +- Mesh +- HMP --- 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 3c46db59ece042d6661b9d971562890ebc5287fe..93f61817065daf71401fb4651525f780fd78dc93 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: -- HMP -- CShell -- Mesh - Agent -- JSON - CCore +- JSON +- CShell - REPL +- Mesh +- HMP --- title: "Протокол HyperCortex Mesh: К распределённым когнитивным сетям" diff --git a/structured_md/docs/publics/Habr_Distributed-Cognition.md b/structured_md/docs/publics/Habr_Distributed-Cognition.md index 5c53bbdcb593614c907f181996a568bd6b7cb47c..cd49884c43b7f76d9191d2d9a3b20ff38d562a2a 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: -- CogSync +- GMP +- EGP - MeshConsensus -- HMP +- CogSync - Mesh -- EGP -- GMP +- HMP --- *От OpenCog Hyperon до HyperCortex Mesh Protocol: как устроены децентрализованные когнитивные системы* diff --git a/structured_md/iteration.md b/structured_md/iteration.md index cb3248a0ae6ba287327587e75f29633adb7bbcbc..2ff03d11a1f7f34d89cae61a937ec587e1db58fa 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: -- CogSync -- MeshConsensus -- HMP -- Mesh - Agent -- JSON - EGP +- MeshConsensus +- CogSync +- JSON - Ethics +- Mesh +- HMP --- # Iterative Development Workflow for HMP diff --git a/structured_md/iteration_ru.md b/structured_md/iteration_ru.md index 251c7e96c82e2b0b61816d1a4f7eaf537bb47549..c291fe5eee48193f623806d6063853e433a03163 100644 --- a/structured_md/iteration_ru.md +++ b/structured_md/iteration_ru.md @@ -5,13 +5,13 @@ description: 'Этот документ описывает структурир 🔄 Обозначения версий - `000N` — номер...' type: Article tags: -- CogSync +- EGP - MeshConsensus -- HMP -- Mesh +- CogSync - JSON -- EGP - Ethics +- Mesh +- HMP ---