feat(ql3): gate primary on shadow capture evidence

This commit is contained in:
whyour
2026-08-19 03:27:32 +08:00
parent c60a86d1bf
commit be98d6753b
28 changed files with 2227 additions and 30 deletions
@@ -319,6 +319,9 @@ test('HTTP startup orders Shadow recovery after Legacy normalization and before
const shadowRecovery = source.indexOf(
'await bootstrapLegacyShadowStartupReconciliation()',
);
const captureEvidence = source.indexOf(
'await bootstrapLegacyShadowCaptureEvidence({',
);
const primaryActivation = source.indexOf(
'await bootstrapDefaultManualPrimaryRuntime()',
);
@@ -328,6 +331,7 @@ test('HTTP startup orders Shadow recovery after Legacy normalization and before
assert.equal(legacyNormalization >= 0, true);
assert.equal(legacyNormalization < shadowRecovery, true);
assert.equal(shadowRecovery < primaryActivation, true);
assert.equal(shadowRecovery < captureEvidence, true);
assert.equal(captureEvidence < primaryActivation, true);
assert.equal(primaryActivation < listen, true);
});