方向二(低优先级):Pipeline DSL 自包含 + 断言测试框架 #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
1. Pipeline DSL 完整自包含
当前 Agent 的 sm_def 需要外部文件或内联嵌入。支持一个 pipeline.json 内完整描述所有状态机定义。
2. Pipeline 级别断言测试
支持 bixiweave test 命令,对步骤状态和 Agent 状态做断言验证。
适合持续集成场景。
优先级:低,先做真实场景验证。
评价
有创意,但优先级低。 "在 DSL 中声明后置条件"的思路是测试驱动状态机,但当前 pytest 体系(~200 测试)已经覆盖得不错。
建议: 留在 backlog,等 v0.3+ 核心逻辑稳定后再考虑。