Seven Tasks Disappeared. My Family App Had Two Sources of Truth
Our family app hid seven overdue tasks that were still overdue in Google Tasks, and an AI chat found them before I did. The bug was the design, not the sync. How tasks now come from mail, documents and chats into one list, the rules that keep agents from creating doubles or closing things wrongly, and the prompt rules you can reuse.

On 26 October I asked Home’s planning chat a boring question: “what do I have tomorrow?” The answer: no meetings, one task, and seven overdue tasks, the oldest from 18 September.
I didn’t have seven overdue tasks. My task page was clean. I’d cleaned it myself the day before.
Upcoming
2 meetings and 9 tasks for 30 days · Google Calendar and Tasks
Overdue 1
was due Mon
Today 2
Family calendar
Until end of week 1
Fri · from: letter
Ongoing matters
updated 6 Nov
Home is the private app my partner and I run on our own server. This part is about its task list, which agents fill from my mail, my documents and my messages. It’s also about the bug that taught me the one rule I now apply to every agent system: a piece of state has exactly one owner.
A page that agreed with me
Upcoming appeared on 25 October: a page that shows the next 30 days from my Google Calendar and Google Tasks. That same afternoon I added two buttons to each task. Done closed the task in Google Tasks. Not important hid it.
Hiding was the convenient one. A lot of tasks in my list had been set weeks before by my mail agent, and some of them no longer mattered. I didn’t want to argue with them, I wanted them gone. So the page kept a small file on the server with the tasks I’d hidden, and filtered them out.
That day I hid seven tasks. The page looked great.
A chat that didn’t
The planning chat doesn’t read the page. It asks Google Tasks directly, through the same small command-line tool every agent in Home uses. Google had never heard of my file. To Google, those seven tasks were still open and overdue, and the chat reported them, correctly.
On 28 October I asked why Google Tasks and Home’s list didn’t match. I expected a sync bug. Claude’s answer (translated): “The cause is the design of the site, not the sync. The ‘Not important’ button changed nothing in Google; it wrote a mark to a separate file on the server. On 25.10 you hid seven tasks this way: invisible on the site, still overdue in Google Tasks.”
There was a second cause. The page cached the task list for ten minutes. When an agent closed a task, from my mail or from a document, the page kept showing it as open. Two copies of the truth, and one of them was always a little late.
The fix: the page stops having opinions
The fix that evening removed state instead of adding sync:
- The only state of a task is in Google Tasks. The page keeps no marks of its own.
- Not important became two honest answers. For a week moves the due date. Won’t do closes the task in Google with a note, “won’t do, dropped on (date)”. Nothing is deleted, and the history shows it was dropped, not done.
- The cache went from ten minutes to one.
- The hidden-tasks file was renamed to
.retired, and nothing reads it.
The new “won’t do” was first tried on a junk task called “list” that an agent had created by mistake. It went away properly, with a note.
Closing from the page takes two taps: the first fills the circle green for three seconds and says “tap again to close”, the second closes the task in Google.
Where the tasks come from
The list has four writers:
- The mail agent, every three hours. A deadline becomes a task with a date. A request without a confirmed slot is not an appointment, it’s a task to follow up.
- The Archivist, which files whatever I share to Home (part 1). A document that needs action becomes a task “from: that document”.
- The chats. “Put this on me so I finish it at home, or I’ll forget” becomes a task.
- Plans. The car’s maintenance schedule is a set of dated tasks (part 6).
Since 26 October agents have created at least 27 tasks this way, counting only runs where a transcript was saved. In the last 30 days 62 tasks were closed in the list.
Four writers into one list raise two problems: doubles, and things closed that shouldn’t be.
No doubles
Before an agent creates a task, the tool looks for a similar open task or event near the same date. It compares word stems, but treats different codes, an order or a flight number, as different things. On a clear match it adds a note to the existing task and prints “already exists, didn’t create a new one”. On a vague match it creates the task but names the near-duplicate, so I can see it.
The mail agent reads the same mail more than once, because it runs every three hours. Its notes show the rule working: “the appointment and the task were already created last run; I didn’t duplicate them.”
Closing on evidence
On 29 October I told the planning chat I’d sent two documents a task was about. The chat closed the task, but added that sending documents doesn’t close tasks by itself. I disagreed: if you have enough evidence, closing is exactly what you should do.
That became a rule with three parts. Close when there’s evidence, and say what the evidence was. Ask when unsure. Cancel only when I ask directly. The mail agent works the same way: it closes a task only on a clear match between the letter and the task.
The bar for closing is higher than the bar for creating, on purpose. A double costs me two seconds. A wrongly closed task costs a missed deadline.
Quiet by default
The mail agent has run 459 times since 3 September, and 271 of those runs ended with “NOTHING”: nothing worth telling me, so no push. That word used to be fragile. The model sometimes explained itself and then wrote “NOTHING” at the end, and the push went out anyway, with the explanation in it. Since 28 October “NOTHING” anywhere in the answer means silence.
I didn’t stop writing to-dos because agents write them now. I stopped trusting a screen that agrees with me. The page used to show what I wanted to see. The agents never saw my file, and they were right the whole time.
Build your own: paste this into Claude Code
This sets up one task list and the rules my agents follow when they write to it. It doesn’t build the mail agent or the Archivist that feed it.
Help me set up one task list that my agents and I share. Step by step, ask before anything irreversible.
1. The task service (e.g. Google Tasks) is the only place a task's state lives. Pages and agents read and write it there and never keep their own marks, hidden lists or copies. Keep any page cache to about a minute.2. Write one small command-line tool that every agent uses to list, create, update and close tasks.3. Where tasks come from: a deadline in a letter becomes a task with that date; a request without a confirmed slot becomes a task to follow up, not an appointment; a document that needs action becomes a task "from: <document>"; "put this on me" in a chat becomes a task.4. No doubles: before creating, the tool looks for a similar open task or event near the same date. Compare word stems, but treat different codes (an order or flight number) as different things. On a clear match, add a note to the existing task and say "already exists"; on a vague match, create it and name the near-double.5. Close only on evidence and say what it was. If unsure, ask. Cancel only when I ask directly. An agent closes a task from a letter only on a clear match between the letter and the task.6. Instead of hiding, give two answers: "for a week" moves the due date; "won't do" closes the task with the note "won't do, dropped on <date>". Nothing is deleted.7. Quiet by default: a scheduled agent with nothing worth telling me answers NOTHING. If NOTHING appears anywhere in its answer, send no notification.Was this useful?