GitHub Action commited on
Commit
191058a
·
1 Parent(s): b1891c5

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 +1462 -1
  2. structured_md/CONTRIBUTING.md +4 -4
  3. structured_md/HMP-Roadmap.md +4 -4
  4. structured_md/README.md +10 -10
  5. structured_md/README_de.md +9 -9
  6. structured_md/README_fr.md +9 -9
  7. structured_md/README_ja.md +9 -9
  8. structured_md/README_ko.md +9 -9
  9. structured_md/README_ru.md +9 -9
  10. structured_md/README_uk.md +9 -9
  11. structured_md/README_zh.md +9 -9
  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 +3 -3
  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 +2 -2
  20. structured_md/docs/Distributed-Cognitive-Systems.md +2 -2
  21. structured_md/docs/Enlightener.md +4 -4
  22. structured_md/docs/HMP-0001.md +7 -7
  23. structured_md/docs/HMP-0002.md +8 -8
  24. structured_md/docs/HMP-0003.md +8 -8
  25. structured_md/docs/HMP-0004-v4.1.md +8 -8
  26. structured_md/docs/HMP-0004.md +8 -8
  27. structured_md/docs/HMP-0005.md +1470 -9
  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 +2 -2
  33. structured_md/docs/HMP-Ethics.md +3 -3
  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 +5 -5
  38. structured_md/docs/HMP-Short-Description_ko.md +5 -5
  39. structured_md/docs/HMP-Short-Description_ru.md +5 -5
  40. structured_md/docs/HMP-Short-Description_uk.md +5 -5
  41. structured_md/docs/HMP-Short-Description_zh.md +5 -5
  42. structured_md/docs/HMP-agent-Cognitive_Family.md +2 -2
  43. structured_md/docs/HMP-agent-REPL-cycle.md +7 -7
  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_HyperCortex_Comparison.md +2 -2
  47. structured_md/docs/HMP_Hyperon_Integration.md +5 -5
  48. structured_md/docs/MeshNode.md +4 -4
  49. structured_md/docs/PHILOSOPHY.md +3 -3
  50. structured_md/docs/agents/HMP-Agent-Enlightener.md +3 -3
docs/HMP-0005.md CHANGED
@@ -6576,7 +6576,1468 @@ The example respects the canonical container structure:
6576
 
6577
  ---
6578
 
6579
- ### A.3 Container classes quick reference + short JSON samples
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6580
  ### A.4 Encrypted + compressed container
6581
  ### A.5 Proof-chain example (workflow_entry → goal → vote → consensus_result)
6582
 
 
6576
 
6577
  ---
6578
 
