Skip to main content

RigorGraph

English · 繁體中文 · 简体中文 · 日本語

CI CodeQL PyPI Python 3.11+ License: MIT

Turn AI research into auditable claim-evidence graphs.

RigorGraph is a public-beta, local-first CLI, offline report, GitHub Action, and skill pack. It records what a research claim says, what evidence supports it, who independently checked it, and what remains open while preserving the difference between proof, literature support, numerical evidence, benchmark evidence, and uncertainty.

Truth boundary: RigorGraph checks workflow integrity and traceability. VERIFIED means accepted by the recorded workflow; it does not mean absolute truth, formal certification, peer review, or expert consensus.

Compatibility boundary: The product remains in public beta. Published CLI flags and JSON output, schemas, stable audit codes, Evidence Bundle v1 fields, GitHub Action inputs and outputs, and plugin interfaces receive additive compatibility throughout 1.x. Breaking changes require a new major or schema version.

See the result first

The bundled math demo produces this self-contained report without an account, API key, or runtime network request:

RigorGraph offline report showing a passed audit, claim graph, evidence count, and verification count

The screenshot is generated from rigorgraph demo --scenario math. The report keeps research text in its original language while its interface can switch between English, Traditional Chinese, Simplified Chinese, and Japanese.

Quick start (three minutes)

RigorGraph requires Python 3.11 or newer. Install the published 1.0.1 package; the product status remains public beta.

python -m pip install "rigorgraph==1.0.1"
rigorgraph demo --scenario math --open

The demo creates a project, runs a deterministic audit, and opens the offline report. To see a quality gate reject an invalid promotion:

rigorgraph demo invalid-demo --scenario invalid
rigorgraph audit invalid-demo

The second audit rejects an attempt to treat a finite numerical scan as a formal proof.

Start your own project

rigorgraph --lang en quickstart my-research --name "My research project" --author "Your name" --type formal --statement "Every bounded sequence has property P." --open

This creates one real DRAFT claim in the language you supplied and opens its report. The claim appears under Open gaps; RigorGraph does not invent evidence or promote it to VERIFIED.

my-research/
├── rigorgraph.yaml
└── .rigorgraph/
    ├── claims.jsonl
    ├── evidence.jsonl
    └── verifications.jsonl

When RigorGraph fits

Use RigorGraph when you need to:

  • keep a version-controlled map from claims to scoped proof, literature, computation, data, or benchmark evidence;
  • require an independent review record before a workflow marks a claim VERIFIED;
  • make incomplete links, changed evidence bytes, stale reviews, and invalid status promotion fail deterministically;
  • generate a read-only report that can be inspected offline or uploaded by CI;
  • preserve a versioned HonestCI result as Evidence Bundle v1 without turning the result into a truth claim.

RigorGraph is not a good fit when you need:

  • a theorem prover, proof assistant kernel, peer-review service, or guarantee that a claim is correct;
  • a hosted collaborative database, editable web application, telemetry dashboard, or built-in model provider;
  • a secrets vault or a safe place to publish private research records;
  • a malware sandbox or permission boundary for hostile code and files.

Commands

Command Purpose
rigorgraph quickstart Create a first DRAFT claim and readable offline report without fabricating evidence
rigorgraph init Create a project without overwriting existing files
rigorgraph claim add CLAIM.json Add a DRAFT or PROPOSED claim
rigorgraph evidence add EVIDENCE.json Add scoped evidence; local files require a SHA-256 digest
rigorgraph evidence import BUNDLE.json Validate and preserve a versioned evidence bundle; optionally link it to a draft claim
rigorgraph verify CLAIM_ID --file REVIEW.json Record an independent ACCEPT, REJECT, or UNCERTAIN outcome
rigorgraph audit Check schemas, graph integrity, evidence class, independence, and hashes
rigorgraph report Generate a four-language offline HTML report
rigorgraph demo Create a valid math, valid benchmark, or intentionally invalid demo

Use --lang en, --lang zh-TW, --lang zh-CN, or --lang ja before a command. Without it, RigorGraph uses project configuration, then the operating-system locale, then English.

