-
Notifications
You must be signed in to change notification settings - Fork 14
[cfi-dkgv10-r1] Add agience-flare-dkg-integration #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Muffinman75
wants to merge
11
commits into
OriginTrail:main
Choose a base branch
from
Muffinman75:add-agience-flare-dkg-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d158585
Add agience-flare-dkg-integration
Muffinman75 a87c57d
Bump pinned SHA to 9f4a095 (typed-artifact substrate doc + screenshots)
Muffinman75 a495cb3
Switch install.kind to cli with npm pin (0.3.1, dual PyPI+npm publish…
Muffinman75 c18d24e
Bump agience-flare-dkg-integration to v0.4.0 (daemon transport default)
Muffinman75 1d49fcd
Refresh demo URL to v0.4.0 recording (daemon transport default)
Muffinman75 7057378
registry: v0.4.1 - Verifiable Memory layer, hosted SaaS egress, rc.17…
Muffinman75 ddeb9ea
registry: bump agience-flare-dkg-integration to v0.4.2, DKG v10.0.1, …
Muffinman75 0c7b486
registry: bump agience-flare-dkg-integration to v0.4.3, new demo URL,…
Muffinman75 70e0abe
Update agience-flare-dkg-integration to v0.4.4 (08a0081)
Muffinman75 ce79ba4
update agience-flare-dkg-integration to v0.4.5
Muffinman75 5b99b39
update agience-flare-dkg-integration demo link
Muffinman75 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| { | ||
| "$schema": "../schema/integration.schema.json", | ||
| "schemaVersion": "0.1.0", | ||
| "slug": "agience-flare-dkg-integration", | ||
| "name": "Agience FLARE × DKG v10 Integration", | ||
| "description": "Governance layer above DKG v10. Projects only commit-gated Agience artifacts into Working Memory and Shared Memory as typed agience: RDF Knowledge Assets, with policy-controlled SHARE, optional FLARE confidential retrieval, and provenance receipts. Complementary to dkg mcp setup.", | ||
| "category": ["agent-memory", "governance", "research-workflow", "mcp", "working-memory", "shared-memory"], | ||
| "maintainer": { | ||
| "github": "@Muffinman75", | ||
| "name": "Manoj Modhwadia", | ||
| "contact": "manojmodhwadia@outlook.com" | ||
| }, | ||
| "repo": "https://github.com/Muffinman75/agience-flare-dkg-integration", | ||
| "commit": "542bfdf699f787026a60af1133168c6244ccb43a", | ||
| "license": "MIT", | ||
| "requiresDkgNodeVersion": ">=10.0.1", | ||
| "memoryLayers": ["WM", "SWM", "VM"], | ||
| "v10PrimitivesUsed": ["UAL", "KnowledgeAsset", "ContextGraph", "Curator"], | ||
| "publicInterfacesUsed": ["http-api", "mcp"], | ||
| "targetAgents": ["generic-MCP", "generic-CLI", "generic-HTTP"], | ||
| "install": { | ||
| "kind": "cli", | ||
| "package": "agience-flare-dkg-integration", | ||
| "version": "0.4.5", | ||
| "binary": "agience-dkg", | ||
| "envRequired": ["DKG_BASE_URL"], | ||
| "usageHint": "Install: `pipx install agience-flare-dkg-integration==0.4.5`. Default transport is the local DKG v10 daemon (DKG_BASE_URL=http://127.0.0.1:9201; bearer token auto-read from ~/.dkg/auth.token). MCP transport supported via `--transport mcp` (requires DKG_TOKEN); default port 8083 matches the reference `dkg-node/apps/agent` setup, use 8081 for the DKG Edge Node Agent Web UI/API. CLI: `agience-dkg share` (v10.0.1 SHARE), `promote` is a backward-compatible alias. Governed-mode (`--from-agience-artifact`) reads AGIENCE_BASE_URL + AGIENCE_TOKEN — point these at the hosted Agience SaaS (https://my.agience.ai) so no local Agience stack is needed. npm wrapper published as alternative." | ||
| }, | ||
| "security": { | ||
| "networkEgress": [ | ||
| "my.agience.ai — governed mode only (--from-agience-artifact); operator-configurable via AGIENCE_BASE_URL; optional", | ||
| "operator-configured FLARE service host — protected-search mode only; opt-in, disabled by default" | ||
| ], | ||
| "writeAuthority": [ | ||
| "daemon (v10.0.1) — POST /api/knowledge-assets (+ /{name}/wm/write) — WM KA create + quad append (finalize:false); legacy fallback /api/assertion/create on 404", | ||
| "daemon transport — POST /api/shared-memory/write — direct Shared Memory write (layer=swm)", | ||
| "daemon (v10.0.1) — POST /api/knowledge-assets/{name}/swm/share — Shared Memory SHARE (historically called promote); legacy fallback /api/assertion/{name}/promote on 404", | ||
| "daemon (v10.0.1) — POST /api/knowledge-assets/{name}/vm/publish — Verifiable Memory publish (PUBLISH, Curator-authority, on-chain); operator-initiated via vm-publish only", | ||
| "daemon transport — POST /api/query — read-only SPARQL SELECT for memory search", | ||
| "daemon transport — GET /api/status — health probe", | ||
| "MCP transport (alternative) — POST /mcp -> tools/call dkg-create (privacy=private) — Working Memory write", | ||
| "MCP transport — POST /mcp -> tools/call dkg-create (privacy=public) — Shared Memory SHARE (Curator-authority)", | ||
| "MCP transport — POST /mcp -> tools/call dkg-sparql-query — read-only memory search" | ||
| ], | ||
| "credentialsHandled": ["AGIENCE_TOKEN"], | ||
| "notes": "Distribution: dual-published with build provenance to npm (https://www.npmjs.com/package/agience-flare-dkg-integration) and PyPI (https://pypi.org/project/agience-flare-dkg-integration/0.4.5/) via tag-triggered GitHub Actions. The npm package is a thin wrapper (zero runtime deps) that delegates to the Python CLI on PyPI. npm publish uses `--provenance --access public` (SLSA v1, sigstore log); PyPI uses pypa/gh-action-pypi-publish with attestations: true. No preinstall/install/postinstall scripts — Section 8a compliant. No dynamic code loading, no eval on remote input. Transport: default is the local OriginTrail DKG v10 daemon over HTTP (DKG_BASE_URL=http://127.0.0.1:9201, bearer token auto-read from ~/.dkg/auth.token); MCP Streamable HTTP remains a fully-supported alternative (`--transport mcp`, requires DKG_TOKEN). Both are stable v10 public interfaces per bounty Section 5. Egress: only the local DKG daemon (or MCP node) by default; governed-mode optionally calls an operator-configured Agience endpoint (AGIENCE_BASE_URL; hosted default https://my.agience.ai); FLARE service is opt-in and disabled by default. Curator-authority surface: SHARE is invoked only when an operator explicitly runs the `share` CLI command (or the backward-compatible `promote` alias) or the equivalent Python API; PUBLISH/VM is exposed via the operator-initiated `vm-publish` command (daemon-only, never automatic); endorse/verify remain out of scope for Round 1. Governed-mode (`--from-agience-artifact`) refuses to project unless the upstream Agience artifact's state is `committed`, attaching the commit_receipt_id to the Knowledge Asset for auditability. pip-audit --production is clean. This integration repo: 87 tests (82 unit + 5 integration; governance-flow tests transport-agnostic). For context (not summed): Agience Core adds 11 DKG-projection-service tests, and FLARE — now part of Agience Core — carries 101 cryptographic-search tests. 6-month maintenance commitment — see docs/maintainer-statement.md." | ||
| }, | ||
| "trustTier": "community", | ||
| "designBrief": "https://github.com/Muffinman75/agience-flare-dkg-integration/blob/main/DESIGN_BRIEF.md", | ||
| "demo": "https://youtu.be/gduMkwpigkg", | ||
| "promotionPath": "Artifacts originate as draft → committed inside Agience (governance gate). Committed artifacts project into DKG Working Memory as typed agience: RDF Knowledge Assets with provenance (author, commit_receipt_id, source_artifact UAL). Curator-authorized promotion (SHARE) elevates them to Shared Memory for team-gossiped collaboration. UAL stability and the agience: predicate set are designed so Round-2 promotion to Verified Memory is a small, additive step (PUBLISH against the existing UAL with the same JSON-LD shape), and downstream context oracles can consume matured Knowledge Assets without re-typing. VM is reachable today via the operator-initiated `vm-publish` command (v10.0.1 `POST /api/knowledge-assets/{name}/vm/publish`); PUBLISH is always explicit, never automatic, and the integration never calls endorse/verify.", | ||
| "fitNotes": "Round-1 fit: a platform-level governance layer that turns committed artifacts from any upstream tool (chat clients, IDEs, research notebooks) into provenance-bearing Working/Shared Memory entries — the substrate Karpathy's LLM-Wiki / autoresearch direction depends on. Complementary to single-tool plugins (ChatGPT, Slack, GitHub, Obsidian) and to the first-party `cursor-mcp-dkg`: those clients can author into a governed Agience workspace; this integration governs which artifacts reach DKG WM/SWM, with what typing, and under whose authority. Engineered for forward-compatibility with Round 2 (Verified Memory, oracles): typed agience: predicates and stable UALs make PUBLISH a one-line extension, and FLARE provides the cryptographic retrieval boundary needed for confidential oracle inputs." | ||
| } | ||
|
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small update: bumped the pinned commit from 09bf331 → 9f4a095. The package on PyPI (0.3.0) is unchanged - the new commit only adds a screenshot-backed subsection to DESIGN_BRIEF.md (§3 "Typed-artifact substrate") that visualises the card-creation surface and clarifies why the integration positions as platform-level rather than as a single-tool ingestion plugin. Docs-only diff, no code touched, security posture unchanged.