Skip to content

CR: feat/biometrics-calibration - #17

Closed
ng wants to merge 215 commits into
cr-base/824-0922bc08from
feat/biometrics-calibration
Closed

ng wants to merge 215 commits into
cr-base/824-0922bc08from
feat/biometrics-calibration

Conversation

@ng

@ng ng commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Proxy of sleepypod#824 for CodeRabbit review.

Pinned source head: 7b9ac5d37add24275ba18bae0403f144819f8bc1. Dedicated base matches source dev at 0922bc08e407956ecba45e18daeaaeb67d5b8806 to preserve other proxy PRs.

Biometric personalization previously lacked a shared, reproducible path from reference comparison to an acknowledged runtime change. This adds per-side versioned profiles, retained evaluations and explicit activation/rollback across the web UI, REST/tRPC and MCP. Original observations retain their provenance and stay distinct from current-classifier views and replay results.

The implementation includes:

  • Versioned defaults, Python/TypeScript configuration parity, legacy stage migration, durable activation intent/outbox and actual consumer receipts.
  • Typed reference normalization, immutable whole-night datasets, bounded durable replay, coverage-aware default/current/candidate scoring and hash-bound evidence checks.
  • Calibration UI, localized provenance views/CSV exports, MCP tools/resources and maintained calibration, explanation and external algorithm-development prompts.
  • Separate prospective shadow sinks and health reports, plus isolated off-pod Docker experiments with resource limits, attempt/exposure accounting and a reviewed release path.
  • Deployment packaging that excludes workstation Python environments, and direct runtime health-file probes so a macOS-built server retains Linux admission collection.

Validation at 7b9ac5d3: 6,887 Vitest tests passed (18 skipped), across 482 passing test files. Browser tests, all seven Python module jobs, both builds, TypeScript and lint passed. Patch coverage is 87.73%, passing the repository's unchanged eight-point margin below its 88.93% target. Pre-push checks also passed. The added regressions cover coordinator admission/cancellation/resource ownership, discovery boundaries, retained report publication/release, and the live-shadow exit race.

Target-pod resource evidence includes an eight-hour, three-configuration synthetic replay completed in 45.94 minutes with zero read/API failures and unchanged fixture canonical observations. The separate 30-minute synthetic shadow supervisor measurement completed in 61.34 seconds with confirmed cleanup and zero probe failures. A subsequent 180-second live source/isolated sink run completed with six retained comparison points, zero canonical rows in the isolated database and 1,587 successful read-only API probes. It exposed and verified a fix for RSS disappearance during clean worker exit. Detailed identities, observations and limitations are in docs/biometrics-replay-benchmark.md.

Synthetic performance evidence does not establish clinical accuracy. Validated promotion and prospective shadow admission still require matching reviewed qualification registries; no success is fabricated when that evidence is absent. See docs/biometrics-calibration-readiness.md for the acceptance map and remaining rollout evidence.

Deployed build 4c3a6a6e (including the live-shadow exit fix) is verified on the target pod: calibration/health endpoints return 200, replay admission is configured and admitted, core and numerical services are active, and the data-path verdict is healthy. No user profile or hardware temperature setting was changed. Subsequent changes add tests, a measurement harness and documentation; they do not change the deployed runtime.

CodeRabbit full review was requested in this PR. The provider skipped it because the change exceeds its 100-file review limit; its passing check does not mean a review was completed. All build, test and coverage checks pass on the final revision; see the checks panel for current status.

ng added 30 commits October 12, 2026 09:30
ng added 24 commits October 13, 2026 05:06
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 552 files, which is 252 over the limit of 300.

To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 6fe256c6-fa5d-48fd-b063-c6257c76da16
📥 Commits

Reviewing files that changed from the base of the PR and between 0922bc0 and 7b9ac5d.

