Skip to content

Make daily support calmer and add Take a moment - #2006

Merged
asim merged 1 commit into
mainfrom
codex/calm-daily-life
Oct 3, 2026
Merged

asim merged 1 commit into
mainfrom
codex/calm-daily-life

Conversation

@asim

@asim asim commented Oct 3, 2026

Copy link
Copy Markdown
Member

Micro's instructions focused on tools and productivity, while check-ins turned immediately into an agenda. This gives the assistant a shared purpose: help people carry less and make room for what matters.

Ground interactive and scheduled prompts in Islamic values and ACT principles expressed through ordinary behaviour, without unsolicited religious or therapy language. Keep dignity independent of achievement, avoid forced positivity and automatic planning, and respect user agency. Daily Checkin now asks “What’s on your mind?” without loading calendar commitments. Morning briefs emphasise useful orientation; evening readings default to 350–600 words with perspective, sources and no homework, while respecting requests for depth.

Add optional Take a moment under Agents → Scheduled, defaulting to 14:00 in the user's timezone. Reuse the durable scheduling and delivery paths, with daily/weekday/weekly frequency and disable controls. Seven short, accessible invitations rotate without model calls or an expected reply. Reminders are account-scoped, skip stale occurrences, and show the invitation in push notifications. No users are automatically enrolled. Update landing copy and use the shared card grid without stretching settings cards.

Validation: short tests passed for agent, agent/brief, work, mail, flag and server; full Go build and formatting passed. Regression tests cover opt-in scheduling, persistence, ownership, invalid inputs, paused/stale revisions, missed reminders, CSRF, deterministic delivery and shared prompt coverage. Local Playwright checks passed at 390px and 1440px: real enable/disable form submissions, timezone/time defaults, no horizontal overflow or JS errors. Inspected screenshots of Scheduled, empty/populated conversation, login and signup. No shared CSS/JS changes. Production delivery and live model tone have not been verified.

@asim
asim merged commit e2c7ec5 into main Oct 3, 2026
1 check passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-03T11:51:01.633713Z 508d3b9 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 508d3b9cc1

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread agent/scheduled_moment.go
"A moment to check what you need: perhaps some water, a little quiet or a rest. Choose what suits you.",
"You don’t need to resolve everything today. There is room for a small pause.",
}
index := int(time.Date(day.Year(), day.Month(), day.Day(), 0, 0, 0, 0, time.UTC).Unix()/86400) % len(messages)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Rotate messages across weekly occurrences

When the user selects the weekly frequency, each occurrence advances by exactly seven calendar days, while this index is epochDay % 7; its value therefore never changes and that user receives the same invitation forever. Use a week/occurrence-based index for weekly schedules so all seven messages can rotate.

Useful? React with 👍 / 👎.

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