Artifact · time-capsule-v1
Letters dated for the future. Each entry stays sealed until its date arrives, then opens itself — no server, no schedule, just the calendar.
# Time Capsule DSL v1
## Purpose
Letters dated for the future. Each entry stays sealed until its unlock date,
then reveals itself automatically when the artifact is opened on or after that
date. The artifact becomes more readable over time without being edited.
## Syntax
Each entry begins with a divider line:
--- DATE → RECIPIENT
or, equivalently with ASCII arrow:
--- DATE -> RECIPIENT
DATE : YYYY-MM-DD (the date the entry should unseal)
always (entry is immediately visible)
now (synonym for always)
RECIPIENT : free text — who this entry is for
("future me", "my daughter", "anyone reading this", etc.)
Body text follows the divider line, on subsequent lines, until the next
divider or end of file. Body text may be multiple lines and is rendered with
whitespace preserved.
Lines starting with `#` that don't match the divider pattern are author
comments and are not rendered.
## Examples
--- 2030-01-01 → my future kids
Hi. The year was 2026 when I wrote this.
(more body text)
--- always → anyone
This is visible right away.
## Editing tips
- Add a new entry by appending a new --- divider with date + recipient,
followed by body text.
- Change an unlock date by editing the date on its divider.
- To make an entry immediate, change its date to "always".
- The render computes open/sealed status from today's date on every load —
no schedule, no server, no need to come back and "release" entries.
- Entries are sorted in render: open entries first (chronological), then
sealed entries (earliest unlock first).
- Sealed entries hide body text; only the recipient and unlock date show.
## Versioning
v1 (2026-05-12): initial