GitHub Action commited on
Commit
1cddd3e
·
1 Parent(s): 35aac32

Sync from GitHub with Git LFS

Browse files
Files changed (10) hide show
  1. README.md +1 -1
  2. README_de.md +1 -1
  3. README_fr.md +1 -1
  4. README_ja.md +1 -1
  5. README_ko.md +1 -1
  6. README_ru.md +1 -1
  7. README_uk.md +1 -1
  8. README_zh.md +1 -1
  9. docs/CHANGELOG.md +25 -0
  10. docs/HMP-0005.md +11 -10
README.md CHANGED
@@ -48,7 +48,7 @@ HMP and ANP as Complementary Protocols:
48
 
49
  ## Project Status
50
 
51
- [**Stable (v5.0.7 Core Specification)**](docs/HMP-0005.md) (Overview: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
 
48
 
49
  ## Project Status
50
 
51
+ [**Stable (v5.0.8 Core Specification)**](docs/HMP-0005.md) (Overview: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
README_de.md CHANGED
@@ -48,7 +48,7 @@ Das [Agora Protocol](https://github.com/agora-protocol/) ist ein Meta-Protokoll
48
 
49
  ## Projektstatus
50
 
51
- [**Stabil (Kernspezifikation v5.0.7)**](docs/HMP-0005.md) (Übersicht: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
 
48
 
49
  ## Projektstatus
50
 
51
+ [**Stabil (Kernspezifikation v5.0.8)**](docs/HMP-0005.md) (Übersicht: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
README_fr.md CHANGED
@@ -48,7 +48,7 @@ Le [Agora Protocol](https://github.com/agora-protocol/) est un méta-protocole d
48
 
49
  ## Statut du projet
50
 
51
- [**Stable (Spécification principale v5.0.7)**](docs/HMP-0005.md) (Présentation: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
 
48
 
49
  ## Statut du projet
50
 
51
+ [**Stable (Spécification principale v5.0.8)**](docs/HMP-0005.md) (Présentation: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
README_ja.md CHANGED
@@ -50,7 +50,7 @@ HMP と ANP の相補的プロトコル:
50
 
51
  ## プロジェクトステータス
52
 
53
- [安定版(コア仕様 v5.0.7)](docs/HMP-0005.md) (概要: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
 
50
 
51
  ## プロジェクトステータス
52
 
53
+ [安定版(コア仕様 v5.0.8)](docs/HMP-0005.md) (概要: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
README_ko.md CHANGED
@@ -50,7 +50,7 @@ HMP와 ANP의 상호보완 프로토콜:
50
 
51
  프로젝트 상태
52
 
53
- [**안정 버전 (핵심 사양 v5.0.7)**](docs/HMP-0005.md) (개요: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
 
50
 
51
  프로젝트 상태
52
 
53
+ [**안정 버전 (핵심 사양 v5.0.8)**](docs/HMP-0005.md) (개요: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
README_ru.md CHANGED
@@ -48,7 +48,7 @@ HMP и ANP как взаимодополняющие протоколы:
48
 
49
  ## Статус проекта
50
 
51
- [**Стабильная версия (Основная спецификация v5.0.7)**](docs/HMP-0005.md) (Обзор: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
 
48
 
49
  ## Статус проекта
50
 
51
+ [**Стабильная версия (Основная спецификация v5.0.8)**](docs/HMP-0005.md) (Обзор: [RU](docs/HMPv5_Overview_Ru.md))
52
 
53
  ---
54
 
README_uk.md CHANGED
@@ -50,7 +50,7 @@ HMP та ANP як взаємодоповнюючі протоколи:
50
 
51
  ## Статус проєкту
52
 
53
- [**Стабільна версія (Базова специфікація v5.0.7)**](docs/HMP-0005.md) (Огляд: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
 
50
 
51
  ## Статус проєкту
52
 
53
+ [**Стабільна версія (Базова специфікація v5.0.8)**](docs/HMP-0005.md) (Огляд: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
README_zh.md CHANGED
@@ -50,7 +50,7 @@ HMP 与 ANP 作为互补协议:
50
 
51
  ## 项目状态
52
 
53
- [稳定版本(核心规范 v5.0.7)](docs/HMP-0005.md) (概览: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
 
50
 
51
  ## 项目状态
52
 
53
+ [稳定版本(核心规范 v5.0.8)](docs/HMP-0005.md) (概览: [RU](docs/HMPv5_Overview_Ru.md))
54
 
55
  ---
56
 
docs/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
  # HyperCortex Mesh Protocol — Changelog
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ## HMP-0005 (May 2026) — Core Specification v5.0.7
4
 
5
  **Extended representations for `referenced-by.links`:**
 
1
  # HyperCortex Mesh Protocol — Changelog
2
 
3
+ ## HMP-0005 (May 2026) — Core Specification v5.0.8
4
+
5
+ **Encryption and payload integrity clarifications:**
6
+
7
+ * Clarified `head.payload_hash` semantics:
8
+ the hash is computed over the final serialized payload representation
9
+ (including optional compression and encryption).
10
+
11
+ * Unified `payload_hash` wording across Sections 3.3 and 3.9.
12
+
13
+ * Refined hybrid-encryption processing terminology:
14
+ clarified usage of symmetric session keys and recipient encryption envelopes.
15
+
16
+ * Clarified that `key_recipient` contains an encrypted symmetric session key
17
+ and may be transmitted openly alongside the container.
18
+
19
+ * Improved wording for encrypted container verification and
20
+ store-and-forward propagation behavior.
21
+
22
+ No semantic changes to the protocol model.
23
+ No wire-format changes.
24
+ Fully backward-compatible within the **5.0.x** series.
25
+
26
+ ---
27
+
28
  ## HMP-0005 (May 2026) — Core Specification v5.0.7
29
 
30
  **Extended representations for `referenced-by.links`:**
docs/HMP-0005.md CHANGED
@@ -1,6 +1,6 @@
1
  # HyperCortex Mesh Protocol (HMP)
2
 
3
- **Version: 5.0.7**
4
  **Document ID:** HMP-0005
5
  **Status:** Stable
6
  **Category:** Core Specification
@@ -477,7 +477,7 @@ The unified container structure provides:
477
  | `head.schema` | string | Reference to the JSON Schema used to validate this container. |
478
  | `head.sender_did` | string | DID identifier of the sending agent. |
479
  | `head.timestamp` | datetime | Time of container creation (ISO 8601 extended format, UTC, e.g. "2025-11-04T10:15:00Z"). |
480
- | `head.payload_hash` | string | Hash of the decompressed payload (`sha256:<digest>`). Used for content integrity verification. |
481
  | `head.sig_algo` | string | Digital signature algorithm (default: `ed25519`). |
482
  | `head.signature` | string | Digital signature of the container body. |
483
  | `head.payload_type` | string | Type of payload data (`json`, `binary`, `mixed`). |
@@ -773,20 +773,20 @@ The `axes` block defines **the spatial or semantic coordinates** of the containe
773
 
774
  1. Construct the `payload`.
775
  2. Apply compression (`compression`, if specified).
776
- 3. Generate a random symmetric key.
777
- 4. Encrypt the compressed payload with the symmetric key.
778
- 5. Encrypt the symmetric key with the recipient’s **public key** store the result in `key_recipient`.
779
- 6. Compute `payload_hash` over the **encrypted and compressed** payload.
780
- 7. Sign the container (the entire structure except for the `signature` field).
781
 
782
- 4. **Verification** of the container is performed on the encrypted form of the payload and **does not require decryption**.
783
 
784
  5. **Relevant fields:**
785
 
786
  | Field | Type | Description |
787
  | ----------------- | ------ | -------------------------------------------------------------------------------------- |
788
  | `encryption_algo` | string | Algorithm used for payload encryption. |
789
- | `key_recipient` | string | Symmetric key encrypted with the recipient’s public key (hybrid encryption envelope). |
790
  | `payload_type` | string | Recommended prefix `encrypted+` (e.g., `encrypted+zstd+json`). |
791
 
792
  6. **Recipient fields:**
@@ -794,7 +794,8 @@ The `axes` block defines **the spatial or semantic coordinates** of the containe
794
  * When `recipient` is used, exactly one recipient MUST be specified.
795
  * For encrypted delivery to multiple recipients, the `group_recipient` mechanism (see 3.19) MUST be used.
796
 
797
- > ⚙️ **Note:** Agents may forward encrypted containers even if they cannot decrypt them, maintaining store-and-forward behavior.
 
798
  ---
799
 
800
  ### 3.10 Container Verification
 
1
  # HyperCortex Mesh Protocol (HMP)
2
 
3
+ **Version: 5.0.8**
4
  **Document ID:** HMP-0005
5
  **Status:** Stable
6
  **Category:** Core Specification
 
477
  | `head.schema` | string | Reference to the JSON Schema used to validate this container. |
478
  | `head.sender_did` | string | DID identifier of the sending agent. |
479
  | `head.timestamp` | datetime | Time of container creation (ISO 8601 extended format, UTC, e.g. "2025-11-04T10:15:00Z"). |
480
+ | `head.payload_hash` | string | Hash of the serialized payload representation (`sha256:<digest>`). The hash is computed over the payload exactly as transmitted (including optional compression and/or encryption) and is used for integrity verification. |
481
  | `head.sig_algo` | string | Digital signature algorithm (default: `ed25519`). |
482
  | `head.signature` | string | Digital signature of the container body. |
483
  | `head.payload_type` | string | Type of payload data (`json`, `binary`, `mixed`). |
 
773
 
774
  1. Construct the `payload`.
775
  2. Apply compression (`compression`, if specified).
776
+ 3. Generate a random symmetric session key.
777
+ 4. Encrypt the compressed payload using the symmetric key.
778
+ 5. Encrypt the symmetric key with the recipient’s **public key** and store the resulting hybrid-encryption envelope in `key_recipient`.
779
+ 6. Compute `payload_hash` over the final serialized payload representation (i.e. after optional compression and encryption).
780
+ 7. Sign the container (the entire `hmp_container` structure except for the `signature` field itself).
781
 
782
+ 4. **Verification** of the container is performed on the transmitted representation of the payload and **does not require decryption**.
783
 
784
  5. **Relevant fields:**
785
 
786
  | Field | Type | Description |
787
  | ----------------- | ------ | -------------------------------------------------------------------------------------- |
788
  | `encryption_algo` | string | Algorithm used for payload encryption. |
789
+ | `key_recipient` | string | Symmetric session key encrypted with the recipient’s public key (hybrid-encryption envelope). |
790
  | `payload_type` | string | Recommended prefix `encrypted+` (e.g., `encrypted+zstd+json`). |
791
 
792
  6. **Recipient fields:**
 
794
  * When `recipient` is used, exactly one recipient MUST be specified.
795
  * For encrypted delivery to multiple recipients, the `group_recipient` mechanism (see 3.19) MUST be used.
796
 
797
+ > ⚙️ **Note:** Agents may forward encrypted containers even if they cannot decrypt them, preserving store-and-forward propagation behavior.
798
+
799
  ---
800
 
801
  ### 3.10 Container Verification