Cypha v2.3.25 — native C++ framework
Prebuilt native C++ runtime only (no Python venv): Cypha REST (/sample, /retrieve, /sequence/*), native bench (d01–d17), Cypha sequence, diagnostics orchestrator, parity smoke tools, and a standalone Qt shell AppImage on Linux.
Linux CLI (cypha-*-linux-x86_64.tar.gz)
tar xzf cypha-*-linux-x86_64.tar.gz
cd cypha-*-linux-x86_64
bash install.shRequires: libgomp1, glibc 2.31+.
Linux Qt AppImage (cypha-*-linux-x86_64.AppImage)
Self-contained cypha_qt_shell with Qt libraries bundled via linuxdeploy. cypha_rest is included as a sidecar.
chmod +x cypha-*-linux-x86_64.AppImage
./cypha-*-linux-x86_64.AppImageBuild locally: bash packaging/build_appimage.sh <version> (see packaging/README.md).
Windows CLI (cypha-*-windows-x86_64.zip)
Expand-Archive cypha-*-windows-x86_64.zip
cd cypha-*-windows-x86_64
powershell -ExecutionPolicy Bypass -File install.ps1Native MSVC x64 binaries (Visual Studio / VC++ redistributable on clean machines).
Windows Qt GUI: build natively on Windows with packaging/build_windows_bundle.ps1 (windeployqt; see packaging/README.md).
Production binaries (bin/, on PATH after install)
| Binary | Role |
|---|---|
cypha_rest |
Native REST server (classifier + /sample, /retrieve, /sequence/*) |
cypha_bench_run |
Bench master runner (domains d01–d17) |
cypha_bench_report |
Report-only rebuild (BASELINE_REPORT.md + summary.json) |
cypha_diagnostics_run |
Phases 1–4 diagnostics orchestrator |
cypha_tune_run |
Native tuning sweep runner |
cyphalm_bench_native |
WikiText BPC bench CLI |
cypha_baseline_lock, baseline_lock_validate |
Baseline lock update / validate |
registry_register, create_model_smoke |
Registry + model creation smoke |
Dev golden tools (bin/dev/, not on PATH)
score_batch_golden,multilabel_dif_golden,merge_from_golden,similarity_index_goldenembed_table_golden,retrieval_golden,som_golden,kernel_llr_goldengh_infer_deliberation_golden,cyphalm_checkpoint_golden
Phase 7 maintainer notes
- Baseline lock:
bench/BASELINE_LOCK.json— D17 hybrid 2.873 BPC @ 300k (Phase 1c reference). - Local publish:
pwsh -File scripts/publish_release.ps1 -Tag v2.3.25(requiresgh auth login; CI publish uses this workflow). - Overnight bench:
pwsh -File scripts/run_d17_overnight.ps1— updateovernight_resultsinBASELINE_LOCK.jsonafter a real 300k run.
Phase 8 maintainer notes
- Baseline lock update:
pwsh -File scripts/update_baseline_lock.ps1 -Run d17(or-Run d21,-Run cell-sweep; add-Fastfor smoke) — wrapscypha_baseline_lockCLI. - Cross-profile bench:
cypha_bench_run --domain-tag d22— d18 intelligence + d16 EWC probe + d20 cell sweep; profilebench/config/d22_intelligence_cross_profile.json. - Hybrid EWC: SSM/GRIA α Fisher overlay + B0
ngram_count_tableprior; H01 α forget gate; Cypha sequence checkpoint persists ngram counts. - CI gate: 96 CTests (
ctest -R native_); optionalfederated_tlsjob runsnative_federated_tls_smokewith-DCYPHA_ENABLE_OPENSSL=ON(bash scripts/ci_federated_tls_linux.shlocally).
Phase 9 maintainer notes (v2.3.9, shipped)
- Unified overnight:
pwsh -File scripts/run_overnight_all.ps1— D17 + d21 RPSM + 28-variant cell sweep +update_baseline_lock.ps1refresh ofbench/BASELINE_LOCK.json. Add-Fastfor smoke token budgets. - Overnight lock validation:
cypha_bench_run --domain-tag d23— FAST wiring check for baseline-lock schema and mini overnight path; profilebench/config/d23_overnight_lock_profile.json. - Hybrid EWC weight Fisher: diagonal Fisher on GRIA U/V + SSM W_fast (extends Phase 8 α Fisher); EWC anchor/Fisher blocks persisted in Cypha
checkpoint.json. - CI gate: 98 CTests (
ctest -R native_); smokesnative_d23_overnight_lock_smoke,native_ewc_weights_smoke.
Phase 10 maintainer notes (v2.3.10, shipped)
- Hybrid EWC bias + W_slow Fisher: diagonal Fisher on GRIA
bias+ SSMW_slow(extends Phase 9 weight Fisher); CTestnative_ewc_weights_smoke. - Baseline lock all runs:
cypha_baseline_lock --run all --fast --lock-file bench/BASELINE_LOCK.json— orpwsh -File scripts/update_baseline_lock.ps1 -Run all -Fast. - Production lock validation:
cypha_bench_run --domain-tag d24— end-to-endBASELINE_LOCK.jsoncheck under production profiles; profilebench/config/d24_production_lock_profile.json. - Federated TLS Windows mirror:
pwsh -File scripts/ci_federated_tls_windows.ps1— local Windows mirror of optionalfederated_tlsCI job (-DCYPHA_ENABLE_OPENSSL=ON,native_federated_tls_smoke; skip without OpenSSL). - CI gate: 99 CTests (
ctest -R native_); smokesnative_d24_production_lock_smoke,native_ewc_weights_smoke.
Phase 11 maintainer notes (v2.3.11, shipped)
- WikiText-2 download:
pwsh -File scripts/download_wikitext2.ps1orbash scripts/download_wikitext2.sh— extracts tobench/data/wikitext2/wikitext-2/(wiki.{train,valid,test}.tokens). - Gutenberg fallback: when WikiText is absent, d17/d21 bench uses
bench/data/gutenberg/*.txtwith source taggutenberg_fallback(Moby Dick preferred). - Corpus readiness:
corpus_smoke(direct d17/d21 load probe);cypha_bench_run --domain-tag d25— profilebench/config/d25_corpus_readiness_profile.json; reportbench/report/tables/d25_corpus_readiness.json. - Overnight without WikiText: add
-Fasttorun_d17_overnight.ps1,run_rpsm_overnight.ps1, orrun_overnight_all.ps1— setsCYPHA_BENCH_FAST=1for synthetic corpus fallback. - CI gate: 101 CTests (
ctest -R native_); new smokesnative_d25_corpus_smoke,native_corpus_smoke.
Phase 12 maintainer notes (v2.3.12, shipped everywhere)
- Medium overnight tier: add
-Mediumtorun_d17_overnight.ps1,run_rpsm_overnight.ps1, orrun_overnight_all.ps1— 5k train / 256 eval with real WikiText or gutenberg (noCYPHA_BENCH_FAST).cypha_baseline_lock --mediumwritesstatus=medium_smoke. - Medium lock validation:
cypha_bench_run --domain-tag d26— profilebench/config/d26_medium_overnight_profile.json; reportbench/report/tables/d26_medium_overnight_validation.json. - Baseline lock validator:
pwsh -File scripts/validate_baseline_lock.ps1(add-Strictto rejectfast_smoke-only overnight); C++ CLIbaseline_lock_validate --lock-file bench/BASELINE_LOCK.json. - Release preview:
pwsh -File scripts/publish_release.ps1 -Tag v2.3.12 -DryRun(or-NotesOnly) — notes to stdout withoutgh. - Optional CI:
corpus_and_d25job — WikiText fetch +native_corpus_smoke/native_d25_corpus_smoke(continue-on-error). - CI gate: 103 CTests at Phase 12 (
ctest -R native_); new smokesnative_d26_medium_overnight_smoke,native_baseline_lock_validate_smoke.
Phase 13 maintainer notes (v2.3.13, shipped)
- Production overnight tier: add
-Productiontorun_d17_overnight.ps1,run_rpsm_overnight.ps1, orrun_overnight_all.ps1— 300k train / 2000 eval with real WikiText or gutenberg (mutually exclusive with-Fast/-Medium).cypha_baseline_lock --productionwritesstatus=productionand setsCYPHA_BENCH_FULL_CORPUS=1,CYPHA_BENCH_OVERNIGHT=1,CYPHA_BENCH_FULL_N_TRAIN=300000. - Dedicated production runner:
pwsh -File scripts/run_production_overnight.ps1— chainsrun_overnight_all.ps1 -Production, logs tobench/results/production_overnight_<timestamp>.log. Maintainer-only; not run in CI. - Production lock validation:
cypha_bench_run --domain-tag d27— profilebench/config/d27_production_lock_profile.json; reportbench/report/tables/d27_production_lock_validation.json. Smoke passes withpending_productionwhen lock has no 300k run yet. - Production validator:
pwsh -File scripts/validate_baseline_lock.ps1 -Production— whenovernight_results.n_train >= 300000, requirestatus=productionorcompletedand BPC within 0.05 of d17 hybrid 2.873 pin; C++ CLIbaseline_lock_validate --production. - CI gate: 104 CTests (
ctest -R native_); new smokenative_d27_production_lock_smoke. Full 300k production overnight remains maintainer workflow.
Phase 14 maintainer notes (v2.3.14, shipped)
- Status validator fix:
pwsh -File scripts/validate_baseline_lock.ps1andbaseline_lock_validateacceptmedium_smokeandproduction(fixes lock validation after medium/production overnight runs). - Cell sweep artifact path: default overnight output
bench/results/cell_sweepviabench_paths::results_dir(); wired throughcypha_baseline_lock --output-dir,update_baseline_lock.ps1, andrun_overnight_all.ps1. - Unified overnight completion:
cypha_bench_run --domain-tag d28— cross-checkovernight_results,rpsm_results, andcell_sweep_resultsfor matchingn_train/n_eval; profilebench/config/d28_overnight_complete_profile.json. - Post-overnight finalize:
pwsh -File scripts/finalize_production_overnight.ps1—validate_baseline_lock.ps1 -Production, d27 + d28 bench domains, lock section summary; chained fromrun_production_overnight.ps1on success. - Optional local gate: set
CYPHA_VALIDATE_OVERNIGHT_COMPLETE=1oncypha_native_validate_all.ps1to run d28 after baseline lock validate. - CI gate: 106 CTests (
ctest -R native_); new smokesnative_d28_overnight_complete_smoke,native_baseline_lock_validate_production_status. Full 300k production overnight remains maintainer workflow.
Phase 15 maintainer notes (v2.3.15, shipped)
- Release readiness validation:
cypha_bench_run --domain-tag d29— schema + production tier (d27) + overnight-complete (d28) + release script presence; profilebench/config/d29_release_readiness_profile.json; reportbench/report/tables/d29_release_readiness_validation.json.pending_releasewhen gates pending (smoke pass);release_readywhen both production and overnight-complete validated @ 300k. - Lock commit helper:
pwsh -File scripts/commit_production_lock.ps1— chainsfinalize_production_overnight.ps1, then stage/commitbench/BASELINE_LOCK.jsonwhenovernight_results.n_train >= 300000(-DryRunpreview;-Forceto commit; never pushes). - Production overnight watcher:
pwsh -File scripts/watch_production_overnight.ps1— log growth, process PIDs, lock section summary;-Oncesnapshot; stall warn after 30m without log growth. - Local validate env vars: set
CYPHA_VALIDATE_OVERNIGHT_COMPLETE=1,CYPHA_VALIDATE_RELEASE_READINESS=1,CYPHA_VALIDATE_PRODUCTION=1, orCYPHA_STRICT_TEST_COUNT=1oncypha_native_validate_all.ps1for optional d28/d29/production gates and strict 107 CTest count check. - CI gate: 107 CTests (
ctest -R native_); new smokenative_d29_release_readiness_smoke. Full 300k production overnight in progress — not run in CI;gh auth loginrequired for localpublish_release.ps1publish.
Phase 16 maintainer notes (v2.3.16, shipped)
- Artifact path hygiene validation:
cypha_bench_run --domain-tag d30— legacy repo-rootresults/path detection incell_sweep_results.artifact_path, verifiesbench/results/.gitkeep; profilebench/config/d30_artifact_hygiene_profile.json; reportbench/report/tables/d30_artifact_hygiene_validation.json. - Legacy results migration:
pwsh -File scripts/migrate_legacy_results.ps1 -DryRun(preview) or-RemoveLegacy(copy then delete repo-rootresults/when destination has all files). - Overnight progress logging:
run_d17_overnight.ps1tees tobench/results/overnight_d17_<timestamp>.log; stderr[cyphalm]/[cell_sweep]tags during full overnight runs. - Local validate env var: set
CYPHA_VALIDATE_ARTIFACT_HYGIENE=1oncypha_native_validate_all.ps1to run d30 after rebuild. - CI gate: 108 CTests (
ctest -R native_); new smokenative_d30_artifact_hygiene_smoke. Full 300k production overnight in progress — not run in CI;gh auth loginrequired for localpublish_release.ps1publish.
Phase 17 maintainer notes (v2.3.17, shipped)
- Post-overnight pipeline validation:
cypha_bench_run --domain-tag d31— d27→d30 chain + pipeline script presence (poll_and_finalize_overnight.ps1,finalize_production_overnight.ps1,commit_production_lock.ps1,migrate_legacy_results.ps1); profilebench/config/d31_post_overnight_pipeline_profile.json; reportbench/report/tables/d31_post_overnight_pipeline_validation.json. - Poll + finalize:
pwsh -File scripts/poll_and_finalize_overnight.ps1— poll until overnight processes exit, thenfinalize_production_overnight.ps1+commit_production_lock.ps1(-DryRunpreview by default;-Forceto git commit; never pushes);watch_production_overnight.ps1hints this when processes disappear. - Legacy cleanup:
pwsh -File scripts/cleanup_legacy_results.ps1 -DryRun(preview) or without-DryRun(migrate + remove repo-rootresults/);migrate_legacy_results.ps1 -ArchiveLegacyarchives legacyresults/tobench/results/legacy_archive_<timestamp>/. - Local validate env var: set
CYPHA_VALIDATE_POST_OVERNIGHT_PIPELINE=1oncypha_native_validate_all.ps1to run d31 after rebuild. - CI gate: 109 CTests (
ctest -R native_); new smokenative_d31_post_overnight_pipeline_smoke. Full 300k production overnight in progress — not run in CI;gh auth loginrequired for localpublish_release.ps1publish.
Full Changelog: v2.3.24...v2.3.25