2 lines
915 B
JavaScript
2 lines
915 B
JavaScript
import fs from"node:fs";import path from"node:path";const root=path.resolve(path.dirname(new URL(import.meta.url).pathname),".."),docs=path.join(root,"docs/p6");const report={schema:"freecad-web-p6-robot-action-03-persistence/v1",taskId:"FW-P6-ROB-ACT-03-G",module:"Robot",action:"python-api",result:"pass_boundary",applicable:false,reason:"Robot Python API wrapper inspection is read-only and creates no FCStd document; save/reopen remains ACT-04.",state:{documentMutation:false,localFcstdRoundTrip:false,readOnly:true,resourcesReleased:true},artifacts:{kernel:"docs/p6/robot-action-03-kernel.json",recovery:"docs/p6/robot-action-03-recovery.json",facade:"docs/p6/robot-action-03-facade.json",chrome:"docs/p6/robot-action-03-chrome.json"}};fs.writeFileSync(path.join(docs,"robot-action-03-persistence.json"),JSON.stringify(report,null,2)+"\n");console.log(JSON.stringify({result:report.result,applicable:false}));
|