github-dkg 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- github_dkg-0.1.1/.github/workflows/ci.yml +25 -0
- github_dkg-0.1.1/.github/workflows/publish.yml +42 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/DESIGN_BRIEF.md +13 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/PKG-INFO +6 -1
- {github_dkg-0.1.0 → github_dkg-0.1.1}/README.md +5 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/examples/demo_video.py +1 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/pyproject.toml +1 -1
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/__init__.py +1 -1
- {github_dkg-0.1.0 → github_dkg-0.1.1}/.gitignore +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/Dockerfile +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/LICENSE +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/action.yml +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/demo.ipynb +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/entrypoint.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/examples/workflow.yml +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/cli.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/client.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/formatter.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/github_client.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/src/github_dkg/ingestor.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/__init__.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/integration/__init__.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/integration/test_integration.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/unit/__init__.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/unit/test_client.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/unit/test_formatter.py +0 -0
- {github_dkg-0.1.0 → github_dkg-0.1.1}/tests/unit/test_ingestor.py +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [master]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
fail-fast: false
|
|
14
|
+
matrix:
|
|
15
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: ${{ matrix.python-version }}
|
|
21
|
+
cache: pip
|
|
22
|
+
cache-dependency-path: pyproject.toml
|
|
23
|
+
- run: python -m pip install --upgrade pip
|
|
24
|
+
- run: pip install -e ".[dev]"
|
|
25
|
+
- run: pytest tests/unit/ -v
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
name: Build distribution
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.12"
|
|
18
|
+
- run: python -m pip install --upgrade pip build
|
|
19
|
+
- run: python -m build
|
|
20
|
+
- uses: actions/upload-artifact@v4
|
|
21
|
+
with:
|
|
22
|
+
name: dist
|
|
23
|
+
path: dist/
|
|
24
|
+
|
|
25
|
+
publish:
|
|
26
|
+
name: Publish to PyPI (Trusted Publishing + SLSA attestations)
|
|
27
|
+
needs: build
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
environment:
|
|
30
|
+
name: pypi
|
|
31
|
+
url: https://pypi.org/project/github-dkg/
|
|
32
|
+
permissions:
|
|
33
|
+
id-token: write
|
|
34
|
+
attestations: write
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/download-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: dist
|
|
39
|
+
path: dist/
|
|
40
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
41
|
+
with:
|
|
42
|
+
attestations: true
|
|
@@ -190,3 +190,16 @@ One intentional deviation: the CLI uses `layer` as shorthand for `--layer wm|swm
|
|
|
190
190
|
## 9. Maintenance commitment
|
|
191
191
|
|
|
192
192
|
Six-month support window from submission date. Issues and pull requests will be reviewed within 5 business days. The package follows semantic versioning; breaking changes will be major version bumps with migration notes.
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## 10. Positioning vs other Round 1 submissions
|
|
197
|
+
|
|
198
|
+
The Round 1 queue covers several distinct integration shapes. This submission is intentionally complementary, not competing:
|
|
199
|
+
|
|
200
|
+
- **Other source-side integrations** (`dkg-arxiv` for academic papers, `polymarket-analysis` for prediction markets, `tracabot` for Telegram moderation) populate DKG from substrates that are external to the user's own workflow. `github-dkg` instead taps the *team's own* historical knowledge — issue threads, PR descriptions, review comments — the highest-signal tacit knowledge inside any software organisation. No overlap with existing source-ingest entries.
|
|
201
|
+
- **Agent-plugin submissions** (`openclaw-working-memory`, `dkg-wm-bridge`, `aipharmagent`) capture artifacts from live agent sessions in real time. `github-dkg` works *without* an agent: the CLI can backfill an entire repository's history; the bundled Docker GitHub Action continues capture on every issue / pull_request / pull_request_review event. Together with an agent-plugin, an org gets both pre-existing org knowledge and ongoing agent output in the same Context Graph.
|
|
202
|
+
- **Sister submission `langchain-dkg`** ([PR #4](https://github.com/OriginTrail/dkg-integrations/pull/4)) provides the read-side LangChain memory + retriever adapter. Where `github-dkg` writes engineering tacit knowledge into the substrate, `langchain-dkg` lets any LangChain agent query and reason over it. The two halves close a write/read loop.
|
|
203
|
+
- **Platform-level governance submissions** (`agience-flare`, `repnet`) govern *what* may be projected into DKG. `github-dkg` runs one layer below: it produces the per-item Knowledge Assets that a governance layer (or a human reviewer through the bundled label-gated workflow) can then promote to SWM.
|
|
204
|
+
|
|
205
|
+
This entry is the only GitHub-knowledge ingestion path in the queue, and the only Round 1 submission whose primary distribution surface includes a Docker GitHub Action rather than just a CLI or MCP server.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-dkg
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Ingest GitHub issues, PRs, and review comments into DKG v10 Working Memory
|
|
5
5
|
Project-URL: Repository, https://github.com/haroldboom/github-dkg
|
|
6
6
|
License: MIT
|
|
@@ -16,6 +16,11 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
|
|
17
17
|
# github-dkg
|
|
18
18
|
|
|
19
|
+
[](https://github.com/haroldboom/github-dkg/actions/workflows/ci.yml)
|
|
20
|
+
[](https://pypi.org/project/github-dkg/)
|
|
21
|
+
[](https://pypi.org/project/github-dkg/)
|
|
22
|
+
[](https://github.com/haroldboom/github-dkg/blob/master/LICENSE)
|
|
23
|
+
|
|
19
24
|
Ingest GitHub issues, pull requests, and review comments into [DKG v10](https://docs.origintrail.io) Working Memory as Knowledge Assets.
|
|
20
25
|
|
|
21
26
|
Every issue and PR becomes a queryable, attributable Knowledge Asset in your DKG v10 node. Key decisions can be promoted to Shared Working Memory — making your team's engineering knowledge accessible to agents.
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# github-dkg
|
|
2
2
|
|
|
3
|
+
[](https://github.com/haroldboom/github-dkg/actions/workflows/ci.yml)
|
|
4
|
+
[](https://pypi.org/project/github-dkg/)
|
|
5
|
+
[](https://pypi.org/project/github-dkg/)
|
|
6
|
+
[](https://github.com/haroldboom/github-dkg/blob/master/LICENSE)
|
|
7
|
+
|
|
3
8
|
Ingest GitHub issues, pull requests, and review comments into [DKG v10](https://docs.origintrail.io) Working Memory as Knowledge Assets.
|
|
4
9
|
|
|
5
10
|
Every issue and PR becomes a queryable, attributable Knowledge Asset in your DKG v10 node. Key decisions can be promoted to Shared Working Memory — making your team's engineering knowledge accessible to agents.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|