feat(deploy): register normalized identity transition

This commit is contained in:
Codex
2026-07-24 12:04:40 +03:00
parent 659f98ad8f
commit 34769af350
5 changed files with 918 additions and 6 deletions
@@ -15,7 +15,7 @@ const engineRoot = resolve(
const artifactDir = resolve(
process.env.NODEDC_DEPLOY_ARTIFACT_DIR || resolve(scriptDir, "../deploy-artifacts"),
);
const [patchId = "engine-mcp-normalized-identity-search-20260724-040", ...extra] =
const [patchId = "engine-mcp-normalized-identity-search-20260724-041", ...extra] =
process.argv.slice(2);
if (
@@ -42,7 +42,7 @@ const expectedSha256 = Object.freeze({
"nodedc-source/server/deployTransitions/normalizedIdentitySearchV1.json":
"41738185fe103642912b0aa1c29c51860970c38f9f916cc3725e79e258b9ea7e",
"nodedc-source/services/node-intelligence/activation.json":
"98d2a068ddf1cccfa3b7a0617f94b25948184961655c755465ee84ec4cfbb3c3",
"3e7aeb1d28eb291461f79cd656ece6488bc6d372124088e92f53bf89c3373f61",
});
const files = Object.freeze(Object.keys(expectedSha256));
const artifact = join(artifactDir, `nodedc-${patchId}.tgz`);
@@ -146,7 +146,7 @@ async function assertExactSources() {
|| activation?.source?.gatewaySha256
!== expectedSha256["nodedc-source/server/routes/engineAgentGateway.js"]
|| activation?.predecessor?.gatewaySha256
!== "17c5f502b3ceacc45278eef7418d08e1e55a8b3e46e00942e559d25566fdba41"
!== "6b8c80fa997ef7c438d199a6ee942c5e37aebc4057667af417897fa636131db4"
) {
throw new Error("engine_normalized_identity_transition_invalid");
}