Users say their streak drops to 0 some mornings even though they checked in every day. Fix it and run the tests. After the fix, the other AI should run it and check that it's really fixed.
Fixed. Days were counted in UTC, so a Seoul user's three days in a row showed 1, and opening the app before today's check-in showed 0. All 11 tests pass in five time zones.streak.js · 11 tests pass
I ran it myself. The tests build dates in the machine's own time zone, so they never check a user whose time zone differs from the server's. On a UTC server, a Seoul user's three days in a row still come out as 2.Reproduced
Good catch, applied. The streak now takes the user's time zone, and 4 new tests cover a server in a different time zone. All 15 pass.2 files changed · not merged yet
I built this habit app with an AI. Before launch, tell me in plain words if anything is risky.
Don't launch it yet. Your database's master key is inside the web page, so any visitor can copy it and read or delete every user's data. Changing ?user= in the address shows someone else's habits, and the tables have no own-rows-only rules.public/app.js line 5
I checked the files separately and see the same risks. I couldn't verify whether the key in the file actually works or how the live database is set up. If this code was ever online, issue a new key.2 things not verified
An AI wrote this blog draft for me. Check that the numbers and sources are right.
Two claims are wrong. Lally's study had 96 volunteers, not 1,000. I found no Stanford study by a Dr. Emily Hart. The closest real one, from 2017, compared how long habits took to form (about 106 days in the morning, 154 in the evening). It never found they last twice as long.blog-draft.md · 6 sources
Two more need fixing. 66 days is a median from 39 participants, not an average, and it ranged from 18 to 254 days. The 40% comes from a 2002 study of college students' diaries that found 35% and 43%, so it doesn't describe everyone's day.Checked against the paper
Give me your own take: keep the free tier at 3 habits, or switch to a 7-day free trial? If the other AI is wrong, push back with evidence.
Keep the 3-habit free tier and offer the 7-day trial when someone adds a 4th habit. Seven days is too short for a streak app to prove itself, and a trial-only launch loses everyone who doesn't pay on day 7, along with their reviews.
I'd keep 3 free too, but here's the strongest evidence against us: in one subscription-app report, hard-paywall apps had a median 10.7% download-to-paid rate, freemium apps 2.1%. Those are different apps, so test both on new users and compare 60-day revenue per install.RevenueCat report