The Compost Protocol

In Standard Garden, nothing truly dies—it composts. This protocol defines how content expires and what happens to anonymous notes.

Anonymous Note Lifecycle

Creation

When you create a note without an account:

Warning System

Anonymous notes receive composting warnings:

Creating an Account

To save an anonymous note permanently:

  1. Create an account (::login)
  2. Claim ownership of the note
  3. The note converts to permanent storage
  4. URL changes from /t/{nano_id} to /{username}/{slug}

The Composting Process

When a note composts:

  1. Soft Delete: Note is marked as deleted but not immediately removed
  2. Grace Period: 30-day recovery window for technical support
  3. Final Deletion: After 30 days, note data is permanently removed
  4. Metadata Retention: Anonymous usage statistics are preserved (privacy-safe)

Why Composting?

Sustainability

Storage isn’t infinite. By composting old anonymous content:

Intentional Friction

The 7-day expiration creates natural upgrade pressure:

Resource Respect

Unlike platforms that hoard data forever:

Preventing Composting

To prevent your notes from composting:

1. Create an Account

The simplest solution:

::login

Enter your email, verify with the code, choose a username. Now all your notes are permanent.

2. Account Benefits

Free accounts include:

3. Upgrade to Estate

Unlimited everything:

Technical Details

Database Schema

— Anonymous notes have expires_at timestamp
CREATE TABLE notes (
  …
  expires_at TEXT, — ISO 8601 timestamp (7 days from creation)
  owner_id INTEGER DEFAULT 1 — NULL or 1 = anonymous
);

Composting Job

Automated cleanup runs daily:

// Pseudo-code
const expiredNotes = await db.query(`
  SELECT * FROM notes 
  WHERE expires_at < NOW() 
  AND owner_id IS NULL
`);

for (const note of expiredNotes) {
  await compostNote(note.id);
}

Recovery

If you accidentally let a note compost:

Philosophy

“Composting is part of the design. Not everything needs to last forever. The garden grows, blooms, and returns to soil.”

This isn’t a flaw—it’s intentional. Ephemerality creates urgency, sustainability, and respect for resources.

See Also