From 632cfb2bf556eec18dfd0f58a5dfdc4d74734c5c Mon Sep 17 00:00:00 2001 From: Lyvn Date: Sun, 26 Apr 2026 05:39:27 +0200 Subject: [PATCH 1/7] Add dkg-wm-bridge integration (Round 1: Working Memory + Shared Memory) Agent-plugin that deposits workspace artifacts into DKG v10 Working Memory with schema.org provenance and status tags, and promotes them to Shared Memory. Works with OpenClaw, Hermes, and comparable agents. - Uses node import pipeline for intelligent content extraction - Layers PROV-O provenance + trust gradient status tags - Supports markdown chunking for large files - Zero runtime dependencies - npm: dkg-wm-bridge@0.1.0 - Repo: https://github.com/jalopy1/dkg-wm-bridge - Tag: cfi-dkgv10-r1 --- integrations/dkg-wm-bridge.json | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 integrations/dkg-wm-bridge.json diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json new file mode 100644 index 0000000..5b3d387 --- /dev/null +++ b/integrations/dkg-wm-bridge.json @@ -0,0 +1,59 @@ +{ + "$schema": "../schema/integration.schema.json", + "schemaVersion": "0.1.0", + "slug": "dkg-wm-bridge", + "name": "DKG Working Memory Bridge", + "description": "Agent-plugin that deposits workspace artifacts (memory files, research notes, session outputs) into DKG v10 Working Memory with schema.org provenance and status tags, and promotes them to Shared Memory. Works with OpenClaw, Hermes, and comparable agents.", + "category": ["ingestion", "working-memory", "agent-plugin", "provenance"], + "maintainer": { + "github": "@jalopy1", + "name": "Lyvn", + "contact": "Telegram: @Lyvner" + }, + "repo": "https://github.com/jalopy1/dkg-wm-bridge", + "commit": "9b25d2550766aec90967f77445366c90d36f83eb", + "license": "Apache-2.0", + "requiresDkgNodeVersion": ">=10.0.0", + "memoryLayers": ["WM", "SWM"], + "v10PrimitivesUsed": ["ContextGraph", "Assertion", "Entity", "UAL"], + "publicInterfacesUsed": ["http-api"], + "targetAgents": ["OpenClaw", "Hermes", "generic-CLI", "generic-HTTP"], + + "install": { + "kind": "cli", + "package": "dkg-wm-bridge", + "version": "0.1.0", + "binary": "wm-bridge", + "envOptional": ["DKG_API_URL", "DKG_AUTH_TOKEN"], + "usageHint": "Run 'wm-bridge init --agent --framework ' to configure, then 'wm-bridge ingest ' to start depositing artifacts." + }, + + "security": { + "networkEgress": [], + "writeAuthority": [ + "POST /api/assertion/create", + "POST /api/assertion/{name}/write", + "POST /api/assertion/{name}/promote", + "POST /api/assertion/{name}/discard", + "POST /api/assertion/{name}/import-file", + "POST /api/context-graph/create" + ], + "readEndpoints": [ + "GET /api/status", + "GET /api/wallets", + "GET /api/context-graph/list", + "POST /api/assertion/{name}/query", + "POST /api/assertion/{name}/history", + "POST /api/query" + ], + "credentialsHandled": [], + "notes": "Zero network egress beyond the local DKG node. No install scripts. No dynamic code loading. No eval. Reads DKG auth token from ~/.dkg/auth.token or DKG_AUTH_TOKEN env var. Both DKG_API_URL and DKG_AUTH_TOKEN have sensible defaults and are not strictly required as env vars." + }, + + "trustTier": "community", + + "designBrief": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/DESIGN.md", + "demo": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/demo.sh", + "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft → reviewed → promote-ready → promoted → verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM → SWM → VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", + "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes → curate → publish findings) maps onto the WM → SWM → VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern." +} From 11a2369257b519dce43eec28fedc08d726ba734f Mon Sep 17 00:00:00 2001 From: jalopy1 <79031134+jalopy1@users.noreply.github.com> Date: Mon, 27 Apr 2026 00:22:45 +1000 Subject: [PATCH 2/7] update: bump to v0.1.2, add sha256 provenance, 78 tests, provenance publishing --- integrations/dkg-wm-bridge.json | 41 ++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index 5b3d387..f3d41c0 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -4,30 +4,47 @@ "slug": "dkg-wm-bridge", "name": "DKG Working Memory Bridge", "description": "Agent-plugin that deposits workspace artifacts (memory files, research notes, session outputs) into DKG v10 Working Memory with schema.org provenance and status tags, and promotes them to Shared Memory. Works with OpenClaw, Hermes, and comparable agents.", - "category": ["ingestion", "working-memory", "agent-plugin", "provenance"], + "category": [ + "ingestion", + "working-memory", + "agent-plugin", + "provenance" + ], "maintainer": { "github": "@jalopy1", "name": "Lyvn", "contact": "Telegram: @Lyvner" }, "repo": "https://github.com/jalopy1/dkg-wm-bridge", - "commit": "9b25d2550766aec90967f77445366c90d36f83eb", + "commit": "4ec879e1f25e89b5ac4c2f4fb9fb2759d140a17b", "license": "Apache-2.0", "requiresDkgNodeVersion": ">=10.0.0", - "memoryLayers": ["WM", "SWM"], - "v10PrimitivesUsed": ["ContextGraph", "Assertion", "Entity", "UAL"], - "publicInterfacesUsed": ["http-api"], - "targetAgents": ["OpenClaw", "Hermes", "generic-CLI", "generic-HTTP"], - + "memoryLayers": [ + "WM", + "SWM" + ], + "v10PrimitivesUsed": [ + "ContextGraph", + "Assertion", + "Entity", + "UAL" + ], + "publicInterfacesUsed": [ + "http-api" + ], + "targetAgents": [ + "OpenClaw", + "Hermes", + "generic-CLI", + "generic-HTTP" + ], "install": { "kind": "cli", "package": "dkg-wm-bridge", - "version": "0.1.0", + "version": "0.1.2", "binary": "wm-bridge", - "envOptional": ["DKG_API_URL", "DKG_AUTH_TOKEN"], "usageHint": "Run 'wm-bridge init --agent --framework ' to configure, then 'wm-bridge ingest ' to start depositing artifacts." }, - "security": { "networkEgress": [], "writeAuthority": [ @@ -49,11 +66,9 @@ "credentialsHandled": [], "notes": "Zero network egress beyond the local DKG node. No install scripts. No dynamic code loading. No eval. Reads DKG auth token from ~/.dkg/auth.token or DKG_AUTH_TOKEN env var. Both DKG_API_URL and DKG_AUTH_TOKEN have sensible defaults and are not strictly required as env vars." }, - "trustTier": "community", - "designBrief": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/DESIGN.md", - "demo": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/demo.sh", + "demo": "https://asciinema.org/a/719893", "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft → reviewed → promote-ready → promoted → verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM → SWM → VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes → curate → publish findings) maps onto the WM → SWM → VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern." } From 30384e37a65224f523eaf81f186a36c527cb3be7 Mon Sep 17 00:00:00 2001 From: jalopy1 <79031134+jalopy1@users.noreply.github.com> Date: Mon, 27 Apr 2026 17:06:02 +1000 Subject: [PATCH 3/7] =?UTF-8?q?update:=20v0.1.3=20=E2=80=94=20sensitivity?= =?UTF-8?q?=20classification,=20PII=20scanner,=20promotion=20guards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- integrations/dkg-wm-bridge.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index f3d41c0..4aa34c5 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -41,7 +41,7 @@ "install": { "kind": "cli", "package": "dkg-wm-bridge", - "version": "0.1.2", + "version": "0.1.3", "binary": "wm-bridge", "usageHint": "Run 'wm-bridge init --agent --framework ' to configure, then 'wm-bridge ingest ' to start depositing artifacts." }, @@ -64,11 +64,11 @@ "POST /api/query" ], "credentialsHandled": [], - "notes": "Zero network egress beyond the local DKG node. No install scripts. No dynamic code loading. No eval. Reads DKG auth token from ~/.dkg/auth.token or DKG_AUTH_TOKEN env var. Both DKG_API_URL and DKG_AUTH_TOKEN have sensible defaults and are not strictly required as env vars." + "notes": "Zero network egress beyond the local DKG node. No install scripts. No dynamic code loading. No eval. Reads DKG auth token from ~/.dkg/auth.token or DKG_AUTH_TOKEN env var. Both DKG_API_URL and DKG_AUTH_TOKEN have sensible defaults and are not strictly required as env vars. Artifacts are classified by sensitivity level (public/shareable/personal/secret) at ingestion time. Promotion guards prevent personal/secret artifacts from reaching Shared Memory. Optional --scan flag detects PII and secrets before ingestion. All operations are audit-logged to ~/.dkg/audit.log." }, "trustTier": "community", "designBrief": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/DESIGN.md", "demo": "https://asciinema.org/a/719893", "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft → reviewed → promote-ready → promoted → verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM → SWM → VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", - "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes → curate → publish findings) maps onto the WM → SWM → VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern." + "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes → curate → publish findings) maps onto the WM → SWM → VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern. The privacy protocol (sensitivity classification, PII/secret scanning, promotion guards) ensures personal and secret content never leaves the operator's node." } From ba9bf5a87d71bbe6b3185fb1228e2ebf8bd8fe6f Mon Sep 17 00:00:00 2001 From: jalopy1 <79031134+jalopy1@users.noreply.github.com> Date: Mon, 27 Apr 2026 23:36:57 +1000 Subject: [PATCH 4/7] =?UTF-8?q?update:=20v0.1.4=20=E2=80=94=20query=20comm?= =?UTF-8?q?and,=20relationships,=20security=20hardening?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- integrations/dkg-wm-bridge.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index 4aa34c5..e3bebfd 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -41,7 +41,7 @@ "install": { "kind": "cli", "package": "dkg-wm-bridge", - "version": "0.1.3", + "version": "0.1.4", "binary": "wm-bridge", "usageHint": "Run 'wm-bridge init --agent --framework ' to configure, then 'wm-bridge ingest ' to start depositing artifacts." }, From f218b7afc565762eb57bfb5cb626a3ceee77000e Mon Sep 17 00:00:00 2001 From: jalopy1 <79031134+jalopy1@users.noreply.github.com> Date: Mon, 27 Apr 2026 23:53:14 +1000 Subject: [PATCH 5/7] =?UTF-8?q?update:=20v0.1.5=20=E2=80=94=20CLI=20refact?= =?UTF-8?q?or,=20query=20dedup,=20scanner=20refinement,=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- integrations/dkg-wm-bridge.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index e3bebfd..9557129 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -41,7 +41,7 @@ "install": { "kind": "cli", "package": "dkg-wm-bridge", - "version": "0.1.4", + "version": "0.1.5", "binary": "wm-bridge", "usageHint": "Run 'wm-bridge init --agent --framework ' to configure, then 'wm-bridge ingest ' to start depositing artifacts." }, From a319dd46f9e5b29b466cd588ef44ee7863d431e2 Mon Sep 17 00:00:00 2001 From: jalopy1 <79031134+jalopy1@users.noreply.github.com> Date: Tue, 28 Apr 2026 09:54:55 +1000 Subject: [PATCH 6/7] update: new v0.1.5 demo recording --- integrations/dkg-wm-bridge.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index 9557129..56dda51 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -68,7 +68,7 @@ }, "trustTier": "community", "designBrief": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/DESIGN.md", - "demo": "https://asciinema.org/a/719893", - "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft → reviewed → promote-ready → promoted → verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM → SWM → VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", - "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes → curate → publish findings) maps onto the WM → SWM → VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern. The privacy protocol (sensitivity classification, PII/secret scanning, promotion guards) ensures personal and secret content never leaves the operator's node." + "demo": "https://asciinema.org/a/5xijCUIAPA9N444O", + "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft \u2192 reviewed \u2192 promote-ready \u2192 promoted \u2192 verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM \u2192 SWM \u2192 VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", + "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes \u2192 curate \u2192 publish findings) maps onto the WM \u2192 SWM \u2192 VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern. The privacy protocol (sensitivity classification, PII/secret scanning, promotion guards) ensures personal and secret content never leaves the operator's node." } From af2bb6a10698e71c2dc7bc8decf4c63962d76c8c Mon Sep 17 00:00:00 2001 From: jalopy1 Date: Wed, 6 May 2026 09:24:21 +0200 Subject: [PATCH 7/7] docs: update demo recording link --- integrations/dkg-wm-bridge.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/dkg-wm-bridge.json b/integrations/dkg-wm-bridge.json index 56dda51..29ea47e 100644 --- a/integrations/dkg-wm-bridge.json +++ b/integrations/dkg-wm-bridge.json @@ -68,7 +68,7 @@ }, "trustTier": "community", "designBrief": "https://github.com/jalopy1/dkg-wm-bridge/blob/main/DESIGN.md", - "demo": "https://asciinema.org/a/5xijCUIAPA9N444O", + "demo": "https://asciinema.org/a/99wdrB3KVZ8EvNMt", "promotionPath": "Artifacts enter Working Memory as 'draft' status assertions with full PROV-O provenance (agent peer ID, timestamp, source file). Status tags track maturity: draft \u2192 reviewed \u2192 promote-ready \u2192 promoted \u2192 verified-ready. The 'promote' command moves artifacts to Shared Memory via GossipSub. Deterministic URIs (urn:dkg:wm-bridge:artifact/) remain stable through WM \u2192 SWM \u2192 VM promotion. Schema.org + PROV-O metadata is compatible with ClaimReview (the standard used by context oracles). Round 2 integration: our Context Oracle project will consume these artifacts as oracle inputs for claim verification.", "fitNotes": "Directly implements the 'OpenClaw adapter that deposits every drafted artifact into the author's Working Memory' shape described in the bounty call Section 4. Extends to Hermes and generic agents. The agent's daily memory cycle (write notes \u2192 curate \u2192 publish findings) maps onto the WM \u2192 SWM \u2192 VM trust gradient. Multi-agent collaboration via shared Context Graphs enables the team-scratchpad pattern. The privacy protocol (sensitivity classification, PII/secret scanning, promotion guards) ensures personal and secret content never leaves the operator's node." }