Skip to content

Matilde v1: verifiable-citations engine (axes 1-3) + Hermes plugin, SOUL & SKILL#1

Merged
juniperbevensee merged 2 commits into
mainfrom
dev/juniperbevensee/matilde-citation-engine-v1
Jun 16, 2026
Merged

Matilde v1: verifiable-citations engine (axes 1-3) + Hermes plugin, SOUL & SKILL#1
juniperbevensee merged 2 commits into
mainfrom
dev/juniperbevensee/matilde-citation-engine-v1

Conversation

@juniperbevensee

Copy link
Copy Markdown
Collaborator

What this is

The first real increment of Matilde — the academia/science customization of the Hermes use-case-package template — built from adversarially-verified research.

Flagship: the verifiable-citations engine

Verifies a citation along four axes → composite score + verdict (verified | warnings | retracted | not_found | unverifiable):

Axis Source
existence Crossref → OpenAlex → DataCite (multi-source)
metadata-match fuzzy title + author overlap + year
retraction Crossref Retraction Watch + OpenAlex is_retracted
URL-liveness HTTP + Wayback fallback

Correctness highlight: multi-source existence means real arXiv/Zenodo/DataCite DOIs are never mislabeled "fabricated" — a bug caught and fixed against the live APIs during development (Crossref alone 404s on arXiv 10.48550/* DOIs).

Honest framing: verifiable, not provably correct. Claim-support grounding (does the cited passage back the claim?) is the probabilistic v2 axis (GROBID + SciFact/SemanticCite).

Agent surface (no API keys needed)

  • matilde_verify_citation · matilde_verify_bibliography · matilde_check_retraction

Tests

  • 51 offline unit tests (pure, injected-I/O — no network) + 3 live API integration tests (MATILDE_LIVE=1), validated against real records (Wakefield 1998 retraction; arXiv DataCite DOI).
  • Sanitization gate clean (full-tree, deterministic).

Also

  • SOUL.Matilde.md (verify-don't-assume identity) + SKILL.md (research methodology).
  • README states the academia/science use case explicitly for discoverability.

Roadmap (researched, not yet built)

OpenNeuro/BIDS dataset analysis · meta-science stat-rechecking (statcheck/GRIM) · manuscript writing → LaTeX (Pandoc/Quarto) · v2 claim-support grounding.

🤖 Generated with Claude Code

juniperbevensee and others added 2 commits June 16, 2026 14:09
…lugin

Matilde's flagship: verify a citation along four axes — existence,
metadata-match, retraction, URL-liveness — into a composite verifiability
score + verdict (verified|warnings|retracted|not_found|unverifiable).

- engine/citations.py: pure, injected-I/O verifier (stdlib only).
  Multi-source existence (Crossref -> OpenAlex -> DataCite) so real
  arXiv/Zenodo/DataCite DOIs are never mislabeled "fabricated". Retraction
  via Crossref Retraction Watch (updated-by/update-to/relation) + OpenAlex
  is_retracted. URL-liveness with a Wayback fallback.
- hermes-plugin: matilde_verify_citation / _verify_bibliography /
  _check_retraction tools; no API key required.
- 51 offline unit tests + 3 live API integration tests (MATILDE_LIVE=1),
  validated against real records (Wakefield retraction; arXiv DataCite DOI).
- Honest framing: "verifiable", not "provably correct" — claim-support
  grounding (GROBID + SciFact/SemanticCite) is the v2 axis.
- README states the academia/science use case explicitly (discoverability);
  sanitize.config tuned for study/manuscript particulars.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… checklist

- docker/SOUL.Matilde.md: research-assistant identity centered on verify-don't-
  assume, calibrated confidence, never-fabricate; tiered source/action policy.
- hermes-skill/SKILL.md: SCOPE→GATHER→VERIFY→SYNTHESIZE→REPORT lifecycle with the
  citation tools wired in; honest note that "verified" = metadata-checked, not
  claim-support-grounded (the v2 axis).
- Remove SETUP.md (instantiation complete).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@juniperbevensee
juniperbevensee merged commit a283d4b into main Jun 16, 2026
1 check failed
@juniperbevensee
juniperbevensee deleted the dev/juniperbevensee/matilde-citation-engine-v1 branch June 16, 2026 02:21
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