Files
FreeCADWasmDev/docs/p6/cam-action-03-facade.json
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

259 lines
7.1 KiB
JSON

{
"schema": "freecad-web-p6-cam-action-03-facade/v1",
"task_id": "FW-P6-CAM-ACT-03-E",
"status": "pass",
"action": "cam.inspectSourceInventory",
"envelopeSchema": "freecad-web-facade/v1",
"typedSchema": "freecad-web-cam/inspect-source-inventory/v1",
"responses": {
"success": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "cam-action-03-success",
"result": {
"schema": "freecad-web-cam/inspect-source-inventory/v1",
"module": "CAM",
"action": "inspect/source-inventory",
"sourceRevision": "b5a086fda59b0325fe0996147e6e9b344414f9bc",
"currentSourceRevision": "b5a086fda59b0325fe0996147e6e9b344414f9bc",
"sourceEntry": "src/Mod/CAM/Init.py",
"registeredTypes": [
"Path::Area",
"Path::Command",
"Path::Feature",
"Path::FeatureArea",
"Path::FeatureAreaView",
"Path::FeatureShape",
"Path::PropertyPath",
"Path::Toolpath",
"Path::Voronoi",
"Path::VoronoiCell",
"Path::VoronoiEdge",
"Path::VoronoiVertex"
],
"formatExtensions": [
".fcstd",
".json",
".obj",
".step",
".svg"
],
"objectTypeCount": 12,
"pythonApiCount": 2883,
"dependencies": [
"Part",
"area-native",
"FreeCADApp"
],
"guiExcluded": [
"FreeCADGui",
"PySide",
"pivy.coin"
],
"readOnly": true,
"stateSha256": "d9e12b91480c9117a9a93b2d6ebc5a8ca08d4c4f6a4a36ff1f6e70f23cbaac44"
}
},
"expectedError": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "cam-action-03-error",
"error": {
"code": "revision_mismatch",
"message": "CAM source revision is not locked",
"diagnostic": {
"sourceRevision": "wrong-revision"
}
}
},
"duplicate": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "cam-action-03-success",
"error": {
"code": "duplicate_request",
"message": "requestId has already been dispatched"
}
},
"cancelled": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "cam-action-03-cancel",
"error": {
"code": "cancelled",
"message": "request was cancelled before execution"
}
},
"afterCancel": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "cam-action-03-after-cancel",
"result": {
"schema": "freecad-web-cam/inspect-source-inventory/v1",
"module": "CAM",
"action": "inspect/source-inventory",
"sourceRevision": "b5a086fda59b0325fe0996147e6e9b344414f9bc",
"currentSourceRevision": "b5a086fda59b0325fe0996147e6e9b344414f9bc",
"sourceEntry": "src/Mod/CAM/Init.py",
"registeredTypes": [
"Path::Area",
"Path::Command",
"Path::Feature",
"Path::FeatureArea",
"Path::FeatureAreaView",
"Path::FeatureShape",
"Path::PropertyPath",
"Path::Toolpath",
"Path::Voronoi",
"Path::VoronoiCell",
"Path::VoronoiEdge",
"Path::VoronoiVertex"
],
"formatExtensions": [
".fcstd",
".json",
".obj",
".step",
".svg"
],
"objectTypeCount": 12,
"pythonApiCount": 2883,
"dependencies": [
"Part",
"area-native",
"FreeCADApp"
],
"guiExcluded": [
"FreeCADGui",
"PySide",
"pivy.coin"
],
"readOnly": true,
"stateSha256": "d9e12b91480c9117a9a93b2d6ebc5a8ca08d4c4f6a4a36ff1f6e70f23cbaac44"
}
}
},
"trace": [
{
"direction": "request",
"requestId": "cam-action-03-success",
"command": "cam.inspectSourceInventory"
},
{
"direction": "handler-start",
"requestId": "cam-action-03-success"
},
{
"direction": "handler-end",
"requestId": "cam-action-03-success"
},
{
"direction": "response",
"requestId": "cam-action-03-success",
"kind": "result",
"code": null
},
{
"direction": "request",
"requestId": "cam-action-03-error",
"command": "cam.inspectSourceInventory"
},
{
"direction": "handler-start",
"requestId": "cam-action-03-error"
},
{
"direction": "handler-end",
"requestId": "cam-action-03-error"
},
{
"direction": "response",
"requestId": "cam-action-03-error",
"kind": "error",
"code": "revision_mismatch"
},
{
"direction": "request",
"requestId": "cam-action-03-success",
"command": "cam.inspectSourceInventory"
},
{
"direction": "response",
"requestId": "cam-action-03-success",
"kind": "error",
"code": "duplicate_request"
},
{
"direction": "request",
"requestId": "cam-action-03-cancel",
"command": "cam.inspectSourceInventory"
},
{
"direction": "cancel",
"cancelOf": "cam-action-03-cancel"
},
{
"direction": "response",
"requestId": "cam-action-03-cancel",
"kind": "error",
"code": "cancelled"
},
{
"direction": "request",
"requestId": "cam-action-03-after-cancel",
"command": "cam.inspectSourceInventory"
},
{
"direction": "handler-start",
"requestId": "cam-action-03-after-cancel"
},
{
"direction": "handler-end",
"requestId": "cam-action-03-after-cancel"
},
{
"direction": "response",
"requestId": "cam-action-03-after-cancel",
"kind": "result",
"code": null
}
],
"sequencing": {
"maxActive": 1,
"activeAfter": 0,
"requestCount": 5,
"responseCount": 5,
"cancelAccepted": true
},
"state": {
"beforeCancel": "d9e12b91480c9117a9a93b2d6ebc5a8ca08d4c4f6a4a36ff1f6e70f23cbaac44",
"afterCancel": "d9e12b91480c9117a9a93b2d6ebc5a8ca08d4c4f6a4a36ff1f6e70f23cbaac44",
"unchangedAfterCancel": true
},
"schemaChecks": {
"request": true,
"result": true,
"expectedError": true,
"duplicate": true,
"cancel": true,
"noNativePointers": true
},
"inputSha256": "40494ceed05bb28b5fe22dc47ded4e8d8706280c1fea705510b28b3cf2a6b28a",
"commands": [
"npx tsc --target ES2022 --module ESNext --moduleResolution Bundler --strict --skipLibCheck --outDir /tmp/freecad-p6-cam-action-03 --declaration false --noEmit false src/facade-envelope.ts src/cam-inspect-facade.ts",
"node tools/run_p6_cam_action03_facade_smoke.mjs /tmp/freecad-p6-cam-action-03/cam-inspect-facade.js"
],
"artifacts": {
"schema": "docs/p6/cam-action-03-facade.schema.json",
"workerLog": "docs/freecad-p6-cam-action-03-e-facade.log"
},
"boundaries": [
"Read-only source inventory exposes no native pointers or document mutation."
]
}