Repository navigation
Daily devotional quality gate: verse pre-filter + AI judge with regenerate #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5efceb7
Gate daily devotionals behind an AI judge, regenerate on failure
claude 95eda04
Skip census, begat, itinerary and measurement passages before generation
claude 9ad9f01
Preserve devotional retries, reject unsafe fallbacks, and validate th…
vanities e892cc0
Align narrative prompts with the judge and serialize manual migrations
vanities File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| // The writer and live evaluation use the exact same worked example. | ||
| // Keep imagined details out of biblical scenes; put the observable opening | ||
| // in the reader's world, then distinguish the verse from its context. | ||
| export const EMPATHY_EXAMPLE = `# May 15 — Mark 1:35: Before the next request | ||
|
|
||
| **Where does prayer fit when the work is still waiting?** | ||
|
|
||
| > *"And in the morning, rising up a great while before day, he went out, and departed into a solitary place, and there prayed."* | ||
| > **Mark 1:35** | ||
|
|
||
| ## Before opening the messages | ||
|
|
||
| A phone lies beside a half-filled mug. Even with the screen dark, it can hold your attention. If you have ever reached for it before you knew what you wanted to read, you know how quickly a morning can fill with other people's requests. | ||
|
|
||
| Leaving it there for a few minutes may feel surprisingly difficult. Someone could need you. | ||
|
|
||
| ## The work was real | ||
|
|
||
| Mark places this prayer after an evening of healing. The previous verses describe people bringing the sick to Jesus and the city gathered at the door. Then, a great while before day, Jesus goes out to a solitary place and prays. | ||
|
|
||
| The passage gives us his action without reporting his prayer's words or his private reasons for choosing that hour. The Greek word translated "solitary" is also used for wilderness or an uninhabited place. Here, Mark names somewhere away from the gathering crowd. | ||
|
|
||
| The requests have not ended. In the following verses, Simon and the others find Jesus and tell him that everyone is looking for him. Prayer takes place within a ministry full of actual needs. Mark does not describe a quiet season with nothing pressing to do. | ||
|
|
||
| ## While things remain unfinished | ||
|
|
||
| If you are waiting for every obligation to be settled before you pray, this scene gives you something to reconsider. Jesus has people seeking him, and he prays. We need not know everything about his morning to notice that. | ||
|
|
||
| You may have a few minutes before opening your messages, or a pause later in the day. Bring the unfinished work to the Father in that time. It may still be waiting when you finish praying, and someone may still be asking for you. | ||
|
|
||
| ## A prayer | ||
|
|
||
| *Father, help me bring You the work I have not finished and the people whose needs I cannot settle. Give me the willingness to pray while things remain unresolved, and the patience to return to those people with care. Amen.*`; | ||
|
|
||
| export const NARRATIVE_EXAMPLE = `# October 12 — Luke 19:5: A name above the crowd | ||
|
|
||
| **The crowd calls him a sinner; Jesus calls him Zacchaeus.** | ||
|
|
||
| > *"And when Jesus came to the place, he looked up, and saw him, and said unto him, Zacchaeus, make haste, and come down; for to day I must abide at thy house."* | ||
| > **Luke 19:5** | ||
|
|
||
| ## Up in the sycamore | ||
|
|
||
| Zacchaeus is up in a tree. The preceding verses tell us how he got there: a short man, unable to see Jesus through the crowd, runs ahead and climbs a sycamore along the route. He wants to see who Jesus is. | ||
|
|
||
| Below him, Jesus comes to the place and looks up. He sees the man in the branches and speaks his name. Then comes the command to hurry down, with a reason attached: today Jesus must stay at his house. | ||
|
|
||
| The man who ran ahead to get a look has been asked to receive a guest. | ||
|
|
||
| ## The name and the complaint | ||
|
|
||
| In the next verse, Zacchaeus makes haste, comes down and receives him joyfully. His movement answers the words Jesus spoke from below. The tree has served its purpose; the visit is now the concern. | ||
|
|
||
| Around that welcome, another response takes shape. Luke records the onlookers murmuring that Jesus has gone to be the guest of a sinner. Jesus has addressed Zacchaeus by name. The complaint identifies him by the category that makes the visit objectionable. | ||
|
|
||
| The account does not deny that sin matters. A little later, Zacchaeus speaks about giving to the poor and repaying anyone he has defrauded. But the crowd's objection is to Jesus going into his house at all. Luke lets us hear that objection beside the welcome. | ||
|
|
||
| ## Whose response resembles yours? | ||
|
|
||
| If there is someone you find easy to dismiss, that contrast deserves time. Knowing something true about a person's conduct can become a reason to resent anyone showing them kindness. In this scene, Jesus goes to the house the crowd thinks he should avoid. | ||
|
|
||
| Consider one ordinary act of welcome you have been withholding. Offering it will not settle every question about the person. The murmuring Luke records reminds us how readily a welcome can draw objections, including our own. | ||
|
|
||
| ## A prayer | ||
|
|
||
| *Father, keep us from resenting the mercy Your Son shows. Help us see the people we have reduced to a reputation, and teach us to offer welcome without pretending that sin is harmless. Give us patience for the questions we cannot settle at the door. Amen.*`; |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
Serialize manually dispatched migrations with production deployments.
The
supabase-productiongroup protects this workflow, but a directworkflow_dispatchrun of.github/workflows/deploy-supabase-migrations.ymldoes not join it. An operator can start a migration while this workflow deploys functions. Put direct migration runs in the same group, but use a different group forworkflow_callruns so the called job does not wait on its own caller. (docs.github.com)🧰 Tools
🪛 zizmor (1.30.1)
[warning] 1-68: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
🤖 Prompt for AI Agents