codeassembly-lifecycle
v0.3.0
Published
Canonical lifecycle-event envelope, vocabulary, and lane fold
Maintainers
Readme
codeassembly-lifecycle
Canonical session-lifecycle event envelope, vocabulary, and lane fold.
This package defines the JSONL event format that instrumented skills append to the lifecycle-events root, and the pure fold that turns that log into lane and session state. Producers and consumers share it so a log means the same thing on both sides: the codeassembly CLI ships the helpers that write events, and Fleet reads them back.
Release notes — v0.3.0 (2026-08-07)
🎉 Features
🚨 Breaking: Rename the harness id to rovo and qualify the frontmatter key (#1199)
Renames the internal ID for the Rovo Dev harness from
rovodevtorovo.--harness rovoreplaces--harness rovodevin every command.Separately, renames the
harnessesfrontmatter key (which narrows a skill to particular harnesses) tosupported-harnesses:to avoid confusion.
Installation
pnpm add codeassembly-lifecycleWhat it exports
| Export | Covers |
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| EVENT_TYPES, EventEnvelope, EventType, isEventType | The event envelope and the closed vocabulary of event types |
| parseEventLine | Reads one line of a JSONL event log into an envelope |
| applyLaneEvent, applySessionEvent, createLaneState, createSessionState, deriveLaneStatus, deriveSessionStatus | The fold from events to lane and session state |
| resolveLaneCwd, resolveLaneRecency | Lane projections a renderer needs |
| parseTicketRef | Reads a ticket reference out of a branch name or identifier |
The fold is pure, and everything exported is browser-bundle-safe, so a client renders from the same state a server derives.
