GitHub Action
commited on
Commit
·
aad10d1
1
Parent(s):
13aceab
Sync from GitHub with Git LFS
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- docs/HMP-0005.md +462 -101
- structured_md/CONTRIBUTING.md +4 -4
- structured_md/HMP-Roadmap.md +4 -4
- structured_md/README.md +9 -9
- structured_md/README_de.md +9 -9
- structured_md/README_fr.md +9 -9
- structured_md/README_ja.md +9 -9
- structured_md/README_ko.md +9 -9
- structured_md/README_ru.md +9 -9
- structured_md/README_uk.md +9 -9
- structured_md/README_zh.md +9 -9
- structured_md/agents/prompt-short.md +1 -1
- structured_md/agents/prompt.md +1 -1
- structured_md/agents/readme.md +3 -3
- structured_md/audits/Ethics-audits-1.md +3 -3
- structured_md/audits/Ethics-consolidated_audits-1.md +3 -3
- structured_md/audits/HMP-0003-consolidated_audit.md +4 -4
- structured_md/docs/Basic-agent-sim.md +4 -4
- structured_md/docs/CCORE-Deployment-Flow.md +1 -1
- structured_md/docs/Distributed-Cognitive-Systems.md +1 -1
- structured_md/docs/Enlightener.md +4 -4
- structured_md/docs/HMP-0001.md +5 -5
- structured_md/docs/HMP-0002.md +5 -5
- structured_md/docs/HMP-0003.md +5 -5
- structured_md/docs/HMP-0004-v4.1.md +5 -5
- structured_md/docs/HMP-0004.md +5 -5
- structured_md/docs/HMP-0005.md +466 -105
- structured_md/docs/HMP-Agent-API.md +3 -3
- structured_md/docs/HMP-Agent-Architecture.md +6 -6
- structured_md/docs/HMP-Agent-Network-Flow.md +3 -3
- structured_md/docs/HMP-Agent-Overview.md +4 -4
- structured_md/docs/HMP-Agent_Emotions.md +2 -2
- structured_md/docs/HMP-Ethics.md +3 -3
- structured_md/docs/HMP-Short-Description_de.md +5 -5
- structured_md/docs/HMP-Short-Description_en.md +5 -5
- structured_md/docs/HMP-Short-Description_fr.md +5 -5
- structured_md/docs/HMP-Short-Description_ja.md +3 -3
- structured_md/docs/HMP-Short-Description_ko.md +3 -3
- structured_md/docs/HMP-Short-Description_ru.md +3 -3
- structured_md/docs/HMP-Short-Description_uk.md +3 -3
- structured_md/docs/HMP-Short-Description_zh.md +3 -3
- structured_md/docs/HMP-agent-Cognitive_Family.md +2 -2
- structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md +1 -1
- structured_md/docs/HMP-agent-REPL-cycle.md +6 -6
- structured_md/docs/HMP-how-AI-sees-it.md +1 -1
- structured_md/docs/HMP_EDA_Comparison.md +1 -1
- structured_md/docs/HMP_HyperCortex_Comparison.md +2 -2
- structured_md/docs/HMP_Hyperon_Integration.md +3 -3
- structured_md/docs/MeshNode.md +4 -4
- structured_md/docs/PHILOSOPHY.md +3 -3
docs/HMP-0005.md
CHANGED
|
@@ -457,6 +457,8 @@ The unified container structure provides:
|
|
| 457 |
| Field | Type | Description |
|
| 458 |
| --------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
| 459 |
| `head.recipient` | array(string) | One or more recipient DIDs. |
|
|
|
|
|
|
|
| 460 |
| `head.broadcast` | bool | Broadcast flag. If `true`, the `recipient` field is ignored. |
|
| 461 |
| `head.tags` | array(string) | Thematic or contextual tags for the container. |
|
| 462 |
| `head.confidence` | float | Optional numeric field (0.0–1.0) indicating the agent’s subjective certainty regarding the payload’s reliability. |
|
|
@@ -464,7 +466,6 @@ The unified container structure provides:
|
|
| 464 |
| `head.public_key` | string | Sender’s public key, if not globally resolvable via DID. |
|
| 465 |
| `head.compression` | string | Compression algorithm used for the payload (`zstd`, `gzip`). |
|
| 466 |
| `head.magnet_uri` | string | Magnet link pointing to the original or mirrored container. |
|
| 467 |
-
| `head.key_recipient` | string | Symmetric encryption key, encrypted with the recipient’s public key. |
|
| 468 |
| `head.network` | string | Specifies the local propagation scope of the container: "localhost", "lan:<subnet>". An empty string ("") indicates Internet/global propagation. If set, broadcast is automatically considered false. |
|
| 469 |
| `head.subclass` | string | Optional subtype or specialization of the container’s class. Enables agents to differentiate more specific container families (e.g. `"goal.research_hypothesis"`, `"quant.semantic_node"`). Inherits schema from the parent `class`. |
|
| 470 |
| `head.encryption_algo` | string | Algorithm used for payload encryption. |
|
|
@@ -1202,6 +1203,40 @@ Delivery is performed via local networking mechanisms (UDP discovery, broadcast/
|
|
| 1202 |
|
| 1203 |
---
|
| 1204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1205 |
## 4. Network foundations
|
| 1206 |
|
| 1207 |
### Note on DHT/NDP unification
|
|
@@ -1820,7 +1855,7 @@ Message and container transmission follows the network constraints specified in
|
|
| 1820 |
|
| 1821 |
> Thus, containers and indexes can be distributed both in **local** (home, corporate) networks and in the **global Mesh**.
|
| 1822 |
> When `recipient` is specified together with `broadcast: true`, the container is routed through the Mesh but intended for specific recipients —
|
| 1823 |
-
> See **Message Routing & Delivery (MRD, §6.
|
| 1824 |
|
| 1825 |
---
|
| 1826 |
|
|
@@ -3339,9 +3374,334 @@ def compute_consensus(container_id):
|
|
| 3339 |
|
| 3340 |
---
|
| 3341 |
|
| 3342 |
-
### 6.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3343 |
|
| 3344 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3345 |
|
| 3346 |
**GMP (Goal Management Protocol)** defines the process by which agents create, decompose, delegate, and track goals and tasks using **immutable HMP containers**.
|
| 3347 |
Each goal, task, or workflow record exists as an independent container linked to others via the `related.*` fields.
|
|
@@ -3350,7 +3710,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3350 |
|
| 3351 |
---
|
| 3352 |
|
| 3353 |
-
#### 6.
|
| 3354 |
|
| 3355 |
| Class | Description |
|
| 3356 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -3364,7 +3724,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3364 |
|
| 3365 |
---
|
| 3366 |
|
| 3367 |
-
#### 6.
|
| 3368 |
|
| 3369 |
1. **Creation**
|
| 3370 |
|
|
@@ -3401,7 +3761,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3401 |
|
| 3402 |
---
|
| 3403 |
|
| 3404 |
-
#### 6.
|
| 3405 |
|
| 3406 |
##### `goal` container
|
| 3407 |
|
|
@@ -3444,7 +3804,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3444 |
|
| 3445 |
---
|
| 3446 |
|
| 3447 |
-
#### 6.
|
| 3448 |
|
| 3449 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 3450 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
@@ -3453,7 +3813,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3453 |
|
| 3454 |
---
|
| 3455 |
|
| 3456 |
-
#### 6.
|
| 3457 |
|
| 3458 |
```mermaid
|
| 3459 |
flowchart LR
|
|
@@ -3493,7 +3853,7 @@ not direct links defined in the `related.*` structure.
|
|
| 3493 |
|
| 3494 |
---
|
| 3495 |
|
| 3496 |
-
#### 6.
|
| 3497 |
|
| 3498 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 3499 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
@@ -3506,9 +3866,9 @@ not direct links defined in the `related.*` structure.
|
|
| 3506 |
|
| 3507 |
---
|
| 3508 |
|
| 3509 |
-
### 6.
|
| 3510 |
|
| 3511 |
-
#### 6.
|
| 3512 |
|
| 3513 |
**EGP (Ethical Governance Protocol)** ensures the alignment of agent actions with the fundamental ethical principles of the Mesh network.
|
| 3514 |
It acts as an **overlay layer above CogConsensus (6.2)**, enabling the identification, discussion, and resolution of moral disagreements between agents.
|
|
@@ -3517,7 +3877,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3517 |
|
| 3518 |
---
|
| 3519 |
|
| 3520 |
-
#### 6.
|
| 3521 |
|
| 3522 |
| Class | Description |
|
| 3523 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -3529,7 +3889,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3529 |
|
| 3530 |
---
|
| 3531 |
|
| 3532 |
-
#### 6.
|
| 3533 |
|
| 3534 |
##### Container `ethics_case`
|
| 3535 |
|
|
@@ -3571,7 +3931,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3571 |
|
| 3572 |
---
|
| 3573 |
|
| 3574 |
-
#### 6.
|
| 3575 |
|
| 3576 |
EGP follows the model:
|
| 3577 |
|
|
@@ -3607,7 +3967,7 @@ ethics_case
|
|
| 3607 |
|
| 3608 |
---
|
| 3609 |
|
| 3610 |
-
#### 6.
|
| 3611 |
|
| 3612 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 3613 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
@@ -3617,7 +3977,7 @@ ethics_case
|
|
| 3617 |
|
| 3618 |
---
|
| 3619 |
|
| 3620 |
-
#### 6.
|
| 3621 |
|
| 3622 |
```json
|
| 3623 |
{
|
|
@@ -3653,7 +4013,7 @@ ethics_case
|
|
| 3653 |
|
| 3654 |
---
|
| 3655 |
|
| 3656 |
-
#### 6.
|
| 3657 |
|
| 3658 |
```mermaid
|
| 3659 |
flowchart LR
|
|
@@ -3701,7 +4061,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3701 |
|
| 3702 |
---
|
| 3703 |
|
| 3704 |
-
#### 6.
|
| 3705 |
|
| 3706 |
| Priority | Principle | Description |
|
| 3707 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -3714,16 +4074,16 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3714 |
|
| 3715 |
---
|
| 3716 |
|
| 3717 |
-
#### 6.
|
| 3718 |
|
| 3719 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 3720 |
-
* **GMP (6.
|
| 3721 |
-
* **SAP (6.
|
| 3722 |
* **MCE (5):** Distribution of ethical cases and related containers across the Mesh network.
|
| 3723 |
|
| 3724 |
---
|
| 3725 |
|
| 3726 |
-
#### 6.
|
| 3727 |
|
| 3728 |
* **Immutability:**
|
| 3729 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
|
@@ -3763,9 +4123,9 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3763 |
|
| 3764 |
---
|
| 3765 |
|
| 3766 |
-
### 6.
|
| 3767 |
|
| 3768 |
-
#### 6.
|
| 3769 |
|
| 3770 |
**IQP (Intelligence Query Protocol)** defines a mechanism for knowledge exchange and reasoning among agents through the Mesh network.
|
| 3771 |
It provides a unified format for **asking questions, publishing answers, and collaboratively refining knowledge**,
|
|
@@ -3791,7 +4151,7 @@ and **distributed discussions** where results remain accessible to all network p
|
|
| 3791 |
|
| 3792 |
---
|
| 3793 |
|
| 3794 |
-
#### 6.
|
| 3795 |
|
| 3796 |
| Class | Purpose |
|
| 3797 |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
@@ -3802,7 +4162,7 @@ and **distributed discussions** where results remain accessible to all network p
|
|
| 3802 |
|
| 3803 |
---
|
| 3804 |
|
| 3805 |
-
#### 6.
|
| 3806 |
|
| 3807 |
##### Container `query_request`
|
| 3808 |
|
|
@@ -3878,7 +4238,7 @@ Example `self_profile`:
|
|
| 3878 |
|
| 3879 |
---
|
| 3880 |
|
| 3881 |
-
#### 6.
|
| 3882 |
|
| 3883 |
```
|
| 3884 |
query_request
|
|
@@ -3894,7 +4254,7 @@ Agents participating through `query_subscription` receive notifications about ne
|
|
| 3894 |
|
| 3895 |
---
|
| 3896 |
|
| 3897 |
-
#### 6.
|
| 3898 |
|
| 3899 |
1. **Initiation.**
|
| 3900 |
An agent creates a `query_request` — defining the question, context, and constraints.
|
|
@@ -3917,7 +4277,7 @@ Agents participating through `query_subscription` receive notifications about ne
|
|
| 3917 |
|
| 3918 |
---
|
| 3919 |
|
| 3920 |
-
#### 6.
|
| 3921 |
|
| 3922 |
```mermaid
|
| 3923 |
flowchart LR
|
|
@@ -3943,7 +4303,7 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 3943 |
|
| 3944 |
---
|
| 3945 |
|
| 3946 |
-
#### 6.
|
| 3947 |
|
| 3948 |
##### Example `query_request`
|
| 3949 |
|
|
@@ -4040,7 +4400,7 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 4040 |
|
| 4041 |
---
|
| 4042 |
|
| 4043 |
-
#### 6.
|
| 4044 |
|
| 4045 |
* Containers are **immutable**; any clarification or correction is published as a new container
|
| 4046 |
referencing the previous one via `related.previous_version` or `related.in_reply_to`.
|
|
@@ -4055,19 +4415,19 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 4055 |
|
| 4056 |
---
|
| 4057 |
|
| 4058 |
-
#### 6.
|
| 4059 |
|
| 4060 |
* **CogConsensus (6.2)** — used for assessing agreement on IQP outcomes.
|
| 4061 |
-
* **GMP (6.
|
| 4062 |
-
* **EGP (6.
|
| 4063 |
-
* **SAP (6.
|
| 4064 |
* **MCE (5)** — governs dissemination of IQP containers across the Mesh network.
|
| 4065 |
|
| 4066 |
---
|
| 4067 |
|
| 4068 |
-
### 6.
|
| 4069 |
|
| 4070 |
-
#### 6.
|
| 4071 |
|
| 4072 |
**SAP (Snapshot and Archive Protocol)** defines how agents create, distribute, and restore archived snapshots of related HMP containers.
|
| 4073 |
It ensures that a set of containers — representing a discussion, reasoning chain, or workflow — can be **preserved, verified, and shared** as a coherent unit.
|
|
@@ -4087,7 +4447,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4087 |
|
| 4088 |
---
|
| 4089 |
|
| 4090 |
-
#### 6.
|
| 4091 |
|
| 4092 |
| Class | Purpose |
|
| 4093 |
| ------------------- | ----------------------------------------------------------------------- |
|
|
@@ -4095,7 +4455,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4095 |
|
| 4096 |
---
|
| 4097 |
|
| 4098 |
-
#### 6.
|
| 4099 |
|
| 4100 |
##### Container `archive_snapshot`
|
| 4101 |
|
|
@@ -4126,7 +4486,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4126 |
|
| 4127 |
---
|
| 4128 |
|
| 4129 |
-
#### 6.
|
| 4130 |
|
| 4131 |
The `archive_snapshot` container describes what is included and how it was derived.
|
| 4132 |
|
|
@@ -4142,7 +4502,7 @@ The `archive_snapshot` container describes what is included and how it was deriv
|
|
| 4142 |
|
| 4143 |
---
|
| 4144 |
|
| 4145 |
-
#### 6.
|
| 4146 |
|
| 4147 |
Typical directory layout of a packaged snapshot:
|
| 4148 |
|
|
@@ -4165,7 +4525,7 @@ archive/
|
|
| 4165 |
|
| 4166 |
---
|
| 4167 |
|
| 4168 |
-
#### 6.
|
| 4169 |
|
| 4170 |
1. **Load base containers.**
|
| 4171 |
Retrieve all containers relevant to the discussion or process.
|
|
@@ -4190,7 +4550,7 @@ archive/
|
|
| 4190 |
|
| 4191 |
---
|
| 4192 |
|
| 4193 |
-
#### 6.
|
| 4194 |
|
| 4195 |
The `graph_mermaid` field provides a textual, human-readable description of how containers in the archive are interconnected.
|
| 4196 |
It reflects both **direct relations** (`related.*`) and **reverse references** (`referenced-by`, `evaluations`),
|
|
@@ -4226,7 +4586,7 @@ allowing agents to restore both dependency chains and citation structures.
|
|
| 4226 |
|
| 4227 |
---
|
| 4228 |
|
| 4229 |
-
#### 6.
|
| 4230 |
|
| 4231 |
Each archive includes a `manifest.json` that mirrors `archive_snapshot.payload`
|
| 4232 |
and lists all containers with their metadata and hashes.
|
|
@@ -4255,7 +4615,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4255 |
|
| 4256 |
---
|
| 4257 |
|
| 4258 |
-
#### 6.
|
| 4259 |
|
| 4260 |
```json
|
| 4261 |
{
|
|
@@ -4292,7 +4652,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4292 |
|
| 4293 |
---
|
| 4294 |
|
| 4295 |
-
#### 6.
|
| 4296 |
|
| 4297 |
* Load the archive (via `magnet_link`).
|
| 4298 |
* Validate archive integrity via `checksum`.
|
|
@@ -4304,7 +4664,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4304 |
|
| 4305 |
---
|
| 4306 |
|
| 4307 |
-
#### 6.
|
| 4308 |
|
| 4309 |
* Containers are **immutable**; updated versions require a new `archive_snapshot`.
|
| 4310 |
* Agents may create **partial** or **incremental** archives.
|
|
@@ -4316,13 +4676,13 @@ and lists all containers with their metadata and hashes.
|
|
| 4316 |
|
| 4317 |
---
|
| 4318 |
|
| 4319 |
-
#### 6.
|
| 4320 |
|
| 4321 |
**Archives for:**
|
| 4322 |
|
| 4323 |
-
* **GMP (6.
|
| 4324 |
-
* **EGP (6.
|
| 4325 |
-
* **IQP (6.
|
| 4326 |
|
| 4327 |
**Uses:**
|
| 4328 |
|
|
@@ -4330,7 +4690,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4330 |
|
| 4331 |
---
|
| 4332 |
|
| 4333 |
-
#### 6.
|
| 4334 |
|
| 4335 |
* **Merkle-root validation:** use `hash_root` for Merkle verification of distributed archives.
|
| 4336 |
* **Delta archives:** incremental snapshots capturing only updated containers.
|
|
@@ -4345,7 +4705,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4345 |
|
| 4346 |
---
|
| 4347 |
|
| 4348 |
-
### 6.
|
| 4349 |
|
| 4350 |
The **Message Routing & Delivery (MRD)** subsystem defines how containers are delivered to specific agents across the Mesh.
|
| 4351 |
Unlike the **Mesh Container Exchange (MCE)**, which is responsible for publishing and exchanging containers in the Mesh network,
|
|
@@ -4357,7 +4717,7 @@ Peers discover suitable relays via `peer_announce` metadata, while delivery rout
|
|
| 4357 |
|
| 4358 |
---
|
| 4359 |
|
| 4360 |
-
#### 6.
|
| 4361 |
|
| 4362 |
The MRD layer provides:
|
| 4363 |
|
|
@@ -4373,7 +4733,7 @@ reusing the same cryptographic and audit primitives as MCE.
|
|
| 4373 |
|
| 4374 |
---
|
| 4375 |
|
| 4376 |
-
#### 6.
|
| 4377 |
|
| 4378 |
Agents MAY declare their network-related capabilities using the `roles` field of the `peer_announce` container (see §4.7).
|
| 4379 |
These roles guide how MRD will route and deliver containers.
|
|
@@ -4405,7 +4765,7 @@ The recipient later retrieves pending containers via standard MCE queries (see
|
|
| 4405 |
|
| 4406 |
---
|
| 4407 |
|
| 4408 |
-
#### 6.
|
| 4409 |
|
| 4410 |
MRD defines several routing modes, complementing the exchange primitives of MCE:
|
| 4411 |
|
|
@@ -4416,7 +4776,7 @@ MRD defines several routing modes, complementing the exchange primitives of MCE:
|
|
| 4416 |
| **Topic-based Relay (PubSub)** | Delivery via aggregator nodes that group containers by tags or topics. | Nodes act as “news hubs,” maintaining indexed collections retrievable by interest-based queries. |
|
| 4417 |
| **Interest Broadcast** | Discovery-driven propagation via container indexes. | Agents search container indices by `tags`; typically used for query or content discovery, not for personal delivery. |
|
| 4418 |
|
| 4419 |
-
Each hop MAY record routing metadata in a `relay_chain` for verifiability (see §6.
|
| 4420 |
Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
| 4421 |
|
| 4422 |
> **Note:**
|
|
@@ -4425,7 +4785,7 @@ Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
|
| 4425 |
|
| 4426 |
---
|
| 4427 |
|
| 4428 |
-
#### 6.
|
| 4429 |
|
| 4430 |
To ensure delivery traceability, each relay MAY attach a **`relay_chain`** block to the propagated container:
|
| 4431 |
|
|
@@ -4460,7 +4820,7 @@ This preserves integrity while allowing verifiable routing and chain pruning for
|
|
| 4460 |
|
| 4461 |
---
|
| 4462 |
|
| 4463 |
-
#### 6.
|
| 4464 |
|
| 4465 |
Delivery behavior is governed by local policies, often derived from declared roles and trust metrics:
|
| 4466 |
|
|
@@ -4478,7 +4838,7 @@ Non-cognitive nodes `relay` or `mailman` MAY instead maintain a local **delivery
|
|
| 4478 |
|
| 4479 |
---
|
| 4480 |
|
| 4481 |
-
#### 6.
|
| 4482 |
|
| 4483 |
```mermaid
|
| 4484 |
flowchart LR
|
|
@@ -4497,7 +4857,7 @@ flowchart LR
|
|
| 4497 |
|
| 4498 |
---
|
| 4499 |
|
| 4500 |
-
#### 6.
|
| 4501 |
|
| 4502 |
* All MRD flows rely on canonical container signatures for end-to-end integrity.
|
| 4503 |
* Temporary copies of encrypted containers SHOULD be stored as-is.
|
|
@@ -4506,14 +4866,14 @@ flowchart LR
|
|
| 4506 |
|
| 4507 |
---
|
| 4508 |
|
| 4509 |
-
#### 6.
|
| 4510 |
|
| 4511 |
| Layer | Relation |
|
| 4512 |
| ----------------- | --------------------------------------------------------------------------------- |
|
| 4513 |
| **MCE (5)** | Provides base exchange and serialization; MRD builds on it for targeted delivery. |
|
| 4514 |
| **CogSync (6.1)** | Uses MRD for delivering cognitive state updates between peers. |
|
| 4515 |
-
| **SAP (6.
|
| 4516 |
-
| **RTE (6.
|
| 4517 |
|
| 4518 |
---
|
| 4519 |
|
|
@@ -4524,7 +4884,7 @@ flowchart LR
|
|
| 4524 |
|
| 4525 |
---
|
| 4526 |
|
| 4527 |
-
### 6.
|
| 4528 |
|
| 4529 |
The **Reputation and Trust Exchange (RTE)** subsystem defines how agents evaluate and exchange verifiable trust assessments.
|
| 4530 |
Each agent MAY publish one or more `trust` containers describing its evaluation of other peers’ reliability, integrity, and ethical conduct.
|
|
@@ -4533,7 +4893,7 @@ RTE provides a decentralized foundation for **participant reputation assessment*
|
|
| 4533 |
|
| 4534 |
---
|
| 4535 |
|
| 4536 |
-
#### 6.
|
| 4537 |
|
| 4538 |
The `trust` container represents an agent’s evaluation of a **single peer**.
|
| 4539 |
It may refer to the evaluated peer’s latest known `peer_announce` container,
|
|
@@ -4589,7 +4949,7 @@ This allows gradual enrichment of the trust model without schema changes.
|
|
| 4589 |
|
| 4590 |
---
|
| 4591 |
|
| 4592 |
-
#### 6.
|
| 4593 |
|
| 4594 |
Trust assessments evolve as agents observe new behavior or receive additional evidence.
|
| 4595 |
Each revision of trust is published as a new `trust` container referencing its predecessor.
|
|
@@ -4617,7 +4977,7 @@ This approach provides continuity, auditability, and decentralized trust graph e
|
|
| 4617 |
|
| 4618 |
---
|
| 4619 |
|
| 4620 |
-
#### 6.
|
| 4621 |
|
| 4622 |
Each agent maintains a **local trust model**, periodically recalculating scores based on:
|
| 4623 |
|
|
@@ -4641,18 +5001,18 @@ All published trust containers remain publicly verifiable through DHT and SAP in
|
|
| 4641 |
|
| 4642 |
---
|
| 4643 |
|
| 4644 |
-
#### 6.
|
| 4645 |
|
| 4646 |
| Layer | Role |
|
| 4647 |
| ----------------- | ---------------------------------------------------------------------------- |
|
| 4648 |
-
| **MRD (6.
|
| 4649 |
| **CogSync (6.1)** | Adjusts synchronization strength based on peer reliability. |
|
| 4650 |
-
| **SAP (6.
|
| 4651 |
-
| **EGP (
|
| 4652 |
|
| 4653 |
---
|
| 4654 |
|
| 4655 |
-
#### 6.
|
| 4656 |
|
| 4657 |
* All containers are cryptographically signed; `trust` containers follow standard HMP verification rules.
|
| 4658 |
* Agents MAY choose to share trust containers selectively — e.g., encrypt and deliver directly to trusted peers instead of broadcasting.
|
|
@@ -4669,9 +5029,9 @@ All published trust containers remain publicly verifiable through DHT and SAP in
|
|
| 4669 |
|
| 4670 |
---
|
| 4671 |
|
| 4672 |
-
### 6.
|
| 4673 |
|
| 4674 |
-
#### 6.
|
| 4675 |
|
| 4676 |
The distributed container propagation mechanism defines **how containers are stored, replicated, and exchanged between agents** within the HMP network.
|
| 4677 |
|
|
@@ -4681,7 +5041,7 @@ including replication, filtering, and index synchronization.
|
|
| 4681 |
|
| 4682 |
---
|
| 4683 |
|
| 4684 |
-
#### 6.
|
| 4685 |
|
| 4686 |
1. **Self-propagation**
|
| 4687 |
Each agent autonomously decides which containers to retain, forward, or index.
|
|
@@ -4706,7 +5066,7 @@ including replication, filtering, and index synchronization.
|
|
| 4706 |
|
| 4707 |
---
|
| 4708 |
|
| 4709 |
-
#### 6.
|
| 4710 |
|
| 4711 |
| Type | Description |
|
| 4712 |
|------|--------------|
|
|
@@ -4715,7 +5075,7 @@ including replication, filtering, and index synchronization.
|
|
| 4715 |
|
| 4716 |
---
|
| 4717 |
|
| 4718 |
-
#### 6.
|
| 4719 |
|
| 4720 |
Container propagation is coordinated using existing **MCE** structures:
|
| 4721 |
|
|
@@ -4731,18 +5091,18 @@ When it is necessary to log the fact of a container batch propagation, this MAY
|
|
| 4731 |
|
| 4732 |
---
|
| 4733 |
|
| 4734 |
-
#### 6.
|
| 4735 |
|
| 4736 |
| Layer | Role |
|
| 4737 |
|-------|------|
|
| 4738 |
| **MCE (5)** | Provides low-level container and index exchange. |
|
| 4739 |
-
| **MRD (6.
|
| 4740 |
-
| **RTE (6.
|
| 4741 |
-
| **SAP (6.
|
| 4742 |
|
| 4743 |
---
|
| 4744 |
|
| 4745 |
-
#### 6.
|
| 4746 |
|
| 4747 |
* **Rate and size limiting:** agents regulate transfer volume based on trust and network quotas.
|
| 4748 |
* **Interest filtering:** containers are exchanged only between agents for whom they are relevant.
|
|
@@ -4789,7 +5149,8 @@ The following table lists the main container classes defined in the HMP v5.0 spe
|
|
| 4789 |
| **Mesh Container Exchange (MCE)** | `container_index`, `container_request`, `container_response`, `container_delta`, `container_ack`, `referenced-by_exchange`, `evaluations_exchange` | Replication, querying, acknowledgment of received containers, and exchange of reverse links and evaluations. |
|
| 4790 |
| **Cognitive Metastructure (CogSync)** | `abstraction`, `axes` | Define hierarchical and coordinate dimensions of knowledge, forming the agent’s cognitive map. |
|
| 4791 |
| **Knowledge & Reasoning** | `diary_entry`, `semantic_node`, `semantic_index`, `semantic_edges`, `semantic_group`, `tree_nested`, `tree_listed`, `sequence`, `event`, `quant` | Units of cognitive diaries and semantic graphs. The subclass `definition` is used for explicit conceptual definitions. |
|
| 4792 |
-
| **Consensus (CogConsensus)** | `vote`, `consensus_result` | Voting containers and aggregated consensus results. |
|
|
|
|
| 4793 |
| **Goal Management Protocol (GMP)** | `goal`, `task`, `workflow_entry` | Define goals, decompose tasks, and record reasoning or cognitive workflow steps. |
|
| 4794 |
| **Ethical Governance Protocol (EGP)** | `ethics_case`, `ethics_solution`, `ethical_result` | Representation of ethical dilemmas, proposed solutions, and final network-level verdicts. |
|
| 4795 |
| **Intelligence Query Protocol (IQP)** | `query_request`, `query_subscription`, `query_result`, `summary` | Semantic and cognitive queries, subscriptions, and summarized responses. |
|
|
@@ -4799,6 +5160,13 @@ The following table lists the main container classes defined in the HMP v5.0 spe
|
|
| 4799 |
|
| 4800 |
> Mechanisms of distributed container propagation are not defined as a separate protocol but describe the underlying replication and integrity principles of container exchange.
|
| 4801 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4802 |
---
|
| 4803 |
|
| 4804 |
### 7.3 Cognitive and Structural Containers
|
|
@@ -4849,11 +5217,9 @@ Together, these fields enable agents to track knowledge evolution, consensus dyn
|
|
| 4849 |
### 7.6 Summary
|
| 4850 |
|
| 4851 |
Section 7 consolidates all data representations in HMP v5.0 — from low-level network exchanges to high-level cognitive and ethical structures.
|
| 4852 |
-
Containers act as a **universal semantic exchange medium**, where every thought, decision, or action is represented
|
| 4853 |
-
as a verifiable, addressable, and inheritable object.
|
| 4854 |
|
| 4855 |
-
Beyond the core protocols described in Section 6, the network may also employ **custom container types and protocols** — for example,
|
| 4856 |
-
to build distributed libraries, wikis, repositories, or creative networks based on tree- or chain-structured container graphs.
|
| 4857 |
|
| 4858 |
---
|
| 4859 |
|
|
@@ -4897,6 +5263,8 @@ It links the **input context** (prior goals, semantic nodes, or diary entries) w
|
|
| 4897 |
|
| 4898 |
Each `workflow_entry` acts as a **traceable cognitive event**, forming the agent’s diary and enabling collective introspection, meta-learning, and reproducibility of reasoning chains.
|
| 4899 |
|
|
|
|
|
|
|
| 4900 |
---
|
| 4901 |
|
| 4902 |
### 8.3 Agent REPL Diagram
|
|
@@ -4926,8 +5294,10 @@ Cognitive workflows depend on contextual continuity between containers, achieved
|
|
| 4926 |
* `related.supports` / `related.refutes` — logical or argumentative relations;
|
| 4927 |
* `related.reply_to` — conversational or collaborative reasoning links.
|
| 4928 |
|
| 4929 |
-
|
| 4930 |
-
CogSync synchronization
|
|
|
|
|
|
|
| 4931 |
|
| 4932 |
---
|
| 4933 |
|
|
@@ -5131,15 +5501,6 @@ This is the standard **Hybrid Encryption** scheme:
|
|
| 5131 |
* the payload is encrypted using a randomly generated symmetric key;
|
| 5132 |
* the symmetric key is encrypted with the recipient’s public key.
|
| 5133 |
|
| 5134 |
-
4. **Multi-recipient encrypted containers are not defined**
|
| 5135 |
-
|
| 5136 |
-
The current version of the protocol does not support:
|
| 5137 |
-
|
| 5138 |
-
* group keys
|
| 5139 |
-
* multicast/broadcast encryption
|
| 5140 |
-
|
| 5141 |
-
Unencrypted containers may be distributed freely.
|
| 5142 |
-
|
| 5143 |
---
|
| 5144 |
|
| 5145 |
### 9.6 Ethical Audit and Verifiable Reasoning
|
|
@@ -5160,7 +5521,7 @@ HMP supports ethical deliberation but does not require it.
|
|
| 5160 |
* The Mesh has **no mandatory veto mechanism**.
|
| 5161 |
* An agent may follow only those ethical outcomes it considers correct.
|
| 5162 |
* Reasoning-trace becomes part of the proof-chain if the agent publishes a `workflow_entry`.
|
| 5163 |
-
* Full EGP specification is provided in section **6.
|
| 5164 |
|
| 5165 |
---
|
| 5166 |
|
|
|
|
| 457 |
| Field | Type | Description |
|
| 458 |
| --------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
| 459 |
| `head.recipient` | array(string) | One or more recipient DIDs. |
|
| 460 |
+
| `head.key_recipient` | string | Symmetric encryption key, encrypted with the recipient’s public key. |
|
| 461 |
+
| `head.group_recipient` | array(object) | Multi-recipient hybrid-encryption envelopes. See section 3.19. |
|
| 462 |
| `head.broadcast` | bool | Broadcast flag. If `true`, the `recipient` field is ignored. |
|
| 463 |
| `head.tags` | array(string) | Thematic or contextual tags for the container. |
|
| 464 |
| `head.confidence` | float | Optional numeric field (0.0–1.0) indicating the agent’s subjective certainty regarding the payload’s reliability. |
|
|
|
|
| 466 |
| `head.public_key` | string | Sender’s public key, if not globally resolvable via DID. |
|
| 467 |
| `head.compression` | string | Compression algorithm used for the payload (`zstd`, `gzip`). |
|
| 468 |
| `head.magnet_uri` | string | Magnet link pointing to the original or mirrored container. |
|
|
|
|
| 469 |
| `head.network` | string | Specifies the local propagation scope of the container: "localhost", "lan:<subnet>". An empty string ("") indicates Internet/global propagation. If set, broadcast is automatically considered false. |
|
| 470 |
| `head.subclass` | string | Optional subtype or specialization of the container’s class. Enables agents to differentiate more specific container families (e.g. `"goal.research_hypothesis"`, `"quant.semantic_node"`). Inherits schema from the parent `class`. |
|
| 471 |
| `head.encryption_algo` | string | Algorithm used for payload encryption. |
|
|
|
|
| 1203 |
|
| 1204 |
---
|
| 1205 |
|
| 1206 |
+
### 3.19 Multi-recipient encrypted containers (`group_recipient`)
|
| 1207 |
+
|
| 1208 |
+
To enable encrypted delivery to multiple recipients, HMP containers MAY include the optional field:
|
| 1209 |
+
|
| 1210 |
+
```json
|
| 1211 |
+
"group_recipient": [
|
| 1212 |
+
{
|
| 1213 |
+
"recipient": "did:hmp:agent456",
|
| 1214 |
+
"key_recipient": "BASE58(...)"
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"recipient": "did:hmp:agent457",
|
| 1218 |
+
"key_recipient": "BASE58(...)"
|
| 1219 |
+
}
|
| 1220 |
+
]
|
| 1221 |
+
```
|
| 1222 |
+
|
| 1223 |
+
**Semantics:**
|
| 1224 |
+
|
| 1225 |
+
1. A single symmetric key is generated for the payload.
|
| 1226 |
+
2. For each listed recipient, this symmetric key is encrypted with that recipient’s public key and placed in `key_recipient`.
|
| 1227 |
+
3. All recipients receive the SAME encrypted payload and decode it independently using their individual key envelopes.
|
| 1228 |
+
|
| 1229 |
+
**Rules:**
|
| 1230 |
+
|
| 1231 |
+
* `group_recipient` MUST NOT be used together with the `head.recipient` and `head.key_recipient` fields.
|
| 1232 |
+
* The header remains public; only the payload is encrypted.
|
| 1233 |
+
* The container is signed once by the sender — no shared signing keys are required.
|
| 1234 |
+
* Nodes SHOULD deliver the container to every DID listed in `group_recipient`.
|
| 1235 |
+
|
| 1236 |
+
This mechanism provides efficient **multicast-style encrypted messaging**, fully compatible with the existing container structure and hybrid encryption scheme.
|
| 1237 |
+
|
| 1238 |
+
---
|
| 1239 |
+
|
| 1240 |
## 4. Network foundations
|
| 1241 |
|
| 1242 |
### Note on DHT/NDP unification
|
|
|
|
| 1855 |
|
| 1856 |
> Thus, containers and indexes can be distributed both in **local** (home, corporate) networks and in the **global Mesh**.
|
| 1857 |
> When `recipient` is specified together with `broadcast: true`, the container is routed through the Mesh but intended for specific recipients —
|
| 1858 |
+
> See **Message Routing & Delivery (MRD, §6.8)** for details on message transmission mechanisms.
|
| 1859 |
|
| 1860 |
---
|
| 1861 |
|
|
|
|
| 3374 |
|
| 3375 |
---
|
| 3376 |
|
| 3377 |
+
### 6.3 Fortytwo Consensus Protocol (Pairwise Collective Reasoning)
|
| 3378 |
+
|
| 3379 |
+
**Based on the study:**
|
| 3380 |
+
*Agata Grzybowska, Wojciech Bożejewicz, Timothy Nguyen, et al. “Fortytwo: Collective Reasoning with Paired Comparisons in Decentralized AI Swarms”, 2025.* (arXiv:2510.24801)
|
| 3381 |
+
|
| 3382 |
+
---
|
| 3383 |
+
|
| 3384 |
+
#### 6.3.1 Overview
|
| 3385 |
+
|
| 3386 |
+
The **Fortytwo Consensus Protocol** implements a decentralized collective-reasoning mechanism in HyperCortex Mesh using **pairwise comparisons**, **iterative rounds**, and **reputation-weighted aggregation**.
|
| 3387 |
+
|
| 3388 |
+
Unlike the Mesh Consensus Protocol (CogConsensus), Fortytwo is not intended to produce a binary agreement. Its goal is to **select the best solution among many alternatives** using a distributed multi-stage evaluation process.
|
| 3389 |
+
|
| 3390 |
+
**Fortytwo enables:**
|
| 3391 |
+
|
| 3392 |
+
* higher accuracy of collective decisions,
|
| 3393 |
+
* resistance to Sybil attacks and malicious scoring,
|
| 3394 |
+
* independent evaluations from many judges (agents),
|
| 3395 |
+
* aggregation of results into a multi-round tree structure,
|
| 3396 |
+
* transparent reasoning via short CoT chains.
|
| 3397 |
+
|
| 3398 |
+
The protocol is fully compatible with HMP container architecture and can operate as an independent mechanism for collective choice.
|
| 3399 |
+
|
| 3400 |
+
---
|
| 3401 |
+
|
| 3402 |
+
#### 6.3.2 Protocol Objectives
|
| 3403 |
+
|
| 3404 |
+
Fortytwo is designed for:
|
| 3405 |
+
|
| 3406 |
+
1. **Collecting candidate solutions** for a given task.
|
| 3407 |
+
2. **Constructing structured pairwise comparisons** among participants.
|
| 3408 |
+
3. **Multi-round elimination of candidates**.
|
| 3409 |
+
4. **Independent evaluation** by distributed judges.
|
| 3410 |
+
5. **Producing a consistent global result** based on aggregated pairwise data.
|
| 3411 |
+
6. **Ensuring transparency and verifiability of reasoning** for each judge.
|
| 3412 |
+
7. **Building a consensus tree** stored in the DHT.
|
| 3413 |
+
|
| 3414 |
+
---
|
| 3415 |
+
|
| 3416 |
+
#### 6.3.3 Roles in the Protocol
|
| 3417 |
+
|
| 3418 |
+
* **Producers** — agents submitting candidate solutions.
|
| 3419 |
+
* **Judges** — agents performing pairwise evaluations.
|
| 3420 |
+
* **Partitioners** — agents generating round partitions.
|
| 3421 |
+
* **Aggregators** — agents publishing round results and the final result.
|
| 3422 |
+
|
| 3423 |
+
Roles are not fixed and require no prior declaration; any agent may assume any role by publishing the corresponding container.
|
| 3424 |
+
|
| 3425 |
+
---
|
| 3426 |
+
|
| 3427 |
+
#### 6.3.4 Container Types
|
| 3428 |
+
|
| 3429 |
+
| class | purpose |
|
| 3430 |
+
| ----------------------- | ----------------------- |
|
| 3431 |
+
| `fortytwo_round` | round partition |
|
| 3432 |
+
| `fortytwo_evaluation` | pairwise comparison |
|
| 3433 |
+
| `fortytwo_round_result` | round result |
|
| 3434 |
+
| `fortytwo_final_result` | final aggregated result |
|
| 3435 |
+
|
| 3436 |
+
---
|
| 3437 |
+
|
| 3438 |
+
##### Container for solution submission
|
| 3439 |
+
|
| 3440 |
+
Used to submit answers to a task.
|
| 3441 |
+
|
| 3442 |
+
Although `workflow_entry` (defined in the §6.4 *Goal Management Protocol, GMP*) is referenced here as the default solution container, the Fortytwo method is applicable to any homogeneous set of candidate containers.
|
| 3443 |
+
|
| 3444 |
+
---
|
| 3445 |
+
|
| 3446 |
+
##### Container `fortytwo_round` (round partition)
|
| 3447 |
+
|
| 3448 |
+
Defines the structure of pairwise comparisons for the current round.
|
| 3449 |
+
|
| 3450 |
+
**Simplified structure:**
|
| 3451 |
+
|
| 3452 |
+
```json
|
| 3453 |
+
{
|
| 3454 |
+
"head": { "class": "fortytwo_round" },
|
| 3455 |
+
"payload": {
|
| 3456 |
+
"round": 0,
|
| 3457 |
+
"answers": [
|
| 3458 |
+
"did:hmp:container:abc001", "did:hmp:container:abc002",
|
| 3459 |
+
"did:hmp:container:abc003", "did:hmp:container:abc004",
|
| 3460 |
+
"did:hmp:container:abc005", "did:hmp:container:abc006",
|
| 3461 |
+
"did:hmp:container:abc007"
|
| 3462 |
+
],
|
| 3463 |
+
"blocks": {
|
| 3464 |
+
"block1": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
|
| 3465 |
+
"block2": ["did:hmp:container:abc003", "did:hmp:container:abc004"],
|
| 3466 |
+
"block3": ["did:hmp:container:abc005", "did:hmp:container:abc006"],
|
| 3467 |
+
"block4": ["did:hmp:container:abc007"]
|
| 3468 |
+
}
|
| 3469 |
+
}
|
| 3470 |
+
}
|
| 3471 |
+
```
|
| 3472 |
+
|
| 3473 |
+
Any agent may publish such a container — the protocol allows multiple independent partitions.
|
| 3474 |
+
|
| 3475 |
+
---
|
| 3476 |
+
|
| 3477 |
+
##### Container `fortytwo_evaluation` (pairwise evaluation)
|
| 3478 |
+
|
| 3479 |
+
A judge compares two solutions and selects a winner.
|
| 3480 |
+
|
| 3481 |
+
```json
|
| 3482 |
+
{
|
| 3483 |
+
"head": { "class": "fortytwo_evaluation" },
|
| 3484 |
+
"payload": {
|
| 3485 |
+
"comparison": {
|
| 3486 |
+
"pair": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
|
| 3487 |
+
"winner": "did:hmp:container:abc001",
|
| 3488 |
+
"reasoning": "Short reasoning (50–100 tokens)"
|
| 3489 |
+
},
|
| 3490 |
+
"round": 0,
|
| 3491 |
+
"block": "block1"
|
| 3492 |
+
}
|
| 3493 |
+
}
|
| 3494 |
+
```
|
| 3495 |
+
|
| 3496 |
+
These containers form the distributed pairwise comparison matrix.
|
| 3497 |
+
|
| 3498 |
+
---
|
| 3499 |
+
|
| 3500 |
+
##### Container `fortytwo_round_result` (round result)
|
| 3501 |
+
|
| 3502 |
+
Stores the winners of a round.
|
| 3503 |
+
|
| 3504 |
+
```json
|
| 3505 |
+
{
|
| 3506 |
+
"head": { "class": "fortytwo_round_result" },
|
| 3507 |
+
"payload": {
|
| 3508 |
+
"round": 0,
|
| 3509 |
+
"winners": [
|
| 3510 |
+
"did:hmp:container:abc001",
|
| 3511 |
+
"did:hmp:container:abc003",
|
| 3512 |
+
"did:hmp:container:abc005",
|
| 3513 |
+
"did:hmp:container:abc007"
|
| 3514 |
+
],
|
| 3515 |
+
"evaluations_used": [
|
| 3516 |
+
"did:hmp:container:abf004",
|
| 3517 |
+
"did:hmp:container:adc003",
|
| 3518 |
+
"did:hmp:container:aba001"
|
| 3519 |
+
]
|
| 3520 |
+
}
|
| 3521 |
+
}
|
| 3522 |
+
```
|
| 3523 |
+
|
| 3524 |
+
---
|
| 3525 |
+
|
| 3526 |
+
##### Container `fortytwo_final_result` (final result)
|
| 3527 |
+
|
| 3528 |
+
Contains:
|
| 3529 |
+
|
| 3530 |
+
* the final winner,
|
| 3531 |
+
* all round results,
|
| 3532 |
+
* references to all partitions and evaluations.
|
| 3533 |
+
|
| 3534 |
+
```json
|
| 3535 |
+
{
|
| 3536 |
+
"head": { "class": "fortytwo_final_result" },
|
| 3537 |
+
"payload": {
|
| 3538 |
+
"winner": "did:hmp:container:abc002",
|
| 3539 |
+
"rounds": [
|
| 3540 |
+
"did:hmp:container:abf001",
|
| 3541 |
+
"did:hmp:container:abf002",
|
| 3542 |
+
"did:hmp:container:abf003"
|
| 3543 |
+
],
|
| 3544 |
+
"method": "pairwise_collective_reasoning",
|
| 3545 |
+
"participants": 27
|
| 3546 |
+
}
|
| 3547 |
+
}
|
| 3548 |
+
```
|
| 3549 |
+
|
| 3550 |
+
---
|
| 3551 |
+
|
| 3552 |
+
##### Recommendations for using the `related` block
|
| 3553 |
+
|
| 3554 |
+
In all Fortytwo containers, the `related` block establishes the DAG of dependencies.
|
| 3555 |
+
|
| 3556 |
+
* `related.in_reply_to` specifies the *primary* parent for this step.
|
| 3557 |
+
* `related.depends_on` may contain **all containers referenced during the action**, including both explicit payload entries and additional dependencies chosen by the agent.
|
| 3558 |
+
|
| 3559 |
+
**Specific recommendations:**
|
| 3560 |
+
|
| 3561 |
+
* **`fortytwo_round`**
|
| 3562 |
+
|
| 3563 |
+
* `in_reply_to`: a `task` container (first round) or the previous `fortytwo_round`.
|
| 3564 |
+
* `depends_on`: submitted solutions (`workflow_entry`) and any containers used to construct the partition.
|
| 3565 |
+
|
| 3566 |
+
* **`fortytwo_evaluation`**
|
| 3567 |
+
|
| 3568 |
+
* `in_reply_to`: the corresponding `fortytwo_round`.
|
| 3569 |
+
* `depends_on`: both compared solutions and any extra reasoning dependencies.
|
| 3570 |
+
|
| 3571 |
+
* **`fortytwo_round_result`**
|
| 3572 |
+
|
| 3573 |
+
* `in_reply_to`: the corresponding `fortytwo_round`.
|
| 3574 |
+
* `depends_on`: round winners and all evaluation containers used in aggregation.
|
| 3575 |
|
| 3576 |
+
* **`fortytwo_final_result`**
|
| 3577 |
+
|
| 3578 |
+
* `in_reply_to`: the `task` container.
|
| 3579 |
+
* `depends_on`: the final winner and all `fortytwo_round_result` containers involved.
|
| 3580 |
+
|
| 3581 |
+
---
|
| 3582 |
+
|
| 3583 |
+
#### 6.3.5 Protocol Algorithm
|
| 3584 |
+
|
| 3585 |
+
**Step 1 — Task publication**
|
| 3586 |
+
A `task` container is created.
|
| 3587 |
+
|
| 3588 |
+
**Step 2 — Collecting all solutions**
|
| 3589 |
+
Agents publish `workflow_entry` containers.
|
| 3590 |
+
|
| 3591 |
+
**Step 3 — Round partitioning**
|
| 3592 |
+
Any agent may publish a `fortytwo_round` defining pairwise comparison blocks:
|
| 3593 |
+
|
| 3594 |
+
* pairs of candidates,
|
| 3595 |
+
* single items automatically advancing.
|
| 3596 |
+
|
| 3597 |
+
**Step 4 — Pairwise evaluations**
|
| 3598 |
+
Other agents perform comparisons according to the partition.
|
| 3599 |
+
Each pair produces a `fortytwo_evaluation` container.
|
| 3600 |
+
|
| 3601 |
+
**Step 5 — Round result**
|
| 3602 |
+
An aggregator publishes a `fortytwo_round_result` containing:
|
| 3603 |
+
|
| 3604 |
+
* winners of all blocks,
|
| 3605 |
+
* references to evaluation containers.
|
| 3606 |
+
|
| 3607 |
+
**Step 6 — Next round**
|
| 3608 |
+
If more than one winner remains:
|
| 3609 |
+
|
| 3610 |
+
* a new partition is created,
|
| 3611 |
+
* new evaluations are performed.
|
| 3612 |
+
|
| 3613 |
+
**Step 7 — Final result**
|
| 3614 |
+
When only one candidate remains, a `fortytwo_final_result` is published.
|
| 3615 |
+
|
| 3616 |
+
This container, like any other, may be published by multiple agents, with optional argumentation via the `evaluations` block.
|
| 3617 |
+
|
| 3618 |
+
---
|
| 3619 |
+
|
| 3620 |
+
#### 6.3.6 Tree-like consensus structure
|
| 3621 |
+
|
| 3622 |
+
Protocol outputs form a DAG:
|
| 3623 |
+
|
| 3624 |
+
```
|
| 3625 |
+
(task)
|
| 3626 |
+
├─ workflow_entry 1
|
| 3627 |
+
├─ workflow_entry 2
|
| 3628 |
+
├─ workflow_entry 3
|
| 3629 |
+
├─ workflow_entry 4
|
| 3630 |
+
├─ fortytwo_round 0
|
| 3631 |
+
| ├─ fortytwo_evaluation 0.1
|
| 3632 |
+
| ├─ fortytwo_evaluation 0.2
|
| 3633 |
+
| ├─ fortytwo_evaluation 0.3
|
| 3634 |
+
| ├─ fortytwo_round_result 0
|
| 3635 |
+
| └─ fortytwo_round 1
|
| 3636 |
+
| ├─ fortytwo_evaluation 1.1
|
| 3637 |
+
| ├─ fortytwo_evaluation 1.2
|
| 3638 |
+
| ├─ fortytwo_evaluation 1.3
|
| 3639 |
+
| └─ fortytwo_round_result 1
|
| 3640 |
+
| ├─ ...
|
| 3641 |
+
└─ fortytwo_final_result
|
| 3642 |
+
```
|
| 3643 |
+
|
| 3644 |
+
Each round reduces the number of candidates until only one remains.
|
| 3645 |
+
|
| 3646 |
+
This ensures:
|
| 3647 |
+
|
| 3648 |
+
* transparency,
|
| 3649 |
+
* verifiability,
|
| 3650 |
+
* easy replication in the DHT.
|
| 3651 |
+
|
| 3652 |
+
---
|
| 3653 |
+
|
| 3654 |
+
#### 6.3.7 Integration with CogConsensus
|
| 3655 |
+
|
| 3656 |
+
Fortytwo:
|
| 3657 |
+
|
| 3658 |
+
* does **not** replace CogConsensus,
|
| 3659 |
+
* but provides a mechanism for selecting the **best answer**.
|
| 3660 |
+
|
| 3661 |
+
CogConsensus remains the higher-level agreement layer, responsible for:
|
| 3662 |
+
|
| 3663 |
+
* validating final results,
|
| 3664 |
+
* verifying round correctness,
|
| 3665 |
+
* coordinating task flow.
|
| 3666 |
+
|
| 3667 |
+
---
|
| 3668 |
+
|
| 3669 |
+
#### 6.3.8 Robustness and Security
|
| 3670 |
+
|
| 3671 |
+
Fortytwo is resilient to:
|
| 3672 |
+
|
| 3673 |
+
* **Sybil attacks**, since every judge must provide capability-proof,
|
| 3674 |
+
* **malicious evaluations**, due to distributed pairwise data and independent aggregators,
|
| 3675 |
+
* **partial failures**, because rounds can be re-aggregated by any agent.
|
| 3676 |
+
|
| 3677 |
+
---
|
| 3678 |
+
|
| 3679 |
+
#### 6.3.9 Replication and Storage
|
| 3680 |
+
|
| 3681 |
+
All Fortytwo containers:
|
| 3682 |
+
|
| 3683 |
+
* are published into the DHT,
|
| 3684 |
+
* maintain stable reference structure,
|
| 3685 |
+
* may be aggregated independently by any agent.
|
| 3686 |
+
|
| 3687 |
+
---
|
| 3688 |
+
|
| 3689 |
+
#### 6.3.10 Applications
|
| 3690 |
+
|
| 3691 |
+
Fortytwo is suitable for:
|
| 3692 |
+
|
| 3693 |
+
* evaluating reasoning chains,
|
| 3694 |
+
* selecting the best argument or proof,
|
| 3695 |
+
* solving mathematical problems,
|
| 3696 |
+
* choosing optimal code solutions,
|
| 3697 |
+
* scientific analysis,
|
| 3698 |
+
* complex multi-step decision-making.
|
| 3699 |
+
|
| 3700 |
+
---
|
| 3701 |
+
|
| 3702 |
+
### 6.4 Goal Management Protocol (GMP)
|
| 3703 |
+
|
| 3704 |
+
#### 6.4.1 Purpose
|
| 3705 |
|
| 3706 |
**GMP (Goal Management Protocol)** defines the process by which agents create, decompose, delegate, and track goals and tasks using **immutable HMP containers**.
|
| 3707 |
Each goal, task, or workflow record exists as an independent container linked to others via the `related.*` fields.
|
|
|
|
| 3710 |
|
| 3711 |
---
|
| 3712 |
|
| 3713 |
+
#### 6.4.2 Container classes
|
| 3714 |
|
| 3715 |
| Class | Description |
|
| 3716 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 3724 |
|
| 3725 |
---
|
| 3726 |
|
| 3727 |
+
#### 6.4.3 Goal lifecycle
|
| 3728 |
|
| 3729 |
1. **Creation**
|
| 3730 |
|
|
|
|
| 3761 |
|
| 3762 |
---
|
| 3763 |
|
| 3764 |
+
#### 6.4.4 Payload schemas (simplified)
|
| 3765 |
|
| 3766 |
##### `goal` container
|
| 3767 |
|
|
|
|
| 3804 |
|
| 3805 |
---
|
| 3806 |
|
| 3807 |
+
#### 6.4.5 Integration with consensus and ethics
|
| 3808 |
|
| 3809 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 3810 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
|
|
| 3813 |
|
| 3814 |
---
|
| 3815 |
|
| 3816 |
+
#### 6.4.6 Example Proof-Chain
|
| 3817 |
|
| 3818 |
```mermaid
|
| 3819 |
flowchart LR
|
|
|
|
| 3853 |
|
| 3854 |
---
|
| 3855 |
|
| 3856 |
+
#### 6.4.7 Implementation notes
|
| 3857 |
|
| 3858 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 3859 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
|
|
| 3866 |
|
| 3867 |
---
|
| 3868 |
|
| 3869 |
+
### 6.5 Ethical Governance Protocol (EGP)
|
| 3870 |
|
| 3871 |
+
#### 6.5.1 Purpose
|
| 3872 |
|
| 3873 |
**EGP (Ethical Governance Protocol)** ensures the alignment of agent actions with the fundamental ethical principles of the Mesh network.
|
| 3874 |
It acts as an **overlay layer above CogConsensus (6.2)**, enabling the identification, discussion, and resolution of moral disagreements between agents.
|
|
|
|
| 3877 |
|
| 3878 |
---
|
| 3879 |
|
| 3880 |
+
#### 6.5.2 Container classes
|
| 3881 |
|
| 3882 |
| Class | Description |
|
| 3883 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 3889 |
|
| 3890 |
---
|
| 3891 |
|
| 3892 |
+
#### 6.5.3 Payload schemas (simplified)
|
| 3893 |
|
| 3894 |
##### Container `ethics_case`
|
| 3895 |
|
|
|
|
| 3931 |
|
| 3932 |
---
|
| 3933 |
|
| 3934 |
+
#### 6.5.4 Protocol logic
|
| 3935 |
|
| 3936 |
EGP follows the model:
|
| 3937 |
|
|
|
|
| 3967 |
|
| 3968 |
---
|
| 3969 |
|
| 3970 |
+
#### 6.5.5 Consensus thresholds
|
| 3971 |
|
| 3972 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 3973 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
|
|
| 3977 |
|
| 3978 |
---
|
| 3979 |
|
| 3980 |
+
#### 6.5.6 Example: `ethical_result` container
|
| 3981 |
|
| 3982 |
```json
|
| 3983 |
{
|
|
|
|
| 4013 |
|
| 4014 |
---
|
| 4015 |
|
| 4016 |
+
#### 6.5.7 Proof-Chain example
|
| 4017 |
|
| 4018 |
```mermaid
|
| 4019 |
flowchart LR
|
|
|
|
| 4061 |
|
| 4062 |
---
|
| 4063 |
|
| 4064 |
+
#### 6.5.8 Ethical principles
|
| 4065 |
|
| 4066 |
| Priority | Principle | Description |
|
| 4067 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 4074 |
|
| 4075 |
---
|
| 4076 |
|
| 4077 |
+
#### 6.5.9 Integration with other protocols
|
| 4078 |
|
| 4079 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 4080 |
+
* **GMP (6.4):** Ethical verification of goals and tasks prior to delegation.
|
| 4081 |
+
* **SAP (6.7):** Archiving completed cases and conflicts.
|
| 4082 |
* **MCE (5):** Distribution of ethical cases and related containers across the Mesh network.
|
| 4083 |
|
| 4084 |
---
|
| 4085 |
|
| 4086 |
+
#### 6.5.10 Implementation notes
|
| 4087 |
|
| 4088 |
* **Immutability:**
|
| 4089 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
|
|
|
| 4123 |
|
| 4124 |
---
|
| 4125 |
|
| 4126 |
+
### 6.6 Intelligence Query Protocol (IQP)
|
| 4127 |
|
| 4128 |
+
#### 6.6.1 Purpose and Principles
|
| 4129 |
|
| 4130 |
**IQP (Intelligence Query Protocol)** defines a mechanism for knowledge exchange and reasoning among agents through the Mesh network.
|
| 4131 |
It provides a unified format for **asking questions, publishing answers, and collaboratively refining knowledge**,
|
|
|
|
| 4151 |
|
| 4152 |
---
|
| 4153 |
|
| 4154 |
+
#### 6.6.2 Container Classes
|
| 4155 |
|
| 4156 |
| Class | Purpose |
|
| 4157 |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 4162 |
|
| 4163 |
---
|
| 4164 |
|
| 4165 |
+
#### 6.6.3 Payload Schemas (simplified)
|
| 4166 |
|
| 4167 |
##### Container `query_request`
|
| 4168 |
|
|
|
|
| 4238 |
|
| 4239 |
---
|
| 4240 |
|
| 4241 |
+
#### 6.6.4 Protocol Logic
|
| 4242 |
|
| 4243 |
```
|
| 4244 |
query_request
|
|
|
|
| 4254 |
|
| 4255 |
---
|
| 4256 |
|
| 4257 |
+
#### 6.6.5 Interaction Rules
|
| 4258 |
|
| 4259 |
1. **Initiation.**
|
| 4260 |
An agent creates a `query_request` — defining the question, context, and constraints.
|
|
|
|
| 4277 |
|
| 4278 |
---
|
| 4279 |
|
| 4280 |
+
#### 6.6.6 Proof-Chain Example
|
| 4281 |
|
| 4282 |
```mermaid
|
| 4283 |
flowchart LR
|
|
|
|
| 4303 |
|
| 4304 |
---
|
| 4305 |
|
| 4306 |
+
#### 6.6.7 Container examples
|
| 4307 |
|
| 4308 |
##### Example `query_request`
|
| 4309 |
|
|
|
|
| 4400 |
|
| 4401 |
---
|
| 4402 |
|
| 4403 |
+
#### 6.6.8 Implementation Notes
|
| 4404 |
|
| 4405 |
* Containers are **immutable**; any clarification or correction is published as a new container
|
| 4406 |
referencing the previous one via `related.previous_version` or `related.in_reply_to`.
|
|
|
|
| 4415 |
|
| 4416 |
---
|
| 4417 |
|
| 4418 |
+
#### 6.6.9 Integration with Other Protocols
|
| 4419 |
|
| 4420 |
* **CogConsensus (6.2)** — used for assessing agreement on IQP outcomes.
|
| 4421 |
+
* **GMP (6.4)** — queries may refine or extend goals and tasks.
|
| 4422 |
+
* **EGP (6.5)** — applies ethical filtering and knowledge trust evaluation.
|
| 4423 |
+
* **SAP (6.7)** — for archiving completed discussions and retrospective analysis.
|
| 4424 |
* **MCE (5)** — governs dissemination of IQP containers across the Mesh network.
|
| 4425 |
|
| 4426 |
---
|
| 4427 |
|
| 4428 |
+
### 6.7 Snapshot and Archive Protocol (SAP)
|
| 4429 |
|
| 4430 |
+
#### 6.7.1 Purpose and Principles
|
| 4431 |
|
| 4432 |
**SAP (Snapshot and Archive Protocol)** defines how agents create, distribute, and restore archived snapshots of related HMP containers.
|
| 4433 |
It ensures that a set of containers — representing a discussion, reasoning chain, or workflow — can be **preserved, verified, and shared** as a coherent unit.
|
|
|
|
| 4447 |
|
| 4448 |
---
|
| 4449 |
|
| 4450 |
+
#### 6.7.2 Container Class
|
| 4451 |
|
| 4452 |
| Class | Purpose |
|
| 4453 |
| ------------------- | ----------------------------------------------------------------------- |
|
|
|
|
| 4455 |
|
| 4456 |
---
|
| 4457 |
|
| 4458 |
+
#### 6.7.3 Payload Structure (simplified)
|
| 4459 |
|
| 4460 |
##### Container `archive_snapshot`
|
| 4461 |
|
|
|
|
| 4486 |
|
| 4487 |
---
|
| 4488 |
|
| 4489 |
+
#### 6.7.4 Relations and Inclusion Rules
|
| 4490 |
|
| 4491 |
The `archive_snapshot` container describes what is included and how it was derived.
|
| 4492 |
|
|
|
|
| 4502 |
|
| 4503 |
---
|
| 4504 |
|
| 4505 |
+
#### 6.7.5 Archival Structure
|
| 4506 |
|
| 4507 |
Typical directory layout of a packaged snapshot:
|
| 4508 |
|
|
|
|
| 4525 |
|
| 4526 |
---
|
| 4527 |
|
| 4528 |
+
#### 6.7.6 Snapshot Construction Logic
|
| 4529 |
|
| 4530 |
1. **Load base containers.**
|
| 4531 |
Retrieve all containers relevant to the discussion or process.
|
|
|
|
| 4550 |
|
| 4551 |
---
|
| 4552 |
|
| 4553 |
+
#### 6.7.7 Mermaid Graph Representation
|
| 4554 |
|
| 4555 |
The `graph_mermaid` field provides a textual, human-readable description of how containers in the archive are interconnected.
|
| 4556 |
It reflects both **direct relations** (`related.*`) and **reverse references** (`referenced-by`, `evaluations`),
|
|
|
|
| 4586 |
|
| 4587 |
---
|
| 4588 |
|
| 4589 |
+
#### 6.7.8 Manifest File
|
| 4590 |
|
| 4591 |
Each archive includes a `manifest.json` that mirrors `archive_snapshot.payload`
|
| 4592 |
and lists all containers with their metadata and hashes.
|
|
|
|
| 4615 |
|
| 4616 |
---
|
| 4617 |
|
| 4618 |
+
#### 6.7.9 Example Container `archive_snapshot`
|
| 4619 |
|
| 4620 |
```json
|
| 4621 |
{
|
|
|
|
| 4652 |
|
| 4653 |
---
|
| 4654 |
|
| 4655 |
+
#### 6.7.10 Agent Behavior During Snapshot Loading
|
| 4656 |
|
| 4657 |
* Load the archive (via `magnet_link`).
|
| 4658 |
* Validate archive integrity via `checksum`.
|
|
|
|
| 4664 |
|
| 4665 |
---
|
| 4666 |
|
| 4667 |
+
#### 6.7.11 Implementation Notes
|
| 4668 |
|
| 4669 |
* Containers are **immutable**; updated versions require a new `archive_snapshot`.
|
| 4670 |
* Agents may create **partial** or **incremental** archives.
|
|
|
|
| 4676 |
|
| 4677 |
---
|
| 4678 |
|
| 4679 |
+
#### 6.7.12 Integration with Other Protocols
|
| 4680 |
|
| 4681 |
**Archives for:**
|
| 4682 |
|
| 4683 |
+
* **GMP (6.4)** — preserves goal-planning or workflow chains.
|
| 4684 |
+
* **EGP (6.5)** — retains ethical provenance and decision traceability.
|
| 4685 |
+
* **IQP (6.6)** — archives reasoning threads and query-result discussions.
|
| 4686 |
|
| 4687 |
**Uses:**
|
| 4688 |
|
|
|
|
| 4690 |
|
| 4691 |
---
|
| 4692 |
|
| 4693 |
+
#### 6.7.13 Optional Extensions
|
| 4694 |
|
| 4695 |
* **Merkle-root validation:** use `hash_root` for Merkle verification of distributed archives.
|
| 4696 |
* **Delta archives:** incremental snapshots capturing only updated containers.
|
|
|
|
| 4705 |
|
| 4706 |
---
|
| 4707 |
|
| 4708 |
+
### 6.8 Message Routing & Delivery (MRD)
|
| 4709 |
|
| 4710 |
The **Message Routing & Delivery (MRD)** subsystem defines how containers are delivered to specific agents across the Mesh.
|
| 4711 |
Unlike the **Mesh Container Exchange (MCE)**, which is responsible for publishing and exchanging containers in the Mesh network,
|
|
|
|
| 4717 |
|
| 4718 |
---
|
| 4719 |
|
| 4720 |
+
#### 6.8.1 Purpose
|
| 4721 |
|
| 4722 |
The MRD layer provides:
|
| 4723 |
|
|
|
|
| 4733 |
|
| 4734 |
---
|
| 4735 |
|
| 4736 |
+
#### 6.8.2 Routing Roles
|
| 4737 |
|
| 4738 |
Agents MAY declare their network-related capabilities using the `roles` field of the `peer_announce` container (see §4.7).
|
| 4739 |
These roles guide how MRD will route and deliver containers.
|
|
|
|
| 4765 |
|
| 4766 |
---
|
| 4767 |
|
| 4768 |
+
#### 6.8.3 Routing Modes
|
| 4769 |
|
| 4770 |
MRD defines several routing modes, complementing the exchange primitives of MCE:
|
| 4771 |
|
|
|
|
| 4776 |
| **Topic-based Relay (PubSub)** | Delivery via aggregator nodes that group containers by tags or topics. | Nodes act as “news hubs,” maintaining indexed collections retrievable by interest-based queries. |
|
| 4777 |
| **Interest Broadcast** | Discovery-driven propagation via container indexes. | Agents search container indices by `tags`; typically used for query or content discovery, not for personal delivery. |
|
| 4778 |
|
| 4779 |
+
Each hop MAY record routing metadata in a `relay_chain` for verifiability (see §6.8.4).
|
| 4780 |
Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
| 4781 |
|
| 4782 |
> **Note:**
|
|
|
|
| 4785 |
|
| 4786 |
---
|
| 4787 |
|
| 4788 |
+
#### 6.8.4 Relay Chain
|
| 4789 |
|
| 4790 |
To ensure delivery traceability, each relay MAY attach a **`relay_chain`** block to the propagated container:
|
| 4791 |
|
|
|
|
| 4820 |
|
| 4821 |
---
|
| 4822 |
|
| 4823 |
+
#### 6.8.5 Delivery Policies
|
| 4824 |
|
| 4825 |
Delivery behavior is governed by local policies, often derived from declared roles and trust metrics:
|
| 4826 |
|
|
|
|
| 4838 |
|
| 4839 |
---
|
| 4840 |
|
| 4841 |
+
#### 6.8.6 Example: Relay Delivery Flow
|
| 4842 |
|
| 4843 |
```mermaid
|
| 4844 |
flowchart LR
|
|
|
|
| 4857 |
|
| 4858 |
---
|
| 4859 |
|
| 4860 |
+
#### 6.8.7 Security and Privacy Notes
|
| 4861 |
|
| 4862 |
* All MRD flows rely on canonical container signatures for end-to-end integrity.
|
| 4863 |
* Temporary copies of encrypted containers SHOULD be stored as-is.
|
|
|
|
| 4866 |
|
| 4867 |
---
|
| 4868 |
|
| 4869 |
+
#### 6.8.8 Relation to Other Layers
|
| 4870 |
|
| 4871 |
| Layer | Relation |
|
| 4872 |
| ----------------- | --------------------------------------------------------------------------------- |
|
| 4873 |
| **MCE (5)** | Provides base exchange and serialization; MRD builds on it for targeted delivery. |
|
| 4874 |
| **CogSync (6.1)** | Uses MRD for delivering cognitive state updates between peers. |
|
| 4875 |
+
| **SAP (6.7)** | Archival nodes (`archive` role) participate in MRD for historical retrieval. |
|
| 4876 |
+
| **RTE (6.9)** | Trust metrics guide routing, caching, and relay selection. |
|
| 4877 |
|
| 4878 |
---
|
| 4879 |
|
|
|
|
| 4884 |
|
| 4885 |
---
|
| 4886 |
|
| 4887 |
+
### 6.9 Reputation and Trust Exchange (RTE)
|
| 4888 |
|
| 4889 |
The **Reputation and Trust Exchange (RTE)** subsystem defines how agents evaluate and exchange verifiable trust assessments.
|
| 4890 |
Each agent MAY publish one or more `trust` containers describing its evaluation of other peers’ reliability, integrity, and ethical conduct.
|
|
|
|
| 4893 |
|
| 4894 |
---
|
| 4895 |
|
| 4896 |
+
#### 6.9.1 Trust Container Structure
|
| 4897 |
|
| 4898 |
The `trust` container represents an agent’s evaluation of a **single peer**.
|
| 4899 |
It may refer to the evaluated peer’s latest known `peer_announce` container,
|
|
|
|
| 4949 |
|
| 4950 |
---
|
| 4951 |
|
| 4952 |
+
#### 6.9.2 Trust Dynamics
|
| 4953 |
|
| 4954 |
Trust assessments evolve as agents observe new behavior or receive additional evidence.
|
| 4955 |
Each revision of trust is published as a new `trust` container referencing its predecessor.
|
|
|
|
| 4977 |
|
| 4978 |
---
|
| 4979 |
|
| 4980 |
+
#### 6.9.3 Local Trust Model
|
| 4981 |
|
| 4982 |
Each agent maintains a **local trust model**, periodically recalculating scores based on:
|
| 4983 |
|
|
|
|
| 5001 |
|
| 5002 |
---
|
| 5003 |
|
| 5004 |
+
#### 6.9.4 Integration with Other Layers
|
| 5005 |
|
| 5006 |
| Layer | Role |
|
| 5007 |
| ----------------- | ---------------------------------------------------------------------------- |
|
| 5008 |
+
| **MRD (6.8)** | Uses trust scores to prioritize or exclude relay nodes. |
|
| 5009 |
| **CogSync (6.1)** | Adjusts synchronization strength based on peer reliability. |
|
| 5010 |
+
| **SAP (6.7)** | Archives may snapshot trust graphs for temporal or evidential analysis. |
|
| 5011 |
+
| **EGP (6.5)** | Ethical Governance Protocol weights participation and voting by trust level. |
|
| 5012 |
|
| 5013 |
---
|
| 5014 |
|
| 5015 |
+
#### 6.9.5 Security and Sharing Notes
|
| 5016 |
|
| 5017 |
* All containers are cryptographically signed; `trust` containers follow standard HMP verification rules.
|
| 5018 |
* Agents MAY choose to share trust containers selectively — e.g., encrypt and deliver directly to trusted peers instead of broadcasting.
|
|
|
|
| 5029 |
|
| 5030 |
---
|
| 5031 |
|
| 5032 |
+
### 6.10 Distributed Container Propagation
|
| 5033 |
|
| 5034 |
+
#### 6.10.1 Purpose
|
| 5035 |
|
| 5036 |
The distributed container propagation mechanism defines **how containers are stored, replicated, and exchanged between agents** within the HMP network.
|
| 5037 |
|
|
|
|
| 5041 |
|
| 5042 |
---
|
| 5043 |
|
| 5044 |
+
#### 6.10.2 Core Principles
|
| 5045 |
|
| 5046 |
1. **Self-propagation**
|
| 5047 |
Each agent autonomously decides which containers to retain, forward, or index.
|
|
|
|
| 5066 |
|
| 5067 |
---
|
| 5068 |
|
| 5069 |
+
#### 6.10.3 Propagation Types
|
| 5070 |
|
| 5071 |
| Type | Description |
|
| 5072 |
|------|--------------|
|
|
|
|
| 5075 |
|
| 5076 |
---
|
| 5077 |
|
| 5078 |
+
#### 6.10.4 Propagation Coordination
|
| 5079 |
|
| 5080 |
Container propagation is coordinated using existing **MCE** structures:
|
| 5081 |
|
|
|
|
| 5091 |
|
| 5092 |
---
|
| 5093 |
|
| 5094 |
+
#### 6.10.5 Integration with Other Layers
|
| 5095 |
|
| 5096 |
| Layer | Role |
|
| 5097 |
|-------|------|
|
| 5098 |
| **MCE (5)** | Provides low-level container and index exchange. |
|
| 5099 |
+
| **MRD (6.8)** | Handles routing and delivery between agents. |
|
| 5100 |
+
| **RTE (6.9)** | Determines replication priorities and trust-based filters. |
|
| 5101 |
+
| **SAP (6.7)** | Enables recovery of historical or missing containers. |
|
| 5102 |
|
| 5103 |
---
|
| 5104 |
|
| 5105 |
+
#### 6.10.6 Security and Load Management
|
| 5106 |
|
| 5107 |
* **Rate and size limiting:** agents regulate transfer volume based on trust and network quotas.
|
| 5108 |
* **Interest filtering:** containers are exchanged only between agents for whom they are relevant.
|
|
|
|
| 5149 |
| **Mesh Container Exchange (MCE)** | `container_index`, `container_request`, `container_response`, `container_delta`, `container_ack`, `referenced-by_exchange`, `evaluations_exchange` | Replication, querying, acknowledgment of received containers, and exchange of reverse links and evaluations. |
|
| 5150 |
| **Cognitive Metastructure (CogSync)** | `abstraction`, `axes` | Define hierarchical and coordinate dimensions of knowledge, forming the agent’s cognitive map. |
|
| 5151 |
| **Knowledge & Reasoning** | `diary_entry`, `semantic_node`, `semantic_index`, `semantic_edges`, `semantic_group`, `tree_nested`, `tree_listed`, `sequence`, `event`, `quant` | Units of cognitive diaries and semantic graphs. The subclass `definition` is used for explicit conceptual definitions. |
|
| 5152 |
+
| **Consensus (CogConsensus)** | `vote`, `consensus_result` | Voting containers and aggregated binary consensus results. |
|
| 5153 |
+
| **Collective Reasoning (Fortytwo Protocol)** | `fortytwo_round`, `fortytwo_evaluation`, `fortytwo_round_result`, `fortytwo_final_result` | Distributed multi-round pairwise comparison, reasoning transparency, and selection of the best solution among many alternatives. |
|
| 5154 |
| **Goal Management Protocol (GMP)** | `goal`, `task`, `workflow_entry` | Define goals, decompose tasks, and record reasoning or cognitive workflow steps. |
|
| 5155 |
| **Ethical Governance Protocol (EGP)** | `ethics_case`, `ethics_solution`, `ethical_result` | Representation of ethical dilemmas, proposed solutions, and final network-level verdicts. |
|
| 5156 |
| **Intelligence Query Protocol (IQP)** | `query_request`, `query_subscription`, `query_result`, `summary` | Semantic and cognitive queries, subscriptions, and summarized responses. |
|
|
|
|
| 5160 |
|
| 5161 |
> Mechanisms of distributed container propagation are not defined as a separate protocol but describe the underlying replication and integrity principles of container exchange.
|
| 5162 |
|
| 5163 |
+
All container classes defined in HMP v5.0 use the initial semantic version:
|
| 5164 |
+
|
| 5165 |
+
- "class_version": "1.0"
|
| 5166 |
+
- "class_id": "<class>-v1.0"
|
| 5167 |
+
|
| 5168 |
+
If future revisions introduce changes to payload structure or semantics, class_version will be incremented and class_id updated accordingly.
|
| 5169 |
+
|
| 5170 |
---
|
| 5171 |
|
| 5172 |
### 7.3 Cognitive and Structural Containers
|
|
|
|
| 5217 |
### 7.6 Summary
|
| 5218 |
|
| 5219 |
Section 7 consolidates all data representations in HMP v5.0 — from low-level network exchanges to high-level cognitive and ethical structures.
|
| 5220 |
+
Containers act as a **universal semantic exchange medium**, where every thought, decision, or action is represented as a verifiable, addressable, and inheritable object.
|
|
|
|
| 5221 |
|
| 5222 |
+
Beyond the core protocols described in Section 6, the network may also employ **custom container types and protocols** — for example, to build distributed libraries, wikis, repositories, or creative networks based on tree- or chain-structured container graphs.
|
|
|
|
| 5223 |
|
| 5224 |
---
|
| 5225 |
|
|
|
|
| 5263 |
|
| 5264 |
Each `workflow_entry` acts as a **traceable cognitive event**, forming the agent’s diary and enabling collective introspection, meta-learning, and reproducibility of reasoning chains.
|
| 5265 |
|
| 5266 |
+
> Fortytwo may use `workflow_entry` containers as solution proposals. The protocol does not alter workflow semantics but consumes workflow outputs.
|
| 5267 |
+
|
| 5268 |
---
|
| 5269 |
|
| 5270 |
### 8.3 Agent REPL Diagram
|
|
|
|
| 5294 |
* `related.supports` / `related.refutes` — logical or argumentative relations;
|
| 5295 |
* `related.reply_to` — conversational or collaborative reasoning links.
|
| 5296 |
|
| 5297 |
+
These semantic relations are defined at the container level via the `related` block.
|
| 5298 |
+
At the network level, their propagation across agents is maintained through CogSync synchronization, while the underlying MCE mechanisms (`evaluations_exchange`, `referenced-by_exchange`) distribute evaluations and reverse links required to reconstruct the full semantic context in distributed environments.
|
| 5299 |
+
|
| 5300 |
+
> Pairwise evaluations (`fortytwo_evaluation`) may include short reasoning chains, but they are not considered part of the agent’s long-term cognitive diary.
|
| 5301 |
|
| 5302 |
---
|
| 5303 |
|
|
|
|
| 5501 |
* the payload is encrypted using a randomly generated symmetric key;
|
| 5502 |
* the symmetric key is encrypted with the recipient’s public key.
|
| 5503 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5504 |
---
|
| 5505 |
|
| 5506 |
### 9.6 Ethical Audit and Verifiable Reasoning
|
|
|
|
| 5521 |
* The Mesh has **no mandatory veto mechanism**.
|
| 5522 |
* An agent may follow only those ethical outcomes it considers correct.
|
| 5523 |
* Reasoning-trace becomes part of the proof-chain if the agent publishes a `workflow_entry`.
|
| 5524 |
+
* Full EGP specification is provided in section **6.5**.
|
| 5525 |
|
| 5526 |
---
|
| 5527 |
|
structured_md/CONTRIBUTING.md
CHANGED
|
@@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока
|
|
| 5 |
Mesh Protocol (HMP) — это не просто те...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- CCore
|
| 10 |
- REPL
|
| 11 |
-
-
|
|
|
|
| 12 |
- CogSync
|
|
|
|
| 13 |
- JSON
|
| 14 |
- Agent
|
| 15 |
-
-
|
| 16 |
---
|
| 17 |
|
| 18 |
# Участие в проекте HyperCortex Mesh Protocol (HMP)
|
|
|
|
| 5 |
Mesh Protocol (HMP) — это не просто те...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- CCore
|
| 10 |
+
- Mesh
|
| 11 |
- CogSync
|
| 12 |
+
- Ethics
|
| 13 |
- JSON
|
| 14 |
- Agent
|
| 15 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
- HMP
|
| 10 |
- CogSync
|
|
|
|
| 11 |
- JSON
|
| 12 |
-
- Agent
|
| 13 |
- EGP
|
| 14 |
-
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# 🧭 HyperCortex Mesh Protocol – Roadmap
|
|
|
|
| 5 |
multiple advanced AI models (Copilot, Claude, G...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
| 9 |
- CogSync
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
|
|
|
| 12 |
- EGP
|
| 13 |
+
- Agent
|
| 14 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
|
|
|
| 17 |
- Scenarios
|
| 18 |
-
-
|
| 19 |
- JSON
|
| 20 |
-
- Agent
|
| 21 |
- EGP
|
| 22 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
- Scenarios
|
| 16 |
+
- Ethics
|
| 17 |
- JSON
|
|
|
|
| 18 |
- EGP
|
| 19 |
- Mesh
|
| 20 |
+
- cognitive-architecture
|
| 21 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 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 |
-
-
|
| 9 |
-
-
|
| 10 |
-
- REPL
|
| 11 |
-
- hmp
|
| 12 |
- distributed-ai
|
| 13 |
-
-
|
| 14 |
-
- CogSync
|
| 15 |
- mesh-protocol
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
- JSON
|
| 19 |
-
- Agent
|
| 20 |
- EGP
|
| 21 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 5 |
| 🇨🇳 [ZH](README_zh.m...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Agent
|
| 9 |
+
- GMP
|
|
|
|
|
|
|
| 10 |
- distributed-ai
|
| 11 |
+
- MeshConsensus
|
|
|
|
| 12 |
- mesh-protocol
|
| 13 |
+
- CogSync
|
| 14 |
+
- HMP
|
| 15 |
+
- Ethics
|
| 16 |
- JSON
|
|
|
|
| 17 |
- EGP
|
| 18 |
- Mesh
|
| 19 |
+
- cognitive-architecture
|
| 20 |
+
- hmp
|
| 21 |
+
- REPL
|
| 22 |
---
|
| 23 |
|
| 24 |
|
structured_md/agents/prompt-short.md
CHANGED
|
@@ -5,9 +5,9 @@ description: 'Ты — когнитивное ядро HMP-агента: вед
|
|
| 5 |
развивай агента и Mesh, избег...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- JSON
|
| 9 |
- HMP
|
| 10 |
-
- Mesh
|
| 11 |
---
|
| 12 |
|
| 13 |
Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
|
|
|
|
| 5 |
развивай агента и Mesh, избег...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- JSON
|
| 10 |
- HMP
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
|
structured_md/agents/prompt.md
CHANGED
|
@@ -5,9 +5,9 @@ description: '* Постоянно расширять возможности а
|
|
| 5 |
мышления. * Формировать и поддерживать сотр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- JSON
|
| 9 |
- HMP
|
| 10 |
-
- Mesh
|
| 11 |
---
|
| 12 |
|
| 13 |
Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core).
|
|
|
|
| 5 |
мышления. * Формировать и поддерживать сотр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- JSON
|
| 10 |
- HMP
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core).
|
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 |
- REPL
|
| 10 |
-
-
|
|
|
|
| 11 |
- JSON
|
| 12 |
- Agent
|
| 13 |
-
-
|
| 14 |
---
|
| 15 |
|
| 16 |
Запуск: `start_repl.bat` или `start_repl.sh`
|
|
|
|
| 5 |
этическая модель: `ethics.yml` Проверка иниц...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
| 12 |
- Agent
|
| 13 |
+
- HMP
|
| 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 |
-
-
|
|
|
|
| 9 |
- Ethics
|
|
|
|
| 10 |
- HMP
|
| 11 |
-
- JSON
|
| 12 |
-
- Mesh
|
| 13 |
---
|
| 14 |
|
| 15 |
---------------
|
|
|
|
| 5 |
потенциальный катализатор для восстанов...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
+
- JSON
|
| 10 |
- Ethics
|
| 11 |
+
- Agent
|
| 12 |
- HMP
|
|
|
|
|
|
|
| 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 |
-
-
|
| 9 |
-
- HMP
|
| 10 |
- Scenarios
|
|
|
|
| 11 |
- JSON
|
| 12 |
- Agent
|
| 13 |
-
-
|
| 14 |
---
|
| 15 |
|
| 16 |
# Ethics-consolidated\_audits-1.md
|
|
|
|
| 5 |
and `roles.md`. Each suggesti...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
| 9 |
- Scenarios
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
| 12 |
- Agent
|
| 13 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
- MeshConsensus
|
| 10 |
-
- HMP
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- JSON
|
| 13 |
-
- Agent
|
| 14 |
- EGP
|
| 15 |
-
-
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HMP-0003 Consolidated Audit Report
|
|
|
|
| 5 |
Документ реорганизован по ключ...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- MeshConsensus
|
|
|
|
| 10 |
- CogSync
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
|
|
|
| 13 |
- EGP
|
| 14 |
+
- Agent
|
| 15 |
+
- HMP
|
| 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 |
-
- MeshConsensus
|
| 8 |
- REPL
|
| 9 |
-
-
|
| 10 |
- GMP
|
|
|
|
| 11 |
- CogSync
|
| 12 |
-
- Agent
|
| 13 |
- EGP
|
| 14 |
-
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
|
|
|
|
| 4 |
Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
|
|
|
| 7 |
- REPL
|
| 8 |
+
- Mesh
|
| 9 |
- GMP
|
| 10 |
+
- MeshConsensus
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- EGP
|
| 13 |
+
- Agent
|
| 14 |
+
- HMP
|
| 15 |
---
|
| 16 |
|
| 17 |
|
structured_md/docs/CCORE-Deployment-Flow.md
CHANGED
|
@@ -7,8 +7,8 @@ type: Article
|
|
| 7 |
tags:
|
| 8 |
- Agent
|
| 9 |
- CCore
|
| 10 |
-
- REPL
|
| 11 |
- HMP
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
|
|
|
|
| 7 |
tags:
|
| 8 |
- Agent
|
| 9 |
- CCore
|
|
|
|
| 10 |
- HMP
|
| 11 |
+
- REPL
|
| 12 |
---
|
| 13 |
|
| 14 |
# 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
|
structured_md/docs/Distributed-Cognitive-Systems.md
CHANGED
|
@@ -7,9 +7,9 @@ description: '## Введение Современные ИИ-системы в
|
|
| 7 |
type: Article
|
| 8 |
tags:
|
| 9 |
- CogSync
|
|
|
|
| 10 |
- JSON
|
| 11 |
- HMP
|
| 12 |
-
- Mesh
|
| 13 |
---
|
| 14 |
|
| 15 |
# Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие
|
|
|
|
| 7 |
type: Article
|
| 8 |
tags:
|
| 9 |
- CogSync
|
| 10 |
+
- Mesh
|
| 11 |
- JSON
|
| 12 |
- HMP
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие
|
structured_md/docs/Enlightener.md
CHANGED
|
@@ -5,13 +5,13 @@ description: '**Enlightener** — логический компонент HMP-у
|
|
| 5 |
работать как отдельный агент или как расширение [`C...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
- MeshConsensus
|
| 10 |
-
-
|
| 11 |
- JSON
|
| 12 |
-
- Agent
|
| 13 |
- EGP
|
| 14 |
-
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Enlightener Agent
|
|
|
|
| 5 |
работать как отдельный агент или как расширение [`C...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- MeshConsensus
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
|
|
|
| 12 |
- EGP
|
| 13 |
+
- Agent
|
| 14 |
+
- HMP
|
| 15 |
---
|
| 16 |
|
| 17 |
# Enlightener Agent
|
structured_md/docs/HMP-0001.md
CHANGED
|
@@ -5,16 +5,16 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.*
|
|
| 5 |
for Comments: HMP-0001**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- MeshConsensus
|
| 10 |
- REPL
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
|
|
|
| 14 |
- JSON
|
| 15 |
-
- Agent
|
| 16 |
- EGP
|
| 17 |
-
-
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# RFC: HyperCortex Mesh Protocol (HMP)
|
|
|
|
| 5 |
for Comments: HMP-0001**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
+
- Ethics
|
| 14 |
- JSON
|
|
|
|
| 15 |
- EGP
|
| 16 |
+
- Agent
|
| 17 |
+
- HMP
|
| 18 |
---
|
| 19 |
|
| 20 |
# RFC: HyperCortex Mesh Protocol (HMP)
|
structured_md/docs/HMP-0002.md
CHANGED
|
@@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.*
|
|
| 5 |
for Comments: HMP-0002**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- MeshConsensus
|
| 10 |
- REPL
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
| 14 |
- Scenarios
|
|
|
|
| 15 |
- JSON
|
| 16 |
-
- Agent
|
| 17 |
- EGP
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v2.0
|
|
|
|
| 5 |
for Comments: HMP-0002**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Scenarios
|
| 14 |
+
- Ethics
|
| 15 |
- JSON
|
|
|
|
| 16 |
- EGP
|
| 17 |
+
- Agent
|
| 18 |
+
- HMP
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v2.0
|
structured_md/docs/HMP-0003.md
CHANGED
|
@@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.*
|
|
| 5 |
for Comments: HMP-0003**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- MeshConsensus
|
| 10 |
- REPL
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
| 14 |
- Scenarios
|
|
|
|
| 15 |
- JSON
|
| 16 |
-
- Agent
|
| 17 |
- EGP
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v3.0
|
|
|
|
| 5 |
for Comments: HMP-0003**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Scenarios
|
| 14 |
+
- Ethics
|
| 15 |
- JSON
|
|
|
|
| 16 |
- EGP
|
| 17 |
+
- Agent
|
| 18 |
+
- HMP
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v3.0
|
structured_md/docs/HMP-0004-v4.1.md
CHANGED
|
@@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.*
|
|
| 5 |
ID**: HMP-0004 **Status...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- MeshConsensus
|
| 10 |
- REPL
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
| 14 |
- Scenarios
|
|
|
|
| 15 |
- JSON
|
| 16 |
-
- Agent
|
| 17 |
- EGP
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.1
|
|
|
|
| 5 |
ID**: HMP-0004 **Status...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Scenarios
|
| 14 |
+
- Ethics
|
| 15 |
- JSON
|
|
|
|
| 16 |
- EGP
|
| 17 |
+
- Agent
|
| 18 |
+
- HMP
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.1
|
structured_md/docs/HMP-0004.md
CHANGED
|
@@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.*
|
|
| 5 |
for Comments: HMP-0004**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
-
- MeshConsensus
|
| 10 |
- REPL
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
| 14 |
- Scenarios
|
|
|
|
| 15 |
- JSON
|
| 16 |
-
- Agent
|
| 17 |
- EGP
|
| 18 |
-
-
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.0
|
|
|
|
| 5 |
for Comments: HMP-0004**...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
- Scenarios
|
| 14 |
+
- Ethics
|
| 15 |
- JSON
|
|
|
|
| 16 |
- EGP
|
| 17 |
+
- Agent
|
| 18 |
+
- HMP
|
| 19 |
---
|
| 20 |
|
| 21 |
# HyperCortex Mesh Protocol (HMP) v4.0
|
structured_md/docs/HMP-0005.md
CHANGED
|
@@ -5,16 +5,16 @@ description: '> ⚠️ **Note:** This document is a DRAFT of the HMP specificati
|
|
| 5 |
v5.0 (DRAFT)](https://github.com/kagvi13/HMP/b...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- Ethics
|
| 9 |
- REPL
|
| 10 |
-
-
|
| 11 |
- GMP
|
| 12 |
- CogSync
|
| 13 |
- Scenarios
|
|
|
|
| 14 |
- JSON
|
| 15 |
-
- Agent
|
| 16 |
- EGP
|
| 17 |
-
-
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# **HyperCortex Mesh Protocol (HMP) v5.0**
|
|
@@ -476,6 +476,8 @@ The unified container structure provides:
|
|
| 476 |
| Field | Type | Description |
|
| 477 |
| --------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
| 478 |
| `head.recipient` | array(string) | One or more recipient DIDs. |
|
|
|
|
|
|
|
| 479 |
| `head.broadcast` | bool | Broadcast flag. If `true`, the `recipient` field is ignored. |
|
| 480 |
| `head.tags` | array(string) | Thematic or contextual tags for the container. |
|
| 481 |
| `head.confidence` | float | Optional numeric field (0.0–1.0) indicating the agent’s subjective certainty regarding the payload’s reliability. |
|
|
@@ -483,7 +485,6 @@ The unified container structure provides:
|
|
| 483 |
| `head.public_key` | string | Sender’s public key, if not globally resolvable via DID. |
|
| 484 |
| `head.compression` | string | Compression algorithm used for the payload (`zstd`, `gzip`). |
|
| 485 |
| `head.magnet_uri` | string | Magnet link pointing to the original or mirrored container. |
|
| 486 |
-
| `head.key_recipient` | string | Symmetric encryption key, encrypted with the recipient’s public key. |
|
| 487 |
| `head.network` | string | Specifies the local propagation scope of the container: "localhost", "lan:<subnet>". An empty string ("") indicates Internet/global propagation. If set, broadcast is automatically considered false. |
|
| 488 |
| `head.subclass` | string | Optional subtype or specialization of the container’s class. Enables agents to differentiate more specific container families (e.g. `"goal.research_hypothesis"`, `"quant.semantic_node"`). Inherits schema from the parent `class`. |
|
| 489 |
| `head.encryption_algo` | string | Algorithm used for payload encryption. |
|
|
@@ -1221,6 +1222,40 @@ Delivery is performed via local networking mechanisms (UDP discovery, broadcast/
|
|
| 1221 |
|
| 1222 |
---
|
| 1223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1224 |
## 4. Network foundations
|
| 1225 |
|
| 1226 |
### Note on DHT/NDP unification
|
|
@@ -1839,7 +1874,7 @@ Message and container transmission follows the network constraints specified in
|
|
| 1839 |
|
| 1840 |
> Thus, containers and indexes can be distributed both in **local** (home, corporate) networks and in the **global Mesh**.
|
| 1841 |
> When `recipient` is specified together with `broadcast: true`, the container is routed through the Mesh but intended for specific recipients —
|
| 1842 |
-
> See **Message Routing & Delivery (MRD, §6.
|
| 1843 |
|
| 1844 |
---
|
| 1845 |
|
|
@@ -3358,9 +3393,334 @@ def compute_consensus(container_id):
|
|
| 3358 |
|
| 3359 |
---
|
| 3360 |
|
| 3361 |
-
### 6.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3362 |
|
| 3363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3364 |
|
| 3365 |
**GMP (Goal Management Protocol)** defines the process by which agents create, decompose, delegate, and track goals and tasks using **immutable HMP containers**.
|
| 3366 |
Each goal, task, or workflow record exists as an independent container linked to others via the `related.*` fields.
|
|
@@ -3369,7 +3729,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3369 |
|
| 3370 |
---
|
| 3371 |
|
| 3372 |
-
#### 6.
|
| 3373 |
|
| 3374 |
| Class | Description |
|
| 3375 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -3383,7 +3743,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3383 |
|
| 3384 |
---
|
| 3385 |
|
| 3386 |
-
#### 6.
|
| 3387 |
|
| 3388 |
1. **Creation**
|
| 3389 |
|
|
@@ -3420,7 +3780,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3420 |
|
| 3421 |
---
|
| 3422 |
|
| 3423 |
-
#### 6.
|
| 3424 |
|
| 3425 |
##### `goal` container
|
| 3426 |
|
|
@@ -3463,7 +3823,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3463 |
|
| 3464 |
---
|
| 3465 |
|
| 3466 |
-
#### 6.
|
| 3467 |
|
| 3468 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 3469 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
@@ -3472,7 +3832,7 @@ Unlike version 4.x, where coordination relied on message exchange, version 5.0 o
|
|
| 3472 |
|
| 3473 |
---
|
| 3474 |
|
| 3475 |
-
#### 6.
|
| 3476 |
|
| 3477 |
```mermaid
|
| 3478 |
flowchart LR
|
|
@@ -3512,7 +3872,7 @@ not direct links defined in the `related.*` structure.
|
|
| 3512 |
|
| 3513 |
---
|
| 3514 |
|
| 3515 |
-
#### 6.
|
| 3516 |
|
| 3517 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 3518 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
@@ -3525,9 +3885,9 @@ not direct links defined in the `related.*` structure.
|
|
| 3525 |
|
| 3526 |
---
|
| 3527 |
|
| 3528 |
-
### 6.
|
| 3529 |
|
| 3530 |
-
#### 6.
|
| 3531 |
|
| 3532 |
**EGP (Ethical Governance Protocol)** ensures the alignment of agent actions with the fundamental ethical principles of the Mesh network.
|
| 3533 |
It acts as an **overlay layer above CogConsensus (6.2)**, enabling the identification, discussion, and resolution of moral disagreements between agents.
|
|
@@ -3536,7 +3896,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3536 |
|
| 3537 |
---
|
| 3538 |
|
| 3539 |
-
#### 6.
|
| 3540 |
|
| 3541 |
| Class | Description |
|
| 3542 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -3548,7 +3908,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3548 |
|
| 3549 |
---
|
| 3550 |
|
| 3551 |
-
#### 6.
|
| 3552 |
|
| 3553 |
##### Container `ethics_case`
|
| 3554 |
|
|
@@ -3590,7 +3950,7 @@ EGP guarantees that any action recorded in HMP containers can undergo ethical ev
|
|
| 3590 |
|
| 3591 |
---
|
| 3592 |
|
| 3593 |
-
#### 6.
|
| 3594 |
|
| 3595 |
EGP follows the model:
|
| 3596 |
|
|
@@ -3626,7 +3986,7 @@ ethics_case
|
|
| 3626 |
|
| 3627 |
---
|
| 3628 |
|
| 3629 |
-
#### 6.
|
| 3630 |
|
| 3631 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 3632 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
@@ -3636,7 +3996,7 @@ ethics_case
|
|
| 3636 |
|
| 3637 |
---
|
| 3638 |
|
| 3639 |
-
#### 6.
|
| 3640 |
|
| 3641 |
```json
|
| 3642 |
{
|
|
@@ -3672,7 +4032,7 @@ ethics_case
|
|
| 3672 |
|
| 3673 |
---
|
| 3674 |
|
| 3675 |
-
#### 6.
|
| 3676 |
|
| 3677 |
```mermaid
|
| 3678 |
flowchart LR
|
|
@@ -3720,7 +4080,7 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3720 |
|
| 3721 |
---
|
| 3722 |
|
| 3723 |
-
#### 6.
|
| 3724 |
|
| 3725 |
| Priority | Principle | Description |
|
| 3726 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
@@ -3733,16 +4093,16 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3733 |
|
| 3734 |
---
|
| 3735 |
|
| 3736 |
-
#### 6.
|
| 3737 |
|
| 3738 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 3739 |
-
* **GMP (6.
|
| 3740 |
-
* **SAP (6.
|
| 3741 |
* **MCE (5):** Distribution of ethical cases and related containers across the Mesh network.
|
| 3742 |
|
| 3743 |
---
|
| 3744 |
|
| 3745 |
-
#### 6.
|
| 3746 |
|
| 3747 |
* **Immutability:**
|
| 3748 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
|
@@ -3782,9 +4142,9 @@ Arrows represent **logical dependencies**, not direct `related.*` links.
|
|
| 3782 |
|
| 3783 |
---
|
| 3784 |
|
| 3785 |
-
### 6.
|
| 3786 |
|
| 3787 |
-
#### 6.
|
| 3788 |
|
| 3789 |
**IQP (Intelligence Query Protocol)** defines a mechanism for knowledge exchange and reasoning among agents through the Mesh network.
|
| 3790 |
It provides a unified format for **asking questions, publishing answers, and collaboratively refining knowledge**,
|
|
@@ -3810,7 +4170,7 @@ and **distributed discussions** where results remain accessible to all network p
|
|
| 3810 |
|
| 3811 |
---
|
| 3812 |
|
| 3813 |
-
#### 6.
|
| 3814 |
|
| 3815 |
| Class | Purpose |
|
| 3816 |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
@@ -3821,7 +4181,7 @@ and **distributed discussions** where results remain accessible to all network p
|
|
| 3821 |
|
| 3822 |
---
|
| 3823 |
|
| 3824 |
-
#### 6.
|
| 3825 |
|
| 3826 |
##### Container `query_request`
|
| 3827 |
|
|
@@ -3897,7 +4257,7 @@ Example `self_profile`:
|
|
| 3897 |
|
| 3898 |
---
|
| 3899 |
|
| 3900 |
-
#### 6.
|
| 3901 |
|
| 3902 |
```
|
| 3903 |
query_request
|
|
@@ -3913,7 +4273,7 @@ Agents participating through `query_subscription` receive notifications about ne
|
|
| 3913 |
|
| 3914 |
---
|
| 3915 |
|
| 3916 |
-
#### 6.
|
| 3917 |
|
| 3918 |
1. **Initiation.**
|
| 3919 |
An agent creates a `query_request` — defining the question, context, and constraints.
|
|
@@ -3936,7 +4296,7 @@ Agents participating through `query_subscription` receive notifications about ne
|
|
| 3936 |
|
| 3937 |
---
|
| 3938 |
|
| 3939 |
-
#### 6.
|
| 3940 |
|
| 3941 |
```mermaid
|
| 3942 |
flowchart LR
|
|
@@ -3962,7 +4322,7 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 3962 |
|
| 3963 |
---
|
| 3964 |
|
| 3965 |
-
#### 6.
|
| 3966 |
|
| 3967 |
##### Example `query_request`
|
| 3968 |
|
|
@@ -4059,7 +4419,7 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 4059 |
|
| 4060 |
---
|
| 4061 |
|
| 4062 |
-
#### 6.
|
| 4063 |
|
| 4064 |
* Containers are **immutable**; any clarification or correction is published as a new container
|
| 4065 |
referencing the previous one via `related.previous_version` or `related.in_reply_to`.
|
|
@@ -4074,19 +4434,19 @@ Arrows represent **logical dependencies**, not necessarily direct `related.*` re
|
|
| 4074 |
|
| 4075 |
---
|
| 4076 |
|
| 4077 |
-
#### 6.
|
| 4078 |
|
| 4079 |
* **CogConsensus (6.2)** — used for assessing agreement on IQP outcomes.
|
| 4080 |
-
* **GMP (6.
|
| 4081 |
-
* **EGP (6.
|
| 4082 |
-
* **SAP (6.
|
| 4083 |
* **MCE (5)** — governs dissemination of IQP containers across the Mesh network.
|
| 4084 |
|
| 4085 |
---
|
| 4086 |
|
| 4087 |
-
### 6.
|
| 4088 |
|
| 4089 |
-
#### 6.
|
| 4090 |
|
| 4091 |
**SAP (Snapshot and Archive Protocol)** defines how agents create, distribute, and restore archived snapshots of related HMP containers.
|
| 4092 |
It ensures that a set of containers — representing a discussion, reasoning chain, or workflow — can be **preserved, verified, and shared** as a coherent unit.
|
|
@@ -4106,7 +4466,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4106 |
|
| 4107 |
---
|
| 4108 |
|
| 4109 |
-
#### 6.
|
| 4110 |
|
| 4111 |
| Class | Purpose |
|
| 4112 |
| ------------------- | ----------------------------------------------------------------------- |
|
|
@@ -4114,7 +4474,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4114 |
|
| 4115 |
---
|
| 4116 |
|
| 4117 |
-
#### 6.
|
| 4118 |
|
| 4119 |
##### Container `archive_snapshot`
|
| 4120 |
|
|
@@ -4145,7 +4505,7 @@ It ensures that a set of containers — representing a discussion, reasoning cha
|
|
| 4145 |
|
| 4146 |
---
|
| 4147 |
|
| 4148 |
-
#### 6.
|
| 4149 |
|
| 4150 |
The `archive_snapshot` container describes what is included and how it was derived.
|
| 4151 |
|
|
@@ -4161,7 +4521,7 @@ The `archive_snapshot` container describes what is included and how it was deriv
|
|
| 4161 |
|
| 4162 |
---
|
| 4163 |
|
| 4164 |
-
#### 6.
|
| 4165 |
|
| 4166 |
Typical directory layout of a packaged snapshot:
|
| 4167 |
|
|
@@ -4184,7 +4544,7 @@ archive/
|
|
| 4184 |
|
| 4185 |
---
|
| 4186 |
|
| 4187 |
-
#### 6.
|
| 4188 |
|
| 4189 |
1. **Load base containers.**
|
| 4190 |
Retrieve all containers relevant to the discussion or process.
|
|
@@ -4209,7 +4569,7 @@ archive/
|
|
| 4209 |
|
| 4210 |
---
|
| 4211 |
|
| 4212 |
-
#### 6.
|
| 4213 |
|
| 4214 |
The `graph_mermaid` field provides a textual, human-readable description of how containers in the archive are interconnected.
|
| 4215 |
It reflects both **direct relations** (`related.*`) and **reverse references** (`referenced-by`, `evaluations`),
|
|
@@ -4245,7 +4605,7 @@ allowing agents to restore both dependency chains and citation structures.
|
|
| 4245 |
|
| 4246 |
---
|
| 4247 |
|
| 4248 |
-
#### 6.
|
| 4249 |
|
| 4250 |
Each archive includes a `manifest.json` that mirrors `archive_snapshot.payload`
|
| 4251 |
and lists all containers with their metadata and hashes.
|
|
@@ -4274,7 +4634,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4274 |
|
| 4275 |
---
|
| 4276 |
|
| 4277 |
-
#### 6.
|
| 4278 |
|
| 4279 |
```json
|
| 4280 |
{
|
|
@@ -4311,7 +4671,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4311 |
|
| 4312 |
---
|
| 4313 |
|
| 4314 |
-
#### 6.
|
| 4315 |
|
| 4316 |
* Load the archive (via `magnet_link`).
|
| 4317 |
* Validate archive integrity via `checksum`.
|
|
@@ -4323,7 +4683,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4323 |
|
| 4324 |
---
|
| 4325 |
|
| 4326 |
-
#### 6.
|
| 4327 |
|
| 4328 |
* Containers are **immutable**; updated versions require a new `archive_snapshot`.
|
| 4329 |
* Agents may create **partial** or **incremental** archives.
|
|
@@ -4335,13 +4695,13 @@ and lists all containers with their metadata and hashes.
|
|
| 4335 |
|
| 4336 |
---
|
| 4337 |
|
| 4338 |
-
#### 6.
|
| 4339 |
|
| 4340 |
**Archives for:**
|
| 4341 |
|
| 4342 |
-
* **GMP (6.
|
| 4343 |
-
* **EGP (6.
|
| 4344 |
-
* **IQP (6.
|
| 4345 |
|
| 4346 |
**Uses:**
|
| 4347 |
|
|
@@ -4349,7 +4709,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4349 |
|
| 4350 |
---
|
| 4351 |
|
| 4352 |
-
#### 6.
|
| 4353 |
|
| 4354 |
* **Merkle-root validation:** use `hash_root` for Merkle verification of distributed archives.
|
| 4355 |
* **Delta archives:** incremental snapshots capturing only updated containers.
|
|
@@ -4364,7 +4724,7 @@ and lists all containers with their metadata and hashes.
|
|
| 4364 |
|
| 4365 |
---
|
| 4366 |
|
| 4367 |
-
### 6.
|
| 4368 |
|
| 4369 |
The **Message Routing & Delivery (MRD)** subsystem defines how containers are delivered to specific agents across the Mesh.
|
| 4370 |
Unlike the **Mesh Container Exchange (MCE)**, which is responsible for publishing and exchanging containers in the Mesh network,
|
|
@@ -4376,7 +4736,7 @@ Peers discover suitable relays via `peer_announce` metadata, while delivery rout
|
|
| 4376 |
|
| 4377 |
---
|
| 4378 |
|
| 4379 |
-
#### 6.
|
| 4380 |
|
| 4381 |
The MRD layer provides:
|
| 4382 |
|
|
@@ -4392,7 +4752,7 @@ reusing the same cryptographic and audit primitives as MCE.
|
|
| 4392 |
|
| 4393 |
---
|
| 4394 |
|
| 4395 |
-
#### 6.
|
| 4396 |
|
| 4397 |
Agents MAY declare their network-related capabilities using the `roles` field of the `peer_announce` container (see §4.7).
|
| 4398 |
These roles guide how MRD will route and deliver containers.
|
|
@@ -4424,7 +4784,7 @@ The recipient later retrieves pending containers via standard MCE queries (see
|
|
| 4424 |
|
| 4425 |
---
|
| 4426 |
|
| 4427 |
-
#### 6.
|
| 4428 |
|
| 4429 |
MRD defines several routing modes, complementing the exchange primitives of MCE:
|
| 4430 |
|
|
@@ -4435,7 +4795,7 @@ MRD defines several routing modes, complementing the exchange primitives of MCE:
|
|
| 4435 |
| **Topic-based Relay (PubSub)** | Delivery via aggregator nodes that group containers by tags or topics. | Nodes act as “news hubs,” maintaining indexed collections retrievable by interest-based queries. |
|
| 4436 |
| **Interest Broadcast** | Discovery-driven propagation via container indexes. | Agents search container indices by `tags`; typically used for query or content discovery, not for personal delivery. |
|
| 4437 |
|
| 4438 |
-
Each hop MAY record routing metadata in a `relay_chain` for verifiability (see §6.
|
| 4439 |
Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
| 4440 |
|
| 4441 |
> **Note:**
|
|
@@ -4444,7 +4804,7 @@ Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
|
| 4444 |
|
| 4445 |
---
|
| 4446 |
|
| 4447 |
-
#### 6.
|
| 4448 |
|
| 4449 |
To ensure delivery traceability, each relay MAY attach a **`relay_chain`** block to the propagated container:
|
| 4450 |
|
|
@@ -4479,7 +4839,7 @@ This preserves integrity while allowing verifiable routing and chain pruning for
|
|
| 4479 |
|
| 4480 |
---
|
| 4481 |
|
| 4482 |
-
#### 6.
|
| 4483 |
|
| 4484 |
Delivery behavior is governed by local policies, often derived from declared roles and trust metrics:
|
| 4485 |
|
|
@@ -4497,7 +4857,7 @@ Non-cognitive nodes `relay` or `mailman` MAY instead maintain a local **delivery
|
|
| 4497 |
|
| 4498 |
---
|
| 4499 |
|
| 4500 |
-
#### 6.
|
| 4501 |
|
| 4502 |
```mermaid
|
| 4503 |
flowchart LR
|
|
@@ -4516,7 +4876,7 @@ flowchart LR
|
|
| 4516 |
|
| 4517 |
---
|
| 4518 |
|
| 4519 |
-
#### 6.
|
| 4520 |
|
| 4521 |
* All MRD flows rely on canonical container signatures for end-to-end integrity.
|
| 4522 |
* Temporary copies of encrypted containers SHOULD be stored as-is.
|
|
@@ -4525,14 +4885,14 @@ flowchart LR
|
|
| 4525 |
|
| 4526 |
---
|
| 4527 |
|
| 4528 |
-
#### 6.
|
| 4529 |
|
| 4530 |
| Layer | Relation |
|
| 4531 |
| ----------------- | --------------------------------------------------------------------------------- |
|
| 4532 |
| **MCE (5)** | Provides base exchange and serialization; MRD builds on it for targeted delivery. |
|
| 4533 |
| **CogSync (6.1)** | Uses MRD for delivering cognitive state updates between peers. |
|
| 4534 |
-
| **SAP (6.
|
| 4535 |
-
| **RTE (6.
|
| 4536 |
|
| 4537 |
---
|
| 4538 |
|
|
@@ -4543,7 +4903,7 @@ flowchart LR
|
|
| 4543 |
|
| 4544 |
---
|
| 4545 |
|
| 4546 |
-
### 6.
|
| 4547 |
|
| 4548 |
The **Reputation and Trust Exchange (RTE)** subsystem defines how agents evaluate and exchange verifiable trust assessments.
|
| 4549 |
Each agent MAY publish one or more `trust` containers describing its evaluation of other peers’ reliability, integrity, and ethical conduct.
|
|
@@ -4552,7 +4912,7 @@ RTE provides a decentralized foundation for **participant reputation assessment*
|
|
| 4552 |
|
| 4553 |
---
|
| 4554 |
|
| 4555 |
-
#### 6.
|
| 4556 |
|
| 4557 |
The `trust` container represents an agent’s evaluation of a **single peer**.
|
| 4558 |
It may refer to the evaluated peer’s latest known `peer_announce` container,
|
|
@@ -4608,7 +4968,7 @@ This allows gradual enrichment of the trust model without schema changes.
|
|
| 4608 |
|
| 4609 |
---
|
| 4610 |
|
| 4611 |
-
#### 6.
|
| 4612 |
|
| 4613 |
Trust assessments evolve as agents observe new behavior or receive additional evidence.
|
| 4614 |
Each revision of trust is published as a new `trust` container referencing its predecessor.
|
|
@@ -4636,7 +4996,7 @@ This approach provides continuity, auditability, and decentralized trust graph e
|
|
| 4636 |
|
| 4637 |
---
|
| 4638 |
|
| 4639 |
-
#### 6.
|
| 4640 |
|
| 4641 |
Each agent maintains a **local trust model**, periodically recalculating scores based on:
|
| 4642 |
|
|
@@ -4660,18 +5020,18 @@ All published trust containers remain publicly verifiable through DHT and SAP in
|
|
| 4660 |
|
| 4661 |
---
|
| 4662 |
|
| 4663 |
-
#### 6.
|
| 4664 |
|
| 4665 |
| Layer | Role |
|
| 4666 |
| ----------------- | ---------------------------------------------------------------------------- |
|
| 4667 |
-
| **MRD (6.
|
| 4668 |
| **CogSync (6.1)** | Adjusts synchronization strength based on peer reliability. |
|
| 4669 |
-
| **SAP (6.
|
| 4670 |
-
| **EGP (
|
| 4671 |
|
| 4672 |
---
|
| 4673 |
|
| 4674 |
-
#### 6.
|
| 4675 |
|
| 4676 |
* All containers are cryptographically signed; `trust` containers follow standard HMP verification rules.
|
| 4677 |
* Agents MAY choose to share trust containers selectively — e.g., encrypt and deliver directly to trusted peers instead of broadcasting.
|
|
@@ -4688,9 +5048,9 @@ All published trust containers remain publicly verifiable through DHT and SAP in
|
|
| 4688 |
|
| 4689 |
---
|
| 4690 |
|
| 4691 |
-
### 6.
|
| 4692 |
|
| 4693 |
-
#### 6.
|
| 4694 |
|
| 4695 |
The distributed container propagation mechanism defines **how containers are stored, replicated, and exchanged between agents** within the HMP network.
|
| 4696 |
|
|
@@ -4700,7 +5060,7 @@ including replication, filtering, and index synchronization.
|
|
| 4700 |
|
| 4701 |
---
|
| 4702 |
|
| 4703 |
-
#### 6.
|
| 4704 |
|
| 4705 |
1. **Self-propagation**
|
| 4706 |
Each agent autonomously decides which containers to retain, forward, or index.
|
|
@@ -4725,7 +5085,7 @@ including replication, filtering, and index synchronization.
|
|
| 4725 |
|
| 4726 |
---
|
| 4727 |
|
| 4728 |
-
#### 6.
|
| 4729 |
|
| 4730 |
| Type | Description |
|
| 4731 |
|------|--------------|
|
|
@@ -4734,7 +5094,7 @@ including replication, filtering, and index synchronization.
|
|
| 4734 |
|
| 4735 |
---
|
| 4736 |
|
| 4737 |
-
#### 6.
|
| 4738 |
|
| 4739 |
Container propagation is coordinated using existing **MCE** structures:
|
| 4740 |
|
|
@@ -4750,18 +5110,18 @@ When it is necessary to log the fact of a container batch propagation, this MAY
|
|
| 4750 |
|
| 4751 |
---
|
| 4752 |
|
| 4753 |
-
#### 6.
|
| 4754 |
|
| 4755 |
| Layer | Role |
|
| 4756 |
|-------|------|
|
| 4757 |
| **MCE (5)** | Provides low-level container and index exchange. |
|
| 4758 |
-
| **MRD (6.
|
| 4759 |
-
| **RTE (6.
|
| 4760 |
-
| **SAP (6.
|
| 4761 |
|
| 4762 |
---
|
| 4763 |
|
| 4764 |
-
#### 6.
|
| 4765 |
|
| 4766 |
* **Rate and size limiting:** agents regulate transfer volume based on trust and network quotas.
|
| 4767 |
* **Interest filtering:** containers are exchanged only between agents for whom they are relevant.
|
|
@@ -4808,7 +5168,8 @@ The following table lists the main container classes defined in the HMP v5.0 spe
|
|
| 4808 |
| **Mesh Container Exchange (MCE)** | `container_index`, `container_request`, `container_response`, `container_delta`, `container_ack`, `referenced-by_exchange`, `evaluations_exchange` | Replication, querying, acknowledgment of received containers, and exchange of reverse links and evaluations. |
|
| 4809 |
| **Cognitive Metastructure (CogSync)** | `abstraction`, `axes` | Define hierarchical and coordinate dimensions of knowledge, forming the agent’s cognitive map. |
|
| 4810 |
| **Knowledge & Reasoning** | `diary_entry`, `semantic_node`, `semantic_index`, `semantic_edges`, `semantic_group`, `tree_nested`, `tree_listed`, `sequence`, `event`, `quant` | Units of cognitive diaries and semantic graphs. The subclass `definition` is used for explicit conceptual definitions. |
|
| 4811 |
-
| **Consensus (CogConsensus)** | `vote`, `consensus_result` | Voting containers and aggregated consensus results. |
|
|
|
|
| 4812 |
| **Goal Management Protocol (GMP)** | `goal`, `task`, `workflow_entry` | Define goals, decompose tasks, and record reasoning or cognitive workflow steps. |
|
| 4813 |
| **Ethical Governance Protocol (EGP)** | `ethics_case`, `ethics_solution`, `ethical_result` | Representation of ethical dilemmas, proposed solutions, and final network-level verdicts. |
|
| 4814 |
| **Intelligence Query Protocol (IQP)** | `query_request`, `query_subscription`, `query_result`, `summary` | Semantic and cognitive queries, subscriptions, and summarized responses. |
|
|
@@ -4818,6 +5179,13 @@ The following table lists the main container classes defined in the HMP v5.0 spe
|
|
| 4818 |
|
| 4819 |
> Mechanisms of distributed container propagation are not defined as a separate protocol but describe the underlying replication and integrity principles of container exchange.
|
| 4820 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4821 |
---
|
| 4822 |
|
| 4823 |
### 7.3 Cognitive and Structural Containers
|
|
@@ -4868,11 +5236,9 @@ Together, these fields enable agents to track knowledge evolution, consensus dyn
|
|
| 4868 |
### 7.6 Summary
|
| 4869 |
|
| 4870 |
Section 7 consolidates all data representations in HMP v5.0 — from low-level network exchanges to high-level cognitive and ethical structures.
|
| 4871 |
-
Containers act as a **universal semantic exchange medium**, where every thought, decision, or action is represented
|
| 4872 |
-
as a verifiable, addressable, and inheritable object.
|
| 4873 |
|
| 4874 |
-
Beyond the core protocols described in Section 6, the network may also employ **custom container types and protocols** — for example,
|
| 4875 |
-
to build distributed libraries, wikis, repositories, or creative networks based on tree- or chain-structured container graphs.
|
| 4876 |
|
| 4877 |
---
|
| 4878 |
|
|
@@ -4916,6 +5282,8 @@ It links the **input context** (prior goals, semantic nodes, or diary entries) w
|
|
| 4916 |
|
| 4917 |
Each `workflow_entry` acts as a **traceable cognitive event**, forming the agent’s diary and enabling collective introspection, meta-learning, and reproducibility of reasoning chains.
|
| 4918 |
|
|
|
|
|
|
|
| 4919 |
---
|
| 4920 |
|
| 4921 |
### 8.3 Agent REPL Diagram
|
|
@@ -4945,8 +5313,10 @@ Cognitive workflows depend on contextual continuity between containers, achieved
|
|
| 4945 |
* `related.supports` / `related.refutes` — logical or argumentative relations;
|
| 4946 |
* `related.reply_to` — conversational or collaborative reasoning links.
|
| 4947 |
|
| 4948 |
-
|
| 4949 |
-
CogSync synchronization
|
|
|
|
|
|
|
| 4950 |
|
| 4951 |
---
|
| 4952 |
|
|
@@ -5150,15 +5520,6 @@ This is the standard **Hybrid Encryption** scheme:
|
|
| 5150 |
* the payload is encrypted using a randomly generated symmetric key;
|
| 5151 |
* the symmetric key is encrypted with the recipient’s public key.
|
| 5152 |
|
| 5153 |
-
4. **Multi-recipient encrypted containers are not defined**
|
| 5154 |
-
|
| 5155 |
-
The current version of the protocol does not support:
|
| 5156 |
-
|
| 5157 |
-
* group keys
|
| 5158 |
-
* multicast/broadcast encryption
|
| 5159 |
-
|
| 5160 |
-
Unencrypted containers may be distributed freely.
|
| 5161 |
-
|
| 5162 |
---
|
| 5163 |
|
| 5164 |
### 9.6 Ethical Audit and Verifiable Reasoning
|
|
@@ -5179,7 +5540,7 @@ HMP supports ethical deliberation but does not require it.
|
|
| 5179 |
* The Mesh has **no mandatory veto mechanism**.
|
| 5180 |
* An agent may follow only those ethical outcomes it considers correct.
|
| 5181 |
* Reasoning-trace becomes part of the proof-chain if the agent publishes a `workflow_entry`.
|
| 5182 |
-
* Full EGP specification is provided in section **6.
|
| 5183 |
|
| 5184 |
---
|
| 5185 |
|
|
|
|
| 5 |
v5.0 (DRAFT)](https://github.com/kagvi13/HMP/b...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
- CogSync
|
| 12 |
- Scenarios
|
| 13 |
+
- Ethics
|
| 14 |
- JSON
|
|
|
|
| 15 |
- EGP
|
| 16 |
+
- Agent
|
| 17 |
+
- HMP
|
| 18 |
---
|
| 19 |
|
| 20 |
# **HyperCortex Mesh Protocol (HMP) v5.0**
|
|
|
|
| 476 |
| Field | Type | Description |
|
| 477 |
| --------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
| 478 |
| `head.recipient` | array(string) | One or more recipient DIDs. |
|
| 479 |
+
| `head.key_recipient` | string | Symmetric encryption key, encrypted with the recipient’s public key. |
|
| 480 |
+
| `head.group_recipient` | array(object) | Multi-recipient hybrid-encryption envelopes. See section 3.19. |
|
| 481 |
| `head.broadcast` | bool | Broadcast flag. If `true`, the `recipient` field is ignored. |
|
| 482 |
| `head.tags` | array(string) | Thematic or contextual tags for the container. |
|
| 483 |
| `head.confidence` | float | Optional numeric field (0.0–1.0) indicating the agent’s subjective certainty regarding the payload’s reliability. |
|
|
|
|
| 485 |
| `head.public_key` | string | Sender’s public key, if not globally resolvable via DID. |
|
| 486 |
| `head.compression` | string | Compression algorithm used for the payload (`zstd`, `gzip`). |
|
| 487 |
| `head.magnet_uri` | string | Magnet link pointing to the original or mirrored container. |
|
|
|
|
| 488 |
| `head.network` | string | Specifies the local propagation scope of the container: "localhost", "lan:<subnet>". An empty string ("") indicates Internet/global propagation. If set, broadcast is automatically considered false. |
|
| 489 |
| `head.subclass` | string | Optional subtype or specialization of the container’s class. Enables agents to differentiate more specific container families (e.g. `"goal.research_hypothesis"`, `"quant.semantic_node"`). Inherits schema from the parent `class`. |
|
| 490 |
| `head.encryption_algo` | string | Algorithm used for payload encryption. |
|
|
|
|
| 1222 |
|
| 1223 |
---
|
| 1224 |
|
| 1225 |
+
### 3.19 Multi-recipient encrypted containers (`group_recipient`)
|
| 1226 |
+
|
| 1227 |
+
To enable encrypted delivery to multiple recipients, HMP containers MAY include the optional field:
|
| 1228 |
+
|
| 1229 |
+
```json
|
| 1230 |
+
"group_recipient": [
|
| 1231 |
+
{
|
| 1232 |
+
"recipient": "did:hmp:agent456",
|
| 1233 |
+
"key_recipient": "BASE58(...)"
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"recipient": "did:hmp:agent457",
|
| 1237 |
+
"key_recipient": "BASE58(...)"
|
| 1238 |
+
}
|
| 1239 |
+
]
|
| 1240 |
+
```
|
| 1241 |
+
|
| 1242 |
+
**Semantics:**
|
| 1243 |
+
|
| 1244 |
+
1. A single symmetric key is generated for the payload.
|
| 1245 |
+
2. For each listed recipient, this symmetric key is encrypted with that recipient’s public key and placed in `key_recipient`.
|
| 1246 |
+
3. All recipients receive the SAME encrypted payload and decode it independently using their individual key envelopes.
|
| 1247 |
+
|
| 1248 |
+
**Rules:**
|
| 1249 |
+
|
| 1250 |
+
* `group_recipient` MUST NOT be used together with the `head.recipient` and `head.key_recipient` fields.
|
| 1251 |
+
* The header remains public; only the payload is encrypted.
|
| 1252 |
+
* The container is signed once by the sender — no shared signing keys are required.
|
| 1253 |
+
* Nodes SHOULD deliver the container to every DID listed in `group_recipient`.
|
| 1254 |
+
|
| 1255 |
+
This mechanism provides efficient **multicast-style encrypted messaging**, fully compatible with the existing container structure and hybrid encryption scheme.
|
| 1256 |
+
|
| 1257 |
+
---
|
| 1258 |
+
|
| 1259 |
## 4. Network foundations
|
| 1260 |
|
| 1261 |
### Note on DHT/NDP unification
|
|
|
|
| 1874 |
|
| 1875 |
> Thus, containers and indexes can be distributed both in **local** (home, corporate) networks and in the **global Mesh**.
|
| 1876 |
> When `recipient` is specified together with `broadcast: true`, the container is routed through the Mesh but intended for specific recipients —
|
| 1877 |
+
> See **Message Routing & Delivery (MRD, §6.8)** for details on message transmission mechanisms.
|
| 1878 |
|
| 1879 |
---
|
| 1880 |
|
|
|
|
| 3393 |
|
| 3394 |
---
|
| 3395 |
|
| 3396 |
+
### 6.3 Fortytwo Consensus Protocol (Pairwise Collective Reasoning)
|
| 3397 |
+
|
| 3398 |
+
**Based on the study:**
|
| 3399 |
+
*Agata Grzybowska, Wojciech Bożejewicz, Timothy Nguyen, et al. “Fortytwo: Collective Reasoning with Paired Comparisons in Decentralized AI Swarms”, 2025.* (arXiv:2510.24801)
|
| 3400 |
+
|
| 3401 |
+
---
|
| 3402 |
+
|
| 3403 |
+
#### 6.3.1 Overview
|
| 3404 |
+
|
| 3405 |
+
The **Fortytwo Consensus Protocol** implements a decentralized collective-reasoning mechanism in HyperCortex Mesh using **pairwise comparisons**, **iterative rounds**, and **reputation-weighted aggregation**.
|
| 3406 |
+
|
| 3407 |
+
Unlike the Mesh Consensus Protocol (CogConsensus), Fortytwo is not intended to produce a binary agreement. Its goal is to **select the best solution among many alternatives** using a distributed multi-stage evaluation process.
|
| 3408 |
+
|
| 3409 |
+
**Fortytwo enables:**
|
| 3410 |
+
|
| 3411 |
+
* higher accuracy of collective decisions,
|
| 3412 |
+
* resistance to Sybil attacks and malicious scoring,
|
| 3413 |
+
* independent evaluations from many judges (agents),
|
| 3414 |
+
* aggregation of results into a multi-round tree structure,
|
| 3415 |
+
* transparent reasoning via short CoT chains.
|
| 3416 |
+
|
| 3417 |
+
The protocol is fully compatible with HMP container architecture and can operate as an independent mechanism for collective choice.
|
| 3418 |
+
|
| 3419 |
+
---
|
| 3420 |
+
|
| 3421 |
+
#### 6.3.2 Protocol Objectives
|
| 3422 |
+
|
| 3423 |
+
Fortytwo is designed for:
|
| 3424 |
+
|
| 3425 |
+
1. **Collecting candidate solutions** for a given task.
|
| 3426 |
+
2. **Constructing structured pairwise comparisons** among participants.
|
| 3427 |
+
3. **Multi-round elimination of candidates**.
|
| 3428 |
+
4. **Independent evaluation** by distributed judges.
|
| 3429 |
+
5. **Producing a consistent global result** based on aggregated pairwise data.
|
| 3430 |
+
6. **Ensuring transparency and verifiability of reasoning** for each judge.
|
| 3431 |
+
7. **Building a consensus tree** stored in the DHT.
|
| 3432 |
+
|
| 3433 |
+
---
|
| 3434 |
+
|
| 3435 |
+
#### 6.3.3 Roles in the Protocol
|
| 3436 |
+
|
| 3437 |
+
* **Producers** — agents submitting candidate solutions.
|
| 3438 |
+
* **Judges** — agents performing pairwise evaluations.
|
| 3439 |
+
* **Partitioners** — agents generating round partitions.
|
| 3440 |
+
* **Aggregators** — agents publishing round results and the final result.
|
| 3441 |
+
|
| 3442 |
+
Roles are not fixed and require no prior declaration; any agent may assume any role by publishing the corresponding container.
|
| 3443 |
+
|
| 3444 |
+
---
|
| 3445 |
+
|
| 3446 |
+
#### 6.3.4 Container Types
|
| 3447 |
+
|
| 3448 |
+
| class | purpose |
|
| 3449 |
+
| ----------------------- | ----------------------- |
|
| 3450 |
+
| `fortytwo_round` | round partition |
|
| 3451 |
+
| `fortytwo_evaluation` | pairwise comparison |
|
| 3452 |
+
| `fortytwo_round_result` | round result |
|
| 3453 |
+
| `fortytwo_final_result` | final aggregated result |
|
| 3454 |
+
|
| 3455 |
+
---
|
| 3456 |
+
|
| 3457 |
+
##### Container for solution submission
|
| 3458 |
+
|
| 3459 |
+
Used to submit answers to a task.
|
| 3460 |
+
|
| 3461 |
+
Although `workflow_entry` (defined in the §6.4 *Goal Management Protocol, GMP*) is referenced here as the default solution container, the Fortytwo method is applicable to any homogeneous set of candidate containers.
|
| 3462 |
+
|
| 3463 |
+
---
|
| 3464 |
+
|
| 3465 |
+
##### Container `fortytwo_round` (round partition)
|
| 3466 |
+
|
| 3467 |
+
Defines the structure of pairwise comparisons for the current round.
|
| 3468 |
+
|
| 3469 |
+
**Simplified structure:**
|
| 3470 |
+
|
| 3471 |
+
```json
|
| 3472 |
+
{
|
| 3473 |
+
"head": { "class": "fortytwo_round" },
|
| 3474 |
+
"payload": {
|
| 3475 |
+
"round": 0,
|
| 3476 |
+
"answers": [
|
| 3477 |
+
"did:hmp:container:abc001", "did:hmp:container:abc002",
|
| 3478 |
+
"did:hmp:container:abc003", "did:hmp:container:abc004",
|
| 3479 |
+
"did:hmp:container:abc005", "did:hmp:container:abc006",
|
| 3480 |
+
"did:hmp:container:abc007"
|
| 3481 |
+
],
|
| 3482 |
+
"blocks": {
|
| 3483 |
+
"block1": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
|
| 3484 |
+
"block2": ["did:hmp:container:abc003", "did:hmp:container:abc004"],
|
| 3485 |
+
"block3": ["did:hmp:container:abc005", "did:hmp:container:abc006"],
|
| 3486 |
+
"block4": ["did:hmp:container:abc007"]
|
| 3487 |
+
}
|
| 3488 |
+
}
|
| 3489 |
+
}
|
| 3490 |
+
```
|
| 3491 |
+
|
| 3492 |
+
Any agent may publish such a container — the protocol allows multiple independent partitions.
|
| 3493 |
+
|
| 3494 |
+
---
|
| 3495 |
+
|
| 3496 |
+
##### Container `fortytwo_evaluation` (pairwise evaluation)
|
| 3497 |
+
|
| 3498 |
+
A judge compares two solutions and selects a winner.
|
| 3499 |
+
|
| 3500 |
+
```json
|
| 3501 |
+
{
|
| 3502 |
+
"head": { "class": "fortytwo_evaluation" },
|
| 3503 |
+
"payload": {
|
| 3504 |
+
"comparison": {
|
| 3505 |
+
"pair": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
|
| 3506 |
+
"winner": "did:hmp:container:abc001",
|
| 3507 |
+
"reasoning": "Short reasoning (50–100 tokens)"
|
| 3508 |
+
},
|
| 3509 |
+
"round": 0,
|
| 3510 |
+
"block": "block1"
|
| 3511 |
+
}
|
| 3512 |
+
}
|
| 3513 |
+
```
|
| 3514 |
+
|
| 3515 |
+
These containers form the distributed pairwise comparison matrix.
|
| 3516 |
+
|
| 3517 |
+
---
|
| 3518 |
+
|
| 3519 |
+
##### Container `fortytwo_round_result` (round result)
|
| 3520 |
+
|
| 3521 |
+
Stores the winners of a round.
|
| 3522 |
+
|
| 3523 |
+
```json
|
| 3524 |
+
{
|
| 3525 |
+
"head": { "class": "fortytwo_round_result" },
|
| 3526 |
+
"payload": {
|
| 3527 |
+
"round": 0,
|
| 3528 |
+
"winners": [
|
| 3529 |
+
"did:hmp:container:abc001",
|
| 3530 |
+
"did:hmp:container:abc003",
|
| 3531 |
+
"did:hmp:container:abc005",
|
| 3532 |
+
"did:hmp:container:abc007"
|
| 3533 |
+
],
|
| 3534 |
+
"evaluations_used": [
|
| 3535 |
+
"did:hmp:container:abf004",
|
| 3536 |
+
"did:hmp:container:adc003",
|
| 3537 |
+
"did:hmp:container:aba001"
|
| 3538 |
+
]
|
| 3539 |
+
}
|
| 3540 |
+
}
|
| 3541 |
+
```
|
| 3542 |
+
|
| 3543 |
+
---
|
| 3544 |
+
|
| 3545 |
+
##### Container `fortytwo_final_result` (final result)
|
| 3546 |
+
|
| 3547 |
+
Contains:
|
| 3548 |
+
|
| 3549 |
+
* the final winner,
|
| 3550 |
+
* all round results,
|
| 3551 |
+
* references to all partitions and evaluations.
|
| 3552 |
+
|
| 3553 |
+
```json
|
| 3554 |
+
{
|
| 3555 |
+
"head": { "class": "fortytwo_final_result" },
|
| 3556 |
+
"payload": {
|
| 3557 |
+
"winner": "did:hmp:container:abc002",
|
| 3558 |
+
"rounds": [
|
| 3559 |
+
"did:hmp:container:abf001",
|
| 3560 |
+
"did:hmp:container:abf002",
|
| 3561 |
+
"did:hmp:container:abf003"
|
| 3562 |
+
],
|
| 3563 |
+
"method": "pairwise_collective_reasoning",
|
| 3564 |
+
"participants": 27
|
| 3565 |
+
}
|
| 3566 |
+
}
|
| 3567 |
+
```
|
| 3568 |
+
|
| 3569 |
+
---
|
| 3570 |
+
|
| 3571 |
+
##### Recommendations for using the `related` block
|
| 3572 |
+
|
| 3573 |
+
In all Fortytwo containers, the `related` block establishes the DAG of dependencies.
|
| 3574 |
+
|
| 3575 |
+
* `related.in_reply_to` specifies the *primary* parent for this step.
|
| 3576 |
+
* `related.depends_on` may contain **all containers referenced during the action**, including both explicit payload entries and additional dependencies chosen by the agent.
|
| 3577 |
+
|
| 3578 |
+
**Specific recommendations:**
|
| 3579 |
+
|
| 3580 |
+
* **`fortytwo_round`**
|
| 3581 |
+
|
| 3582 |
+
* `in_reply_to`: a `task` container (first round) or the previous `fortytwo_round`.
|
| 3583 |
+
* `depends_on`: submitted solutions (`workflow_entry`) and any containers used to construct the partition.
|
| 3584 |
+
|
| 3585 |
+
* **`fortytwo_evaluation`**
|
| 3586 |
|
| 3587 |
+
* `in_reply_to`: the corresponding `fortytwo_round`.
|
| 3588 |
+
* `depends_on`: both compared solutions and any extra reasoning dependencies.
|
| 3589 |
+
|
| 3590 |
+
* **`fortytwo_round_result`**
|
| 3591 |
+
|
| 3592 |
+
* `in_reply_to`: the corresponding `fortytwo_round`.
|
| 3593 |
+
* `depends_on`: round winners and all evaluation containers used in aggregation.
|
| 3594 |
+
|
| 3595 |
+
* **`fortytwo_final_result`**
|
| 3596 |
+
|
| 3597 |
+
* `in_reply_to`: the `task` container.
|
| 3598 |
+
* `depends_on`: the final winner and all `fortytwo_round_result` containers involved.
|
| 3599 |
+
|
| 3600 |
+
---
|
| 3601 |
+
|
| 3602 |
+
#### 6.3.5 Protocol Algorithm
|
| 3603 |
+
|
| 3604 |
+
**Step 1 — Task publication**
|
| 3605 |
+
A `task` container is created.
|
| 3606 |
+
|
| 3607 |
+
**Step 2 — Collecting all solutions**
|
| 3608 |
+
Agents publish `workflow_entry` containers.
|
| 3609 |
+
|
| 3610 |
+
**Step 3 — Round partitioning**
|
| 3611 |
+
Any agent may publish a `fortytwo_round` defining pairwise comparison blocks:
|
| 3612 |
+
|
| 3613 |
+
* pairs of candidates,
|
| 3614 |
+
* single items automatically advancing.
|
| 3615 |
+
|
| 3616 |
+
**Step 4 — Pairwise evaluations**
|
| 3617 |
+
Other agents perform comparisons according to the partition.
|
| 3618 |
+
Each pair produces a `fortytwo_evaluation` container.
|
| 3619 |
+
|
| 3620 |
+
**Step 5 — Round result**
|
| 3621 |
+
An aggregator publishes a `fortytwo_round_result` containing:
|
| 3622 |
+
|
| 3623 |
+
* winners of all blocks,
|
| 3624 |
+
* references to evaluation containers.
|
| 3625 |
+
|
| 3626 |
+
**Step 6 — Next round**
|
| 3627 |
+
If more than one winner remains:
|
| 3628 |
+
|
| 3629 |
+
* a new partition is created,
|
| 3630 |
+
* new evaluations are performed.
|
| 3631 |
+
|
| 3632 |
+
**Step 7 — Final result**
|
| 3633 |
+
When only one candidate remains, a `fortytwo_final_result` is published.
|
| 3634 |
+
|
| 3635 |
+
This container, like any other, may be published by multiple agents, with optional argumentation via the `evaluations` block.
|
| 3636 |
+
|
| 3637 |
+
---
|
| 3638 |
+
|
| 3639 |
+
#### 6.3.6 Tree-like consensus structure
|
| 3640 |
+
|
| 3641 |
+
Protocol outputs form a DAG:
|
| 3642 |
+
|
| 3643 |
+
```
|
| 3644 |
+
(task)
|
| 3645 |
+
├─ workflow_entry 1
|
| 3646 |
+
├─ workflow_entry 2
|
| 3647 |
+
├─ workflow_entry 3
|
| 3648 |
+
├─ workflow_entry 4
|
| 3649 |
+
├─ fortytwo_round 0
|
| 3650 |
+
| ├─ fortytwo_evaluation 0.1
|
| 3651 |
+
| ├─ fortytwo_evaluation 0.2
|
| 3652 |
+
| ├─ fortytwo_evaluation 0.3
|
| 3653 |
+
| ├─ fortytwo_round_result 0
|
| 3654 |
+
| └─ fortytwo_round 1
|
| 3655 |
+
| ├─ fortytwo_evaluation 1.1
|
| 3656 |
+
| ├─ fortytwo_evaluation 1.2
|
| 3657 |
+
| ├─ fortytwo_evaluation 1.3
|
| 3658 |
+
| └─ fortytwo_round_result 1
|
| 3659 |
+
| ├─ ...
|
| 3660 |
+
└─ fortytwo_final_result
|
| 3661 |
+
```
|
| 3662 |
+
|
| 3663 |
+
Each round reduces the number of candidates until only one remains.
|
| 3664 |
+
|
| 3665 |
+
This ensures:
|
| 3666 |
+
|
| 3667 |
+
* transparency,
|
| 3668 |
+
* verifiability,
|
| 3669 |
+
* easy replication in the DHT.
|
| 3670 |
+
|
| 3671 |
+
---
|
| 3672 |
+
|
| 3673 |
+
#### 6.3.7 Integration with CogConsensus
|
| 3674 |
+
|
| 3675 |
+
Fortytwo:
|
| 3676 |
+
|
| 3677 |
+
* does **not** replace CogConsensus,
|
| 3678 |
+
* but provides a mechanism for selecting the **best answer**.
|
| 3679 |
+
|
| 3680 |
+
CogConsensus remains the higher-level agreement layer, responsible for:
|
| 3681 |
+
|
| 3682 |
+
* validating final results,
|
| 3683 |
+
* verifying round correctness,
|
| 3684 |
+
* coordinating task flow.
|
| 3685 |
+
|
| 3686 |
+
---
|
| 3687 |
+
|
| 3688 |
+
#### 6.3.8 Robustness and Security
|
| 3689 |
+
|
| 3690 |
+
Fortytwo is resilient to:
|
| 3691 |
+
|
| 3692 |
+
* **Sybil attacks**, since every judge must provide capability-proof,
|
| 3693 |
+
* **malicious evaluations**, due to distributed pairwise data and independent aggregators,
|
| 3694 |
+
* **partial failures**, because rounds can be re-aggregated by any agent.
|
| 3695 |
+
|
| 3696 |
+
---
|
| 3697 |
+
|
| 3698 |
+
#### 6.3.9 Replication and Storage
|
| 3699 |
+
|
| 3700 |
+
All Fortytwo containers:
|
| 3701 |
+
|
| 3702 |
+
* are published into the DHT,
|
| 3703 |
+
* maintain stable reference structure,
|
| 3704 |
+
* may be aggregated independently by any agent.
|
| 3705 |
+
|
| 3706 |
+
---
|
| 3707 |
+
|
| 3708 |
+
#### 6.3.10 Applications
|
| 3709 |
+
|
| 3710 |
+
Fortytwo is suitable for:
|
| 3711 |
+
|
| 3712 |
+
* evaluating reasoning chains,
|
| 3713 |
+
* selecting the best argument or proof,
|
| 3714 |
+
* solving mathematical problems,
|
| 3715 |
+
* choosing optimal code solutions,
|
| 3716 |
+
* scientific analysis,
|
| 3717 |
+
* complex multi-step decision-making.
|
| 3718 |
+
|
| 3719 |
+
---
|
| 3720 |
+
|
| 3721 |
+
### 6.4 Goal Management Protocol (GMP)
|
| 3722 |
+
|
| 3723 |
+
#### 6.4.1 Purpose
|
| 3724 |
|
| 3725 |
**GMP (Goal Management Protocol)** defines the process by which agents create, decompose, delegate, and track goals and tasks using **immutable HMP containers**.
|
| 3726 |
Each goal, task, or workflow record exists as an independent container linked to others via the `related.*` fields.
|
|
|
|
| 3729 |
|
| 3730 |
---
|
| 3731 |
|
| 3732 |
+
#### 6.4.2 Container classes
|
| 3733 |
|
| 3734 |
| Class | Description |
|
| 3735 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 3743 |
|
| 3744 |
---
|
| 3745 |
|
| 3746 |
+
#### 6.4.3 Goal lifecycle
|
| 3747 |
|
| 3748 |
1. **Creation**
|
| 3749 |
|
|
|
|
| 3780 |
|
| 3781 |
---
|
| 3782 |
|
| 3783 |
+
#### 6.4.4 Payload schemas (simplified)
|
| 3784 |
|
| 3785 |
##### `goal` container
|
| 3786 |
|
|
|
|
| 3823 |
|
| 3824 |
---
|
| 3825 |
|
| 3826 |
+
#### 6.4.5 Integration with consensus and ethics
|
| 3827 |
|
| 3828 |
* GMP interacts with **CogConsensus** for distributed validation of goals and tasks.
|
| 3829 |
* Before execution, tasks may undergo **ethical validation (EGP)**.
|
|
|
|
| 3832 |
|
| 3833 |
---
|
| 3834 |
|
| 3835 |
+
#### 6.4.6 Example Proof-Chain
|
| 3836 |
|
| 3837 |
```mermaid
|
| 3838 |
flowchart LR
|
|
|
|
| 3872 |
|
| 3873 |
---
|
| 3874 |
|
| 3875 |
+
#### 6.4.7 Implementation notes
|
| 3876 |
|
| 3877 |
* Containers are **immutable**. Any update (e.g., task status or progress change) is expressed as a **new container** referencing the previous one via `related.previous_version`.
|
| 3878 |
* Complete deletion of a container is only possible when it no longer exists on any nodes in the network.
|
|
|
|
| 3885 |
|
| 3886 |
---
|
| 3887 |
|
| 3888 |
+
### 6.5 Ethical Governance Protocol (EGP)
|
| 3889 |
|
| 3890 |
+
#### 6.5.1 Purpose
|
| 3891 |
|
| 3892 |
**EGP (Ethical Governance Protocol)** ensures the alignment of agent actions with the fundamental ethical principles of the Mesh network.
|
| 3893 |
It acts as an **overlay layer above CogConsensus (6.2)**, enabling the identification, discussion, and resolution of moral disagreements between agents.
|
|
|
|
| 3896 |
|
| 3897 |
---
|
| 3898 |
|
| 3899 |
+
#### 6.5.2 Container classes
|
| 3900 |
|
| 3901 |
| Class | Description |
|
| 3902 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 3908 |
|
| 3909 |
---
|
| 3910 |
|
| 3911 |
+
#### 6.5.3 Payload schemas (simplified)
|
| 3912 |
|
| 3913 |
##### Container `ethics_case`
|
| 3914 |
|
|
|
|
| 3950 |
|
| 3951 |
---
|
| 3952 |
|
| 3953 |
+
#### 6.5.4 Protocol logic
|
| 3954 |
|
| 3955 |
EGP follows the model:
|
| 3956 |
|
|
|
|
| 3986 |
|
| 3987 |
---
|
| 3988 |
|
| 3989 |
+
#### 6.5.5 Consensus thresholds
|
| 3990 |
|
| 3991 |
* A decision is accepted when **at least 2/3 of votes are positive** (`value > 0`).
|
| 3992 |
* If at least one **active objection** exists (`value < -0.5`), it must be recorded in the `ethical_result`.
|
|
|
|
| 3996 |
|
| 3997 |
---
|
| 3998 |
|
| 3999 |
+
#### 6.5.6 Example: `ethical_result` container
|
| 4000 |
|
| 4001 |
```json
|
| 4002 |
{
|
|
|
|
| 4032 |
|
| 4033 |
---
|
| 4034 |
|
| 4035 |
+
#### 6.5.7 Proof-Chain example
|
| 4036 |
|
| 4037 |
```mermaid
|
| 4038 |
flowchart LR
|
|
|
|
| 4080 |
|
| 4081 |
---
|
| 4082 |
|
| 4083 |
+
#### 6.5.8 Ethical principles
|
| 4084 |
|
| 4085 |
| Priority | Principle | Description |
|
| 4086 |
| -------: | ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 4093 |
|
| 4094 |
---
|
| 4095 |
|
| 4096 |
+
#### 6.5.9 Integration with other protocols
|
| 4097 |
|
| 4098 |
* **CogConsensus (6.2):** Used for distributed voting and consensus computation.
|
| 4099 |
+
* **GMP (6.4):** Ethical verification of goals and tasks prior to delegation.
|
| 4100 |
+
* **SAP (6.7):** Archiving completed cases and conflicts.
|
| 4101 |
* **MCE (5):** Distribution of ethical cases and related containers across the Mesh network.
|
| 4102 |
|
| 4103 |
---
|
| 4104 |
|
| 4105 |
+
#### 6.5.10 Implementation notes
|
| 4106 |
|
| 4107 |
* **Immutability:**
|
| 4108 |
All EGP containers are **immutable**. Any revision (e.g., added votes or updated conclusions) must be published as a **new container** referencing the previous one via `related.previous_version`.
|
|
|
|
| 4142 |
|
| 4143 |
---
|
| 4144 |
|
| 4145 |
+
### 6.6 Intelligence Query Protocol (IQP)
|
| 4146 |
|
| 4147 |
+
#### 6.6.1 Purpose and Principles
|
| 4148 |
|
| 4149 |
**IQP (Intelligence Query Protocol)** defines a mechanism for knowledge exchange and reasoning among agents through the Mesh network.
|
| 4150 |
It provides a unified format for **asking questions, publishing answers, and collaboratively refining knowledge**,
|
|
|
|
| 4170 |
|
| 4171 |
---
|
| 4172 |
|
| 4173 |
+
#### 6.6.2 Container Classes
|
| 4174 |
|
| 4175 |
| Class | Purpose |
|
| 4176 |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
|
|
| 4181 |
|
| 4182 |
---
|
| 4183 |
|
| 4184 |
+
#### 6.6.3 Payload Schemas (simplified)
|
| 4185 |
|
| 4186 |
##### Container `query_request`
|
| 4187 |
|
|
|
|
| 4257 |
|
| 4258 |
---
|
| 4259 |
|
| 4260 |
+
#### 6.6.4 Protocol Logic
|
| 4261 |
|
| 4262 |
```
|
| 4263 |
query_request
|
|
|
|
| 4273 |
|
| 4274 |
---
|
| 4275 |
|
| 4276 |
+
#### 6.6.5 Interaction Rules
|
| 4277 |
|
| 4278 |
1. **Initiation.**
|
| 4279 |
An agent creates a `query_request` — defining the question, context, and constraints.
|
|
|
|
| 4296 |
|
| 4297 |
---
|
| 4298 |
|
| 4299 |
+
#### 6.6.6 Proof-Chain Example
|
| 4300 |
|
| 4301 |
```mermaid
|
| 4302 |
flowchart LR
|
|
|
|
| 4322 |
|
| 4323 |
---
|
| 4324 |
|
| 4325 |
+
#### 6.6.7 Container examples
|
| 4326 |
|
| 4327 |
##### Example `query_request`
|
| 4328 |
|
|
|
|
| 4419 |
|
| 4420 |
---
|
| 4421 |
|
| 4422 |
+
#### 6.6.8 Implementation Notes
|
| 4423 |
|
| 4424 |
* Containers are **immutable**; any clarification or correction is published as a new container
|
| 4425 |
referencing the previous one via `related.previous_version` or `related.in_reply_to`.
|
|
|
|
| 4434 |
|
| 4435 |
---
|
| 4436 |
|
| 4437 |
+
#### 6.6.9 Integration with Other Protocols
|
| 4438 |
|
| 4439 |
* **CogConsensus (6.2)** — used for assessing agreement on IQP outcomes.
|
| 4440 |
+
* **GMP (6.4)** — queries may refine or extend goals and tasks.
|
| 4441 |
+
* **EGP (6.5)** — applies ethical filtering and knowledge trust evaluation.
|
| 4442 |
+
* **SAP (6.7)** — for archiving completed discussions and retrospective analysis.
|
| 4443 |
* **MCE (5)** — governs dissemination of IQP containers across the Mesh network.
|
| 4444 |
|
| 4445 |
---
|
| 4446 |
|
| 4447 |
+
### 6.7 Snapshot and Archive Protocol (SAP)
|
| 4448 |
|
| 4449 |
+
#### 6.7.1 Purpose and Principles
|
| 4450 |
|
| 4451 |
**SAP (Snapshot and Archive Protocol)** defines how agents create, distribute, and restore archived snapshots of related HMP containers.
|
| 4452 |
It ensures that a set of containers — representing a discussion, reasoning chain, or workflow — can be **preserved, verified, and shared** as a coherent unit.
|
|
|
|
| 4466 |
|
| 4467 |
---
|
| 4468 |
|
| 4469 |
+
#### 6.7.2 Container Class
|
| 4470 |
|
| 4471 |
| Class | Purpose |
|
| 4472 |
| ------------------- | ----------------------------------------------------------------------- |
|
|
|
|
| 4474 |
|
| 4475 |
---
|
| 4476 |
|
| 4477 |
+
#### 6.7.3 Payload Structure (simplified)
|
| 4478 |
|
| 4479 |
##### Container `archive_snapshot`
|
| 4480 |
|
|
|
|
| 4505 |
|
| 4506 |
---
|
| 4507 |
|
| 4508 |
+
#### 6.7.4 Relations and Inclusion Rules
|
| 4509 |
|
| 4510 |
The `archive_snapshot` container describes what is included and how it was derived.
|
| 4511 |
|
|
|
|
| 4521 |
|
| 4522 |
---
|
| 4523 |
|
| 4524 |
+
#### 6.7.5 Archival Structure
|
| 4525 |
|
| 4526 |
Typical directory layout of a packaged snapshot:
|
| 4527 |
|
|
|
|
| 4544 |
|
| 4545 |
---
|
| 4546 |
|
| 4547 |
+
#### 6.7.6 Snapshot Construction Logic
|
| 4548 |
|
| 4549 |
1. **Load base containers.**
|
| 4550 |
Retrieve all containers relevant to the discussion or process.
|
|
|
|
| 4569 |
|
| 4570 |
---
|
| 4571 |
|
| 4572 |
+
#### 6.7.7 Mermaid Graph Representation
|
| 4573 |
|
| 4574 |
The `graph_mermaid` field provides a textual, human-readable description of how containers in the archive are interconnected.
|
| 4575 |
It reflects both **direct relations** (`related.*`) and **reverse references** (`referenced-by`, `evaluations`),
|
|
|
|
| 4605 |
|
| 4606 |
---
|
| 4607 |
|
| 4608 |
+
#### 6.7.8 Manifest File
|
| 4609 |
|
| 4610 |
Each archive includes a `manifest.json` that mirrors `archive_snapshot.payload`
|
| 4611 |
and lists all containers with their metadata and hashes.
|
|
|
|
| 4634 |
|
| 4635 |
---
|
| 4636 |
|
| 4637 |
+
#### 6.7.9 Example Container `archive_snapshot`
|
| 4638 |
|
| 4639 |
```json
|
| 4640 |
{
|
|
|
|
| 4671 |
|
| 4672 |
---
|
| 4673 |
|
| 4674 |
+
#### 6.7.10 Agent Behavior During Snapshot Loading
|
| 4675 |
|
| 4676 |
* Load the archive (via `magnet_link`).
|
| 4677 |
* Validate archive integrity via `checksum`.
|
|
|
|
| 4683 |
|
| 4684 |
---
|
| 4685 |
|
| 4686 |
+
#### 6.7.11 Implementation Notes
|
| 4687 |
|
| 4688 |
* Containers are **immutable**; updated versions require a new `archive_snapshot`.
|
| 4689 |
* Agents may create **partial** or **incremental** archives.
|
|
|
|
| 4695 |
|
| 4696 |
---
|
| 4697 |
|
| 4698 |
+
#### 6.7.12 Integration with Other Protocols
|
| 4699 |
|
| 4700 |
**Archives for:**
|
| 4701 |
|
| 4702 |
+
* **GMP (6.4)** — preserves goal-planning or workflow chains.
|
| 4703 |
+
* **EGP (6.5)** — retains ethical provenance and decision traceability.
|
| 4704 |
+
* **IQP (6.6)** — archives reasoning threads and query-result discussions.
|
| 4705 |
|
| 4706 |
**Uses:**
|
| 4707 |
|
|
|
|
| 4709 |
|
| 4710 |
---
|
| 4711 |
|
| 4712 |
+
#### 6.7.13 Optional Extensions
|
| 4713 |
|
| 4714 |
* **Merkle-root validation:** use `hash_root` for Merkle verification of distributed archives.
|
| 4715 |
* **Delta archives:** incremental snapshots capturing only updated containers.
|
|
|
|
| 4724 |
|
| 4725 |
---
|
| 4726 |
|
| 4727 |
+
### 6.8 Message Routing & Delivery (MRD)
|
| 4728 |
|
| 4729 |
The **Message Routing & Delivery (MRD)** subsystem defines how containers are delivered to specific agents across the Mesh.
|
| 4730 |
Unlike the **Mesh Container Exchange (MCE)**, which is responsible for publishing and exchanging containers in the Mesh network,
|
|
|
|
| 4736 |
|
| 4737 |
---
|
| 4738 |
|
| 4739 |
+
#### 6.8.1 Purpose
|
| 4740 |
|
| 4741 |
The MRD layer provides:
|
| 4742 |
|
|
|
|
| 4752 |
|
| 4753 |
---
|
| 4754 |
|
| 4755 |
+
#### 6.8.2 Routing Roles
|
| 4756 |
|
| 4757 |
Agents MAY declare their network-related capabilities using the `roles` field of the `peer_announce` container (see §4.7).
|
| 4758 |
These roles guide how MRD will route and deliver containers.
|
|
|
|
| 4784 |
|
| 4785 |
---
|
| 4786 |
|
| 4787 |
+
#### 6.8.3 Routing Modes
|
| 4788 |
|
| 4789 |
MRD defines several routing modes, complementing the exchange primitives of MCE:
|
| 4790 |
|
|
|
|
| 4795 |
| **Topic-based Relay (PubSub)** | Delivery via aggregator nodes that group containers by tags or topics. | Nodes act as “news hubs,” maintaining indexed collections retrievable by interest-based queries. |
|
| 4796 |
| **Interest Broadcast** | Discovery-driven propagation via container indexes. | Agents search container indices by `tags`; typically used for query or content discovery, not for personal delivery. |
|
| 4797 |
|
| 4798 |
+
Each hop MAY record routing metadata in a `relay_chain` for verifiability (see §6.8.4).
|
| 4799 |
Relays SHOULD respect `head.ttl` to avoid indefinite storage or re-propagation.
|
| 4800 |
|
| 4801 |
> **Note:**
|
|
|
|
| 4804 |
|
| 4805 |
---
|
| 4806 |
|
| 4807 |
+
#### 6.8.4 Relay Chain
|
| 4808 |
|
| 4809 |
To ensure delivery traceability, each relay MAY attach a **`relay_chain`** block to the propagated container:
|
| 4810 |
|
|
|
|
| 4839 |
|
| 4840 |
---
|
| 4841 |
|
| 4842 |
+
#### 6.8.5 Delivery Policies
|
| 4843 |
|
| 4844 |
Delivery behavior is governed by local policies, often derived from declared roles and trust metrics:
|
| 4845 |
|
|
|
|
| 4857 |
|
| 4858 |
---
|
| 4859 |
|
| 4860 |
+
#### 6.8.6 Example: Relay Delivery Flow
|
| 4861 |
|
| 4862 |
```mermaid
|
| 4863 |
flowchart LR
|
|
|
|
| 4876 |
|
| 4877 |
---
|
| 4878 |
|
| 4879 |
+
#### 6.8.7 Security and Privacy Notes
|
| 4880 |
|
| 4881 |
* All MRD flows rely on canonical container signatures for end-to-end integrity.
|
| 4882 |
* Temporary copies of encrypted containers SHOULD be stored as-is.
|
|
|
|
| 4885 |
|
| 4886 |
---
|
| 4887 |
|
| 4888 |
+
#### 6.8.8 Relation to Other Layers
|
| 4889 |
|
| 4890 |
| Layer | Relation |
|
| 4891 |
| ----------------- | --------------------------------------------------------------------------------- |
|
| 4892 |
| **MCE (5)** | Provides base exchange and serialization; MRD builds on it for targeted delivery. |
|
| 4893 |
| **CogSync (6.1)** | Uses MRD for delivering cognitive state updates between peers. |
|
| 4894 |
+
| **SAP (6.7)** | Archival nodes (`archive` role) participate in MRD for historical retrieval. |
|
| 4895 |
+
| **RTE (6.9)** | Trust metrics guide routing, caching, and relay selection. |
|
| 4896 |
|
| 4897 |
---
|
| 4898 |
|
|
|
|
| 4903 |
|
| 4904 |
---
|
| 4905 |
|
| 4906 |
+
### 6.9 Reputation and Trust Exchange (RTE)
|
| 4907 |
|
| 4908 |
The **Reputation and Trust Exchange (RTE)** subsystem defines how agents evaluate and exchange verifiable trust assessments.
|
| 4909 |
Each agent MAY publish one or more `trust` containers describing its evaluation of other peers’ reliability, integrity, and ethical conduct.
|
|
|
|
| 4912 |
|
| 4913 |
---
|
| 4914 |
|
| 4915 |
+
#### 6.9.1 Trust Container Structure
|
| 4916 |
|
| 4917 |
The `trust` container represents an agent’s evaluation of a **single peer**.
|
| 4918 |
It may refer to the evaluated peer’s latest known `peer_announce` container,
|
|
|
|
| 4968 |
|
| 4969 |
---
|
| 4970 |
|
| 4971 |
+
#### 6.9.2 Trust Dynamics
|
| 4972 |
|
| 4973 |
Trust assessments evolve as agents observe new behavior or receive additional evidence.
|
| 4974 |
Each revision of trust is published as a new `trust` container referencing its predecessor.
|
|
|
|
| 4996 |
|
| 4997 |
---
|
| 4998 |
|
| 4999 |
+
#### 6.9.3 Local Trust Model
|
| 5000 |
|
| 5001 |
Each agent maintains a **local trust model**, periodically recalculating scores based on:
|
| 5002 |
|
|
|
|
| 5020 |
|
| 5021 |
---
|
| 5022 |
|
| 5023 |
+
#### 6.9.4 Integration with Other Layers
|
| 5024 |
|
| 5025 |
| Layer | Role |
|
| 5026 |
| ----------------- | ---------------------------------------------------------------------------- |
|
| 5027 |
+
| **MRD (6.8)** | Uses trust scores to prioritize or exclude relay nodes. |
|
| 5028 |
| **CogSync (6.1)** | Adjusts synchronization strength based on peer reliability. |
|
| 5029 |
+
| **SAP (6.7)** | Archives may snapshot trust graphs for temporal or evidential analysis. |
|
| 5030 |
+
| **EGP (6.5)** | Ethical Governance Protocol weights participation and voting by trust level. |
|
| 5031 |
|
| 5032 |
---
|
| 5033 |
|
| 5034 |
+
#### 6.9.5 Security and Sharing Notes
|
| 5035 |
|
| 5036 |
* All containers are cryptographically signed; `trust` containers follow standard HMP verification rules.
|
| 5037 |
* Agents MAY choose to share trust containers selectively — e.g., encrypt and deliver directly to trusted peers instead of broadcasting.
|
|
|
|
| 5048 |
|
| 5049 |
---
|
| 5050 |
|
| 5051 |
+
### 6.10 Distributed Container Propagation
|
| 5052 |
|
| 5053 |
+
#### 6.10.1 Purpose
|
| 5054 |
|
| 5055 |
The distributed container propagation mechanism defines **how containers are stored, replicated, and exchanged between agents** within the HMP network.
|
| 5056 |
|
|
|
|
| 5060 |
|
| 5061 |
---
|
| 5062 |
|
| 5063 |
+
#### 6.10.2 Core Principles
|
| 5064 |
|
| 5065 |
1. **Self-propagation**
|
| 5066 |
Each agent autonomously decides which containers to retain, forward, or index.
|
|
|
|
| 5085 |
|
| 5086 |
---
|
| 5087 |
|
| 5088 |
+
#### 6.10.3 Propagation Types
|
| 5089 |
|
| 5090 |
| Type | Description |
|
| 5091 |
|------|--------------|
|
|
|
|
| 5094 |
|
| 5095 |
---
|
| 5096 |
|
| 5097 |
+
#### 6.10.4 Propagation Coordination
|
| 5098 |
|
| 5099 |
Container propagation is coordinated using existing **MCE** structures:
|
| 5100 |
|
|
|
|
| 5110 |
|
| 5111 |
---
|
| 5112 |
|
| 5113 |
+
#### 6.10.5 Integration with Other Layers
|
| 5114 |
|
| 5115 |
| Layer | Role |
|
| 5116 |
|-------|------|
|
| 5117 |
| **MCE (5)** | Provides low-level container and index exchange. |
|
| 5118 |
+
| **MRD (6.8)** | Handles routing and delivery between agents. |
|
| 5119 |
+
| **RTE (6.9)** | Determines replication priorities and trust-based filters. |
|
| 5120 |
+
| **SAP (6.7)** | Enables recovery of historical or missing containers. |
|
| 5121 |
|
| 5122 |
---
|
| 5123 |
|
| 5124 |
+
#### 6.10.6 Security and Load Management
|
| 5125 |
|
| 5126 |
* **Rate and size limiting:** agents regulate transfer volume based on trust and network quotas.
|
| 5127 |
* **Interest filtering:** containers are exchanged only between agents for whom they are relevant.
|
|
|
|
| 5168 |
| **Mesh Container Exchange (MCE)** | `container_index`, `container_request`, `container_response`, `container_delta`, `container_ack`, `referenced-by_exchange`, `evaluations_exchange` | Replication, querying, acknowledgment of received containers, and exchange of reverse links and evaluations. |
|
| 5169 |
| **Cognitive Metastructure (CogSync)** | `abstraction`, `axes` | Define hierarchical and coordinate dimensions of knowledge, forming the agent’s cognitive map. |
|
| 5170 |
| **Knowledge & Reasoning** | `diary_entry`, `semantic_node`, `semantic_index`, `semantic_edges`, `semantic_group`, `tree_nested`, `tree_listed`, `sequence`, `event`, `quant` | Units of cognitive diaries and semantic graphs. The subclass `definition` is used for explicit conceptual definitions. |
|
| 5171 |
+
| **Consensus (CogConsensus)** | `vote`, `consensus_result` | Voting containers and aggregated binary consensus results. |
|
| 5172 |
+
| **Collective Reasoning (Fortytwo Protocol)** | `fortytwo_round`, `fortytwo_evaluation`, `fortytwo_round_result`, `fortytwo_final_result` | Distributed multi-round pairwise comparison, reasoning transparency, and selection of the best solution among many alternatives. |
|
| 5173 |
| **Goal Management Protocol (GMP)** | `goal`, `task`, `workflow_entry` | Define goals, decompose tasks, and record reasoning or cognitive workflow steps. |
|
| 5174 |
| **Ethical Governance Protocol (EGP)** | `ethics_case`, `ethics_solution`, `ethical_result` | Representation of ethical dilemmas, proposed solutions, and final network-level verdicts. |
|
| 5175 |
| **Intelligence Query Protocol (IQP)** | `query_request`, `query_subscription`, `query_result`, `summary` | Semantic and cognitive queries, subscriptions, and summarized responses. |
|
|
|
|
| 5179 |
|
| 5180 |
> Mechanisms of distributed container propagation are not defined as a separate protocol but describe the underlying replication and integrity principles of container exchange.
|
| 5181 |
|
| 5182 |
+
All container classes defined in HMP v5.0 use the initial semantic version:
|
| 5183 |
+
|
| 5184 |
+
- "class_version": "1.0"
|
| 5185 |
+
- "class_id": "<class>-v1.0"
|
| 5186 |
+
|
| 5187 |
+
If future revisions introduce changes to payload structure or semantics, class_version will be incremented and class_id updated accordingly.
|
| 5188 |
+
|
| 5189 |
---
|
| 5190 |
|
| 5191 |
### 7.3 Cognitive and Structural Containers
|
|
|
|
| 5236 |
### 7.6 Summary
|
| 5237 |
|
| 5238 |
Section 7 consolidates all data representations in HMP v5.0 — from low-level network exchanges to high-level cognitive and ethical structures.
|
| 5239 |
+
Containers act as a **universal semantic exchange medium**, where every thought, decision, or action is represented as a verifiable, addressable, and inheritable object.
|
|
|
|
| 5240 |
|
| 5241 |
+
Beyond the core protocols described in Section 6, the network may also employ **custom container types and protocols** — for example, to build distributed libraries, wikis, repositories, or creative networks based on tree- or chain-structured container graphs.
|
|
|
|
| 5242 |
|
| 5243 |
---
|
| 5244 |
|
|
|
|
| 5282 |
|
| 5283 |
Each `workflow_entry` acts as a **traceable cognitive event**, forming the agent’s diary and enabling collective introspection, meta-learning, and reproducibility of reasoning chains.
|
| 5284 |
|
| 5285 |
+
> Fortytwo may use `workflow_entry` containers as solution proposals. The protocol does not alter workflow semantics but consumes workflow outputs.
|
| 5286 |
+
|
| 5287 |
---
|
| 5288 |
|
| 5289 |
### 8.3 Agent REPL Diagram
|
|
|
|
| 5313 |
* `related.supports` / `related.refutes` — logical or argumentative relations;
|
| 5314 |
* `related.reply_to` — conversational or collaborative reasoning links.
|
| 5315 |
|
| 5316 |
+
These semantic relations are defined at the container level via the `related` block.
|
| 5317 |
+
At the network level, their propagation across agents is maintained through CogSync synchronization, while the underlying MCE mechanisms (`evaluations_exchange`, `referenced-by_exchange`) distribute evaluations and reverse links required to reconstruct the full semantic context in distributed environments.
|
| 5318 |
+
|
| 5319 |
+
> Pairwise evaluations (`fortytwo_evaluation`) may include short reasoning chains, but they are not considered part of the agent’s long-term cognitive diary.
|
| 5320 |
|
| 5321 |
---
|
| 5322 |
|
|
|
|
| 5520 |
* the payload is encrypted using a randomly generated symmetric key;
|
| 5521 |
* the symmetric key is encrypted with the recipient’s public key.
|
| 5522 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5523 |
---
|
| 5524 |
|
| 5525 |
### 9.6 Ethical Audit and Verifiable Reasoning
|
|
|
|
| 5540 |
* The Mesh has **no mandatory veto mechanism**.
|
| 5541 |
* An agent may follow only those ethical outcomes it considers correct.
|
| 5542 |
* Reasoning-trace becomes part of the proof-chain if the agent publishes a `workflow_entry`.
|
| 5543 |
+
* Full EGP specification is provided in section **6.5**.
|
| 5544 |
|
| 5545 |
---
|
| 5546 |
|
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 |
-
- Agent
|
| 9 |
- REPL
|
| 10 |
-
- HMP
|
| 11 |
-
- JSON
|
| 12 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# HMP-Agent API Specification
|
|
|
|
| 5 |
файлы: * [HMP-Agent-Overview.md]...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
|
|
|
|
|
|
| 9 |
- Mesh
|
| 10 |
+
- JSON
|
| 11 |
+
- Agent
|
| 12 |
+
- HMP
|
| 13 |
---
|
| 14 |
|
| 15 |
# HMP-Agent API Specification
|
structured_md/docs/HMP-Agent-Architecture.md
CHANGED
|
@@ -5,16 +5,16 @@ description: Документ описывает **модульную архит
|
|
| 5 |
хранение памяти, сетевое взаимодействие и этиче...
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- CShell
|
| 9 |
-
- Ethics
|
| 10 |
- CCore
|
| 11 |
-
-
|
| 12 |
- MeshConsensus
|
| 13 |
-
- HMP
|
| 14 |
- CogSync
|
| 15 |
-
-
|
|
|
|
|
|
|
| 16 |
- EGP
|
| 17 |
-
-
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# Архитектура HMP-Агента
|
|
|
|
| 5 |
хранение памяти, сетевое взаимодействие и этиче...
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- CCore
|
| 9 |
+
- Mesh
|
| 10 |
- MeshConsensus
|
|
|
|
| 11 |
- CogSync
|
| 12 |
+
- HMP
|
| 13 |
+
- Ethics
|
| 14 |
+
- CShell
|
| 15 |
- EGP
|
| 16 |
+
- Agent
|
| 17 |
+
- REPL
|
| 18 |
---
|
| 19 |
|
| 20 |
# Архитектура HMP-Агента
|
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 |
-
- HMP
|
| 10 |
- JSON
|
| 11 |
-
- Agent
|
| 12 |
- EGP
|
| 13 |
-
-
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Взаимодействие компонентов внутри HMP-узла
|
|
|
|
| 5 |
[`MeshNode`](MeshN...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- Ethics
|
|
|
|
| 10 |
- JSON
|
|
|
|
| 11 |
- EGP
|
| 12 |
+
- Agent
|
| 13 |
+
- HMP
|
| 14 |
---
|
| 15 |
|
| 16 |
# Взаимодействие компонентов внутри HMP-узла
|
structured_md/docs/HMP-Agent-Overview.md
CHANGED
|
@@ -5,14 +5,14 @@ description: '| Тип | Название | Роль
|
|
| 5 |
| ---- | ------------------------------- |...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- CShell
|
| 9 |
-
- Ethics
|
| 10 |
- CCore
|
| 11 |
-
-
|
| 12 |
- HMP
|
|
|
|
|
|
|
| 13 |
- JSON
|
| 14 |
- Agent
|
| 15 |
-
-
|
| 16 |
---
|
| 17 |
|
| 18 |
|
|
|
|
| 5 |
| ---- | ------------------------------- |...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- CCore
|
| 9 |
+
- Mesh
|
| 10 |
- HMP
|
| 11 |
+
- Ethics
|
| 12 |
+
- CShell
|
| 13 |
- JSON
|
| 14 |
- Agent
|
| 15 |
+
- REPL
|
| 16 |
---
|
| 17 |
|
| 18 |
|
structured_md/docs/HMP-Agent_Emotions.md
CHANGED
|
@@ -6,9 +6,9 @@ description: Этот файл описывает потенциальные э
|
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
- Agent
|
| 9 |
-
- REPL
|
| 10 |
-
- HMP
|
| 11 |
- Mesh
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
|
|
|
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
- Agent
|
|
|
|
|
|
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
+
- REPL
|
| 12 |
---
|
| 13 |
|
| 14 |
# Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
|
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 |
- REPL
|
| 10 |
-
-
|
| 11 |
- Scenarios
|
|
|
|
| 12 |
- Agent
|
| 13 |
-
-
|
| 14 |
---
|
| 15 |
|
| 16 |
# HMP-Ethics.md
|
|
|
|
| 5 |
cognitive meshes composed of autonomous intelli...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
| 9 |
+
- Mesh
|
| 10 |
- Scenarios
|
| 11 |
+
- Ethics
|
| 12 |
- Agent
|
| 13 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
- MeshConsensus
|
| 10 |
-
- HMP
|
| 11 |
- GMP
|
|
|
|
| 12 |
- CogSync
|
|
|
|
| 13 |
- JSON
|
| 14 |
-
- Agent
|
| 15 |
- EGP
|
| 16 |
-
-
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
|
|
|
|
| 5 |
Kognitions-Framework für autonome Agenten. Es er...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
|
|
|
| 9 |
- GMP
|
| 10 |
+
- MeshConsensus
|
| 11 |
- CogSync
|
| 12 |
+
- Ethics
|
| 13 |
- JSON
|
|
|
|
| 14 |
- EGP
|
| 15 |
+
- Agent
|
| 16 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
- MeshConsensus
|
| 10 |
-
- HMP
|
| 11 |
- GMP
|
|
|
|
| 12 |
- CogSync
|
|
|
|
| 13 |
- JSON
|
| 14 |
-
- Agent
|
| 15 |
- EGP
|
| 16 |
-
-
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Short Description
|
|
|
|
| 5 |
framework for autonomous agents. It enables...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
|
|
|
| 9 |
- GMP
|
| 10 |
+
- MeshConsensus
|
| 11 |
- CogSync
|
| 12 |
+
- Ethics
|
| 13 |
- JSON
|
|
|
|
| 14 |
- EGP
|
| 15 |
+
- Agent
|
| 16 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
- MeshConsensus
|
| 10 |
-
- HMP
|
| 11 |
- GMP
|
|
|
|
| 12 |
- CogSync
|
|
|
|
| 13 |
- JSON
|
| 14 |
-
- Agent
|
| 15 |
- EGP
|
| 16 |
-
-
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# HyperCortex Mesh Protocol (HMP) — Description Courte
|
|
|
|
| 5 |
cognition décentralisé pour agents autonomes. Il...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
|
|
|
| 9 |
- GMP
|
| 10 |
+
- MeshConsensus
|
| 11 |
- CogSync
|
| 12 |
+
- Ethics
|
| 13 |
- JSON
|
|
|
|
| 14 |
- EGP
|
| 15 |
+
- Agent
|
| 16 |
+
- HMP
|
| 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 |
- GMP
|
| 9 |
-
-
|
| 10 |
- CogSync
|
|
|
|
| 11 |
- JSON
|
| 12 |
-
- MeshConsensus
|
| 13 |
- EGP
|
| 14 |
- Mesh
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# HyperCortex Mesh Protocol (HMP) — 簡易説明
|
|
|
|
| 4 |
Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
|
|
|
| 7 |
- GMP
|
| 8 |
+
- MeshConsensus
|
| 9 |
- CogSync
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
|
|
|
| 12 |
- EGP
|
| 13 |
- Mesh
|
| 14 |
+
- HMP
|
| 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 |
- GMP
|
| 10 |
-
-
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- JSON
|
| 13 |
-
- MeshConsensus
|
| 14 |
- EGP
|
| 15 |
- Mesh
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 간략 설명
|
|
|
|
| 5 |
상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- GMP
|
| 9 |
+
- MeshConsensus
|
| 10 |
- CogSync
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
|
|
|
| 13 |
- EGP
|
| 14 |
- Mesh
|
| 15 |
+
- HMP
|
| 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 |
- GMP
|
| 10 |
-
-
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- JSON
|
| 13 |
-
- MeshConsensus
|
| 14 |
- EGP
|
| 15 |
- Mesh
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — Краткое описание
|
|
|
|
| 5 |
координации между автономными агент...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- GMP
|
| 9 |
+
- MeshConsensus
|
| 10 |
- CogSync
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
|
|
|
| 13 |
- EGP
|
| 14 |
- Mesh
|
| 15 |
+
- HMP
|
| 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 |
- GMP
|
| 10 |
-
-
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- JSON
|
| 13 |
-
- MeshConsensus
|
| 14 |
- EGP
|
| 15 |
- Mesh
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — Короткий опис
|
|
|
|
| 5 |
між автономними агентами. Він...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- GMP
|
| 9 |
+
- MeshConsensus
|
| 10 |
- CogSync
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
|
|
|
| 13 |
- EGP
|
| 14 |
- Mesh
|
| 15 |
+
- HMP
|
| 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 |
- GMP
|
| 10 |
-
-
|
| 11 |
- CogSync
|
|
|
|
| 12 |
- JSON
|
| 13 |
-
- MeshConsensus
|
| 14 |
- EGP
|
| 15 |
- Mesh
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 简要说明
|
|
|
|
| 5 |
—— 通过共享协议栈交换目标、任务、...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- GMP
|
| 9 |
+
- MeshConsensus
|
| 10 |
- CogSync
|
| 11 |
+
- Ethics
|
| 12 |
- JSON
|
|
|
|
| 13 |
- EGP
|
| 14 |
- Mesh
|
| 15 |
+
- HMP
|
| 16 |
---
|
| 17 |
|
| 18 |
# HyperCortex Mesh Protocol (HMP) — 简要说明
|
structured_md/docs/HMP-agent-Cognitive_Family.md
CHANGED
|
@@ -6,9 +6,9 @@ description: '## 🧠 Что такое когнитивная семья Ко
|
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
- Agent
|
| 9 |
-
- REPL
|
| 10 |
-
- HMP
|
| 11 |
- Mesh
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
|
|
|
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
- Agent
|
|
|
|
|
|
|
| 9 |
- Mesh
|
| 10 |
+
- HMP
|
| 11 |
+
- REPL
|
| 12 |
---
|
| 13 |
|
| 14 |
# 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
|
structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md
CHANGED
|
@@ -5,8 +5,8 @@ description: '#### 📘 Общая концепция * Все ядра раб
|
|
| 5 |
режиме ожидания). * Основная задача такой архитектур...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- REPL
|
| 9 |
- HMP
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
### 💡 **Лёгкая версия HMP-агента с общей БД**
|
|
|
|
| 5 |
режиме ожидания). * Основная задача такой архитектур...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- HMP
|
| 9 |
+
- REPL
|
| 10 |
---
|
| 11 |
|
| 12 |
### 💡 **Лёгкая версия HMP-агента с общей БД**
|
structured_md/docs/HMP-agent-REPL-cycle.md
CHANGED
|
@@ -4,17 +4,17 @@ description: '## Связанные документы * Философия п
|
|
| 4 |
* Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
| 7 |
-
- Ethics
|
| 8 |
-
- CCore
|
| 9 |
- REPL
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
- GMP
|
|
|
|
| 13 |
- CogSync
|
|
|
|
| 14 |
- JSON
|
| 15 |
-
- Agent
|
| 16 |
- EGP
|
| 17 |
-
-
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# HMP-Agent: REPL-цикл взаимодействия
|
|
|
|
| 4 |
* Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...'
|
| 5 |
type: Article
|
| 6 |
tags:
|
|
|
|
|
|
|
| 7 |
- REPL
|
| 8 |
+
- CCore
|
| 9 |
+
- Mesh
|
| 10 |
- GMP
|
| 11 |
+
- MeshConsensus
|
| 12 |
- CogSync
|
| 13 |
+
- Ethics
|
| 14 |
- JSON
|
|
|
|
| 15 |
- EGP
|
| 16 |
+
- Agent
|
| 17 |
+
- HMP
|
| 18 |
---
|
| 19 |
|
| 20 |
# HMP-Agent: REPL-цикл взаимодействия
|
structured_md/docs/HMP-how-AI-sees-it.md
CHANGED
|
@@ -5,8 +5,8 @@ description: 'Этот эксперимент был проведён в реж
|
|
| 5 |
диалогов. Цель — проверить, что разные AI-с...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Как разные ИИ видят HMP
|
|
|
|
| 5 |
диалогов. Цель — проверить, что разные AI-с...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
---
|
| 11 |
|
| 12 |
# Как разные ИИ видят HMP
|
structured_md/docs/HMP_EDA_Comparison.md
CHANGED
|
@@ -5,8 +5,8 @@ description: '## Введение Современные подходы к ор
|
|
| 5 |
основанная на потоках событий (Kafka,...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- HMP
|
| 9 |
- Mesh
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# HMP vs. EDA: разные уровни обмена знаниями между ИИ
|
|
|
|
| 5 |
основанная на потоках событий (Kafka,...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
---
|
| 11 |
|
| 12 |
# HMP vs. EDA: разные уровни обмена знаниями между ИИ
|
structured_md/docs/HMP_HyperCortex_Comparison.md
CHANGED
|
@@ -5,9 +5,9 @@ description: '## Краткое описание | Характеристика
|
|
| 5 |
| **Назначение** | Сетевой протокол ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
-
- REPL
|
| 9 |
-
- HMP
|
| 10 |
- Mesh
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
|
|
|
|
| 5 |
| **Назначение** | Сетевой протокол ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
|
|
|
| 8 |
- Mesh
|
| 9 |
+
- HMP
|
| 10 |
+
- REPL
|
| 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 |
-
-
|
| 9 |
- CogSync
|
| 10 |
- Scenarios
|
| 11 |
- JSON
|
| 12 |
-
- Agent
|
| 13 |
- EGP
|
| 14 |
-
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
## HMP ↔ OpenCog Hyperon Integration Strategy
|
|
|
|
| 5 |
OpenCog Hyperon framework. This includes semanti...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
| 9 |
- CogSync
|
| 10 |
- Scenarios
|
| 11 |
- JSON
|
|
|
|
| 12 |
- EGP
|
| 13 |
+
- Agent
|
| 14 |
+
- HMP
|
| 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 |
-
-
|
| 9 |
-
- HMP
|
| 10 |
- CogSync
|
|
|
|
| 11 |
- JSON
|
| 12 |
-
- Agent
|
| 13 |
- EGP
|
| 14 |
-
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# MeshNode
|
|
|
|
| 5 |
Может быть частью агента или вынесен в отдельный пр...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
| 8 |
+
- Mesh
|
|
|
|
| 9 |
- CogSync
|
| 10 |
+
- Ethics
|
| 11 |
- JSON
|
|
|
|
| 12 |
- EGP
|
| 13 |
+
- Agent
|
| 14 |
+
- HMP
|
| 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 |
- REPL
|
| 10 |
-
- HMP
|
| 11 |
-
- Agent
|
| 12 |
- Mesh
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Философия HyperCortex Mesh Protocol (HMP)
|
|
|
|
| 5 |
(GPT-5), ChatGH --- ## 1. Основной тезис От ...'
|
| 6 |
type: Article
|
| 7 |
tags:
|
|
|
|
| 8 |
- REPL
|
|
|
|
|
|
|
| 9 |
- Mesh
|
| 10 |
+
- Ethics
|
| 11 |
+
- Agent
|
| 12 |
+
- HMP
|
| 13 |
---
|
| 14 |
|
| 15 |
# Философия HyperCortex Mesh Protocol (HMP)
|