fix(web): use compatible unattended Codex flags
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-06 04:40:12 +08:00
parent 5218ee0692
commit b9ad833a3d
2 changed files with 127 additions and 25 deletions

View File

@@ -146,7 +146,7 @@ def run_task(task: dict, heartbeat_seconds: float) -> tuple[int, bool]:
log_path = LOG_ROOT / f"{task['id']}.codex.jsonl" log_path = LOG_ROOT / f"{task['id']}.codex.jsonl"
LOG_ROOT.mkdir(parents=True, exist_ok=True) LOG_ROOT.mkdir(parents=True, exist_ok=True)
command = [ command = [
"codex", "exec", "--approve-for-me", "--sandbox", "workspace-write", "codex", "exec", "--approve-for-me",
"--ephemeral", "--cd", str(ROOT), "--json", "-", "--ephemeral", "--cd", str(ROOT), "--json", "-",
] ]
with log_path.open("w", encoding="utf-8") as log: with log_path.open("w", encoding="utf-8") as log:

View File

@@ -8,22 +8,96 @@
"completionDenominator": false "completionDenominator": false
}, },
"workflowModules": [ "workflowModules": [
{ "id": "PROJECT", "title": "Project open, save and recovery", "status": "implemented" }, {
{ "id": "WORKSPACE", "title": "Web workspace and viewport", "status": "implemented" }, "id": "PROJECT",
{ "id": "OBJECT", "title": "Object and scene graph", "status": "implemented" }, "title": "Project open, save and recovery",
{ "id": "MESH", "title": "Mesh modeling and UV", "status": "implemented" }, "status": "implemented"
{ "id": "NONMESH", "title": "Non-mesh geometry", "status": "partial", "taskIds": ["WEBUI-NONMESH-ADVANCED", "WEBUI-FONT-ASSETS"] }, },
{ "id": "MATERIAL", "title": "Materials, shaders and textures", "status": "implemented" }, {
{ "id": "MODIFIER", "title": "Modifiers and geometry nodes", "status": "implemented" }, "id": "WORKSPACE",
{ "id": "ANIMATION", "title": "Animation and NLA", "status": "partial", "taskIds": ["WEBUI-NLA-STRIP"] }, "title": "Web workspace and viewport",
{ "id": "PAINT", "title": "Sculpt, paint and Grease Pencil", "status": "partial", "taskIds": ["WEBUI-SCULPT"] }, "status": "implemented"
{ "id": "RENDER", "title": "Render, light, camera and world", "status": "implemented" }, },
{ "id": "COMPOSITOR", "title": "Compositor", "status": "implemented" }, {
{ "id": "SIMULATION", "title": "Physics and simulation", "status": "implemented" }, "id": "OBJECT",
{ "id": "MEDIA", "title": "Media, audio and sequencer", "status": "implemented" }, "title": "Object and scene graph",
{ "id": "ASSET_IO", "title": "Assets, libraries and interchange", "status": "implemented" }, "status": "implemented"
{ "id": "STORAGE", "title": "Browser storage and recovery", "status": "implemented" }, },
{ "id": "RUNTIME", "title": "Worker, performance and modular WASM lifecycle", "status": "implemented" } {
"id": "MESH",
"title": "Mesh modeling and UV",
"status": "implemented"
},
{
"id": "NONMESH",
"title": "Non-mesh geometry",
"status": "partial",
"taskIds": [
"WEBUI-NONMESH-ADVANCED",
"WEBUI-FONT-ASSETS"
]
},
{
"id": "MATERIAL",
"title": "Materials, shaders and textures",
"status": "implemented"
},
{
"id": "MODIFIER",
"title": "Modifiers and geometry nodes",
"status": "implemented"
},
{
"id": "ANIMATION",
"title": "Animation and NLA",
"status": "partial",
"taskIds": [
"WEBUI-NLA-STRIP"
]
},
{
"id": "PAINT",
"title": "Sculpt, paint and Grease Pencil",
"status": "partial",
"taskIds": [
"WEBUI-SCULPT"
]
},
{
"id": "RENDER",
"title": "Render, light, camera and world",
"status": "implemented"
},
{
"id": "COMPOSITOR",
"title": "Compositor",
"status": "implemented"
},
{
"id": "SIMULATION",
"title": "Physics and simulation",
"status": "implemented"
},
{
"id": "MEDIA",
"title": "Media, audio and sequencer",
"status": "implemented"
},
{
"id": "ASSET_IO",
"title": "Assets, libraries and interchange",
"status": "implemented"
},
{
"id": "STORAGE",
"title": "Browser storage and recovery",
"status": "implemented"
},
{
"id": "RUNTIME",
"title": "Worker, performance and modular WASM lifecycle",
"status": "implemented"
}
], ],
"tasks": [ "tasks": [
{ {
@@ -32,8 +106,16 @@
"title": "Expose advanced curve, surface and non-mesh deletion commands", "title": "Expose advanced curve, surface and non-mesh deletion commands",
"status": "pending", "status": "pending",
"attempts": 0, "attempts": 0,
"commands": ["deleteNonMeshData", "setCurveHandle", "setCurveSplines", "setSurfaceTopology"], "commands": [
"ownedPaths": ["web/app/src/app/App.tsx", "web/protocol/nonmesh-geometry-commands.ts"], "deleteNonMeshData",
"setCurveHandle",
"setCurveSplines",
"setSurfaceTopology"
],
"ownedPaths": [
"web/app/src/app/App.tsx",
"web/protocol/nonmesh-geometry-commands.ts"
],
"resultPath": "tests/golden/WBV2/product-migration/WEBUI-NONMESH-ADVANCED-result.json", "resultPath": "tests/golden/WBV2/product-migration/WEBUI-NONMESH-ADVANCED-result.json",
"implementation": "Add context-aware user controls that construct the existing typed commands from the active non-mesh snapshot. Reuse current curve/surface state; do not create a generic JSON command console." "implementation": "Add context-aware user controls that construct the existing typed commands from the active non-mesh snapshot. Reuse current curve/surface state; do not create a generic JSON command console."
}, },
@@ -43,8 +125,16 @@
"title": "Expose advanced font layout and browser font import commands", "title": "Expose advanced font layout and browser font import commands",
"status": "pending", "status": "pending",
"attempts": 0, "attempts": 0,
"commands": ["setFontAdvanced", "importVFont", "setFontLinks"], "commands": [
"ownedPaths": ["web/app/src/app/App.tsx", "web/protocol/nonmesh-geometry-commands.ts", "web/app/src/fonts/external-vfont-import.ts"], "setFontAdvanced",
"importVFont",
"setFontLinks"
],
"ownedPaths": [
"web/app/src/app/App.tsx",
"web/protocol/nonmesh-geometry-commands.ts",
"web/app/src/fonts/external-vfont-import.ts"
],
"resultPath": "tests/golden/WBV2/product-migration/WEBUI-FONT-ASSETS-result.json", "resultPath": "tests/golden/WBV2/product-migration/WEBUI-FONT-ASSETS-result.json",
"implementation": "Add usable font layout/link controls and a TTF/OTF/PFB file picker that uses the existing browser font import adapter and native command route." "implementation": "Add usable font layout/link controls and a TTF/OTF/PFB file picker that uses the existing browser font import adapter and native command route."
}, },
@@ -54,8 +144,14 @@
"title": "Expose native sculpt stroke and sculpt mesh attribute commands", "title": "Expose native sculpt stroke and sculpt mesh attribute commands",
"status": "pending", "status": "pending",
"attempts": 0, "attempts": 0,
"commands": ["sculptStroke", "setSculptMeshAttributes"], "commands": [
"ownedPaths": ["web/app/src/app/App.tsx", "web/protocol/paint.ts"], "sculptStroke",
"setSculptMeshAttributes"
],
"ownedPaths": [
"web/app/src/app/App.tsx",
"web/protocol/paint.ts"
],
"resultPath": "tests/golden/WBV2/product-migration/WEBUI-SCULPT-result.json", "resultPath": "tests/golden/WBV2/product-migration/WEBUI-SCULPT-result.json",
"implementation": "Add a compact sculpt panel for the active mesh, including brush controls, a deliberate apply action, and the existing native sculpt attribute route." "implementation": "Add a compact sculpt panel for the active mesh, including brush controls, a deliberate apply action, and the existing native sculpt attribute route."
}, },
@@ -65,8 +161,14 @@
"title": "Expose native NLA strip movement", "title": "Expose native NLA strip movement",
"status": "pending", "status": "pending",
"attempts": 0, "attempts": 0,
"commands": ["moveNLAStrip"], "commands": [
"ownedPaths": ["web/app/src/app/App.tsx", "web/protocol/animation-render-commands.ts", "web/protocol/nla.ts"], "moveNLAStrip"
],
"ownedPaths": [
"web/app/src/app/App.tsx",
"web/protocol/animation-render-commands.ts",
"web/protocol/nla.ts"
],
"resultPath": "tests/golden/WBV2/product-migration/WEBUI-NLA-STRIP-result.json", "resultPath": "tests/golden/WBV2/product-migration/WEBUI-NLA-STRIP-result.json",
"implementation": "Add context-aware NLA track/strip selection and frame-start editing to the Timeline, using the existing typed moveNLAStrip command." "implementation": "Add context-aware NLA track/strip selection and frame-start editing to the Timeline, using the existing typed moveNLAStrip command."
} }