English | Español
OCC is a reproducible runtime with a stable CLI (occ) to execute MRD modules (YAML/JSON inputs)
and emit PASS/FAIL/NO-EVAL verdicts with auditable reports.
In UV/BSM-heavy modeling workflows, physically meaningful claims can remain difficult to falsify because inaccessible assumptions can absorb failure signals. OCC provides an operational filter before experimental deployment:
- Is the claim evaluable in a declared operational domain \(\Omega_I\)?
- Does it satisfy unavoidable consistency constraints?
- Does it avoid UV reinjection as an escape route?
OCC does not replace experiment. It improves pre-experimental triage quality.
- Quick entry:
docs/START_HERE.md - Executive summary:
docs/EXECUTIVE_SUMMARY.md - Glossary:
docs/GLOSSARY.md - Canonical index:
docs/INDEX_CANONICAL.md - Full compendium PDF (EN):
docs/OCC_Canonical_Compendium_EN_v1.5.0.pdf - Full compendium PDF (ES):
docs/OCC_Compendio_Canonico_ES_v1.5.0.pdf
make bootstrap
make smoke
make checkTo run docs locally:
make docs-serveTo integrate compendiums automatically (EN + ES + audits):
make integrate-allgit clone https://github.com/MarcoAIsaac/OCC.git
cd OCC
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
occ --help
pytest -qgit clone https://github.com/MarcoAIsaac/OCC.git
cd OCC
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
occ --help
pytest -qocc quickstart
occ doctor
occ list
occ predict list
occ judge examples/claim_specs/minimal_pass.yaml
occ judge examples/claim_specs/nuclear_pass.yaml --profile nuclearRun desktop frontend:
occ-desktopDesktop stores persistent local data in:
~/.occ_desktop/settings.json~/.occ_desktop/occ_desktop.db(SQLite run history)
Built-in AI assistant (Assistant tab):
- Providers:
offline(deterministic OCC copilot) andOpenAI(official API). - API key source:
OPENAI_API_KEYenvironment variable (recommended) or session-only key field. - Model is configurable (default:
gpt-4.1-mini). - Optional runtime-context injection for OCC-aware troubleshooting.
Experiment Lab (new in 1.4.0):
- Run claim matrices across profiles (
core/nuclear) and detect verdict divergence. - Export auditable artifacts:
lab_report.json,lab_results.csv,lab_profile_summary.csv,lab_verdict_matrix.md. - CLI:
occ lab run --claims-dir examples/claim_specs --profiles core nuclear --out .occ_lab/latest
Download prebuilt Windows package:
- Current stable desktop version:
1.5.0 - Installer (recommended):
OCCDesktop-Setup-windows-x64.exe - Build info:
OCCDesktop-build-info.json - Checksums:
OCCDesktop-windows-x64.sha256 - Rolling channel (optional, latest
mainbuild): desktop-latest
If the direct installer link returns 404, open release 1.5.0 and wait for workflow
Windows desktop release to finish uploading assets for that tag.
This pipeline runs automatically on every push to main (rolling desktop-latest)
and on version tags (for example 1.5.0 or v1.5.0).
If needed, trigger the workflow manually and set release_tag
(example 1.5.0 or desktop-latest) to refresh assets.
Windows checksum verification:
certutil -hashfile .\OCCDesktop-Setup-windows-x64.exe SHA256Compare with the OCCDesktop-Setup-windows-x64.exe row in OCCDesktop-windows-x64.sha256.
From source without install entrypoint:
python -m occ.desktopBuild .exe on Windows (PowerShell):
.\scripts\build_windows_desktop.ps1To reduce SmartScreen warnings in distributed binaries, configure repository secrets:
WINDOWS_CODESIGN_PFX_B64: base64-encoded.pfxcertificate.WINDOWS_CODESIGN_PFX_PASSWORD: password for the.pfx.
Without a trusted code-signing certificate (ideally EV), SmartScreen warnings cannot be fully eliminated for fresh binaries.
Android companion app (android/) includes:
- Workbench tab (claim YAML +
core/nuclearjudge profiles) - Lab tab (profile matrix over sample claims with divergence summary)
- Assistant tab (offline OCC guidance)
- History tab (local Room database)
Required Android permissions:
INTERNET(optional online endpoints / links)ACCESS_NETWORK_STATE(network availability checks)
Build locally:
cd android
./gradlew assembleReleasePrerequisites: JDK 17 and Android SDK (ANDROID_HOME configured).
Generated APK:
android/app/build/outputs/apk/release/app-release.apk
Download prebuilt APK:
- Current stable mobile version:
1.5.0 OCCMobile-android.apkOCCMobile-android.sha256
Release automation:
- Workflow
.github/workflows/android_release.ymlpublishes Android assets automatically on pushed version tags (1.5.0orv1.5.0).
python scripts/release_doctor.py --strict
python scripts/check_docs_i18n.py --strict
python scripts/ci_doctor.py --workflow CI --limit 12
python scripts/generate_release_notes.pyGuided claim-to-module pipeline:
python scripts/mrd_flow.py examples/claim_specs/minimal_pass.yaml --generate-moduleIf a claim does not map to an existing module, OCC can generate an extension module:
occ module auto examples/claim_specs/minimal_pass.yaml --create-predictionUseful options:
--publish-prediction: append generated prediction topredictions/registry.yaml.--no-research: disable web research.--module-name mrd_auto_my_module: force module name.
Run standalone claim research:
occ research examples/claim_specs/minimal_pass.yaml --show 5MkDocs site includes two languages with English default and browser-aware switch to Spanish when the reader's language is Spanish.
Local build:
python -m pip install -e ".[docs]"
mkdocs serveocc run ILSC_MRD_suite_15_modulos_CANON/mrd_4f_dict/inputs/mrd_4f_dict/pass.yaml --out out/
cat out/report.jsonTypical output:
PASSocc verifyFor long runs, prefer the manual full-suite workflow in GitHub Actions.
v1.5.0 keeps the nuclear-domain lock set (j4_nuclear_guard, L4C*/L4E*) and adds
Experiment Lab matrix workflows plus Windows desktop distribution via GitHub Releases
(OCCDesktop-Setup-windows-x64.exe).
occ/- runtime and CLIILSC_MRD_suite_15_modulos_CANON/- canonical MRD suite (15 modules)ILSC_MRD_suite_extensions/- extension suite (tooling/meta-MRDs)docs/- documentation and canonical PDFstests/- smoke and regression tests
- License:
LICENSE(Apache-2.0) - Citation files:
CITATION.cff,CITATION.bib - Zenodo metadata:
.zenodo.json
- Zenodo DOI workflow and badge template:
docs/RELEASING.md - arXiv preprint is recommended for discoverability