@zq-silk/yui 2.17.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/cli/commandCatalog.js +2 -1
  2. package/dist/commands/controllerCommands.js +13 -4
  3. package/dist/commands/durableJobCommands.js +50 -3
  4. package/dist/commands/globalRoleCommands.js +18 -12
  5. package/dist/commands/inboxCommands.js +1 -0
  6. package/dist/commands/operatorCommands.js +10 -2
  7. package/dist/controlPlaneCli.js +21 -4
  8. package/dist/controller/clientRuntime.js +34 -13
  9. package/dist/controller/controller.js +35 -22
  10. package/dist/controller/diagnosticJournal.js +214 -0
  11. package/dist/controller/fileSchedulerStoreAdapter.js +139 -101
  12. package/dist/controller/globalInputDelivery.js +6 -2
  13. package/dist/controller/globalRuntimeAttention.js +11 -3
  14. package/dist/controller/jobControl.js +1 -1
  15. package/dist/controller/jobDefinitionControl.js +24 -13
  16. package/dist/controller/jobSupervisor.js +4 -0
  17. package/dist/controller/runtime.js +66 -4
  18. package/dist/controller/workerSchedulerStore.js +24 -0
  19. package/dist/core/boundedRpc.js +4 -0
  20. package/dist/core/controllerServer.js +1 -1
  21. package/dist/core/controllerTelemetry.js +92 -19
  22. package/dist/job/globalShell.js +51 -0
  23. package/dist/job/jobBusinessResult.js +4 -3
  24. package/dist/job/jobDefinition.js +6 -1
  25. package/dist/job/jobRunner.js +9 -0
  26. package/dist/job/scheduleService.js +2 -0
  27. package/dist/message/globalInboxRecovery.js +30 -19
  28. package/dist/message/globalProviderRetry.js +7 -1
  29. package/dist/runtime/builtinAgentErrorMappers.js +4 -0
  30. package/dist/runtime/globalSessionHealth.js +39 -0
  31. package/dist/scheduler/roleRunStall.js +10 -10
  32. package/dist/storage/persistenceWorker.js +41 -19
  33. package/dist/storage/sqliteSchema.js +35 -11
  34. package/dist/storage/sqliteStore.js +86 -8
  35. package/dist/storage/storageVersions.js +1 -1
  36. package/dist/storage/storeRpc.js +25 -11
  37. package/dist/storage/taskReadRevisionSchema.js +39 -0
  38. package/dist/web/assets/client/app/catalog.js +0 -29
  39. package/dist/web/assets/client/app/jobs.js +115 -0
  40. package/dist/web/assets/client/app/main.js +17 -6
  41. package/dist/web/assets/client/app/manage.js +1 -0
  42. package/dist/web/assets/client/app/settings.js +1 -5
  43. package/dist/web/assets/client/i18n/en.js +203 -18
  44. package/dist/web/assets/client/i18n/zh-CN.js +202 -17
  45. package/dist/web/assets/client/index.js +2 -0
  46. package/dist/web/assets/client/layout/manageShell.js +61 -15
  47. package/dist/web/assets/client/layout/router.js +2 -1
  48. package/dist/web/assets/client/lib/prefs.js +1 -1
  49. package/dist/web/assets/client/views/jobs.js +1042 -160
  50. package/dist/web/assets/client/views/sidebar.js +3 -0
  51. package/dist/web/assets/shared/manageNav.js +3 -1
  52. package/dist/web/assets/shell/appRail.js +2 -1
  53. package/dist/web/assets/shell/manage.js +7 -2
  54. package/dist/web/assets/shell/models.js +4 -3
  55. package/dist/web/assets/shell/settingsContent.js +0 -3
  56. package/dist/web/assets/shell/sidebar.js +0 -1
  57. package/dist/web/assets/styles/views/jobs.js +301 -12
  58. package/dist/web/assets/styles/views/sidebar.js +1 -2
  59. package/dist/web/webServer.js +28 -1
  60. package/docs/global-shell-jobs.md +78 -0
  61. package/docs/job-runs.md +6 -3
  62. package/docs/managed-turn-and-session-runtime.md +74 -0
  63. package/docs/managed-turn-and-session-runtime.zh-CN.md +51 -0
  64. package/docs/release-workflow.md +43 -0
  65. package/docs/release-workflow.zh-CN.md +29 -0
  66. package/docs/storage-baseline.md +14 -1
  67. package/docs/storage-baseline.zh-CN.md +6 -1
  68. package/docs/testing/verification-levels.md +2 -2
  69. package/docs/testing/verification-levels.zh-CN.md +2 -2
  70. package/package.json +1 -1