What the audit enforces

  • IDs are unique and links resolve.
  • Claim dependencies are acyclic.
  • Revoked or rejected claims cannot silently support downstream claims.
  • A claim author cannot be its independent verifier.
  • VERIFIED requires an independent ACCEPT record.
  • Formal claims need proof evidence; literature claims need an exact source locator; empirical and benchmark claims need reproducibility artifacts.
  • Local evidence paths cannot escape the project and their required SHA-256 digests must match.
  • An ACCEPT record is bound to the exact claim-and-evidence snapshot it reviewed.
  • A verified synthesis depends only on currently verified claims.

User-authored claims, formulas, quotations, and evidence remain in their original language. The interface translates labels only.

Evidence bundles and interoperability

RigorGraph 1.0 implements the additive, versioned Evidence Bundle v1 contract. An HonestCI run can emit a bundle containing result summaries, allowlisted GitHub provenance, and SHA-256 digests for its configuration and observed artifacts. Importing a bundle preserves the exact JSON in .rigorgraph/artifacts/; it never promotes or verifies a claim.

rigorgraph evidence import honest-ci-evidence.json --claim CLM-CI --path my-research

Only DRAFT and PROPOSED claims can be linked. See Evidence bundles for the schema, compatibility policy, privacy boundary, and HonestCI profile.

RigorGraph does not currently import, export, or claim compatibility with RO-Crate or other external research-object packaging standards. Supporting one would require an explicit field mapping, trust-boundary review, fixtures, and a versioned compatibility policy; it is not part of the current 1.x contract.

Agent skills and Codex plugin

The repository includes four focused Agent Skills:

  • research-intake
  • capture-claim
  • adversarial-verify
  • release-audit

It also ships a native .codex-plugin/plugin.json. The GitHub Release includes rigorgraph-codex-plugin-1.0.1.zip; extract it, then install its isolated marketplace:

codex plugin marketplace add PATH_TO_EXTRACTED_BUNDLE
codex plugin add rigorgraph@rigorgraph-release

Start a new Codex task after installation so the four skills are discovered. See Codex plugin installation. The ZIP does not edit your personal marketplace file.

GitHub Action

Pin third-party actions to full commit SHAs and pin RigorGraph to an immutable release tag:

steps:
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
  - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
    with:
      python-version: "3.12"
  - uses: f0909172434/rigorgraph@v1.0.1
    with:
      path: .
      fail-on: error

The action writes a GitHub Job Summary and uploads the offline report. It does not post PR comments by default. Use immutable @v1.0.1 for reproducibility; the moving @v1 tag follows the latest compatible 1.x release.

Develop from source

git clone https://github.com/f0909172434/rigorgraph.git
cd rigorgraph
python -m venv .venv
python -m pip install -e ".[dev]"
cd frontend
npm ci
npm run build
cd ..
python -m pytest
python scripts/release_check.py --full

Security, privacy, and documentation

  • Local by default; no account, telemetry, remote database, or built-in paid model API.
  • The HTML report is self-contained and makes no runtime network requests, but it embeds project content and must be reviewed before sharing.
  • Deterministic gates can catch incomplete records and invalid promotion, but cannot guarantee that a human or AI proof is mathematically correct.
  • Core results still need appropriate expert review.

Read the security policy, threat model, contribution guide, release policy, public-beta policy, and glossary.

MIT License. Maintained by Wang Chih Kai.

Metadata

Release files for rigorgraph 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rigorgraph 1.0.1
File Size Uploaded
rigorgraph-1.0.1.tar.gz 239.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rigorgraph 1.0.1
File Interpreter ABI Platform
rigorgraph-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 488.8 kB

Release files / rigorgraph-1.0.1.tar.gz

Download URL rigorgraph-1.0.1.tar.gz
Size 239.5 kB
Tags Source
SHA-256 checksum
How to use checksums
701e143d1110f10a9992af96630bc4346218bb3a6a2433fe13a4d11123e98334
BLAKE2b-256 checksum
How to use checksums
23576037d79c72c9ad653593f049621e3bc396cd8c80bc26d4ebcd3f129f8ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release files / rigorgraph-1.0.1-py3-none-any.whl

Download URL rigorgraph-1.0.1-py3-none-any.whl
Size 249.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
828b2624a6b8cac4bcdbfe01cec2d5ae797a0c34d23388c559c8e20468c388d2
BLAKE2b-256 checksum
How to use checksums
40d85212710ddc8c668a170b01d511a57aaa19efe633925d9d79bae9df2b78e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page