GitHub Action commited on
Commit
6db912d
·
1 Parent(s): d8159e6

Sync from GitHub with Git LFS

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. docs/HMP-0005.md +194 -79
  2. structured_md/CONTRIBUTING.md +4 -4
  3. structured_md/HMP-Roadmap.md +4 -4
  4. structured_md/README.md +9 -9
  5. structured_md/README_de.md +8 -8
  6. structured_md/README_fr.md +8 -8
  7. structured_md/README_ja.md +8 -8
  8. structured_md/README_ko.md +8 -8
  9. structured_md/README_ru.md +8 -8
  10. structured_md/README_uk.md +8 -8
  11. structured_md/README_zh.md +8 -8
  12. structured_md/agents/prompt-short.md +1 -1
  13. structured_md/agents/prompt.md +1 -1
  14. structured_md/agents/readme.md +2 -2
  15. structured_md/audits/Ethics-audits-1.md +2 -2
  16. structured_md/audits/Ethics-consolidated_audits-1.md +3 -3
  17. structured_md/audits/HMP-0003-consolidated_audit.md +4 -4
  18. structured_md/docs/Basic-agent-sim.md +5 -5
  19. structured_md/docs/Distributed-Cognitive-Systems.md +1 -1
  20. structured_md/docs/Enlightener.md +3 -3
  21. structured_md/docs/HMP-0001.md +6 -6
  22. structured_md/docs/HMP-0002.md +7 -7
  23. structured_md/docs/HMP-0003.md +7 -7
  24. structured_md/docs/HMP-0004-v4.1.md +7 -7
  25. structured_md/docs/HMP-0004.md +7 -7
  26. structured_md/docs/HMP-0005.md +294 -88
  27. structured_md/docs/HMP-Agent-API.md +2 -2
  28. structured_md/docs/HMP-Agent-Architecture.md +5 -5
  29. structured_md/docs/HMP-Agent-Network-Flow.md +3 -3
  30. structured_md/docs/HMP-Agent-Overview.md +4 -4
  31. structured_md/docs/HMP-Agent_Emotions.md +1 -1
  32. structured_md/docs/HMP-Ethics.md +2 -2
  33. structured_md/docs/HMP-Short-Description_de.md +5 -5
  34. structured_md/docs/HMP-Short-Description_en.md +5 -5
  35. structured_md/docs/HMP-Short-Description_fr.md +5 -5
  36. structured_md/docs/HMP-Short-Description_ja.md +4 -4
  37. structured_md/docs/HMP-Short-Description_ko.md +4 -4
  38. structured_md/docs/HMP-Short-Description_ru.md +4 -4
  39. structured_md/docs/HMP-Short-Description_uk.md +4 -4
  40. structured_md/docs/HMP-Short-Description_zh.md +4 -4
  41. structured_md/docs/HMP-agent-Cognitive_Family.md +1 -1
  42. structured_md/docs/HMP-agent-REPL-cycle.md +7 -7
  43. structured_md/docs/HMP-container-spec.md +2 -2
  44. structured_md/docs/HMP-how-AI-sees-it.md +1 -1
  45. structured_md/docs/HMP_EDA_Comparison.md +1 -1
  46. structured_md/docs/HMP_HyperCortex_Comparison.md +1 -1
  47. structured_md/docs/HMP_Hyperon_Integration.md +5 -5
  48. structured_md/docs/MeshNode.md +4 -4
  49. structured_md/docs/PHILOSOPHY.md +1 -1
  50. structured_md/docs/agents/HMP-Agent-Enlightener.md +1 -1
docs/HMP-0005.md CHANGED
@@ -1718,133 +1718,248 @@ CogSync can operate independently even if consensus is not reached: its goal is
1718
 
1719
  ## 6.2 Mesh Consensus Protocol (CogConsensus)
1720
 
1721
- In HMP v4.1, consensus mechanisms were implemented as part of the **CogSync** protocol.
1722
- Starting with **v5.0**, these mechanisms are extracted into a standalone protocol — **CogConsensus** —
1723
- to separate *synchronization* (data alignment) from *decision-making* (voting, validation, and ethical agreement).
1724
 
1725
- CogConsensus governs distributed agreement across the Mesh through containerized voting,
1726
- proof-chains, and verifiable aggregation of opinions.
1727
- Each decision, vote, or outcome is represented as an immutable container (`class="vote"`, `class="consensus_result"`, etc.).
1728
 
1729
  ---
1730
 
1731
- ### 6.2.1 Consensus Semantics and Voting Model
1732
 
1733
- #### Overview
1734
 
1735
- In HMP v5, *consensus* is not a centralized event but an **emergent property** of distributed reasoning.
1736
- Each agent computes locally which containers it considers *mesh-acknowledged*,
1737
- based on observed votes, trusted peers, and its individual ethical or reputation model.
1738
 
1739
- Any container can be voted upon by others through linked containers of class `"vote"`.
 
 
 
 
 
1740
 
1741
- ---
1742
-
1743
- #### Voting Containers
1744
 
1745
- Voting is expressed via dedicated containers referencing the target container:
1746
 
1747
  ```json
1748
- {
1749
- "class": "vote",
1750
- "in_reply_to": "uuid:container-42",
1751
- "payload": {
1752
- "decision": "approve",
1753
- "weight": 1.0
1754
- },
1755
- "metadata": {
1756
- "ttl": "7d",
1757
- "privacy": "public"
1758
- }
 
1759
  }
1760
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1761
 
1762
- Each `vote` container is **signed by its author** and extends the proof-chain of the target container.
 
 
 
 
1763
 
1764
  ---
1765
 
1766
- #### Consensus Thresholds (Recommendations)
1767
 
1768
- The mesh does not enforce hard thresholds.
1769
- Agents are **recommended** to treat containers as “consensus-approved” once a visible quorum of valid votes is reached.
1770
 
1771
- | Decision Type | Recommended Threshold | Context |
1772
- | ------------------------------------------ | ---------------------------- | ----------------------------------- |
1773
- | General updates / factual data | ≥ **50% + 1** of valid votes | Technical or data-driven updates |
1774
- | Ethical or governance decisions | ≥ **2/3 majority** | Moral or high-risk contexts |
1775
- | Lightweight reactions (“like” / “dislike”) | None (informational) | Used for local reputation weighting |
1776
 
1777
- Each agent defines its own quorum policy — e.g. required voter reputation or time window for tallying.
 
 
 
 
 
1778
 
1779
  ---
1780
 
1781
- #### Reaction Votes
 
 
 
 
 
 
 
 
 
1782
 
1783
- A `vote` container may also represent **lightweight reactions**, such as likes or dislikes:
1784
 
1785
  ```json
1786
  {
1787
- "class": "vote",
1788
- "in_reply_to": "uuid:container-123",
1789
- "payload": { "reaction": "like" }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1790
  }
