@principles/host-runtime 0.7.5 → 0.7.6
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.
|
@@ -507,9 +507,9 @@ export async function runInternalizationConsumerCycle(workspaceDir, ports) {
|
|
|
507
507
|
// authoritative values before validation, so a bad echo no longer
|
|
508
508
|
// dead-ends the candidate before the approval queue.
|
|
509
509
|
//
|
|
510
|
-
// P0-E/F 治理接线: approve_rollout → 自动 ActivationDispatcher (
|
|
511
|
-
//
|
|
512
|
-
// scribe/artificer 修订 (绝不进入 approval 队列, INV-04)。
|
|
510
|
+
// P0-E/F 治理接线: approve_rollout → 自动 ActivationDispatcher (PRI-811
|
|
511
|
+
// Phase B: 一律 approvals.pending, Owner 批准后才激活); needs_revision →
|
|
512
|
+
// reopen scribe/artificer 修订 (绝不进入 approval 队列, INV-04)。
|
|
513
513
|
runner = new RolloutReviewerRunner({
|
|
514
514
|
stateManager, runtimeAdapter: adapter, eventEmitter: storeEmitter,
|
|
515
515
|
artifactStore: stateManager.piArtifactStore, validator: new DefaultRolloutReviewerValidator(),
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* (P0-D/E/F 生产接线) so the OpenClaw auto-consumer and the Companion
|
|
6
6
|
* workspace worker share ONE wiring implementation instead of copying it:
|
|
7
7
|
* - evaluator: isRepairLoopEnabled + seedArtificerRepairTask (bounded repair)
|
|
8
|
-
* - rollout_reviewer: dispatchActivation (approve_rollout → ActivationDispatcher
|
|
9
|
-
*
|
|
10
|
-
* (needs_revision → reopen scribe/artificer, 禁止入 approval)
|
|
8
|
+
* - rollout_reviewer: dispatchActivation (approve_rollout → ActivationDispatcher;
|
|
9
|
+
* PRI-811 Phase B: 一律入 approvals.pending,Owner 批准后才激活) +
|
|
10
|
+
* reopenRevisionTarget (needs_revision → reopen scribe/artificer, 禁止入 approval)
|
|
11
11
|
*
|
|
12
12
|
* Everything is assembled from @principles/core stores/dispatchers; the only
|
|
13
13
|
* host knowledge is a structural logger. Idempotency (INV-08): dispatcher
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* (P0-D/E/F 生产接线) so the OpenClaw auto-consumer and the Companion
|
|
6
6
|
* workspace worker share ONE wiring implementation instead of copying it:
|
|
7
7
|
* - evaluator: isRepairLoopEnabled + seedArtificerRepairTask (bounded repair)
|
|
8
|
-
* - rollout_reviewer: dispatchActivation (approve_rollout → ActivationDispatcher
|
|
9
|
-
*
|
|
10
|
-
* (needs_revision → reopen scribe/artificer, 禁止入 approval)
|
|
8
|
+
* - rollout_reviewer: dispatchActivation (approve_rollout → ActivationDispatcher;
|
|
9
|
+
* PRI-811 Phase B: 一律入 approvals.pending,Owner 批准后才激活) +
|
|
10
|
+
* reopenRevisionTarget (needs_revision → reopen scribe/artificer, 禁止入 approval)
|
|
11
11
|
*
|
|
12
12
|
* Everything is assembled from @principles/core stores/dispatchers; the only
|
|
13
13
|
* host knowledge is a structural logger. Idempotency (INV-08): dispatcher
|
|
@@ -83,6 +83,8 @@ export async function dispatchRolloutActivation(workspaceDir, input, options = {
|
|
|
83
83
|
const decision = await dispatcher.dispatch({
|
|
84
84
|
artifactId: input.artifactId,
|
|
85
85
|
channel: input.channel, // InternalizationChannel union; rollout 链的 channel 已由任务元数据校验
|
|
86
|
+
// 'auto_activate' = rollout reviewer 推荐激活。PRI-811 Phase B 起
|
|
87
|
+
// dispatcher 对一切推荐只入 approval 队列,不直接激活。
|
|
86
88
|
rolloutDecision: 'auto_activate',
|
|
87
89
|
actor: { kind: 'system', source: 'rollout_reviewer' },
|
|
88
90
|
now: new Date().toISOString(),
|