feat(solver): Phase 3d — .kc SolveContext packing on commit #158
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 3d: .kc Context Packing
Pack
SolveContextinto.kcarchives on commit so that solver runners can extract constraint graphs without needing a full FreeCAD installation.See docs/SOLVER.md — Phase 3d
Files to modify
mods/silo/freecad/silo_origin.py— Hook into commit to pack solver context.kc archive layout
Client-side packing
Runner-side extraction
Context
When a solver job is triggered by
revision_created(e.g. theassembly-validatejob definition), the runner needs aSolveContextto work with. Two extraction paths exist:Path 1 is preferred for most deployments. Path 2 is a fallback for geometry-dependent operations.
Dependencies
build_solve_context()must produce JSON