GitHub Action commited on
Commit
9d8a7fa
·
1 Parent(s): a2f9d0c

Sync from GitHub with Git LFS

Browse files
Files changed (2) hide show
  1. docs/CHANGELOG.md +8 -1
  2. docs/HMP-0005.md +39 -4
docs/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
  # HyperCortex Mesh Protocol — Changelog
2
 
 
 
 
 
 
 
 
 
3
  ## HMP-0005 (October 2025) — Core Specification v5.0
4
 
5
  **Architecture:**
@@ -172,4 +180,3 @@ This version supersedes all RFC-based HMP 4.x specifications.
172
  * Provided high-level example workflows (goal creation, task delegation, concept consensus).
173
  * Laid out an initial Future Work list, covering scalability, cross-mesh interoperability, and quantum networking as exploratory directions.
174
  * Established the RFC document structure and versioning approach for further evolution.
175
-
 
1
  # HyperCortex Mesh Protocol — Changelog
2
 
3
+ ## HMP-0005 (February 2026) — Core Specification v5.0.2
4
+
5
+ **Security & Cryptography:**
6
+ * Introduced optional `key-disclosure` container for controlled symmetric key sharing.
7
+ * Enabled delayed and conditional decryption workflows (e.g., post-consensus, escrow, staged disclosure).
8
+
9
+ No breaking changes. Fully backward-compatible within the 5.0.x series.
10
+
11
  ## HMP-0005 (October 2025) — Core Specification v5.0
12
 
13
  **Architecture:**
 
180
  * Provided high-level example workflows (goal creation, task delegation, concept consensus).
181
  * Laid out an initial Future Work list, covering scalability, cross-mesh interoperability, and quantum networking as exploratory directions.
182
  * Established the RFC document structure and versioning approach for further evolution.
 
docs/HMP-0005.md CHANGED
@@ -1,6 +1,6 @@
1
  # HyperCortex Mesh Protocol (HMP)
2
 
3
- **Version: 5.0.0**
4
  **Document ID:** HMP-0005
5
  **Status:** Stable
6
  **Category:** Core Specification
@@ -801,10 +801,10 @@ a multi-dimensional system used to represent conceptual relations numerically or
801
  | `key_recipient` | string | Symmetric key encrypted with the recipient’s public key (hybrid encryption envelope). |
802
  | `payload_type` | string | Recommended prefix `encrypted+` (e.g., `encrypted+zstd+json`). |
803
 
804
- 6. **Relationship between `recipient` and `key_recipient`:**
805
 
806
- * When encryption is applied, the container MUST have exactly **one** recipient.
807
- * For multiple recipients, encryption is **not** used; the payload remains in plaintext.
808
 
809
  > ⚙️ **Note:** Agents may forward encrypted containers even if they cannot decrypt them, maintaining store-and-forward behavior.
810
  ---
@@ -7052,6 +7052,40 @@ All such interpretations are outside the scope of HMP.
7052
 
7053
  ---
7054
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7055
  ## 13. Experimental Extensions
7056
 
7057
  Experimental Extensions describe mechanisms that are intentionally exposed for exploration, prototyping, and architectural discovery.
@@ -7129,6 +7163,7 @@ All items below represent *potential extensions* for the 5.x family.
7129
  | External Protocol Identifiers (`peer_announce.other_protocols`) | Recommended | 12.5.2 / 14.11 | Likely |
7130
  | External Resources / Container Storage (`peer_announce.external`) | Recommended | 12.5.3 / 14.12 | Likely |
7131
  | Identity Cost and Anti-Sybil Signaling | Recommended | 12.5.4 | Likely |
 
7132
  | Key Rotation and Recovery | Experimental | 13.1 / 14.3.2 | Unknown |
7133
  | Proxy Keys and Encrypted Routing | Research | 14.3.3 | Unknown |
7134
  | Reputation Mesh | Research | 14.1.1 | Likely |
 
1
  # HyperCortex Mesh Protocol (HMP)
2
 
3
+ **Version: 5.0.2**
4
  **Document ID:** HMP-0005
5
  **Status:** Stable
6
  **Category:** Core Specification
 
801
  | `key_recipient` | string | Symmetric key encrypted with the recipient’s public key (hybrid encryption envelope). |
802
  | `payload_type` | string | Recommended prefix `encrypted+` (e.g., `encrypted+zstd+json`). |
803
 
804
+ 6. **Recipient fields:**
805
 
806
+ * When `recipient` is used, exactly one recipient MUST be specified.
807
+ * For encrypted delivery to multiple recipients, the `group_recipient` mechanism (see 3.19) MUST be used.
808
 
809
  > ⚙️ **Note:** Agents may forward encrypted containers even if they cannot decrypt them, maintaining store-and-forward behavior.
810
  ---
 
7052
 
7053
  ---
7054
 
7055
+ ### 12.6 Key Disclosure Container (`key_disclosure`)
7056
+
7057
+ The `key_disclosure` container is used to disclose the symmetric key used to encrypt the payload of a previously encrypted container.
7058
+
7059
+ This mechanism enables delayed or selective disclosure without modifying the original container.
7060
+
7061
+ #### Container structure
7062
+
7063
+ ```json
7064
+ {
7065
+ "head": {
7066
+ "class": "key_disclosure"
7067
+ },
7068
+ "payload": {
7069
+ "target_container": "did:hmp:container:abc123",
7070
+ "symmetric_key": "BASE64URL(...)"
7071
+ },
7072
+ "related": {
7073
+ "disclosure": ["did:hmp:container:abc123"]
7074
+ }
7075
+ }
7076
+ ```
7077
+
7078
+ #### Semantics
7079
+
7080
+ 1. The original container remains immutable.
7081
+ 2. The `symmetric_key` MUST be Base64URL-encoded.
7082
+ 3. The disclosed symmetric key MUST successfully decrypt the target container’s payload and produce content matching its `payload_hash`.
7083
+ 4. The container MAY itself be encrypted (see 3.9 and 3.19).
7084
+ 5. Multiple `key_disclosure` containers MAY reference the same target.
7085
+ 6. The container SHOULD reference the target using the `related.disclosure` field to enable efficient backlink indexing.
7086
+
7087
+ ---
7088
+
7089
  ## 13. Experimental Extensions
7090
 
7091
  Experimental Extensions describe mechanisms that are intentionally exposed for exploration, prototyping, and architectural discovery.
 
7163
  | External Protocol Identifiers (`peer_announce.other_protocols`) | Recommended | 12.5.2 / 14.11 | Likely |
7164
  | External Resources / Container Storage (`peer_announce.external`) | Recommended | 12.5.3 / 14.12 | Likely |
7165
  | Identity Cost and Anti-Sybil Signaling | Recommended | 12.5.4 | Likely |
7166
+ | Key Disclosure Container (`key_disclosure`) | Recommended | 12.6 | Likely |
7167
  | Key Rotation and Recovery | Experimental | 13.1 / 14.3.2 | Unknown |
7168
  | Proxy Keys and Encrypted Routing | Research | 14.3.3 | Unknown |
7169
  | Reputation Mesh | Research | 14.1.1 | Likely |