Skip to content

feat(life-call): LM-30 location-gated late notices#324

Merged
Daisuke134 merged 2 commits into
devfrom
feature/lm30-location-gate
Jul 21, 2026
Merged

feat(life-call): LM-30 location-gated late notices#324
Daisuke134 merged 2 commits into
devfrom
feature/lm30-location-gate

Conversation

@Daisuke134

Copy link
Copy Markdown
Owner

Summary

  • remove the T-0 departure prompt, callback handling, no-response fallback, and free-text late trigger
  • accept initial and edited Telegram live locations, persist their Telegram-defined TTL, and close the gate when missing or expired
  • compare the next physical event against the existing route engine, atomically dedupe by event, and send through the existing Resend path
  • report the exact honest no-contact copy and generate the spec-bank success copy without asking the user
  • add an additive location/dedup migration and a 12-case late-decision eval

Verification

  • npm test: exit 0
  • targeted LM-30/events/Resend tests: exit 0
  • npm run eval: Calendar 21/21 (100%), Late 12/12 (100%), exit 0
  • prohibited exact terms and removed callback tokens under apps/life-call: 0 matches
  • legacy prompt/fallback symbols under apps/life-call: 0 matches

Staging / E2E handoff

Railway CLI currently returns Unauthorized and needs Dais browser re-login. Per Fable, staging deploy/smoke and the additive Supabase migration are deferred to the E2E window. No prod deploy or prod webhook mutation was performed.

E2E order after login:

  1. Apply apps/life-call/migrations/2026-07-21-lm30-location-gate.sql through the already-proven Supabase Management API flow.
  2. Deploy this branch with railway up --path-as-root <repo_root> -e staging -s life-call-staging.
  3. Run scripts/lm-staging-smoke.sh and require exit 0.
  4. During Fable prod E2E only, run the existing setWebhook path so edited_message becomes allowed, share live location, and verify one received late email / exact Telegram report.

No workflow file is added or changed.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 046883cf-e150-4703-9fff-cdda9b983bde

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/lm30-location-gate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@Daisuke134
Daisuke134 merged commit 3e30a79 into dev Jul 21, 2026
2 checks passed
@Daisuke134
Daisuke134 deleted the feature/lm30-location-gate branch July 21, 2026 00:23
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