ganjihong beac59fc8b refactor(cdsl_engine): sink atomic runtime capability flags into schema contracts
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.
2026-09-09 13:41:38 +08:00
2026-08-24 14:52:08 +08:00
2026-09-02 13:51:35 +08:00
2026-09-04 11:17:36 +08:00
2026-08-19 19:34:30 +08:00
2026-08-21 14:12:27 +08:00
2026-08-21 14:12:27 +08:00
2026-08-21 14:12:27 +08:00

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.

S
Description
No description provided
Readme 221 MiB
Languages
Python 67.2%
JavaScript 30.1%
TypeScript 2%
CSS 0.5%
Shell 0.1%