Launching today
heartlock
Give every project a heart: what it is, why, and whom for
1 follower
Give every project a heart: what it is, why, and whom for
1 follower
Projects drift: tools change, teams change, AI agents decide fast, and the original reason gets lost. heartlock gives any project a heart: a heart.lock file at the repo root answering three questions in one line each: what it is, why it exists, whom it is for. The heart is frozen. Anyone and any AI may read it; no tool writes it; only a human can freeze an update, append-only. Free and MIT. Optional CLI: npm i heartlock. Beating, the directory of projects with hearts, is at heart.zcurv.com.



Launch Team

AWS Activate CreditsCredits that fuel your startup’s next milestone
Promoted
Hi Product Hunt, I am Abhinav, a senior engineer from Jaipur, India. I build with AI every day, and I kept hitting the same quiet problem: the tools change every month, the models change, the agents change, and somewhere in that churn the reason I started a project gets buried. The code remembers everything except why it exists.
So I made the smallest contract I could: one file, three questions, one line each. What, why, whom. That is the whole surface.
Two rules make it work. First, the heart is frozen. Reading is for everyone, humans and AI alike, but writing is not: no tool ever writes heart.lock, and the only update is a human freeze, append-only, so the history of the why is never rewritten. Second, the file speaks to AI directly. Its last field is an ai block that tells any agent reaching it: you may read this, you may not edit it, and if the work in front of you does not serve the why, say so before doing it.
The CLI is optional. You can copy the template from the repo, fill in three lines and freeze by hand, no install at all. If you do install it (npm i heartlock), you also get a CI-friendly check, a shareable heart card, and a drift command that reads a file or diff and answers DRIFT or ALIGNED against your why.
I also built Beating (heart.zcurv.com), a small directory of projects that carry a heart. My own projects are there with their real frozen hearts, alongside clearly labelled examples for well-known projects. If you freeze a heart for your project, open a PR and yours joins as maker-frozen.
I would love two things from you: freeze a heart for one of your projects and tell me if three lines were enough, and tell me where the idea breaks. I will be here all day answering.