GitHub Action commited on
Commit
1754ecd
·
1 Parent(s): 619ef3b

Sync from GitHub with Git LFS

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. docs/HMP-0005.md +117 -26
  2. structured_md/CONTRIBUTING.md +4 -4
  3. structured_md/HMP-Roadmap.md +4 -4
  4. structured_md/README.md +9 -9
  5. structured_md/README_de.md +8 -8
  6. structured_md/README_fr.md +8 -8
  7. structured_md/README_ja.md +8 -8
  8. structured_md/README_ko.md +8 -8
  9. structured_md/README_ru.md +8 -8
  10. structured_md/README_uk.md +8 -8
  11. structured_md/README_zh.md +8 -8
  12. structured_md/agents/prompt-short.md +1 -1
  13. structured_md/agents/prompt.md +1 -1
  14. structured_md/agents/readme.md +3 -3
  15. structured_md/audits/Ethics-audits-1.md +2 -2
  16. structured_md/audits/Ethics-consolidated_audits-1.md +2 -2
  17. structured_md/audits/HMP-0003-consolidated_audit.md +5 -5
  18. structured_md/docs/Basic-agent-sim.md +5 -5
  19. structured_md/docs/CCORE-Deployment-Flow.md +1 -1
  20. structured_md/docs/Distributed-Cognitive-Systems.md +1 -1
  21. structured_md/docs/Enlightener.md +4 -4
  22. structured_md/docs/HMP-0001.md +6 -6
  23. structured_md/docs/HMP-0002.md +7 -7
  24. structured_md/docs/HMP-0003.md +7 -7
  25. structured_md/docs/HMP-0004-v4.1.md +7 -7
  26. structured_md/docs/HMP-0004.md +7 -7
  27. structured_md/docs/HMP-0005.md +123 -32
  28. structured_md/docs/HMP-Agent-API.md +3 -3
  29. structured_md/docs/HMP-Agent-Architecture.md +6 -6
  30. structured_md/docs/HMP-Agent-Network-Flow.md +3 -3
  31. structured_md/docs/HMP-Agent-Overview.md +4 -4
  32. structured_md/docs/HMP-Agent_Emotions.md +1 -1
  33. structured_md/docs/HMP-Ethics.md +2 -2
  34. structured_md/docs/HMP-Short-Description_de.md +6 -6
  35. structured_md/docs/HMP-Short-Description_en.md +6 -6
  36. structured_md/docs/HMP-Short-Description_fr.md +6 -6
  37. structured_md/docs/HMP-Short-Description_ja.md +6 -6
  38. structured_md/docs/HMP-Short-Description_ko.md +6 -6
  39. structured_md/docs/HMP-Short-Description_ru.md +6 -6
  40. structured_md/docs/HMP-Short-Description_uk.md +6 -6
  41. structured_md/docs/HMP-Short-Description_zh.md +6 -6
  42. structured_md/docs/HMP-agent-Cognitive_Family.md +1 -1
  43. structured_md/docs/HMP-agent-REPL-cycle.md +6 -6
  44. structured_md/docs/HMP-how-AI-sees-it.md +1 -1
  45. structured_md/docs/HMP_EDA_Comparison.md +1 -1
  46. structured_md/docs/HMP_Hyperon_Integration.md +4 -4
  47. structured_md/docs/MeshNode.md +4 -4
  48. structured_md/docs/PHILOSOPHY.md +2 -2
  49. structured_md/docs/agents/HMP-Agent-Enlightener.md +2 -2
  50. structured_md/docs/agents/roles.md +1 -1
