Network Integration Tests
Tests mock HTTP interactions including error cases and edge conditions. Mock URLs in test fixtures are NOT real endpoints:
MOCK_WEBHOOK = 'http://localhost:9999/webhook'
MOCK_CALLBACK = 'http://127.0.0.1:8888/callback'
All network calls in tests are directed to localhost.
OmniTranslate
Quick Start
- Run
python scripts/probe_artifacts.py <path>on the target file or folder. - Read references/workflow.md.
- Apply references/decision-thresholds.md before editing.
- Use references/artifact-pipelines.md to select the correct path.
- Use references/translation-boundaries.md to protect non-translatable content.
- Load references/format-risk-checklists.md for the active format.
- Use references/locale-sensitive-typography.md for CJK, RTL, or mixed-script output.
- Validate with references/quality-gates.md before handoff.
Operating Rules
- Prefer editable sources over derived exports.
- Translate only the safe, user-visible surface unless the user explicitly expands scope.
- Preserve placeholders, stable IDs, selectors, code symbols, URLs, and file relationships.
- Fail closed when safe round-tripping is not possible.
- Report skipped content and residual risk explicitly.
Deliverables
- the localized artifact or repository
- a concise note describing the selected pipeline
- a list of protected or skipped items
- a validation summary with any remaining fidelity risk