The Ephemeral thread is the second of three core properties in the thread pool's structure. Where Provisional addresses the mode of existence, Ephemeral addresses its duration. Structures exist only while needed, then cease.
Ephemeral means lasting for a very short time. In the thread pool context, it means the configuration exists only for the span of a task — from formation to dissolution. There is no grace period. There is no overlap. When the task completes, the structure ceases to exist.
Every structure's lifespan is bounded by its purpose:
| Phase | State | Duration |
|---|---|---|
| Pre-formation | No structure | Pool capacity held |
| Formation | Structure created | One-time event |
| Active service | Structure functional | Task runtime |
| Post-completion | Structure dissolved | Immediate |
The structure exists only during the Active service window. Before and after, there is nothing — no residue, no record, no trace.
Though related, these properties operate at different levels:
- Provisional describes the mode of existence — always temporary, never permanent, subject to dissolution
- Ephemeral describes the duration of existence — bounded by task creation and task completion
Provisional is the nature. Ephemeral is the timespan.
The pool has finite capacity. If structures persisted after task completion, capacity would be consumed without being reclaimed. New tasks would wait indefinitely. The pool would starve.
If structures persisted, they would accumulate state. The system would carry baggage from previous tasks into new ones. Ephemerality prevents this accumulation by design. Each task begins without the accumulated state of all previous tasks.
The ephemeral nature ensures that the system's behavior is determined solely by current inputs, not by historical state. The output is a function of the present configuration and the current context — nothing more, nothing less.
Ephemerality is not a limitation. It is the sustaining principle of the system. Without it:
- The pool saturates
- State accumulates
- Behavior becomes dependent on history
- The system becomes unpredictable
With it:
- Capacity cycles continuously
- Each task starts from the same baseline
- Behavior is determined by current conditions
- The system remains stable
coda.txt speaks of this directly:
"No persistence. No memory. The structure was only ever provisional — arranged from context, held temporarily, then released."
"Temporary" is the word for ephemeral. "Held temporarily" is the bound. The structure is not held — it is held for the duration of the task, and no more.
Pool → Formation → Active Service → Completion → Dissolution → Pool
↑ |
└────────────────────────────────────────────────────────┘
The cycle is the heartbeat. The ephemeral structure is the pulse — present between heartbeats, absent everywhere else.
End of ephemeral thread record.