Issue-agent: add pre-verification plan contract checker #102

Closed
opened 2026-04-27 09:20:36 -07:00 by nelsong6 · 1 comment
nelsong6 commented 2026-04-27 09:20:36 -07:00 (Migrated from github.com)

Problem

The workflow currently trusts the LLM-generated issue-agent-test-plan.json too much. A plan can pass even if it contains forbidden actions, unsupported surfaces, avoidable randomness, bad card ids, or evidence requirements the verifier cannot satisfy.

Desired Outcome

Add a deterministic pre-verification contract checker that validates the test plan before scenario setup, STS2 launch, or verification LLM execution.

Acceptance Criteria

  • Checker validates scenario_setup, validation_plan, and required_evidence.
  • Checker rejects forbidden tools/actions, unknown card ids, unknown base saves, unsupported surfaces, and missing required evidence fields.
  • Checker warns or fails on avoidable nondeterminism, such as a target card not guaranteed to be accessible when a smaller deck would work.
  • Checker output is written as JSON and Markdown artifacts.
  • Job summary includes pass/fail status and concrete reasons.
  • Verification does not start when contract checking fails.
## Problem The workflow currently trusts the LLM-generated `issue-agent-test-plan.json` too much. A plan can pass even if it contains forbidden actions, unsupported surfaces, avoidable randomness, bad card ids, or evidence requirements the verifier cannot satisfy. ## Desired Outcome Add a deterministic pre-verification contract checker that validates the test plan before scenario setup, STS2 launch, or verification LLM execution. ## Acceptance Criteria - Checker validates `scenario_setup`, `validation_plan`, and `required_evidence`. - Checker rejects forbidden tools/actions, unknown card ids, unknown base saves, unsupported surfaces, and missing required evidence fields. - Checker warns or fails on avoidable nondeterminism, such as a target card not guaranteed to be accessible when a smaller deck would work. - Checker output is written as JSON and Markdown artifacts. - Job summary includes pass/fail status and concrete reasons. - Verification does not start when contract checking fails.
nelsong6 commented 2026-07-05 15:45:35 -07:00 (Migrated from github.com)

Closing during repository issue cleanup. If this becomes active work again, we can reopen or recreate it as a fresh, specific task.

Closing during repository issue cleanup. If this becomes active work again, we can reopen or recreate it as a fresh, specific task.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens#102
No description provided.