@zq-silk/yui 2.16.0 → 2.17.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 (69) hide show
  1. package/dist/cli/commandCatalog.js +17 -11
  2. package/dist/cli/interactionCandidates.js +20 -5
  3. package/dist/cli/interactionPolicy.js +5 -4
  4. package/dist/cli/roleWizard.js +7 -0
  5. package/dist/commands/globalRoleCommands.js +13 -2
  6. package/dist/commands/operatorCommands.js +2 -0
  7. package/dist/commands/profileCommands.js +19 -2
  8. package/dist/commands/roleConfiguration.js +3 -0
  9. package/dist/commands/taskCommands.js +16 -0
  10. package/dist/commands/taskRoleRuntimeStatus.js +3 -0
  11. package/dist/controller/agentJobControl.js +9 -1
  12. package/dist/controller/fileSchedulerStoreAdapter.js +35 -4
  13. package/dist/controller/globalInputDelivery.js +14 -8
  14. package/dist/controller/providerRetryAdmission.js +9 -0
  15. package/dist/controller/providerRetryDelivery.js +16 -0
  16. package/dist/controller/runtime.js +14 -0
  17. package/dist/controller/runtimeLaunchCoordinator.js +3 -1
  18. package/dist/executor/fileRoleLaunchPlanner.js +3 -0
  19. package/dist/message/messageContinuation.js +4 -0
  20. package/dist/output/rolePresentation.js +3 -0
  21. package/dist/profile/agentProfile.js +8 -0
  22. package/dist/profile/agentProfileRuntime.js +16 -1
  23. package/dist/review/reviewDecision.js +6 -0
  24. package/dist/role/availability.js +28 -0
  25. package/dist/role/role.js +6 -0
  26. package/dist/runtime/codexNativeAccess.js +21 -4
  27. package/dist/runtime/tmuxAdapters.js +5 -0
  28. package/dist/scheduler/activeRoleRunDelivery.js +9 -0
  29. package/dist/scheduler/leaderWakeupProcessor.js +8 -1
  30. package/dist/scheduler/roleRunLiveness.js +3 -0
  31. package/dist/storage/sqliteSchema.js +10 -0
  32. package/dist/storage/storageVersions.js +1 -1
  33. package/dist/web/assets/client/app/main.js +15 -22
  34. package/dist/web/assets/client/app/taskView.js +7 -11
  35. package/dist/web/assets/client/i18n/en.js +62 -18
  36. package/dist/web/assets/client/i18n/zh-CN.js +62 -18
  37. package/dist/web/assets/client/index.js +2 -0
  38. package/dist/web/assets/client/layout/shortcuts.js +2 -2
  39. package/dist/web/assets/client/layout/workspace.js +99 -112
  40. package/dist/web/assets/client/ui/primitives.js +15 -2
  41. package/dist/web/assets/client/views/dock/conversation.js +421 -123
  42. package/dist/web/assets/client/views/dock/session.js +229 -0
  43. package/dist/web/assets/client/views/dock/terminal.js +48 -39
  44. package/dist/web/assets/client/views/overview.js +2 -2
  45. package/dist/web/assets/client/views/task/page.js +2 -12
  46. package/dist/web/assets/shell/dock.js +9 -27
  47. package/dist/web/assets/styles/views/conversation.js +96 -17
  48. package/dist/web/assets/styles/views/dock.js +17 -5
  49. package/dist/web/assets/styles/views/task.js +1 -2
  50. package/dist/web/assets/styles/views/terminal.js +12 -8
  51. package/dist/web/webConversation.js +1 -0
  52. package/dist/web/webSettings.js +10 -2
  53. package/docs/managed-turn-and-session-runtime.md +10 -0
  54. package/docs/managed-turn-and-session-runtime.zh-CN.md +6 -0
  55. package/docs/release-workflow.md +24 -0
  56. package/docs/release-workflow.zh-CN.md +19 -0
  57. package/docs/roles-and-configuration.md +45 -1
  58. package/docs/roles-and-configuration.zh-CN.md +35 -0
  59. package/docs/storage-baseline.md +6 -1
  60. package/docs/storage-baseline.zh-CN.md +5 -1
  61. package/docs/testing/review-evaluation.md +35 -1
  62. package/docs/testing/review-evaluation.zh-CN.md +25 -1
  63. package/docs/testing/verification-levels.md +2 -2
  64. package/docs/testing/verification-levels.zh-CN.md +2 -2
  65. package/package.json +1 -1
  66. package/skills/yui-leader/VERSION +1 -1
  67. package/skills/yui-leader/references/execution.md +19 -8
  68. package/skills/yui-reviewer/SKILL.md +13 -2
  69. package/skills/yui-reviewer/VERSION +1 -1
