Thank you for your interest in contributing to MathRSI! This guide explains how the repository is organized and how to contribute domain plugins, verifiers, harness improvements, and documentation.
- Domain plugins & mathematical results: Add a new domain plugin under
plugins/<domain>/or deepen an existing one with reductions, failure diagnostics, curated certificates, and standalone verifiers. - Verification & formalization: Contribute independent replay checkers (
plugins/<domain>/tools/), bounded counterexample checks, or Lean 4 formalizations for working proofs and open parameters (Six-case index). - Base harness improvements: Propose evidence-backed workflow refinements grounded in real research bottlenecks via
mathrsi-meta-evolve(Evolution workflow). - Documentation, readers & bug reports: Fix broken commands or links, clarify proof scopes, report issues, or improve bilingual docs and public readers (Public Pages guide).
- Fork the repository on GitHub and clone your fork (or create an isolated
git worktreeif working as a repository maintainer):git clone https://github.com/YOUR_USERNAME/math-rsi.git cd math-rsi - Create a focused branch for your changes:
git checkout -b feat/your-topic
- Follow Quick Start to run skills in Claude Code (
/skill-name) or Codex ($skill-name).
- Base (
base/) supplies domain-agnostic orchestration (Prepare → Route → Prove → Verify → Handoff) and the pinned ARIS snapshot (base/ARIS_SNAPSHOT.json). Do not hardcode domain-specific tactics intobase/during single-problem solving, and do not modify files pinned byARIS_SNAPSHOT.jsonwithout updating upstream provenance (Provenance). - Domain plugins (
plugins/<domain>/) hold domain skills, mathematical references, failure maps, curatedarchive/inputs, and runnabletools/checkers. Follow the Plugin Contract and register stage entry points indocs/DOMAIN_ROUTING.md. - Active task workspaces stay outside the repository (for example,
../my-problem/) while research is in progress (Workspace guide); curate established proofs, checkers, and reusable methods intoplugins/andcase-studies/upon handoff.
Each skill is a SKILL.md file with YAML frontmatter (name, description) and actionable prose covering scope, preconditions, exact tool/reference calls, failure recovery, and return artifacts (Skill Acceptance):
---
name: my-domain-skill
description: What mathematical obligation or workflow stage this skill handles.
---
# Skill Title
Scope, preconditions, mathematical references, verifier commands, and return contract...Expose new MathRSI or domain skills to both hosts by adding relative symlinks under .claude/skills/<skill-name> (Claude Code) and .agents/skills/<skill-name> (Codex).
- Accurate verification scope: State explicitly whether a result is Lean-verified, backed by an independently replayed computational certificate, reviewed via cross-model or same-family provisional audit, or an unreviewed working manuscript. Never silently upgrade claim status, and never move fixed release tags (
v1–v6). - Readable sources,
< 50 MiBper file, no Git LFS: Unpack curated proofs, source code, and compact certificates directly—do not commit opaque.zipor.rararchives. Keep every tracked file under 50 MiB with zero Git LFS; record omitted large SAT/CNF/DRAT traces or search pools in anINVENTORY.jsonwith byte sizes, SHA-256 hashes, and reproduction instructions.
Run the offline standard-library checks from the repository root before submitting:
# 1. Verify local Markdown links and .claude/.agents skill symlinks
python3 tools/check_links.py
# 2. Verify bundled ARIS snapshot & offline helper smoke test (when touching base/)
python3 base/tests/smoke_bundle.py --out-dir /tmp/mathrsi-smoke
# 3. Verify explicit allowlist build for GitHub Pages (when touching public site/readers)
python3 tools/build_public_site.py --output /tmp/mathrsi-siteAlso run any new or modified domain checkers in plugins/<domain>/tools/ on real inputs, and test modified skills in Claude Code or Codex.
- Keep each PR focused on a single coherent change and write clear commit messages.
- Update
README.md,README.zh-CN.md, anddocs/DOMAIN_ROUTING.mdwhen adding new skills, plugins, or headline results. - Describe the exact scope verified and note any unverified branches or external dependencies.
- Links and
.claude/.agentsskill symlinks passpython3 tools/check_links.py - Verification status, provisional/review scope, and provenance are stated accurately
- No raw
.zip/.rararchives, Git LFS objects, or files>= 50 MiBare added - Affected domain checkers, skills, and smoke/site builds are tested locally
- Be respectful, constructive, and grounded in reproducible mathematical and engineering evidence.
- Distinguish established theorems, bounded computational checks, and open conjectures clearly.
Feel free to open a GitHub Issue for bug reports, questions, or research collaboration inquiries.
By contributing to MathRSI workflows, documentation, and scripts, you agree that your contributions will be licensed under the MIT License. Archived papers and third-party materials retain their original copyrights (Provenance).