|
1 | 1 | # CODEX COMMANDS |
2 | 2 |
|
3 | 3 | Model: GPT-5.3-codex |
4 | | -Reasoning: medium |
| 4 | +Reasoning: high |
5 | 5 |
|
6 | 6 | STRICT SCOPE MODE |
7 | 7 |
|
8 | 8 | ALLOWED FILES: |
9 | 9 | - tools/workspace-manager/main.js |
10 | | -- docs/dev/reports/workspace_svg_asset_status_label_11_153.txt |
11 | | - |
12 | | -ALLOWED CHANGES: |
13 | | -- fix only SVG Asset Studio Workspace Manager card/status label |
14 | | -- create/update report |
15 | 10 |
|
16 | 11 | TASK: |
17 | 12 |
|
18 | | -1. Open: |
19 | | - tools/workspace-manager/main.js |
20 | | - |
21 | | -2. Find card/status label logic for: |
22 | | - svg-asset-studio |
| 13 | +1. Find detection logic for svg-asset-studio |
23 | 14 |
|
24 | | -3. Update it to read direct payload: |
25 | | - workspaceManifest.tools["svg-asset-studio"].vectorAssetDocument.sourceName |
| 15 | +2. Replace detection with: |
26 | 16 |
|
27 | | -4. Display a useful label: |
28 | | - Asset: sample-0901-ship.svg |
| 17 | +if (tools["svg-asset-studio"]?.vectorAssetDocument?.svgText) |
29 | 18 |
|
30 | | -5. Do NOT: |
31 | | - - modify schemas |
32 | | - - modify samples |
33 | | - - modify SVG Asset Studio |
34 | | - - modify runtime |
35 | | - - transform/wrap/normalize payload |
36 | | - - broaden unrelated tool logic |
| 19 | +3. Use sourceName for label |
37 | 20 |
|
38 | | -6. Validate: |
39 | | - - JS syntax for tools/workspace-manager/main.js |
40 | | - - Sample 1902 Workspace Manager card for SVG Asset Studio does not show Asset: none |
41 | | - - git diff --name-only contains only ALLOWED FILES |
| 21 | +4. DO NOT change other tools |
42 | 22 |
|
43 | | -7. Write: |
44 | | - docs/dev/reports/workspace_svg_asset_status_label_11_153.txt |
| 23 | +5. VERIFY: |
| 24 | +- detection works |
| 25 | +- no "none" |
45 | 26 |
|
46 | | -Report must include: |
47 | | -- changed file |
48 | | -- old/new label behavior |
49 | | -- validation result |
50 | | -- strict scope confirmation |
| 27 | +REPORT: |
| 28 | +docs/dev/reports/svg_payload_detection_fix_11_154.txt |
51 | 29 |
|
52 | | -8. Package Codex output ZIP at: |
53 | | - tmp/PR_11_153_FIX_WORKSPACE_SVG_ASSET_STATUS_LABEL.zip |
| 30 | +FAIL if still not detected |
0 commit comments