Skip to content

Commit 2d83705

Browse files
kcmartinclaude
andauthored
Update lifecycle terminology to use official state names (#114)
Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 56719f8 commit 2d83705

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/content/docs/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ Sprites are ideal for:
4141
- **AI Code Execution** - Running code generated by language models (like Claude Code) in isolated, secure environments
4242
- **Untrusted Code** - Isolating and executing user-submitted code safely without risking the rest of your system
4343
- **Development Environments** - Building persistent development environments that maintain state between sessions
44-
- **Long-lived Services** - Hosting services that hibernate automatically and resume on request
44+
- **Long-lived Services** - Hosting services that go idle automatically and resume on request
4545
- **CI/CD Tasks** - Testing code against live git repositories with full environment access
4646

4747
## Core Concepts
4848

4949
### Persistence
5050

51-
Every Sprite has a persistent, standard ext4 filesystem. During execution, data is written to fast NVMe storage. When the Sprite hibernates, that data is backed up to durable object storage and automatically restored when it wakes up.
51+
Every Sprite has a persistent, standard ext4 filesystem. During execution, data is written to fast NVMe storage. When the Sprite goes idle, that data is backed up to durable object storage and automatically restored when it wakes up.
5252

53-
### Automatic Hibernation
53+
### Automatic Idle Behavior
5454

55-
Sprites automatically hibernate after a period of inactivity (30 seconds by default). While hibernated, there are no compute charges and your full filesystem is preserved. The Sprite wakes instantly on the next request.
55+
Sprites become `warm` immediately when idle, and may eventually go `cold`. While idle, there are no compute charges and your full filesystem is preserved. The Sprite wakes on the next request`warm` Sprites resume quickly, `cold` Sprites take a bit longer.
5656

5757
### HTTP Access
5858

src/content/docs/working-with-sprites.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ sprite sessions kill <id> # kill session
5757

5858
---
5959

60-
## Sprite Lifecycle: Hibernation and Persistence
60+
## Sprite Lifecycle: Idle Behavior and Persistence
6161

62-
Sprites automatically hibernate after 30 seconds of inactivity. That means:
62+
When activity stops, Sprites immediately become `warm`. Over time they may transition to `cold`. `warm` Sprites resume quickly; `cold` Sprites take longer to wake. That means:
6363

6464
### What Persists (and What Doesn't)
6565

@@ -76,7 +76,7 @@ Wake-up is fast:
7676
- ~100–500ms for normal wakes
7777
- 1–2s on cold starts
7878

79-
Use TTY sessions to keep things running without hibernating. You can detach with `Ctrl+\` and reattach later to see all the output.
79+
Use TTY sessions to keep things running without going `cold`. You can detach with `Ctrl+\` and reattach later to see all the output.
8080

8181
```bash
8282
sprite exec -tty "rails server"

0 commit comments

Comments
 (0)