Skip to content

[P1 Epic] Integrate the final multi-source room learner and guided calibration #2418

Open

Description

@proffesor-for-testing

End-user outcome

Make room calibration produce a genuinely trained, account-owned multi-source learner that uses all selected RF sources, can learn from aligned optional references, and keeps RF inference working when the phone leaves. First delivered task: room-selective binary presence, including occupied-static detection and adjacent-area rejection. Pose/count/Vitals need their own qualification.

Owner: Dragan; implementation agent: Codex. Highest current RuView integration priority. This tracks source, CI, local/device testing and physical acceptance separately; no merge/release or hardware-write authority is implied.

Existing building blocks to integrate

  • Canonical RF records/adapters: ruview-unified RfFrameV2 / RfTensor.
  • Genuine CSI encoder and contrastive objective/update: AETHER; guided SpecialistBank/MultiNodeMixture as a comparative statistical baseline.
  • Geometry/domain conditioning: MERIDIAN primitives where supported by measured geometry.
  • Reference alignment/validation: ruview-groundtruth; bounded derived phone camera/LiDAR labels and geometry.
  • Qualified claim fusion: ruview-fusion plus source-aware coherence/contradiction mechanisms.
  • Keep selected-source detector and draft feat(calibration): opt-in per-source FieldModel shadow bank #2417 per-source bank as explicit controls, not the final learner.

Design gaps that must be closed

Delivery sequence

  1. Source-preserving observation/cohort and calibration contracts.
  2. Real multi-view representation learning plus room-presence head and frozen inference.
  3. Managed capture/train/evaluate/store/adopt lifecycle and protected API.
  4. App guided capture, source diagnostics and paired derived-teacher integration.
  5. Independent physical acceptance, linked to cognitum-one/ruview-mobile#105.

Implementation children will be linked below. Source should be reviewable in bounded stacked PRs; never mark this epic done from green CI alone.

Acceptance

  • All required selected RF sources have distinct trained/scored provenance; missing/stale/changed sources are explicit.
  • Behavioral tests prove the actual objective changes intended weights and improves a disjoint controlled fixture; wrong labels/random controls do not manufacture a pass.
  • Real managed capture → training → persisted candidate → cold-loaded inference works through composed production code.
  • Optional references have verified clock/spatial/data-role context; phone absence preserves the qualified RF-only path.
  • Account A/B isolation, expiry, cancellation, refresh, disk corruption and rollback tests pass without data loss.
  • Guided UX exposes progress, rejection reasons and actual model/coverage rather than receipt-only readiness.
  • Independent empty/occupied-static/movement/adjacent/recovery/missing-modality trials compare against controls, with frozen thresholds, adequate coverage and uncertainty reported.
  • Actual delivered Mac/iPhone artifacts are qualified; no unsupported presence/pose/Vitals claim.

Proposed physical targets to lock before collection: occupied sensitivity >=90%, empty/adjacent false-positive rate <=5%, qualifying coverage >=90%, p95 decision latency <=2s. These are targets, not measured results; trial counts, correlation and confidence intervals require review before validation.

Linked implementation trackers

Current controls/source evidence: draft#2417, implementation head6a9aa03b289bda26204b45f010dbad73204135d7, and the selected-source shipped detector. Source audit completed; final-learner implementation, installation and physical qualification are not complete.

Implementation branch: feat/room-learner-integration-20261101, isolated from published PRs. Public issue checklists will be updated with exact PR heads, executed tests and device/trial receipts as work lands.

Activity

  1. proffesor-for-testing commented on Nov 1, 2026

    @proffesor-for-testing
    CollaboratorAuthor

    Implementation progress — source, software and actual native input remain separate from physical qualification.

    Published drafts:

    Actual Mac input qualification found and repaired a real spectral-null rejection: cubic interpolation could produce negative projected magnitudes. The opt-in convex projection preserves gain/DC/native IQ/masks and uses a new preprocessing identity. Exact reported PHY-cohort readiness also prevents bandwidth/frequency classes from borrowing each other's cadence. The actual signed local Mac app now admits thousands of packets from all three required sources with fresh eight-frame windows.

    A complete Empty collection interval produced all four representative windows, but remained provisional awaiting conditions-held confirmation. The helper later exited while its app process remained; untrained data was RAM-only and is no longer retained. The exit cause is unknown. Track recovery/lifecycle work in cognitum-one/ruview-mobile#123 and authentication investigation #70. This is not a saved or trained dataset, accepted baseline, or physical-accuracy pass. The separate reviewed auth repair is published as cognitum-one/ruview-mobile#124 at 9a1d140dbe6bf63a3f068d3040808655e9e4c7a7: original-lease-only typed retryability, refresh/dispatch custody, immediate refusal, conservative unresolved-child ownership and independent native hard expiry. All15 local gates,227 suites/2262 tests,21 browser checks, native50 fixtures and unsigned Mac/iOS38 Release compilation pass; independent adversarial review NO BLOCK. Tauri retryable/watchdog failures close runtime while preserving credentials because its native helper has no independent expiry fence; Apple native-fenced retention is unchanged. All four hosted checks now pass on final head9a1d140 (verified2026-11-02 00:56UTC). No installed/device-qualified outcome or attribution of the exit is claimed.

    Still open: actual phone update/qualification, occupied/static/movement/adjacent/recovery data, interrupted capture recovery/retention decision, validated references and spatial benefit (#105), selective learner erasure, and reviewed model adoption/rollback. No merge, TestFlight release, flashing, new optical capture or model adoption has run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions