Purpose: fast orientation for coding agents. try to keep low overlap with README.md etc., but add common mistakes of AI agents here instead.
- MathCAT converts MathML to speech, braille, and navigation output.
- Core flow:
set_mathml()->canonicalize.rs-> optionalinfer_intent.rs->speech.rs/braille.rs.
- YAML rules are loaded at runtime by domain:
- Common per-language files:
ClearSpeak_Rules.yaml,SimpleSpeak_Rules.yamlSharedRules/,unicode.yaml,unicode-full.yaml,definitions.yaml,navigate.yaml
build.rscan bundle rules intorules.zipwheninclude-zipis enabled.
t:means untranslated or unverified.T:means translated and verified.- tool for comparing rules across languages:
uv run --project PythonScripts audit-translations <language-code>
uvis the Python dependency and project manager for repo tooling. Useuv run <command-name>- discuss new packages before adding them. use
uv add <package-name>anduv syncon confirmation - In sandboxed runs, if needed:
- set
UV_CACHE_DIR=/tmp/uv-cache - rerun with escalated permissions if macOS
system-configurationpanics occur.
- set
- always self-validate:
ùv run pytest
- Do not mirror README content here; keep guidance agent-specific.
- Avoid broad formatting sweeps; do not run
cargo fmtin this repo. - Keep code/rule changes focused and validate with targeted tests first:
cargo test <relevant-tests> - do not do any git commands unless explicitly asked for
- Rust coverage is in
target/coverage/.