Lucasuiii/modeling-workbench / .agents/skills/cumcm-workflow
cumcm-workflow
VerifiedBuild or resume mathematical-modeling competition work, including CUMCM, MCM/ICM, graduate and regional contests, data challenges, and open-topic statistical modeling. Guide problem framing, modeling, computation, validation, Chinese or English LaTeX writing, and reviewed PDF/source delivery using current official requirements. Not for ordinary paper polishing.
references/artifact-contracts.md
View on GitHub# Artifact contracts
Read this reference when creating or checking v0.6 files. JSON Schemas define core machine-readable shapes, but a schema mismatch is important only when it prevents reliable interpretation of evidence.
## Canonical artifacts
| Responsibility | Canonical files |
|---|---|
| Workflow | `.cumcm/state.json`, `.cumcm/decisions.jsonl`, `.cumcm/snapshots/<stage>.json` |
| Intake/modeling | `SOURCE_MANIFEST.json`, `PROBLEM_FACTS.json`, `TASK_CAPABILITIES.json`, `MODEL_CONTRACT.json`, `CROSS_QUESTION_LEDGER.json` |
| Computation | `runs/<id>/RUN_MANIFEST.json`, `RESULTS_INDEX.json` (both written by `record_run.py` / `index_result.py`) |
| Validation | independent review package/result, `CLAIM_LEDGER.json` |
| Paper | `PAPER_PLAN.json`, `LATEX_TEMPLATE_MANIFEST.json`, `PAPER_QUALITY_REPORT.json`, `PAPER_VISIBLE_TEXT_REPORT.json` |
| Delivery | `COMPILE_RECEIPT.json` (written by `record_compile.py`), `DELIVERY_MANIFEST.json` |
| Cross-stage | `handoffs/<transition>/HANDOFF.json` |
v0.6 removed the per-artifact `review` envelope: formal stage approval lives only in the append-only decision log. Three human checkpoints survive, and each records what the person was shown rather than only what they decided: `model.selection_check` (`presented_candidate_ids`), `claim_ledger.conclusion_check` (`presented_claim_ids`) and `delivery.final_check` (`presented_pages`). `paper_quality.content_report` and `layout_report` are reports, not approvals — they carry no decision. `claim_ledger.independent_review` and the optional `figure.visual_review` are unchanged.
`PAPER_TRACEABILITY.json` was deleted. The property it promised — no internal IDs in visible content — is measured directly on the rendered PDF by `paper_visible_text_check.py`. Recording an accepted decision automatically writes a derived stage snapshot. Snapshot files require no human fields and can be regenerated from the accepted scope.
## Evidence-critical bindings
- Official sources, formal inputs, and claim-bearing outputs use file hashes.
- Official computation uses one canonical resolution in handoffs and review packaging: `RESULTS_INDEX.json` → referenced successful official run → current selected source-tree snapshot. Broken links fail rather than being omitted.
- Review packages bind packaged files and the live upstream sources.
- Handoffs bind only canonical downstream inputs.
- Paper compilation binds the exact final PDF and the exact editable source tree.
Stable IDs and exact result locators remain important. Paper plans and quality reports are intentionally lighter: they record claims, representations, structure, P0/P1/P2, and version bindings rather than fixed counts or exhaustive quality dimensions.
## Modes
Working mode permits a draft model contract and incomplete downstream contracts. Finalizing requires the frozen model contract with a resolved candidate comparison, current decisions, snapshots, handoffs, review, PDF QA, and delivery.
v0.6 rejects any contract whose `schema_version` is not `0.6.0` and ships no migration path. An older workspace is re-initialised from its official files.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |