Skip to content

[cfi-dkgv10-r1] Add github-dkg: GitHub knowledge → DKG v10 Working Memory#10

Open
haroldboom wants to merge 1 commit intoOriginTrail:mainfrom
haroldboom:add/github-dkg
Open

[cfi-dkgv10-r1] Add github-dkg: GitHub knowledge → DKG v10 Working Memory#10
haroldboom wants to merge 1 commit intoOriginTrail:mainfrom
haroldboom:add/github-dkg

Conversation

@haroldboom
Copy link
Copy Markdown

What this PR does

Adds github-dkg as a community integration. Ingests GitHub issues, pull requests, and review comments into DKG v10 Working Memory as Knowledge Assets, with full provenance and selectable promotion to Shared Working Memory.

Integration links

What it does

  • CLI (github-dkg ingest|ingest-one|search|promote) for one-shot or bulk ingestion of any repo's issues / PRs / reviews. --since supported on both endpoints (server-side for issues; sort=updated&direction=desc + early-stop for PRs since /pulls has no native since).
  • GitHub Action (Docker, fires on issues / pull_request / pull_request_review) for automatic per-event ingestion. The bundled examples/workflow.yml shows the canonical SWM-promotion gate: only PRs labelled architecture-decision and merged to main.
  • Each item becomes one tri-modal Knowledge Asset (markdown → structural triples + semantic embedding) via POST /api/memory/turn.
  • Promotion to SWM via POST /api/assertion/{name}/promote is always explicit, never automatic.

Security highlights

  • Network egress: only api.github.com and the local DKG node.
  • No PUBLISH (Verified Memory) calls.
  • GitHub rate-limit responses (403/429) surface as a typed GitHubRateLimitError rather than crash mid-traversal.
  • No postinstall/preinstall scripts; hatchling-built wheel uploaded to PyPI via twine.
  • 23/23 unit tests pass against the published wheel (verified in a fresh venv outside the source tree).

Sister submission

langchain-dkg — PR #4 is the same author's other Round 1 entry — a LangChain memory adapter backed by DKG v10. Together they form a write-side / read-side pair: github-dkg writes engineering tacit knowledge into the substrate, langchain-dkg gives any LangChain agent persistent memory backed by it.

Submission tag: cfi-dkgv10-r1

GitHub issues / PRs / review comments → DKG v10 Working Memory as
Knowledge Assets. Pinned to f2b9f67. Bounty: cfi-dkgv10-r1.
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