Dev: Fixture Creation
When to use
开发者需要添加 fixture 样例(recorded run、task state、skill_io 等)。
Rules source
Read before creating:
fixtures/fixture_rules.md-- naming, structure, required files, validation rules
Pre-checks
- Confirm the fixture type: recorded run, task state, artifact, capability call, skill_io
- Check naming convention:
<domain>_<scenario>_<number> - Verify no secrets, tokens, or private paths
- 如修改了
stages.json/task.json/artifacts.json等核心结构的字段,同步更新packages/shared/src/task.ts类型与docs/task_specs/中对应 spec 的字段表
Output
Fixture files following the rules. Each fixture must have a clear source and purpose -- not random data.