[cfi-dkgv10-r1] Add OriginTrail DKG for Obsidian#17
Open
jakepel03 wants to merge 5 commits into
Open
Conversation
…e-assets API - Bump pinned commit 40b29cd -> 0bba40e (current main; includes the rc.17 /api/knowledge-assets migration, papercut fixes, and the release pipeline). - requiresDkgNodeVersion >=10.0.0-rc.16 -> >=10.0.0-rc.17. - writeAuthority: migrate the four assertion endpoints to knowledge-assets (wm/import-file, semantic-enrichment/write, swm/share, wm/discard); add unsubscribe and reject-join. - Update the notes and promotionPath prose to the swm/share endpoint.
- Pin to current main 4f11d926 (README now requires node v10.0.0-rc.18) - requiresDkgNodeVersion >=10.0.0-rc.17 -> >=10.0.0-rc.18 for fork-over-P2P - Declare POST /api/context-graph/register (gas-only, not a VM publish) - Note the fork-over-P2P author-Markdown read in the security notes - Point demo at the updated walkthrough
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds OriginTrail DKG for Obsidian (
obsidian-dkg) as a community integration — an Obsidian plugin that syncs a local-first Markdown vault into a local DKG v10 node. Notes are private in Working Memory by default and shared per-note or per-folder into collaborative projects (Shared Memory). DKG v10 Round 1 submission (cfi-dkgv10-r1).Integration links
c935e06481bf83bd45356346ca8f6d6a38c1a3efmain.js/manifest.json/styles.csscommitted to the repo);install.kind: manual.Scope & faithfulness
memoryLayerscorrectly reflects which layer(s) the integration touches — WM by default; SWM only on an explicit per-note/per-folder share.v10PrimitivesUsedcorrectly reflects which primitives are exercised (ContextGraph, Assertion, Entity, Curator, UAL).Security declarations (Section 8a)
security.networkEgressis empty — the plugin only contacts the local DKG node (defaulthttp://127.0.0.1:9200).security.writeAuthoritylists every DKG write. The only Curator-authority SHARE —POST /api/knowledge-assets/{name}/swm/share(WM→SWM) — is called out explicitly and runs only on an explicit user share, never automatically. Membership ops (approve-join / reject-join / add / remove participant) are Curator-authority and run only when the user manages their own project.security.credentialsHandledis empty — the DKG auth token is entered in plugin settings, stored only in the vault's local plugin data, and sent only as aBearerheader to the local node.preinstall/install/postinstallscripts — distributed as an Obsidian plugin (committed build artifacts), not an npm/docker package.install.kind: manual).maincommit this entry represents (builtmain.jsis committed; CI gates drift from source).Contributor attestation
security.networkEgress(which is empty).Notes for the committee
What it is. The human-authoring on-ramp to the DKG: an Obsidian plugin (not an agent/CLI/MCP tool) that brings the place where people already write into the WM/SWM substrate. Round 1 scope is a clean fit — Working Memory by default, Shared Memory on explicit share, no Verified Memory.
Distinctness (per §10). Existing entries write the substrate from the agent side (
cursor-mcp-dkg,claude-code-memory,langchain-dkg,github-dkg,dkg-wm-bridge). This is the only end-user GUI / human-authoring surface, targeting the large existing Obsidian PKM community: it resolves[[wikilinks]]to real assertion URIs, writesschema:mentions/schema:nametriples so a vault becomes a connected graph, and exposes a per-note/per-folder privacy gradient mapped onto WM→SWM.Verification. Verified end-to-end against a local two-node DKG v10 setup (rc.18): connect → import to WM → enrich → create project → share to SWM → a second node subscribes and receives the gossiped triples. The plugin's CI (lint + build + tests +
main.jsdrift gate) is green at the pinned commit. One honest caveat: unsharing or deleting a note cleans your own node, but a copy already gossiped to a peer ages out only via the Shared-Memory TTL (~30 days), surfaced to the user on unshare.Submission tag:
cfi-dkgv10-r1