MVP 1: Executor GO/NO-GO gate

t-681·WorkTask·
·
·
Created1 month ago·Updated1 month ago·pipeline runs →

Description

Edit

Parent epic: t-679 Depends on: MVP 0 (baseline metrics)

Goal

Add a pre-execution gate: before the coder agent starts work, send the task spec to the executor model and ask whether it can implement without clarifying questions. If NO-GO, bounce back to the user for manual revision.

Mechanism

After a task is filed and before coder picks it up: 1. Send the task spec to the executor model (Sonnet) with this prompt:

  • "Read this task spec. Restate the task in your own words, then answer: can you implement it without asking clarifying questions? If YES: respond GO. If NO: list every question you'd need answered."

2. If GO: coder proceeds normally 3. If NO-GO: task is flagged for revision, questions are added as a task comment, status set to NeedsHelp 4. The "restate in your own words" step lets the spec author catch misunderstandings before a wasted cycle

Implementation details

  • Add this as a step in the coder agent's task pickup flow (or as a pre-hook)
  • The gate should be a single LLM call, cheap and fast
  • Log the gate result (GO/NO-GO, questions asked, restatement) for metrics
  • Track: gate pass rate, false-positive rate (said GO but task failed anyway)

Acceptance criteria

  • Every task goes through the gate before coder starts
  • NO-GO tasks get questions posted as comments automatically
  • Gate results are logged for metrics comparison against MVP 0 baseline
  • Manual override exists (skip gate for urgent/well-known tasks)

Timeline (0)

No activity yet.