lmzhen/dsh-evolution--packages-evolution-state-json1

@deepseek-ai/dsh-evolution-state-json

JSON-file evolution state provider over the IO seam

AI 分析

该插件暂无 AI 分析内容。

包名
@deepseek-ai/dsh-evolution-state-json
版本
0.3.70
许可证
MIT
最近更新
2026年9月12日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@deepseek-ai/dsh-evolution-state-json

JSON-file evolution state provider over the IO seam

Model Experience

Indirect model surface

What the model sees

@deepseek-ai/dsh-evolution-state-json registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.

Token effect

Zero direct token effect from this package; consumers add any model-visible tokens.

KV Cache effect

Independent of request-prefix construction. This package does not alter the assembled prompt or tool list.

Known Limitations and Deferred Work

  • P2-4 (v15): the live pending map is BOUNDED — resolved (approved/rejected) records are kept to the most recent PENDING_RESOLVED_CAP (200, seam constant in evolution-state-storage); the oldest by resolvedAt rotate into the pending-state-archive.json sidecar (with .bak rotation), which is JSON-provider-specific. The DOMAIN provider enforces the same live cap but has no sidecar: past the cap its resolved records are deleted, not archived.
  • V25-11 (v25): the review-state table is likewise BOUNDED — REVIEW_STATE_SESSION_CAP (500, seam constant) rows keyed by session; on every save the least-recently-active sessions (provider-stamped updatedAt, stored on disk only) are pruned. The stamp is stripped on read, so the consumer-facing record shape is unchanged.
  • JSON provider serializes writers inside one process AND through the IO backend's cross-process transact lock (an internal transact wrapper — not public API, audit v10 S-03 — wraps every mutation, 0.3.20/0.3.27) — this provider is NOT limited to single-process safety. The caveat below is about the DSH storage-domain providers (storage-json documents no cross-process write locking) when the DOMAIN provider is used instead; multi-process deployments should route the evolution domain to a backend with cross-process semantics such as SQLite or remote storage.