75fb752a82
New package @united-workforce/agent-mock (uwf-mock CLI):
- Reads pre-scripted outputs from a YAML mock data file (--mock-data)
- Counts existing CAS chain steps to determine step index
- Validates expected role matches actual moderator routing
- Stores minimal detail node in CAS for valid step refs
- Zero LLM, instant execution, 100% deterministic
Usage in config.yaml:
agents:
mock:
command: uwf-mock
args: ["--mock-data", "./fixtures/scenario.yaml"]
Refs #33
19 lines
334 B
YAML
19 lines
334 B
YAML
steps:
|
|
- role: planner
|
|
output: |
|
|
---
|
|
$status: ready
|
|
plan: test-plan-hash
|
|
repoPath: /tmp/test-repo
|
|
---
|
|
Plan: implement the feature.
|
|
|
|
- role: developer
|
|
output: |
|
|
---
|
|
$status: done
|
|
branch: fix/1-test
|
|
worktree: /tmp/worktree
|
|
---
|
|
Implemented the feature.
|