Repository navigation
Add Feed Research Memory [cfi-dkgv10-r1] - #35
Open
dcftradingcrypt wants to merge 1 commit into
Open
dcftradingcrypt wants to merge 1 commit into
dcftradingcrypt wants to merge 1 commit into
Conversation
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 Feed Research Memory, an agent-invoked RSS 2.0/Atom 1.0 research inbox for DKG v10 Working Memory. It imports local feed snapshots, tracks exact source revisions and causal observation history, records research status/notes, and recalls question/answer packets with citations to the precise evidence used.
Bounty round:
cfi-dkgv10-r1. Please apply thecfi-dkgv10-r1label for round routing. This is a registry entry for a standalone contributor-owned integration, using the node's public HTTP API.Integration links
91c24feea6752d544d877831176addc54f69944bghcr.io/dcftradingcrypt/feed-research-memory:0.1.0ghcr.io/dcftradingcrypt/feed-research-memory@sha256:b7f805ce43d0c45b21591ea170902eb30221f6f88cae3523c30d228258014903Distribution and the equivalent-registry option
The official bounty §8a.1 allows a package on “npm (or an equivalent verifiable registry) with build provenance.” This submission proposes a public GHCR OCI package, pinned to an immutable digest with GitHub build-provenance attestation tied to its exact source commit. No npm release or npm provenance is claimed. The equivalence rationale is offered for committee review; it is not a prior approval or waiver of the publication/provenance requirement.
install.kindismanualbecause the distributed program is a one-shot containerized CLI.CONTAINER.mdprovides pinned installation, file-input, bearer-token, node-connectivity and attestation-verification instructions.dkg integration installhands the user those docs; it does not automatically install or verify this OCI image. The registry's security CI skips npm lookup for manual entries and does not verify OCI availability, digest, visibility or attestation. A passing registry check therefore does not establish provenance, accepted equivalence or bounty acceptance.Working research capability
The agent supplies a canonical feed URL and a local XML file, then uses
inbox,history,annotate,packetandrecall. This integration does not call a paid model, fetch feeds/articles or schedule background work. Source-provided claims and agent interpretations are separate records; actor labels are self-described labels, not authenticated identities.Normalized source digests exclude ingestion time. Reimporting unchanged content reuses its source KA. A changed version creates another KA; an observation chain selects the locally current imported revision, including A → B → A reversion. Exact-version annotations and packets continue to cite the original revision. Conflicting observation heads or missing/digest-inconsistent pinned evidence fail explicitly rather than silently choosing evidence.
The CLI creates local Context Graph metadata with
register:falseand KAs withfinalize:false. Source/observation/annotation/packet URNs and WMassertionUrivalues are not presented as finalized or published DKG UALs. A future Curator-controlled promotion/oracle path is documented in the design brief; finalize, SHARE and PUBLISH are not implemented.The supported input bounds are 5 MiB and 1,000 feed entries per import, with separate 10,000-record reader capacities for source revisions, observations, annotations and packets in a Context Graph. Imports into one Context Graph must be serialized. These are explicit small-project bounds, not a server-enforced storage quota or a claim of broad hostile-input hardening.
Scope & faithfulness
memoryLayers: ["WM"]reflects the implemented surface.v10PrimitivesUsedreflects Context Graph, Knowledge Asset and Assertion usage; no finalized UAL or Curator operation is claimed.Security declarations (§8a)
networkEgressdeclares the operator-configured DKG API origin, including an explicitly selected remote node; loopback is the default. Feed/article/source/vocabulary URLs are not fetched.writeAuthoritydeclares local Context Graph creation and open-WM KA creation. No finalize, SHARE, PUBLISH, graph registration, endorsement or voting operation is performed.credentialsHandledis empty under the registry convention for third-party credential prompts. Operator-providedDKG_AUTH_TOKENbearer handling is explicitly disclosed insecurity.notes: it is sent only to the configured node origin and is not logged.GET /api/knowledge-assets/{name}checks the descriptor,GET /api/knowledge-assets/{name}/wm/quadsreads content, andPOST /api/queryruns the integration's WM-scoped SELECT queries.preinstall,installorpostinstallhook; no remote code loading or runtime telemetry.saxes@6.0.0,xmlchars@2.2.0). The released source contains that same dependency lock.The successful release CI ran
gh attestation verifyon this OCI digest, constrained to this repository/workflow, exact source and signer SHA, v0.1.0 source ref and GitHub-hosted runners. Separate anonymous registry checks verified the manifest/config and bundle hashes, tag-to-digest mapping, public access to all nine image layers, and matching attestation subject/source. The anonymous check is not a second full cryptographic verification or a separate Docker pull/run. The release container smoke exercised the installed CLI under a nonroot user with networking disabled and a read-only filesystem; the real DKG workflow tests below were run separately.The public Pages walkthrough was checked in a browser: playback, pause, the final 13.53-second seek and captured JSON output worked. Pages build run
39036605256succeeded from the pinned source. The immutable v0.1.0 source docs retain some pre-publication pending language; the actual package, CI, attestation, release and demo links above record the subsequent publication state.Local verification
The exercised runtime was published
@origintrail-official/dkg@10.0.24, build commitfffef7dd9993f8016c595f525397da440e72a15b, with its real HTTP routes and Oxigraph-worker WM store. An outside-package transport-only test harness bound P2P to loopback, disabled discovery/relay behavior and denied peer connections. The chain was mock; publishing, telemetry and updates were disabled. The harness did not replace HTTP routes, agent memory logic or storage, and is not imported by or required for this integration.This evidence covers local public-HTTP/WM behavior. It does not establish stock P2P behavior, cross-node/SWM replication, live-chain anchoring, financial operations, sealing or finalized UALs. No user wallet, funded chain or paid model service was used. The inspected current docs/source head
7210ccda86ab845ec3161957ed42d2b5c5e02489is distinct from the published runtime build above.Contributor attestation and maintenance
AI assistance disclosure: OpenAI Codex assisted with implementation, documentation, tests, local verification and preparation of this submission. @dcftradingcrypt is the submitting owner and named maintainer and takes responsibility for the submission and its support commitment.
Notes for the committee
Open registry PR #6 covers arXiv paper search/select ingestion into WM with provenance and status tags. This submission instead provides a general local RSS/Atom snapshot workflow with source reversion/observation history, exact-version research annotations and cited question/answer continuity. That distinction is offered for review; no priority, exclusivity or committee acceptance is assumed.
The promotion path is documented, not represented as a shipped SHARE/VM capability. The contribution is submitted for the committee's fit/quality/tier review. No reward amount, acceptance, remaining-pool balance or payment is guaranteed or counted as received income.