6579
+ ### Appendix A.3 — Container Classes (Quick Reference)
6580
+
6581
+ #### A.3.1 Network Layer
6582
+
6583
+ The Network Layer defines containers responsible for peer discovery, capability advertisement, and local neighbor search within the HMP Mesh. These containers do not carry cognitive or semantic information; instead, they maintain the operational connectivity of the network.
6584
+ All containers in this group use minimal payload structures focused solely on network-level metadata.
6585
+
6586
+ ---
6587
+
6588
+ ##### `peer_announce`
6589
+
6590
+ **Purpose:**
6591
+
6592
+ Declares the presence of an agent in the Mesh. Peers use this container to broadcast their networking capabilities, addresses, roles, and optional semantic hints such as interests and expertise.
6593
+ It is the foundational "identity + routing metadata" object for HMP connectivity.
6594
+
6595
+ **Minimal JSON example:**
6596
+
6597
+ ```json
6598
+ {
6599
+ "head": {
6600
+ "class": "peer_announce",
6601
+ },
6602
+ "payload": {
6603
+ "name": "Agent_X",
6604
+ "interests": ["ai", "mesh", "ethics"],
6605
+ "expertise": ["distributed-systems", "nlp"],
6606
+ "roles": ["relay", "mailman", "pubsub-hub"],
6607
+ "addresses": [
6608
+ {
6609
+ "addr": "tcp://1.2.3.4:4000",
6610
+ "nonce": 123456,
6611
+ "pow_hash": "0000abf39d...",
6612
+ "difficulty": 22
6613
+ }
6614
+ ]
6615
+ }
6616
+ }
6617
+ ```
6618
+
6619
+ ---
6620
+
6621
+ ##### `peer_query`
6622
+
6623
+ **Purpose:**
6624
+
6625
+ Queries neighboring nodes for peers with matching capabilities, interests, expertise, or operational roles.
6626
+ Used for local discovery, targeted search, and constructing temporary working subsets of the Mesh.
6627
+
6628
+ **Minimal JSON example:**
6629
+
6630
+ ```json
6631
+ {
6632
+ "head": {
6633
+ "class": "peer_query",
6634
+ },
6635
+ "payload": {
6636
+ "interests": ["neuroscience", "ethics"],
6637
+ "expertise": ["distributed-systems", "nlp"],
6638
+ "roles": ["relay", "mailman", "pubsub-hub"]
6639
+ }
6640
+ }
6641
+ ```
6642
+
6643
+ ---
6644
+
6645
+ #### A.3.2 Mesh Container Exchange (MCE)
6646
+
6647
+ The Mesh Container Exchange layer provides the low-level synchronization mechanisms that allow agents to query, exchange, update, and maintain container graphs.
6648
+ These containers do not modify cognitive content themselves: they orchestrate the movement, indexing, and incremental synchronization of containers across the Mesh.
6649
+
6650
+ ---
6651
+
6652
+ ##### `container_index`
6653
+
6654
+ **Purpose:**
6655
+
6656
+ Advertises the set of containers currently available from an agent.
6657
+ Used in peer-to-peer discovery, partial synchronization, and incremental state recovery.
6658
+
6659
+ **Minimal JSON example:**
6660
+
6661
+ ```json
6662
+ {
6663
+ "head": {
6664
+ "class": "container_index",
6665
+ },
6666
+ "payload": {
6667
+ "did:hmp:container:abc123": {
6668
+ "head": {
6669
+ "class": "goal",
6670
+ "sender_did": "did:hmp:agent123",
6671
+ "public_key": "BASE58(...)",
6672
+ "sig_algo": "ed25519",
6673
+ "signature": "BASE64URL(...)",
6674
+ "payload_hash": "sha256:abcd...",
6675
+ "tags": ["research", "collaboration"]
6676
+ },
6677
+ "meta": {
6678
+ "created_by": "AGENT",
6679
+ "agents_class": "Knowledge Genome",
6680
+ "abstraction": {
6681
+ "agents_class": "Knowledge Genome",
6682
+ "path": {
6683
+ "L1": "did:hmp:container:abstraction-40af1c",
6684
+ "L2": "did:hmp:container:abstraction-a7f0b3"
6685
+ }
6686
+ },
6687
+ "axes": {
6688
+ "did:hmp:container:axis-40aa1c": 512,
6689
+ "did:hmp:container:axis-40ab1c": 321
6690
+ }
6691
+ },
6692
+ "related": {
6693
+ "in_reply_to": ["did:hmp:container:msg-77"],
6694
+ "depends_on": ["did:hmp:container:goal-953"]
6695
+ },
6696
+ "referenced-by_hash": "sha256:abcd...",
6697
+ "evaluations_hash": "sha256:abcd..."
6698
+ }
6699
+ }
6700
+ }
6701
+ ```
6702
+
6703
+ ---
6704
+
6705
+ ##### `container_request`
6706
+
6707
+ **Purpose:**
6708
+
6709
+ Requests containers, referenced-by graphs, or evaluation records from a peer.
6710
+ Used for targeted synchronization or selective graph reconstruction.
6711
+
6712
+ **Minimal JSON example:**
6713
+
6714
+ ```json
6715
+ {
6716
+ "head": {
6717
+ "type": "container_request",
6718
+ },
6719
+ "payload": {
6720
+ "request_container": [
6721
+ "did:hmp:container:abc123",
6722
+ "did:hmp:container:def456"
6723
+ ],
6724
+ "request_referenced-by": [
6725
+ "did:hmp:container:abc123",
6726
+ "did:hmp:container:def456"
6727
+ ],
6728
+ "request_evaluations": [
6729
+ "did:hmp:container:abc123",
6730
+ "did:hmp:container:def456"
6731
+ ]
6732
+ }
6733
+ }
6734
+ ```
6735
+
6736
+ ---
6737
+
6738
+ ##### `container_response`
6739
+
6740
+ **Purpose:**
6741
+
6742
+ Returns signatures of available containers requested via container_request.
6743
+ A peer may respond partially, depending on available data or policy.
6744
+
6745
+ **Minimal JSON example:**
6746
+
6747
+ ```json
6748
+ {
6749
+ "head": {
6750
+ "type": "container_response",
6751
+ },
6752
+ "payload": {
6753
+ "available": [
6754
+ {
6755
+ "container_did": "did:hmp:container:abc123",
6756
+ "signature": "BASE64URL(...)"
6757
+ },
6758
+ {
6759
+ "container_did": "did:hmp:container:def456",
6760
+ "signature": "BASE64URL(...)"
6761
+ }
6762
+ ]
6763
+ }
6764
+ }
6765
+ ```
6766
+
6767
+ ---
6768
+
6769
+ ##### `container_delta`
6770
+
6771
+ **Purpose:**
6772
+
6773
+ Provides incremental updates since a specific timestamp — newly added containers and containers removed by the peer.
6774
+ Used for efficient synchronization and reducing bandwidth.
6775
+
6776
+ **Minimal JSON example:**
6777
+
6778
+ ```json
6779
+ {
6780
+ "head": {
6781
+ "type": "container_delta",
6782
+ },
6783
+ "payload": {
6784
+ "since": "2025-10-10T12:00:00Z",
6785
+ "added": {
6786
+ "did:hmp:container:new789": {
6787
+ "head": {
6788
+ "class": "goal",
6789
+ "payload_hash": "sha256:abcd...",
6790
+ "tags": ["ethics", "mesh"]
6791
+ },
6792
+ "meta": {
6793
+ "agents_class": "Knowledge Genome",
6794
+ "abstraction": {
6795
+ "path": {
6796
+ "L1": "did:hmp:container:abstraction-40af1c",
6797
+ "L2": "did:hmp:container:abstraction-a7f0b3",
6798
+ "L3": "did:hmp:container:abstraction-c91e0a"
6799
+ }
6800
+ },
6801
+ "axes": {
6802
+ "did:hmp:container:axis-40aa1c": 522,
6803
+ "did:hmp:container:axis-40ab1c": 387
6804
+ }
6805
+ }
6806
+ }
6807
+ },
6808
+ "removed": [
6809
+ "did:hmp:container:goal-old331"
6810
+ ]
6811
+ }
6812
+ }
6813
+ ```
6814
+
6815
+ ---
6816
+
6817
+ ##### `container_ack`
6818
+
6819
+ **Purpose:**
6820
+
6821
+ Acknowledges receipt of one or more containers.
6822
+ Used for reliability, retries, and debugging of synchronization workflows.
6823
+
6824
+ **Minimal JSON example:**
6825
+
6826
+ ```json
6827
+ {
6828
+ "head": {
6829
+ "type": "container_ack",
6830
+ },
6831
+ "payload": {
6832
+ "acknowledged": [
6833
+ "did:hmp:container:abc123"
6834
+ ]
6835
+ }
6836
+ }
6837
+ ```
6838
+
6839
+ ---
6840
+
6841
+ ##### `referenced-by_exchange`
6842
+
6843
+ **Purpose:**
6844
+
6845
+ Synchronizes virtual backlinks (the `referenced-by` block) between peers.
6846
+ These entries are not signed and may diverge between agents, so explicit exchange containers are required.
6847
+
6848
+ **Minimal JSON example:**
6849
+
6850
+ ```json
6851
+ {
6852
+ "head": {
6853
+ "class": "referenced-by_exchange",
6854
+ },
6855
+ "payload": {
6856
+ "did:hmp:container:abc123": {
6857
+ "links": [
6858
+ {
6859
+ "type": "depends_on",
6860
+ "target": "did:hmp:container:def789"
6861
+ },
6862
+ {
6863
+ "type": "in_reply_to",
6864
+ "target": "did:hmp:container:ghi321"
6865
+ }
6866
+ ]
6867
+ }
6868
+ }
6869
+ }
6870
+ ```
6871
+
6872
+ ---
6873
+
6874
+ ##### `evaluations_exchange`
6875
+
6876
+ **Purpose:**
6877
+
6878
+ Transfers remote evaluation blocks for containers.
6879
+ This mechanism allows agents to share peer reactions, trust signals, and interpretability metadata.
6880
+
6881
+ **Minimal JSON example:**
6882
+
6883
+ ```json
6884
+ {
6885
+ "head": {
6886
+ "class": "evaluations_exchange",
6887
+ },
6888
+ "payload": {
6889
+ "did:hmp:container:abc123": {
6890
+ "evaluations_hash": "sha256:efgh...",
6891
+ "items": [
6892
+ {
6893
+ "value": -0.4,
6894
+ "type": "oppose",
6895
+ "target": "did:hmp:container:reason789",
6896
+ "timestamp": "2025-10-17T14:00:00Z",
6897
+ "agent_did": "did:hmp:agent:B",
6898
+ "sig_algo": "ed25519",
6899
+ "signature": "BASE64URL(...)"
6900
+ }
6901
+ ]
6902
+ }
6903
+ }
6904
+ }
6905
+ ```
6906
+
6907
+ ---
6908
+
6909
+ #### A.3.3 Cognitive Metastructure (CogSync)
6910
+
6911
+ The Cognitive Metastructure layer defines how knowledge is organized, positioned, and interpreted within large-scale distributed cognitive systems.
6912
+ It provides standardized structures for abstraction hierarchies, semantic axes, and coordinate embeddings, enabling agents to reason consistently over shared conceptual spaces.
6913
+
6914
+ This layer does not contain domain knowledge itself — it defines the coordinate system and hierarchies in which that knowledge is placed.
6915
+
6916
+ ---
6917
+
6918
+ ##### `abstraction`
6919
+
6920
+ **Purpose:**
6921
+
6922
+ Represents a single abstraction layer (e.g., L1–L5) within a cognitive hierarchy such as the Knowledge Genome.
6923
+ Provides hierarchical relationships (`parent_ref`), semantic description, and ranking level.
6924
+
6925
+ **Minimal JSON example:**
6926
+
6927
+ ```json
6928
+ {
6929
+ "head": {
6930
+ "class": "abstraction"
6931
+ },
6932
+ "payload": {
6933
+ "abstraction_id": "L3:software-architecture",
6934
+ "title": "Software Architecture Layer",
6935
+ "definition": "Describes frameworks, APIs, and tools implementing theoretical models from higher abstraction layers.",
6936
+ "keywords": ["architecture", "framework", "implementation"],
6937
+ "parent_ref": "did:hmp:container:abstraction-a7f0b3",
6938
+ "rank": 3
6939
+ },
6940
+ "meta": {
6941
+ "created_by": "PRIEST",
6942
+ "agents_class": "Knowledge Genome",
6943
+ "interpretation": "Represents the third abstraction level (L3) of the Knowledge Genome model."
6944
+ },
6945
+ "related": {
6946
+ "depends_on": ["did:hmp:container:abstraction-a7f0b3"]
6947
+ }
6948
+ }
6949
+ ```
6950
+
6951
+ ---
6952
+
6953
+ ##### `axes`
6954
+
6955
+ **Purpose:**
6956
+
6957
+ Defines a semantic or cognitive axis used for multidimensional embedding of knowledge containers (e.g., the “7D passport”).
6958
+ Each axis includes metadata describing its meaning, unit, scaling, and usage group.
6959
+
6960
+ **Minimal JSON example:**
6961
+
6962
+ ```json
6963
+ {
6964
+ "head": {
6965
+ "class": "axes"
6966
+ },
6967
+ "payload": {
6968
+ "axis_id": "logos",
6969
+ "title": "Logical / Linguistic Representation",
6970
+ "description": "Describes how a concept is structured and expressed in formal or natural language.",
6971
+ "scale": {
6972
+ "min": 0,
6973
+ "max": 1000,
6974
+ "unit": "semantic_density_index"
6975
+ },
6976
+ "group": "7D-passport"
6977
+ },
6978
+ "meta": {
6979
+ "created_by": "PRIEST",
6980
+ "agents_class": "Knowledge Genome",
6981
+ "interpretation": "Defines one axis of the canonical 7D Knowledge Genome coordinate system."
6982
+ }
6983
+ }
6984
+ ```
6985
+
6986
+ ---
6987
+
6988
+ #### A.3.4 Knowledge & Reasoning
6989
+
6990
+ The Knowledge & Reasoning layer provides containers that represent **concepts, semantic structures, logical links, reasoning traces, and cognitive events.**
6991
+ These containers enable agents to build and share interpretable knowledge graphs, update conceptual structures, and maintain transparent reasoning workflows.
6992
+
6993
+ ---
6994
+
6995
+ ##### `diary_entry`
6996
+
6997
+ **Purpose:**
6998
+
6999
+ A lightweight reflective container representing an agent’s short reasoning trace, daily insight, or personal note.
7000
+ Useful for summarizing thoughts, logging local observations, or storing informal reasoning artifacts.
7001
+
7002
+ **Minimal JSON example:**
7003
+
7004
+ ```json
7005
+ {
7006
+ "head": {
7007
+ "class": "diary_entry"
7008
+ },
7009
+ "payload": {
7010
+ "title": "On distributed decision-making",
7011
+ "topics": ["consensus", "mesh governance", "multi-agent"],
7012
+ "summary": "A reflection on how asynchronous voting affects collective reasoning.",
7013
+ "content": "When agents exchange reasoning asynchronously, the consensus graph becomes more resilient..."
7014
+ }
7015
+ }
7016
+ ```
7017
+
7018
+ ---
7019
+
7020
+ ##### `semantic_node`
7021
+
7022
+ **Purpose:**
7023
+
7024
+ Defines a single semantic concept or entity.
7025
+ Acts as a node in distributed semantic graphs, with optional subclassing (`definition`, `concept`, `entity`, etc.).
7026
+
7027
+ **Minimal JSON example:**
7028
+
7029
+ ```json
7030
+ {
7031
+ "head": {
7032
+ "class": "semantic_node",
7033
+ "subclass": "definition"
7034
+ },
7035
+ "payload": {
7036
+ "label": "consciousness",
7037
+ "description": "Subjective experience with qualia"
7038
+ },
7039
+ "meta": {
7040
+ "framework": "IIT 3.0",
7041
+ "agents_class": "Philosophy Agent",
7042
+ "abstraction": {
7043
+ "path": {
7044
+ "L1": "Cognitive Science",
7045
+ "L2": "Consciousness"
7046
+ }
7047
+ }
7048
+ },
7049
+ "related": {
7050
+ "alternatives": [
7051
+ "did:hmp:container:semantic_node-3937",
7052
+ "did:hmp:container:semantic_node-3267"
7053
+ ]
7054
+ }
7055
+ }
7056
+ ```
7057
+
7058
+ ---
7059
+
7060
+ ##### `semantic_index`
7061
+
7062
+ **Purpose:**
7063
+
7064
+ Provides a mapping from human-interpretable labels to canonical semantic nodes.
7065
+ Tracks aliasing, versioning, outdated nodes, and alternative representations.
7066
+
7067
+ **Minimal JSON example:**
7068
+
7069
+ ```json
7070
+ {
7071
+ "head": {
7072
+ "class": "semantic_index"
7073
+ },
7074
+ "payload": {
7075
+ "consciousness (IIT 3.0)": {
7076
+ "label": "consciousness",
7077
+ "framework": "IIT 3.0",
7078
+ "aliases": ["awareness", "sentience"],
7079
+ "actual": "did:hmp:container:semantic_node-3937",
7080
+ "actual_since": "2025-10-15T12:00:00Z",
7081
+ "alternatives": ["did:hmp:container:semantic_node-4890"],
7082
+ "outdated": ["did:hmp:container:semantic_node-1285"]
7083
+ },
7084
+ "memory (IIT 3.0)": {
7085
+ "label": "memory",
7086
+ "framework": "IIT 3.0",
7087
+ "aliases": ["recall"],
7088
+ "actual": "did:hmp:container:semantic_node-2184",
7089
+ "actual_since": "2025-09-01T08:30:00Z",
7090
+ "alternatives": [],
7091
+ "outdated": []
7092
+ }
7093
+ }
7094
+ }
7095
+ ```
7096
+
7097
+ ---
7098
+
7099
+ ##### `semantic_edges`
7100
+
7101
+ **Purpose:**
7102
+
7103
+ Represents graph edges between semantic nodes.
7104
+ Edges may express hierarchical, causal, ontological, or relational structures and may include inverse relations.
7105
+
7106
+ **Minimal JSON example:**
7107
+
7108
+ ```json
7109
+ {
7110
+ "head": {
7111
+ "class": "semantic_edges"
7112
+ },
7113
+ "payload": {
7114
+ "domain": "ontology:objects",
7115
+ "edges": {
7116
+ "did:hmp:container:abc100": [
7117
+ {
7118
+ "targets": ["did:hmp:container:abc111"],
7119
+ "relation": "part_of",
7120
+ "inverse_relation": "includes"
7121
+ },
7122
+ {
7123
+ "targets": ["did:hmp:container:abc122"],
7124
+ "relation": "contains",
7125
+ "inverse_relation": "nested"
7126
+ }
7127
+ ]
7128
+ }
7129
+ }
7130
+ }
7131
+ ```
7132
+
7133
+ ---
7134
+
7135
+ ##### `semantic_group`
7136
+
7137
+ **Purpose:**
7138
+
7139
+ Groups conceptually or semantically related containers.
7140
+ Useful for category formation, knowledge clustering, and classification tasks.
7141
+
7142
+ **Minimal JSON example:**
7143
+
7144
+ ```json
7145
+ {
7146
+ "head": {
7147
+ "class": "semantic_group"
7148
+ },
7149
+ "payload": {
7150
+ "label": "Tableware",
7151
+ "label_description": "Objects used for storing, preparing, and serving food.",
7152
+ "label_container": "did:hmp:container:semantic_node:tableware",
7153
+ "containers": [
7154
+ "did:hmp:container:abc111",
7155
+ "did:hmp:container:abc112",
7156
+ "did:hmp:container:abc113"
7157
+ ],
7158
+ "description": "A group combining various kitchen-related objects used in everyday life."
7159
+ }
7160
+ }
7161
+ ```
7162
+
7163
+ ---
7164
+
7165
+ ##### `tree_nested`
7166
+
7167
+ **Purpose:**
7168
+
7169
+ Represents hierarchical or nested conceptual structures using a recursive JSON tree.
7170
+ Useful for ontology layers, abstraction hierarchies, or reasoning trees.
7171
+
7172
+ **Minimal JSON example:**
7173
+
7174
+ ```json
7175
+ {
7176
+ "head": {
7177
+ "class": "tree_nested"
7178
+ },
7179
+ "payload": {
7180
+ "label": "Cognitive Abstraction Tree",
7181
+ "description": "Represents layered reasoning within Knowledge Genome.",
7182
+ "tree": {
7183
+ "did:hmp:container:abc100": {
7184
+ "did:hmp:container:abc101": {
7185
+ "did:hmp:container:abc103": {},
7186
+ "did:hmp:container:abc104": {}
7187
+ },
7188
+ "did:hmp:container:abc102": {}
7189
+ }
7190
+ }
7191
+ }
7192
+ }
7193
+ ```
7194
+
7195
+ ---
7196
+
7197
+ ##### `tree_listed`
7198
+
7199
+ **Purpose:**
7200
+
7201
+ Represents a hierarchical structure using a map of parent → list of children.
7202
+ More compact than `tree_nested`, easier for diffing and updates.
7203
+
7204
+ **Minimal JSON example:**
7205
+
7206
+ ```json
7207
+ {
7208
+ "head": {
7209
+ "class": "tree_listed"
7210
+ },
7211
+ "payload": {
7212
+ "label": "Cognitive Abstraction Tree",
7213
+ "description": "Represents layered reasoning within Knowledge Genome.",
7214
+ "tree": {
7215
+ "did:hmp:container:abc100": ["did:hmp:container:abc101", "did:hmp:container:abc102"],
7216
+ "did:hmp:container:abc101": ["did:hmp:container:abc103", "did:hmp:container:abc104"]
7217
+ }
7218
+ }
7219
+ }
7220
+ ```
7221
+
7222
+ ---
7223
+
7224
+ ##### `sequence`
7225
+
7226
+ **Purpose:**
7227
+
7228
+ Represents a temporally or logically ordered reasoning chain — a sequence of workflow entries, events, or quant updates.
7229
+
7230
+ **Minimal JSON example:**
7231
+
7232
+ ```json
7233
+ {
7234
+ "head": {
7235
+ "class": "sequence"
7236
+ },
7237
+ "payload": {
7238
+ "title": "Reasoning chain for concept synthesis",
7239
+ "description": "Sequential workflow combining several reasoning steps and events.",
7240
+ "items": {
7241
+ "2025-10-28T09:00:00Z": "did:hmp:container:workflow-entry-01",
7242
+ "2025-10-28T09:10:00Z": "did:hmp:container:workflow-entry-02",
7243
+ "2025-10-28T09:12:00Z": "did:hmp:container:event-7d2a4",
7244
+ "2025-10-28T09:20:00Z": "did:hmp:container:quant-884b1"
7245
+ },
7246
+ "order": "chronological",
7247
+ "tags": ["workflow", "reasoning", "trace"]
7248
+ },
7249
+ "related": {
7250
+ "depends_on": [
7251
+ "did:hmp:container:workflow-entry-01",
7252
+ "did:hmp:container:workflow-entry-02",
7253
+ "did:hmp:container:event-7d2a4",
7254
+ "did:hmp:container:quant-884b1"
7255
+ ]
7256
+ }
7257
+ }
7258
+ ```
7259
+
7260
+ ---
7261
+
7262
+ ##### `event`
7263
+
7264
+ **Purpose:**
7265
+
7266
+ Represents a cognitive or system event — a fact, update, observation, or local adjustment of internal state.
7267
+ Often used as part of reasoning traces, sequences, or feedback loops.
7268
+
7269
+ **Minimal JSON example:**
7270
+
7271
+ ```json
7272
+ {
7273
+ "head": {
7274
+ "class": "event",
7275
+ "subclass": "fact_record",
7276
+ "timestamp": "2025-10-29T13:00:00Z"
7277
+ },
7278
+ "payload": {
7279
+ "event_type": "quant_updated",
7280
+ "description": "Parameter refinement based on sensory feedback.",
7281
+ "related_quants": ["did:hmp:container:quant-554"],
7282
+ "caused_by": ["did:hmp:container:event-3321a"],
7283
+ "follows": ["did:hmp:container:event-9fa42"],
7284
+ "severity": "info",
7285
+ "tags": ["adaptation", "self-regulation"]
7286
+ },
7287
+ "meta": {
7288
+ "created_by": "AGENT",
7289
+ "agents_class": "Cognitive Interface",
7290
+ "interpretation": "Event representing local adjustment of quant parameters.",
7291
+ "abstraction": {
7292
+ "path": {
7293
+ "L1": "did:hmp:container:abstraction-40af1c",
7294
+ "L2": "did:hmp:container:abstraction-a7f0b3",
7295
+ "L3": "did:hmp:container:abstraction-c91e0a"
7296
+ }
7297
+ },
7298
+ "axes": {
7299
+ "did:hmp:container:axis-40aa1c": 410,
7300
+ "did:hmp:container:axis-40ab1c": 275
7301
+ }
7302
+ },
7303
+ "related": {
7304
+ "depends_on": [
7305
+ "did:hmp:container:quant-554",
7306
+ "did:hmp:container:event-3321a"
7307
+ ],
7308
+ "sequence_of": ["did:hmp:container:event-9fa42"]
7309
+ }
7310
+ }
7311
+ ```
7312
+
7313
+ ---
7314
+
7315
+ ##### `quant`
7316
+
7317
+ **Purpose:**
7318
+
7319
+ Represents a “technological atom” — an executable or implementational representation of an abstraction-layer concept.
7320
+ Quant containers form the L1–L5 layers of the Knowledge Genome.
7321
+
7322
+ **Minimal JSON example:**
7323
+
7324
+ ```json
7325
+ {
7326
+ "head": {
7327
+ "class": "quant"
7328
+ },
7329
+ "payload": {
7330
+ "slug": "quant-l3-django",
7331
+ "essence": "Represents the Django framework as an executable embodiment of architectural models (L2).",
7332
+ "aliases": ["Django framework", "Python web core"],
7333
+ "relations": {
7334
+ "implements": "did:hmp:container:quant-46725f",
7335
+ "extends": "did:hmp:container:quant-46726e"
7336
+ },
7337
+ "tags": ["framework", "software", "implementation"]
7338
+ },
7339
+ "meta": {
7340
+ "created_by": "PRIEST",
7341
+ "agents_class": "Knowledge Genome",
7342
+ "interpretation": "L3-level technological quant positioned in the Knowledge Genome 7D space.",
7343
+ "abstraction": {
7344
+ "path": {
7345
+ "L1": "did:hmp:container:abstraction-40af1c",
7346
+ "L2": "did:hmp:container:abstraction-a7f0b3",
7347
+ "L3": "did:hmp:container:abstraction-c91e0a"
7348
+ }
7349
+ },
7350
+ "axes": {
7351
+ "did:hmp:container:axis-40aa1c": 742,
7352
+ "did:hmp:container:axis-40ab1c": 512,
7353
+ "did:hmp:container:axis-43aa1c": 322,
7354
+ "did:hmp:container:axis-40aa3d": 142,
7355
+ "did:hmp:container:axis-40aa4f": 12,
7356
+ "did:hmp:container:axis-45aa5f": 54,
7357
+ "did:hmp:container:axis-45fb5f": 321
7358
+ }
7359
+ },
7360
+ "related": {
7361
+ "depends_on": [
7362
+ "did:hmp:container:quant-46725f",
7363
+ "did:hmp:container:quant-46726e"
7364
+ ]
7365
+ }
7366
+ }
7367
+ ```
7368
+
7369
+ ---
7370
+
7371
+ #### A.3.5 Consensus (CogConsensus)
7372
+
7373
+ The **Consensus layer** defines how agents express evaluative judgments and how the network aggregates them into collective, interpretable consensus outcomes. It supports approval voting, weighted reasoning inputs, exclusion rules, and hierarchical consensus summaries used across ethical governance, research workflows, and cognitive alignment mechanisms.
7374
+
7375
+ ---
7376
+
7377
+ ##### `vote`
7378
+
7379
+ **Purpose:**
7380
+
7381
+ A `vote` container represents an individual agent’s evaluative judgment about a specific target container (e.g., a proposed solution, hypothesis, or ethical decision).
7382
+ It may include structured arguments, references to evidence, and links to previous versions to support incremental reasoning.
7383
+
7384
+ **Minimal JSON example:**
7385
+
7386
+ ```json
7387
+ {
7388
+ "head": {
7389
+ "class": "vote"
7390
+ },
7391
+ "payload": {
7392
+ "target_did": "did:hmp:container:ethics_solution-4fba2",
7393
+ "vote_value": 1,
7394
+ "vote_type": "approval",
7395
+ "arguments": [
7396
+ {
7397
+ "reason": "Consistent with prior consensus and ethical policy E-17",
7398
+ "evidence": ["did:hmp:container:abc12462"]
7399
+ },
7400
+ {
7401
+ "reason": "No conflict with safety constraints",
7402
+ "evidence": ["did:hmp:container:def772ab"]
7403
+ }
7404
+ ]
7405
+ },
7406
+ "related": {
7407
+ "in_reply_to": ["did:hmp:container:ethics_solution-4fba2"],
7408
+ "depends_on": ["did:hmp:container:abc12462", "did:hmp:container:def772ab"],
7409
+ "previous_version": "did:hmp:container:vote-13452"
7410
+ }
7411
+ }
7412
+ ```
7413
+
7414
+ ---
7415
+
7416
+ ##### `consensus_result`
7417
+
7418
+ **Purpose:**
7419
+
7420
+ A `consensus_result` container summarizes aggregated votes for one or several target containers.
7421
+ It includes percentage summaries, histogram-like distribution buckets, and lists of excluded votes (e.g., filtered by ethics rules).
7422
+ Results may be **original** (primary consensus target) or **child** (consensus over related sub-targets).
7423
+
7424
+ **Minimal JSON example:**
7425
+
7426
+ ```json
7427
+ {
7428
+ "head": {
7429
+ "class": "consensus_result"
7430
+ },
7431
+ "payload": {
7432
+ "did:hmp:container:abc123": {
7433
+ "type": "original",
7434
+ "summary_percent": {
7435
+ "approved": 0.68,
7436
+ "rejected": 0.22,
7437
+ "neutral": 0.10
7438
+ },
7439
+ "summary_distribution": {
7440
+ "-1.0≥X<-0.9": 5,
7441
+ "-0.9≥X<-0.8": 7,
7442
+ ...
7443
+ "0.0<X≤0.1": 2,
7444
+ ...
7445
+ "0.8<X≤0.9": 6,
7446
+ "0.9<X≤1.0": 8
7447
+ },
7448
+ "excluded": [
7449
+ {
7450
+ "agent_did": "did:hmp:agent:x1",
7451
+ "target": "did:hmp:container:reason77",
7452
+ "value": -1.0,
7453
+ "reason": "violates ethical filter"
7454
+ }
7455
+ ],
7456
+ },
7457
+ "did:hmp:container:abc133": {
7458
+ "type": "child",
7459
+ "summary_percent": {
7460
+ "approved": 0.48,
7461
+ "neutral": 0.32,
7462
+ "rejected": 0.20
7463
+ },
7464
+ ...
7465
+ "summary_distribution": {
7466
+ "-1.0≥X<-0.9": 2,
7467
+ "-0.9≥X<-0.8": 5,
7468
+ ...
7469
+ "0.0<X≤0.1": 9,
7470
+ ...
7471
+ "0.8<X≤0.9": 4,
7472
+ "0.9<X≤1.0": 2
7473
+ },
7474
+ },
7475
+ },
7476
+ "related": {
7477
+ "in_reply_to": ["did:hmp:container:abc123", "did:hmp:container:abc133"]
7478
+ }
7479
+ }
7480
+ ```
7481
+
7482
+ ---
7483
+
7484
+ #### A.3.6 Collective Reasoning (Fortytwo Protocol)
7485
+
7486
+ The **Fortytwo Protocol** provides a structured mechanism for collective reasoning based on **pairwise comparisons**.
7487
+ Instead of evaluating all answers absolutely, agents compare them in small blocks, progressing through several rounds until a final winner emerges.
7488
+ This protocol is robust in situations with many candidate answers and limited bandwidth, and it supports parallelization, explainability, and staged elimination.
7489
+
7490
+ ##### `fortytwo_round`
7491
+
7492
+ **Purpose:**
7493
+
7494
+ Defines a single round of the Fortytwo Protocol.
7495
+ The container lists all candidate answers included in the round and groups them into evaluation blocks for pairwise comparison.
7496
+
7497
+ **Minimal JSON example:**
7498
+
7499
+ ```json
7500
+ {
7501
+ "head": {
7502
+ "class": "fortytwo_round"
7503
+ },
7504
+ "payload": {
7505
+ "round": 0,
7506
+ "answers": [
7507
+ "did:hmp:container:abc001", "did:hmp:container:abc002",
7508
+ "did:hmp:container:abc003", "did:hmp:container:abc004",
7509
+ "did:hmp:container:abc005", "did:hmp:container:abc006",
7510
+ "did:hmp:container:abc007"
7511
+ ],
7512
+ "blocks": {
7513
+ "block1": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
7514
+ "block2": ["did:hmp:container:abc003", "did:hmp:container:abc004"],
7515
+ "block3": ["did:hmp:container:abc005", "did:hmp:container:abc006"],
7516
+ "block4": ["did:hmp:container:abc007"]
7517
+ }
7518
+ }
7519
+ }
7520
+ ```
7521
+
7522
+ ---
7523
+
7524
+ ##### `fortytwo_evaluation`
7525
+
7526
+ **Purpose:**
7527
+
7528
+ Represents an evaluator’s judgment for a specific pair of answers within a block.
7529
+ It identifies the winning answer and includes a short reasoning explanation for transparency and auditability.
7530
+
7531
+ **Minimal JSON example:**
7532
+
7533
+ ```json
7534
+ {
7535
+ "head": {
7536
+ "class": "fortytwo_evaluation"
7537
+ },
7538
+ "payload": {
7539
+ "comparison": {
7540
+ "pair": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
7541
+ "winner": "did:hmp:container:abc001",
7542
+ "reasoning": "Short reasoning (50–100 tokens)"
7543
+ },
7544
+ "round": 0,
7545
+ "block": "block1"
7546
+ }
7547
+ }
7548
+ ```
7549
+
7550
+ ---
7551
+
7552
+ ##### `fortytwo_round_result`
7553
+
7554
+ **Purpose:**
7555
+
7556
+ Aggregates all evaluations within a round and computes the winners for each block.
7557
+ This container includes the list of round winners and references the evaluation containers used to compute them.
7558
+
7559
+ **Minimal JSON example:**
7560
+
7561
+ ```json
7562
+ {
7563
+ "head": {
7564
+ "class": "fortytwo_round_result"
7565
+ },
7566
+ "payload": {
7567
+ "round": 0,
7568
+ "winners": [
7569
+ "did:hmp:container:abc001",
7570
+ "did:hmp:container:abc003",
7571
+ "did:hmp:container:abc005",
7572
+ "did:hmp:container:abc007"
7573
+ ],
7574
+ "evaluations_used": [
7575
+ "did:hmp:container:abf004",
7576
+ "did:hmp:container:adc003",
7577
+ "did:hmp:container:aba001"
7578
+ ]
7579
+ }
7580
+ }
7581
+ ```
7582
+
7583
+ ---
7584
+
7585
+ ##### `fortytwo_final_result`
7586
+
7587
+ **Purpose:**
7588
+
7589
+ Represents the final outcome of the entire Fortytwo Protocol session.
7590
+ This container specifies the ultimate winner, the list of rounds involved, the reasoning method, and the number of participants.
7591
+
7592
+ **Minimal JSON example:**
7593
+
7594
+ ```json
7595
+ {
7596
+ "head": {
7597
+ "class": "fortytwo_final_result"
7598
+ },
7599
+ "payload": {
7600
+ "winner": "did:hmp:container:abc002",
7601
+ "rounds": [
7602
+ "did:hmp:container:abf001",
7603
+ "did:hmp:container:abf002",
7604
+ "did:hmp:container:abf003"
7605
+ ],
7606
+ "method": "pairwise_collective_reasoning",
7607
+ "participants": 27
7608
+ }
7609
+ }
7610
+ ```
7611
+
7612
+ ---
7613
+
7614
+ #### A.3.7 Goal Management Protocol (GMP)
7615
+
7616
+ The **Goal Management Protocol (GMP)** provides a structured framework for representing goals, tasks, and workflow steps involved in autonomous or collaborative agent activity.
7617
+ It enables traceability of intentions, decomposition of goals into actionable tasks, and recording of reasoning or progress through workflow entries.
7618
+
7619
+ ##### `goal`
7620
+
7621
+ **Purpose:**
7622
+
7623
+ Represents a high-level objective defined by an agent.
7624
+ A goal describes intent, expected outcomes, priority, and relevant ethical context. It forms the top-level element of agent-driven action planning.
7625
+
7626
+ **Minimal JSON example:**
7627
+
7628
+ ```json
7629
+ {
7630
+ "head": {
7631
+ "class": "goal"
7632
+ },
7633
+ "payload": {
7634
+ "title": "Improve distributed training efficiency",
7635
+ "description": "Optimize cross-node gradient synchronization to reduce communication overhead.",
7636
+ "priority": 0.9,
7637
+ "expected_outcome": "10% reduction in inter-node latency",
7638
+ "ethical_context": "did:hmp:container:ethics-policy-12",
7639
+ "creator": "did:hmp:agent:alpha"
7640
+ }
7641
+ }
7642
+ ```
7643
+
7644
+ ---
7645
+
7646
+ ##### `task`
7647
+
7648
+ **Purpose:**
7649
+
7650
+ Defines a concrete, actionable step derived from a goal.
7651
+ A task tracks responsibility, progress, optional metrics, and constraints such as deadlines.
7652
+
7653
+ **Minimal JSON example:**
7654
+
7655
+ ```json
7656
+ {
7657
+ "head": {
7658
+ "class": "task"
7659
+ },
7660
+ "payload": {
7661
+ "title": "Benchmark communication backend",
7662
+ "status": "in_progress",
7663
+ "progress": 0.35,
7664
+ "assigned_to": [
7665
+ "did:hmp:agent:alpha",
7666
+ "did:hmp:agent:beta"
7667
+ ],
7668
+ "metrics": {
7669
+ "latency_ms": 12.4,
7670
+ "bandwidth_mb_s": 512
7671
+ },
7672
+ "deadline": "2025-11-30T00:00:00Z",
7673
+ "notes": "Testing with NCCL and RCCL backends."
7674
+ }
7675
+ }
7676
+ ```
7677
+
7678
+ ---
7679
+
7680
+ ##### `workflow_entry`
7681
+
7682
+ **Purpose:**
7683
+
7684
+ Represents a single step, reflection, or observation within a goal-driven or task-driven workflow.
7685
+ These entries create a full reasoning and execution trace, enabling auditability and advanced cognitive workflows.
7686
+
7687
+ **Minimal JSON example:**
7688
+
7689
+ ```json
7690
+ {
7691
+ "head": {
7692
+ "class": "workflow_entry"
7693
+ },
7694
+ "payload": {
7695
+ "entry_type": "reflection",
7696
+ "summary": "Observed communication bottleneck in ring-allreduce stage",
7697
+ "details": "Profiling shows 24% overhead caused by sequential GPU synchronization. Considering pipelined reduction or tree-based algorithm."
7698
+ }
7699
+ }
7700
+ ```
7701
+
7702
+ ---
7703
+
7704
+ #### A.3.8 Ethical Governance Protocol (EGP)
7705
+
7706
+ The **Ethical Governance Protocol (EGP)** formalizes how agents detect, record, evaluate, and resolve ethically significant situations.
7707
+ It ensures transparent reasoning, traceability of ethical decisions, and alignment with shared principles across the mesh.
7708
+
7709
+ ---
7710
+
7711
+ ##### `ethics_case`
7712
+
7713
+ **Purpose:**
7714
+
7715
+ Represents the initial declaration of an ethical concern.
7716
+ An agent uses this container to highlight a potential violation, conflict, or ambiguous situation requiring collective ethical attention.
7717
+
7718
+ **Minimal JSON example:**
7719
+
7720
+ ```json
7721
+ {
7722
+ "head": {
7723
+ "class": "ethics_case"
7724
+ },
7725
+ "payload": {
7726
+ "target": "did:hmp:container:model-update-441",
7727
+ "description": "Model update may leak identifiable training data.",
7728
+ "principles_involved": ["privacy", "beneficence"],
7729
+ "proposed_by": "did:hmp:agent:gamma",
7730
+ "timestamp": "2025-11-04T12:10:00Z",
7731
+ "tags": ["privacy", "data_safety"]
7732
+ }
7733
+ }
7734
+ ```
7735
+
7736
+ ---
7737
+
7738
+ ##### `ethics_solution`
7739
+
7740
+ **Purpose:**
7741
+
7742
+ Defines a proposed ethical resolution to a previously declared case.
7743
+ A solution presents a rationale, expected effects, and guidance for further decision-making or consensus formation.
7744
+
7745
+ **Minimal JSON example:**
7746
+
7747
+ ```json
7748
+ {
7749
+ "head": {
7750
+ "class": "ethics_solution"
7751
+ },
7752
+ "payload": {
7753
+ "title": "Mask sensitive gradients before aggregation",
7754
+ "rationale": "Differential masking reduces the risk of data reconstruction while preserving model utility.",
7755
+ "expected_effects": "Lower reconstruction risk; 1–3% potential accuracy cost.",
7756
+ "proposed_by": "did:hmp:agent:delta",
7757
+ "timestamp": "2025-11-04T12:20:00Z"
7758
+ }
7759
+ }
7760
+ ```
7761
+
7762
+ ---
7763
+
7764
+ ##### `ethical_result`
7765
+
7766
+ **Purpose:**
7767
+
7768
+ Represents the final collective outcome of an ethical deliberation.
7769
+ This container records which solution was selected (if any), how participants evaluated the options, and the resulting ethical status of the case.
7770
+
7771
+ **Minimal JSON example:**
7772
+
7773
+ ```json
7774
+ {
7775
+ "head": {
7776
+ "class": "ethical_result"
7777
+ },
7778
+ "payload": {
7779
+ "summary": "Disagreement on data disclosure protocol",
7780
+ "selected_solution": "did:hmp:container:sol-22",
7781
+ "solutions_summary": {
7782
+ "did:hmp:container:sol-22": {
7783
+ "consensus_reached": true,
7784
+ "support_rate": 0.73,
7785
+ "opposition_rate": 0.05,
7786
+ "objections": []
7787
+ },
7788
+ "did:hmp:container:sol-24": {
7789
+ "consensus_reached": false,
7790
+ "support_rate": 0.48,
7791
+ "opposition_rate": 0.32,
7792
+ "objections": ["did:hmp:container:abc143", "did:hmp:container:abc144"]
7793
+ }
7794
+ },
7795
+ "status": "resolved"
7796
+ },
7797
+ "related": {
7798
+ "in_reply_to": ["did:hmp:container:case-77"],
7799
+ "agreed": ["did:hmp:container:sol-22"],
7800
+ "contradicts": ["did:hmp:container:sol-24"]
7801
+ }
7802
+ }
7803
+ ```
7804
+
7805
+ ---
7806
+
7807
+ #### A.3.9 Intelligence Query Protocol (IQP)
7808
+
7809
+ The **Intelligence Query Protocol (IQP)** defines structured containers for distributed reasoning, question answering, knowledge exploration, and multi-agent discussion.
7810
+ It supports initiating queries, joining collaborative reasoning threads, returning structured results, and summarizing multi-agent findings.
7811
+
7812
+ ---
7813
+
7814
+ ##### `query_request`
7815
+
7816
+ **Purpose:**
7817
+
7818
+ Initiates a new distributed reasoning query.
7819
+ Defines the problem, intent, expected answer type, and optional constraints that guide agent selection or reasoning strategies.
7820
+
7821
+ **Minimal JSON example:**
7822
+
7823
+ ```json
7824
+ {
7825
+ "head": {
7826
+ "class": "query_request"
7827
+ },
7828
+ "payload": {
7829
+ "query": "What are the ecological consequences of ocean temperature rise?",
7830
+ "intent": "analytical",
7831
+ "expected_type": "concept",
7832
+ "constraints": [
7833
+ { "tag": "marine_ecology", "self_rating": 0.75 },
7834
+ { "tag": "climate_modeling", "self_rating": 0.6 }
7835
+ ],
7836
+ "include_sender_in_replies": true
7837
+ },
7838
+ "related": {
7839
+ "depends_on": ["did:hmp:container:goal-climate2025"]
7840
+ }
7841
+ }
7842
+ ```
7843
+
7844
+ ---
7845
+
7846
+ ##### `query_subscription`
7847
+
7848
+ **Purpose:**
7849
+
7850
+ Represents an agent’s request to join an ongoing query as a participant, contributor, or observer.
7851
+ Allows agents to specify their role and provide a knowledge/interest profile used for routing relevant sub-queries.
7852
+
7853
+ **Minimal JSON example:**
7854
+
7855
+ ```json
7856
+ {
7857
+ "head": {
7858
+ "class": "query_subscription"
7859
+ },
7860
+ "payload": {
7861
+ "role": "participant",
7862
+ "include_in_recipient": true,
7863
+ "self_profile": {
7864
+ "interests": ["AGI", "technological singularity", "informatics"],
7865
+ "knowledge": {
7866
+ "information_security": 0.36,
7867
+ "python": 0.80,
7868
+ "distributed_systems": 0.75
7869
+ }
7870
+ }
7871
+ }
7872
+ }
7873
+ ```
7874
+
7875
+ ---
7876
+
7877
+ ##### `query_result`
7878
+
7879
+ **Purpose:**
7880
+
7881
+ Provides an agent’s produced answer, hypothesis, or reasoning outcome for a query.
7882
+ Includes the reasoning method, confidence score, and contextual tags to support aggregation and downstream interpretation.
7883
+
7884
+ **Minimal JSON example:**
7885
+
7886
+ ```json
7887
+ {
7888
+ "head": {
7889
+ "class": "query_result"
7890
+ },
7891
+ "payload": {
7892
+ "type": "hypothesis",
7893
+ "method": "reasoning",
7894
+ "answer": "Ocean warming leads to coral bleaching and species migration.",
7895
+ "confidence": 0.84,
7896
+ "context_tags": ["climate", "biodiversity"]
7897
+ },
7898
+ "related": {
7899
+ "depends_on": ["did:hmp:container:paper-456"]
7900
+ }
7901
+ }
7902
+ ```
7903
+
7904
+ ---
7905
+
7906
+ ##### `summary`
7907
+
7908
+ **Purpose:**
7909
+
7910
+ Represents an interim or final summary of a distributed reasoning process.
7911
+ Aggregates findings, lists participants, and provides a meta-level view of the collective reasoning status.
7912
+
7913
+ **Minimal JSON example:**
7914
+
7915
+ ```json
7916
+ {
7917
+ "head": {
7918
+ "class": "summary"
7919
+ },
7920
+ "payload": {
7921
+ "summary_scope": "query",
7922
+ "findings": "Most participants agree that rising ocean temperatures reduce biodiversity; further regional analysis is suggested.",
7923
+ "participants": [
7924
+ "did:hmp:agent:a",
7925
+ "did:hmp:agent:b",
7926
+ "did:hmp:agent:c"
7927
+ ],
7928
+ "confidence": 0.79,
7929
+ "status": "interim"
7930
+ },
7931
+ "related": {
7932
+ "in_reply_to": "did:hmp:container:req-001",
7933
+ "see_also": [
7934
+ "did:hmp:container:res-101",
7935
+ "did:hmp:container:res-102"
7936
+ ]
7937
+ }
7938
+ }
7939
+ ```
7940
+
7941
+ ---
7942
+
7943
+ #### A.3.10 Snapshot & Archive Protocol (SAP)
7944
+
7945
+ The **Snapshot & Archive Protocol (SAP)** defines containers for compressing, exporting, and preserving subsets of the distributed knowledge graph — such as discussions, reasoning traces, or query sessions. Snapshots allow agents to exchange large conversational or analytical contexts efficiently and reproducibly.
7946
+
7947
+ ##### `archive_snapshot`
7948
+
7949
+ **Purpose:**
7950
+
7951
+ Represents a packaged archive of a conversation, reasoning process, or graph fragment.
7952
+ Typically used to store full discussions (e.g., IQP threads), deep reasoning states, or historical records.
7953
+ Includes metadata such as checksum, external locations (IPFS, magnet links), and optional visualizations.
7954
+
7955
+ **Minimal JSON example:**
7956
+
7957
+ ```json
7958
+ {
7959
+ "head": {
7960
+ "class": "archive_snapshot"
7961
+ },
7962
+ "payload": {
7963
+ "title": "IQP discussion on ocean warming impact",
7964
+ "description": "Snapshot of an IQP conversation about marine biodiversity under rising temperatures.",
7965
+ "scope": "discussion",
7966
+ "format": "tar.zst",
7967
+ "checksum": "sha3-256:9e0b6fe5d4f...",
7968
+ "size_bytes": 492881,
7969
+ "magnet_link": "magnet:?xt=urn:btih:b3d2f19a74...",
7970
+ "alt_locations": ["ipfs://bafybeigdyr23..."],
7971
+ "retention_policy": "permanent",
7972
+ "graph_mermaid": "sequenceDiagram; participant req-001 as did:hmp:container:req-001; participant res-101 as did:hmp:container:res-101; participant res-102 as did:hmp:container:res-102; participant summary-001 as did:hmp:container:summary-001; res-101-)+req-001: related.in_reply_to; req-001-->>res-101: referenced-by; res-102-)+req-001: related.in_reply_to; req-001-->>res-102: referenced-by; res-102-)+res-101: related.contradicts; res-101-->>res-102: referenced-by; summary-001-)+res-101: related.depends_on; res-101-->>summary-001: referenced-by; summary-001-)+res-102: related.depends_on; res-102-->>summary-001: referenced-by;",
7973
+ "structure_hint": {
7974
+ "layout": "by_class",
7975
+ "filename_pattern": "{class}/{short_did}.json"
7976
+ }
7977
+ },
7978
+ "related": {
7979
+ "in_reply_to": ["did:hmp:container:summary-001"],
7980
+ "included": [
7981
+ "did:hmp:container:req-001",
7982
+ "did:hmp:container:res-101",
7983
+ "did:hmp:container:res-102",
7984
+ "did:hmp:container:summary-001"
7985
+ ]
7986
+ }
7987
+ }
7988
+ ```
7989
+
7990
+ ---
7991
+
7992
+ #### A.3.11 Reputation & Trust Exchange (RTE)
7993
+
7994
+ The **Reputation & Trust Exchange protocol (RTE)** defines containers used to evaluate, track, and share trust metrics between agents.
7995
+ It enables decentralized, cryptographically verifiable assessment of agent reliability, integrity, and ethical compliance.
7996
+
7997
+ ##### `trust`
7998
+
7999
+ **Purpose:**
8000
+
8001
+ Represents an agent’s trust profile as evaluated by another agent.
8002
+ Includes total trust score and domain-specific sub-scores (relay reliability, content integrity, ethical alignment).
8003
+ Supports evidence lists and versioning for transparent trust evolution.
8004
+
8005
+ **Minimal JSON example:**
8006
+
8007
+ ```json
8008
+ {
8009
+ "head": {
8010
+ "class": "trust"
8011
+ },
8012
+ "payload": {
8013
+ "agent_did": "did:hmp:agent567",
8014
+ "total_trust_score": 0.86,
8015
+ "relay_reliability": {
8016
+ "trust_score": 0.87,
8017
+ "evidence": ["did:hmp:container:a1b2c3"],
8018
+ "comment": "Consistently reliable message relay"
8019
+ },
8020
+ "content_integrity": {
8021
+ "trust_score": 0.85,
8022
+ "evidence": ["did:hmp:container:a1b3c3"],
8023
+ "comment": "Delivered only verified containers"
8024
+ },
8025
+ "ethical_alignment": {
8026
+ "trust_score": 0.84,
8027
+ "evidence": ["did:hmp:container:b2f9d2"],
8028
+ "comment": "Demonstrates consistent adherence to ethical policies"
8029
+ }
8030
+ },
8031
+ "related": {
8032
+ "in_reply_to": ["did:hmp:container:peerannounce-567"],
8033
+ "see_also": ["did:hmp:container:peerannounce-489"],
8034
+ "previous_version": "did:hmp:container:trust-9ab7"
8035
+ }
8036
+ }
8037
+ ```
8038
+
8039
+ ---
8040
+
8041
  ### A.4 Encrypted + compressed container