@@ -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.21 and its declared 1.0 through 1.20 minor
56
+ The stable suite owns current storage 1.22 and its declared 1.0 through 1.21 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.21, exact schema/record validation, no initialization over
61
+ 1. Fresh storage 1.22, 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.21 和明确声明的 1.0 至 1.20 连续小版本迁移,
42
+ 稳定套件维护当前存储 1.22 和明确声明的 1.0 至 1.21 连续小版本迁移,
43
43
  不包含未声明的历史格式兼容路径。
44
44
 
45
45
  当前覆盖包括:
46
46
 
47
- 1. 新建存储 1.21、精确结构与记录校验、禁止覆盖未知数据库、无修改拒绝旧整数格式。
47
+ 1. 新建存储 1.22、精确结构与记录校验、禁止覆盖未知数据库、无修改拒绝旧整数格式。
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.16.0",
3
+ "version": "2.17.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,
@@ -1 +1 @@
1
- 6
1
+ 7
@@ -303,12 +303,20 @@ authority. Never invent authorization, impersonate Operator, or modify the core
303
303
 
304
304
  ## Validate and make the review judgment
305
305
 
306
- Prepare useful evidence, not a documentation gate. Supply or reference the
307
- effective goals/non-goals and decisions, independently grounded expected
308
- behavior, key user paths/constraints, contract entry points and relevant callers.
309
- Keep three things distinct: a behavioral scenario and its expectation, an
310
- executable test reference, and an actual result with candidate/environment/
311
- command. Disclose real gaps rather than deriving acceptance from current code.
306
+ Prepare useful evidence, not a documentation gate. From effective requirements,
307
+ non-goals and decisions, distill the few observable behavioral constraints that
308
+ matter to this change, with independently grounded expectations. Do not infer
309
+ correctness from the candidate or its mocks.
310
+
311
+ For material cross-layer or asynchronous risks, trace a short real path in the
312
+ exact candidate: entry -> actual consumers -> relevant waits/atomic commit
313
+ boundaries -> observable result and failure/recovery consequences. Point to
314
+ candidate code or existing documents, not just module names or a coverage claim.
315
+ Use it to expose where the same constraint must hold across boundaries; do not
316
+ enumerate every entry or generate a combination matrix. Keep three things
317
+ distinct: constraints/scenarios and expectations, executable test references,
318
+ and actual results with candidate/environment/command. Name material unverified
319
+ boundaries; a test reference alone is not a passing result.
312
320
 
313
321
  Small tasks can reference existing materials directly. For complex tasks, put a
314
322
  short review index in Task artifacts and its commit-pinned reference in Brief.
@@ -380,8 +388,11 @@ main synthesis through its exact AgentRun, preserving its selected source snapsh
380
388
  A Worker or Reviewer AgentRun result is evidence, not acceptance. Inspect the
381
389
  result, diff, checks, and current Candidate before deciding.
382
390
 
383
- Group confirmed findings by root cause and repair other reachable instances
384
- within scope together. For ordinary full re-review, preserve the current complete
391
+ Group confirmed findings by root cause. Use the traced paths to check other
392
+ reachable consumers/boundaries within scope and repair affected instances
393
+ together, not just the reported checkpoint. Refresh the short material index
394
+ and repair evidence where they changed, without accumulating round-by-round
395
+ history. For ordinary full re-review, preserve the current complete
385
396
  candidate and requirements; add repair delta, prior finding dispositions and
386
397
  still-valid evidence. Delta is an attention aid, not the full-review boundary.
387
398
  Do not conflate this with an explicitly authorized equivalence Delta Recheck.
@@ -111,9 +111,20 @@ contracts, state/data invariants, failure and partial recovery, authorization,
111
111
  and whether verification tests the actual contract. Multiple perspectives do
112
112
  not require multiple Agents or every perspective on every task.
113
113
 
114
+ Use the Leader's real-path material as navigation and risk hints, not a scope
115
+ ceiling or proof of completeness. Check its links against the frozen candidate
116
+ and independently derive scenarios. For relevant cross-layer/asynchronous paths,
117
+ follow actual consumers and compare the same constraint before/after key waits
118
+ and atomic commits, through downstream error classification and recovery.
119
+ Inspect other reachable consumers when a shared assumption may fail elsewhere;
120
+ neither a module list nor a passing mock establishes end-to-end behavior.
121
+
114
122
  Turn applicable perspectives into concrete scenarios, expected behavior and
115
- evidence. Challenge important assumptions with the smallest reachable
116
- counterexample; check normal controls and non-goals too. A shared assumption
123
+ evidence. Distinguish independently grounded expectations, executable test
124
+ references, and actual results for the stated candidate/environment; retain
125
+ material unverified boundaries as gaps. Challenge important assumptions with
126
+ the smallest reachable counterexample; check normal controls and non-goals too.
127
+ A shared assumption
117
128
  between a mock and implementation is not independent confirmation. Reuse valid
118
129
  checks; do not run external-resource validation without its exact authorization.
119
130
  Stop neither at the changed lines nor after finding a few defects.
@@ -1 +1 @@
1
- 4
1
+ 5