@@ -11,6 +11,80 @@ notifications cannot restart an explicitly stopped Session; normal Host detach
11
11
  preserves an active Session and remains reconnectable. A switch after a partial
12
12
  failure still settles the retained input before selecting a new conversation.
13
13
 
14
+ Local stop waits for its durable cleanup obligation, not for the Home-wide
15
+ `scheduler.scan` loop to empty. A signal only requests reconciliation; the
16
+ existing physical-stop proof and cleanup transaction remain the completion
17
+ boundary. A timeout retains the obligation and blocks replacement. Selection
18
+ failure and unconfirmed startup are reported separately; neither permits
19
+ replaying an uncertain native operation.
20
+
21
+ `operator status` and Session context distinguish desired/effective launch
22
+ revisions and selected-writer state from Host observation health. Old-conversation
23
+ failures remain audit evidence, not the new Session's current failure.
24
+ An exact rejected input can be explicitly retired when obsolete; accepted,
25
+ submitting, unknown and interrupt-owned input still retain their handling path.
26
+
27
+ `controller status --json` exposes bounded observations under
28
+ `identity.runtime.observations`: authenticated requests, scheduler pending
29
+ scopes, phase/read costs and sampled event-loop lag are separate facts.
30
+ Samples use a process-monotonic clock and hashed target/request labels, with
31
+ at most 16 recent and 16 active samples plus the slowest completed sample.
32
+ In-flight request count is not queue depth, and pre-routing wait is not
33
+ measured. These observations neither identify an old incident retroactively
34
+ nor establish quiescence; restarting a Controller does not refresh live Hosts.
35
+
36
+ `observations.persistence` separates main-thread database lock/body/commit
37
+ costs from persistence-worker round trips, worker execution and worker reads.
38
+ Worker summaries travel on existing replies and retain a worker-instance ID;
39
+ status reads only cached facts, never performs a diagnostic worker RPC.
40
+ Match hashed request targets when comparing round trip and execution. The
41
+ difference includes startup, queueing, transport and main-loop delay, not a
42
+ pure queue-time measurement. Nested database/read durations overlap worker
43
+ execution and must not be added to it. Historical maxima may belong to other
44
+ requests; the latest/slowest samples retain their own timestamps.
45
+
46
+ With the default persistence worker, periodic Project-sync configuration checks,
47
+ expired Input recommendations and run-progress/stall diagnostic transactions
48
+ execute on that worker as complete read/check/write operations. Their callers
49
+ await completion; lock waiting does not block the socket thread. Existing
50
+ transaction fences and idempotent folds remain unchanged. Explicit worker-off
51
+ mode and injected adapters retain synchronous behavior. This is not blanket
52
+ isolation of all database writes: launch admission, mailbox claims, due Job
53
+ admission and other lifecycle writes still require their own boundary analysis.
54
+ Status responsiveness during these maintenance operations is not proof that
55
+ every possible Controller stall has been eliminated.
56
+
57
+ Idle Global inbox recovery and already-settled retry checks use read-only
58
+ snapshots, without reserving SQLite's writer. Creating a recovery notice or
59
+ settling an outstanding retry still rechecks the current Session/claim/input
60
+ inside the original write transaction. This removes no-op lock waits, not
61
+ contention from actual writes.
62
+
63
+ Production Controller startup (including handover promotion) retains operational
64
+ diagnostics in `runtime/controller-diagnostics.jsonl`, with two rotated files.
65
+ Each file is bounded to 1 MiB and owner-readable/writable only. An asynchronous
66
+ writer admits at most 32 queued records (16 KiB each); it never writes the
67
+ business database. Scheduler/startup errors retain a classification, fingerprint
68
+ and build-relative source frames, not raw messages, arguments or credentials.
69
+ A 250 ms memory-only sampler records new failed/slow observations (at least
70
+ 1 second), active slow work or its own loop delay at most once per second.
71
+ Records carry wall time, monotonic time, PID, process-instance ID and version;
72
+ bounded phase snapshots retain hashed request/target identities. It is sampled
73
+ evidence, not a trace of every request or the exact cause of pre-routing delay.
74
+ `observations.diagnostics` reports written/dropped/pending records and write
75
+ failures. No successful diagnostic write is assumed when storage fails.
76
+ Rotation, queue overflow and abrupt termination can lose evidence; a blocked
77
+ loop cannot emit a snapshot until it resumes. No automatic restart or operation
78
+ replay is introduced. These disposable operational logs are not Task state,
79
+ acceptance, a second recovery authority or a Home schema migration.
80
+
81
+ Scheduler caches load families lazily and use transaction-maintained Task
82
+ read revisions. Another Task or Global message does not invalidate an unchanged
83
+ Task history; updates, deletions and external writers still do. Compound folds
84
+ pin a read snapshot, uncommitted writes cannot publish a reusable cache token,
85
+ and only 16 recent Task projections are retained. Cache entries never authorize
86
+ dispatch or replace exact mutation-time checks.
87
+
14
88
  A newly created global Operator conversation requests the native title
