@@ -7,63 +7,58 @@ STRICT SCOPE MODE
77
88ALLOWED FILES:
99- tools/workspace-manager/main.js
10- - docs/dev/reports/svg_card_render_source_11_156.txt
10+ - docs/dev/reports/workspace_tile_summary_display_model_11_157.txt
11+
12+ ALLOWED CHANGES:
13+ - fix Workspace Manager tile/card summary display model for svg-asset-studio only
14+ - create/update report only
1115
1216TASK:
1317
14181 . Open:
1519 tools/workspace-manager/main.js
1620
17- 2 . Find the final DOM/render path that creates visible card text:
18- Vector Assets
19- SVG Asset Studio
21+ 2 . Find the final tile/card display model that renders the visible line:
2022 Asset: none
2123
22- 3 . Add a temporary console diagnostic for ONLY:
23- toolId === "svg-asset-studio"
24+ 3 . Do NOT change loading. The data is already loaded.
2425
25- Log:
26- - tool id
27- - active tool data object
28- - workspaceManifest.tools[ "svg-asset-studio"]
29- - workspaceManifest.tools[ "svg-asset-studio"] .vectorAssetDocument
30- - computed/rendered asset label
26+ 4 . Patch the display model for:
27+ toolId === "svg-asset-studio"
3128
32- 4 . Use the diagnostic/static trace to patch the exact active render branch so:
33- if directEntry.vectorAssetDocument.sourceName exists:
34- Asset: <sourceName >
35- else if directEntry.vectorAssetDocument.svgText exists:
36- Asset: Inline SVG
29+ It must use:
30+ workspaceManifest.tools[ "svg-asset-studio"] .vectorAssetDocument.sourceName
3731
38- 5 . Remove diagnostic before final output ONLY if the fix is statically confirmed.
32+ If sourceName is missing but svgText exists:
33+ Inline SVG
3934
40- 6 . If the active render branch cannot be proven:
41- - keep diagnostic in place for one run
42- - report exactly what console output the user must send back
35+ 5 . Ensure visible expected output:
36+ Asset: sample-0901-ship.svg
4337
44- 7 . Do NOT:
38+ 6 . Do NOT:
4539 - modify schemas
46- - modify samples
40+ - modify Sample 1902 JSON
4741 - modify SVG Asset Studio
48- - modify runtime
42+ - modify tool host runtime
43+ - modify launch/routing behavior
4944 - add fallback/default/demo data
5045 - transform/wrap/normalize payload
51- - change unrelated tools
5246
53- 8 . Validate:
47+ 7 . Validate:
5448 - node --check tools/workspace-manager/main.js
49+ - static trace shows display model maps vectorAssetDocument.sourceName to Asset line
5550 - git diff --name-only contains only ALLOWED FILES
56- - report is populated
5751
58- 9 . Write:
59- docs/dev/reports/svg_card_render_source_11_156 .txt
52+ 8 . Write:
53+ docs/dev/reports/workspace_tile_summary_display_model_11_157 .txt
6054
6155Report must include:
6256- exact function/branch changed
63- - diagnostic removed or intentionally left
57+ - old source for Asset: none
58+ - new source for SVG label
6459- expected rendered text
6560- validation result
6661- strict scope confirmation
6762
68- 10 . Package Codex output ZIP at:
69- tmp/PR_11_156_INSTRUMENT_SVG_CARD_RENDER_SOURCE .zip
63+ 9 . Package Codex output ZIP at:
64+ tmp/PR_11_157_FIX_WORKSPACE_TILE_SUMMARY_DISPLAY_MODEL .zip
0 commit comments