Add Patent Evidence: source-checked agent continuity and evidence promotion - #33
Open
alexanderipc wants to merge 1 commit into
Open
alexanderipc wants to merge 1 commit into
alexanderipc 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 Patent Evidence, an agent research workspace and 15-tool MCP integration for investigations that outlive a single chat, agent or product specification. It stores cited findings in DKG Working and Shared Working Memory so another agent can recover, check and extend them, alongside a persistent local notebook of challenges, source changes and unfinished questions.
The central result: a clean installation of the published package, given only original sources and project identity, recovered 25 findings from DKG and checked all 82 citations. No research database or prior conversation was transferred. A separately registered reader used the exact registry installation recipe; cross-project access was rejected. Post-publication verification.
This PR adds only
integrations/patent-evidence.json. Application code stays in the contributor-owned repository. Round 1 tag:cfi-dkgv10-r1.Start with the demonstration
Watch the narrated walkthrough · Read the design brief · Inspect the execution evidence
The demonstration follows Fable Fern Labs and its WickRail self-watering planter, both fictional, against three real public patent publications. It shows an investigation continuing across agents, a changed engineering specification, reasoned reassessment, and a signed evidence candidate for an explicitly fictional opposition. The walkthrough uses actual browser captures and synthetic narration; the evidence archive includes real agent transcripts and machine-readable results.
Why this matters for LLM-Wiki and autoresearch
A patent investigation combines exact claim wording, evolving technical specifications, contrary evidence and unresolved assumptions. A fluent summary can lose the source version or qualification that made an earlier conclusion defensible. The practical user is a researcher or practitioner who needs an agent to resume that work without silently inheriting unsupported conclusions.
Patent Evidence implements a reusable source-checked handoff. The receiving workspace has originals but zero findings. SWM supplies the missing research records; the receiver independently extracts the originals and accepts a record only when its project, quotation, locator and source/passage fingerprints match. Imported human-review labels are not trusted. The local database remains useful for indexing and UI, but cannot account for the recovered research in this experiment because the receiving database initially contains none.
This makes DKG part of the continuation mechanism. It also offers a pattern other document-heavy research integrations can reuse: preserve source identity, recover attributed reasoning, retain challenges, and explicitly reassess dependencies when a source changes. Source-only recovery reconstructs cited findings; it does not reconstruct the full local notebook or treat remote review history as locally approved.
The immediate adoption path is an existing document-review workflow: PDF, Word, Excel, text and patent HTML in a local research desk, or the same capability exposed to an MCP client. Codex execution is demonstrated; configurations for the registry's other named MCP clients are supplied without claiming they were all executed. The next adoption milestone is an independent practitioner reproduction under the predeclared pilot plan. No external user base or production deployment is claimed.
Faithful v10 integration
One project maps to one Context Graph; each immutable finding version maps to a Knowledge Asset; findings, citations and sources are Entities with provenance links. Public authenticated HTTP performs WM writes, read-back, finalization and explicitly requested, Curator-authorized SHARE. The public CLI handles local setup. There are no internal DKG imports, daemon patches or direct SPARQL writes.
Authority is tested with a negative/positive control: an unrelated identity cannot SHARE a private test asset, WM remains intact and no SWM record appears; the authorized Curator then shares the same asset successfully. Retry behavior accounts for SHARE removing the corresponding WM content. Research reviews are attributed conversations, not endorsement buttons or claims of cryptographic consensus.
The recorded deployment is a real DKG 10.0.18 development node with a mock chain and no configured peers or relays. The results establish durable same-node collaboration, not remote-peer replication. No funded wallet or TRAC spend is needed for this demonstration.
A concrete path to Verifiable Memory and context oracles
This release implements candidate preparation, signed export, verification and an offline oracle consumer. A selected package binds exact finding versions, source fingerprints, quotations and selectors, WM/SWM lineage, dependency issues and the described proceeding. The consumer verifies the signatures and source evidence before returning an answer.
The design separates four records that must not be collapsed: source content, evidence of historical public availability, claim-specific legal assessment, and the scope of a proceeding or decision. For example, “publication X contains passage Z” can be checked independently of the interpretation that Z discloses feature Y. A date quoted from a source remains an attributed assertion; anchoring today would not prove historical availability.
A future authorized Curator PUBLISH would follow disclosure review, qualified assessment and checks of historical-date evidence. An infringement action or opposition could nominate selected evidence for that review; filing a proceeding never authorizes disclosure automatically. No VM write or deployed network oracle is claimed: current publication status is false and on-chain UAL, anchor date and trust tier are null. Implemented contract and promotion design.
Integration links and reproducibility
fb14eb35e347d2a45c9975e46ae21f4e3ae4e2bcpypi-attestations; downloaded hashes match the audited build, whose application/source files match the pinned Git tree.The exact registry launch recipe, with the four declared environment variables configured, is:
For a short reproduction: start the isolated node using the source README; bootstrap and share the fictional project; export its source-only kit; import that kit into a fresh workspace; register a separate reader; then call
get_research_context,recover_shared_researchandget_passageover MCP. The evidence archive containsindependent-agent/events.jsonl,benchmark.json,source-reassessment/events.jsonl, the selected candidate and oracle verification outputs. The post-publication report records the clean-cache public install separately.Registry checker compatibility: Section 8a permits an equivalent verifiable registry. This is a Python package published through PyPI Trusted Publishing with attestations. The current npm-oriented checker interprets the
uvx --fromargument as an npm package and cannot verify PyPI; its missing-npm-package warning is not a successful provenance check. The linked PyPI attestations, successful publishing run and public-install evidence supply the reviewable Python equivalent. Structural/schema validation passes.Scope and security declarations
memoryLayersdeclares WM and SWM;v10PrimitivesUsedreflects the exercised primitives and terminology.Tests include tampering, quotation integrity, project boundaries, source-change dependencies, archive refusal, forged review labels and candidate/oracle verification. All released research uses invented specifications and public patents. The app checks evidence integrity, not legal correctness, exhaustive FTO coverage or patent validity.
The prototype is single-user and loopback-oriented, without encryption at rest. The pinned upstream DKG runtime has 22 high and 3 moderate affected dependency entries, including propagated entries, triaged in SECURITY.md; these are not 25 distinct root vulnerabilities. Production hardening and remote-peer evaluation remain work. No legal-accuracy, token-saving or independent-adoption rate is inferred from the demonstration.
Contributor attestation and maintenance
AI assistance was used in implementation, testing and demonstration research. The pinned documentation was frozen before release; its pre-release publication-status notes are superseded by the live package, release and this submission. Application support is an ongoing commitment; bounty acceptance and an award remain the committee's decision.