0.5.0: pipeline support for ems-dev-tooling
- test-designer and release-reviewer keep a named model (Opus when none, never Haiku) - verifier checks every T-id and N-id of a "## Test plan" section - manager guidance: record each verdict with `ticket` before resume or rewrite Already running on the homelab install (applied from ems-dev-tooling patches/model-router-0.5.0-pipeline.patch). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bdqr7PiaHcBnzPituu2yTC
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d5c762b339
commit
86bb9d79cc
@@ -1139,3 +1139,23 @@ test('#5: the verifier is told how to read the rerun table', { options: RERUN },
|
||||
expect(sys).toContain('not caused by this change')
|
||||
expect(sys).toContain('Name every file you count against the change')
|
||||
})
|
||||
|
||||
// ---------- ems-dev-tooling (test design, test-plan check) ----------
|
||||
|
||||
test('pipeline: a test designer keeps Opus; a named Sonnet is kept, Haiku never', async () => {
|
||||
expect(decide({ subagentType: 'test-designer', prompt: 'Write the test plan', respectExplicit: false })).toEqual({ kind: 'fixed', tier: 'opus', reason: 'test-designer default' })
|
||||
expect(decide({ subagentType: 'test-designer', named: 'sonnet', prompt: 'x', respectExplicit: false }).kind).toBe('fixed')
|
||||
expect(decide({ subagentType: 'test-designer', named: 'haiku', prompt: 'find x', respectExplicit: false })).toEqual({ kind: 'fixed', tier: 'opus', reason: 'test-designer default' })
|
||||
// a design clone path carries no role: no record, so never verified as dev work
|
||||
expect(parseBrief('Clone: /home/homelab/projects/goodwe/clones/EV-15-design').role).toBe(undefined)
|
||||
})
|
||||
|
||||
test('pipeline: the verifier is told to check every T-id and N-id of the test plan', async ($, on) => {
|
||||
const w = fresh()
|
||||
w.diffs = ['diff --git a/x.py']
|
||||
const clock = world(on, w)
|
||||
const r = await $.agent.spawn({ prompt: devBrief('\n## Test plan\n| T1 | boundary | batteries above house | no alarm | yes |'), description: 'ev15' } as never)
|
||||
await finish($, clock, r.agentId as string)
|
||||
expect(w.verifierSystems[0]).toContain('every T-id must be implemented')
|
||||
expect(w.verifierPrompts[0]).toContain('## Test plan')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user