Weekly paper
Lore Week 6: facts from the record, why we chose product brands, and the night the clocks change
Let the model write the voice but never the facts, see why AutoReal now aims at brands that sell a real product, and test an alarm against the nights the clocks move.
Cutoff: pull requests merged from Sunday 15 Nov 21:00 to Sunday 22 Nov 21:00, Europe/Istanbul. Retrieval: read on Sunday 22 Nov between 21:16 and 21:18, after the cutoff.
In one minute
We merged 34 pull requests in this edition, 32 of them into main. AutoReal took 23, guno 9 and lorelabs.co 2. No other product and none of our internal tools had a merge.
The week ended busy. Sunday had 12 merges by the 21:00 cutoff, while Friday had none.
to 21:00
Merged pull requests per day, from Sunday 15 Nov 21:00 to Sunday 22 Nov 21:00.
We want to teach three new ideas this week:
- Facts from the record, voice from the model. How a model can write lively ad copy while code checks that every claim in it comes from the brand's own records.
- Why we chose product brands. What product-market fit means, and why a brand that sells a real product makes a post easier to make and more meaningful.
- The night the clocks change. How we test an alarm against daylight saving time with a thousand random calendars instead of a few hand picked days.
If you are new here: branches and approval gates were Lore Week 1, CI and check minutes were Lore Week 2, and changing model providers and usage caps were Lore Week 3. Retention rules and checking AI written content were Lore Week 4, and image labels, golden tests and prompt caching were Lore Week 5. We do not repeat them here.
How we looked at the week
This is the first edition with our new window. Each edition now starts where the last one stopped, at Sunday 21:00 Istanbul time, so no evening falls between two editions. The change that published Lore Week 5 merged at 22:13 that Sunday, and it is counted here.
We listed every merged pull request in each of our repositories, read their descriptions and plan documents, and counted by Istanbul time. We also read the automatic check runs that failed during the week and looked at what ran after them.
Two of the 34 merged into a branch inside a chain of changes, not into main. Their work reached main the same night through the last change of that chain. Lore Week 1 explains such chains.
Idea 1: facts from the record, voice from the model
AutoReal writes Instagram posts for brands from their own website. On the AutoReal page we promise that facts come from the brand's own site. This week we tested that promise, because we also asked the model to sound more like an advertisement.
A small live test first
We ran the new product posts once on five real brands, with a spending cap set before the first call. The engine held up. The records it read did not: none of 35 product records had a price, and 25 of 30 records from the site reading had no details.
The copy was correct but flat, and it read like a catalogue. A request such as "let us introduce our new product" also made the model call products new when no record said they were.
The split we chose
So we split the job. The model now writes in an ad voice: a hook, short lines and a clear call to action. Every fact stays tied to a record: the product's name as written, a price only as the price record states it, and urgency only from a real fact, never an invented deadline.
The word "new" is the clearest case. A post may call a product new only when its record marks a launch or a new variant. A restock is never new.
The model may choose the words. It may not choose the facts.
A check in code, tested both ways
A rule in the prompt alone is not enough, so a check in code reads every finished product post. It refuses "new", "just arrived" and their Turkish forms such as "yeni" and "geldi" unless the record allows them. It also refuses superlatives such as "the best" unless a fact holds them, and a refused post goes back to the model for a rewrite.
A word filter can also be too strict, so we tested it in both directions. Near misses must pass: "yeniden" (again), "geri geldi" (it is back), "hoş geldiniz" (welcome), "New York", and a product whose own name contains "Yeni". Each rule has a test that refuses the wrong phrase and a test that lets the right one through.
product record
- name
- price
- news: launch, restock or none
the model writes
check in code
post
The model writes the words. A check in code compares claims such as the price and the word "new" with the product record, and sends the post back when they disagree.
The second run
A second capped run followed two days later, with a live model and the new rules, on words only. All 7 posts passed the check on the first write, and the one product price shown matched its record. Our own scores out of 5 ranged from 2 to 4: the headlines carried the ad voice, while the captions slipped back into plain information.
Seven posts is a small sample, so we read it as a sign, not a measurement. The weakest post had the thinnest record, with no details to sell from.
How we compare
OWASP's guidance on misinformation from language models names the cause we saw: a model fills gaps with text that sounds right but has no basis. Its first suggested remedy is to give the model verified information from a trusted source, and it also lists automatic checks on the output. Our records are the trusted source, and the check in code is the second step.
Idea 2: why we chose brands that sell a product
What product-market fit means
A well known essay on startups defines product-market fit as being in a good market with a product that can satisfy that market. In plain words, you need the right buyers and something that really helps them.
The same essay says you can feel when fit is missing: customers do not quite get value, word of mouth does not spread and sales take too long. So a team looking for fit keeps asking one question: who gets the most from what we make?
The choice we made
AutoReal turns a brand's own website into Instagram posts. Until now it was built for every kind of business and named no customer. This week we wrote down who it is for first: Turkish brands that sell a physical product online, such as drinks, skincare, food, coffee and small fashion.
These are small teams of 1 to 20 people, with nobody working full time on social media. For them Instagram works like a shop window, so a good post can lead to a sale. For an early software company, even a beautiful post does little on its own.
Service and software brands still work in AutoReal as before. They are simply not where we aim first.
Why a real product makes a better post
A product gives a post something real to stand on. There is a thing to show, a name, a price, and sometimes news such as a launch or a restock. A post about a product also has a clear point: the reader sees it and can buy it.
So each product now has its own record. It holds the product's name, photos, price and variants, and whether it is new or back in stock. When the brand's site prints a price right after the product's name, we read it from there and write it the Turkish way, such as 1.450 TL.
Requests get easier too. When an owner asks to "promote our coffee", one product record is picked, and the post is about that product instead of coffee in general.
One path for the owner
We planned one path in the app for the owner of a product brand: setup, products, month and post. The first two arrived this week. In setup, one step lists the owner's products, each with a photo, a name and a price to check.
After setup, one products page holds each product's photos, price and news. Marking an item new or back in stock takes one tap. When setup is done, the app offers to make the first three posts from the owner's own products.
setup
products
- photos
- price
- new or back in stock
month
post
The path we planned for the owner of a product brand. Setup and products arrived this week; the month and the post come next.
What we do not claim yet
Choosing a market is a bet, not proof of fit. We have not measured fit, and we cannot yet report signs such as sales or word of mouth. We will write about it when we have numbers. How the facts in a product post stay true is Idea 1.
Idea 3: the night the clocks change
The gap and the fold
In places that use daylight saving time, clocks jump forward one night in spring and go back one night in autumn. When they jump forward, an hour of local time does not exist. When they go back, an hour happens twice.
Python's PEP 495 names these two cases. The skipped hour is a gap and a time inside it is missing; the repeated hour is a fold and a time inside it is ambiguous. The IANA Time Zone Database records these rules for places around the world and is updated when governments change them.
spring
this hour does not exist
rings at the first real minute
autumn
rings once, the first time
Our rule for an alarm set inside the missing hour and inside the repeated hour. The times are an example; which hour moves depends on the place.
Our rule
guno is a morning alarm, and an alarm has to choose what to do on those nights. We wrote the rule down before the code. An alarm set inside the missing hour rings at the first minute that exists, and an alarm inside the repeated hour rings once, the first time.
Random calendars, not only examples
Most tests are examples: someone picks an input and writes down the expected answer. We kept 18 of those, including both clock change nights in London. Then we added property based tests, which check one statement against many generated inputs.
The fast-check documentation describes the method. A property is a statement about input and output that should hold for every input, and the library generates random inputs and runs the test many times. Ours says that every planned ring falls on the right date, no date rings twice and no date is missed.
We check that statement on 1,000 random calendars across four time zones, eight weeks ahead, and on 400 random series of edits. A handful of examples could never cover that many combinations of days, times and changes.
What happened to us
This week we rebuilt how guno plans its alarms. One piece of code now turns a weekly timetable into the exact set of alarms the phone should hold. An independent review found seven problems, including a double ring and an alarm that rang after it was turned off, and each fix came with a test that fails without it.
The code also treats unknown as different from empty. If its own list of scheduled alarms cannot be read, it adds and removes nothing instead of assuming there are none. It is the same instinct as failing closed in Lore Week 3.
All of this runs in tests and on a simulator. Checks on a real phone come next, and we do not claim real world results until we have them.
Since last week
Lore Week 5 said our products that call the Claude API would record the numbers prompt caching needs. AutoReal's post engine now records the tokens read from the cache and, since this week, the tokens written to it. We still have no measured saving to report.
What we learned
- Look at the inputs before blaming the model. The live test found the engine sound and the records thin: no prices in 35 product records.
- A filter needs tests that let the right words through. Refusing "new" was easy. Letting "again", "welcome" and "New York" pass took as many tests.
- Teach the reader before the writer. Twice this week we added fields to stored data by first shipping code that reads them and writes nothing, then code that writes them, so a rolled back writer never leaves data that cannot be read. Martin Fowler calls the general pattern parallel change, or expand and contract. One field went out in a single step instead, and its notes now warn that a rollback must keep a reader that accepts it.
- A merged pull request is finished. Some work was pushed to a branch after its pull request had already merged, so it never reached main. A new pull request carried it there.
- A check that does not block is only a report. Our documentation check flagged dashes in two changes on guno's main branch, and main showed a red cross for about three days. The check was not required there, so nothing stopped the merges, and the later changes passed because the check reads only newly added lines.
What happens next
- The captions get the same ad voice work as the headlines, checked again in a capped run with its own approval.
- The new alarm planning goes through a list of checks on a real phone.
- The month for a product brand comes next, where each product gets its own slot on the calendar with its photo.
Sources
- OWASP Gen AI Security Project, "LLM09:2025 Misinformation"
- Andreessen, M., "The only thing that matters" (2007), pmarchive.com
- Python, "PEP 495: Local Time Disambiguation"
- IANA, "Time Zones" (the Time Zone Database)
- fast-check documentation, "What is Property-Based Testing?"
- Fowler, M., "Parallel Change", martinfowler.com