beac59fc8b2cf43c09686d6cf5067cd932f39a51
Phase 4 of the decoupling refactor (behavior-preserving):
- profile_schema.json: every operation contract now carries
runtime_capability {body_mutating, requires_active_body,
replayable, requires_selector, open_profile_ok} (single source of truth)
- operation_contracts.py: validates and forwards the flags
- capabilities.py: the five data-classification frozensets are now
derived from the schema at import time; dispatch-logic sets
(_HOLE_ATOMICS, _PATTERN_ATOMICS, extent constants) stay in code
- test_profile_schema.py: completeness + structural invariants test
Equivalence proven by flag counts (27/13/25/6/2) matching the previous
hand-written sets and by the unchanged test-baseline failure set.
CAD CDSL Workspace
This repository is organized as a CAD generation workspace with four runtime programs and one AI skill:
frontend/: Agent UI and 3D model preview.backend/: API, generation orchestration, engine, and official CDSL library.solidworks_to_json/: SolidWorks export plugin.json_to_cdsl/: SolidWorks JSON to parameterized CDSL converter.backend/agent/skills/cad-engine/: Instructions for the backend AI agent to use the CAD engine.cdsl 5/: Existing experimental assets kept unchanged for reference.
Run both application services from the repository root with:
./run.sh
On Windows, run run.bat instead.
Python 3 and Node.js (including npm) must be installed first. Both startup
scripts create backend/.venv and install the backend and frontend
dependencies automatically when they are missing.
Description
Languages
Python
67.2%
JavaScript
30.1%
TypeScript
2%
CSS
0.5%
Shell
0.1%