Skip to content

Separate issue acceptance criteria from signed human requirements in agent prompts #561

Description

@wwind123

Problem

A plan review for llm-dialectic#352 correctly approved the plan, but Claude treated the issue acceptance criteria as signed human requirements and emitted identifiers such as:

Requirement: tooltip works with mouse, keyboard, and touch

The response validator only accepts exact IDs surfaced by the signed-comment protocol, for example Requirement 1. No signed requirements were surfaced for this run, so the valid response should have used human_requirement_dispositions: [] and omitted <!-- HUMAN_REQUIREMENTS_RESOLVED -->. The Antigravity repair pass repeated the invalid acknowledgement instead of removing it.

Cause

The compact plan-review prompt says signed human requirements are approval-critical, then presents ordinary issue acceptance criteria nearby without clearly identifying whether any signed requirements were actually surfaced. Agents reasonably infer that the acceptance criteria are the requirements to acknowledge, while validation rejects that interpretation.

Expected behavior

  • Render an explicit, separate Signed human requirements section in every relevant prompt.
  • When none were surfaced, say that explicitly and direct agents to emit an empty dispositions array and no resolved marker.
  • Keep ordinary issue acceptance criteria in a distinct section and state that they must not be used as signed-requirement IDs.
  • Make the repair prompt apply the same distinction and remove, rather than preserve, invalid human-requirement acknowledgements.
  • Add regression coverage for a plan review with acceptance criteria but no signed human requirements.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions