@lmzhen/dsh-evolution-activity
v0.62.4
Published
Durable activity store for self-evolution plan outcomes (community build)
Readme
@lmzhen/dsh-evolution-activity
Internal plugin that persists evolution process events into $DSH_HOME/evolution/activity.json.
What it records
evolution/plan-applied: accepted, rejected, skipped, and failed operation counts for a reviewed plan.evolution/review-completed: the review status, trigger, bounded text preview, actions, timing, and model usage when supplied.finalTextis capped at 2000 characters andfinalTextCharskeeps the full length; prompts and tool results are not persisted.
The versioned sidecar contains separate items and reviews arrays. maxItems bounds each array and defaults to 200; values below 1 are rejected by the loader.
Consumers and failure behavior
There is no direct command or panel. evolution-replay reads plan records, while other diagnostics can read the persisted review history without a live session.
Persistence starts after an evolutionIo provider mounts. Appends are best effort: a write failure is logged after the upstream operation has already completed. Before an append replaces unreadable or foreign-version bytes, the writer attempts to preserve them in a .corrupt copy and refuses the append if that rescue fails.
The concurrency guarantee comes from the selected IO backend. The shipped composition uses the platform filesystem backend (evolution-core/io-platform) through the family IO seam; the legacy io-node backend remains available to tests and standalone consumers.
Review schema v3
Review records now carry taskId, kind, status (including partial), requests, toolCalls, waitCount, partialReason, optional toolMode/preset, and the structured report. Readers still accept v2 bytes; writers always emit v3.
