pomaster 0.7.0 → 0.8.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.
- package/README.md +9 -4
- package/dist/bin.js +3543 -2379
- package/package.json +1 -1
- package/seeds/hooks/exec-guard-hook.py +586 -0
package/README.md
CHANGED
|
@@ -203,7 +203,7 @@ flowchart TB
|
|
|
203
203
|
| **Kernel 治理内核** | 受控写入 SOP | `applyTransaction`(唯一写权威)→ D-4 权威维度闸 → source_refs 判卷 → 幂等短路/冲突拒绝 → journal |
|
|
204
204
|
| | 生命周期 SOP | `transition_object`:PROPOSED→CURRENT(authority_approval)→ SUPERSEDED(successor_ref 必填) |
|
|
205
205
|
| | 投影编译 SOP | projection 确定性 applicability(lanes→capabilities→change_class→object_kinds;governance_profile 解除判卷力)→ must/advisory 分区 |
|
|
206
|
-
| | 决策 SOP | decision-graph
|
|
206
|
+
| | 决策 SOP | decision-graph:build→grounding;ACCEPT/CHANGE 需 READY_FOR_DECISION,UNKNOWN/DEFER 可记录未决处置并保留冲突;UNKNOWN 仍需六问 triage,--ready 独立判定充分性;outcome_binding 保留成果绑定 |
|
|
207
207
|
| **CLI 八拍** | Discovery | `brainstorm start / question-gate / decide --set --answer --ready / promote` |
|
|
208
208
|
| | Framework | `permit issue/check/steal`、`baseline set/confirm/--ack-drifted` |
|
|
209
209
|
| | Projection | `context compile`(must/advisory 分区 + Steering/negative-history 投影 + 指纹) |
|
|
@@ -255,13 +255,15 @@ graph LR
|
|
|
255
255
|
subgraph RESUME["恢复时点"]
|
|
256
256
|
R["session attach --reconcile<br/>新鲜度判定"]
|
|
257
257
|
R1["clean → 放行"]
|
|
258
|
-
R2["dirty →
|
|
258
|
+
R2["dirty / 缺基线 → attach + 告警<br/>clean=false 保留"]
|
|
259
259
|
end
|
|
260
260
|
CP --> INTERRUPT --> RESUME
|
|
261
261
|
STE["steering record<br/>约束事件 declared 申报面"] -.->|"下一编译边界生效"| R
|
|
262
262
|
TEL["telemetry task<br/>六指标派生评估"] -.->|"只读聚合"| STATE2[(".pomaster")]
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
+
`session attach --reconcile` 恢复上下文,不建立强制只读会话。既有 Permit 范围内写入仍可能获准,权限检查通过不等于漂移已处置;attach 不扩大授权。判卷失败和活会话所有权保护仍保留,独立 `reconcile` 仍严格失败。`--reconcile-force` 仅兼容回显非 clean 时的 `overridden=true`,不是持久处置回执。
|
|
266
|
+
|
|
265
267
|
Provider 无原生 async/steering/取消时的降级语义是**声明面**(`provider capabilities`):同步步骤+持久记录 / 下一派发边界应用约束 / 在途状态明确+冲突隔离 / 预编译较小工具集——全部映射到仓内已就位载体,不是假想 API。
|
|
266
268
|
|
|
267
269
|
---
|
|
@@ -401,7 +403,7 @@ pomaster brainstorm decide idea-export-btn --ready \
|
|
|
401
403
|
# —— 提升:promote 即建任务(自动 record claim 生成 CLM 绑入 acceptance) ——
|
|
402
404
|
pomaster brainstorm promote idea-export-btn --to TASK --basis msd_reached --apply
|
|
403
405
|
|
|
404
|
-
# —— 八拍推进:next-action
|
|
406
|
+
# —— 八拍推进:next-action 给主建议,并列全局关注与任务侧建议 ——
|
|
405
407
|
pomaster status # R_PERMIT_MISSING(--subject 为 affected_objects 派生建议)
|
|
406
408
|
pomaster permit issue --subject PAGE.USER_LIST --actor human:owner --change-ref TASK.IDEA_EXPORT_BTN
|
|
407
409
|
pomaster baseline confirm # R_BASELINE_NOT_READY(阻塞集清零后的一次性收口账;确认态随后进 ③ 投影)
|
|
@@ -415,7 +417,10 @@ pomaster closeout TASK.IDEA_EXPORT_BTN # ⑧ DoD 判卷收口(对
|
|
|
415
417
|
关键语义:`--ready` 的 goal/scope/acceptance 文本申报是 Task Contract——promote 编译投影进
|
|
416
418
|
TASK 对象(intent/acceptance 挂锚/affected_objects/notesMd),验收条目自动挂 CLM,closeout
|
|
417
419
|
判卷对得上最初 Expected State;中途任何一步不知道下一步做什么,问 `pomaster status`(或看
|
|
418
|
-
alerts breadcrumb
|
|
420
|
+
alerts breadcrumb),路由表会给出主建议。全局 baseline 关注不会遮住任务侧可并行准备的建议;
|
|
421
|
+
具体命令仍独立检查权限、上下文和依赖,建议不等于获准写入或完成验证。
|
|
422
|
+
报告与严格检查的退出码边界见 [诊断与建议契约](docs/diagnostic-reporting.md)。
|
|
423
|
+
决策根、基线依赖、证据快照和可选诊断的输入及兼容规则见 [范围化人工决策](docs/scoped-human-decisions.md)。
|
|
419
424
|
|
|
420
425
|
### 5. 装齐眼睛(可选,按需)
|
|
421
426
|
|