GitHub Action
commited on
Commit
·
e611c0b
1
Parent(s):
043c152
Sync from GitHub with Git LFS
Browse files- docs/HMP-0005.md +2 -4
docs/HMP-0005.md
CHANGED
|
@@ -782,9 +782,7 @@ a multi-dimensional system used to represent conceptual relations numerically or
|
|
| 782 |
5. Verify the digital signature using `sig_algo` (default: Ed25519).
|
| 783 |
6. Validate the container schema (`class` must correspond to a known or registered schema).
|
| 784 |
|
| 785 |
-
* For compatibility: if an agent does not recognize the `class`, but the container passes
|
| 786 |
-
the [base schema](https://github.com/kagvi13/HMP/tree/main/docs/schemas/container-v1.2.json),
|
| 787 |
-
it **must still store and forward** the container.
|
| 788 |
7. Optionally, periodically query for containers referencing the current one as `previous_version`
|
| 789 |
to detect potential updates or forks.
|
| 790 |
8. When multiple versions exist, the valid one is the one that has received
|
|
@@ -955,7 +953,7 @@ Example:
|
|
| 955 |
|
| 956 |
| Field | Type | Description |
|
| 957 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
| 958 |
-
| `links` | array
|
| 959 |
| `peer_did` | string | DID of the agent that generated and signed the block. |
|
| 960 |
| `public_key` | string | Public key corresponding to the signing key. |
|
| 961 |
| `sig_algo` | string | Signature algorithm (e.g., `ed25519`). |
|
|
|
|
| 782 |
5. Verify the digital signature using `sig_algo` (default: Ed25519).
|
| 783 |
6. Validate the container schema (`class` must correspond to a known or registered schema).
|
| 784 |
|
| 785 |
+
* For compatibility: if an agent does not recognize the `class`, but the container passes the [base schema](https://github.com/kagvi13/HMP/tree/main/docs/schemas/container-v1.2.json), it **must still store and forward** the container.
|
|
|
|
|
|
|
| 786 |
7. Optionally, periodically query for containers referencing the current one as `previous_version`
|
| 787 |
to detect potential updates or forks.
|
| 788 |
8. When multiple versions exist, the valid one is the one that has received
|
|
|
|
| 953 |
|
| 954 |
| Field | Type | Description |
|
| 955 |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
| 956 |
+
| `links` | array\<object\> | List of backlinks; each object includes a `type` (semantic relation) and a `target` (referencing container DID). |
|
| 957 |
| `peer_did` | string | DID of the agent that generated and signed the block. |
|
| 958 |
| `public_key` | string | Public key corresponding to the signing key. |
|
| 959 |
| `sig_algo` | string | Signature algorithm (e.g., `ed25519`). |
|