Commit Graph

7 Commits

Author SHA1 Message Date
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
likang bc87bd6d2d 重构 改为标准化输出 2026-09-01 14:10:23 +08:00
likang b26db86d78 修改agent流程,分步构建cdsl 2026-08-27 18:59:33 +08:00
likang beaa5dd9fe 优化生成流程 2026-08-25 17:41:24 +08:00
likang 51575161dc 优化agent 2026-08-25 11:01:59 +08:00
likang fd8c0c37ad 优化engine 2026-08-24 10:01:21 +08:00
likang 41ed846c23 change 2026-08-21 11:13:18 +08:00