From 9797799e83380bff28d452f35be2cde0481ada6b Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Sun, 11 Oct 2026 21:54:34 -0700 Subject: [PATCH] Compose independent native Central and System development lifecycle; qualify checked Graph and VM providers --- restricted-execution/service.mjs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/restricted-execution/service.mjs b/restricted-execution/service.mjs index a30d290..091b79e 100644 --- a/restricted-execution/service.mjs +++ b/restricted-execution/service.mjs @@ -7,6 +7,32 @@ import { tmpdir } from "node:os"; import { join, dirname } from "node:path"; const abi = "quixos-transaction-ports-v1"; +/** Reserved supervisor faults are not authored domain rejections. A graph + * transaction must roll back without recording a permanent rejected outcome + * when its executor dies, exceeds its limits or cannot start. */ +export const restrictedExecutionFailureCodes = Object.freeze([ + "RESTRICTED_ABI_MISMATCH", + "RESTRICTED_BACKPRESSURE", + "RESTRICTED_CPU_ACCOUNTING", + "RESTRICTED_DEADLINE", + "RESTRICTED_DIAGNOSTIC_LIMIT", + "RESTRICTED_DUPLICATE_INVOCATION", + "RESTRICTED_ENGINE_EXITED", + "RESTRICTED_ENGINE_LIMIT", + "RESTRICTED_ENTRY_LIMIT", + "RESTRICTED_IDENTITY_UNAVAILABLE", + "RESTRICTED_MESSAGE_LIMIT", + "RESTRICTED_PACKAGE_FAILED", + "RESTRICTED_PORT_FAILED", + "RESTRICTED_PORT_LIMIT", + "RESTRICTED_PROCESS_LIMIT", + "RESTRICTED_QUEUE_FULL", + "RESTRICTED_SDK_LIMIT", + "RESTRICTED_SOURCE_LIMIT", + "RESTRICTED_START_FAILED", + "RESTRICTED_UNKNOWN_INVOCATION", + "RESTRICTED_UNKNOWN_PORT", +]); const fixedError = (code) => Object.assign(Error(code), { code }); const object = (v) => !!v && typeof v === "object" && !Array.isArray(v); const absolute = (value) =>