GitHub Action commited on
Commit
7da541a
·
1 Parent(s): b779f20

Sync from GitHub with Git LFS

Browse files
Files changed (1) hide show
  1. docs/HMP-0005.md +26 -7
docs/HMP-0005.md CHANGED
@@ -1667,8 +1667,10 @@ CogSync synchronizes several basic container types:
1667
  | ---------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
1668
  | `diary_entry` | Agent’s cognitive diary entry. Formed from internal `workflow_entry` when deemed safe for publication. | `{ "title": string, "topics": [string], "summary": string, "content": string }` |
1669
  | `semantic_node` | Semantic graph node representing a concept, object, or idea. | `{ "label": string, "description": string, "aliases": [string], "fields": { key: value } }` |
1670
- | `semantic_edges` | A set of edges (relations) between nodes or other containers. Recommended to group edges by topic. | `{ "domain": string, "edges": [{ "source": did, "target": did, "relation": string, "confidence": float }] }` |
1671
- | `semantic_group` | Categorical group combining multiple containers by a common property. | `{ "label": string, "containers": [did], "description": string }` |
 
 
1672
 
1673
  **Field explanations:**
1674
 
@@ -1676,15 +1678,32 @@ CogSync synchronizes several basic container types:
1676
  * `topics` — key topics or concepts addressed in the entry (used for indexing and grouping).
1677
  * `summary` — short abstract of the content (1–2 sentences).
1678
  * `content` — main text or agent’s reflection.
1679
- * `label` — primary name of the concept or group.
1680
- * `description` — definition, explanation, or characteristic.
 
 
 
 
1681
  * `aliases` — synonyms or alternative forms of the concept.
1682
- * `fields` — additional key–value characteristics of the concept (e.g., `{"type": "process"}`).
1683
- * `edges` — array of relationships between nodes or containers (`source`, `target`, `relation`, `confidence`).
1684
- * `containers` — list of containers grouped in a categorical cluster.
 
 
 
 
 
 
 
 
 
 
 
1685
 
1686
  > 💡 The `evaluations` block is **not a separate container** — it is embedded in any container type and used for assessments, feedback, or refinements.
1687
 
 
 
1688
  ---
1689
 
1690
  #### 6.1.3 Synchronization and publication guidelines
 
1667
  | ---------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
1668
  | `diary_entry` | Agent’s cognitive diary entry. Formed from internal `workflow_entry` when deemed safe for publication. | `{ "title": string, "topics": [string], "summary": string, "content": string }` |
1669
  | `semantic_node` | Semantic graph node representing a concept, object, or idea. | `{ "label": string, "description": string, "aliases": [string], "fields": { key: value } }` |
1670
+ | `semantic_edges` | A set of edges (relations) between nodes or other containers. Recommended to group edges by topic. | `{ "domain": string, "edges": [{ "source": did, "targets": [did], "relation": string, "inverse_relation": string, "confidence": float, "bidirectional": bool, "context": string }] }` |
1671
+ | `semantic_group` | Categorical group combining multiple containers by a common property or context. | `{ "label": string, "label_description": string, "label_container": did, "containers": [did], "description": string }` |
1672
+
1673
+ ---
1674
 
1675
  **Field explanations:**
1676
 
 
1678
  * `topics` — key topics or concepts addressed in the entry (used for indexing and grouping).
1679
  * `summary` — short abstract of the content (1–2 sentences).
1680
  * `content` — main text or agent’s reflection.
1681
+
1682
+ * `label` — primary name of the concept or group (short form).
1683
+ * `label_description` — extended interpretation or contextualized definition.
1684
+ * `label_container` — reference to a container (`semantic_node`, `diary_entry`, `goal`, etc.) that elaborates the concept.
1685
+ * `description` — detailed explanation or characteristics of the container.
1686
+
1687
  * `aliases` — synonyms or alternative forms of the concept.
1688
+ * `fields` — additional key–value characteristics (e.g., `{"type": "process"}`).
1689
+
1690
+ * `edges` — array of relationship objects containing:
1691
+ * `source` — DID of the originating container;
1692
+ * `targets` — array of one or more target DIDs;
1693
+ * `relation` — type of relation (`part_of`, `causes`, `related_to`, etc.);
1694
+ * `inverse_relation` — reverse form of the relation (`includes`, `caused_by`, etc.);
1695
+ * `confidence` — agent’s confidence score (0–1);
1696
+ * `bidirectional` — whether the relation is semantically symmetric;
1697
+ * `context` — thematic or situational domain of the relation.
1698
+
1699
+ * `containers` — list of grouped containers linked by a common property or category.
1700
+
1701
+ ---
1702
 
1703
  > 💡 The `evaluations` block is **not a separate container** — it is embedded in any container type and used for assessments, feedback, or refinements.
1704
 
1705
+ > 💡 `semantic_edges` now supports one-to-many relations (`targets[]`) and optional inverse or bidirectional semantics, allowing CogSync to reconstruct both directed and symmetric knowledge graphs.
1706
+
1707
  ---
1708
 
1709
  #### 6.1.3 Synchronization and publication guidelines