Issue-agent: reject stale or forbidden validation-plan tool references #97

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

Problem

The test-planning phase can still write stale instructions such as run_scenario_command or vague game input steps even though verification is not allowed to use those paths.

This creates a dangerous mismatch: the plan can pass while containing actions that the verifier must ignore, reinterpret, or fail later.

Desired Outcome

Add a non-LLM contract check between test planning and verification that rejects validation plans referencing forbidden, removed, or unavailable tools/surfaces.

Acceptance Criteria

  • The workflow validates issue-agent-test-plan.json.validation_plan before scenario setup or verification.
  • Forbidden tool/action names fail the run with a clear error.
  • The error names the invalid plan step and suggested allowed MCP/tool surface when possible.
  • run_scenario_command, raw game input, dev-console card injection, and other removed paths are explicitly rejected.
  • The plan checker output is included in the job summary.
## Problem The test-planning phase can still write stale instructions such as `run_scenario_command` or vague `game input` steps even though verification is not allowed to use those paths. This creates a dangerous mismatch: the plan can pass while containing actions that the verifier must ignore, reinterpret, or fail later. ## Desired Outcome Add a non-LLM contract check between test planning and verification that rejects validation plans referencing forbidden, removed, or unavailable tools/surfaces. ## Acceptance Criteria - The workflow validates `issue-agent-test-plan.json.validation_plan` before scenario setup or verification. - Forbidden tool/action names fail the run with a clear error. - The error names the invalid plan step and suggested allowed MCP/tool surface when possible. - `run_scenario_command`, raw game input, dev-console card injection, and other removed paths are explicitly rejected. - The plan checker output is included in the job summary.
nelsong6 commented 2026-04-27 17:47:26 -07:00 (Migrated from github.com)

Closing as folded/deferred cleanup.

The useful part of this concern is covered by a broader pre-verification plan contract checker (#102). If forbidden validation-plan references become a real recurring problem, handle them there rather than maintaining this as a separate ticket.

Closing as folded/deferred cleanup. The useful part of this concern is covered by a broader pre-verification plan contract checker (#102). If forbidden validation-plan references become a real recurring problem, handle them there rather than maintaining this as a separate ticket.
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#97
No description provided.