15
89
  `Yui · Operator · MMdd`, using Yui's configured time zone. The request is made
16
90
  only after the provider returns the exact new conversation identity; restore
@@ -2,6 +2,57 @@
2
2
 
3
3
  # Session、AgentRun 与通知
4
4
 
5
+ 局部停止等待自身的持久清理义务完成,不等待整个 Home 的 `scheduler.scan`
6
+ 循环排空。signal 只请求调度;完成仍以现有物理停止证明及清理事务为准。
7
+ 超时保留义务并阻止替换;选择失败和新会话启动未确认分别报告,不允许重放未知效果。
8
+
9
+ `operator status` 与 Session context 区分 desired/effective 配置版本、选定写入者
10
+ 状态和 Host 观测健康。旧会话失败保留为审计证据,不是新会话的当前失败。
11
+ 明确 rejected 的过时输入可以显式退役;accepted、submitting、unknown 和
12
+ interrupt-owned 输入仍保留原处理路径。
13
+
14
+ `controller status --json` 的 `identity.runtime.observations` 分别呈现已认证请求、
15
+ 调度待处理范围、阶段/读取成本及采样的事件循环延迟。样本使用进程单调时钟,
16
+ 目标/请求标签仅保存哈希;每组最多保留 16 个近期样本、16 个活动样本及最慢完成样本。
17
+ in-flight 请求数不是排队数,路由前等待尚未测量。观测不能反推旧事故的唯一根因,
18
+ 也不构成静止证明;重启 Controller 不会刷新存活 Host。
19
+
20
+ `observations.persistence` 将主线程数据库锁等待/事务体/提交成本,与持久化
21
+ worker 的往返耗时、执行和读取成本分开。worker 摘要搭载既有响应,保留 worker
22
+ 实例标识;status 只读缓存观测,不另发诊断 RPC。比较往返和执行时间时须匹配
23
+ 同一个请求哈希,其差值还包括启动、排队、传输和主线程延迟,不是纯排队时长。
24
+ 嵌套的数据库/读取耗时已包含在 worker 执行中,不能重复相加;历史最大值可能
25
+ 来自其他请求,latest/slowest 样本保留各自时间戳。
26
+
27
+ 默认启用持久化 worker 时,周期性 Project-sync 配置检查、到期 Input 建议执行、
28
+ 运行进展及停滞诊断事务,作为完整的读/检查/写操作在 worker 内执行,调用方等待
29
+ 完成;等锁不再阻塞 socket 主线程。既有事务校验和幂等折叠保持不变。
30
+ 显式关闭 worker 或注入自定义 adapter 时仍沿用同步行为。这不是全部数据库写入的
31
+ 隔离:启动准入、邮箱领取、到期 Job 准入及其他生命周期写入仍需分别分析边界。
32
+ 这些维护操作期间状态请求可响应,不代表 Controller 的所有长停顿都已消除。
33
+
34
+ 空闲 Global 收件箱恢复检查、已处分的重试检查使用只读快照,不申请 SQLite
35
+ 写锁。真正创建恢复通知或处分未完成重试时,仍在原写事务内复核当前
36
+ Session/claim/输入。这消除的是空操作等锁,不是所有实际写入的竞争。
37
+
38
+ 生产 Controller(含升级接管后的启动)将运行诊断保存至
39
+ `runtime/controller-diagnostics.jsonl`,另保留两个轮转文件,每个最多 1 MiB,
40
+ 仅文件所有者可读写。异步写入器最多排队 32 条记录,每条最多 16 KiB,
41
+ 不写业务数据库。调度及启动错误只保留分类、指纹和构建内相对源码位置,
42
+ 不保留原始错误正文、参数或凭据。每 250 ms 仅检查内存指标;出现新的失败/
43
+ 至少 1 秒慢操作、仍在进行的慢操作或自身事件循环延迟时,每秒最多记录一次快照。
44
+ 记录包含墙钟、单调时间、PID、进程实例及版本,阶段摘要使用请求/目标哈希。
45
+ 这是采样证据,不是逐请求追踪,也不直接证明路由前阻塞原因。
46
+ `observations.diagnostics` 显示写入、丢弃、待写数量和写入失败;磁盘故障不伪装为
47
+ 记录成功。轮转、队列溢出、突然终止均可能丢失证据,主线程恢复前也无法输出快照。
48
+ 不新增自动重启或操作重放。这些可丢弃运行日志不是 Task 状态、验收依据的替代物、
49
+ 第二套恢复权威或 Home 数据格式迁移。
50
+
51
+ 调度缓存按需加载记录族,并使用事务维护的 Task 读取修订号。其他 Task 或 Global
52
+ 消息不会使未变化的本 Task 历史失效;更新、删除、其他进程写入仍正确失效。
53
+ 组合折叠固定在一个读取快照,未提交写入不产生可复用缓存标识,最多保留最近
54
+ 16 个 Task 的投影。缓存不授权派发,也不替代变更时的精确身份检查。
55
+
5
56
  ## 当前身份与持久处理回执