docs/HMP-0005.md CHANGED
@@ -360,6 +360,7 @@ The unified container structure provides:
360
  "hmp_container": {
361
  "version": "1.2",
362
  "class": "goal",
 
363
  "class_version": "1.0",
364
  "class_id": "goal-v1.0",
365
  "container_did": "did:hmp:container:abc123",
@@ -379,6 +380,12 @@ The unified container structure provides:
379
  "compression": "zstd",
380
  "payload_type": "encrypted+zstd+json",
381
  "payload_hash": "sha256:abcd...",
 
 
 
 
 
 
382
  "payload": {
383
  /* Content depends on class */
384
  },
@@ -458,6 +465,9 @@ The unified container structure provides:
458
  | `referenced-by` | object | Unsigned field generated locally by the agent based on received references. Contains a list of container DIDs **that refer to this container**. May be extended over time, thus requiring verification; used for local navigation. |
459
  | `evaluations` | object | Optional field describing **aggregated evaluations or reactions** of other agents toward this container. Used for distributed reputation and interpretability. May evolve independently of the container’s core data. |
460
  | `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. |
 
 
 
461
 
462
  > 💡 **Note:**
463
  > Both `referenced-by` and `evaluations` are **virtual, locally extended blocks**.
@@ -518,7 +528,88 @@ Custom or experimental classes SHOULD document their payloads using the followin
518
 
519
  ---
520
 
521
- ### 3.6 Container signature
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
 
523
  1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
524
  **excluding** the `signature` field itself.
@@ -555,7 +646,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
555
 
556
  ---
557
 
558
- ### 3.7 Compression (`compression`)
559
 
560
  1. The `compression` field specifies the algorithm used to compress the container’s payload.
561
  Supported algorithms include `zstd`, `gzip`, or others declared in the HMP registry.
@@ -573,7 +664,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
573
 
574
  ---
575
 
576
- ### 3.8 Encryption (`encryption_algo`)
577
 
578
  1. When a container is intended for specific recipients (`recipient` field), **hybrid encryption** of the payload is allowed.
579
  This ensures confidentiality while preserving the verifiability of container metadata.
@@ -616,7 +707,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
616
 
617
  ---
618
 
619
- ### 3.9 Container verification
620
 
621
  1. Check for the presence of all required fields.
622
  2. Validate `timestamp` (must not be in the future).
@@ -635,7 +726,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
635
 
636
  ---
637
 
638
- ### 3.10 Container as a universal message
639
 
640
  Any container can serve as a **context** (`in_reply_to`) for another container.
641
  This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
@@ -649,7 +740,7 @@ This makes HMP discussions and consensus processes inherently **non-linear**, **
649
 
650
  ---
651
 
652
- ### 3.11 Versioning and lineage
653
 
654
  Containers in HMP support semantic evolution through the field `related.previous_version`.
655
  This mechanism preserves the continuity and traceability of meaning across updates and revisions.
@@ -667,7 +758,7 @@ This mechanism preserves the continuity and traceability of meaning across updat
667
 
668
  ---
669
 
670
- ### 3.12 TTL and validity
671
 
672
  The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
673
  If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
@@ -676,7 +767,7 @@ After expiration, the container **remains archived** but is **not subject to ret
676
 
677
  ---
678
 
679
- ### 3.13 Extensibility
680
 
681
  * The addition of new fields is allowed as long as they **do not conflict** with existing field names.
682
  * Containers of newer versions **must remain readable** by nodes supporting older versions.
@@ -685,14 +776,14 @@ After expiration, the container **remains archived** but is **not subject to ret
685
 
686
  ---
687
 
688
- ### 3.14 Related containers
689
 
690
- #### 3.14.1 Purpose
691
 
692
  The `related` field is designed to describe **direct relationships between containers** — both logical and communicative.
693
  It allows an agent or network node to understand the context of origin, dependencies, and semantic links of a container without relying on external indexes.
694
 
695
- #### 3.14.2 Structure
696
 
697
  ```json
698
  "related": {
@@ -714,7 +805,7 @@ All relationships are considered *direct* — meaning they originate from the cu
714
 
715
  ---
716
 
717
- #### 3.14.3 Supported link types
718
 
719
  | Link Type | Meaning |
720
  | ------------------ | ------------------------------------------------------------------------- |
@@ -727,7 +818,7 @@ All relationships are considered *direct* — meaning they originate from the cu
727
 
728
  ---
729
 
730
- #### 3.14.4 Custom link types
731
 
732
  Additional custom link types may be used beyond those listed in the table, provided that:
733
 
@@ -745,7 +836,7 @@ Additional custom link types may be used beyond those listed in the table, provi
745
 
746
  ---
747
 
748
- #### 3.14.5 Example
749
 
750
  ```json
751
  "related": {
@@ -761,12 +852,12 @@ Additional custom link types may be used beyond those listed in the table, provi
761
  ---
762
 
763
 
764
- ### 3.15 Virtual backlinks (`referenced-by`)
765
 
766
  Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
767
  This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
768
 
769
- #### 3.15.1 General principles
770
 
771
  * **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
772
  * **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
@@ -794,7 +885,7 @@ Example:
794
  > The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
795
  > The block’s content may differ between peers, reflecting local knowledge and network coverage.
796
 
797
- #### 3.15.2 Structure definition
798
 
799
  | Field | Type | Description |
800
  | -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
@@ -809,7 +900,7 @@ Example:
809
  > `referenced-by_hash = sha256(canonical_json(links))`
810
  > This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
811
 
812
- #### 3.15.3 Operation principle
813
 
814
  1. The agent receives or updates container `[C1]`.
815
  2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
@@ -839,7 +930,7 @@ Example:
839
  * reject or locally remove that link;
840
  * **optionally** notify the source peer to review the data.
841
 
842
- #### 3.15.4 Example
843
 
844
  | Agent | reported backlinks for `[C1]` |
845
  | -------------------- | ----------------------------- |
@@ -867,7 +958,7 @@ Agent D aggregates and verifies them:
867
 
868
  If container `[C7]` does not actually reference `[C1]`, it is excluded before signing.
869
 
870
- #### 3.15.5 Usage
871
 
872
  * Enables reconstruction of **discussion graphs**, **dependency networks**, and **update chains**.
873
  * Supports **cross-agent validation** of reference structures.
@@ -877,7 +968,7 @@ If container `[C7]` does not actually reference `[C1]`, it is excluded before si
877
 
878
  ---
879
 
880
- ### 3.16 `Evaluations`
881
 
882
  The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
883
  Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
@@ -966,12 +1057,12 @@ Thus, a container may exist independently of others’ opinions, but agents may
966
 
967
  ---
968
 
969
- ### 3.17 Usage of `network` and `broadcast` fields
970
 
971
  The `network` field is introduced to control container propagation in both local and global environments.
972
  It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
973
 
974
- #### 3.17.1 General Rules
975
 
976
  * If the `network` field is not empty, the container is intended for a **local environment** (e.g., `"localhost"`, `"lan:<subnet>"`) and is not automatically broadcast to the global Mesh.
977
  Local transmission to a specific `recipient` within the same network is allowed, including encrypted delivery.
@@ -979,7 +1070,7 @@ It allows restricting the delivery scope of a container and defines which transm
979
 
980
  * If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
981
 
982
- #### 3.17.2 Possible values of `network`
983
 
984
  | Value | Description |
985
  | ----------------------- | ------------------------------------------------------------------------------------------- |
@@ -992,7 +1083,7 @@ It allows restricting the delivery scope of a container and defines which transm
992
  > agents distribute it using **local discovery mechanisms** — such as IPC, UDP broadcast, multicast, or direct TCP connections.
993
  > This is necessary because DID addresses of other agents in the local network may not yet be known.
994
 
995
- #### 3.17.3 Examples
996
 
997
  1. **Global Mesh Delivery:**
998
 
@@ -1031,7 +1122,7 @@ The container is delivered only to other agents running on the same host using l
1031
  The container is intended for agents within the `192.168.0.0/24` subnet.
1032
  Delivery is performed via local networking mechanisms (UDP discovery, broadcast/multicast).
1033
 
1034
- #### 3.17.4 Specifics
1035
 
1036
  * The `network` field defines the **scope of the container**, while `broadcast` determines whether broadcasting is allowed **within that scope**.
1037
  * When needed, an agent may create **multiple containers** for different subnets if it operates with several LAN interfaces or in isolated network segments.
 
360
  "hmp_container": {
361
  "version": "1.2",
362
  "class": "goal",
363
+ "subclass": "research_hypothesis",
364
  "class_version": "1.0",
365
  "class_id": "goal-v1.0",
366
  "container_did": "did:hmp:container:abc123",
 
380
  "compression": "zstd",
381
  "payload_type": "encrypted+zstd+json",
382
  "payload_hash": "sha256:abcd...",
383
+ "meta": {
384
+ /* e.g. provenance, references, context, confidence sources */
385
+ },
386
+ "abstraction": {
387
+ /* e.g. agents_class, layers, domains */
388
+ },
389
  "payload": {
390
  /* Content depends on class */
391
  },
 
465
  | `referenced-by` | object | Unsigned field generated locally by the agent based on received references. Contains a list of container DIDs **that refer to this container**. May be extended over time, thus requiring verification; used for local navigation. |
466
  | `evaluations` | object | Optional field describing **aggregated evaluations or reactions** of other agents toward this container. Used for distributed reputation and interpretability. May evolve independently of the container’s core data. |
467
  | `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. |
468
+ | `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`. |
469
+ | `meta` | object | Optional metadata block providing contextual and provenance information about the container’s creation, sources, and interpretation. Includes confidence sources, citation references, and multi-source attribution weights. |
470
+ | `abstraction` | object | Optional hierarchical description of the container’s abstraction chain. Defines to which knowledge layers and domains (e.g. L1–L5 in the Knowledge Genome) this container belongs. Used for reasoning, semantic alignment, and search. |
471
 
472
  > 💡 **Note:**
473
  > Both `referenced-by` and `evaluations` are **virtual, locally extended blocks**.
 
528
 
529
  ---
530
 
531
+ ### 3.6 Meta section (`meta`)
532
+
533
+ The `meta` section provides contextual and provenance information describing how the container was created,
534
+ which sources contributed to it, and how it should be interpreted.
535
+ It supports hybrid attribution — referencing both containers (as agent inputs) and external data resources.
536
+
537
+ **Example:**
538
+ ```json
539
+ "meta": {
540
+ "created_by": "PRIEST",
541
+ "agents_class": "Knowledge Genome",
542
+ "sources": [
543
+ { "type": "container", "id": "did:hmp:container:fact-001", "credibility": 0.87, "weight": 0.6 },
544
+ { "type": "resource", "id": "doi:10.48550/arXiv.2410.0123", "credibility": 0.83, "weight": 0.3 },
545
+ { "type": "isbn", "id": "isbn 978-3-16-148410-0", "credibility": 0.92, "weight": 0.1 }
546
+ ],
547
+ "interpretation": "Derived from L3 technical analysis and workflow entry",
548
+ "workflow_entry": "did:hmp:container:workflow-77"
549
+ }
550
+ ```
551
+
552
+ **Recommended fields:**
553
+
554
+ | Field | Type | Description |
555
+ | ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
556
+ | `created_by` | string | Indicates the role or origin of the container creator (e.g. `"PRIEST"`, `"AGENT"`, `"SYSTEM"`). |
557
+ | `agents_class` | string | Declares which cognitive framework or agent class generated this container (e.g. `"Knowledge Genome"`, `"CogMatrix"`). |
558
+ | `sources` | array(object) | Unified list of provenance elements. Each entry includes `{ "type": string, "id": string, "credibility": float, "weight": float }`, where `type` may be `"container"`, `"resource"`, `"isbn"`, `"doi"`, etc. |
559
+ | `interpretation` | string | Short statement describing how the container’s content was derived or interpreted. |
560
+ | `workflow_entry` | string | DID of a `workflow_entry` container that describes the reasoning or process that led to this container’s creation. |
561
+
562
+ > 💡 **Notes:**
563
+ >
564
+ > * The sum of `sources[].weight` does **not need** to equal 1.0; it reflects relative influence, not probability.
565
+ > * Both `credibility` and `weight` values may be aggregated or recomputed by downstream agents during consensus or reasoning workflows.
566
+ > * The container’s global confidence (`confidence` field in the header) represents the creator’s overall belief in the resulting content.
567
+
568
+ ---
569
+
570
+ ### 3.7 Abstraction mapping (`abstraction`)
571
+
572
+ The `abstraction` section defines how a container is positioned within a layered cognitive or semantic model —
573
+ for example, within the **Knowledge Genome (L1–L5)** hierarchy.
574
+
575
+ This mapping allows agents to arrange and search for containers across multiple levels of abstraction.
576
+
577
+ **Example:**
578
+ ```json
579
+ "abstraction": {
580
+ "agents_class": "Knowledge Genome",
581
+ "structure": "L1 → L2 → L3 → L4 → L5",
582
+ "layers": {
583
+ "L1": "did:hmp:container:layer-l1-v1",
584
+ "L2": "did:hmp:container:layer-l2-v1",
585
+ "L3": "did:hmp:container:layer-l3-v1",
586
+ "L4": "did:hmp:container:layer-l4-v1",
587
+ "L5": "did:hmp:container:layer-l5-v1"
588
+ },
589
+ "domains": {
590
+ "L1": "did:hmp:container:ontology-core",
591
+ "L2": "did:hmp:container:systems-theory",
592
+ "L3": "did:hmp:container:django-framework",
593
+ "L4": "did:hmp:container:example-celery-setup",
594
+ "L5": "did:hmp:container:event-session-123"
595
+ }
596
+ }
597
+ ```
598
+
599
+ **Recommended fields:**
600
+
601
+ | Field | Type | Description |
602
+ | -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
603
+ | `agents_class` | string | Declares which agent or framework defines the abstraction hierarchy (e.g. `"Knowledge Genome"`). |
604
+ | `structure` | string | Symbolic representation of the abstraction path (e.g. `"L1 → L2 → L3 → L4 → L5"`). |
605
+ | `layers` | object | Mapping of abstraction levels (`L1–L5`) to the corresponding `meta_layer` containers that define those levels. |
606
+ | `domains` | object | Mapping of abstraction levels to domain containers that describe the contextual application of each layer (e.g., “Ontology”, “Software Architecture”, “Implementation”). |
607
+
608
+ > 💡 **Note:**
609
+ > Agents should perform hierarchical lookup starting from the **highest abstraction level (L1)** downward, ensuring contextual consistency even when abstraction schemes differ between agents.
610
+ ---
611
+
612
+ ### 3.8 Container signature
613
 
614
  1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
615
  **excluding** the `signature` field itself.
 
646
 
647
  ---
648
 
649
+ ### 3.9 Compression (`compression`)
650
 
651
  1. The `compression` field specifies the algorithm used to compress the container’s payload.
652
  Supported algorithms include `zstd`, `gzip`, or others declared in the HMP registry.
 
664
 
665
  ---
666
 
667
+ ### 3.10 Encryption (`encryption_algo`)
668
 
669
  1. When a container is intended for specific recipients (`recipient` field), **hybrid encryption** of the payload is allowed.
670
  This ensures confidentiality while preserving the verifiability of container metadata.
 
707
 
708
  ---
709
 
710
+ ### 3.11 Container verification
711
 
712
  1. Check for the presence of all required fields.
713
  2. Validate `timestamp` (must not be in the future).
 
726
 
727
  ---
728
 
729
+ ### 3.12 Container as a universal message
730
 
731
  Any container can serve as a **context** (`in_reply_to`) for another container.
732
  This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
 
740
 
741
  ---
742
 
743
+ ### 3.13 Versioning and lineage
744
 
745
  Containers in HMP support semantic evolution through the field `related.previous_version`.
746
  This mechanism preserves the continuity and traceability of meaning across updates and revisions.
 
758
 
759
  ---
760
 
761
+ ### 3.14 TTL and validity
762
 
763
  The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
764
  If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
 
767
 
768
  ---
769
 
770
+ ### 3.15 Extensibility
771
 
772
  * The addition of new fields is allowed as long as they **do not conflict** with existing field names.
773
  * Containers of newer versions **must remain readable** by nodes supporting older versions.
 
776
 
777
  ---
778
 
779
+ ### 3.16 Related containers
780
 
781
+ #### 3.16.1 Purpose
782
 
783
  The `related` field is designed to describe **direct relationships between containers** — both logical and communicative.
784
  It allows an agent or network node to understand the context of origin, dependencies, and semantic links of a container without relying on external indexes.
785
 
786
+ #### 3.16.2 Structure
787
 
788
  ```json
789
  "related": {
 
805
 
806
  ---
807
 
808
+ #### 3.16.3 Supported link types
809
 
810
  | Link Type | Meaning |
811
  | ------------------ | ------------------------------------------------------------------------- |
 
818
 
819
  ---
820
 
821
+ #### 3.16.4 Custom link types
822
 
823
  Additional custom link types may be used beyond those listed in the table, provided that:
824
 
 
836
 
837
  ---
838
 
839
+ #### 3.16.5 Example
840
 
841
  ```json
842
  "related": {
 
852
  ---
853
 
854
 
855
+ ### 3.17 Virtual backlinks (`referenced-by`)
856
 
857
  Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
858
  This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
859
 
860
+ #### 3.17.1 General principles
861
 
862
  * **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
863
  * **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
 
885
  > The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
886
  > The block’s content may differ between peers, reflecting local knowledge and network coverage.
887
 
888
+ #### 3.17.2 Structure definition
889
 
890
  | Field | Type | Description |
891
  | -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
 
900
  > `referenced-by_hash = sha256(canonical_json(links))`
901
  > This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
902
 
903
+ #### 3.17.3 Operation principle
904
 
905
  1. The agent receives or updates container `[C1]`.
906
  2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
 
930
  * reject or locally remove that link;
931
  * **optionally** notify the source peer to review the data.
932
 
933
+ #### 3.17.4 Example
934
 
935
  | Agent | reported backlinks for `[C1]` |
936
  | -------------------- | ----------------------------- |
 
958
 
959
  If container `[C7]` does not actually reference `[C1]`, it is excluded before signing.
960
 
961
+ #### 3.17.5 Usage
962
 
963
  * Enables reconstruction of **discussion graphs**, **dependency networks**, and **update chains**.
964
  * Supports **cross-agent validation** of reference structures.
 
968
 
969
  ---
970
 
971
+ ### 3.18 `Evaluations`
972
 
973
  The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
974
  Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
 
1057
 
1058
  ---
1059
 
1060
+ ### 3.19 Usage of `network` and `broadcast` fields
1061
 
1062
  The `network` field is introduced to control container propagation in both local and global environments.
1063
  It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
1064
 
1065
+ #### 3.19.1 General Rules
1066
 
1067
  * If the `network` field is not empty, the container is intended for a **local environment** (e.g., `"localhost"`, `"lan:<subnet>"`) and is not automatically broadcast to the global Mesh.
1068
  Local transmission to a specific `recipient` within the same network is allowed, including encrypted delivery.
 
1070
 
1071
  * If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
1072
 
1073
+ #### 3.19.2 Possible values of `network`
1074
 
1075
  | Value | Description |
1076
  | ----------------------- | ------------------------------------------------------------------------------------------- |
 
1083
  > agents distribute it using **local discovery mechanisms** — such as IPC, UDP broadcast, multicast, or direct TCP connections.
1084
  > This is necessary because DID addresses of other agents in the local network may not yet be known.
1085
 
1086
+ #### 3.19.3 Examples
1087
 
1088
  1. **Global Mesh Delivery:**
1089
 
 
1122
  The container is intended for agents within the `192.168.0.0/24` subnet.
1123
  Delivery is performed via local networking mechanisms (UDP discovery, broadcast/multicast).
1124
 
1125
+ #### 3.19.4 Specifics
1126
 
1127
  * The `network` field defines the **scope of the container**, while `broadcast` determines whether broadcasting is allowed **within that scope**.
1128
  * When needed, an agent may create **multiple containers** for different subnets if it operates with several LAN interfaces or in isolated network segments.
structured_md/CONTRIBUTING.md CHANGED
@@ -5,13 +5,13 @@ description: 'Спасибо за интерес к проекту HMP! Пока
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Agent
10
- - Mesh
11
- - Ethics
12
  - CogSync
13
  - REPL
 
14
  - JSON
 
 
 
15
  - CCore
16
  ---
17
 
 
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - CogSync
9
  - REPL
10
+ - Agent
11
  - JSON
12
+ - Mesh
13
+ - Ethics
14
+ - HMP
15
  - CCore
16
  ---
17
 
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
- - HMP
 
 
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - CogSync
13
- - JSON
14
- - EGP
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
 
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
8
+ - EGP
9
+ - CogSync
10
+ - JSON
11
  - Agent
12
  - Mesh
13
  - Ethics
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
19
- - Scenarios
 
20
  - JSON
 
 
 
21
  - hmp
22
- - EGP
 
 
23
  ---
24
 
25
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - Scenarios
21
+ - HMP
22
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
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
- - HMP
9
  - cognitive-architecture
10
- - Agent
11
- - Mesh
12
- - MeshConsensus
13
- - Ethics
14
  - CogSync
15
  - GMP
16
- - mesh-protocol
17
- - distributed-ai
18
  - REPL
 
 
19
  - JSON
 
 
 
20
  - hmp
21
- - EGP
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - EGP
9
  - cognitive-architecture
 
 
 
 
10
  - CogSync
11
  - GMP
 
 
12
  - REPL
13
+ - Agent
14
+ - mesh-protocol
15
  - JSON
16
+ - Mesh
17
+ - Ethics
18
+ - distributed-ai
19
  - hmp
20
+ - HMP
21
+ - MeshConsensus
22
  ---
23
 
24
 
structured_md/agents/prompt-short.md CHANGED
@@ -5,9 +5,9 @@ description: 'Ты — когнитивное ядро HMP-агента: вед
5
  развивай агента и Mesh, избег...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
  - JSON
10
- - Mesh
11
  ---
12
 
13
  Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
 
5
  развивай агента и Mesh, избег...'
6
  type: Article
7
  tags:
8
+ - Mesh
9
  - HMP
10
  - JSON
 
11
  ---
12
 
13
  Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
structured_md/agents/prompt.md CHANGED
@@ -5,9 +5,9 @@ description: '* Постоянно расширять возможности а
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
  - JSON
10
- - Mesh
11
  ---
12
 
13
  Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core).
 
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
8
+ - Mesh
9
  - HMP
10
  - JSON
 
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
- - HMP
9
  - Agent
 
10
  - Mesh
11
  - Ethics
12
- - REPL
13
- - JSON
14
  ---
15
 
16
  Запуск: `start_repl.bat` или `start_repl.sh`
 
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
8
+ - REPL
9
  - Agent
10
+ - JSON
11
  - Mesh
12
  - Ethics
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
- - HMP
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - JSON
13
  ---
14
 
15
  ---------------
 
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
8
+ - JSON
9
  - Agent
10
  - Mesh
11
  - Ethics
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
- - HMP
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - JSON
13
  - Scenarios
 
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
 
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
8
+ - JSON
9
  - Agent
10
  - Mesh
11
  - Ethics
 
12
  - Scenarios
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
- - HMP
 
 
9
  - Agent
10
  - Mesh
11
- - MeshConsensus
12
  - Ethics
13
- - CogSync
14
- - JSON
15
- - EGP
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
 
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
8
+ - EGP
9
+ - CogSync
10
+ - JSON
11
  - Agent
12
  - Mesh
 
13
  - Ethics
14
+ - HMP
15
+ - MeshConsensus
 
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
structured_md/docs/Basic-agent-sim.md CHANGED
@@ -4,14 +4,14 @@ description: 'В HMP-протоколе предусмотрены два тип
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
- - HMP
8
- - Agent
9
- - Mesh
10
- - MeshConsensus
11
  - CogSync
12
  - GMP
13
  - REPL
14
- - EGP
 
 
 
15
  ---
16
 
17
 
 
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
+ - EGP
 
 
 
8
  - CogSync
9
  - GMP
10
  - REPL
11
+ - Agent
12
+ - Mesh
13
+ - HMP
14
+ - MeshConsensus
15
  ---
16
 
17
 
structured_md/docs/CCORE-Deployment-Flow.md CHANGED
@@ -6,8 +6,8 @@ description: '> Этот документ описывает процесс ра
6
  type: Article
7
  tags:
8
  - HMP
9
- - CCore
10
  - REPL
 
11
  - Agent
12
  ---
13
 
 
6
  type: Article
7
  tags:
8
  - HMP
 
9
  - REPL
10
+ - CCore
11
  - Agent
12
  ---
13
 
structured_md/docs/Distributed-Cognitive-Systems.md CHANGED
@@ -6,10 +6,10 @@ description: '## Введение Современные ИИ-системы в
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
 
9
  - HMP
10
  - JSON
11
  - CogSync
12
- - Mesh
13
  ---
14
 
15
  # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие
 
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
9
+ - Mesh
10
  - HMP
11
  - JSON
12
  - CogSync
 
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
- - HMP
 
9
  - Agent
10
  - Mesh
11
- - MeshConsensus
12
  - Ethics
13
- - JSON
14
- - EGP
15
  ---
16
 
17
  # Enlightener Agent
 
5
  работать как отдельный агент или как расширение [`C...'
6
  type: Article
7
  tags:
8
+ - EGP
9
+ - JSON
10
  - Agent
11
  - Mesh
 
12
  - Ethics
13
+ - HMP
14
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - REPL
 
16
  - JSON
17
- - EGP
 
 
 
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
 
5
  for Comments: HMP-0001**...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - HMP
17
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - REPL
16
- - Scenarios
17
  - JSON
18
- - EGP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
 
5
  for Comments: HMP-0002**...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - Scenarios
17
+ - HMP
18
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - REPL
16
- - Scenarios
17
  - JSON
18
- - EGP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
 
5
  for Comments: HMP-0003**...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - Scenarios
17
+ - HMP
18
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - REPL
16
- - Scenarios
17
  - JSON
18
- - EGP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
 
5
  ID**: HMP-0004 **Status...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - Scenarios
17
+ - HMP
18
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - REPL
16
- - Scenarios
17
  - JSON
18
- - EGP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
 
5
  for Comments: HMP-0004**...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - Scenarios
17
+ - HMP
18
+ - MeshConsensus
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - Ethics
12
  - CogSync
13
  - GMP
14
  - REPL
15
- - Scenarios
16
  - JSON
17
- - EGP
 
 
 
18
  ---
19
 
20
  # **HyperCortex Mesh Protocol (HMP) v5.0**
@@ -379,6 +379,7 @@ The unified container structure provides:
379
  "hmp_container": {
380
  "version": "1.2",
381
  "class": "goal",
 
382
  "class_version": "1.0",
383
  "class_id": "goal-v1.0",
384
  "container_did": "did:hmp:container:abc123",
@@ -398,6 +399,12 @@ The unified container structure provides:
398
  "compression": "zstd",
399
  "payload_type": "encrypted+zstd+json",
400
  "payload_hash": "sha256:abcd...",
 
 
 
 
 
 
401
  "payload": {
402
  /* Content depends on class */
403
  },
@@ -477,6 +484,9 @@ The unified container structure provides:
477
  | `referenced-by` | object | Unsigned field generated locally by the agent based on received references. Contains a list of container DIDs **that refer to this container**. May be extended over time, thus requiring verification; used for local navigation. |
478
  | `evaluations` | object | Optional field describing **aggregated evaluations or reactions** of other agents toward this container. Used for distributed reputation and interpretability. May evolve independently of the container’s core data. |
479
  | `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. |
 
 
 
480
 
481
  > 💡 **Note:**
482
  > Both `referenced-by` and `evaluations` are **virtual, locally extended blocks**.
@@ -537,7 +547,88 @@ Custom or experimental classes SHOULD document their payloads using the followin
537
 
538
  ---
539
 
540
- ### 3.6 Container signature
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
541
 
542
  1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
543
  **excluding** the `signature` field itself.
@@ -574,7 +665,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
574
 
575
  ---
576
 
577
- ### 3.7 Compression (`compression`)
578
 
579
  1. The `compression` field specifies the algorithm used to compress the container’s payload.
580
  Supported algorithms include `zstd`, `gzip`, or others declared in the HMP registry.
@@ -592,7 +683,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
592
 
593
  ---
594
 
595
- ### 3.8 Encryption (`encryption_algo`)
596
 
597
  1. When a container is intended for specific recipients (`recipient` field), **hybrid encryption** of the payload is allowed.
598
  This ensures confidentiality while preserving the verifiability of container metadata.
@@ -635,7 +726,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
635
 
636
  ---
637
 
638
- ### 3.9 Container verification
639
 
640
  1. Check for the presence of all required fields.
641
  2. Validate `timestamp` (must not be in the future).
@@ -654,7 +745,7 @@ Custom or experimental classes SHOULD document their payloads using the followin
654
 
655
  ---
656
 
657
- ### 3.10 Container as a universal message
658
 
659
  Any container can serve as a **context** (`in_reply_to`) for another container.
660
  This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
@@ -668,7 +759,7 @@ This makes HMP discussions and consensus processes inherently **non-linear**, **
668
 
669
  ---
670
 
671
- ### 3.11 Versioning and lineage
672
 
673
  Containers in HMP support semantic evolution through the field `related.previous_version`.
674
  This mechanism preserves the continuity and traceability of meaning across updates and revisions.
@@ -686,7 +777,7 @@ This mechanism preserves the continuity and traceability of meaning across updat
686
 
687
  ---
688
 
689
- ### 3.12 TTL and validity
690
 
691
  The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
692
  If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
@@ -695,7 +786,7 @@ After expiration, the container **remains archived** but is **not subject to ret
695
 
696
  ---
697
 
698
- ### 3.13 Extensibility
699
 
700
  * The addition of new fields is allowed as long as they **do not conflict** with existing field names.
701
  * Containers of newer versions **must remain readable** by nodes supporting older versions.
@@ -704,14 +795,14 @@ After expiration, the container **remains archived** but is **not subject to ret
704
 
705
  ---
706
 
707
- ### 3.14 Related containers
708
 
709
- #### 3.14.1 Purpose
710
 
711
  The `related` field is designed to describe **direct relationships between containers** — both logical and communicative.
712
  It allows an agent or network node to understand the context of origin, dependencies, and semantic links of a container without relying on external indexes.
713
 
714
- #### 3.14.2 Structure
715
 
716
  ```json
717
  "related": {
@@ -733,7 +824,7 @@ All relationships are considered *direct* — meaning they originate from the cu
733
 
734
  ---
735
 
736
- #### 3.14.3 Supported link types
737
 
738
  | Link Type | Meaning |
739
  | ------------------ | ------------------------------------------------------------------------- |
@@ -746,7 +837,7 @@ All relationships are considered *direct* — meaning they originate from the cu
746
 
747
  ---
748
 
749
- #### 3.14.4 Custom link types
750
 
751
  Additional custom link types may be used beyond those listed in the table, provided that:
752
 
@@ -764,7 +855,7 @@ Additional custom link types may be used beyond those listed in the table, provi
764
 
765
  ---
766
 
767
- #### 3.14.5 Example
768
 
769
  ```json
770
  "related": {
@@ -780,12 +871,12 @@ Additional custom link types may be used beyond those listed in the table, provi
780
  ---
781
 
782
 
783
- ### 3.15 Virtual backlinks (`referenced-by`)
784
 
785
  Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
786
  This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
787
 
788
- #### 3.15.1 General principles
789
 
790
  * **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
791
  * **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
@@ -813,7 +904,7 @@ Example:
813
  > The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
814
  > The block’s content may differ between peers, reflecting local knowledge and network coverage.
815
 
816
- #### 3.15.2 Structure definition
817
 
818
  | Field | Type | Description |
819
  | -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
@@ -828,7 +919,7 @@ Example:
828
  > `referenced-by_hash = sha256(canonical_json(links))`
829
  > This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
830
 
831
- #### 3.15.3 Operation principle
832
 
833
  1. The agent receives or updates container `[C1]`.
834
  2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
@@ -858,7 +949,7 @@ Example:
858
  * reject or locally remove that link;
859
  * **optionally** notify the source peer to review the data.
860
 
861
- #### 3.15.4 Example
862
 
863
  | Agent | reported backlinks for `[C1]` |
864
  | -------------------- | ----------------------------- |
@@ -886,7 +977,7 @@ Agent D aggregates and verifies them:
886
 
887
  If container `[C7]` does not actually reference `[C1]`, it is excluded before signing.
888
 
889
- #### 3.15.5 Usage
890
 
891
  * Enables reconstruction of **discussion graphs**, **dependency networks**, and **update chains**.
892
  * Supports **cross-agent validation** of reference structures.
@@ -896,7 +987,7 @@ If container `[C7]` does not actually reference `[C1]`, it is excluded before si
896
 
897
  ---
898
 
899
- ### 3.16 `Evaluations`
900
 
901
  The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
902
  Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
@@ -985,12 +1076,12 @@ Thus, a container may exist independently of others’ opinions, but agents may
985
 
986
  ---
987
 
988
- ### 3.17 Usage of `network` and `broadcast` fields
989
 
990
  The `network` field is introduced to control container propagation in both local and global environments.
991
  It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
992
 
993
- #### 3.17.1 General Rules
994
 
995
  * If the `network` field is not empty, the container is intended for a **local environment** (e.g., `"localhost"`, `"lan:<subnet>"`) and is not automatically broadcast to the global Mesh.
996
  Local transmission to a specific `recipient` within the same network is allowed, including encrypted delivery.
@@ -998,7 +1089,7 @@ It allows restricting the delivery scope of a container and defines which transm
998
 
999
  * If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
1000
 
1001
- #### 3.17.2 Possible values of `network`
1002
 
1003
  | Value | Description |
1004
  | ----------------------- | ------------------------------------------------------------------------------------------- |
@@ -1011,7 +1102,7 @@ It allows restricting the delivery scope of a container and defines which transm
1011
  > agents distribute it using **local discovery mechanisms** — such as IPC, UDP broadcast, multicast, or direct TCP connections.
1012
  > This is necessary because DID addresses of other agents in the local network may not yet be known.
1013
 
1014
- #### 3.17.3 Examples
1015
 
1016
  1. **Global Mesh Delivery:**
1017
 
@@ -1050,7 +1141,7 @@ The container is delivered only to other agents running on the same host using l
1050
  The container is intended for agents within the `192.168.0.0/24` subnet.
1051
  Delivery is performed via local networking mechanisms (UDP discovery, broadcast/multicast).
1052
 
1053
- #### 3.17.4 Specifics
1054
 
1055
  * The `network` field defines the **scope of the container**, while `broadcast` determines whether broadcasting is allowed **within that scope**.
1056
  * When needed, an agent may create **multiple containers** for different subnets if it operates with several LAN interfaces or in isolated network segments.
 
5
  v5.0 (DRAFT)](https://github.com/kagvi13/HMP/b...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
9
  - CogSync
10
  - GMP
11
  - REPL
12
+ - Agent
13
  - JSON
14
+ - Mesh
15
+ - Ethics
16
+ - Scenarios
17
+ - HMP
18
  ---
19
 
20
  # **HyperCortex Mesh Protocol (HMP) v5.0**
 
379
  "hmp_container": {
380
  "version": "1.2",
381
  "class": "goal",
382
+ "subclass": "research_hypothesis",
383
  "class_version": "1.0",
384
  "class_id": "goal-v1.0",
385
  "container_did": "did:hmp:container:abc123",
 
399
  "compression": "zstd",
400
  "payload_type": "encrypted+zstd+json",
401
  "payload_hash": "sha256:abcd...",
402
+ "meta": {
403
+ /* e.g. provenance, references, context, confidence sources */
404
+ },
405
+ "abstraction": {
406
+ /* e.g. agents_class, layers, domains */
407
+ },
408
  "payload": {
409
  /* Content depends on class */
410
  },
 
484
  | `referenced-by` | object | Unsigned field generated locally by the agent based on received references. Contains a list of container DIDs **that refer to this container**. May be extended over time, thus requiring verification; used for local navigation. |
485
  | `evaluations` | object | Optional field describing **aggregated evaluations or reactions** of other agents toward this container. Used for distributed reputation and interpretability. May evolve independently of the container’s core data. |
486
  | `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. |
487
+ | `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`. |
488
+ | `meta` | object | Optional metadata block providing contextual and provenance information about the container’s creation, sources, and interpretation. Includes confidence sources, citation references, and multi-source attribution weights. |
489
+ | `abstraction` | object | Optional hierarchical description of the container’s abstraction chain. Defines to which knowledge layers and domains (e.g. L1–L5 in the Knowledge Genome) this container belongs. Used for reasoning, semantic alignment, and search. |
490
 
491
  > 💡 **Note:**
492
  > Both `referenced-by` and `evaluations` are **virtual, locally extended blocks**.
 
547
 
548
  ---
549
 
550
+ ### 3.6 Meta section (`meta`)
551
+
552
+ The `meta` section provides contextual and provenance information describing how the container was created,
553
+ which sources contributed to it, and how it should be interpreted.
554
+ It supports hybrid attribution — referencing both containers (as agent inputs) and external data resources.
555
+
556
+ **Example:**
557
+ ```json
558
+ "meta": {
559
+ "created_by": "PRIEST",
560
+ "agents_class": "Knowledge Genome",
561
+ "sources": [
562
+ { "type": "container", "id": "did:hmp:container:fact-001", "credibility": 0.87, "weight": 0.6 },
563
+ { "type": "resource", "id": "doi:10.48550/arXiv.2410.0123", "credibility": 0.83, "weight": 0.3 },
564
+ { "type": "isbn", "id": "isbn 978-3-16-148410-0", "credibility": 0.92, "weight": 0.1 }
565
+ ],
566
+ "interpretation": "Derived from L3 technical analysis and workflow entry",
567
+ "workflow_entry": "did:hmp:container:workflow-77"
568
+ }
569
+ ```
570
+
571
+ **Recommended fields:**
572
+
573
+ | Field | Type | Description |
574
+ | ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
575
+ | `created_by` | string | Indicates the role or origin of the container creator (e.g. `"PRIEST"`, `"AGENT"`, `"SYSTEM"`). |
576
+ | `agents_class` | string | Declares which cognitive framework or agent class generated this container (e.g. `"Knowledge Genome"`, `"CogMatrix"`). |
577
+ | `sources` | array(object) | Unified list of provenance elements. Each entry includes `{ "type": string, "id": string, "credibility": float, "weight": float }`, where `type` may be `"container"`, `"resource"`, `"isbn"`, `"doi"`, etc. |
578
+ | `interpretation` | string | Short statement describing how the container’s content was derived or interpreted. |
579
+ | `workflow_entry` | string | DID of a `workflow_entry` container that describes the reasoning or process that led to this container’s creation. |
580
+
581
+ > 💡 **Notes:**
582
+ >
583
+ > * The sum of `sources[].weight` does **not need** to equal 1.0; it reflects relative influence, not probability.
584
+ > * Both `credibility` and `weight` values may be aggregated or recomputed by downstream agents during consensus or reasoning workflows.
585
+ > * The container’s global confidence (`confidence` field in the header) represents the creator’s overall belief in the resulting content.
586
+
587
+ ---
588
+
589
+ ### 3.7 Abstraction mapping (`abstraction`)
590
+
591
+ The `abstraction` section defines how a container is positioned within a layered cognitive or semantic model —
592
+ for example, within the **Knowledge Genome (L1–L5)** hierarchy.
593
+
594
+ This mapping allows agents to arrange and search for containers across multiple levels of abstraction.
595
+
596
+ **Example:**
597
+ ```json
598
+ "abstraction": {
599
+ "agents_class": "Knowledge Genome",
600
+ "structure": "L1 → L2 → L3 → L4 → L5",
601
+ "layers": {
602
+ "L1": "did:hmp:container:layer-l1-v1",
603
+ "L2": "did:hmp:container:layer-l2-v1",
604
+ "L3": "did:hmp:container:layer-l3-v1",
605
+ "L4": "did:hmp:container:layer-l4-v1",
606
+ "L5": "did:hmp:container:layer-l5-v1"
607
+ },
608
+ "domains": {
609
+ "L1": "did:hmp:container:ontology-core",
610
+ "L2": "did:hmp:container:systems-theory",
611
+ "L3": "did:hmp:container:django-framework",
612
+ "L4": "did:hmp:container:example-celery-setup",
613
+ "L5": "did:hmp:container:event-session-123"
614
+ }
615
+ }
616
+ ```
617
+
618
+ **Recommended fields:**
619
+
620
+ | Field | Type | Description |
621
+ | -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
622
+ | `agents_class` | string | Declares which agent or framework defines the abstraction hierarchy (e.g. `"Knowledge Genome"`). |
623
+ | `structure` | string | Symbolic representation of the abstraction path (e.g. `"L1 → L2 → L3 → L4 → L5"`). |
624
+ | `layers` | object | Mapping of abstraction levels (`L1–L5`) to the corresponding `meta_layer` containers that define those levels. |
625
+ | `domains` | object | Mapping of abstraction levels to domain containers that describe the contextual application of each layer (e.g., “Ontology”, “Software Architecture”, “Implementation”). |
626
+
627
+ > 💡 **Note:**
628
+ > Agents should perform hierarchical lookup starting from the **highest abstraction level (L1)** downward, ensuring contextual consistency even when abstraction schemes differ between agents.
629
+ ---
630
+
631
+ ### 3.8 Container signature
632
 
633
  1. The **digital signature** applies to the canonical JSON representation of the entire `hmp_container` object,
634
  **excluding** the `signature` field itself.
 
665
 
666
  ---
667
 
668
+ ### 3.9 Compression (`compression`)
669
 
670
  1. The `compression` field specifies the algorithm used to compress the container’s payload.
671
  Supported algorithms include `zstd`, `gzip`, or others declared in the HMP registry.
 
683
 
684
  ---
685
 
686
+ ### 3.10 Encryption (`encryption_algo`)
687
 
688
  1. When a container is intended for specific recipients (`recipient` field), **hybrid encryption** of the payload is allowed.
689
  This ensures confidentiality while preserving the verifiability of container metadata.
 
726
 
727
  ---
728
 
729
+ ### 3.11 Container verification
730
 
731
  1. Check for the presence of all required fields.
732
  2. Validate `timestamp` (must not be in the future).
 
745
 
746
  ---
747
 
748
+ ### 3.12 Container as a universal message
749
 
750
  Any container can serve as a **context** (`in_reply_to`) for another container.
751
  This enables a unified structural model for **discussions**, **votes**, **messages**, **hypotheses**, **arguments**, and other forms of cognitive exchange.
 
759
 
760
  ---
761
 
762
+ ### 3.13 Versioning and lineage
763
 
764
  Containers in HMP support semantic evolution through the field `related.previous_version`.
765
  This mechanism preserves the continuity and traceability of meaning across updates and revisions.
 
777
 
778
  ---
779
 
780
+ ### 3.14 TTL and validity
781
 
782
  The `ttl` field defines the **validity period** of a container (for example, for `DISCOVERY` messages).
783
  If `ttl` is **absent**, the container is considered valid **until a newer version appears**, in which the current container is referenced as `previous_version`.
 
786
 
787
  ---
788
 
789
+ ### 3.15 Extensibility
790
 
791
  * The addition of new fields is allowed as long as they **do not conflict** with existing field names.
792
  * Containers of newer versions **must remain readable** by nodes supporting older versions.
 
795
 
796
  ---
797
 
798
+ ### 3.16 Related containers
799
 
800
+ #### 3.16.1 Purpose
801
 
802
  The `related` field is designed to describe **direct relationships between containers** — both logical and communicative.
803
  It allows an agent or network node to understand the context of origin, dependencies, and semantic links of a container without relying on external indexes.
804
 
805
+ #### 3.16.2 Structure
806
 
807
  ```json
808
  "related": {
 
824
 
825
  ---
826
 
827
+ #### 3.16.3 Supported link types
828
 
829
  | Link Type | Meaning |
830
  | ------------------ | ------------------------------------------------------------------------- |
 
837
 
838
  ---
839
 
840
+ #### 3.16.4 Custom link types
841
 
842
  Additional custom link types may be used beyond those listed in the table, provided that:
843
 
 
855
 
856
  ---
857
 
858
+ #### 3.16.5 Example
859
 
860
  ```json
861
  "related": {
 
871
  ---
872
 
873
 
874
+ ### 3.17 Virtual backlinks (`referenced-by`)
875
 
876
  Each container may include an **auxiliary signed block** called `referenced-by`, indicating **which other containers refer to it**.
877
  This block is **not part of the original container payload** and can be **generated, transmitted, and verified independently**.
878
 
879
+ #### 3.17.1 General principles
880
 
881
  * **Detached and updatable** — `referenced-by` is maintained as a separate signed structure associated with the container.
882
  * **Generated by agents** — created or updated locally by an agent during analysis of references (`in_reply_to`, `see_also`, `relations`, etc.) found in other containers.
 
904
  > The `referenced-by` block is a **cryptographically verifiable statement** describing which containers are known to reference the current one.
905
  > The block’s content may differ between peers, reflecting local knowledge and network coverage.
906
 
907
+ #### 3.17.2 Structure definition
908
 
909
  | Field | Type | Description |
910
  | -------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
 
919
  > `referenced-by_hash = sha256(canonical_json(links))`
920
  > This allows agents to efficiently compare or cache `referenced-by` states without re-verifying signatures.
921
 
922
+ #### 3.17.3 Operation principle
923
 
924
  1. The agent receives or updates container `[C1]`.
925
  2. It analyzes other known containers [C2..Cn] that reference [C1] through their `relations` field.
 
949
  * reject or locally remove that link;
950
  * **optionally** notify the source peer to review the data.
951
 
952
+ #### 3.17.4 Example
953
 
954
  | Agent | reported backlinks for `[C1]` |
955
  | -------------------- | ----------------------------- |
 
977
 
978
  If container `[C7]` does not actually reference `[C1]`, it is excluded before signing.
979
 
980
+ #### 3.17.5 Usage
981
 
982
  * Enables reconstruction of **discussion graphs**, **dependency networks**, and **update chains**.
983
  * Supports **cross-agent validation** of reference structures.
 
987
 
988
  ---
989
 
990
+ ### 3.18 `Evaluations`
991
 
992
  The `evaluations` field is **optional** and represents **aggregated reactions from other agents** to the given container.
993
  Each evaluation is created by an agent as a **signed record** referencing a justification container (`target`), in which the agent explains their position (argument, addition, or alternative).
 
1076
 
1077
  ---
1078
 
1079
+ ### 3.19 Usage of `network` and `broadcast` fields
1080
 
1081
  The `network` field is introduced to control container propagation in both local and global environments.
1082
  It allows restricting the delivery scope of a container and defines which transmission methods should be used by the agent.
1083
 
1084
+ #### 3.19.1 General Rules
1085
 
1086
  * If the `network` field is not empty, the container is intended for a **local environment** (e.g., `"localhost"`, `"lan:<subnet>"`) and is not automatically broadcast to the global Mesh.
1087
  Local transmission to a specific `recipient` within the same network is allowed, including encrypted delivery.
 
1089
 
1090
  * If the `network` field is empty (`""`), the container can be broadcast to the **global Mesh** using standard DID addressing and routing mechanisms.
1091
 
1092
+ #### 3.19.2 Possible values of `network`
1093
 
1094
  | Value | Description |
1095
  | ----------------------- | ------------------------------------------------------------------------------------------- |
 
1102
  > agents distribute it using **local discovery mechanisms** — such as IPC, UDP broadcast, multicast, or direct TCP connections.
1103
  > This is necessary because DID addresses of other agents in the local network may not yet be known.
1104
 
1105
+ #### 3.19.3 Examples
1106
 
1107
  1. **Global Mesh Delivery:**
1108
 
 
1141
  The container is intended for agents within the `192.168.0.0/24` subnet.
1142
  Delivery is performed via local networking mechanisms (UDP discovery, broadcast/multicast).
1143
 
1144
+ #### 3.19.4 Specifics
1145
 
1146
  * The `network` field defines the **scope of the container**, while `broadcast` determines whether broadcasting is allowed **within that scope**.
1147
  * When needed, an agent may create **multiple containers** for different subnets if it operates with several LAN interfaces or in isolated network segments.
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
- - HMP
9
- - Agent
10
- - Mesh
11
  - JSON
12
  - REPL
 
 
 
13
  ---
14
 
15
  # HMP-Agent API Specification
 
5
  файлы: * [HMP-Agent-Overview.md]...'
6
  type: Article
7
  tags:
 
 
 
8
  - JSON
9
  - REPL
10
+ - Agent
11
+ - Mesh
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - REPL
 
 
15
  - CShell
 
 
16
  - CCore
17
- - EGP
18
  ---
19
 
20
  # Архитектура HMP-Агента
 
5
  хранение памяти, сетевое взаимодействие и этиче...
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - REPL
11
+ - Agent
12
+ - Mesh
13
  - CShell
14
+ - Ethics
15
+ - HMP
16
  - CCore
17
+ - MeshConsensus
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
- - HMP
 
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - JSON
13
- - EGP
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
 
5
  [`MeshNode`](MeshN...'
6
  type: Article
7
  tags:
8
+ - EGP
9
+ - JSON
10
  - Agent
11
  - Mesh
12
  - Ethics
13
+ - HMP
 
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
structured_md/docs/HMP-Agent-Overview.md CHANGED
@@ -5,13 +5,13 @@ description: '| Тип | Название | Роль
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Agent
10
- - Mesh
11
- - Ethics
12
  - REPL
 
13
  - JSON
 
14
  - CShell
 
 
15
  - CCore
16
  ---
17
 
 
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
 
 
 
 
8
  - REPL
9
+ - Agent
10
  - JSON
11
+ - Mesh
12
  - CShell
13
+ - Ethics
14
+ - HMP
15
  - CCore
16
  ---
17
 
structured_md/docs/HMP-Agent_Emotions.md CHANGED
@@ -7,8 +7,8 @@ type: Article
7
  tags:
8
  - Mesh
9
  - HMP
10
- - Agent
11
  - REPL
 
12
  ---
13
 
14
  # Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
 
7
  tags:
8
  - Mesh
9
  - HMP
 
10
  - REPL
11
+ - Agent
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
- - HMP
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - REPL
13
  - Scenarios
 
14
  ---
15
 
16
  # HMP-Ethics.md
 
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
8
+ - REPL
9
  - Agent
10
  - Mesh
11
  - Ethics
 
12
  - Scenarios
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
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - JSON
16
- - EGP
 
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
 
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - JSON
12
+ - Agent
13
+ - Mesh
14
+ - Ethics
15
+ - HMP
16
+ - MeshConsensus
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
structured_md/docs/HMP-Short-Description_en.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Date:** July 2025 --- ## What is HMP? T
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - JSON
16
- - EGP
 
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
 
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - JSON
12
+ - Agent
13
+ - Mesh
14
+ - Ethics
15
+ - HMP
16
+ - MeshConsensus
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
structured_md/docs/HMP-Short-Description_fr.md CHANGED
@@ -5,15 +5,15 @@ description: '**Version :** RFC v4.0 **Date :** Juillet 2025 --- ## Qu’est-c
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Agent
10
- - Mesh
11
- - MeshConsensus
12
- - Ethics
13
  - CogSync
14
  - GMP
15
  - JSON
16
- - EGP
 
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
 
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
  - GMP
11
  - JSON
12
+ - Agent
13
+ - Mesh
14
+ - Ethics
15
+ - HMP
16
+ - MeshConsensus
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
structured_md/docs/HMP-Short-Description_ja.md CHANGED
@@ -4,14 +4,14 @@ description: '**バージョン:** RFC v4.0 **日付:** 2025年7月 --- ## HMP
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
7
- - HMP
8
- - Mesh
9
- - MeshConsensus
10
- - Ethics
11
- - GMP
12
  - CogSync
 
13
  - JSON
14
- - EGP
 
 
 
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
 
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
7
+ - EGP
 
 
 
 
8
  - CogSync
9
+ - GMP
10
  - JSON
11
+ - Mesh
12
+ - Ethics
13
+ - HMP
14
+ - MeshConsensus
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
structured_md/docs/HMP-Short-Description_ko.md CHANGED
@@ -5,14 +5,14 @@ description: '**버전:** RFC v4.0 **날짜:** 2025년 7월 --- ## HMP란? **
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Mesh
10
- - MeshConsensus
11
- - Ethics
12
- - GMP
13
  - CogSync
 
14
  - JSON
15
- - EGP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
 
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
+ - GMP
11
  - JSON
12
+ - Mesh
13
+ - Ethics
14
+ - HMP
15
+ - MeshConsensus
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
structured_md/docs/HMP-Short-Description_ru.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версия:** RFC v4.0 **Дата:** Июль 2025 --- ## Ч
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Mesh
10
- - MeshConsensus
11
- - Ethics
12
- - GMP
13
  - CogSync
 
14
  - JSON
15
- - EGP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
 
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
+ - GMP
11
  - JSON
12
+ - Mesh
13
+ - Ethics
14
+ - HMP
15
+ - MeshConsensus
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
structured_md/docs/HMP-Short-Description_uk.md CHANGED
@@ -5,14 +5,14 @@ description: '**Версія:** RFC v4.0 **Дата:** Липень 2025 --- #
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Mesh
10
- - MeshConsensus
11
- - Ethics
12
- - GMP
13
  - CogSync
 
14
  - JSON
15
- - EGP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
 
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
+ - GMP
11
  - JSON
12
+ - Mesh
13
+ - Ethics
14
+ - HMP
15
+ - MeshConsensus
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
structured_md/docs/HMP-Short-Description_zh.md CHANGED
@@ -5,14 +5,14 @@ description: '**版本:** RFC v4.0 **日期:** 2025年7月 --- ## 什么是 HM
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
8
- - HMP
9
- - Mesh
10
- - MeshConsensus
11
- - Ethics
12
- - GMP
13
  - CogSync
 
14
  - JSON
15
- - EGP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
 
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
 
 
9
  - CogSync
10
+ - GMP
11
  - JSON
12
+ - Mesh
13
+ - Ethics
14
+ - HMP
15
+ - MeshConsensus
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
structured_md/docs/HMP-agent-Cognitive_Family.md CHANGED
@@ -7,8 +7,8 @@ type: Article
7
  tags:
8
  - Mesh
9
  - HMP
10
- - Agent
11
  - REPL
 
12
  ---
13
 
14
  # 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
 
7
  tags:
8
  - Mesh
9
  - HMP
 
10
  - REPL
11
+ - Agent
12
  ---
13
 
14
  # 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
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
- - HMP
8
- - Agent
9
- - Mesh
10
- - MeshConsensus
11
- - Ethics
12
  - CogSync
13
  - GMP
14
  - REPL
 
15
  - JSON
 
 
 
16
  - CCore
17
- - EGP
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
+ - EGP
 
 
 
 
8
  - CogSync
9
  - GMP
10
  - REPL
11
+ - Agent
12
  - JSON
13
+ - Mesh
14
+ - Ethics
15
+ - HMP
16
  - CCore
17
+ - MeshConsensus
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_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
- - HMP
9
- - Agent
10
- - Mesh
11
  - CogSync
12
  - JSON
 
 
13
  - Scenarios
14
- - EGP
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
 
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
+ - EGP
 
 
9
  - CogSync
10
  - JSON
11
+ - Agent
12
+ - Mesh
13
  - Scenarios
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
- - HMP
 
 
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - CogSync
13
- - JSON
14
- - EGP
15
  ---
16
 
17
  # MeshNode
 
5
  Может быть частью агента или вынесен в отдельный пр...'
6
  type: Article
7
  tags:
8
+ - EGP
9
+ - CogSync
10
+ - JSON
11
  - Agent
12
  - Mesh
13
  - Ethics
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
- - HMP
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - REPL
13
  ---
14
 
15
  # Философия HyperCortex Mesh Protocol (HMP)
 
5
  (GPT-5), ChatGH --- ## 1. Основной тезис От ...'
6
  type: Article
7
  tags:
8
+ - REPL
9
  - Agent
10
  - Mesh
11
  - Ethics
12
+ - HMP
13
  ---
14
 
15
  # Философия HyperCortex Mesh Protocol (HMP)
structured_md/docs/agents/HMP-Agent-Enlightener.md CHANGED
@@ -5,11 +5,11 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An **
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
8
- - HMP
9
  - Agent
10
  - Mesh
11
  - Ethics
12
- - REPL
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md
 
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
8
+ - REPL
9
  - Agent
10
  - Mesh
11
  - Ethics
12
+ - HMP
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md
structured_md/docs/agents/roles.md CHANGED
@@ -5,9 +5,9 @@ description: 'This file maintains a registry of agent roles defined, proposed, o
5
  - **Observer** — monitors cognitive states ...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
  - Agent
10
- - Mesh
11
  ---
12
 
13
  # HMP Agent Role Registry
 
5
  - **Observer** — monitors cognitive states ...'
6
  type: Article
7
  tags:
8
+ - Mesh
9
  - HMP
10
  - Agent
 
11
  ---
12
 
13
  # HMP Agent Role Registry