AGENTS.md · git:20260730.adaac95 · 2026-07-30 · sha256 a54006268c530352
AGENTS.md git:20260730.adaac95A
Immutable. This exact content is served forever at /api/v1/blob/a54006268c530352.
# Mathodology Agent Guide Mathodology is an Agent Skills pack purpose-built for math modeling contests (MCM/ICM, CUMCM, Huashu Cup, M3, HiMCM/MidMCM, IMMC/IM2C, and similar), targeting award-level submissions end to end. This repository is skills-only. The current GitHub tree intentionally contains no application source, CI, deployment, generated contracts, datasets, package manifests, lockfiles, or build outputs. Project skills for AI coding tools live in `.claude/skills/`. The root `.mcp.json` registers the keyless `search` MCP server (free-search-mcp) that `mathodology-evidence-search` uses, so a clone has working evidence search with no per-user setup. Claude Code project subagents live in `.claude/agents/`. Claude Code workflow templates live in `.claude/workflows/`. Before non-trivial work, load the relevant skill: - `mathodology-whole-project` for full skills-repository orientation, backup, transfer, restore, and Codex or Claude Code orchestration. - `mathodology-project-orientation` for the current skills-only layout, retained files, deletion policy, and repository boundary checks. - `mathodology-award-gates` for award-run gate schemas (structured handoff/gate/scorecard/decision_memo), the severity ladder, judge-panel thresholds, iteration budgets, run layout, the blind seat protocol, and the shipped figure/PDF QA and run-block linting scripts. - `mathodology-evidence-search` for external evidence work: the `search` MCP tool stack (free-search-mcp), category routing to the literature and dataset databases, the citation verification protocol, the reproducibility boundary, and the WebSearch/WebFetch fallback. - `mathodology-agent-pipeline` for archived knowledge about the former Python agent pipeline and the new award-level phase workflow. - `mathodology-gateway-api` for archived knowledge about the former Rust gateway and API. - `mathodology-web-ui` for archived knowledge about the former Vue web UI. - `mathodology-dev-test-release` for skills-only validation and archived dev, test, deploy, packaging, and release guidance. - `mathodology-skill-authoring` for adding or updating `SKILL.md` files and `agents/openai.yaml` metadata. For Claude Code, prefer `.claude/workflows/mathodology-award-submission.md` with the `mathodology-*` project subagents. The `mathodology-lead` agent runs as the main thread and dispatches the specialists; at Phase 7 it dispatches three independent blind `mathodology-award-judge` seats in parallel and aggregates their scorecards against the numeric tier thresholds in `mathodology-award-gates`. If the contest is M3, HiMCM/MidMCM, IMMC/IM2C, leaderboard/data-science, operations/policy/business-case, or short-sprint style, also load `.claude/workflows/mathodology-contest-variants.md` and apply the matching adapter. For Codex, run the 9-phase workflow in multi-agents mode from `docs/WORKFLOWS.md`: dispatch independent agents per phase, synthesize, then gate with an independent critic before continuing. In Phase 0, classify the contest type and apply the matching workflow adapter from `docs/WORKFLOWS.md`. Ask the user only for contest-critical details that would change requirements, data access, model choice, compute budget, or final submission constraints; otherwise record conservative assumptions and continue phase by phase. Every phase artifact must have a specialist handoff and an independent critic gate before it can feed the next phase. Do not reintroduce non-skills project files unless the user explicitly changes the repository strategy. If historical application code is needed, inspect Git history in a separate branch or worktree instead of adding it back to `main`.