Skip to content

Add dkg-hermes-bridge: Hermes crypto agent DKG V10 memory layer - #28

Open
kiyeps wants to merge 9 commits into
OriginTrail:mainfrom
kiyeps:add/dkg-hermes-bridge
Open

kiyeps wants to merge 9 commits into
OriginTrail:mainfrom
kiyeps:add/dkg-hermes-bridge

Conversation

@kiyeps

@kiyeps kiyeps commented Aug 22, 2026

Copy link
Copy Markdown

Summary

Adds integrations/dkg-hermes-bridge.json — a registry entry for Hermes DKG Memory Bridge, giving the Hermes crypto agent a DKG V10 memory layer.

Repo: https://github.com/kiyeps/dkg-hermes-bridge (commit pinned in entry)

What it does

  • Action audit trail: every on-chain action (swap/bridge/mint/deploy) recorded as a provenance-tagged Knowledge Asset in DKG Working Memory — actor, chain, action type, params hash, outcome, timestamp.
  • Decision recall: Hermes SPARQL-queries prior actions from WM/SWM before proposing a trade.
  • Maturity promotion: frequently-referenced actions auto-promote to SWM (sealed).

Why it fits

Directly serves the bounty's "priority integration with OpenClaw, Hermes, and comparable research agents". Hermes is a multi-chain Web3 agent; giving it an immutable, queryable DKG memory layer for its on-chain decisions is exactly the agent-memory direction the program targets.

Security model preserved

Hermes's existing guardrails are untouched: user-funds-only, confirm-before-signing, Spend Governor, secret hygiene. The bridge only ADDS a memory-recording hook — it never auto-signs, never auto-publishes, and respects governor boundaries.

Round 1 scope compliance

  • WM + SWM only. No vm/publish tool. No endorsement/voting tools.
  • Secret redaction before any literal leaves the process.

Verification

  • Schema validation: 0 errors / 0 warnings
  • 29 unit tests passing (node:test)
  • Live smoke test: audit record written to WM, recalled via SPARQL (Base Sepolia testnet)
  • Quads {subject,predicate,object}, no per-quad graph field
  • Subjects reject urn:dkg:file:* / urn:dkg:extraction:*

Submission metadata — final update (2026-09-08)

Tag: cfi-dkgv10-r1

Pinned commit: 1eb5b678289c4ee69bc23f09d5ef940b0aa44d0d (v0.1.2)

Contributor attestation (§8a.8): I attest that this submission is my own original work (or properly licensed third-party work), and that it contains no intentional backdoors, no hidden remote-execution paths, and no undeclared network egress. — @kiyeps

Design brief: https://github.com/kiyeps/dkg-hermes-bridge/blob/main/docs/DESIGN.md

Demo: https://github.com/kiyeps/dkg-hermes-bridge/blob/main/docs/demo-transcript.txt — recorded against a live local DKG V10 node (v10.0.15, Base Sepolia testnet, context graph openclaw-curator). Real runtime interaction: status → audit (action persisted as provenance quads) → SPARQL recall returning the stored action.

Security notes (§8): Action params are hashed with a recursive canonical serializer (sorted keys, type-tagged scalars) so distinct actions can never collide onto one subject; a pre-submission review fixed a nested-object [object Object] hash collision and hardened SPARQL literal escaping (backslash-first). Secret-shaped values are redacted before any literal leaves the process. Write authority: WM write + explicit SWM share only; no VM operations. Egress: local node only (http://127.0.0.1:9200).

Maintenance commitment: Maintained by @kiyeps; support window ≥ 6 months post-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant