Weekly paper
Lore Week 7: fewer changes, bigger steps
When a sleepy press silenced guno's alarm, nothing rang again. Here is how we fixed it, and how we measured how many alarms one phone will hold.
Cutoff: pull requests merged from Sunday 22 Nov 21:00 to Sunday 29 Nov 21:00, Europe/Istanbul. Retrieval: read on Sunday 29 Nov between 21:26 and 21:29, after the cutoff. This is the final count.
In one minute
We merged 18 pull requests this week. A pull request is one finished piece of work that we add to a product. AutoReal had 8, guno 8 and our website lorelabs.co 2. All of them went into main, the version each product is built from.
That is fewer than the 34 of last week. But the pieces were bigger. The largest one changed 120 files.
to 21:00
Merged pull requests per day, from Sunday 22 Nov 21:00 to Sunday 29 Nov 21:00.
This week we look at one idea: an alarm that keeps calling, and a limit we had to measure ourselves.
If you are new here, our earlier editions are on the blog. Last week, Lore Week 6 covered facts from the record, product-market fit (whether people truly want what we make) and the night the clocks change.
How we looked at the week
This edition covers Sunday 22 November 21:00 to Sunday 29 November 21:00, Istanbul time.
We listed every change that was merged or closed in all our projects, and we read what each one says about itself. We found 0 changes closed without merging.
The AutoReal and guno changes were written by Claude Code, an AI tool that writes code. The website changes were written by a Cursor cloud agent, another AI tool of the same kind.
The idea: an alarm that keeps calling
What went wrong
guno is our morning alarm app. To turn the alarm off for the day, you do a short task, such as push ups.
On 25 November, during testing, a press of the volume button silenced the alarm on a locked phone. Then nothing rang again.
The app did have a plan to ring again a few minutes later. But that plan was set up by a piece of code that only runs after the phone is unlocked. The phone stayed locked, so that code never ran.
A safety net that waits for the step it protects is not a safety net.
The fix: book the backups ahead of time
Now guno books its backup rings before the morning starts. They ring every 2, 3 or 5 minutes, for up to 30 minutes after the first ring. You choose the gap in your settings, and 3 minutes is the default.
When you finish the morning task, that morning's backups are cancelled and the next morning's are booked. While you are doing the task, backups that are about to ring are held back, so they do not interrupt you.
example: 07:00
first ring
up to 30 min
every 2, 3 or 5 min
morning task done: backups stop
One morning with backup rings. The times are an example.
How many alarms can a phone hold?
Backups mean more alarms waiting on the phone at the same time. AlarmKit is the toolkit Apple gives apps for setting alarms. Apple confirms there is a limit: its documentation lists an error for when "a maximum number of alarms is already scheduled". But it does not say what that number is.
So we measured it. On one test phone, we asked for one new alarm after another. The phone accepted 64 and refused none. Then we deleted them all.
Next we added up our heaviest likely load: the weekly alarms, extra alarms for two days with a changed time, up to 30 backups at the shortest gap, and a test alarm. That comes to 58. It fits under what the phone accepted, so the shortest gap of 2 minutes stays.
If room ever runs short, the main alarms are always booked first. A backup never takes the place of a real alarm.
What we do not claim yet
This was one phone and one test. Other phones or newer software may behave differently, so we keep an eye on the margin. The backup rings also still need checks on a real phone, such as pressing the volume button while the phone is locked. That waits for the next test build, and we will not call them proven until then.
The numbers side by side
Our heaviest likely load is 58 alarms. One phone accepted 64. The gap between them is small, which is why we say it plainly and keep checking.
our heaviest likely load
accepted by one phone, none refused
0
one phone, one test
Our heaviest likely load next to what one phone accepted in one test.
Since last week
Lore Week 6 said guno's new alarm planning would be checked on a real phone. Those checks, and the new backup rings, wait for the next test build.
What we learned
Fewer changes, bigger steps. We merged 18 changes this week, against 34 last week. A smaller number did not mean less work: one change touched 120 files.
Big changes need careful reading, so most of them came with a written review, round by round. One needed 7 rounds before it was ready. When we want to know later why something changed, the answer is written down.
A count alone hides the size of a week, as Lore Week 1 warned.
What happens next
- guno's next test build goes onto real phones, to check the backup rings while the phone is locked.
- AutoReal keeps building its new way of making posts. A test this week found two problems, and they go into the next step.
- Two small fixes to the Lore Week 6 page are waiting on lorelabs.co.