Mathematical Artifact Validation
Purpose
Produce reproducible source, structure, and reference evidence. Static validation is not mathematical proof verification.
Inputs
Source paths, LaTeX artifact, optional BibTeX files, required sections, registry, tool policy, and output manifest paths.
Shell-only gates
validate_sources.py: strict UTF-8, nonempty files, no U+FFFD, SHA-256 manifest.
validate_math_artifact.py: braces/environments, required sections, labels, references, theorem target numbering/type, citations.
validate_registry.py: durable evidence and coverage invariants.
validate_grade.py: rubric arithmetic/current hashes.
- Optional compiler command: execute a locally available TeX tool in a run-owned output directory and preserve version, argv, exit code, stdout/stderr, and output hash.
Every task declares expectedExitCode: 0. Required-tool unavailability follows policy and is never represented as pass. An agent may classify diagnostics but may not override a failed shell result.
Security and portability
Use structured file paths, a run-owned workspace, Python standard library, and no Node. Never use lossy decoding. Never overwrite source or prior round artifacts.
Output
Machine-readable gate manifest with pass|fail|unavailable, command/tool version where applicable, exit code, findings, evidence paths, and an explicit claim boundary.
1---
2name: mathematical-artifact-validation
3description: Run fail-closed deterministic validation for mathematical and LaTeX artifacts
4allowed-tools:
5 - Bash
6 - Read
7 - Write
8 - Glob
9 - Grep
10metadata:
11 source: https://skillmd.com/skills/a5c-ai/mathematical-artifact-validation
12 specialization: mathematics
13 domain: science
14 category: mathematical-validation
15 phase: 6
16graph:
17 domains: [domain:mathematics]
18 specializations: [specialization:computational-mathematics]
19 skillAreas: [skill-area:mathematical-reasoning, skill-area:technical-writing]
20 workflows: [workflow:research-validation, workflow:quality-convergence]
21 roles: [role:research-scientist, role:computational-scientist]
22---
23
24# Mathematical Artifact Validation
25
26## Purpose
27
28Produce reproducible source, structure, and reference evidence. Static validation is not mathematical proof verification.
29
30## Inputs
31
32Source paths, LaTeX artifact, optional BibTeX files, required sections, registry, tool policy, and output manifest paths.
33
34## Shell-only gates
35
361. `validate_sources.py`: strict UTF-8, nonempty files, no `U+FFFD`, SHA-256 manifest.
372. `validate_math_artifact.py`: braces/environments, required sections, labels, references, theorem target numbering/type, citations.
383. `validate_registry.py`: durable evidence and coverage invariants.
394. `validate_grade.py`: rubric arithmetic/current hashes.
405. Optional compiler command: execute a locally available TeX tool in a run-owned output directory and preserve version, argv, exit code, stdout/stderr, and output hash.
41
42Every task declares `expectedExitCode: 0`. Required-tool unavailability follows policy and is never represented as pass. An agent may classify diagnostics but may not override a failed shell result.
43
44## Security and portability
45
46Use structured file paths, a run-owned workspace, Python standard library, and no Node. Never use lossy decoding. Never overwrite source or prior round artifacts.
47
48## Output
49
50Machine-readable gate manifest with `pass|fail|unavailable`, command/tool version where applicable, exit code, findings, evidence paths, and an explicit claim boundary.