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

@@ -68,8 +68,16 @@ function main() {
fs.writeFileSync(artifactPath, `${JSON.stringify(artifact, null, 2)}\n`, 'utf8');
const result = runOrchestratorAdapter({
profileArtifact: artifact,
repoRootOverride: packageRoot,
runtimeBinding: {
cwd: process.cwd(),
scripts: {
orchestrator: path.join(packageRoot, 'scripts', 'watchdog_auto_notify_orchestrator.mjs'),
watchdog: path.join(packageRoot, 'scripts', 'long_task_watchdog.mjs'),
dispatcher: path.join(packageRoot, 'scripts', 'operator_notify_dispatcher.mjs'),
bridgeSupervisor: path.join(packageRoot, 'scripts', 'operator_notify_bridge_supervisor.mjs'),
senderBinding: path.join(packageRoot, 'scripts', 'operator_notify_sender_binding.mjs'),
},
},
state,
evidenceDir: path.join(workspace, 'evidence'),
eventDir: path.join(workspace, 'events'),