Files
DeepSeek-TUI/workflows
Hmbown 408d35b201 feat(workflow): experimental-search authoring boundary, reshaped and verified
Land the in-flight experimental-search slice as a real, honest v0.9.4
piece: a provider-neutral WorkflowSearchSpec authoring + freeze boundary
(parse/validate, preregistration hashes over baseline/requested+resolved
model/public evidence/evaluator, deterministic candidate ids and
admission batches) plus the operate best-of-N recipe's structured
'search' strategy (2-16 independent worktree candidates with
responseSchema contracts and a read-only judge). The module explicitly
remains an authoring boundary, not a runtime: hard_gates/score commands
are parsed and validated only, and docs say so.

Fixes found during the takeover operation:
- The checked-in recipe test failed against the real driver contract
  (parse_task_options lets prompt win over description, so fake-driver
  needles never matched and replies fell back to non-JSON). The recipe
  now puts the full instruction in the single driver-visible description
  and pins the prompt-wins contract with a new test.
- Queue claims verified against the runtime: the Workflow host's
  per-run concurrency gate (Semaphore, 16 live) is where larger
  populations wait; docs now name the gate instead of vague 'queues
  through Fleet'. WORKFLOW_SEARCH_MAX_CONCURRENT documents 16 as today's
  default with a cross-reference (a crate cycle prevents importing the
  host constant).
- TournamentOrdering (ScoreThenCost) and the 1,000-agent validation
  test bump retained from the slice.

Verified: cargo test -p codewhale-workflow -p codewhale-workflow-js
--locked green (250 + 16 + 9 + 49).

(cherry picked from commit f3e3232ef2)
Signed-off-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-08-01 10:11:57 -07:00
..