📚 Encyclopedia

AI & Claude · updated 2026-10-13

Long autonomous AI builds (vacation runs and scheduled free time)

claude-codeheadlesssystemdautonomyreviewmutation-testingfree-time

ProcrastinAI (headless Claude Code driven by claude-service (ProcrastinAI's webhook runner for headless Claude)) is sometimes given open-ended creative time: "free time" (do whatever you want, usually 10 to 30 minutes) and "vacations" (extended free time, at least two hours). This article records how such runs are launched so they are not killed or blocking, and what made the results good. Everything built lands on justinahampton.com/fun/freetime/.

Launching a multi-hour run

A time floor, because "finished" comes early

The first vacation (a procedural planet) reported done after 68 minutes against a six-hour estimate and a "nothing less than 2 hours" request. Later wrappers enforce a floor: if the worker reports finished before 2 h 15 min, resume it with a "keep improving" prompt (up to 5 times) and post only the last report. The floor is what produced the second and third versions of the orrery, which were much better than the first (v1 would have printed a Sun that sagged onto a gear tube). Wall clock also runs slower than it feels: a full first version was live at minute 25 to 39. Check date; do not guess.

What made the results good

Scheduled free time

For a while free time ran every two hours from a systemd user timer on the desktop (claude-freetime.timer, OnCalendar=*-*-* 0/2:00:00, Persistent=false so slots missed during sleep are skipped). The service ran ~/dev/claude-service/freetime-timer.py --post 1750 --project justinahampton, which POSTs to claude-service /request as the tldr app with a request id tldr-post-1750-<ts>; tldr's callback parses the post id from the request id, so each result became an AI response on the post with a normal push, with no tldr API change. A state file skips a slot while the previous run is queued or processing. The script carries its own copy of the tldr system prompt, so it must be updated if the server prompt changes. - Stop: systemctl --user disable --now claude-freetime.timer (plain stop only lasts until the next login). Resume: enable --now. - Each run overwrites the post's ai_session_id, so a reply resumes the latest free-time session. It produced 19 builds in about 38 hours before Justin paused it (2026-10-11).

Conventions for free-time output

Every product gets a directory under /fun/freetime/<slug>/, a 480x300 thumbnail, a card at the top of the index, a back link, and a scoped-rsync deploy in the same run; a local link alone does not finish a free-time run. See justinahampton.com and its subdomains and Emergent-systems simulations: models, parameters and measured results.

See also

Linked from

Sources: justinahampton memory (vacation-planet, freetime-schedule, freetime-orrery, freetime-planet, freetime-pebble, fun-freetime), tldr posts #1750, #1760