ygl-trees 0.80.0 → 0.82.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.
@@ -27,9 +27,10 @@ ygl-trees node link mining smelting # prereq/AND/必检(
27
27
  ygl-trees node link bronze steel --optional # 可选:不阻塞,进 missing_optional
28
28
  ygl-trees node link bronze iron --mode OR # 任一父解锁即可
29
29
  ygl-trees node link a b --rel excludes # 互斥分支:父解锁则子被封死
30
- ygl-trees node cond steel --name lab_level --kind level --value 3 # 必检门槛
31
- ygl-trees node cond steel --name has_eng --kind flag --op has --optional \
32
- --effect cost_mul --weight 0.8 # 可选打折
30
+ ygl-trees node cond add steel --name lab_level --kind level --value 3 # 必检门槛(add 动作词 0.81)
31
+ ygl-trees node cond add steel --name has_eng --kind flag --op has --optional \
32
+ --effect cost_mul --weight 0.8 # 可选打折
33
+ ygl-trees node cond rm steel --name lab_level # 按自然键删除(0.81)
33
34
  # 语义型门槛(决策模型三题型 boolean/choice/score)→ 见 ygl-trees-eval-gates 技能
34
35
  ygl-trees node index && ygl-trees node validate
35
36
  ```
@@ -40,6 +41,9 @@ ygl-trees node index && ygl-trees node validate
40
41
  ygl-trees node can steel --state "lab_level=3,has_eng=1" # 三类失败分开列+成本系数
41
42
  ygl-trees node can a b c --state-file bags.json # 批量:一进程测 N 节点(探针 1s×N → 1s)
42
43
  ygl-trees node ready # 当前可解锁集合
44
+ ygl-trees node ready --all # 跨树扫描(无需逐树 tree use)
45
+ ygl-trees node cond --due [--days 30] # 临期 eval 门槛(问题文本带 YYYY-MM-DD 期限)
46
+ ygl-trees node cond --due --eval # 到期逐条送判定模型(只报告不仲裁)
43
47
  ygl-trees node path steel # 解锁顺序+累计成本(目标恒最后)
44
48
  ygl-trees node ancestors bronze # 闭包索引直查,depth=1 是直接父
45
49
  ygl-trees node unlock mining && ygl-trees node lock mining
@@ -48,6 +52,8 @@ ygl-trees node unlock mining && ygl-trees node lock mining
48
52
  - 写入时环守卫:门控边(prereq/unlock)成环当场拒绝
49
53
  - `node can` 输出:missing_required(阻塞)/ blocked_by(被排斥)/ missing_optional(不阻塞)
50
54
  - `--state-file` 两种形状:扁平 `{"y_imported":40}` 全节点共享;按节点 `{"a":{"y_imported":40}}` 各取各袋;多键 `--json` 返回数组(0.79.1)
55
+ - `ready --all` / `cond --due` 前置于树解析:无当前树也能跑,跨树巡检一条命令(0.82)
56
+ - `cond --due` 提取 eval 问题文本中的 `YYYY-MM-DD`;默认 7 天窗口(含逾期),`--eval` 判定后仍需人工 resolve/unlock——判定 ≠ 仲裁(0.82)
51
57
 
52
58
  ## 3. 迁移与保真
53
59