⛔ Files ignored due to path filters: 2
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • src/db/tests/__snapshots__/schema.test.ts.snap is excluded by !**/*.snap
📒 Files selected for processing: 552
  • .github/workflows/mutation.yml
  • .github/workflows/python-modules.yml
  • .github/workflows/test.yml
  • app/api/raw/[filename]/route.ts
  • app/api/raw/[filename]/tests/route.test.ts
  • docs/DEPLOYMENT.md
  • docs/biometrics-backtest-jobs.md
  • docs/biometrics-calibration-api.md
  • docs/biometrics-calibration-readiness.md
  • docs/biometrics-datasets.md
  • docs/biometrics-reference-imports.md
  • docs/biometrics-replay-benchmark.md
  • docs/biometrics-runtime-activation.md
  • docs/performance/biometrics-replay-2026-10-13/deployment-policy.json
  • docs/performance/biometrics-replay-2026-10-13/deployment-verification.json
  • docs/performance/biometrics-replay-2026-10-13/fullnight-db52f1da.json
  • docs/performance/biometrics-replay-2026-10-13/live-shadow-operational.json
  • docs/performance/biometrics-replay-2026-10-13/shadow-4ee74c25.json
  • docs/performance/biometrics-replay-2026-10-13/smoke-4453c0a5.json
  • drizzle.package-experiments.config.ts
  • eslint.config.ts
  • instrumentation.ts
  • modules/common/biometrics/__init__.py
  • modules/common/biometrics/build_identity.py
  • modules/common/biometrics/collection_worker.py
  • modules/common/biometrics/config.py
  • modules/common/biometrics/execution_lock.py
  • modules/common/biometrics/frames.py
  • modules/common/biometrics/gates.py
  • modules/common/biometrics/inspection_worker.py
  • modules/common/biometrics/manifest.v1.json
  • modules/common/biometrics/processing.py
  • modules/common/biometrics/publication_worker.py
  • modules/common/biometrics/raw_artifacts.py
  • modules/common/biometrics/raw_publication.py
  • modules/common/biometrics/raw_records.py
  • modules/common/biometrics/raw_sources.py
  • modules/common/biometrics/replay.py
  • modules/common/biometrics/replay_worker.py
  • modules/common/biometrics/retained_replay.py
  • modules/common/biometrics/routing.py
  • modules/common/biometrics/runtime.py
  • modules/common/biometrics/shadow.py
  • modules/common/biometrics/shadow_build.py
  • modules/common/biometrics/shadow_process.py
  • modules/common/biometrics/shadow_worker.py
  • modules/common/biometrics/signal.py
  • modules/common/test_biometric_config.py
  • modules/common/test_biometric_routing.py
  • modules/common/test_biometric_runtime.py
  • modules/common/test_build_identity.py
  • modules/common/test_execution_lock.py
  • modules/common/test_inspection_worker.py
  • modules/common/test_raw_artifacts.py
  • modules/common/test_raw_collection.py
  • modules/common/test_raw_records.py
  • modules/common/test_raw_sources.py
  • modules/common/test_replay_resources.py
  • modules/common/test_shadow_build.py
  • modules/common/test_shadow_process.py
  • modules/common/test_worker_limits.py
  • modules/piezo-processor/fixtures/default-processing-v1.json
  • modules/piezo-processor/main.py
  • modules/piezo-processor/manifest.json
  • modules/piezo-processor/runtime_adapter.py
  • modules/piezo-processor/test_default_golden.py
  • modules/piezo-processor/test_main.py
  • modules/piezo-processor/test_raw_publication.py
  • modules/piezo-processor/test_replay_worker.py
  • modules/piezo-processor/test_retained_replay.py
  • modules/piezo-processor/test_runtime_adapter.py
  • modules/piezo-processor/test_shadow.py
  • modules/piezo-processor/test_shadow_worker.py
  • modules/piezo-processor/test_shared_gates.py
  • modules/piezo-processor/test_shared_signal.py
  • modules/piezo-processor/test_stateful_processing.py
  • modules/piezo-processor/test_waveform_replay.py
  • next-env.d.ts
  • package.json
  • scripts/algorithm-experiments/README.md
  • scripts/algorithm-experiments/accuracy-policy.ts
  • scripts/algorithm-experiments/accuracy.test.ts
  • scripts/algorithm-experiments/accuracy.ts
  • scripts/algorithm-experiments/cli.ts
  • scripts/algorithm-experiments/comparison.test.ts
  • scripts/algorithm-experiments/comparison.ts
  • scripts/algorithm-experiments/container.test.ts
  • scripts/algorithm-experiments/container.ts
  • scripts/algorithm-experiments/determinism.ts
  • scripts/algorithm-experiments/environment.test.ts
  • scripts/algorithm-experiments/environment.ts
  • scripts/algorithm-experiments/files.test.ts
  • scripts/algorithm-experiments/files.ts
  • scripts/algorithm-experiments/fixtures.test.ts
  • scripts/algorithm-experiments/fixtures.ts
  • scripts/algorithm-experiments/input.test.ts
  • scripts/algorithm-experiments/input.ts
  • scripts/algorithm-experiments/ledger.test.ts
  • scripts/algorithm-experiments/ledger.ts
  • scripts/algorithm-experiments/managed-evidence.ts
  • scripts/algorithm-experiments/managed-files.test.ts
  • scripts/algorithm-experiments/managed-files.ts
  • scripts/algorithm-experiments/managed-protocol.ts
  • scripts/algorithm-experiments/managed.test.ts
  • scripts/algorithm-experiments/managed.ts
  • scripts/algorithm-experiments/policy.ts
  • scripts/algorithm-experiments/preflight-evidence.ts
  • scripts/algorithm-experiments/preflight.ts
  • scripts/algorithm-experiments/qualification.test.ts
  • scripts/algorithm-experiments/qualification.ts
  • scripts/algorithm-experiments/recovery.test.ts
  • scripts/algorithm-experiments/recovery.ts
  • scripts/algorithm-experiments/resource-assessment.test.ts
  • scripts/algorithm-experiments/resource-assessment.ts
  • scripts/algorithm-experiments/resource-test-policy.ts
  • scripts/algorithm-experiments/resources.test.ts
  • scripts/algorithm-experiments/resources.ts
  • scripts/algorithm-experiments/staging-recovery.test.ts
  • scripts/algorithm-experiments/staging-recovery.ts
  • scripts/algorithm-experiments/workspace.test.ts
  • scripts/algorithm-experiments/workspace.ts
  • scripts/benchmarks/biometrics-live-shadow-runner.ts
  • scripts/benchmarks/biometrics-probe.py
  • scripts/benchmarks/biometrics-runner.ts
  • scripts/benchmarks/biometrics-shadow-runner.ts
  • scripts/benchmarks/biometrics-waveform-fixture.py
  • scripts/benchmarks/biometrics-waveform-runner.ts
  • scripts/build/biometrics-worker.mjs
  • scripts/build/demo-biometric-worker.mjs
  • scripts/deploy
  • scripts/tests/eslintConfig.test.ts
  • src/biometrics/algorithms/canonical-json.ts
  • src/biometrics/algorithms/canonical.ts
  • src/biometrics/algorithms/registry-core.ts
  • src/biometrics/algorithms/registry.ts
  • src/biometrics/algorithms/tests/data-hash.test.ts
  • src/biometrics/algorithms/tests/registry.test.ts
  • src/biometrics/background-admission.ts
  • src/biometrics/backtest/admission-service.ts
  • src/biometrics/backtest/admission.ts
  • src/biometrics/backtest/artifacts.ts
  • src/biometrics/backtest/child.ts
  • src/biometrics/backtest/common-support.ts
  • src/biometrics/backtest/contracts.ts
  • src/biometrics/backtest/coordinator-entry.ts
  • src/biometrics/backtest/coordinator-lanes.ts
  • src/biometrics/backtest/coordinator-queue.ts
  • src/biometrics/backtest/coordinator-service.ts
  • src/biometrics/backtest/coordinator-tasks.ts
  • src/biometrics/backtest/coordinator.ts
  • src/biometrics/backtest/coverage.ts
  • src/biometrics/backtest/datasets.ts
  • src/biometrics/backtest/descriptors.ts
  • src/biometrics/backtest/discovery.ts
  • src/biometrics/backtest/evaluator-core.ts
  • src/biometrics/backtest/evaluator.ts
  • src/biometrics/backtest/execution-budget.ts
  • src/biometrics/backtest/host-startup.ts
  • src/biometrics/backtest/host.ts
  • src/biometrics/backtest/job-operations.ts
  • src/biometrics/backtest/jobs.ts
  • src/biometrics/backtest/location.ts
  • src/biometrics/backtest/night-summary-core.ts
  • src/biometrics/backtest/night-summary.ts
  • src/biometrics/backtest/numeric-comparison.ts
  • src/biometrics/backtest/numeric-night-summary.ts
  • src/biometrics/backtest/numeric-subgroups.ts
  • src/biometrics/backtest/numeric-trace-page.ts
  • src/biometrics/backtest/objective-finalization.ts
  • src/biometrics/backtest/objective-policy.ts
  • src/biometrics/backtest/process-group-memory-contract.ts
  • src/biometrics/backtest/process-group-memory.ts
  • src/biometrics/backtest/raw-catalog.ts
  • src/biometrics/backtest/raw-collection-child.ts
  • src/biometrics/backtest/raw-inspection-child.ts
  • src/biometrics/backtest/raw-publication-child.ts
  • src/biometrics/backtest/reference-trace-page.ts
  • src/biometrics/backtest/report-summary.ts
  • src/biometrics/backtest/runner.ts
  • src/biometrics/backtest/splits.ts
  • src/biometrics/backtest/stage-comparison.ts
  • src/biometrics/backtest/stage-objective.ts
  • src/biometrics/backtest/submission.ts
  • src/biometrics/backtest/tests/admission-build.test.ts
  • src/biometrics/backtest/tests/admission-collector.test.ts
  • src/biometrics/backtest/tests/admission-service.test.ts
  • src/biometrics/backtest/tests/admission.test.ts
  • src/biometrics/backtest/tests/artifacts.test.ts
  • src/biometrics/backtest/tests/child.test.ts
  • src/biometrics/backtest/tests/common-support.test.ts
  • src/biometrics/backtest/tests/coordinator-entry.test.ts
  • src/biometrics/backtest/tests/coordinator-queue.test.ts
  • src/biometrics/backtest/tests/coordinator-tasks.test.ts
  • src/biometrics/backtest/tests/coordinator.test.ts
  • src/biometrics/backtest/tests/datasets.test.ts
  • src/biometrics/backtest/tests/discovery.test.ts
  • src/biometrics/backtest/tests/evaluator.test.ts
  • src/biometrics/backtest/tests/fixtures/backtest.ts
  • src/biometrics/backtest/tests/fixtures/stage-objective.ts
  • src/biometrics/backtest/tests/host-startup.test.ts
  • src/biometrics/backtest/tests/host.test.ts
  • src/biometrics/backtest/tests/job-operations.test.ts
  • src/biometrics/backtest/tests/jobs.test.ts
  • src/biometrics/backtest/tests/location.test.ts
  • src/biometrics/backtest/tests/night-summary.test.ts
  • src/biometrics/backtest/tests/numeric-comparison.test.ts
  • src/biometrics/backtest/tests/numeric-night-summary.test.ts
  • src/biometrics/backtest/tests/numeric-subgroups.test.ts
  • src/biometrics/backtest/tests/numeric-traces.test.ts
  • src/biometrics/backtest/tests/objective-finalization.test.ts
  • src/biometrics/backtest/tests/objective-policy.test.ts
  • src/biometrics/backtest/tests/process-group-memory.test.ts
  • src/biometrics/backtest/tests/raw-artifact-references.test.ts
  • src/biometrics/backtest/tests/raw-catalog.test.ts
  • src/biometrics/backtest/tests/raw-collection-child.test.ts
  • src/biometrics/backtest/tests/raw-inspection-child.test.ts
  • src/biometrics/backtest/tests/raw-publication-child.test.ts
  • src/biometrics/backtest/tests/reference-traces.test.ts
  • src/biometrics/backtest/tests/report-summary.test.ts
  • src/biometrics/backtest/tests/runner.test.ts
  • src/biometrics/backtest/tests/splits.test.ts
  • src/biometrics/backtest/tests/stage-comparison.test.ts
  • src/biometrics/backtest/tests/stage-objective.test.ts
  • src/biometrics/backtest/tests/traces.test.ts
  • src/biometrics/backtest/tests/uncertainty.test.ts
  • src/biometrics/backtest/tests/waveform-build.test.ts
  • src/biometrics/backtest/tests/waveform-child.test.ts
  • src/biometrics/backtest/tests/waveform-dataset.test.ts
  • src/biometrics/backtest/tests/waveform-evaluator.test.ts
  • src/biometrics/backtest/tests/waveform-publication.integration.test.ts
  • src/biometrics/backtest/tests/waveform-resources.test.ts
  • src/biometrics/backtest/tests/waveform-selection.test.ts
  • src/biometrics/backtest/trace-contracts.ts
  • src/biometrics/backtest/trace-page.ts
  • src/biometrics/backtest/traces.ts
  • src/biometrics/backtest/uncertainty-core.ts
  • src/biometrics/backtest/uncertainty-policy.ts
  • src/biometrics/backtest/uncertainty.ts
  • src/biometrics/backtest/waveform-build.ts
  • src/biometrics/backtest/waveform-child.ts
  • src/biometrics/backtest/waveform-contracts.ts
  • src/biometrics/backtest/waveform-dataset.ts
  • src/biometrics/backtest/waveform-execution.ts
  • src/biometrics/backtest/waveform-output.ts
  • src/biometrics/backtest/waveform-publication.ts
  • src/biometrics/backtest/waveform-resources.ts
  • src/biometrics/backtest/waveform-selection.ts
  • src/biometrics/backtest/worker-entry.ts
  • src/biometrics/packages/README.md
  • src/biometrics/packages/manifest.ts
  • src/biometrics/packages/protocol.ts
  • src/biometrics/packages/tests/fixture.ts
  • src/biometrics/packages/tests/manifest.test.ts
  • src/biometrics/packages/tests/protocol.test.ts
  • src/biometrics/profiles/activation.ts
  • src/biometrics/profiles/contracts.ts
  • src/biometrics/profiles/diff.ts
  • src/biometrics/profiles/evaluation-assessment.ts
  • src/biometrics/profiles/evaluation-identity.ts
  • src/biometrics/profiles/evaluation-store.ts
  • src/biometrics/profiles/health.ts
  • src/biometrics/profiles/history.ts
  • src/biometrics/profiles/legacy-stage.ts
  • src/biometrics/profiles/overview.ts
  • src/biometrics/profiles/promotion-build.ts
  • src/biometrics/profiles/qualification-registry.ts
  • src/biometrics/profiles/recovery.ts
  • src/biometrics/profiles/replay-baseline.ts
  • src/biometrics/profiles/replay-context.ts
  • src/biometrics/profiles/runtime-host.ts
  • src/biometrics/profiles/runtime.ts
  • src/biometrics/profiles/stage-view.ts
  • src/biometrics/profiles/status.ts
  • src/biometrics/profiles/store.ts
  • src/biometrics/profiles/tests/activation.test.ts
  • src/biometrics/profiles/tests/evaluation-assessment.test.ts
  • src/biometrics/profiles/tests/evaluation-identity.test.ts
  • src/biometrics/profiles/tests/fixtures/evaluation.ts
  • src/biometrics/profiles/tests/fixtures/replay-context.ts
  • src/biometrics/profiles/tests/health.test.ts
  • src/biometrics/profiles/tests/history.test.ts
  • src/biometrics/profiles/tests/provenance-migration.test.ts
  • src/biometrics/profiles/tests/qualification-registry.test.ts
  • src/biometrics/profiles/tests/recovery.test.ts
  • src/biometrics/profiles/tests/replay-context.test.ts
  • src/biometrics/profiles/tests/runtime-host.test.ts
  • src/biometrics/profiles/tests/runtime-integration.test.ts
  • src/biometrics/profiles/tests/runtime.test.ts
  • src/biometrics/profiles/tests/stage-view.test.ts
  • src/biometrics/profiles/tests/store.test.ts
  • src/biometrics/profiles/tests/validated-activation.test.ts
  • src/biometrics/profiles/vital-provenance.ts
  • src/biometrics/profiles/vital-summary-provenance.ts
  • src/biometrics/references/alignment.ts
  • src/biometrics/references/comparison.ts
  • src/biometrics/references/contracts.ts
  • src/biometrics/references/legacy.ts
  • src/biometrics/references/normalize-core.ts
  • src/biometrics/references/normalize.ts
  • src/biometrics/references/parse.ts
  • src/biometrics/references/stage-scoring.ts
  • src/biometrics/references/store.ts
  • src/biometrics/references/tests/alignment.test.ts
  • src/biometrics/references/tests/normalize.test.ts
  • src/biometrics/references/tests/stage-scoring.test.ts
  • src/biometrics/references/tests/store.test.ts
  • src/biometrics/references/time.ts
  • src/biometrics/shadow/README.md
  • src/biometrics/shadow/active-database.ts
  • src/biometrics/shadow/active-reader.ts
  • src/biometrics/shadow/admission.ts
  • src/biometrics/shadow/attempt.ts
  • src/biometrics/shadow/build.ts
  • src/biometrics/shadow/cleanup-error.ts
  • src/biometrics/shadow/context.ts
  • src/biometrics/shadow/descriptors.ts
  • src/biometrics/shadow/device-identity.ts
  • src/biometrics/shadow/execution-policy.ts
  • src/biometrics/shadow/frame-source.ts
  • src/biometrics/shadow/health-monitor.ts
  • src/biometrics/shadow/host-entry.ts
  • src/biometrics/shadow/host.ts
  • src/biometrics/shadow/installed-attempt.ts
  • src/biometrics/shadow/installed-host.ts
  • src/biometrics/shadow/installed-preparation.ts
  • src/biometrics/shadow/live-sources.ts
  • src/biometrics/shadow/plan-contracts.ts
  • src/biometrics/shadow/planned-sources.ts
  • src/biometrics/shadow/preparation-contracts.ts
  • src/biometrics/shadow/preparation.ts
  • src/biometrics/shadow/process-cleanup.ts
  • src/biometrics/shadow/profiles.ts
  • src/biometrics/shadow/python-installation.ts
  • src/biometrics/shadow/receipt.ts
  • src/biometrics/shadow/report-contracts.ts
  • src/biometrics/shadow/report-core.ts
  • src/biometrics/shadow/report-operation.ts
  • src/biometrics/shadow/report.ts
  • src/biometrics/shadow/runtime-binding.ts
  • src/biometrics/shadow/service-host.ts
  • src/biometrics/shadow/service.ts
  • src/biometrics/shadow/startup.ts
  • src/biometrics/shadow/store.ts
  • src/biometrics/shadow/stream-join.ts
  • src/biometrics/shadow/submission-contracts.ts
  • src/biometrics/shadow/submission.ts
  • src/biometrics/shadow/tests/active-reader.test.ts
  • src/biometrics/shadow/tests/admission.test.ts
  • src/biometrics/shadow/tests/attempt.test.ts
  • src/biometrics/shadow/tests/build.test.ts
  • src/biometrics/shadow/tests/context.test.ts
  • src/biometrics/shadow/tests/device-identity.test.ts
  • src/biometrics/shadow/tests/fixtures/submission.ts
  • src/biometrics/shadow/tests/frame-source.test.ts
  • src/biometrics/shadow/tests/health-monitor.test.ts
  • src/biometrics/shadow/tests/host.test.ts
  • src/biometrics/shadow/tests/installed-attempt.test.ts
  • src/biometrics/shadow/tests/installed-host.test.ts
  • src/biometrics/shadow/tests/preparation.test.ts
  • src/biometrics/shadow/tests/process-cleanup.test.ts
  • src/biometrics/shadow/tests/python-installation.test.ts
  • src/biometrics/shadow/tests/runtime-binding.test.ts
  • src/biometrics/shadow/tests/service-host.test.ts
  • src/biometrics/shadow/tests/service.test.ts
  • src/biometrics/shadow/tests/startup.test.ts
  • src/biometrics/shadow/tests/store.test.ts
  • src/biometrics/shadow/tests/submission.test.ts
  • src/biometrics/shadow/tests/worker-child.test.ts
  • src/biometrics/shadow/tests/worker-protocol.test.ts
  • src/biometrics/shadow/worker-child.ts
  • src/biometrics/shadow/worker-protocol.ts
  • src/biometrics/shadow/worker-sink.ts
  • src/biometrics/tests/background-admission.test.ts
  • src/components/Settings/SettingsScreen.tsx
  • src/components/Settings/SleepStageRules.tsx
  • src/components/Settings/sections.ts
  • src/components/Settings/tests/SleepStageRules.test.tsx
  • src/components/Settings/tests/sections.test.ts
  • src/components/biometrics/BiometricsPage.tsx
  • src/components/biometrics/Calibration/BacktestJobs.tsx
  • src/components/biometrics/Calibration/BacktestReport.tsx
  • src/components/biometrics/Calibration/BacktestSubmission.tsx
  • src/components/biometrics/Calibration/BiometricCalibration.tsx
  • src/components/biometrics/Calibration/CalibrationBacktests.tsx
  • src/components/biometrics/Calibration/CalibrationHistory.tsx
  • src/components/biometrics/Calibration/CalibrationOverview.tsx
  • src/components/biometrics/Calibration/CalibrationReferences.tsx
  • src/components/biometrics/Calibration/CandidateStageFields.tsx
  • src/components/biometrics/Calibration/DatasetBuilder.tsx
  • src/components/biometrics/Calibration/DatasetLibrary.tsx
  • src/components/biometrics/Calibration/ExperimentBuilder.tsx
  • src/components/biometrics/Calibration/ExperimentLibrary.tsx
  • src/components/biometrics/Calibration/ManualProfileActivation.tsx
  • src/components/biometrics/Calibration/NumericReport.tsx
  • src/components/biometrics/Calibration/NumericTrace.tsx
  • src/components/biometrics/Calibration/ObjectiveThresholds.tsx
  • src/components/biometrics/Calibration/ProfileCandidateEditor.tsx
  • src/components/biometrics/Calibration/ProfileComparison.tsx
  • src/components/biometrics/Calibration/ProfileLibrary.tsx
  • src/components/biometrics/Calibration/ProfileRecovery.tsx
  • src/components/biometrics/Calibration/ReferenceLibrary.tsx
  • src/components/biometrics/Calibration/ReferenceOverlay.tsx
  • src/components/biometrics/Calibration/ReferenceTimeSpan.tsx
  • src/components/biometrics/Calibration/ReplayResources.tsx
  • src/components/biometrics/Calibration/ReplaySessionPicker.tsx
  • src/components/biometrics/Calibration/ShadowComparison.tsx
  • src/components/biometrics/Calibration/ShadowReport.tsx
  • src/components/biometrics/Calibration/ShadowRuns.tsx
  • src/components/biometrics/Calibration/ShadowSchedule.tsx
  • src/components/biometrics/Calibration/StageReport.tsx
  • src/components/biometrics/Calibration/StageTrace.tsx
  • src/components/biometrics/Calibration/ValidatedProfileActivation.tsx
  • src/components/biometrics/Calibration/WaveformDatasetBuilder.tsx
  • src/components/biometrics/Calibration/report-view.ts
  • src/components/biometrics/Calibration/shadow-schedule-recovery.ts
  • src/components/biometrics/Calibration/tests/BacktestJobs.test.tsx
  • src/components/biometrics/Calibration/tests/BacktestReport.test.tsx
  • src/components/biometrics/Calibration/tests/BacktestSubmission.test.tsx
  • src/components/biometrics/Calibration/tests/BiometricCalibration.test.tsx
  • src/components/biometrics/Calibration/tests/CalibrationReferences.test.tsx
  • src/components/biometrics/Calibration/tests/DatasetBuilder.test.tsx
  • src/components/biometrics/Calibration/tests/DatasetLibrary.test.tsx
  • src/components/biometrics/Calibration/tests/ExperimentBuilder.test.tsx
  • src/components/biometrics/Calibration/tests/ManualProfileActivation.test.tsx
  • src/components/biometrics/Calibration/tests/NumericReport.test.tsx
  • src/components/biometrics/Calibration/tests/NumericTrace.test.tsx
  • src/components/biometrics/Calibration/tests/ProfileCandidateEditor.test.tsx
  • src/components/biometrics/Calibration/tests/ProfileComparison.test.tsx
  • src/components/biometrics/Calibration/tests/ProfileLibrary.test.tsx
  • src/components/biometrics/Calibration/tests/ProfileRecovery.test.tsx
  • src/components/biometrics/Calibration/tests/ReferenceLibrary.test.tsx
  • src/components/biometrics/Calibration/tests/ReferenceOverlay.test.tsx
  • src/components/biometrics/Calibration/tests/ReferenceTimeSpan.test.tsx
  • src/components/biometrics/Calibration/tests/ReplayResources.test.tsx
  • src/components/biometrics/Calibration/tests/ReplaySessionPicker.test.tsx
  • src/components/biometrics/Calibration/tests/ShadowComparison.test.tsx
  • src/components/biometrics/Calibration/tests/ShadowRuns.test.tsx
  • src/components/biometrics/Calibration/tests/ShadowSchedule.test.tsx
  • src/components/biometrics/Calibration/tests/StageReport.test.tsx
  • src/components/biometrics/Calibration/tests/StageTrace.test.tsx
  • src/components/biometrics/Calibration/tests/ValidatedProfileActivation.test.tsx
  • src/components/biometrics/Calibration/tests/WaveformDatasetBuilder.test.tsx
  • src/components/biometrics/Calibration/tests/report-view.test.ts
  • src/components/biometrics/Calibration/tests/shadow-schedule-recovery.test.ts
  • src/components/biometrics/RawDataButton.tsx
  • src/components/biometrics/biometricsLogic.ts
  • src/components/biometrics/tests/BiometricsPage.test.tsx
  • src/components/biometrics/tests/biometricsLogic.test.ts
  • src/components/biometrics/tests/vitals-csv.test.ts
  • src/components/biometrics/vitals-csv.ts
  • src/db/biometrics-migrations/0020_black_patch.sql
  • src/db/biometrics-migrations/0021_common_hedge_knight.sql
  • src/db/biometrics-migrations/0022_ordinary_amphibian.sql
  • src/db/biometrics-migrations/0023_demonic_the_call.sql
  • src/db/biometrics-migrations/0024_silky_bloodscream.sql
  • src/db/biometrics-migrations/0025_worthless_kat_farrell.sql
  • src/db/biometrics-migrations/0026_overjoyed_fabian_cortez.sql
  • src/db/biometrics-migrations/0027_release_backtest_reports.sql
  • src/db/biometrics-migrations/0028_retained_raw_artifacts.sql
  • src/db/biometrics-migrations/0029_thick_typhoid_mary.sql
  • src/db/biometrics-migrations/0030_icy_maginty.sql
  • src/db/biometrics-migrations/meta/0020_snapshot.json
  • src/db/biometrics-migrations/meta/0021_snapshot.json
  • src/db/biometrics-migrations/meta/0022_snapshot.json
  • src/db/biometrics-migrations/meta/0023_snapshot.json
  • src/db/biometrics-migrations/meta/0024_snapshot.json
  • src/db/biometrics-migrations/meta/0025_snapshot.json
  • src/db/biometrics-migrations/meta/0026_snapshot.json
  • src/db/biometrics-migrations/meta/0027_snapshot.json
  • src/db/biometrics-migrations/meta/0028_snapshot.json
  • src/db/biometrics-migrations/meta/0029_snapshot.json
  • src/db/biometrics-migrations/meta/0030_snapshot.json
  • src/db/biometrics-migrations/meta/_journal.json
  • src/db/biometrics-schema.ts
  • src/db/migrations/0024_strong_the_order.sql
  • src/db/migrations/meta/0024_snapshot.json
  • src/db/migrations/meta/_journal.json
  • src/db/package-experiment-migrations/0000_bent_overlord.sql
  • src/db/package-experiment-migrations/meta/0000_snapshot.json
  • src/db/package-experiment-migrations/meta/_journal.json
  • src/db/package-experiment-schema.ts
  • src/db/schema.ts
  • src/db/tests/migrations.test.ts
  • src/db/tests/schema.test.ts
  • src/demo/biometrics/evaluator.ts
  • src/demo/biometrics/run.ts
  • src/demo/biometrics/stages.ts
  • src/demo/biometrics/worker-build.json
  • src/demo/biometrics/worker.ts
  • src/demo/handlers/biometric-backtests.ts
  • src/demo/handlers/biometric-datasets.ts
  • src/demo/handlers/biometric-references.ts
  • src/demo/handlers/biometric-utils.ts
  • src/demo/handlers/biometricShadow.ts
  • src/demo/handlers/biometricTuning.ts
  • src/demo/handlers/biometrics.ts
  • src/demo/handlers/index.ts
  • src/demo/handlers/sleepStages.ts
  • src/demo/tests/biometric-backtests.test.ts
  • src/demo/tests/biometric-datasets.test.ts
  • src/demo/tests/biometric-evaluator.test.ts
  • src/demo/tests/biometric-references.test.ts
  • src/demo/tests/biometric-shadow.test.ts
  • src/demo/tests/biometric-worker.test.ts
  • src/demo/tests/biometricTuning.test.ts
  • src/demo/tests/sleepStages.test.ts
  • src/hardware/alarmPersistence.ts
  • src/homekit/storage.ts
  • src/lib/i18n/locales/en.js
  • src/lib/i18n/locales/en.po
  • src/lib/i18n/locales/es.js
  • src/lib/i18n/locales/es.po
  • src/lib/i18n/locales/pseudo.js
  • src/lib/i18n/locales/pseudo.po
  • src/lib/podStorage.ts
  • src/lib/sleep-stage-rules.ts
  • src/mcp/README.md
  • src/mcp/server.ts
  • src/mcp/tests/server.test.ts
  • src/mcp/tools/biometrics.ts
  • src/server/instrumentation-node.ts
  • src/server/openapi.ts
  • src/server/routers/app.ts
  • src/server/routers/archivePush.ts
  • src/server/routers/biometricShadow.ts
  • src/server/routers/biometricTuning.ts
  • src/server/routers/biometrics.ts
  • src/server/routers/raw.ts
  • src/server/routers/sleepStages.ts
  • src/server/routers/tests/app.test.ts
  • src/server/routers/tests/biometricShadow.test.ts
  • src/server/routers/tests/biometricTuning.test.ts
  • src/server/routers/tests/biometrics.provenance.test.ts
  • src/server/routers/tests/biometrics.referenceStages.test.ts
  • src/server/routers/tests/biometrics.referenceVitals.test.ts
  • src/server/routers/tests/biometrics.test.ts
  • src/server/routers/tests/sleepStages.test.ts
  • src/server/tests/openapi.test.ts
  • src/streaming/piezoStream.ts
  • src/streaming/prospectiveFrameTap.ts
  • src/streaming/tests/piezoStreamSource.test.ts
  • stryker.config.mjs
  • tests/browser/README.md
  • tests/browser/calibration.e2e.ts
  • tests/browser/fixture.ts
  • tests/browser/playwright.config.ts
  • tests/browser/provenance.e2e.ts
  • tests/browser/run.mjs
  • tests/browser/workflow.e2e.ts
  • tests/instrumentation.initialize.test.ts
  • tests/instrumentation.runtime-boundary.test.ts
  • tests/updateDeploy.test.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@ng

ng commented Oct 13, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review skipped: 552 files exceed the limit of 300.

@ng

ng commented Oct 14, 2026

Copy link
Copy Markdown
Owner Author

Source PR sleepypod#824 superseded by merged stack sleepypod#828–sleepypod#831 - closing proxy.

@ng ng closed this Oct 14, 2026
@ng
ng deleted the feat/biometrics-calibration branch October 14, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant