Skip to content

Tell the people-search model today's date - #16

Merged
Charlie-Carson merged 1 commit into
mainfrom
issue-1647-today
Nov 25, 2026
Merged

Charlie-Carson merged 1 commit into
mainfrom
issue-1647-today

Conversation

@Charlie-Carson

Copy link
Copy Markdown
Contributor

On demo, "attended last 7 days" returned the 42 people who attended on 2025-12-14 and "hasn't attended in last 3 months" excluded everyone who attended in Sep–Dec 2025. The prompt's date examples say "if today is 2025-12-19", and nothing told the model the real date, so it counted every relative range from the example.

Both people-search prompts now carry a **Today:** <weekday>, YYYY-MM-DD line filled in at request time, and say that every relative date is counted from it, with the example dates marked as illustrations. The attendance examples no longer use {today}-style placeholders. A test pins the line in both prompts.

ChurchApps/ChurchAppsSupport#1647

yarn test 74 passed (the new test was red first), tsc --noEmit and eslint src/ clean.

🤖 Generated with Claude Code

@Charlie-Carson
Charlie-Carson merged commit 3c76972 into main Nov 25, 2026
1 check passed
@Charlie-Carson
Charlie-Carson deleted the issue-1647-today branch November 25, 2026 19:32
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