From ac4b9b60ad421dba393669cd1141a2c4c742cf44 Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 28 Jun 2026 03:05:59 +0000 Subject: [PATCH] fix: project code agent stdio supervisor --- config/hwlab-node-lanes.yaml | 1 + scripts/src/hwlab-node-lanes.ts | 2 ++ scripts/src/hwlab-node/plan.ts | 1 + scripts/src/hwlab-node/render.ts | 2 ++ scripts/src/hwlab-node/web-probe.ts | 2 ++ 5 files changed, 8 insertions(+) diff --git a/config/hwlab-node-lanes.yaml b/config/hwlab-node-lanes.yaml index 4fb100a2..0deca1c8 100644 --- a/config/hwlab-node-lanes.yaml +++ b/config/hwlab-node-lanes.yaml @@ -703,6 +703,7 @@ lanes: repoUrlFrom: runtimeGitReadUrl providerIdFrom: runtimeNodeId defaultProviderProfile: fake-echo + codexStdioSupervisor: repo-owned publicExposure: mode: pk01-caddy-frp publicBaseUrl: https://hwlab.pikapython.com diff --git a/scripts/src/hwlab-node-lanes.ts b/scripts/src/hwlab-node-lanes.ts index 089f3def..0bf3e144 100644 --- a/scripts/src/hwlab-node-lanes.ts +++ b/scripts/src/hwlab-node-lanes.ts @@ -324,6 +324,7 @@ export interface HwlabRuntimeCodeAgentRuntimeSpec { readonly repoUrlFrom: "runtimeGitReadUrl"; readonly providerIdFrom: "runtimeNodeId"; readonly defaultProviderProfile: string; + readonly codexStdioSupervisor: "repo-owned"; } export interface HwlabRuntimeSourceWorkspaceSpec { @@ -784,6 +785,7 @@ function codeAgentRuntimeConfig(value: unknown, path: string): HwlabRuntimeCodeA repoUrlFrom: enumStringField(raw, "repoUrlFrom", path, ["runtimeGitReadUrl"]), providerIdFrom: enumStringField(raw, "providerIdFrom", path, ["runtimeNodeId"]), defaultProviderProfile: stringField(raw, "defaultProviderProfile", path), + codexStdioSupervisor: enumStringField(raw, "codexStdioSupervisor", path, ["repo-owned"]), }; } diff --git a/scripts/src/hwlab-node/plan.ts b/scripts/src/hwlab-node/plan.ts index 44d02c47..b777c147 100644 --- a/scripts/src/hwlab-node/plan.ts +++ b/scripts/src/hwlab-node/plan.ts @@ -157,6 +157,7 @@ export function nodeRuntimeExpected(spec: HwlabRuntimeLaneSpec): Record volume && volume.name === 'hwlab-metrics-sidecar')) metricsRefs.push(workloadRef(item, file, { name: 'volume/hwlab-metrics-sidecar' }));", diff --git a/scripts/src/hwlab-node/web-probe.ts b/scripts/src/hwlab-node/web-probe.ts index 9f29397d..2455994f 100644 --- a/scripts/src/hwlab-node/web-probe.ts +++ b/scripts/src/hwlab-node/web-probe.ts @@ -107,6 +107,7 @@ export function nodeRuntimeRenderOverlay(spec: HwlabRuntimeLaneSpec): Record