Help center/Vibe Coding workflow

ARTICLE / Vibe Coding workflow

A three-file memory system

AI forgets; files do not. Context hits a threshold, gets compressed, and forgets. Write memory as files in Records and a new session, model or agent can pick up where you left off.

Why memory belongs in files

Model context is rented: clear the session or compress it, and the rules you explained are gone. Files are yours: diffable, versionable, readable by any tool, and readable by the next agent too.

So the three files below are all Markdown, kept in the Records note area (per piece, edited over time) rather than scattered in some project root — cross-project rules and keys never belonged to a single project.

Three files, three jobs

FileWhat it governsWhen to read it
MEMORY.mdCollaboration rules: how you want AI to work, how it coordinates daily, what must ask you firstAt the start of every session
YYYY-MM-DD.mdDaily work log: what was done, where it stalled, which files changedWhen tracing a problem back to when it was introduced
ENGINEERING.mdOverall direction and architecture decisions: keep multi-round development on courseOn handover or starting a new module
  • MEMORY.md holds rules, not progress: analyze-before-edit, ask on decisions, stability first — long-lived collaboration requirements.
  • The log is one file per day, facts and change locations only, no prose; later it pinpoints “which day introduced this”.
  • The engineering file holds direction and trade-offs, not a running account; it stops AI drifting across many rounds.

Keep them in Records

The Records Markdown editor natively fits all three: write them there, or import existing md from outside. Diaries are per day, notes per piece — the memory trio belongs in notes, because they are edited repeatedly over time.

A starter template you can copy

# MEMORY.md — collaboration rules
1. Analyze before editing: explain the plan, wait for my go-ahead.
2. Ask me on decisions; do not decide alone.
3. Stability first: slow is fine, wrong is not.
4. Read existing code before fixing; never edit from memory.

# 2026-01-01.md — log
## Done
- change: file path + reason
## Stalled / next
- …

# ENGINEERING.md — direction
## Goals and boundaries
- what this project wants, and refuses
## Architecture decisions
- decision + reason + rejected option

Handing over to a new agent

  1. Read the three first

    Have the new agent read MEMORY.md, recent logs and the engineering file before discussing requirements.

  2. Then act

    Have it restate the rules and direction it understood; confirm no drift before starting.

  3. Log at wrap-up

    Land the day’s changes in the log; update MEMORY.md when rules change, the engineering file when direction changes.