Repository navigation
Add privacy-safe Home health review and repair worker - #25666
Merged
Merged
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…/home-health-worker # Conflicts: # backend/utils/home_feed/projection.py
# Conflicts: # backend/tests/unit/test_home_step.py
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Add a one-shot Home review and repair command. It turns bounded batch recording cohorts into aggregate feedback with stable issue keys, symptom descriptions, pipeline stages, and observable denominators. Reports can show repeated symptoms across owners and suppress small cells, including the survey count when any nonempty status group falls below the threshold. Ready-card title, preview, and emoji signals are distinct from capture, transcription, and notes delivery signals.
Review uses masked Firestore reads and shared Home predicates. It never fetches transcripts, decrypts a prepared card, or exports a row, account, or content. The receipt describes the legacy list and reports capped status groups. The existing census remains the measure for fleet rates.
Explicit apply can arm an unregistered first-summary obligation. It rechecks the same revision, account and recording protection, BYOK, terminal finalizer custody, content, original clock, and lack of an existing outbox in the transaction. Production apply verifies the effective admission and sweep flags on every receiving backend-integration revision with ro-prod before starting the capped mutation. Each transaction attempt and Firestore RPC share the execution cutoff. The existing sweep remains responsible for admission, generation, and spend. No new index, deploy setting, scheduled execution, or paid provider call is introduced.
Verification
f5a7449, 412 guarded tests passed across Home inspection, summary admission, batch live and title quality. The new regression cases schedule a body for a generated-title recording that has only a task or an event. They also verify that the automatic projection still applies its original eligibility rule.Review scope
The pre-implementation scope panel completed with Luna, DeepSeek, and GLM (
scope-20261118t064417-a360). Please review the final summary scheduling mutation with the batch custody owner before enabling an apply run. Seebackend/docs/runbooks/home-health-worker.mdfor operational use and measurement limitations.Failure-Class: none