Skip to content

CST Runtime CLI v1.0.0

Latest

Choose a tag to compare

@bbl21 bbl21 released this 23 May 14:11

New Features / 新功能

Agent-Driven Probe-Optimizer Hybrid Architecture / Agent 驱动的探针-优化器混合优化架构

  • Two-phase synergy: probe phase (DoE screening) -> optimization phase (Optuna Bayesian iteration)
  • Agent autonomously decides: adjust ranges on edge_hit, switch samplers on ask_study_failed, early-stop on convergence
  • 5 objective types, supports single/multi-objective/constrained optimization
  • 两阶段协同:探针筛选关键参数 -> 贝叶斯迭代优化,agent 在阶段间自主决策,收敛速度显著提升

DevKit -- Agent Self-Extension / DevKit 开发包 -- Agent 自扩展

  • Code generator: TOML -> gen_*.py -> CLI command, 10 reference definitions
  • Agents complete the full extend pipeline autonomously
  • 代码生成器:写 TOML 定义 -> 自动产出 CLI 命令,10 个参考实现
  • Agent 可独立完成"查文档 -> 写 TOML -> 生成 -> 验证 -> 注册"全流程

Gateway Guard Layer / 守卫层 Gateway -- Runtime safety against CST pitfalls

  • T2: Dirty-param simulation prevention / 脏参数仿真拦截
  • T3: Save-after-farfield protection / 远场导出后防 save 损坏
  • T4: Complex-to-dB conversion / 复数据自动转 dB
  • T8: Non-gain quantity rejection / 非增益量拒绝
  • All traps carry cst_raw + next_action for agent recovery

5 Pipeline Tools / 5 个管道工具 -- inspect-project, prepare-experiment, run-experiment, run-probe-phase, run-optimization-step

3D View Capture / 3D 模型截图 -- capture-3d-view + inspect-model-view

3D Farfield WebGL / 3D 远场 WebGL -- GPU 32400-face, zero-dep HTML

Refactoring / 重构

  • Unified session, farfield consolidation, directory layering / session 统一、远场合并、目录分层
  • 110 tools migrated to JSON Schema / 110 工具迁移至 JSON Schema
  • Streamlined deployment: bootstrap + auto-register / 部署流程精简
  • optimizer.py decoupled as pure-math / 解耦为纯数学模块

Testing / 测试

  • Three-layer: contract (<30s) -> pipeline (CST) -> invariants (12 rules)
  • 三层测试体系,pytest 迁移,20 gateway 纯逻辑测试

Fixes / 修复

  • run-experiment: file-seq vs run_id solver detection
  • capture-3d-view centering, farfield JS syntax, Convergence JS collision
  • Skip run_id 0 for CST alias compatibility

Documentation / 文档

  • README rewritten: capability map, architecture, extension guide
  • SKILL.md: workflow reference + optimization framework