@aibyzero/cm-workflow 0.16.9 → 0.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.
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +12 -0
- package/README.md +9 -1
- package/VERSION +1 -1
- package/docs/cm-control-policy-v2.md +331 -0
- package/docs/execution-optimizations.md +1 -1
- package/docs/external-models.md +3 -3
- package/docs/human-correction.md +5 -5
- package/docs/installation.md +1 -1
- package/docs/js-workflow-control.md +101 -84
- package/docs/next-steps.md +11 -0
- package/docs/untested-branches.md +2 -3
- package/docs/user-guide.md +3 -3
- package/package.json +1 -1
- package/runtime/js/cm-ai/cm-ai-conversation-entry.mjs +13 -69
- package/runtime/js/cm-ai/cm-ai-qa-log.mjs +10 -5
- package/runtime/js/cm-ai/control-policy.mjs +111 -0
- package/runtime/js/cm-ai/drive-bootstrap.mjs +11 -8
- package/runtime/js/cm-ai/durable-runner-state.mjs +32 -126
- package/runtime/js/cm-ai/gate-bridge.mjs +4 -4
- package/runtime/js/cm-ai/host-conversation-execution.mjs +22 -20
- package/runtime/js/cm-ai/host-qa-fix-owner.mjs +11 -2
- package/runtime/js/cm-ai/host-qa-policy.mjs +63 -21
- package/runtime/js/cm-ai/host-review-authority.mjs +2 -2
- package/runtime/js/cm-ai/host-review-file.mjs +1 -1
- package/runtime/js/cm-ai/host-tool-bridge.mjs +3 -0
- package/runtime/js/cm-ai/host-workflow-capabilities.mjs +21 -10
- package/runtime/js/cm-ai/host.mjs +1 -2
- package/runtime/js/cm-ai/operator-guidance.mjs +1 -24
- package/runtime/js/cm-ai/review-package.mjs +16 -4
- package/runtime/js/cm-ai/reviewed-deliveries.mjs +1 -1
- package/runtime/js/cm-ai/task-runner.mjs +36 -99
- package/runtime/js/cm-init/review-evidence.mjs +3 -1
- package/runtime/js/cm-prd/review-host.mjs +1 -1
- package/runtime/js/cm-prd/review-publication.mjs +5 -3
- package/runtime/js/cm-refactor/workflow.mjs +1 -1
- package/runtime/js/notify-send.mjs +15 -14
- package/runtime/js/notify.mjs +27 -4
- package/runtime/js/policy-binding-compat.mjs +2 -1
- package/runtime/review.md +52 -7
- package/runtime/task-gates.md +107 -9
- package/scripts/cm-ai-abandon-effect-position.test.mjs +1 -8
- package/scripts/cm-ai-answer-gap-driver.test.mjs +12 -12
- package/scripts/cm-ai-answer-gap-fixture.mjs +1 -8
- package/scripts/cm-ai-batch-drive.mjs +50 -31
- package/scripts/cm-ai-batch-drive.test.mjs +62 -19
- package/scripts/cm-ai-batch-host.mjs +39 -20
- package/scripts/cm-ai-batch-host.test.mjs +62 -38
- package/scripts/cm-ai-batch-run-fixture.mjs +6 -53
- package/scripts/cm-ai-batch-run-member-stops.test.mjs +0 -12
- package/scripts/cm-ai-batch-run.mjs +34 -8
- package/scripts/cm-ai-bootstrap-flow.test.mjs +1 -7
- package/scripts/cm-ai-bootstrap.test.mjs +2 -3
- package/scripts/cm-ai-control-launch.test.mjs +219 -0
- package/scripts/cm-ai-control-policy.test.mjs +124 -0
- package/scripts/cm-ai-control-v2-drive.test.mjs +270 -0
- package/scripts/cm-ai-develop-answer-invalid.test.mjs +1 -8
- package/scripts/cm-ai-develop-call-timeout.test.mjs +1 -8
- package/scripts/cm-ai-develop-driver-gaps.test.mjs +33 -20
- package/scripts/cm-ai-direct-review.test.mjs +348 -0
- package/scripts/cm-ai-documentation-sync-gap.test.mjs +3 -3
- package/scripts/cm-ai-drive-bootstrap-rules.test.mjs +54 -25
- package/scripts/cm-ai-drive.mjs +96 -54
- package/scripts/cm-ai-drive.test.mjs +43 -84
- package/scripts/cm-ai-fix-integration.test.mjs +3 -5
- package/scripts/cm-ai-fix-later-delivery.test.mjs +3 -6
- package/scripts/cm-ai-fix-run-delivery.test.mjs +3 -6
- package/scripts/cm-ai-host-cli-workflow.test.mjs +6 -10
- package/scripts/cm-ai-host-fixture.mjs +38 -10
- package/scripts/cm-ai-host-protected.test.mjs +35 -33
- package/scripts/cm-ai-host.mjs +103 -93
- package/scripts/cm-ai-host.test.mjs +19 -18
- package/scripts/cm-ai-launch-diagnostics.test.mjs +5 -3
- package/scripts/cm-ai-legacy-history.test.mjs +53 -0
- package/scripts/cm-ai-light-modules.test.mjs +4 -7
- package/scripts/cm-ai-multi-root.test.mjs +4 -4
- package/scripts/cm-ai-nested-execution.test.mjs +16 -19
- package/scripts/cm-ai-progress.test.mjs +10 -8
- package/scripts/cm-ai-project-qa-gate.test.mjs +37 -10
- package/scripts/cm-ai-protected-scope.test.mjs +1 -2
- package/scripts/cm-ai-qa-config-revision.test.mjs +1 -9
- package/scripts/cm-ai-qa-fingerprint-config.test.mjs +12 -9
- package/scripts/cm-ai-qa-fix-cross-session.test.mjs +18 -3
- package/scripts/cm-ai-qa-fixed-log.test.mjs +41 -0
- package/scripts/cm-ai-qa-recovery-args.test.mjs +7 -0
- package/scripts/cm-ai-qa-rerun-timeouts.test.mjs +3 -4
- package/scripts/cm-ai-review-drift-precedence.test.mjs +1 -1
- package/scripts/cm-ai-review-failure.test.mjs +13 -19
- package/scripts/cm-ai-review-timeout-config.test.mjs +3 -1
- package/scripts/cm-ai-review-timeout.test.mjs +15 -128
- package/scripts/cm-ai-run.mjs +78 -24
- package/scripts/cm-ai-run.test.mjs +11 -38
- package/scripts/cm-ai-selection-guard.test.mjs +2 -2
- package/scripts/cm-ai-session-chain.test.mjs +18 -15
- package/scripts/cm-ai-spec-rebind.test.mjs +14 -18
- package/scripts/cm-ai-supersede.test.mjs +3 -10
- package/scripts/cm-blocked-reason.test.mjs +2 -3
- package/scripts/cm-capability-gate.test.mjs +33 -1
- package/scripts/cm-check-drive-files.mjs +1 -1
- package/scripts/cm-check-runtime.sh +1 -1
- package/scripts/cm-claude-worker.test.mjs +5 -3
- package/scripts/cm-controlled-correction.test.mjs +469 -0
- package/scripts/cm-external-batch-host.test.mjs +30 -11
- package/scripts/cm-external-model-host.test.mjs +1 -1
- package/scripts/cm-external-model-recovery.test.mjs +3 -9
- package/scripts/cm-external-qa-fix.test.mjs +1 -1
- package/scripts/cm-external-review-reconciliation.test.mjs +6 -24
- package/scripts/cm-fix-review-recovery.test.mjs +1 -1
- package/scripts/cm-host-qa-executor.test.mjs +1 -2
- package/scripts/cm-host-qa-policy.test.mjs +43 -16
- package/scripts/cm-host-review-authority.test.mjs +0 -31
- package/scripts/cm-knowledge-closeout.test.mjs +3 -3
- package/scripts/cm-notify-command.test.mjs +54 -18
- package/scripts/cm-notify-read-drift.test.mjs +69 -4
- package/scripts/cm-notify.mjs +16 -4
- package/scripts/cm-notify.test.mjs +91 -19
- package/scripts/cm-patrol.test.mjs +3 -2
- package/scripts/cm-task-gate-correction.test.mjs +69 -16
- package/scripts/cm-task-gate.mjs +368 -34
- package/scripts/cm-task-gate.py +2 -0
- package/scripts/cm-task-gate.test.mjs +252 -4
- package/scripts/fixtures/bootstrap-review-runner.mjs +1 -7
- package/scripts/fixtures/native-gate-fixture.mjs +18 -0
- package/scripts/policy-binding-compat.test.mjs +4 -0
- package/skills/cm-ai/SKILL.md +8 -6
- package/skills/cm-ai/references/N3-execute-task.md +17 -2
- package/skills/cm-ai/references/N4-review.md +11 -21
- package/skills/cm-ai/references/N5-mark-done.md +1 -1
- package/skills/cm-ai/references/N6-qa-eval.md +49 -21
- package/skills/cm-ai/references/js-host-modes.md +35 -14
- package/skills/cm-ai/references/js-host-qa-recovery.md +60 -12
- package/skills/cm-ai/references/js-host-recovery.md +95 -47
- package/skills/cm-ai/references/js-host.md +65 -28
- package/skills/cm-fix/SKILL.md +12 -0
- package/skills/cm-init/references/js-host.md +1 -1
- package/skills/cm-prd/references/js-host.md +1 -1
- package/skills/cm-refactor/SKILL.md +12 -0
- package/runtime/js/cm-ai/review-dispatch-limits.mjs +0 -18
- package/scripts/cm-ai-review-dispatch-exit.test.mjs +0 -475
|
@@ -3,15 +3,15 @@ import assert from 'node:assert/strict';
|
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import {spawnSync} from 'node:child_process';
|
|
6
|
-
import {fileURLToPath} from 'node:url';
|
|
7
6
|
import {readRunDefinition,openControlRun} from './cm-ai-run.mjs';
|
|
8
|
-
import {
|
|
7
|
+
import {checkN4} from './cm-task-gate.mjs';
|
|
8
|
+
import {cli,identity,request,fixture,runCli,installDispatchFakes,protectedResultFixture,implementedValue,lastCheckpoint,installTimeoutReviewer,syntheticReviewConfig} from './cm-ai-host-fixture.mjs';
|
|
9
9
|
|
|
10
10
|
for(const [available,coder,reviewer,runtime] of [
|
|
11
11
|
['codex','codex','codex','codex'],['codex','codex','codex','claude'],['claude','claude','claude','codex'],
|
|
12
12
|
['both','codex','claude','claude'],['both','claude','codex','codex'],
|
|
13
13
|
])test(`protected dispatch ${available}: ${runtime} host -> ${coder} coder -> ${reviewer} reviewer`,async()=>{
|
|
14
|
-
const f=fixture();
|
|
14
|
+
const f=fixture();f.operation='start';
|
|
15
15
|
try{
|
|
16
16
|
installDispatchFakes(f);
|
|
17
17
|
fs.writeFileSync(path.join(f.codeProject,'.cm-workflow.json'),JSON.stringify({version:1,runtimes:{available},
|
|
@@ -27,31 +27,27 @@ for(const [available,coder,reviewer,runtime] of [
|
|
|
27
27
|
assert(!fs.existsSync(path.join(f.codeProject,'target.mjs')));assert(!fs.existsSync(path.join(f.specsDir,'.reviews')));
|
|
28
28
|
f.args.push('--allow-provider-development-attempt','1');
|
|
29
29
|
const first=await runCli(f,'normal');assert.equal(first.code,0,first.stderr);
|
|
30
|
-
assert.equal(first.rows.find(row=>row.requestId==='advance').result.code,
|
|
30
|
+
assert.equal(first.rows.find(row=>row.requestId==='advance').result.code,null);assert.deepEqual(first.calls,[]);
|
|
31
31
|
assert.equal(fs.readFileSync(path.join(f.codeProject,'target.mjs'),'utf8'),'export const value = 42;\n');
|
|
32
32
|
const readRoutes=()=>fs.readFileSync(path.join(f.specsDir,'运行日志.jsonl'),'utf8').trim().split('\n').map(JSON.parse)
|
|
33
33
|
.filter(row=>row.phase==='route'&&row.event==='decision');
|
|
34
34
|
assert.equal(readRoutes().filter(row=>row.role==='coder'&&row.route_state===(coder===runtime?'current-runtime':'cli-dispatch')).length,1);
|
|
35
35
|
assert.equal(readRoutes().filter(row=>row.role==='reviewer').length,0);
|
|
36
|
-
f.
|
|
37
|
-
const wrong=await runCli(f,'normal','resume');assert.equal(wrong.rows.find(row=>row.requestId==='advance').result.code,'decision_required');
|
|
38
|
-
assert.equal(readRoutes().filter(row=>row.role==='reviewer').length,0);
|
|
39
|
-
f.args[f.args.length-1]='1';
|
|
36
|
+
f.operation='advance';
|
|
40
37
|
const reviewed=await runCli(f,'normal','resume');assert.equal(reviewed.code,0,reviewed.stderr);
|
|
41
38
|
assert.equal(reviewed.rows.find(row=>row.requestId==='advance').result.state,'fixture_completed',JSON.stringify(reviewed.rows));
|
|
42
39
|
const route=readRoutes().find(row=>row.role==='reviewer');assert(route);
|
|
43
40
|
assert.equal(route.adapter,`${reviewer}-cli`);assert.equal(route.route_state,reviewer===runtime?'current-runtime':'cli-dispatch');
|
|
44
41
|
const receipt=fs.readFileSync(path.join(f.specsDir,'.reviews','work-T-001-r1.md'),'utf8');
|
|
45
42
|
assert.match(receipt,new RegExp(`reviewer: ${reviewer}-cli`));assert.match(receipt,/independent: true/);
|
|
46
|
-
const gate=
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
assert.equal(gate.status,0,gate.stderr);assert.equal(JSON.parse(gate.stdout).content_bound,true);
|
|
43
|
+
const gate=checkN4({handoff:path.join(f.specsDir,'.reviews','work-T-001-a1-handoff.json'),
|
|
44
|
+
reviewsDir:path.join(f.specsDir,'.reviews'),feature:'work',task:'T-001',projectRoot:f.codeProject});
|
|
45
|
+
assert.equal(gate.content_bound,true);
|
|
50
46
|
}finally{fs.rmSync(f.root,{recursive:true,force:true});}
|
|
51
47
|
});
|
|
52
48
|
|
|
53
|
-
for(const available of ['unknown','codex'])test(`legacy protected ${available} run
|
|
54
|
-
const f=fixture();
|
|
49
|
+
for(const available of ['unknown','codex'])test(`legacy protected ${available} run refuses the retired CLI assembly without changing its recorded contexts`,async()=>{
|
|
50
|
+
const f=fixture();f.operation='start';
|
|
55
51
|
try{
|
|
56
52
|
installDispatchFakes(f);
|
|
57
53
|
const projectConfig=path.join(f.codeProject,'.cm-workflow.json');
|
|
@@ -69,39 +65,45 @@ for(const available of ['unknown','codex'])test(`legacy protected ${available} r
|
|
|
69
65
|
fs.writeFileSync(initializer,`
|
|
70
66
|
import fs from 'node:fs';
|
|
71
67
|
import {readRunDefinition,createCodexExecution,openControlRun} from ${JSON.stringify(new URL('./cm-ai-run.mjs',import.meta.url).href)};
|
|
72
|
-
import {createHostReviewAuthority} from ${JSON.stringify(new URL('../runtime/js/cm-ai/host-review-authority.mjs',import.meta.url).href)};
|
|
73
68
|
const definition=readRunDefinition(${JSON.stringify(f.config)}),review=JSON.parse(fs.readFileSync(${JSON.stringify(reviewFile)}));
|
|
74
69
|
const config=JSON.parse(fs.readFileSync(${JSON.stringify(protectedFile)}));
|
|
75
|
-
|
|
70
|
+
|
|
76
71
|
const execution=await createCodexExecution({codeProject:definition.codeProject,specsRoot:definition.specsDir,
|
|
77
72
|
developerModel:config.model,checkCommands:config.checkCommands,timeoutMs:config.timeoutMs,
|
|
78
73
|
hostContextId:'native-host-fixture',developerContextId:'cm-protected-author',reviewerModel:review.model,
|
|
79
74
|
reviewerPreflight:review.preflight,disabledSkills:review.disabledSkills},
|
|
80
|
-
{
|
|
75
|
+
{developmentAttempt:1,
|
|
81
76
|
authorizeDevelopment:()=>({status:'approved'})});
|
|
82
77
|
const run=await openControlRun(definition,'create',execution);
|
|
83
|
-
try{console.log(JSON.stringify(await run.host.handle(${JSON.stringify(request('
|
|
78
|
+
try{console.log(JSON.stringify(await run.host.handle(${JSON.stringify(request('start'))})));}finally{run.close();}
|
|
84
79
|
`);
|
|
85
80
|
const old=spawnSync(process.execPath,[initializer],{encoding:'utf8',env:f.env,timeout:10000});
|
|
86
|
-
assert.equal(old.status,0,old.stderr);assert.equal(JSON.parse(old.stdout).code,
|
|
87
|
-
f.args.push('--protected-config',protectedFile,'--allow-provider-development-attempt','1','--review-config',reviewFile
|
|
81
|
+
assert.equal(old.status,0,old.stderr);assert.equal(JSON.parse(old.stdout).code,null);
|
|
82
|
+
f.args.push('--protected-config',protectedFile,'--allow-provider-development-attempt','1','--review-config',reviewFile);
|
|
88
83
|
// A changed two-provider declaration cannot recover through Codex-only compatibility.
|
|
89
84
|
fs.writeFileSync(projectConfig,JSON.stringify({version:1,runtimes:{available:'both'},
|
|
90
85
|
roles:{coder:{adapter:'claude-cli'},reviewer:{adapter:'codex-cli'}}}));
|
|
91
86
|
const mismatch=await runCli(f,'normal','resume');assert.equal(mismatch.code,1);assert.match(mismatch.stderr,/fingerprint_mismatch/);
|
|
92
87
|
assert(!fs.readFileSync(path.join(f.specsDir,'1.work','tasks.md'),'utf8').includes('[x]'));
|
|
93
88
|
fs.writeFileSync(projectConfig,JSON.stringify(declaration));
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
89
|
+
// Runtime routing now determines the reviewer before the exact old assembly
|
|
90
|
+
// fingerprint is checked; the diagnostic preflight must match that route.
|
|
91
|
+
fs.writeFileSync(reviewFile,JSON.stringify(syntheticReviewConfig(f.codeProject,available==='unknown'?'claude':'codex')));
|
|
92
|
+
const stateFile=path.join(f.specsDir,'.reviews','.execution',identity.runId,'state.json');
|
|
93
|
+
const before=fs.readFileSync(stateFile);
|
|
94
|
+
const resumed=await runCli(f,'normal','resume');assert.equal(resumed.code,1,resumed.stderr);
|
|
95
|
+
assert.match(resumed.stderr,/fingerprint_mismatch/);
|
|
96
|
+
assert.match(resumed.stderr,/旧 createCodexExecution.*停用/);
|
|
97
|
+
assert.match(resumed.stderr,/inspect-history --config/);
|
|
98
|
+
assert.deepEqual(resumed.calls,[]);assert.equal(resumed.rows.some(row=>row.type==='host_ready'),false);
|
|
99
|
+
assert.deepEqual(fs.readFileSync(stateFile),before);
|
|
100
|
+
assert(fs.readFileSync(path.join(f.specsDir,'1.work','tasks.md'),'utf8').includes('[ ] T-001'));
|
|
99
101
|
}finally{fs.rmSync(f.root,{recursive:true,force:true});}
|
|
100
102
|
});
|
|
101
103
|
|
|
102
104
|
|
|
103
105
|
test('protected local invalid_result writes nothing and corrected CLI resume keeps run and attempt',async()=>{
|
|
104
|
-
const f=protectedResultFixture()
|
|
106
|
+
const f=protectedResultFixture();f.operation='start';const target=path.join(f.codeProject,'target.mjs');
|
|
105
107
|
try{
|
|
106
108
|
f.develop=payload=>{
|
|
107
109
|
assert.equal(payload.editMode,'protected-text-v1');assert.equal(payload.expected['target.mjs'],null);
|
|
@@ -122,16 +124,16 @@ test('protected local invalid_result writes nothing and corrected CLI resume kee
|
|
|
122
124
|
edits:[{path:'target.mjs',beforeSha256:payload.expected['target.mjs'],content:'export const value = 42;\n'}]});
|
|
123
125
|
const resumed=await runCli(f,'normal','resume');assert.equal(resumed.code,0,resumed.stderr);
|
|
124
126
|
const result=resumed.rows.find(row=>row.requestId==='advance').result;
|
|
125
|
-
assert.equal(result.state,'awaiting_review');assert.equal(result.code,
|
|
127
|
+
assert.equal(result.state,'awaiting_review');assert.equal(result.code,null);
|
|
126
128
|
assert.deepEqual(result.identity,identity);assert.equal(fs.readFileSync(target,'utf8'),'export const value = 42;\n');
|
|
127
129
|
assert.deepEqual(lastCheckpoint(f).calls.map(call=>call.terminal),[...Array(7).fill('failed'),'succeeded']);
|
|
128
130
|
const reopened=await runCli(f,'normal','resume');assert.equal(reopened.code,0,reopened.stderr);
|
|
129
|
-
assert.deepEqual(reopened.calls,[]);assert.equal(reopened.rows.find(row=>row.requestId==='advance').result.code,
|
|
131
|
+
assert.deepEqual(reopened.calls,[]);assert.equal(reopened.rows.find(row=>row.requestId==='advance').result.code,null);
|
|
130
132
|
}finally{fs.rmSync(f.root,{recursive:true,force:true});}
|
|
131
133
|
});
|
|
132
134
|
|
|
133
135
|
for(const matches of [true,false])test(`protected old proposal compares exact output with expected disk hashes: matches=${matches}`,async()=>{
|
|
134
|
-
const f=protectedResultFixture()
|
|
136
|
+
const f=protectedResultFixture();f.operation='start';const target=path.join(f.codeProject,'target.mjs');
|
|
135
137
|
try{
|
|
136
138
|
// Simulate a proposal already applied before this invocation was rejected.
|
|
137
139
|
const content='export const value = 42;\n';
|
|
@@ -146,7 +148,7 @@ for(const matches of [true,false])test(`protected old proposal compares exact ou
|
|
|
146
148
|
const run=await runCli(f,'normal','resume');assert.equal(run.code,0,run.stderr);
|
|
147
149
|
const result=run.rows.find(row=>row.requestId==='advance').result;
|
|
148
150
|
assert.equal(result.state,matches?'awaiting_review':'blocked');
|
|
149
|
-
assert.equal(result.code,matches?
|
|
151
|
+
assert.equal(result.code,matches?null:'protected_edit_stale');
|
|
150
152
|
assert.deepEqual(fs.readFileSync(target),before);
|
|
151
153
|
const resumed=await runCli(f,'normal','resume');assert.equal(resumed.code,0,resumed.stderr);
|
|
152
154
|
assert.deepEqual(resumed.calls,[]);
|
|
@@ -196,7 +198,7 @@ test(`protected conversation review timeout ${runtime} -> ${second}`,async()=>{
|
|
|
196
198
|
const review=JSON.parse(preview.stdout);assert.equal(review.timeoutMs,900000);
|
|
197
199
|
delete review.timeoutMs;
|
|
198
200
|
const config=path.join(f.root,'review.json');fs.writeFileSync(config,JSON.stringify(review));
|
|
199
|
-
f.args.push('--review-config',config
|
|
201
|
+
f.args.push('--review-config',config);f.operation='advance';
|
|
200
202
|
f.develop=payload=>({status:'succeeded',value:implementedValue(),
|
|
201
203
|
edits:[{path:'target.mjs',beforeSha256:payload.expected['target.mjs'],content:'export const value = 42;\n'}]});
|
|
202
204
|
setMode(second==='result'?'result':'timeout');
|
|
@@ -236,8 +238,8 @@ test(`protected conversation review timeout ${runtime} -> ${second}`,async()=>{
|
|
|
236
238
|
assert.equal(end.state,second==='approved'?'fixture_completed':'blocked');
|
|
237
239
|
assert.equal(end.code,second==='approved'?'qa_decision_required':'review_transport_timeout');
|
|
238
240
|
assert.equal(after.cache.find(entry=>entry.effect.id==='review-1-retry-1').effect.identity.attempt,1);
|
|
239
|
-
assert.notEqual(after.reviewInvocation.registration.
|
|
240
|
-
assert.notEqual(after.reviewInvocation.registration.
|
|
241
|
+
assert.notEqual(after.reviewInvocation.registration.binding.invocationId,original.registration.binding.invocationId);
|
|
242
|
+
assert.notEqual(after.reviewInvocation.registration.binding.requestDigest,original.registration.binding.requestDigest);
|
|
241
243
|
assert.notEqual(after.reviewInvocation.started,original.started);
|
|
242
244
|
assert.deepEqual(after.calls.slice(0,before.calls.length),before.calls);
|
|
243
245
|
assert.deepEqual(after.cache.slice(0,before.cache.length),before.cache);
|