fix reporting governance adapter boundary regressions

This commit is contained in:
Eve
2026-05-08 17:02:59 +08:00
parent 55fe51483b
commit 9c6afad864
4 changed files with 13 additions and 5 deletions

View File

@@ -3,8 +3,6 @@ export { runDispatcherAdapter } from './dispatcher.mjs';
export { runBridgeSupervisorAdapter } from './bridge-supervisor.mjs';
export { runSenderBindingAdapter } from './sender-binding.mjs';
export { runOrchestratorAdapter } from './orchestrator.mjs';
export { createDefaultOrchestratorExecutionArgs, buildSenderCommand, runOrchestratorExecution } from './orchestrator-execution.mjs';
export { parseOrchestratorCliArgs, formatOrchestratorHelp, runWatchdogAutoNotifyOrchestrator, runOrchestratorCli } from './orchestrator-cli.mjs';
export { createRuntimeBinding } from './runtime-binding.mjs';
export { loadDeploymentProfileArtifact, createDeploymentBindingContract } from '../storage/profile-artifact.mjs';

View File

@@ -46,6 +46,7 @@ export function runOrchestratorAdapter({
const resolvedWatchdogScript = path.resolve(watchdogScript ?? resolveScriptPath('watchdog', { runtimeBinding: binding }));
const resolvedDispatcherScript = path.resolve(dispatcherScript ?? resolveScriptPath('dispatcher', { runtimeBinding: binding }));
const resolvedSupervisorScript = path.resolve(supervisorScript ?? resolveScriptPath('bridgeSupervisor', { runtimeBinding: binding }));
const resolvedSenderBindingScript = path.resolve(senderCommand ? (binding?.scripts?.senderBinding ?? resolveScriptPath('senderBinding', { runtimeBinding: binding })) : resolveScriptPath('senderBinding', { runtimeBinding: binding }));
const resolvedQueueDir = queueDir
? path.resolve(queueDir)
@@ -78,7 +79,7 @@ export function runOrchestratorAdapter({
claim,
dryRun,
}, {
senderBindingScript: resolveScriptPath('senderBinding', { runtimeBinding: binding }),
senderBindingScript: resolvedSenderBindingScript,
});
return {