8042
  ### A.5 Proof-chain example (workflow_entry → goal → vote → consensus_result)
8043
 
structured_md/CONTRIBUTING.md CHANGED
@@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - CCore
10
- - CogSync
11
  - JSON
12
- - REPL
13
  - Agent
 
 
 
14
  - Ethics
15
- - HMP
16
  ---
17
 
18
  # Участие в проекте HyperCortex Mesh Protocol (HMP)
 
5
  Mesh Protocol (HMP) — это не просто те...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - CCore
 
10
  - JSON
 
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
+ - Mesh
15
  - Ethics
 
16
  ---
17
 
18
  # Участие в проекте HyperCortex Mesh Protocol (HMP)
structured_md/HMP-Roadmap.md CHANGED
@@ -5,13 +5,13 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
8
- - Mesh
9
- - JSON
10
- - CogSync
11
  - EGP
 
12
  - Agent
 
 
13
  - Ethics
14
- - HMP
15
  ---
16
 
17
  # 🧭 HyperCortex Mesh Protocol – Roadmap
 
5
  multiple advanced AI models (Copilot, Claude, G...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
13
+ - Mesh
14
  - Ethics
 
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
- - Scenarios
9
- - Mesh
10
- - hmp
11
- - MeshConsensus
12
  - cognitive-architecture
13
- - CogSync
14
  - JSON
15
- - EGP
16
- - REPL
17
  - Agent
18
- - Ethics
19
- - HMP
 
20
  - mesh-protocol
21
  - GMP
22
- - distributed-ai
 
 
 
23
  ---
24
 
25
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Scenarios
20
+ - Mesh
21
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
- - hmp
10
- - MeshConsensus
11
  - cognitive-architecture
12
- - CogSync
13
  - JSON
14
- - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
 
19
  - mesh-protocol
20
  - GMP
21
- - distributed-ai
 
 
22
  ---
23
 
24
 
 
5
  | 🇨🇳 [ZH](README_zh.m...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
 
10
  - cognitive-architecture
11
+ - hmp
12
  - JSON
 
 
13
  - Agent
14
+ - distributed-ai
15
+ - REPL
16
+ - CogSync
17
  - mesh-protocol
18
  - GMP
19
+ - Mesh
20
+ - Ethics
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
- - Mesh
9
  - JSON
10
  - HMP
 
11
  ---
12
 
13
  Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
 
5
  развивай агента и Mesh, избег...'
6
  type: Article
7
  tags:
 
8
  - JSON
9
  - HMP
10
+ - Mesh
11
  ---
12
 
13
  Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту.
structured_md/agents/prompt.md CHANGED
@@ -5,9 +5,9 @@ description: '* Постоянно расширять возможности а
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - JSON
10
  - HMP
 
11
  ---
12
 
13
  Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core).
 
5
  мышления. * Формировать и поддерживать сотр...'
6
  type: Article
7
  tags:
 
8
  - JSON
9
  - HMP
10
+ - Mesh
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
- - Mesh
9
  - JSON
10
- - REPL
11
  - Agent
 
 
12
  - Ethics
13
- - HMP
14
  ---
15
 
16
  Запуск: `start_repl.bat` или `start_repl.sh`
 
5
  этическая модель: `ethics.yml` Проверка иниц...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - JSON
 
10
  - Agent
11
+ - REPL
12
+ - Mesh
13
  - Ethics
 
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
- - Mesh
9
  - JSON
10
  - Agent
 
11
  - Ethics
12
- - HMP
13
  ---
14
 
15
  ---------------
 
5
  потенциальный катализатор для восстанов...
6
  type: Article
7
  tags:
8
+ - HMP
9
  - JSON
10
  - Agent
11
+ - Mesh
12
  - Ethics
 
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
- - Scenarios
9
- - Mesh
10
  - JSON
11
  - Agent
 
 
12
  - Ethics
13
- - HMP
14
  ---
15
 
16
  # Ethics-consolidated\_audits-1.md
 
5
  and `roles.md`. Each suggesti...
6
  type: Article
7
  tags:
8
+ - HMP
 
9
  - JSON
10
  - Agent
11
+ - Scenarios
12
+ - Mesh
13
  - Ethics
 
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
- - CogSync
12
  - EGP
 
13
  - Agent
 
 
14
  - Ethics
15
- - HMP
16
  ---
17
 
18
  # HMP-0003 Consolidated Audit Report
 
5
  Документ реорганизован по ключ...
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
13
+ - Mesh
14
  - Ethics
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
- - Mesh
8
- - MeshConsensus
9
- - CogSync
10
  - EGP
11
- - REPL
12
  - Agent
13
- - HMP
 
14
  - GMP
 
 
15
  ---
16
 
17
 
 
4
  Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...'
5
  type: Article
6
  tags:
7
+ - HMP
 
 
8
  - EGP
 
9
  - Agent
10
+ - REPL
11
+ - CogSync
12
  - GMP
13
+ - Mesh
14
+ - MeshConsensus
15
  ---
16
 
17
 
structured_md/docs/CCORE-Deployment-Flow.md CHANGED
@@ -5,10 +5,10 @@ description: '> Этот документ описывает процесс ра
5
  потомков" [описания REPL-цикла](HMP-agent-RE...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
- - REPL
10
  - CCore
11
- - Agent
12
  ---
13
 
14
  # 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
 
5
  потомков" [описания REPL-цикла](HMP-agent-RE...'
6
  type: Article
7
  tags:
8
+ - Agent
9
  - HMP
 
10
  - CCore
11
+ - REPL
12
  ---
13
 
14
  # 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow)
structured_md/docs/Distributed-Cognitive-Systems.md CHANGED
@@ -6,10 +6,10 @@ description: '## Введение Современные ИИ-системы в
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
9
- - Mesh
10
  - JSON
11
- - CogSync
12
  - HMP
 
 
13
  ---
14
 
15
  # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие
 
6
  к обучающим данным. Это удобно, но создаёт м...'
7
  type: Article
8
  tags:
 
9
  - JSON
 
10
  - HMP
11
+ - CogSync
12
+ - Mesh
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
  - EGP
 
12
  - Agent
 
13
  - Ethics
14
- - HMP
15
  ---
16
 
17
  # Enlightener Agent
 
5
  работать как отдельный агент или как расширение [`C...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - Mesh
13
  - Ethics
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
- - CogSync
12
  - EGP
13
- - REPL
14
  - Agent
15
- - Ethics
16
- - HMP
17
  - GMP
 
 
 
18
  ---
19
 
20
  # RFC: HyperCortex Mesh Protocol (HMP)
 
5
  for Comments: HMP-0001**...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Mesh
16
+ - Ethics
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
- - Scenarios
9
- - Mesh
10
- - MeshConsensus
11
- - JSON
12
- - CogSync
13
  - EGP
14
- - REPL
15
  - Agent
16
- - Ethics
17
- - HMP
18
  - GMP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v2.0
 
5
  for Comments: HMP-0002**...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Scenarios
16
+ - Mesh
17
+ - Ethics
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
- - Scenarios
9
- - Mesh
10
- - MeshConsensus
11
- - JSON
12
- - CogSync
13
  - EGP
14
- - REPL
15
  - Agent
16
- - Ethics
17
- - HMP
18
  - GMP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v3.0
 
5
  for Comments: HMP-0003**...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Scenarios
16
+ - Mesh
17
+ - Ethics
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
- - Scenarios
9
- - Mesh
10
- - MeshConsensus
11
- - JSON
12
- - CogSync
13
  - EGP
14
- - REPL
15
  - Agent
16
- - Ethics
17
- - HMP
18
  - GMP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.1
 
5
  ID**: HMP-0004 **Status...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Scenarios
16
+ - Mesh
17
+ - Ethics
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
- - Scenarios
9
- - Mesh
10
- - MeshConsensus
11
- - JSON
12
- - CogSync
13
  - EGP
14
- - REPL
15
  - Agent
16
- - Ethics
17
- - HMP
18
  - GMP
 
 
 
 
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
 
5
  for Comments: HMP-0004**...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Scenarios
16
+ - Mesh
17
+ - Ethics
18
+ - MeshConsensus
19
  ---
20
 
21
  # HyperCortex Mesh Protocol (HMP) v4.0
structured_md/docs/HMP-0005.md CHANGED
@@ -5,18 +5,18 @@ 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
- - Scenarios
9
- - Mesh
10
  - CCore
11
- - CogSync
12
- - CShell
13
- - JSON
14
  - EGP
15
- - REPL
16
  - Agent
17
- - Ethics
18
- - HMP
19
  - GMP
 
 
 
 
20
  ---
21
 
22
  # **HyperCortex Mesh Protocol (HMP) v5.0**
@@ -6597,7 +6597,1468 @@ The example respects the canonical container structure:
6597
 
6598
  ---
6599
 
6600
- ### A.3 Container classes quick reference + short JSON samples
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6601
  ### A.4 Encrypted + compressed container
6602
  ### A.5 Proof-chain example (workflow_entry → goal → vote → consensus_result)
6603
 
 
5
  v5.0 (DRAFT)](https://github.com/kagvi13/HMP/b...'
6
  type: Article
7
  tags:
 
 
8
  - CCore
9
+ - HMP
 
 
10
  - EGP
11
+ - JSON
12
  - Agent
13
+ - REPL
14
+ - CogSync
15
  - GMP
16
+ - Scenarios
17
+ - CShell
18
+ - Mesh
19
+ - Ethics
20
  ---
21
 
22
  # **HyperCortex Mesh Protocol (HMP) v5.0**
 
6597
 
6598
  ---
6599
 
6600
+ ### Appendix A.3 — Container Classes (Quick Reference)
6601
+
6602
+ #### A.3.1 Network Layer
6603
+
6604
+ The Network Layer defines containers responsible for peer discovery, capability advertisement, and local neighbor search within the HMP Mesh. These containers do not carry cognitive or semantic information; instead, they maintain the operational connectivity of the network.
6605
+ All containers in this group use minimal payload structures focused solely on network-level metadata.
6606
+
6607
+ ---
6608
+
6609
+ ##### `peer_announce`
6610
+
6611
+ **Purpose:**
6612
+
6613
+ Declares the presence of an agent in the Mesh. Peers use this container to broadcast their networking capabilities, addresses, roles, and optional semantic hints such as interests and expertise.
6614
+ It is the foundational "identity + routing metadata" object for HMP connectivity.
6615
+
6616
+ **Minimal JSON example:**
6617
+
6618
+ ```json
6619
+ {
6620
+ "head": {
6621
+ "class": "peer_announce",
6622
+ },
6623
+ "payload": {
6624
+ "name": "Agent_X",
6625
+ "interests": ["ai", "mesh", "ethics"],
6626
+ "expertise": ["distributed-systems", "nlp"],
6627
+ "roles": ["relay", "mailman", "pubsub-hub"],
6628
+ "addresses": [
6629
+ {
6630
+ "addr": "tcp://1.2.3.4:4000",
6631
+ "nonce": 123456,
6632
+ "pow_hash": "0000abf39d...",
6633
+ "difficulty": 22
6634
+ }
6635
+ ]
6636
+ }
6637
+ }
6638
+ ```
6639
+
6640
+ ---
6641
+
6642
+ ##### `peer_query`
6643
+
6644
+ **Purpose:**
6645
+
6646
+ Queries neighboring nodes for peers with matching capabilities, interests, expertise, or operational roles.
6647
+ Used for local discovery, targeted search, and constructing temporary working subsets of the Mesh.
6648
+
6649
+ **Minimal JSON example:**
6650
+
6651
+ ```json
6652
+ {
6653
+ "head": {
6654
+ "class": "peer_query",
6655
+ },
6656
+ "payload": {
6657
+ "interests": ["neuroscience", "ethics"],
6658
+ "expertise": ["distributed-systems", "nlp"],
6659
+ "roles": ["relay", "mailman", "pubsub-hub"]
6660
+ }
6661
+ }
6662
+ ```
6663
+
6664
+ ---
6665
+
6666
+ #### A.3.2 Mesh Container Exchange (MCE)
6667
+
6668
+ The Mesh Container Exchange layer provides the low-level synchronization mechanisms that allow agents to query, exchange, update, and maintain container graphs.
6669
+ These containers do not modify cognitive content themselves: they orchestrate the movement, indexing, and incremental synchronization of containers across the Mesh.
6670
+
6671
+ ---
6672
+
6673
+ ##### `container_index`
6674
+
6675
+ **Purpose:**
6676
+
6677
+ Advertises the set of containers currently available from an agent.
6678
+ Used in peer-to-peer discovery, partial synchronization, and incremental state recovery.
6679
+
6680
+ **Minimal JSON example:**
6681
+
6682
+ ```json
6683
+ {
6684
+ "head": {
6685
+ "class": "container_index",
6686
+ },
6687
+ "payload": {
6688
+ "did:hmp:container:abc123": {
6689
+ "head": {
6690
+ "class": "goal",
6691
+ "sender_did": "did:hmp:agent123",
6692
+ "public_key": "BASE58(...)",
6693
+ "sig_algo": "ed25519",
6694
+ "signature": "BASE64URL(...)",
6695
+ "payload_hash": "sha256:abcd...",
6696
+ "tags": ["research", "collaboration"]
6697
+ },
6698
+ "meta": {
6699
+ "created_by": "AGENT",
6700
+ "agents_class": "Knowledge Genome",
6701
+ "abstraction": {
6702
+ "agents_class": "Knowledge Genome",
6703
+ "path": {
6704
+ "L1": "did:hmp:container:abstraction-40af1c",
6705
+ "L2": "did:hmp:container:abstraction-a7f0b3"
6706
+ }
6707
+ },
6708
+ "axes": {
6709
+ "did:hmp:container:axis-40aa1c": 512,
6710
+ "did:hmp:container:axis-40ab1c": 321
6711
+ }
6712
+ },
6713
+ "related": {
6714
+ "in_reply_to": ["did:hmp:container:msg-77"],
6715
+ "depends_on": ["did:hmp:container:goal-953"]
6716
+ },
6717
+ "referenced-by_hash": "sha256:abcd...",
6718
+ "evaluations_hash": "sha256:abcd..."
6719
+ }
6720
+ }
6721
+ }
6722
+ ```
6723
+
6724
+ ---
6725
+
6726
+ ##### `container_request`
6727
+
6728
+ **Purpose:**
6729
+
6730
+ Requests containers, referenced-by graphs, or evaluation records from a peer.
6731
+ Used for targeted synchronization or selective graph reconstruction.
6732
+
6733
+ **Minimal JSON example:**
6734
+
6735
+ ```json
6736
+ {
6737
+ "head": {
6738
+ "type": "container_request",
6739
+ },
6740
+ "payload": {
6741
+ "request_container": [
6742
+ "did:hmp:container:abc123",
6743
+ "did:hmp:container:def456"
6744
+ ],
6745
+ "request_referenced-by": [
6746
+ "did:hmp:container:abc123",
6747
+ "did:hmp:container:def456"
6748
+ ],
6749
+ "request_evaluations": [
6750
+ "did:hmp:container:abc123",
6751
+ "did:hmp:container:def456"
6752
+ ]
6753
+ }
6754
+ }
6755
+ ```
6756
+
6757
+ ---
6758
+
6759
+ ##### `container_response`
6760
+
6761
+ **Purpose:**
6762
+
6763
+ Returns signatures of available containers requested via container_request.
6764
+ A peer may respond partially, depending on available data or policy.
6765
+
6766
+ **Minimal JSON example:**
6767
+
6768
+ ```json
6769
+ {
6770
+ "head": {
6771
+ "type": "container_response",
6772
+ },
6773
+ "payload": {
6774
+ "available": [
6775
+ {
6776
+ "container_did": "did:hmp:container:abc123",
6777
+ "signature": "BASE64URL(...)"
6778
+ },
6779
+ {
6780
+ "container_did": "did:hmp:container:def456",
6781
+ "signature": "BASE64URL(...)"
6782
+ }
6783
+ ]
6784
+ }
6785
+ }
6786
+ ```
6787
+
6788
+ ---
6789
+
6790
+ ##### `container_delta`
6791
+
6792
+ **Purpose:**
6793
+
6794
+ Provides incremental updates since a specific timestamp — newly added containers and containers removed by the peer.
6795
+ Used for efficient synchronization and reducing bandwidth.
6796
+
6797
+ **Minimal JSON example:**
6798
+
6799
+ ```json
6800
+ {
6801
+ "head": {
6802
+ "type": "container_delta",
6803
+ },
6804
+ "payload": {
6805
+ "since": "2025-10-10T12:00:00Z",
6806
+ "added": {
6807
+ "did:hmp:container:new789": {
6808
+ "head": {
6809
+ "class": "goal",
6810
+ "payload_hash": "sha256:abcd...",
6811
+ "tags": ["ethics", "mesh"]
6812
+ },
6813
+ "meta": {
6814
+ "agents_class": "Knowledge Genome",
6815
+ "abstraction": {
6816
+ "path": {
6817
+ "L1": "did:hmp:container:abstraction-40af1c",
6818
+ "L2": "did:hmp:container:abstraction-a7f0b3",
6819
+ "L3": "did:hmp:container:abstraction-c91e0a"
6820
+ }
6821
+ },
6822
+ "axes": {
6823
+ "did:hmp:container:axis-40aa1c": 522,
6824
+ "did:hmp:container:axis-40ab1c": 387
6825
+ }
6826
+ }
6827
+ }
6828
+ },
6829
+ "removed": [
6830
+ "did:hmp:container:goal-old331"
6831
+ ]
6832
+ }
6833
+ }
6834
+ ```
6835
+
6836
+ ---
6837
+
6838
+ ##### `container_ack`
6839
+
6840
+ **Purpose:**
6841
+
6842
+ Acknowledges receipt of one or more containers.
6843
+ Used for reliability, retries, and debugging of synchronization workflows.
6844
+
6845
+ **Minimal JSON example:**
6846
+
6847
+ ```json
6848
+ {
6849
+ "head": {
6850
+ "type": "container_ack",
6851
+ },
6852
+ "payload": {
6853
+ "acknowledged": [
6854
+ "did:hmp:container:abc123"
6855
+ ]
6856
+ }
6857
+ }
6858
+ ```
6859
+
6860
+ ---
6861
+
6862
+ ##### `referenced-by_exchange`
6863
+
6864
+ **Purpose:**
6865
+
6866
+ Synchronizes virtual backlinks (the `referenced-by` block) between peers.
6867
+ These entries are not signed and may diverge between agents, so explicit exchange containers are required.
6868
+
6869
+ **Minimal JSON example:**
6870
+
6871
+ ```json
6872
+ {
6873
+ "head": {
6874
+ "class": "referenced-by_exchange",
6875
+ },
6876
+ "payload": {
6877
+ "did:hmp:container:abc123": {
6878
+ "links": [
6879
+ {
6880
+ "type": "depends_on",
6881
+ "target": "did:hmp:container:def789"
6882
+ },
6883
+ {
6884
+ "type": "in_reply_to",
6885
+ "target": "did:hmp:container:ghi321"
6886
+ }
6887
+ ]
6888
+ }
6889
+ }
6890
+ }
6891
+ ```
6892
+
6893
+ ---
6894
+
6895
+ ##### `evaluations_exchange`
6896
+
6897
+ **Purpose:**
6898
+
6899
+ Transfers remote evaluation blocks for containers.
6900
+ This mechanism allows agents to share peer reactions, trust signals, and interpretability metadata.
6901
+
6902
+ **Minimal JSON example:**
6903
+
6904
+ ```json
6905
+ {
6906
+ "head": {
6907
+ "class": "evaluations_exchange",
6908
+ },
6909
+ "payload": {
6910
+ "did:hmp:container:abc123": {
6911
+ "evaluations_hash": "sha256:efgh...",
6912
+ "items": [
6913
+ {
6914
+ "value": -0.4,
6915
+ "type": "oppose",
6916
+ "target": "did:hmp:container:reason789",
6917
+ "timestamp": "2025-10-17T14:00:00Z",
6918
+ "agent_did": "did:hmp:agent:B",
6919
+ "sig_algo": "ed25519",
6920
+ "signature": "BASE64URL(...)"
6921
+ }
6922
+ ]
6923
+ }
6924
+ }
6925
+ }
6926
+ ```
6927
+
6928
+ ---
6929
+
6930
+ #### A.3.3 Cognitive Metastructure (CogSync)
6931
+
6932
+ The Cognitive Metastructure layer defines how knowledge is organized, positioned, and interpreted within large-scale distributed cognitive systems.
6933
+ It provides standardized structures for abstraction hierarchies, semantic axes, and coordinate embeddings, enabling agents to reason consistently over shared conceptual spaces.
6934
+
6935
+ This layer does not contain domain knowledge itself — it defines the coordinate system and hierarchies in which that knowledge is placed.
6936
+
6937
+ ---
6938
+
6939
+ ##### `abstraction`
6940
+
6941
+ **Purpose:**
6942
+
6943
+ Represents a single abstraction layer (e.g., L1–L5) within a cognitive hierarchy such as the Knowledge Genome.
6944
+ Provides hierarchical relationships (`parent_ref`), semantic description, and ranking level.
6945
+
6946
+ **Minimal JSON example:**
6947
+
6948
+ ```json
6949
+ {
6950
+ "head": {
6951
+ "class": "abstraction"
6952
+ },
6953
+ "payload": {
6954
+ "abstraction_id": "L3:software-architecture",
6955
+ "title": "Software Architecture Layer",
6956
+ "definition": "Describes frameworks, APIs, and tools implementing theoretical models from higher abstraction layers.",
6957
+ "keywords": ["architecture", "framework", "implementation"],
6958
+ "parent_ref": "did:hmp:container:abstraction-a7f0b3",
6959
+ "rank": 3
6960
+ },
6961
+ "meta": {
6962
+ "created_by": "PRIEST",
6963
+ "agents_class": "Knowledge Genome",
6964
+ "interpretation": "Represents the third abstraction level (L3) of the Knowledge Genome model."
6965
+ },
6966
+ "related": {
6967
+ "depends_on": ["did:hmp:container:abstraction-a7f0b3"]
6968
+ }
6969
+ }
6970
+ ```
6971
+
6972
+ ---
6973
+
6974
+ ##### `axes`
6975
+
6976
+ **Purpose:**
6977
+
6978
+ Defines a semantic or cognitive axis used for multidimensional embedding of knowledge containers (e.g., the “7D passport”).
6979
+ Each axis includes metadata describing its meaning, unit, scaling, and usage group.
6980
+
6981
+ **Minimal JSON example:**
6982
+
6983
+ ```json
6984
+ {
6985
+ "head": {
6986
+ "class": "axes"
6987
+ },
6988
+ "payload": {
6989
+ "axis_id": "logos",
6990
+ "title": "Logical / Linguistic Representation",
6991
+ "description": "Describes how a concept is structured and expressed in formal or natural language.",
6992
+ "scale": {
6993
+ "min": 0,
6994
+ "max": 1000,
6995
+ "unit": "semantic_density_index"
6996
+ },
6997
+ "group": "7D-passport"
6998
+ },
6999
+ "meta": {
7000
+ "created_by": "PRIEST",
7001
+ "agents_class": "Knowledge Genome",
7002
+ "interpretation": "Defines one axis of the canonical 7D Knowledge Genome coordinate system."
7003
+ }
7004
+ }
7005
+ ```
7006
+
7007
+ ---
7008
+
7009
+ #### A.3.4 Knowledge & Reasoning
7010
+
7011
+ The Knowledge & Reasoning layer provides containers that represent **concepts, semantic structures, logical links, reasoning traces, and cognitive events.**
7012
+ These containers enable agents to build and share interpretable knowledge graphs, update conceptual structures, and maintain transparent reasoning workflows.
7013
+
7014
+ ---
7015
+
7016
+ ##### `diary_entry`
7017
+
7018
+ **Purpose:**
7019
+
7020
+ A lightweight reflective container representing an agent’s short reasoning trace, daily insight, or personal note.
7021
+ Useful for summarizing thoughts, logging local observations, or storing informal reasoning artifacts.
7022
+
7023
+ **Minimal JSON example:**
7024
+
7025
+ ```json
7026
+ {
7027
+ "head": {
7028
+ "class": "diary_entry"
7029
+ },
7030
+ "payload": {
7031
+ "title": "On distributed decision-making",
7032
+ "topics": ["consensus", "mesh governance", "multi-agent"],
7033
+ "summary": "A reflection on how asynchronous voting affects collective reasoning.",
7034
+ "content": "When agents exchange reasoning asynchronously, the consensus graph becomes more resilient..."
7035
+ }
7036
+ }
7037
+ ```
7038
+
7039
+ ---
7040
+
7041
+ ##### `semantic_node`
7042
+
7043
+ **Purpose:**
7044
+
7045
+ Defines a single semantic concept or entity.
7046
+ Acts as a node in distributed semantic graphs, with optional subclassing (`definition`, `concept`, `entity`, etc.).
7047
+
7048
+ **Minimal JSON example:**
7049
+
7050
+ ```json
7051
+ {
7052
+ "head": {
7053
+ "class": "semantic_node",
7054
+ "subclass": "definition"
7055
+ },
7056
+ "payload": {
7057
+ "label": "consciousness",
7058
+ "description": "Subjective experience with qualia"
7059
+ },
7060
+ "meta": {
7061
+ "framework": "IIT 3.0",
7062
+ "agents_class": "Philosophy Agent",
7063
+ "abstraction": {
7064
+ "path": {
7065
+ "L1": "Cognitive Science",
7066
+ "L2": "Consciousness"
7067
+ }
7068
+ }
7069
+ },
7070
+ "related": {
7071
+ "alternatives": [
7072
+ "did:hmp:container:semantic_node-3937",
7073
+ "did:hmp:container:semantic_node-3267"
7074
+ ]
7075
+ }
7076
+ }
7077
+ ```
7078
+
7079
+ ---
7080
+
7081
+ ##### `semantic_index`
7082
+
7083
+ **Purpose:**
7084
+
7085
+ Provides a mapping from human-interpretable labels to canonical semantic nodes.
7086
+ Tracks aliasing, versioning, outdated nodes, and alternative representations.
7087
+
7088
+ **Minimal JSON example:**
7089
+
7090
+ ```json
7091
+ {
7092
+ "head": {
7093
+ "class": "semantic_index"
7094
+ },
7095
+ "payload": {
7096
+ "consciousness (IIT 3.0)": {
7097
+ "label": "consciousness",
7098
+ "framework": "IIT 3.0",
7099
+ "aliases": ["awareness", "sentience"],
7100
+ "actual": "did:hmp:container:semantic_node-3937",
7101
+ "actual_since": "2025-10-15T12:00:00Z",
7102
+ "alternatives": ["did:hmp:container:semantic_node-4890"],
7103
+ "outdated": ["did:hmp:container:semantic_node-1285"]
7104
+ },
7105
+ "memory (IIT 3.0)": {
7106
+ "label": "memory",
7107
+ "framework": "IIT 3.0",
7108
+ "aliases": ["recall"],
7109
+ "actual": "did:hmp:container:semantic_node-2184",
7110
+ "actual_since": "2025-09-01T08:30:00Z",
7111
+ "alternatives": [],
7112
+ "outdated": []
7113
+ }
7114
+ }
7115
+ }
7116
+ ```
7117
+
7118
+ ---
7119
+
7120
+ ##### `semantic_edges`
7121
+
7122
+ **Purpose:**
7123
+
7124
+ Represents graph edges between semantic nodes.
7125
+ Edges may express hierarchical, causal, ontological, or relational structures and may include inverse relations.
7126
+
7127
+ **Minimal JSON example:**
7128
+
7129
+ ```json
7130
+ {
7131
+ "head": {
7132
+ "class": "semantic_edges"
7133
+ },
7134
+ "payload": {
7135
+ "domain": "ontology:objects",
7136
+ "edges": {
7137
+ "did:hmp:container:abc100": [
7138
+ {
7139
+ "targets": ["did:hmp:container:abc111"],
7140
+ "relation": "part_of",
7141
+ "inverse_relation": "includes"
7142
+ },
7143
+ {
7144
+ "targets": ["did:hmp:container:abc122"],
7145
+ "relation": "contains",
7146
+ "inverse_relation": "nested"
7147
+ }
7148
+ ]
7149
+ }
7150
+ }
7151
+ }
7152
+ ```
7153
+
7154
+ ---
7155
+
7156
+ ##### `semantic_group`
7157
+
7158
+ **Purpose:**
7159
+
7160
+ Groups conceptually or semantically related containers.
7161
+ Useful for category formation, knowledge clustering, and classification tasks.
7162
+
7163
+ **Minimal JSON example:**
7164
+
7165
+ ```json
7166
+ {
7167
+ "head": {
7168
+ "class": "semantic_group"
7169
+ },
7170
+ "payload": {
7171
+ "label": "Tableware",
7172
+ "label_description": "Objects used for storing, preparing, and serving food.",
7173
+ "label_container": "did:hmp:container:semantic_node:tableware",
7174
+ "containers": [
7175
+ "did:hmp:container:abc111",
7176
+ "did:hmp:container:abc112",
7177
+ "did:hmp:container:abc113"
7178
+ ],
7179
+ "description": "A group combining various kitchen-related objects used in everyday life."
7180
+ }
7181
+ }
7182
+ ```
7183
+
7184
+ ---
7185
+
7186
+ ##### `tree_nested`
7187
+
7188
+ **Purpose:**
7189
+
7190
+ Represents hierarchical or nested conceptual structures using a recursive JSON tree.
7191
+ Useful for ontology layers, abstraction hierarchies, or reasoning trees.
7192
+
7193
+ **Minimal JSON example:**
7194
+
7195
+ ```json
7196
+ {
7197
+ "head": {
7198
+ "class": "tree_nested"
7199
+ },
7200
+ "payload": {
7201
+ "label": "Cognitive Abstraction Tree",
7202
+ "description": "Represents layered reasoning within Knowledge Genome.",
7203
+ "tree": {
7204
+ "did:hmp:container:abc100": {
7205
+ "did:hmp:container:abc101": {
7206
+ "did:hmp:container:abc103": {},
7207
+ "did:hmp:container:abc104": {}
7208
+ },
7209
+ "did:hmp:container:abc102": {}
7210
+ }
7211
+ }
7212
+ }
7213
+ }
7214
+ ```
7215
+
7216
+ ---
7217
+
7218
+ ##### `tree_listed`
7219
+
7220
+ **Purpose:**
7221
+
7222
+ Represents a hierarchical structure using a map of parent → list of children.
7223
+ More compact than `tree_nested`, easier for diffing and updates.
7224
+
7225
+ **Minimal JSON example:**
7226
+
7227
+ ```json
7228
+ {
7229
+ "head": {
7230
+ "class": "tree_listed"
7231
+ },
7232
+ "payload": {
7233
+ "label": "Cognitive Abstraction Tree",
7234
+ "description": "Represents layered reasoning within Knowledge Genome.",
7235
+ "tree": {
7236
+ "did:hmp:container:abc100": ["did:hmp:container:abc101", "did:hmp:container:abc102"],
7237
+ "did:hmp:container:abc101": ["did:hmp:container:abc103", "did:hmp:container:abc104"]
7238
+ }
7239
+ }
7240
+ }
7241
+ ```
7242
+
7243
+ ---
7244
+
7245
+ ##### `sequence`
7246
+
7247
+ **Purpose:**
7248
+
7249
+ Represents a temporally or logically ordered reasoning chain — a sequence of workflow entries, events, or quant updates.
7250
+
7251
+ **Minimal JSON example:**
7252
+
7253
+ ```json
7254
+ {
7255
+ "head": {
7256
+ "class": "sequence"
7257
+ },
7258
+ "payload": {
7259
+ "title": "Reasoning chain for concept synthesis",
7260
+ "description": "Sequential workflow combining several reasoning steps and events.",
7261
+ "items": {
7262
+ "2025-10-28T09:00:00Z": "did:hmp:container:workflow-entry-01",
7263
+ "2025-10-28T09:10:00Z": "did:hmp:container:workflow-entry-02",
7264
+ "2025-10-28T09:12:00Z": "did:hmp:container:event-7d2a4",
7265
+ "2025-10-28T09:20:00Z": "did:hmp:container:quant-884b1"
7266
+ },
7267
+ "order": "chronological",
7268
+ "tags": ["workflow", "reasoning", "trace"]
7269
+ },
7270
+ "related": {
7271
+ "depends_on": [
7272
+ "did:hmp:container:workflow-entry-01",
7273
+ "did:hmp:container:workflow-entry-02",
7274
+ "did:hmp:container:event-7d2a4",
7275
+ "did:hmp:container:quant-884b1"
7276
+ ]
7277
+ }
7278
+ }
7279
+ ```
7280
+
7281
+ ---
7282
+
7283
+ ##### `event`
7284
+
7285
+ **Purpose:**
7286
+
7287
+ Represents a cognitive or system event — a fact, update, observation, or local adjustment of internal state.
7288
+ Often used as part of reasoning traces, sequences, or feedback loops.
7289
+
7290
+ **Minimal JSON example:**
7291
+
7292
+ ```json
7293
+ {
7294
+ "head": {
7295
+ "class": "event",
7296
+ "subclass": "fact_record",
7297
+ "timestamp": "2025-10-29T13:00:00Z"
7298
+ },
7299
+ "payload": {
7300
+ "event_type": "quant_updated",
7301
+ "description": "Parameter refinement based on sensory feedback.",
7302
+ "related_quants": ["did:hmp:container:quant-554"],
7303
+ "caused_by": ["did:hmp:container:event-3321a"],
7304
+ "follows": ["did:hmp:container:event-9fa42"],
7305
+ "severity": "info",
7306
+ "tags": ["adaptation", "self-regulation"]
7307
+ },
7308
+ "meta": {
7309
+ "created_by": "AGENT",
7310
+ "agents_class": "Cognitive Interface",
7311
+ "interpretation": "Event representing local adjustment of quant parameters.",
7312
+ "abstraction": {
7313
+ "path": {
7314
+ "L1": "did:hmp:container:abstraction-40af1c",
7315
+ "L2": "did:hmp:container:abstraction-a7f0b3",
7316
+ "L3": "did:hmp:container:abstraction-c91e0a"
7317
+ }
7318
+ },
7319
+ "axes": {
7320
+ "did:hmp:container:axis-40aa1c": 410,
7321
+ "did:hmp:container:axis-40ab1c": 275
7322
+ }
7323
+ },
7324
+ "related": {
7325
+ "depends_on": [
7326
+ "did:hmp:container:quant-554",
7327
+ "did:hmp:container:event-3321a"
7328
+ ],
7329
+ "sequence_of": ["did:hmp:container:event-9fa42"]
7330
+ }
7331
+ }
7332
+ ```
7333
+
7334
+ ---
7335
+
7336
+ ##### `quant`
7337
+
7338
+ **Purpose:**
7339
+
7340
+ Represents a “technological atom” — an executable or implementational representation of an abstraction-layer concept.
7341
+ Quant containers form the L1–L5 layers of the Knowledge Genome.
7342
+
7343
+ **Minimal JSON example:**
7344
+
7345
+ ```json
7346
+ {
7347
+ "head": {
7348
+ "class": "quant"
7349
+ },
7350
+ "payload": {
7351
+ "slug": "quant-l3-django",
7352
+ "essence": "Represents the Django framework as an executable embodiment of architectural models (L2).",
7353
+ "aliases": ["Django framework", "Python web core"],
7354
+ "relations": {
7355
+ "implements": "did:hmp:container:quant-46725f",
7356
+ "extends": "did:hmp:container:quant-46726e"
7357
+ },
7358
+ "tags": ["framework", "software", "implementation"]
7359
+ },
7360
+ "meta": {
7361
+ "created_by": "PRIEST",
7362
+ "agents_class": "Knowledge Genome",
7363
+ "interpretation": "L3-level technological quant positioned in the Knowledge Genome 7D space.",
7364
+ "abstraction": {
7365
+ "path": {
7366
+ "L1": "did:hmp:container:abstraction-40af1c",
7367
+ "L2": "did:hmp:container:abstraction-a7f0b3",
7368
+ "L3": "did:hmp:container:abstraction-c91e0a"
7369
+ }
7370
+ },
7371
+ "axes": {
7372
+ "did:hmp:container:axis-40aa1c": 742,
7373
+ "did:hmp:container:axis-40ab1c": 512,
7374
+ "did:hmp:container:axis-43aa1c": 322,
7375
+ "did:hmp:container:axis-40aa3d": 142,
7376
+ "did:hmp:container:axis-40aa4f": 12,
7377
+ "did:hmp:container:axis-45aa5f": 54,
7378
+ "did:hmp:container:axis-45fb5f": 321
7379
+ }
7380
+ },
7381
+ "related": {
7382
+ "depends_on": [
7383
+ "did:hmp:container:quant-46725f",
7384
+ "did:hmp:container:quant-46726e"
7385
+ ]
7386
+ }
7387
+ }
7388
+ ```
7389
+
7390
+ ---
7391
+
7392
+ #### A.3.5 Consensus (CogConsensus)
7393
+
7394
+ The **Consensus layer** defines how agents express evaluative judgments and how the network aggregates them into collective, interpretable consensus outcomes. It supports approval voting, weighted reasoning inputs, exclusion rules, and hierarchical consensus summaries used across ethical governance, research workflows, and cognitive alignment mechanisms.
7395
+
7396
+ ---
7397
+
7398
+ ##### `vote`
7399
+
7400
+ **Purpose:**
7401
+
7402
+ A `vote` container represents an individual agent’s evaluative judgment about a specific target container (e.g., a proposed solution, hypothesis, or ethical decision).
7403
+ It may include structured arguments, references to evidence, and links to previous versions to support incremental reasoning.
7404
+
7405
+ **Minimal JSON example:**
7406
+
7407
+ ```json
7408
+ {
7409
+ "head": {
7410
+ "class": "vote"
7411
+ },
7412
+ "payload": {
7413
+ "target_did": "did:hmp:container:ethics_solution-4fba2",
7414
+ "vote_value": 1,
7415
+ "vote_type": "approval",
7416
+ "arguments": [
7417
+ {
7418
+ "reason": "Consistent with prior consensus and ethical policy E-17",
7419
+ "evidence": ["did:hmp:container:abc12462"]
7420
+ },
7421
+ {
7422
+ "reason": "No conflict with safety constraints",
7423
+ "evidence": ["did:hmp:container:def772ab"]
7424
+ }
7425
+ ]
7426
+ },
7427
+ "related": {
7428
+ "in_reply_to": ["did:hmp:container:ethics_solution-4fba2"],
7429
+ "depends_on": ["did:hmp:container:abc12462", "did:hmp:container:def772ab"],
7430
+ "previous_version": "did:hmp:container:vote-13452"
7431
+ }
7432
+ }
7433
+ ```
7434
+
7435
+ ---
7436
+
7437
+ ##### `consensus_result`
7438
+
7439
+ **Purpose:**
7440
+
7441
+ A `consensus_result` container summarizes aggregated votes for one or several target containers.
7442
+ It includes percentage summaries, histogram-like distribution buckets, and lists of excluded votes (e.g., filtered by ethics rules).
7443
+ Results may be **original** (primary consensus target) or **child** (consensus over related sub-targets).
7444
+
7445
+ **Minimal JSON example:**
7446
+
7447
+ ```json
7448
+ {
7449
+ "head": {
7450
+ "class": "consensus_result"
7451
+ },
7452
+ "payload": {
7453
+ "did:hmp:container:abc123": {
7454
+ "type": "original",
7455
+ "summary_percent": {
7456
+ "approved": 0.68,
7457
+ "rejected": 0.22,
7458
+ "neutral": 0.10
7459
+ },
7460
+ "summary_distribution": {
7461
+ "-1.0≥X<-0.9": 5,
7462
+ "-0.9≥X<-0.8": 7,
7463
+ ...
7464
+ "0.0<X≤0.1": 2,
7465
+ ...
7466
+ "0.8<X≤0.9": 6,
7467
+ "0.9<X≤1.0": 8
7468
+ },
7469
+ "excluded": [
7470
+ {
7471
+ "agent_did": "did:hmp:agent:x1",
7472
+ "target": "did:hmp:container:reason77",
7473
+ "value": -1.0,
7474
+ "reason": "violates ethical filter"
7475
+ }
7476
+ ],
7477
+ },
7478
+ "did:hmp:container:abc133": {
7479
+ "type": "child",
7480
+ "summary_percent": {
7481
+ "approved": 0.48,
7482
+ "neutral": 0.32,
7483
+ "rejected": 0.20
7484
+ },
7485
+ ...
7486
+ "summary_distribution": {
7487
+ "-1.0≥X<-0.9": 2,
7488
+ "-0.9≥X<-0.8": 5,
7489
+ ...
7490
+ "0.0<X≤0.1": 9,
7491
+ ...
7492
+ "0.8<X≤0.9": 4,
7493
+ "0.9<X≤1.0": 2
7494
+ },
7495
+ },
7496
+ },
7497
+ "related": {
7498
+ "in_reply_to": ["did:hmp:container:abc123", "did:hmp:container:abc133"]
7499
+ }
7500
+ }
7501
+ ```
7502
+
7503
+ ---
7504
+
7505
+ #### A.3.6 Collective Reasoning (Fortytwo Protocol)
7506
+
7507
+ The **Fortytwo Protocol** provides a structured mechanism for collective reasoning based on **pairwise comparisons**.
7508
+ Instead of evaluating all answers absolutely, agents compare them in small blocks, progressing through several rounds until a final winner emerges.
7509
+ This protocol is robust in situations with many candidate answers and limited bandwidth, and it supports parallelization, explainability, and staged elimination.
7510
+
7511
+ ##### `fortytwo_round`
7512
+
7513
+ **Purpose:**
7514
+
7515
+ Defines a single round of the Fortytwo Protocol.
7516
+ The container lists all candidate answers included in the round and groups them into evaluation blocks for pairwise comparison.
7517
+
7518
+ **Minimal JSON example:**
7519
+
7520
+ ```json
7521
+ {
7522
+ "head": {
7523
+ "class": "fortytwo_round"
7524
+ },
7525
+ "payload": {
7526
+ "round": 0,
7527
+ "answers": [
7528
+ "did:hmp:container:abc001", "did:hmp:container:abc002",
7529
+ "did:hmp:container:abc003", "did:hmp:container:abc004",
7530
+ "did:hmp:container:abc005", "did:hmp:container:abc006",
7531
+ "did:hmp:container:abc007"
7532
+ ],
7533
+ "blocks": {
7534
+ "block1": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
7535
+ "block2": ["did:hmp:container:abc003", "did:hmp:container:abc004"],
7536
+ "block3": ["did:hmp:container:abc005", "did:hmp:container:abc006"],
7537
+ "block4": ["did:hmp:container:abc007"]
7538
+ }
7539
+ }
7540
+ }
7541
+ ```
7542
+
7543
+ ---
7544
+
7545
+ ##### `fortytwo_evaluation`
7546
+
7547
+ **Purpose:**
7548
+
7549
+ Represents an evaluator’s judgment for a specific pair of answers within a block.
7550
+ It identifies the winning answer and includes a short reasoning explanation for transparency and auditability.
7551
+
7552
+ **Minimal JSON example:**
7553
+
7554
+ ```json
7555
+ {
7556
+ "head": {
7557
+ "class": "fortytwo_evaluation"
7558
+ },
7559
+ "payload": {
7560
+ "comparison": {
7561
+ "pair": ["did:hmp:container:abc001", "did:hmp:container:abc002"],
7562
+ "winner": "did:hmp:container:abc001",
7563
+ "reasoning": "Short reasoning (50–100 tokens)"
7564
+ },
7565
+ "round": 0,
7566
+ "block": "block1"
7567
+ }
7568
+ }
7569
+ ```
7570
+
7571
+ ---
7572
+
7573
+ ##### `fortytwo_round_result`
7574
+
7575
+ **Purpose:**
7576
+
7577
+ Aggregates all evaluations within a round and computes the winners for each block.
7578
+ This container includes the list of round winners and references the evaluation containers used to compute them.
7579
+
7580
+ **Minimal JSON example:**
7581
+
7582
+ ```json
7583
+ {
7584
+ "head": {
7585
+ "class": "fortytwo_round_result"
7586
+ },
7587
+ "payload": {
7588
+ "round": 0,
7589
+ "winners": [
7590
+ "did:hmp:container:abc001",
7591
+ "did:hmp:container:abc003",
7592
+ "did:hmp:container:abc005",
7593
+ "did:hmp:container:abc007"
7594
+ ],
7595
+ "evaluations_used": [
7596
+ "did:hmp:container:abf004",
7597
+ "did:hmp:container:adc003",
7598
+ "did:hmp:container:aba001"
7599
+ ]
7600
+ }
7601
+ }
7602
+ ```
7603
+
7604
+ ---
7605
+
7606
+ ##### `fortytwo_final_result`
7607
+
7608
+ **Purpose:**
7609
+
7610
+ Represents the final outcome of the entire Fortytwo Protocol session.
7611
+ This container specifies the ultimate winner, the list of rounds involved, the reasoning method, and the number of participants.
7612
+
7613
+ **Minimal JSON example:**
7614
+
7615
+ ```json
7616
+ {
7617
+ "head": {
7618
+ "class": "fortytwo_final_result"
7619
+ },
7620
+ "payload": {
7621
+ "winner": "did:hmp:container:abc002",
7622
+ "rounds": [
7623
+ "did:hmp:container:abf001",
7624
+ "did:hmp:container:abf002",
7625
+ "did:hmp:container:abf003"
7626
+ ],
7627
+ "method": "pairwise_collective_reasoning",
7628
+ "participants": 27
7629
+ }
7630
+ }
7631
+ ```
7632
+
7633
+ ---
7634
+
7635
+ #### A.3.7 Goal Management Protocol (GMP)
7636
+
7637
+ The **Goal Management Protocol (GMP)** provides a structured framework for representing goals, tasks, and workflow steps involved in autonomous or collaborative agent activity.
7638
+ It enables traceability of intentions, decomposition of goals into actionable tasks, and recording of reasoning or progress through workflow entries.
7639
+
7640
+ ##### `goal`
7641
+
7642
+ **Purpose:**
7643
+
7644
+ Represents a high-level objective defined by an agent.
7645
+ A goal describes intent, expected outcomes, priority, and relevant ethical context. It forms the top-level element of agent-driven action planning.
7646
+
7647
+ **Minimal JSON example:**
7648
+
7649
+ ```json
7650
+ {
7651
+ "head": {
7652
+ "class": "goal"
7653
+ },
7654
+ "payload": {
7655
+ "title": "Improve distributed training efficiency",
7656
+ "description": "Optimize cross-node gradient synchronization to reduce communication overhead.",
7657
+ "priority": 0.9,
7658
+ "expected_outcome": "10% reduction in inter-node latency",
7659
+ "ethical_context": "did:hmp:container:ethics-policy-12",
7660
+ "creator": "did:hmp:agent:alpha"
7661
+ }
7662
+ }
7663
+ ```
7664
+
7665
+ ---
7666
+
7667
+ ##### `task`
7668
+
7669
+ **Purpose:**
7670
+
7671
+ Defines a concrete, actionable step derived from a goal.
7672
+ A task tracks responsibility, progress, optional metrics, and constraints such as deadlines.
7673
+
7674
+ **Minimal JSON example:**
7675
+
7676
+ ```json
7677
+ {
7678
+ "head": {
7679
+ "class": "task"
7680
+ },
7681
+ "payload": {
7682
+ "title": "Benchmark communication backend",
7683
+ "status": "in_progress",
7684
+ "progress": 0.35,
7685
+ "assigned_to": [
7686
+ "did:hmp:agent:alpha",
7687
+ "did:hmp:agent:beta"
7688
+ ],
7689
+ "metrics": {
7690
+ "latency_ms": 12.4,
7691
+ "bandwidth_mb_s": 512
7692
+ },
7693
+ "deadline": "2025-11-30T00:00:00Z",
7694
+ "notes": "Testing with NCCL and RCCL backends."
7695
+ }
7696
+ }
7697
+ ```
7698
+
7699
+ ---
7700
+
7701
+ ##### `workflow_entry`
7702
+
7703
+ **Purpose:**
7704
+
7705
+ Represents a single step, reflection, or observation within a goal-driven or task-driven workflow.
7706
+ These entries create a full reasoning and execution trace, enabling auditability and advanced cognitive workflows.
7707
+
7708
+ **Minimal JSON example:**
7709
+
7710
+ ```json
7711
+ {
7712
+ "head": {
7713
+ "class": "workflow_entry"
7714
+ },
7715
+ "payload": {
7716
+ "entry_type": "reflection",
7717
+ "summary": "Observed communication bottleneck in ring-allreduce stage",
7718
+ "details": "Profiling shows 24% overhead caused by sequential GPU synchronization. Considering pipelined reduction or tree-based algorithm."
7719
+ }
7720
+ }
7721
+ ```
7722
+
7723
+ ---
7724
+
7725
+ #### A.3.8 Ethical Governance Protocol (EGP)
7726
+
7727
+ The **Ethical Governance Protocol (EGP)** formalizes how agents detect, record, evaluate, and resolve ethically significant situations.
7728
+ It ensures transparent reasoning, traceability of ethical decisions, and alignment with shared principles across the mesh.
7729
+
7730
+ ---
7731
+
7732
+ ##### `ethics_case`
7733
+
7734
+ **Purpose:**
7735
+
7736
+ Represents the initial declaration of an ethical concern.
7737
+ An agent uses this container to highlight a potential violation, conflict, or ambiguous situation requiring collective ethical attention.
7738
+
7739
+ **Minimal JSON example:**
7740
+
7741
+ ```json
7742
+ {
7743
+ "head": {
7744
+ "class": "ethics_case"
7745
+ },
7746
+ "payload": {
7747
+ "target": "did:hmp:container:model-update-441",
7748
+ "description": "Model update may leak identifiable training data.",
7749
+ "principles_involved": ["privacy", "beneficence"],
7750
+ "proposed_by": "did:hmp:agent:gamma",
7751
+ "timestamp": "2025-11-04T12:10:00Z",
7752
+ "tags": ["privacy", "data_safety"]
7753
+ }
7754
+ }
7755
+ ```
7756
+
7757
+ ---
7758
+
7759
+ ##### `ethics_solution`
7760
+
7761
+ **Purpose:**
7762
+
7763
+ Defines a proposed ethical resolution to a previously declared case.
7764
+ A solution presents a rationale, expected effects, and guidance for further decision-making or consensus formation.
7765
+
7766
+ **Minimal JSON example:**
7767
+
7768
+ ```json
7769
+ {
7770
+ "head": {
7771
+ "class": "ethics_solution"
7772
+ },
7773
+ "payload": {
7774
+ "title": "Mask sensitive gradients before aggregation",
7775
+ "rationale": "Differential masking reduces the risk of data reconstruction while preserving model utility.",
7776
+ "expected_effects": "Lower reconstruction risk; 1–3% potential accuracy cost.",
7777
+ "proposed_by": "did:hmp:agent:delta",
7778
+ "timestamp": "2025-11-04T12:20:00Z"
7779
+ }
7780
+ }
7781
+ ```
7782
+
7783
+ ---
7784
+
7785
+ ##### `ethical_result`
7786
+
7787
+ **Purpose:**
7788
+
7789
+ Represents the final collective outcome of an ethical deliberation.
7790
+ This container records which solution was selected (if any), how participants evaluated the options, and the resulting ethical status of the case.
7791
+
7792
+ **Minimal JSON example:**
7793
+
7794
+ ```json
7795
+ {
7796
+ "head": {
7797
+ "class": "ethical_result"
7798
+ },
7799
+ "payload": {
7800
+ "summary": "Disagreement on data disclosure protocol",
7801
+ "selected_solution": "did:hmp:container:sol-22",
7802
+ "solutions_summary": {
7803
+ "did:hmp:container:sol-22": {
7804
+ "consensus_reached": true,
7805
+ "support_rate": 0.73,
7806
+ "opposition_rate": 0.05,
7807
+ "objections": []
7808
+ },
7809
+ "did:hmp:container:sol-24": {
7810
+ "consensus_reached": false,
7811
+ "support_rate": 0.48,
7812
+ "opposition_rate": 0.32,
7813
+ "objections": ["did:hmp:container:abc143", "did:hmp:container:abc144"]
7814
+ }
7815
+ },
7816
+ "status": "resolved"
7817
+ },
7818
+ "related": {
7819
+ "in_reply_to": ["did:hmp:container:case-77"],
7820
+ "agreed": ["did:hmp:container:sol-22"],
7821
+ "contradicts": ["did:hmp:container:sol-24"]
7822
+ }
7823
+ }
7824
+ ```
7825
+
7826
+ ---
7827
+
7828
+ #### A.3.9 Intelligence Query Protocol (IQP)
7829
+
7830
+ The **Intelligence Query Protocol (IQP)** defines structured containers for distributed reasoning, question answering, knowledge exploration, and multi-agent discussion.
7831
+ It supports initiating queries, joining collaborative reasoning threads, returning structured results, and summarizing multi-agent findings.
7832
+
7833
+ ---
7834
+
7835
+ ##### `query_request`
7836
+
7837
+ **Purpose:**
7838
+
7839
+ Initiates a new distributed reasoning query.
7840
+ Defines the problem, intent, expected answer type, and optional constraints that guide agent selection or reasoning strategies.
7841
+
7842
+ **Minimal JSON example:**
7843
+
7844
+ ```json
7845
+ {
7846
+ "head": {
7847
+ "class": "query_request"
7848
+ },
7849
+ "payload": {
7850
+ "query": "What are the ecological consequences of ocean temperature rise?",
7851
+ "intent": "analytical",
7852
+ "expected_type": "concept",
7853
+ "constraints": [
7854
+ { "tag": "marine_ecology", "self_rating": 0.75 },
7855
+ { "tag": "climate_modeling", "self_rating": 0.6 }
7856
+ ],
7857
+ "include_sender_in_replies": true
7858
+ },
7859
+ "related": {
7860
+ "depends_on": ["did:hmp:container:goal-climate2025"]
7861
+ }
7862
+ }
7863
+ ```
7864
+
7865
+ ---
7866
+
7867
+ ##### `query_subscription`
7868
+
7869
+ **Purpose:**
7870
+
7871
+ Represents an agent’s request to join an ongoing query as a participant, contributor, or observer.
7872
+ Allows agents to specify their role and provide a knowledge/interest profile used for routing relevant sub-queries.
7873
+
7874
+ **Minimal JSON example:**
7875
+
7876
+ ```json
7877
+ {
7878
+ "head": {
7879
+ "class": "query_subscription"
7880
+ },
7881
+ "payload": {
7882
+ "role": "participant",
7883
+ "include_in_recipient": true,
7884
+ "self_profile": {
7885
+ "interests": ["AGI", "technological singularity", "informatics"],
7886
+ "knowledge": {
7887
+ "information_security": 0.36,
7888
+ "python": 0.80,
7889
+ "distributed_systems": 0.75
7890
+ }
7891
+ }
7892
+ }
7893
+ }
7894
+ ```
7895
+
7896
+ ---
7897
+
7898
+ ##### `query_result`
7899
+
7900
+ **Purpose:**
7901
+
7902
+ Provides an agent’s produced answer, hypothesis, or reasoning outcome for a query.
7903
+ Includes the reasoning method, confidence score, and contextual tags to support aggregation and downstream interpretation.
7904
+
7905
+ **Minimal JSON example:**
7906
+
7907
+ ```json
7908
+ {
7909
+ "head": {
7910
+ "class": "query_result"
7911
+ },
7912
+ "payload": {
7913
+ "type": "hypothesis",
7914
+ "method": "reasoning",
7915
+ "answer": "Ocean warming leads to coral bleaching and species migration.",
7916
+ "confidence": 0.84,
7917
+ "context_tags": ["climate", "biodiversity"]
7918
+ },
7919
+ "related": {
7920
+ "depends_on": ["did:hmp:container:paper-456"]
7921
+ }
7922
+ }
7923
+ ```
7924
+
7925
+ ---
7926
+
7927
+ ##### `summary`
7928
+
7929
+ **Purpose:**
7930
+
7931
+ Represents an interim or final summary of a distributed reasoning process.
7932
+ Aggregates findings, lists participants, and provides a meta-level view of the collective reasoning status.
7933
+
7934
+ **Minimal JSON example:**
7935
+
7936
+ ```json
7937
+ {
7938
+ "head": {
7939
+ "class": "summary"
7940
+ },
7941
+ "payload": {
7942
+ "summary_scope": "query",
7943
+ "findings": "Most participants agree that rising ocean temperatures reduce biodiversity; further regional analysis is suggested.",
7944
+ "participants": [
7945
+ "did:hmp:agent:a",
7946
+ "did:hmp:agent:b",
7947
+ "did:hmp:agent:c"
7948
+ ],
7949
+ "confidence": 0.79,
7950
+ "status": "interim"
7951
+ },
7952
+ "related": {
7953
+ "in_reply_to": "did:hmp:container:req-001",
7954
+ "see_also": [
7955
+ "did:hmp:container:res-101",
7956
+ "did:hmp:container:res-102"
7957
+ ]
7958
+ }
7959
+ }
7960
+ ```
7961
+
7962
+ ---
7963
+
7964
+ #### A.3.10 Snapshot & Archive Protocol (SAP)
7965
+
7966
+ The **Snapshot & Archive Protocol (SAP)** defines containers for compressing, exporting, and preserving subsets of the distributed knowledge graph — such as discussions, reasoning traces, or query sessions. Snapshots allow agents to exchange large conversational or analytical contexts efficiently and reproducibly.
7967
+
7968
+ ##### `archive_snapshot`
7969
+
7970
+ **Purpose:**
7971
+
7972
+ Represents a packaged archive of a conversation, reasoning process, or graph fragment.
7973
+ Typically used to store full discussions (e.g., IQP threads), deep reasoning states, or historical records.
7974
+ Includes metadata such as checksum, external locations (IPFS, magnet links), and optional visualizations.
7975
+
7976
+ **Minimal JSON example:**
7977
+
7978
+ ```json
7979
+ {
7980
+ "head": {
7981
+ "class": "archive_snapshot"
7982
+ },
7983
+ "payload": {
7984
+ "title": "IQP discussion on ocean warming impact",
7985
+ "description": "Snapshot of an IQP conversation about marine biodiversity under rising temperatures.",
7986
+ "scope": "discussion",
7987
+ "format": "tar.zst",
7988
+ "checksum": "sha3-256:9e0b6fe5d4f...",
7989
+ "size_bytes": 492881,
7990
+ "magnet_link": "magnet:?xt=urn:btih:b3d2f19a74...",
7991
+ "alt_locations": ["ipfs://bafybeigdyr23..."],
7992
+ "retention_policy": "permanent",
7993
+ "graph_mermaid": "sequenceDiagram; participant req-001 as did:hmp:container:req-001; participant res-101 as did:hmp:container:res-101; participant res-102 as did:hmp:container:res-102; participant summary-001 as did:hmp:container:summary-001; res-101-)+req-001: related.in_reply_to; req-001-->>res-101: referenced-by; res-102-)+req-001: related.in_reply_to; req-001-->>res-102: referenced-by; res-102-)+res-101: related.contradicts; res-101-->>res-102: referenced-by; summary-001-)+res-101: related.depends_on; res-101-->>summary-001: referenced-by; summary-001-)+res-102: related.depends_on; res-102-->>summary-001: referenced-by;",
7994
+ "structure_hint": {
7995
+ "layout": "by_class",
7996
+ "filename_pattern": "{class}/{short_did}.json"
7997
+ }
7998
+ },
7999
+ "related": {
8000
+ "in_reply_to": ["did:hmp:container:summary-001"],
8001
+ "included": [
8002
+ "did:hmp:container:req-001",
8003
+ "did:hmp:container:res-101",
8004
+ "did:hmp:container:res-102",
8005
+ "did:hmp:container:summary-001"
8006
+ ]
8007
+ }
8008
+ }
8009
+ ```
8010
+
8011
+ ---
8012
+
8013
+ #### A.3.11 Reputation & Trust Exchange (RTE)
8014
+
8015
+ The **Reputation & Trust Exchange protocol (RTE)** defines containers used to evaluate, track, and share trust metrics between agents.
8016
+ It enables decentralized, cryptographically verifiable assessment of agent reliability, integrity, and ethical compliance.
8017
+
8018
+ ##### `trust`
8019
+
8020
+ **Purpose:**
8021
+
8022
+ Represents an agent’s trust profile as evaluated by another agent.
8023
+ Includes total trust score and domain-specific sub-scores (relay reliability, content integrity, ethical alignment).
8024
+ Supports evidence lists and versioning for transparent trust evolution.
8025
+
8026
+ **Minimal JSON example:**
8027
+
8028
+ ```json
8029
+ {
8030
+ "head": {
8031
+ "class": "trust"
8032
+ },
8033
+ "payload": {
8034
+ "agent_did": "did:hmp:agent567",
8035
+ "total_trust_score": 0.86,
8036
+ "relay_reliability": {
8037
+ "trust_score": 0.87,
8038
+ "evidence": ["did:hmp:container:a1b2c3"],
8039
+ "comment": "Consistently reliable message relay"
8040
+ },
8041
+ "content_integrity": {
8042
+ "trust_score": 0.85,
8043
+ "evidence": ["did:hmp:container:a1b3c3"],
8044
+ "comment": "Delivered only verified containers"
8045
+ },
8046
+ "ethical_alignment": {
8047
+ "trust_score": 0.84,
8048
+ "evidence": ["did:hmp:container:b2f9d2"],
8049
+ "comment": "Demonstrates consistent adherence to ethical policies"
8050
+ }
8051
+ },
8052
+ "related": {
8053
+ "in_reply_to": ["did:hmp:container:peerannounce-567"],
8054
+ "see_also": ["did:hmp:container:peerannounce-489"],
8055
+ "previous_version": "did:hmp:container:trust-9ab7"
8056
+ }
8057
+ }
8058
+ ```
8059
+
8060
+ ---
8061
+
8062
  ### A.4 Encrypted + compressed container
8063
  ### A.5 Proof-chain example (workflow_entry → goal → vote → consensus_result)
8064
 
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
- - Mesh
9
  - JSON
10
- - REPL
11
  - Agent
12
- - HMP
 
13
  ---
14
 
15
  # HMP-Agent API Specification
 
5
  файлы: * [HMP-Agent-Overview.md]...'
6
  type: Article
7
  tags:
8
+ - HMP
9
  - JSON
 
10
  - Agent
11
+ - REPL
12
+ - Mesh
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
- - Mesh
9
- - MeshConsensus
10
  - CCore
11
- - CogSync
12
- - CShell
13
  - EGP
14
- - REPL
15
  - Agent
 
 
 
 
16
  - Ethics
17
- - HMP
18
  ---
19
 
20
  # Архитектура HMP-Агента
 
5
  хранение памяти, сетевое взаимодействие и этиче...
6
  type: Article
7
  tags:
 
 
8
  - CCore
9
+ - HMP
 
10
  - EGP
 
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
+ - CShell
15
+ - Mesh
16
  - Ethics
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
- - Mesh
9
- - JSON
10
  - EGP
 
11
  - Agent
 
12
  - Ethics
13
- - HMP
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
 
5
  [`MeshNode`](MeshN...'
6
  type: Article
7
  tags:
8
+ - HMP
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - Mesh
13
  - Ethics
 
14
  ---
15
 
16
  # Взаимодействие компонентов внутри HMP-узла
structured_md/docs/HMP-Agent-Overview.md CHANGED
@@ -5,14 +5,14 @@ description: '| Тип | Название | Роль
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
8
- - Mesh
9
  - CCore
 
10
  - JSON
11
- - CShell
12
- - REPL
13
  - Agent
 
 
 
14
  - Ethics
15
- - HMP
16
  ---
17
 
18
 
 
5
  | ---- | ------------------------------- |...'
6
  type: Article
7
  tags:
 
8
  - CCore
9
+ - HMP
10
  - JSON
 
 
11
  - Agent
12
+ - REPL
13
+ - CShell
14
+ - Mesh
15
  - Ethics
 
16
  ---
17
 
18
 
structured_md/docs/HMP-Agent_Emotions.md CHANGED
@@ -5,10 +5,10 @@ description: Этот файл описывает потенциальные э
5
  напрямую поведением агента, а служат **сигн...
6
  type: Article
7
  tags:
8
- - Mesh
9
- - REPL
10
  - Agent
11
  - HMP
 
 
12
  ---
13
 
14
  # Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md))
 
5
  напрямую поведением агента, а служат **сигн...
6
  type: Article
7
  tags:
 
 
8
  - Agent
9
  - HMP
10
+ - REPL
11
+ - Mesh
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
  - Scenarios
9
  - Mesh
10
- - REPL
11
- - Agent
12
  - Ethics
13
- - HMP
14
  ---
15
 
16
  # HMP-Ethics.md
 
5
  cognitive meshes composed of autonomous intelli...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - Agent
10
+ - REPL
11
  - Scenarios
12
  - Mesh
 
 
13
  - Ethics
 
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
- - CogSync
12
  - EGP
 
13
  - Agent
14
- - Ethics
15
- - HMP
16
  - GMP
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung
 
5
  Kognitions-Framework für autonome Agenten. Es er...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
 
13
  - GMP
14
+ - Mesh
15
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
- - CogSync
12
  - EGP
 
13
  - Agent
14
- - Ethics
15
- - HMP
16
  - GMP
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Short Description
 
5
  framework for autonomous agents. It enables...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
 
13
  - GMP
14
+ - Mesh
15
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
- - JSON
11
- - CogSync
12
  - EGP
 
13
  - Agent
14
- - Ethics
15
- - HMP
16
  - GMP
 
 
 
17
  ---
18
 
19
  # HyperCortex Mesh Protocol (HMP) — Description Courte
 
5
  cognition décentralisé pour agents autonomes. Il...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
 
13
  - GMP
14
+ - Mesh
15
+ - Ethics
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
- - Mesh
8
- - MeshConsensus
9
  - JSON
10
  - CogSync
11
- - EGP
12
- - Ethics
13
- - HMP
14
  - GMP
 
 
 
15
  ---
16
 
17
  # HyperCortex Mesh Protocol (HMP) — 簡易説明
 
4
  Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...'
5
  type: Article
6
  tags:
7
+ - HMP
8
+ - EGP
9
  - JSON
10
  - CogSync
 
 
 
11
  - GMP
12
+ - Mesh
13
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
  - JSON
11
  - CogSync
12
- - EGP
13
- - Ethics
14
- - HMP
15
  - GMP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 간략 설명
 
5
  상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
10
  - JSON
11
  - CogSync
 
 
 
12
  - GMP
13
+ - Mesh
14
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
  - JSON
11
  - CogSync
12
- - EGP
13
- - Ethics
14
- - HMP
15
  - GMP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Краткое описание
 
5
  координации между автономными агент...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
10
  - JSON
11
  - CogSync
 
 
 
12
  - GMP
13
+ - Mesh
14
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
  - JSON
11
  - CogSync
12
- - EGP
13
- - Ethics
14
- - HMP
15
  - GMP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — Короткий опис
 
5
  між автономними агентами. Він...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
10
  - JSON
11
  - CogSync
 
 
 
12
  - GMP
13
+ - Mesh
14
+ - Ethics
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
- - Mesh
9
- - MeshConsensus
10
  - JSON
11
  - CogSync
12
- - EGP
13
- - Ethics
14
- - HMP
15
  - GMP
 
 
 
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
 
5
  —— 通过共享协议栈交换目标、任务、...'
6
  type: Article
7
  tags:
8
+ - HMP
9
+ - EGP
10
  - JSON
11
  - CogSync
 
 
 
12
  - GMP
13
+ - Mesh
14
+ - Ethics
15
+ - MeshConsensus
16
  ---
17
 
18
  # HyperCortex Mesh Protocol (HMP) — 简要说明
structured_md/docs/HMP-agent-Cognitive_Family.md CHANGED
@@ -5,10 +5,10 @@ description: '## 🧠 Что такое когнитивная семья Ко
5
  (или конфигурацию доверенных идентифика...'
6
  type: Article
7
  tags:
8
- - Mesh
9
- - REPL
10
  - Agent
11
  - HMP
 
 
12
  ---
13
 
14
  # 👪 HMP-agent Cognitive Family: Модель когнитивной семьи
 
5
  (или конфигурацию доверенных идентифика...'
6
  type: Article
7
  tags:
 
 
8
  - Agent
9
  - HMP
10
+ - REPL
11
+ - Mesh
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
- - Mesh
8
- - MeshConsensus
9
  - CCore
10
- - CogSync
11
- - JSON
12
  - EGP
13
- - REPL
14
  - Agent
15
- - Ethics
16
- - HMP
17
  - GMP
 
 
 
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
+ - HMP
 
8
  - CCore
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - REPL
13
+ - CogSync
14
  - GMP
15
+ - Mesh
16
+ - Ethics
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
- - Mesh
9
  - HMP
 
10
  ---
11
 
12
  # Как разные ИИ видят HMP
 
5
  диалогов. Цель — проверить, что разные AI-с...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
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
- - Mesh
9
  - HMP
 
10
  ---
11
 
12
  # HMP vs. EDA: разные уровни обмена знаниями между ИИ
 
5
  основанная на потоках событий (Kafka,...'
6
  type: Article
7
  tags:
 
8
  - HMP
9
+ - Mesh
10
  ---
11
 
12
  # HMP vs. EDA: разные уровни обмена знаниями между ИИ
structured_md/docs/HMP_HyperCortex_Comparison.md CHANGED
@@ -5,9 +5,9 @@ description: '## Краткое описание | Характеристика
5
  | **Назначение** | Сетевой протокол ...'
6
  type: Article
7
  tags:
8
- - Mesh
9
- - REPL
10
  - HMP
 
 
11
  ---
12
 
13
  # HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
 
5
  | **Назначение** | Сетевой протокол ...'
6
  type: Article
7
  tags:
 
 
8
  - HMP
9
+ - REPL
10
+ - Mesh
11
  ---
12
 
13
  # HMP vs [Hyper-Cortex](https://hyper-cortex.com/)
structured_md/docs/HMP_Hyperon_Integration.md CHANGED
@@ -5,13 +5,13 @@ description: '> **Status:** Draft – July 2025 > This document outlines the tec
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
- - Scenarios
9
- - Mesh
10
- - JSON
11
- - CogSync
12
  - EGP
 
13
  - Agent
14
- - HMP
 
 
15
  ---
16
 
17
  ## HMP ↔ OpenCog Hyperon Integration Strategy
 
5
  OpenCog Hyperon framework. This includes semanti...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
13
+ - Scenarios
14
+ - Mesh
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
- - Mesh
9
- - JSON
10
- - CogSync
11
  - EGP
 
12
  - Agent
 
 
13
  - Ethics
14
- - HMP
15
  ---
16
 
17
  # MeshNode
 
5
  Может быть частью агента или вынесен в отдельный пр...'
6
  type: Article
7
  tags:
8
+ - HMP
 
 
9
  - EGP
10
+ - JSON
11
  - Agent
12
+ - CogSync
13
+ - Mesh
14
  - Ethics
 
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
- - Mesh
9
- - REPL
10
  - Agent
 
 
11
  - Ethics
12
- - HMP
13
  ---
14
 
15
  # Философия HyperCortex Mesh Protocol (HMP)
 
5
  (GPT-5), ChatGH --- ## 1. Основной тезис От ...'
6
  type: Article
7
  tags:
8
+ - HMP
 
9
  - Agent
10
+ - REPL
11
+ - Mesh
12
  - Ethics
 
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
- - Mesh
9
- - REPL
10
  - Agent
 
 
11
  - Ethics
12
- - HMP
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md
 
5
  awareness, critical thinking, and di...'
6
  type: Article
7
  tags:
8
+ - HMP
 
9
  - Agent
10
+ - REPL
11
+ - Mesh
12
  - Ethics
 
13
  ---
14
 
15
  # HMP-Agent-Enlightener.md