6
57
 
7
58
  桌面与 TUI 使用相同的当前 Session 授权。只有 `CODEX_THREAD_ID` 的桌面命令
@@ -51,6 +51,49 @@ merely to avoid a version decision. Package versions remain distinct from protoc
51
51
  and persistent-storage contracts: their compatibility checks and required migrations
52
52
  are unchanged, and the storage rules below do not authorize a package release.
53
53
 
54
+ ### 2.18.0 compatibility and migration notes
55
+
56
+ This minor includes the already-merged independent Jobs workspace and global
57
+ Shell script Jobs (PR #490), plus Controller reliability and diagnostics.
58
+ Exact Session stop/replacement no longer waits for unrelated global scheduling
59
+ to drain. Stop proof, single-writer ownership and unknown-input replay fences
60
+ remain required. Session health distinguishes historical failures from the
61
+ current authority; conclusively rejected obsolete inputs can be retired without
62
+ erasing their original evidence.
63
+
64
+ Task-scoped lazy read caches, indexed observation queries and persistence
65
+ timings reduce projection work and separate request/worker/database costs.
66
+ With the default persistence worker, periodic maintenance lock waits no longer
67
+ block the socket thread; idle Global recovery and settled retry checks are
68
+ read-only. Actual admission and other business writes may still contend.
69
+ Bounded, redacted asynchronous diagnostics retain incident evidence in
70
+ `runtime/controller-diagnostics.jsonl` and two rotated files. These changes
71
+ address reproduced mechanisms, not a proven unique cause of every historical
72
+ timeout. See [managed runtime](managed-turn-and-session-runtime.md).
73
+
74
+ Storage advances from **1.22 through 1.23 to 1.24**: 1.23 declares revisioned
75
+ global Shell script definitions and Run snapshots; 1.24 adds Task read-revision
76
+ tokens and triggers without rewriting historical payloads. A production 1.21
77
+ Home first applies the existing 1.22 Role/Profile availability transition.
78
+ Use the centralized contiguous same-major migration, never manual schema edits.
79
+ Controller RPC and Host control/event protocols remain v1. Compatible live
80
+ Hosts/Sessions are retained, not hot-upgraded; unreported Host capabilities and
81
+ unknown results remain explicit.
82
+
83
+ With separate production authority, the Operator uses
84
+ `yui update --version 2.18.0` after verifying the published artifact. Refresh a
85
+ consistent maintenance backup and capture the current executable/Controller
86
+ identity before migration. An earlier online DB snapshot alone is not a complete
87
+ rollback point and cannot overwrite subsequently accepted input. Do not open a
88
+ 1.24 Home with an older binary; rollback requires the matching pre-upgrade
89
+ program and consistent Home backup, with intervening effects reconciled.
90
+
91
+ Release gates require exact-merge-commit Core CI and the same runtime archive's
92
+ fresh-install platform/Node matrix before npm publication. Local deterministic
93
+ tests and prior smoke evidence do not replace those gates or prove real-model
94
+ behavior. Publication does not itself update a production Home or resolve
95
+ another Task's execution.
96
+
54
97
  ### 2.17.0 compatibility and migration notes
55
98
 
56
99
  This minor adds persistent Role/Profile enable and disable controls in CLI and
@@ -36,6 +36,35 @@ Agent 选择一个预先声明的计划,设施从持久状态驱动该计划
36
36
  不能将不兼容冒称为兼容,也不为回避版本选择新增历史兼容机制。包版本与协议、
37
37
  持久存储契约仍然独立:兼容性检查和必要迁移要求不变,下文存储规则不授予发版权限。
38
38
 
39
+ ### 2.18.0 兼容性及迁移说明
40
+
41
+ 本 minor 包含已合入的独立 Jobs 工作区和全局 Shell 脚本 Job(PR #490),以及
42
+ Controller 可靠性与诊断改进。精确 Session 停止/替换不再等待无关全局调度排空;
43
+ 停止证明、单写者和未知输入防重放仍受保护。Session 健康区分历史故障与当前权限,
44
+ 明确拒绝的过期输入可以合法退役,原始证据保留。
45
+
46
+ Task 局部惰性缓存、索引查询和持久化耗时观测减少投影开销,并区分请求、worker
47
+ 和数据库成本。默认持久化 worker 承担周期维护事务的锁等待;空闲 Global 恢复和
48
+ 已处分重试检查只读。实际启动准入和其他业务写入仍可能竞争。异步脱敏诊断保存到
49
+ `runtime/controller-diagnostics.jsonl` 及两个有界轮转文件。这些改进解决已复现机制,
50
+ 不代表已证明每次历史超时的唯一根因。参见[托管运行时](managed-turn-and-session-runtime.zh-CN.md)。
51
+
52
+ 存储从 **1.22 经 1.23 升至 1.24**:1.23 声明全局 Shell 脚本定义及精确 Run 快照;
53
+ 1.24 增加 Task 读取修订号与触发器,不改写历史载荷。生产 1.21 Home 会先执行已有的
54
+ 1.22 Role/Profile 启停字段迁移。必须使用集中式同 major 连续迁移,不手工修改数据库。
55
+ Controller RPC、Host control/event 协议仍为 v1;兼容的存活 Host 和 Session 保留,
56
+ 而非热更新。Host 未报告能力及未知结果仍明确保留。
57
+
58
+ 另行获得生产授权后,由 Operator 核验实际发布包,再执行
59
+ `yui update --version 2.18.0`。迁移前刷新一致的维护备份,记录当时程序与 Controller
60
+ 身份。较早的在线数据库快照不是完整回滚点,不可覆盖后续已接受输入。
61
+ 旧二进制不能打开 1.24 Home;回滚需要匹配的旧程序和升级前一致 Home 备份,
62
+ 并核对期间发生的效果。
63
+
64
+ 发布门禁要求精确 merge commit 的 Core CI,以及同一运行包的全新安装平台/Node
65
+ 矩阵通过后才能发布 npm。本地确定性测试与既有 smoke 不替代这些门禁,也不证明
66
+ 真实模型行为。发布本身不更新生产 Home,不代表其他 Task 执行问题已解决。
67
+
39
68
  ### 2.17.0 兼容性及迁移说明
40
69
 
41
70
  本 minor 在 CLI 和 Web 设置中新增持久化的 Role/Profile 启用、停用控制。
@@ -2,7 +2,20 @@
2
2
 
3
3
  # Storage baseline 1.0
4
4
 
5
- Current storage is 1.22. The 1.21 → 1.22 transition admits an optional boolean
5
+ Current storage is 1.24. The 1.23 → 1.24 transition adds transaction-maintained
6
+ Task read-cache revisions for the scheduler's nine source tables. Inserts,
7
+ updates and deletions invalidate only the affected Task; rollback also rolls
8
+ back the token. These tokens are derived cache identities, never Task authority
9
+ or a replacement for the Home revision CAS. Historical payloads are unchanged,
10
+ and existing Tasks start with an implicit zero token until their first mutation.
11
+ Two partial indexes support exact runtime-observation identity lookup without
12
+ scanning or deserializing the historical observation set.
13
+
14
+ The 1.22 → 1.23 transition adds global Shell Job
15
+ definitions with revisioned script files and per-Run executable snapshots.
16
+ It preserves existing payloads without rewriting any Job, schedule or history.
17
+
18
+ The 1.21 → 1.22 transition admits an optional boolean
6
19
  `enabled` on Roles and Profiles. Absence means enabled. SQL layout, historical
7
20
  payloads, existing Task bindings, Session snapshots and input receipts are
8
21
  unchanged; upgrade does not launch or stop execution.
@@ -2,7 +2,12 @@
2
2
 
3
3
  # 存储基线 1.0
4
4
 
5
- 当前存储为 1.22。1.21 → 1.22 为 Role/Profile 声明可选布尔字段 `enabled`,
5
+ 当前存储为 1.24。1.23 → 1.24 为调度器的九类来源表增加事务维护的 Task 读取缓存修订号。插入、更新和删除只使对应 Task 的缓存失效,回滚同时回滚修订号。该值仅是派生缓存标识,不是 Task 权限或 Home revision CAS 的替代。历史 payload 不变,旧 Task 在首次修改前使用隐含的零修订号。
6
+ 同时增加两个局部索引,支持按精确运行观测身份查找,不再扫描或反序列化历史观测集合。
7
+
8
+ 1.22 → 1.23 新增全局 Shell Job、版本化脚本文件及每次运行的配置快照,不改写已有 Job、计划和历史记录。
9
+
10
+ 1.21 → 1.22 为 Role/Profile 声明可选布尔字段 `enabled`,
6
11
  缺省表示启用。SQL 布局、历史 payload、已有 Task 绑定、Session 快照和输入回执
7
12
  保持不变;升级不启动或停止执行。
8
13
 
@@ -53,12 +53,12 @@ is required.
53
53
  Both include `test/core` and `test/platform`. For an already built checkout,
54
54
  `npm run test:business` runs only `test/core` and `npm run test:platform` runs
55
55
  only `test/platform`; neither rebuilds. CI owns one explicit build per job.
56
- The stable suite owns current storage 1.22 and its declared 1.0 through 1.21 minor
56
+ The stable suite owns current storage 1.24 and its declared 1.0 through 1.23 minor
57
57
  transition. It contains no undeclared historical format compatibility path.
58
58
 
59
59
  Current coverage includes:
60
60
 
61
- 1. Fresh storage 1.22, exact schema/record validation, no initialization over
61
+ 1. Fresh storage 1.24, exact schema/record validation, no initialization over
62
62
  unknown data, and rejection of old integer formats without mutation.
63
63
  2. Exact-version staging, mismatched-target refusal, same-major contiguous
64
64
  minor preflight, explicit maintenance-owner identity across handover, and
@@ -39,12 +39,12 @@ Yui 是一个单用户本地产品。永久验证保护关键的 happy path 和
39
39
  两者均包含 `test/core` 和 `test/platform`。已构建的 checkout 可分别运行
40
40
  `npm run test:business` 与 `npm run test:platform`,它们不会再次构建。
41
41
  CI 每个作业只显式构建一次。
42
- 稳定套件维护当前存储 1.22 和明确声明的 1.0 至 1.21 连续小版本迁移,
42
+ 稳定套件维护当前存储 1.24 和明确声明的 1.0 至 1.23 连续小版本迁移,
43
43
  不包含未声明的历史格式兼容路径。
44
44
 
45
45
  当前覆盖包括:
46
46
 
47
- 1. 新建存储 1.22、精确结构与记录校验、禁止覆盖未知数据库、无修改拒绝旧整数格式。
47
+ 1. 新建存储 1.24、精确结构与记录校验、禁止覆盖未知数据库、无修改拒绝旧整数格式。
48
48
  2. 精确版本暂存、目标不匹配拒绝、同主版本连续小版本预检、交接锁显式所有者,
49
49
  以及恢复时核对捕获的协议和存储身份,不接受缺失字段。
50
50
  3. 持久 Task/Message/Decision 上下文、Draft 激活权威、mailbox 认领、
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zq-silk/yui",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "description": "Local control plane for long-running native agent CLI sessions backed by tmux.",
5
5
  "license": "MIT",
6
6
  "private": false,