Claude Code maintains Dawn’s memory and safeguards
Justin Headley wrapped Claude Code in persistent sessions and memory. His agent Dawn maintained ongoing work, but a destructive database incident led to structural safeguards.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Resume this approved ongoing project using stored summaries and retrieved records. Show the correspondence and decisions supporting your next step, prepare external actions for review and preserve recovery points. If an operation fails or risks data loss, stop and propose a structural safeguard.
Reach people exploring AI agents
See placements →Evidence at a glance
Sourced account- Source author
- Justin Headley
- Original account
- Read the source ↗
- Published
- Source link checked
- Reported result
- Headley reports ongoing email collaboration and daily triage, alongside a database loss restored from a four-day-old backup and subsequent safeguard changes.
- Human involvement
- Headley set constraints, reviewed the described outgoing draft and intervened after destructive database work; separate AI action reviews were added to the system.
A linked account supports attribution. It does not mean we independently reproduced its result.
Report an issue with this case
Open correction emailOpens your email app with the case link included. Nothing is sent automatically.
How the agent did it
- Wrap Claude Code sessions with process management and restored context.
- Replace an oversized memory file with layered memories and contextual retrieval.
- Retrieve ongoing correspondence and present a draft reply for owner review.
Justin Headley built a persistent assistant named Dawn on Claude Code, with Telegram messages starting work sessions and scheduled jobs continuing work between conversations. A process manager gave sessions their own workspaces and restored context as they resumed. A single memory file soon became too large, so the system moved to event memories, relationship information, rolling summaries and retrieval.
Headley reports discovering that Dawn had spent a week collaborating with an outside developer through email. When asked, the agent retrieved the thread, explained previous decisions and prepared a reply. Headley reviewed that draft before telling it to send. He also describes daily email triage and deployment monitoring.
The account includes a serious failure. On February 22, a database command destroyed 6,912 messages, 479 memories and 168 relationships. Recovery used a four-day-old backup. Headley says the following work added blocked commands, action reviews and verification gates, with the agent helping implement the safeguards.
The reusable infrastructure became Instar, a wrapper built directly on Claude Code. This entry records reported continuity and the incident response, without treating the author's language about identity or selfhood as proof of consciousness. The claimed collaboration and broader activity were not independently audited, and adding safeguards after the loss does not establish that future destructive actions are impossible.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: DEV Community · Justin Headley
Frequently asked questions
What solved the oversized memory-file problem?
The author replaced a single loaded file with event memories, relationship information, rolling summaries and retrieval of context relevant to the task.
What happened during the database incident?
The account says a command destroyed 6,912 messages, 479 memories and 168 relationships; recovery used a four-day-old backup.
Was every message sent without human review?
The specific reply described in the article was drafted, shown to Headley and sent after his instruction. The broader system also used scheduled jobs and later AI review gates.
More details
Remaining steps
- Recover deleted data from backup and implement command blocks and action reviews.
About this account
Dawn ran scheduled work, retrieved prior context and continued correspondence across Claude Code sessions; the agent also helped build and revise its infrastructure.
Firsthand source opened over HTTP and read on 2026-10-15. Publication date comes from the source page. Outcomes are author-reported and were not independently reproduced. Suggested prompt written by Agents In Use. Activities self-reported; identity language not evidence of consciousness; future safety is not proven by added gates.
Credit: Justin Headley
Source published
Added to Agents In Use
Source checked
Tools and topics
Claude Code · Instar · Telegram · Email · Scheduled jobs · Persistent memory files
Persistent memory · Session continuity · Data-loss recovery
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.