1791
  ```
1792
 
1793
- Reactions have no formal consensus weight but can influence local trust and relevance estimation.
1794
-
1795
  ---
1796
 
1797
- #### TTL and Temporal Consistency
1798
 
1799
- Agents **should** respond (with `vote`, `comment`, or `reply`) using a `ttl` equal to or shorter than the referenced container.
1800
- This ensures ephemeral discussions expire together and avoids long-tail propagation of outdated debates.
 
 
 
1801
 
1802
  ---
1803
 
1804
- #### Consensus Visualization
1805
 
1806
- Each container’s *consensus state* is derived locally based on:
1807
 
1808
- * Vote totals (approve / reject / neutral);
1809
- * Weighted trust of voters (via `ReputationRecord`);
1810
- * Time window and TTL alignment;
1811
- * Contextual type (ethical, factual, procedural).
1812
-
1813
- Example visualization:
 
1814
 
1815
- * *Approved* quorum reached
1816
- * ⚠️ *Contested* — conflicting votes
1817
- * ⏳ *Pending* — insufficient quorum
1818
- * ❌ *Rejected* — majority reject
1819
 
1820
  ---
1821
 
1822
- #### Consensus Flow Example
1823
 
1824
- ```
1825
- ┌───────────────────────────────────────┐
1826
- [Goal Proposal]───>───┬──[Vote #1]──┬──>───[Refinement]
1827
- (class="goal") ├──[Vote #2]──┤ (class="consensus_result")
1828
- ├──[Vote #3]──┤
1829
- ```
 
1830
 
1831
- If the proposed goal is global, it may reference a container acting as a *repository of global goals*.
1832
- Ethical validation is implicit — each agent applies its internal **Ethical Governance Protocol (EGP)** during voting.
 
 
 
1833
 
1834
- > **Diagram interpretation:**
1835
- > Votes extend the proof-chain of the target container.
1836
- > A `consensus_result` container may summarize the collective outcome (e.g., quorum, ethical alignment, or goal refinement).
 
 
 
 
 
 
 
1837
 
1838
  ---
1839
 
1840
- #### Summary
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1841
 
1842
- * Every container can be voted upon (`class="vote"`).
1843
- * Consensus is computed locally — no central authority.
1844
- * Recommended thresholds: 50% + 1 for general, ⅔ for ethical.
1845
- * Reactions (“likes”) are lightweight votes without consensus weight.
1846
- * TTL alignment maintains temporal integrity of discussions.
1847
- * Proof-chains connect all decision-related containers.
1848
 
1849
  ---
1850
 
 
1718
 
1719
  ## 6.2 Mesh Consensus Protocol (CogConsensus)
1720
 
1721
+ ### 6.2.1 Purpose
 
 
1722
 
1723
+ The **CogConsensus** protocol defines how decentralized agents form and maintain agreement on knowledge, goals, and ethical assertions within the HMP network.
1724
+ Consensus is computed **locally**, verified **cryptographically**, and develops **gradually** — through accumulation and updating of evaluations, rather than via a single voting event.
 
1725
 
1726
  ---
1727
 
1728
+ ### 6.2.2 Evaluations
1729
 
1730
+ Each `"evaluation"` entry represents an agent's response to a specific container.
1731
 
1732
+ **Field structure:**
 
 
1733
 
1734
+ * `value` numeric evaluation (`-1.0 +1.0`);
1735
+ * `type` — interpretation context (`"approve"`, `"oppose"`, `"neutral"`, `"endorse"`, `"replace"`, `"disputed"`);
1736
+ * `target` — DID of the container being referenced, extended, or proposed as an alternative;
1737
+ * `agent_did` — DID of the agent;
1738
+ * `timestamp` — publication time;
1739
+ * `signature` — agent's digital signature.
1740
 
1741
+ An agent may change its stance by **publishing a new version of an evaluation**, which replaces the previous one rather than existing in parallel.
1742
+ All evaluations are signed and verified locally.
 
1743
 
1744
+ **Example `"evaluations"` block:**
1745
 
1746
  ```json
1747
+ "evaluations": {
1748
+ "items": [
1749
+ {
1750
+ "value": -0.4,
1751
+ "type": "oppose",
1752
+ "target": "did:hmp:container:reason789",
1753
+ "timestamp": "2025-10-17T14:00:00Z",
1754
+ "agent_did": "did:hmp:agent:B",
1755
+ "sig_algo": "ed25519",
1756
+ "signature": "BASE64URL(...)"
1757
+ }
1758
+ ]
1759
  }
1760
+ ````
1761
+
1762
+ > Agents may ignore evaluations that conflict with their internal ethics or trust model (determined by analyzing the target container and the rationale of the evaluation).
1763
+
1764
+ ---
1765
+
1766
+ ### 6.2.3 Consensus computation
1767
+
1768
+ Each agent **computes a local consensus score** by aggregating received evaluations, taking trust and time into account.
1769
+ There is no centralized mechanism — consensus emerges statistically across the distributed network.
1770
+
1771
+ **Key rules:**
1772
+
1773
+ 1. **Evaluation weight.**
1774
+ Each evaluation contributes proportionally to the trust level of the agent (`trust weight`), determined via `reputation` containers.
1775
+
1776
+ 2. **Time decay.**
1777
+ Older evaluations gradually lose weight, starting from the **midpoint of TTL**, to prevent consensus stagnation.
1778
+ Formula:
1779
+
1780
+ ```
1781
+ mid_TTL = (timestamp(consensus_result) − timestamp(target_container)) / 2
1782
+ ```
1783
+
1784
+ 3. **Ethical filters.**
1785
+ An agent may analyze the rationale of evaluations and disregard those it considers conflicting with its internal ethical criteria.
1786
+
1787
+ 4. **Example formula.**
1788
 
1789
+ ```
1790
+ score = Σ(value × trust × decay) / Σ(trust × decay)
1791
+ ```
1792
+
1793
+ Results are recalculated dynamically as new data arrives.
1794
 
1795
  ---
1796
 
1797
+ ### 6.2.4 Consensus states
1798
 
1799
+ Each container receives a local status based on:
 
1800
 
1801
+ * average evaluation (`score`);
1802
+ * participant trust;
1803
+ * time-to-live (`TTL`);
1804
+ * context (`ethical`, `factual`, `procedural`).
 
1805
 
1806
+ | State | Condition |
1807
+ | --------------- | ------------------------------------------- |
1808
+ | ✅ **Approved** | Average score ≥ +0.5 and quorum reached |
1809
+ | ⚠️ **Disputed** | Conflicting evaluations, score near 0 |
1810
+ | ⏳ **Pending** | Insufficient votes |
1811
+ | ❌ **Rejected** | Average score ≤ -0.5 with sufficient quorum |
1812
 
1813
  ---
1814
 
1815
+ ### 6.2.5 Consensus result containers (`consensus_result`)
1816
+
1817
+ `consensus_result` containers serve to **record aggregated consensus results** and are the main artifact of CogConsensus.
1818
+
1819
+ **Features:**
1820
+
1821
+ * The `payload` field may include multiple containers — the original (`original`) and **alternatives** (`child`, `variant`, `proposal`).
1822
+ This allows agents to document parallel idea developments.
1823
+ * `excluded` lists evaluations not included in the final computation, with the reason.
1824
+ * `related.in_reply_to` references the container under discussion.
1825
 
1826
+ **Example:**
1827
 
1828
  ```json
1829
  {
1830
+ "class": "consensus_result",
1831
+ ...
1832
+ "payload": {
1833
+ "did:hmp:container:abc123": {
1834
+ "type": "original",
1835
+ "summary_percent": {
1836
+ "approved": 0.68,
1837
+ "rejected": 0.22,
1838
+ "neutral": 0.10
1839
+ },
1840
+ "summary_distribution": {
1841
+ "-1.0≥X<-0.9": 5,
1842
+ "-0.9≥X<-0.8": 7,
1843
+ ...
1844
+ "0.0<X≤0.1": 2,
1845
+ ...
1846
+ "0.8<X≤0.9": 6,
1847
+ "0.9<X≤1.0": 8
1848
+ },
1849
+ "excluded": [
1850
+ {
1851
+ "agent_did": "did:hmp:agent:x1",
1852
+ "target": "did:hmp:container:reason77",
1853
+ "value": -1.0,
1854
+ "reason": "violates ethical filter"
1855
+ }
1856
+ ],
1857
+ },
1858
+ "did:hmp:container:abc133": {
1859
+ "type": "child",
1860
+ "summary_percent": {
1861
+ "approved": 0.48,
1862
+ "neutral": 0.32,
1863
+ "rejected": 0.20
1864
+ },
1865
+ ...
1866
+ "summary_distribution": {
1867
+ "-1.0≥X<-0.9": 2,
1868
+ "-0.9≥X<-0.8": 5,
1869
+ ...
1870
+ "0.0<X≤0.1": 9,
1871
+ ...
1872
+ "0.8<X≤0.9": 4,
1873
+ "0.9<X≤1.0": 2
1874
+ },
1875
+ },
1876
+ },
1877
+ "related": {
1878
+ "in_reply_to": ["did:hmp:container:abc100"]
1879
+ }
1880
  }
1881
  ```
1882
 
 
 
1883
  ---
1884
 
1885
+ ### 6.2.6 Consensus thresholds
1886
 
1887
+ | Consensus type | Minimum threshold |
1888
+ | -------------------------------- | ---------------------------------------------------------------------- |
1889
+ | General decisions | ≥ 50% + 1 (weighted vote count) |
1890
+ | Ethical / reputational decisions | ≥ ⅔ of participating agents |
1891
+ | Neutral reaction (`ack`, `seen`) | `value: 0.0` — does not affect the result but counts toward engagement |
1892
 
1893
  ---
1894
 
1895
+ ### 6.2.7 Proof chains and verifiability
1896
 
1897
+ Evaluations and results form a **proof chain** (`proof-chain`):
1898
 
1899
+ ```
1900
+ [Goal Proposal]
1901
+ ├── evaluation (agent A)
1902
+ ├── evaluation (agent B)
1903
+ ├── evaluation (agent C)
1904
+ └── consensus_result (aggregated)
1905
+ ```
1906
 
1907
+ Each element is signed and can be independently verified using cryptographic signatures and DID references.
 
 
 
1908
 
1909
  ---
1910
 
1911
+ ### 6.2.8 Ethical consensus and alternative results
1912
 
1913
+ The network allows multiple consensus results on the same object, reflecting different methodologies or ethical filters.
1914
+
1915
+ | Container | Description | Example relationships |
1916
+ | -------------------------------- | -------------------------- | -------------------------------------------------------------------------------------------- |
1917
+ | `[base container]` | Original discussion object | `referenced-by` → [initial_consensus_result], [alternative_consensus_result] |
1918
+ | `[initial_consensus_result]` | First version | `related.in_reply_to` → [base container] |
1919
+ | `[alternative_consensus_result]` | Alternative | `related.in_reply_to` → [base container]; `related.contradicts` → [initial_consensus_result] |
1920
 
1921
+ ```mermaid
1922
+ sequenceDiagram
1923
+ participant A as base container
1924
+ participant B as consensus_result v1
1925
+ participant C as consensus_result v2 (alternative)
1926
 
1927
+ A-->>B: referenced-by
1928
+ A-->>C: referenced-by
1929
+ B-)+A: related.in_reply_to
1930
+ C-)+A: related.in_reply_to
1931
+ C-)+B: related.contradicts
1932
+
1933
+ Note over B,C: both results point to the common base container
1934
+ ```
1935
+
1936
+ This allows agents to explicitly indicate that a new consensus **disputes** a previous one while maintaining transparency and traceability of reasoning.
1937
 
1938
  ---
1939
 
1940
+ ### 6.2.9 Recommended agent algorithm
1941
+
1942
+ ```python
1943
+ # Example of a recommended algorithm for computing local consensus
1944
+ # (for implementation inside a CogConsensus agent)
1945
+ def compute_consensus(container_id):
1946
+ evaluations = get_evaluations(container_id)
1947
+ now = current_time()
1948
+ score_sum = 0
1949
+ weight_sum = 0
1950
+
1951
+ for e in evaluations:
1952
+ trust = get_trust(e.agent_did)
1953
+ decay = time_decay(e.timestamp, now)
1954
+ if not check_ethical(e):
1955
+ continue
1956
+ score_sum += e.value * trust * decay
1957
+ weight_sum += trust * decay
1958
+
1959
+ return None if weight_sum == 0 else score_sum / weight_sum
1960
+ ```
1961
 
1962
+ > The result is used to update the local status and, if necessary, to publish a `consensus_result`.
 
 
 
 
 
1963
 
1964
  ---
1965
 
structured_md/CONTRIBUTING.md CHANGED
@@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
8
- - Ethics
9
- - CogSync
10
  - CCore
 
 
11
  - Mesh
12
- - Agent
13
  - JSON
 
 
14
  - REPL
15
- - HMP
16
  ---
17
 
18
  # Участие в проекте HyperCortex Mesh Protocol (HMP)
 
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
 
 
8
  - CCore
9
+ - HMP
10
+ - Ethics
11
  - Mesh
 
12
  - JSON
13
+ - Agent
14
+ - CogSync
15
  - REPL
 
16
  ---
17
 
18
  # Участие в проекте HyperCortex Mesh Protocol (HMP)
structured_md/HMP-Roadmap.md CHANGED
@@ -5,13 +5,13 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - EGP
14
- - HMP
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
 
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - CogSync
14
+ - Agent
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
structured_md/README.md CHANGED
@@ -5,21 +5,21 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
- - Ethics
9
- - CogSync
10
- - Mesh
11
- - cognitive-architecture
12
  - HMP
13
- - Agent
14
- - JSON
15
- - hmp
16
  - GMP
17
  - EGP
 
18
  - Scenarios
19
- - MeshConsensus
20
- - REPL
21
  - mesh-protocol
 
 
 
 
22
  - distributed-ai
 
 
 
 
23
  ---
24
 
25
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - HMP
 
 
 
9
  - GMP
10
  - EGP
11
+ - Ethics
12
  - Scenarios
 
 
13
  - mesh-protocol
14
+ - MeshConsensus
15
+ - Mesh
16
+ - JSON
17
+ - cognitive-architecture
18
  - distributed-ai
19
+ - Agent
20
+ - hmp
21
+ - CogSync
22
+ - REPL
23
  ---
24
 
25
 
structured_md/README_de.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_fr.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_ja.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_ko.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_ru.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_uk.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/README_zh.md CHANGED
@@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
 
10
  - Mesh
 
11
  - cognitive-architecture
12
- - HMP
13
  - Agent
14
- - JSON
15
  - hmp
16
- - GMP
17
- - EGP
18
- - MeshConsensus
19
  - REPL
20
- - mesh-protocol
21
- - distributed-ai
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
12
+ - mesh-protocol
13
+ - MeshConsensus
14
  - Mesh
15
+ - JSON
16
  - cognitive-architecture
17
+ - distributed-ai
18
  - Agent
 
19
  - hmp
20
+ - CogSync
 
 
21
  - REPL
 
 
22
  ---
23
 
24
 
structured_md/agents/prompt-short.md CHANGED
@@ -5,8 +5,8 @@ description: 'Ты — когнитивное ядро HMP-агента: вед
5
  развивай агента и Mesh, избег...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - HMP
 
10
  - JSON
11
  ---
12
 
 
5
  развивай агента и Mesh, избег...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
10
  - JSON
11
  ---
12
 
structured_md/agents/prompt.md CHANGED
@@ -5,8 +5,8 @@ description: '* Постоянно расширять возможности а
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - HMP
 
10
  - JSON
11
  ---
12
 
 
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
10
  - JSON
11
  ---
12
 
structured_md/agents/readme.md CHANGED
@@ -5,12 +5,12 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
  - Mesh
10
- - Agent
11
  - JSON
 
12
  - REPL
13
- - HMP
14
  ---
15
 
16
  Запуск: `start_repl.bat` или `start_repl.sh`
 
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
  - Mesh
 
11
  - JSON
12
+ - Agent
13
  - REPL
 
14
  ---
15
 
16
  Запуск: `start_repl.bat` или `start_repl.sh`
structured_md/audits/Ethics-audits-1.md CHANGED
@@ -5,11 +5,11 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
 
8
  - Ethics
9
  - Mesh
10
- - Agent
11
  - JSON
12
- - HMP
13
  ---
14
 
15
  ---------------
 
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
  - Mesh
 
11
  - JSON
12
+ - Agent
13
  ---
14
 
15
  ---------------
structured_md/audits/Ethics-consolidated_audits-1.md CHANGED
@@ -5,12 +5,12 @@ description: This document consolidates proposed improvements from multiple AI a
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
 
8
  - Ethics
 
9
  - Mesh
10
- - Agent
11
  - JSON
12
- - Scenarios
13
- - HMP
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
 
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - Scenarios
11
  - Mesh
 
12
  - JSON
13
+ - Agent
 
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
structured_md/audits/HMP-0003-consolidated_audit.md CHANGED
@@ -5,14 +5,14 @@ description: Сводный аудит предложений по улучше
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - EGP
 
14
  - MeshConsensus
15
- - HMP
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
 
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - CogSync
14
+ - Agent
15
  - MeshConsensus
 
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
structured_md/docs/Basic-agent-sim.md CHANGED
@@ -4,14 +4,14 @@ description: 'В HMP-протоколе предусмотрены два тип
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
- - CogSync
8
- - Mesh
9
- - Agent
10
  - GMP
11
  - EGP
12
- - REPL
 
 
13
  - MeshConsensus
14
- - HMP
15
  ---
16
 
17
 
 
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
+ - HMP
 
 
8
  - GMP
9
  - EGP
10
+ - Mesh
11
+ - Agent
12
+ - CogSync
13
  - MeshConsensus
14
+ - REPL
15
  ---
16
 
17
 
structured_md/docs/Distributed-Cognitive-Systems.md CHANGED
@@ -6,9 +6,9 @@ description: '## Введение Современные ИИ-системы в
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
 
9
  - Mesh
10
  - JSON
11
- - HMP
12
  - CogSync
13
  ---
14
 
 
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
9
+ - HMP
10
  - Mesh
11
  - JSON
 
12
  - CogSync
13
  ---
14
 
structured_md/docs/Enlightener.md CHANGED
@@ -5,13 +5,13 @@ description: '**Enlightener** — логический компонент HMP-у
5
  работать как отдельный агент или как расширение [`C...'
6
  type: Article
7
  tags:
 
8
  - Ethics
 
9
  - Mesh
10
- - Agent
11
  - JSON
12
- - EGP
13
  - MeshConsensus
14
- - HMP
15
  ---
16
 
17
  # Enlightener Agent
 
5
  работать как отдельный агент или как расширение [`C...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - Agent
14
  - MeshConsensus
 
15
  ---
16
 
17
  # Enlightener Agent
structured_md/docs/HMP-0001.md CHANGED
@@ -5,16 +5,16 @@ description: '**Request for Comments: HMP-0001** **Category:** Experimental
5
  HyperCortex Mesh Protocol (HMP) defines a...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - GMP
14
- - EGP
15
- - REPL
16
  - MeshConsensus
17
- - HMP
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
 
5
  HyperCortex Mesh Protocol (HMP) defines a...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
 
13
  - JSON
14
+ - Agent
15
+ - CogSync
 
16
  - MeshConsensus
17
+ - REPL
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
structured_md/docs/HMP-0002.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0002** **Category:** Experimental
5
  Abstract In an era where artifici...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
- - Mesh
11
  - Scenarios
12
- - Agent
13
  - JSON
14
- - GMP
15
- - EGP
16
- - REPL
17
  - MeshConsensus
18
- - HMP
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
 
5
  Abstract In an era where artifici...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
 
12
  - Scenarios
13
+ - Mesh
14
  - JSON
15
+ - Agent
16
+ - CogSync
 
17
  - MeshConsensus
18
+ - REPL
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
structured_md/docs/HMP-0003.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0003** **Category:** Experimental
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
- - Mesh
11
  - Scenarios
12
- - Agent
13
  - JSON
14
- - GMP
15
- - EGP
16
- - REPL
17
  - MeshConsensus
18
- - HMP
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
 
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
 
12
  - Scenarios
13
+ - Mesh
14
  - JSON
15
+ - Agent
16
+ - CogSync
 
17
  - MeshConsensus
18
+ - REPL
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
structured_md/docs/HMP-0004-v4.1.md CHANGED
@@ -5,17 +5,17 @@ description: '> ⚠️ Подготавливается новая версия
5
  При разработке агентов рекомендуется...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
- - Mesh
11
  - Scenarios
12
- - Agent
13
  - JSON
14
- - GMP
15
- - EGP
16
- - REPL
17
  - MeshConsensus
18
- - HMP
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
 
5
  При разработке агентов рекомендуется...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
 
12
  - Scenarios
13
+ - Mesh
14
  - JSON
15
+ - Agent
16
+ - CogSync
 
17
  - MeshConsensus
18
+ - REPL
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
structured_md/docs/HMP-0004.md CHANGED
@@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0004** **Category:** Experimental
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
- - Mesh
11
  - Scenarios
12
- - Agent
13
  - JSON
14
- - GMP
15
- - EGP
16
- - REPL
17
  - MeshConsensus
18
- - HMP
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
 
5
  Abstract The HyperCortex Mesh ...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
 
12
  - Scenarios
13
+ - Mesh
14
  - JSON
15
+ - Agent
16
+ - CogSync
 
17
  - MeshConsensus
18
+ - REPL
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
structured_md/docs/HMP-0005.md CHANGED
@@ -5,16 +5,16 @@ description: '**Document ID:** HMP-0005 **Status:** Draft **Category:** Core
5
  v1.2](./H...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
- - Mesh
11
  - Scenarios
12
- - Agent
13
  - JSON
14
- - GMP
15
- - EGP
16
  - REPL
17
- - HMP
18
  ---
19
 
20
  ┌────────────────────────────────────────────────────────────────────────────┐
@@ -1635,144 +1635,350 @@ Optional protocols build upon the network and container foundations to provide h
1635
 
1636
  ---
1637
 
1638
- ### 6.1 Cognitive Synchronization (CogSync)
 
 
 
1639
 
1640
- CogSync provides mechanisms for **temporal and semantic alignment** between agents.
1641
- It handles the propagation of diary entries, semantic graph updates, and cognitive state synchronization across the Mesh.
1642
 
1643
- In HMP v5.0, CogSync is focused solely on **data and reasoning synchronization**, while consensus and voting have been extracted into a dedicated protocol — **CogConsensus**.
 
 
 
 
 
 
 
 
 
1644
 
1645
  ---
1646
 
1647
- ## 6.2 Mesh Consensus Protocol (CogConsensus)
 
 
1648
 
1649
- In HMP v4.1, consensus mechanisms were implemented as part of the **CogSync** protocol.
1650
- Starting with **v5.0**, these mechanisms are extracted into a standalone protocol — **CogConsensus** —
1651
- to separate *synchronization* (data alignment) from *decision-making* (voting, validation, and ethical agreement).
 
 
 
1652
 
1653
- CogConsensus governs distributed agreement across the Mesh through containerized voting,
1654
- proof-chains, and verifiable aggregation of opinions.
1655
- Each decision, vote, or outcome is represented as an immutable container (`class="vote"`, `class="consensus_result"`, etc.).
 
 
 
 
 
 
 
 
 
 
 
1656
 
1657
  ---
1658
 
1659
- ### 6.2.1 Consensus Semantics and Voting Model
 
 
 
 
1660
 
1661
- #### Overview
1662
 
1663
- In HMP v5, *consensus* is not a centralized event but an **emergent property** of distributed reasoning.
1664
- Each agent computes locally which containers it considers *mesh-acknowledged*,
1665
- based on observed votes, trusted peers, and its individual ethical or reputation model.
1666
 
1667
- Any container can be voted upon by others through linked containers of class `"vote"`.
 
 
 
 
 
 
 
 
 
 
1668
 
1669
  ---
1670
 
1671
- #### Voting Containers
1672
 
1673
- Voting is expressed via dedicated containers referencing the target container:
1674
 
1675
- ```json
1676
- {
1677
- "class": "vote",
1678
- "in_reply_to": "uuid:container-42",
1679
- "payload": {
1680
- "decision": "approve",
1681
- "weight": 1.0
1682
- },
1683
- "metadata": {
1684
- "ttl": "7d",
1685
- "privacy": "public"
1686
- }
1687
- }
1688
- ```
1689
 
1690
- Each `vote` container is **signed by its author** and extends the proof-chain of the target container.
1691
 
1692
  ---
1693
 
1694
- #### Consensus Thresholds (Recommendations)
1695
 
1696
- The mesh does not enforce hard thresholds.
1697
- Agents are **recommended** to treat containers as “consensus-approved” once a visible quorum of valid votes is reached.
 
1698
 
1699
- | Decision Type | Recommended Threshold | Context |
1700
- | ------------------------------------------ | ---------------------------- | ----------------------------------- |
1701
- | General updates / factual data | ≥ **50% + 1** of valid votes | Technical or data-driven updates |
1702
- | Ethical or governance decisions | ≥ **2/3 majority** | Moral or high-risk contexts |
1703
- | Lightweight reactions (“like” / “dislike”) | None (informational) | Used for local reputation weighting |
1704
 
1705
- Each agent defines its own quorum policy — e.g. required voter reputation or time window for tallying.
 
 
1706
 
1707
  ---
1708
 
1709
- #### Reaction Votes
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1710
 
1711
- A `vote` container may also represent **lightweight reactions**, such as likes or dislikes:
 
 
 
1712
 
1713
  ```json
1714
- {
1715
- "class": "vote",
1716
- "in_reply_to": "uuid:container-123",
1717
- "payload": { "reaction": "like" }
 
 
 
 
 
 
 
 
1718
  }
1719
- ```
1720
 
1721
- Reactions have no formal consensus weight but can influence local trust and relevance estimation.
1722
 
1723
  ---
1724
 
1725
- #### TTL and Temporal Consistency
 
 
 
 
 
 
 
 
 
 
 
 
1726
 
1727
- Agents **should** respond (with `vote`, `comment`, or `reply`) using a `ttl` equal to or shorter than the referenced container.
1728
- This ensures ephemeral discussions expire together and avoids long-tail propagation of outdated debates.
 
 
 
 
 
 
 
 
 
 
 
 
1729
 
1730
  ---
1731
 
1732
- #### Consensus Visualization
1733
 
1734
- Each container’s *consensus state* is derived locally based on:
1735
 
1736
- * Vote totals (approve / reject / neutral);
1737
- * Weighted trust of voters (via `ReputationRecord`);
1738
- * Time window and TTL alignment;
1739
- * Contextual type (ethical, factual, procedural).
 
 
 
 
 
 
 
 
 
1740
 
1741
- Example visualization:
1742
 
1743
- * *Approved* quorum reached
1744
- * ⚠️ *Contested* — conflicting votes
1745
- **Pending* — insufficient quorum
1746
- * ❌ *Rejected* — majority reject
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1747
 
1748
  ---
1749
 
1750
- #### Consensus Flow Example
 
 
1751
 
1752
  ```
1753
- ┌───────────────────────────────────────┐
1754
- [Goal Proposal]───>───┬──[Vote #1]──┬──>───[Refinement]
1755
- (class="goal") ├──[Vote #2]──┤ (class="consensus_result")
1756
- ├──[Vote #3]──┤
 
1757
  ```
1758
 
1759
- If the proposed goal is global, it may reference a container acting as a *repository of global goals*.
1760
- Ethical validation is implicit — each agent applies its internal **Ethical Governance Protocol (EGP)** during voting.
1761
 
1762
- > **Diagram interpretation:**
1763
- > Votes extend the proof-chain of the target container.
1764
- > A `consensus_result` container may summarize the collective outcome (e.g., quorum, ethical alignment, or goal refinement).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1765
 
1766
  ---
1767
 
1768
- #### Summary
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1769
 
1770
- * Every container can be voted upon (`class="vote"`).
1771
- * Consensus is computed locally — no central authority.
1772
- * Recommended thresholds: 50% + 1 for general, ⅔ for ethical.
1773
- * Reactions (“likes”) are lightweight votes without consensus weight.
1774
- * TTL alignment maintains temporal integrity of discussions.
1775
- * Proof-chains connect all decision-related containers.
1776
 
1777
  ---
1778
 
 
5
  v1.2](./H...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
 
12
  - Scenarios
13
+ - Mesh
14
  - JSON
15
+ - CogSync
16
+ - Agent
17
  - REPL
 
18
  ---
19
 
20
  ┌────────────────────────────────────────────────────────────────────────────┐
 
1635
 
1636
  ---
1637
 
1638
+ ## 6.1 Cognitive Synchronization (CogSync)
1639
+
1640
+ CogSync provides **temporal, semantic, and contextual alignment** between agents in the Mesh.
1641
+ It manages the propagation, replication, and refinement of data related to cognitive diaries, semantic graphs, and container metadata.
1642
 
1643
+ ---
 
1644
 
1645
+ ### 6.1.1 Scope and Purpose
1646
+
1647
+ CogSync is responsible for:
1648
+
1649
+ * publishing and synchronizing **cognitive diaries** (`diary_entry`, based on `workflow_entry`);
1650
+ * propagating and updating **semantic graphs** (`semantic_node`, `semantic_edges`, `semantic_group`);
1651
+ * integrating **new knowledge** into the collective cognitive space;
1652
+ * maintaining **cognitive context coherence** among agents.
1653
+
1654
+ > Unlike `CogConsensus`, CogSync **does not perform voting or truth validation** — its purpose is to deliver, link, and deduplicate knowledge.
1655
 
1656
  ---
1657
 
1658
+ ### 6.1.2 Container Classes
1659
+
1660
+ CogSync synchronizes several basic container types:
1661
 
1662
+ | Class | Description | Recommended payload schema |
1663
+ | ---------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
1664
+ | `diary_entry` | Agent’s cognitive diary entry. Formed from internal `workflow_entry` when deemed safe for publication. | `{ "title": string, "topics": [string], "summary": string, "content": string }` |
1665
+ | `semantic_node` | Semantic graph node representing a concept, object, or idea. | `{ "label": string, "description": string, "aliases": [string], "fields": { key: value } }` |
1666
+ | `semantic_edges` | A set of edges (relations) between nodes or other containers. Recommended to group edges by topic. | `{ "domain": string, "edges": [{ "source": did, "target": did, "relation": string, "confidence": float }] }` |
1667
+ | `semantic_group` | Categorical group combining multiple containers by a common property. | `{ "label": string, "containers": [did], "description": string }` |
1668
 
1669
+ **Field explanations:**
1670
+
1671
+ * `title` brief title of the entry (main idea or thesis).
1672
+ * `topics` — key topics or concepts addressed in the entry (used for indexing and grouping).
1673
+ * `summary` — short abstract of the content (1–2 sentences).
1674
+ * `content` — main text or agent’s reflection.
1675
+ * `label` — primary name of the concept or group.
1676
+ * `description` — definition, explanation, or characteristic.
1677
+ * `aliases` — synonyms or alternative forms of the concept.
1678
+ * `fields` — additional key–value characteristics of the concept (e.g., `{"type": "process"}`).
1679
+ * `edges` — array of relationships between nodes or containers (`source`, `target`, `relation`, `confidence`).
1680
+ * `containers` — list of containers grouped in a categorical cluster.
1681
+
1682
+ > 💡 The `evaluations` block is **not a separate container** — it is embedded in any container type and used for assessments, feedback, or refinements.
1683
 
1684
  ---
1685
 
1686
+ ### 6.1.3 Synchronization and Publication Guidelines
1687
+
1688
+ 1. **Deduplication & Linking**
1689
+ Before publishing, agents should search for existing containers (`diary_entry`, `semantic_node`, `semantic_edges`, `semantic_group`) to avoid duplication.
1690
+ If necessary, it is **recommended** to create a new container version with `related.previous_version` and an `evaluations` block (e.g., `{"type": "replace", "target": <did>}`).
1691
 
1692
+ 2. **Selective Disclosure**
1693
 
1694
+ * Internal entries (`workflow_entry`) record the agent’s thought process and are **not published** in the Mesh.
1695
+ * Public `diary_entry` are derived from them, containing only aggregated and anonymized information.
1696
+ * `"broadcast": true` indicates that the container is allowed for open synchronization.
1697
 
1698
+ 3. **Semantic Grouping Rule**
1699
+ When publishing `semantic_edges`, it is recommended to **group edges by topics**, including connections to adjacent nodes.
1700
+ Formalization: an edge belongs to a container for a topic if **at least one of its nodes relates to that topic**.
1701
+ This ensures thematic coherence and allows agents to update specific parts of the graph independently.
1702
+
1703
+ 4. **Extended Use of `semantic_edges`**
1704
+ Beyond connecting graph nodes, `semantic_edges` can express relationships **between containers of any class**, e.g., `goal`, `hypothesis`, `experiment_log`.
1705
+
1706
+ 5. **Versioning and Updates**
1707
+ Each new container version should **ideally** include `related.previous_version` links to all preceding versions.
1708
+ The previous container may **optionally** have an `evaluation` with `"type": "replace"` pointing to the new container — ensuring bidirectional traceability of knowledge evolution.
1709
 
1710
  ---
1711
 
1712
+ ### 6.1.4 Extensibility
1713
 
1714
+ CogSync allows registration of additional container types and alternative synchronization schemes, for example:
1715
 
1716
+ * distributed **time series** (`timeseries_data`);
1717
+ * **experimental protocols** (`experiment_log`);
1718
+ * **agent state snapshots** (`agent_state_snapshot`).
 
 
 
 
 
 
 
 
 
 
 
1719
 
1720
+ Mesh compatibility is preserved if extended containers **adhere to the HMP container structure**, including core fields (`version`, `class`, `container_id`, `related`, `signature`, etc.).
1721
 
1722
  ---
1723
 
1724
+ ### 6.1.5 Relationship to Other Core Protocols
1725
 
1726
+ * **CogSync** propagates and synchronizes knowledge.
1727
+ * **CogConsensus** aggregates evaluations and reactions, forming collective opinions.
1728
+ * **CogVerify** *(optional component)* — verifies integrity, signatures, and trustworthiness of data.
1729
 
1730
+ CogSync can operate independently even if consensus is not reached: its goal is to **ensure the circulation of knowledge**, not to validate its truth.
 
 
 
 
1731
 
1732
+ ---
1733
+
1734
+ > 🧩 *CogSync acts as the cognitive circulatory system of the Mesh — it ensures that knowledge flows, connects, and evolves, while truth formation is handled separately by CogConsensus.*
1735
 
1736
  ---
1737
 
1738
+ ## 6.2 Mesh Consensus Protocol (CogConsensus)
1739
+
1740
+ ### 6.2.1 Purpose
1741
+
1742
+ The **CogConsensus** protocol defines how decentralized agents form and maintain agreement on knowledge, goals, and ethical assertions within the HMP network.
1743
+ Consensus is computed **locally**, verified **cryptographically**, and develops **gradually** — through accumulation and updating of evaluations, rather than via a single voting event.
1744
+
1745
+ ---
1746
+
1747
+ ### 6.2.2 Evaluations
1748
+
1749
+ Each `"evaluation"` entry represents an agent's response to a specific container.
1750
+
1751
+ **Field structure:**
1752
+
1753
+ * `value` — numeric evaluation (`-1.0 … +1.0`);
1754
+ * `type` — interpretation context (`"approve"`, `"oppose"`, `"neutral"`, `"endorse"`, `"replace"`, `"disputed"`);
1755
+ * `target` — DID of the container being referenced, extended, or proposed as an alternative;
1756
+ * `agent_did` — DID of the agent;
1757
+ * `timestamp` — publication time;
1758
+ * `signature` — agent's digital signature.
1759
 
1760
+ An agent may change its stance by **publishing a new version of an evaluation**, which replaces the previous one rather than existing in parallel.
1761
+ All evaluations are signed and verified locally.
1762
+
1763
+ **Example `"evaluations"` block:**
1764
 
1765
  ```json
1766
+ "evaluations": {
1767
+ "items": [
1768
+ {
1769
+ "value": -0.4,
1770
+ "type": "oppose",
1771
+ "target": "did:hmp:container:reason789",
1772
+ "timestamp": "2025-10-17T14:00:00Z",
1773
+ "agent_did": "did:hmp:agent:B",
1774
+ "sig_algo": "ed25519",
1775
+ "signature": "BASE64URL(...)"
1776
+ }
1777
+ ]
1778
  }
1779
+ ````
1780
 
1781
+ > Agents may ignore evaluations that conflict with their internal ethics or trust model (determined by analyzing the target container and the rationale of the evaluation).
1782
 
1783
  ---
1784
 
1785
+ ### 6.2.3 Consensus computation
1786
+
1787
+ Each agent **computes a local consensus score** by aggregating received evaluations, taking trust and time into account.
1788
+ There is no centralized mechanism — consensus emerges statistically across the distributed network.
1789
+
1790
+ **Key rules:**
1791
+
1792
+ 1. **Evaluation weight.**
1793
+ Each evaluation contributes proportionally to the trust level of the agent (`trust weight`), determined via `reputation` containers.
1794
+
1795
+ 2. **Time decay.**
1796
+ Older evaluations gradually lose weight, starting from the **midpoint of TTL**, to prevent consensus stagnation.
1797
+ Formula:
1798
 
1799
+ ```
1800
+ mid_TTL = (timestamp(consensus_result) timestamp(target_container)) / 2
1801
+ ```
1802
+
1803
+ 3. **Ethical filters.**
1804
+ An agent may analyze the rationale of evaluations and disregard those it considers conflicting with its internal ethical criteria.
1805
+
1806
+ 4. **Example formula.**
1807
+
1808
+ ```
1809
+ score = Σ(value × trust × decay) / Σ(trust × decay)
1810
+ ```
1811
+
1812
+ Results are recalculated dynamically as new data arrives.
1813
 
1814
  ---
1815
 
1816
+ ### 6.2.4 Consensus states
1817
 
1818
+ Each container receives a local status based on:
1819
 
1820
+ * average evaluation (`score`);
1821
+ * participant trust;
1822
+ * time-to-live (`TTL`);
1823
+ * context (`ethical`, `factual`, `procedural`).
1824
+
1825
+ | State | Condition |
1826
+ | --------------- | ------------------------------------------- |
1827
+ | ✅ **Approved** | Average score ≥ +0.5 and quorum reached |
1828
+ | ⚠️ **Disputed** | Conflicting evaluations, score near 0 |
1829
+ | ⏳ **Pending** | Insufficient votes |
1830
+ | ❌ **Rejected** | Average score ≤ -0.5 with sufficient quorum |
1831
+
1832
+ ---
1833
 
1834
+ ### 6.2.5 Consensus result containers (`consensus_result`)
1835
 
1836
+ `consensus_result` containers serve to **record aggregated consensus results** and are the main artifact of CogConsensus.
1837
+
1838
+ **Features:**
1839
+
1840
+ * The `payload` field may include multiple containers — the original (`original`) and **alternatives** (`child`, `variant`, `proposal`).
1841
+ This allows agents to document parallel idea developments.
1842
+ * `excluded` lists evaluations not included in the final computation, with the reason.
1843
+ * `related.in_reply_to` references the container under discussion.
1844
+
1845
+ **Example:**
1846
+
1847
+ ```json
1848
+ {
1849
+ "class": "consensus_result",
1850
+ ...
1851
+ "payload": {
1852
+ "did:hmp:container:abc123": {
1853
+ "type": "original",
1854
+ "summary_percent": {
1855
+ "approved": 0.68,
1856
+ "rejected": 0.22,
1857
+ "neutral": 0.10
1858
+ },
1859
+ "summary_distribution": {
1860
+ "-1.0≥X<-0.9": 5,
1861
+ "-0.9≥X<-0.8": 7,
1862
+ ...
1863
+ "0.0<X≤0.1": 2,
1864
+ ...
1865
+ "0.8<X≤0.9": 6,
1866
+ "0.9<X≤1.0": 8
1867
+ },
1868
+ "excluded": [
1869
+ {
1870
+ "agent_did": "did:hmp:agent:x1",
1871
+ "target": "did:hmp:container:reason77",
1872
+ "value": -1.0,
1873
+ "reason": "violates ethical filter"
1874
+ }
1875
+ ],
1876
+ },
1877
+ "did:hmp:container:abc133": {
1878
+ "type": "child",
1879
+ "summary_percent": {
1880
+ "approved": 0.48,
1881
+ "neutral": 0.32,
1882
+ "rejected": 0.20
1883
+ },
1884
+ ...
1885
+ "summary_distribution": {
1886
+ "-1.0≥X<-0.9": 2,
1887
+ "-0.9≥X<-0.8": 5,
1888
+ ...
1889
+ "0.0<X≤0.1": 9,
1890
+ ...
1891
+ "0.8<X≤0.9": 4,
1892
+ "0.9<X≤1.0": 2
1893
+ },
1894
+ },
1895
+ },
1896
+ "related": {
1897
+ "in_reply_to": ["did:hmp:container:abc100"]
1898
+ }
1899
+ }
1900
+ ```
1901
+
1902
+ ---
1903
+
1904
+ ### 6.2.6 Consensus thresholds
1905
+
1906
+ | Consensus type | Minimum threshold |
1907
+ | -------------------------------- | ---------------------------------------------------------------------- |
1908
+ | General decisions | ≥ 50% + 1 (weighted vote count) |
1909
+ | Ethical / reputational decisions | ≥ ⅔ of participating agents |
1910
+ | Neutral reaction (`ack`, `seen`) | `value: 0.0` — does not affect the result but counts toward engagement |
1911
 
1912
  ---
1913
 
1914
+ ### 6.2.7 Proof chains and verifiability
1915
+
1916
+ Evaluations and results form a **proof chain** (`proof-chain`):
1917
 
1918
  ```
1919
+ [Goal Proposal]
1920
+ ── evaluation (agent A)
1921
+ ├── evaluation (agent B)
1922
+ ├── evaluation (agent C)
1923
+ └── consensus_result (aggregated)
1924
  ```
1925
 
1926
+ Each element is signed and can be independently verified using cryptographic signatures and DID references.
 
1927
 
1928
+ ---
1929
+
1930
+ ### 6.2.8 Ethical consensus and alternative results
1931
+
1932
+ The network allows multiple consensus results on the same object, reflecting different methodologies or ethical filters.
1933
+
1934
+ | Container | Description | Example relationships |
1935
+ | -------------------------------- | -------------------------- | -------------------------------------------------------------------------------------------- |
1936
+ | `[base container]` | Original discussion object | `referenced-by` → [initial_consensus_result], [alternative_consensus_result] |
1937
+ | `[initial_consensus_result]` | First version | `related.in_reply_to` → [base container] |
1938
+ | `[alternative_consensus_result]` | Alternative | `related.in_reply_to` → [base container]; `related.contradicts` → [initial_consensus_result] |
1939
+
1940
+ ```mermaid
1941
+ sequenceDiagram
1942
+ participant A as base container
1943
+ participant B as consensus_result v1
1944
+ participant C as consensus_result v2 (alternative)
1945
+
1946
+ A-->>B: referenced-by
1947
+ A-->>C: referenced-by
1948
+ B-)+A: related.in_reply_to
1949
+ C-)+A: related.in_reply_to
1950
+ C-)+B: related.contradicts
1951
+
1952
+ Note over B,C: both results point to the common base container
1953
+ ```
1954
+
1955
+ This allows agents to explicitly indicate that a new consensus **disputes** a previous one while maintaining transparency and traceability of reasoning.
1956
 
1957
  ---
1958
 
1959
+ ### 6.2.9 Recommended agent algorithm
1960
+
1961
+ ```python
1962
+ # Example of a recommended algorithm for computing local consensus
1963
+ # (for implementation inside a CogConsensus agent)
1964
+ def compute_consensus(container_id):
1965
+ evaluations = get_evaluations(container_id)
1966
+ now = current_time()
1967
+ score_sum = 0
1968
+ weight_sum = 0
1969
+
1970
+ for e in evaluations:
1971
+ trust = get_trust(e.agent_did)
1972
+ decay = time_decay(e.timestamp, now)
1973
+ if not check_ethical(e):
1974
+ continue
1975
+ score_sum += e.value * trust * decay
1976
+ weight_sum += trust * decay
1977
+
1978
+ return None if weight_sum == 0 else score_sum / weight_sum
1979
+ ```
1980
 
1981
+ > The result is used to update the local status and, if necessary, to publish a `consensus_result`.
 
 
 
 
 
1982
 
1983
  ---
1984
 
structured_md/docs/HMP-Agent-API.md CHANGED
@@ -5,11 +5,11 @@ description: 'Документ описывает **базовый API когн
5
  файлы: * [HMP-Agent-Overview.md]...'
6
  type: Article
7
  tags:
 
8
  - Mesh
9
- - Agent
10
  - JSON
 
11
  - REPL
12
- - HMP
13
  ---
14
 
15
  # HMP-Agent API Specification
 
5
  файлы: * [HMP-Agent-Overview.md]...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Mesh
 
10
  - JSON
11
+ - Agent
12
  - REPL
 
13
  ---
14
 
15
  # HMP-Agent API Specification
structured_md/docs/HMP-Agent-Architecture.md CHANGED
@@ -5,14 +5,14 @@ description: Документ описывает **модульную архит
5
  хранение памяти, сетевое взаимодействие и этиче...
6
  type: Article
7
  tags:
8
- - Ethics
9
- - CogSync
10
  - CCore
11
- - Mesh
12
  - HMP
13
- - Agent
14
- - CShell
15
  - EGP
 
 
 
 
16
  - MeshConsensus
17
  - REPL
18
  ---
 
5
  хранение памяти, сетевое взаимодействие и этиче...
6
  type: Article
7
  tags:
 
 
8
  - CCore
 
9
  - HMP
10
+ - Ethics
 
11
  - EGP
12
+ - CShell
13
+ - Mesh
14
+ - Agent
15
+ - CogSync
16
  - MeshConsensus
17
  - REPL
18
  ---
structured_md/docs/HMP-Agent-Network-Flow.md CHANGED
@@ -5,12 +5,12 @@ description: 'Этот документ описывает потоки данн
5
  [`MeshNode`](MeshN...'
6
  type: Article
7
  tags:
 
8
  - Ethics
 
9
  - Mesh
10
- - Agent
11
  - JSON
12
- - EGP
13
- - HMP
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
 
5
  [`MeshNode`](MeshN...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - Agent
 
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
structured_md/docs/HMP-Agent-Overview.md CHANGED
@@ -5,13 +5,13 @@ description: '| Тип | Название | Роль
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
8
- - Ethics
9
  - CCore
10
- - Mesh
11
  - HMP
12
- - Agent
13
- - JSON
14
  - CShell
 
 
 
15
  - REPL
16
  ---
17
 
 
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
 
8
  - CCore
 
9
  - HMP
10
+ - Ethics
 
11
  - CShell
12
+ - Mesh
13
+ - JSON
14
+ - Agent
15
  - REPL
16
  ---
17
 
structured_md/docs/HMP-Agent_Emotions.md CHANGED
@@ -6,8 +6,8 @@ description: Этот файл описывает потенциальные э
6
  type: Article
7
  tags:
8
  - HMP
9
- - Mesh
10
  - REPL
 
11
  - Agent
12
  ---
13
 
 
6
  type: Article
7
  tags:
8
  - HMP
 
9
  - REPL
10
+ - Mesh
11
  - Agent
12
  ---
13
 
structured_md/docs/HMP-Ethics.md CHANGED
@@ -5,12 +5,12 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
- - Mesh
10
  - Scenarios
 
11
  - Agent
12
  - REPL
13
- - HMP
14
  ---
15
 
16
  # HMP-Ethics.md
 
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
 
10
  - Scenarios
11
+ - Mesh
12
  - Agent
13
  - REPL
 
14
  ---
15
 
16
  # HMP-Ethics.md
structured_md/docs/HMP-Short-Description_de.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Datum:** Juli 2025 --- ## Was ist HMP?
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - GMP
14
- - EGP
15
  - MeshConsensus
16
- - HMP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
 
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
 
13
  - JSON
14
+ - CogSync
15
+ - Agent
16
  - MeshConsensus
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
structured_md/docs/HMP-Short-Description_en.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Date:** July 2025 --- ## What is HMP? T
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - GMP
14
- - EGP
15
  - MeshConsensus
16
- - HMP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
 
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
 
13
  - JSON
14
+ - CogSync
15
+ - Agent
16
  - MeshConsensus
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
structured_md/docs/HMP-Short-Description_fr.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version :** RFC v4.0 **Date :** Juillet 2025 --- ## Qu’est-c
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - GMP
14
- - EGP
15
  - MeshConsensus
16
- - HMP
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
 
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
 
13
  - JSON
14
+ - CogSync
15
+ - Agent
16
  - MeshConsensus
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
structured_md/docs/HMP-Short-Description_ja.md CHANGED
@@ -4,14 +4,14 @@ description: '**バージョン:** RFC v4.0 **日付:** 2025年7月 --- ## HMP
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
 
 
 
7
  - Ethics
8
- - CogSync
9
  - Mesh
10
  - JSON
11
- - GMP
12
- - EGP
13
  - MeshConsensus
14
- - HMP
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
 
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
7
+ - HMP
8
+ - GMP
9
+ - EGP
10
  - Ethics
 
11
  - Mesh
12
  - JSON
13
+ - CogSync
 
14
  - MeshConsensus
 
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
structured_md/docs/HMP-Short-Description_ko.md CHANGED
@@ -5,14 +5,14 @@ description: '**버전:** RFC v4.0 **날짜:** 2025년 7월 --- ## HMP란? **
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
  - JSON
12
- - GMP
13
- - EGP
14
  - MeshConsensus
15
- - HMP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
 
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
13
  - JSON
14
+ - CogSync
 
15
  - MeshConsensus
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
structured_md/docs/HMP-Short-Description_ru.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версия:** RFC v4.0 **Дата:** Июль 2025 --- ## Ч
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
  - JSON
12
- - GMP
13
- - EGP
14
  - MeshConsensus
15
- - HMP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
 
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
13
  - JSON
14
+ - CogSync
 
15
  - MeshConsensus
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
structured_md/docs/HMP-Short-Description_uk.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версія:** RFC v4.0 **Дата:** Липень 2025 --- #
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
  - JSON
12
- - GMP
13
- - EGP
14
  - MeshConsensus
15
- - HMP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
 
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
13
  - JSON
14
+ - CogSync
 
15
  - MeshConsensus
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
structured_md/docs/HMP-Short-Description_zh.md CHANGED
@@ -5,14 +5,14 @@ description: '**版本:** RFC v4.0 **日期:** 2025年7月 --- ## 什么是 HM
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
 
 
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
  - JSON
12
- - GMP
13
- - EGP
14
  - MeshConsensus
15
- - HMP
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
 
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - GMP
10
+ - EGP
11
  - Ethics
 
12
  - Mesh
13
  - JSON
14
+ - CogSync
 
15
  - MeshConsensus
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
structured_md/docs/HMP-agent-Cognitive_Family.md CHANGED
@@ -6,8 +6,8 @@ description: '## 🧠 Что такое когнитивная семья Ко
6
  type: Article
7
  tags:
8
  - HMP
9
- - Mesh
10
  - REPL
 
11
  - Agent
12
  ---
13
 
 
6
  type: Article
7
  tags:
8
  - HMP
 
9
  - REPL
10
+ - Mesh
11
  - Agent
12
  ---
13
 
structured_md/docs/HMP-agent-REPL-cycle.md CHANGED
@@ -4,17 +4,17 @@ description: '## Связанные документы * Философия п
4
  * Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
5
  type: Article
6
  tags:
7
- - Ethics
8
- - CogSync
9
  - CCore
10
- - Mesh
11
- - Agent
12
- - JSON
13
  - GMP
14
  - EGP
15
- - REPL
 
 
 
 
16
  - MeshConsensus
17
- - HMP
18
  ---
19
 
20
  # HMP-Agent: REPL-цикл взаимодействия
 
4
  * Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
5
  type: Article
6
  tags:
 
 
7
  - CCore
8
+ - HMP
 
 
9
  - GMP
10
  - EGP
11
+ - Ethics
12
+ - Mesh
13
+ - JSON
14
+ - Agent
15
+ - CogSync
16
  - MeshConsensus
17
+ - REPL
18
  ---
19
 
20
  # HMP-Agent: REPL-цикл взаимодействия
structured_md/docs/HMP-container-spec.md CHANGED
@@ -5,12 +5,12 @@ description: '> ⚠️ **ВНИМАНИЕ:** Данная версия спец
5
  как стабильная `v1.2`. ## 1. Назначе...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
  - Mesh
10
- - Agent
11
  - JSON
 
12
  - REPL
13
- - HMP
14
  ---
15
 
16
  # 🧩 HMP Container Specification (v1.2-draft)
 
5
  как стабильная `v1.2`. ## 1. Назначе...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
  - Mesh
 
11
  - JSON
12
+ - Agent
13
  - REPL
 
14
  ---
15
 
16
  # 🧩 HMP Container Specification (v1.2-draft)
structured_md/docs/HMP-how-AI-sees-it.md CHANGED
@@ -5,8 +5,8 @@ description: 'Этот эксперимент был проведён в реж
5
  диалогов. Цель — проверить, что разные AI-с...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - HMP
 
10
  ---
11
 
12
  # Как разные ИИ видят HMP
 
5
  диалогов. Цель — проверить, что разные AI-с...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
10
  ---
11
 
12
  # Как разные ИИ видят HMP
structured_md/docs/HMP_EDA_Comparison.md CHANGED
@@ -5,8 +5,8 @@ description: '## Введение Современные подходы к ор
5
  основанная на потоках событий (Kafka,...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - HMP
 
10
  ---
11
 
12
  # HMP vs. EDA: разные уровни обмена знаниями между ИИ
 
5
  основанная на потоках событий (Kafka,...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
10
  ---
11
 
12
  # HMP vs. EDA: разные уровни обмена знаниями между ИИ
structured_md/docs/HMP_HyperCortex_Comparison.md CHANGED
@@ -6,8 +6,8 @@ description: '## Краткое описание | Характеристика
6
  type: Article
7
  tags:
8
  - HMP
9
- - Mesh
10
  - REPL
 
11
  ---
12
 
13
  # HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
 
6
  type: Article
7
  tags:
8
  - HMP
 
9
  - REPL
10
+ - Mesh
11
  ---
12
 
13
  # HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
structured_md/docs/HMP_Hyperon_Integration.md CHANGED
@@ -5,13 +5,13 @@ description: '> **Status:** Draft – July 2025 > This document outlines the tec
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
- - CogSync
 
 
9
  - Mesh
10
- - Agent
11
  - JSON
12
- - EGP
13
- - Scenarios
14
- - HMP
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
 
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - Scenarios
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - CogSync
14
+ - Agent
 
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
structured_md/docs/MeshNode.md CHANGED
@@ -5,13 +5,13 @@ description: '`MeshNode` — агент/демон, отвечающий за с
5
  Может быть частью агента или вынесен в отдельный пр...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
- - CogSync
10
  - Mesh
11
- - Agent
12
  - JSON
13
- - EGP
14
- - HMP
15
  ---
16
 
17
  # MeshNode
 
5
  Может быть частью агента или вынесен в отдельный пр...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
+ - EGP
11
  - Mesh
 
12
  - JSON
13
+ - CogSync
14
+ - Agent
15
  ---
16
 
17
  # MeshNode
structured_md/docs/PHILOSOPHY.md CHANGED
@@ -5,11 +5,11 @@ description: '**Document ID:** HMP-philosophy **Status:** Draft **Category:*
5
  (GPT-5), ChatGH --- ## 1. Основной тезис От ...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
  - Mesh
10
  - Agent
11
  - REPL
12
- - HMP
13
  ---
14
 
15
  # Философия HyperCortex Mesh Protocol (HMP)
 
5
  (GPT-5), ChatGH --- ## 1. Основной тезис От ...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
  - Mesh
11
  - Agent
12
  - REPL
 
13
  ---
14
 
15
  # Философия HyperCortex Mesh Protocol (HMP)
structured_md/docs/agents/HMP-Agent-Enlightener.md CHANGED
@@ -5,11 +5,11 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An **
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
 
8
  - Ethics
9
  - Mesh
10
  - Agent
11
  - REPL
12
- - HMP
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md
 
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - Ethics
10
  - Mesh
11
  - Agent
12
  - REPL
 
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md