Skip to content

Add privacy-safe Home health review and repair worker - #25666

Merged
Git-on-my-level merged 18 commits into
mainfrom
lane/home-health-worker
Nov 18, 2026
Merged

Git-on-my-level merged 18 commits into
mainfrom
lane/home-health-worker

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

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

  • On 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.
  • The loopback Firestore check surveyed five synthetic owners with verified finalizers. The apply added five summary obligations and preserved titles, tasks, events, and the stored summary lane. Repeating the apply made zero writes.
  • Bounded read-only production survey of batch-live rows and a separate ro-prod live check of the receiving integration repair policy. Existing indexes served all five status queries. Both completed and in-progress hit the 100-row cap. Reported output was aggregate only. The sample predated the small-cell follow-up. No production apply or scheduling.

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. See backend/docs/runbooks/home-health-worker.md for operational use and measurement limitations.

Failure-Class: none

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T07:27:01.496979Z
We couldn’t complete this review. Comment @codex review to try again.
ff1d17b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Git-on-my-level
Git-on-my-level merged commit ae84c31 into main Nov 18, 2026
71 of 73 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/home-health-worker branch November 18, 2026 23:16
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