Skip to content

Keep persistent goals active when the response explicitly reports incomplete work #26986

@shandutta

Description

@shandutta

Problem

Persistent goal continuation can incorrectly terminate when the assistant's final response explicitly says the objective is not complete, has remaining open items, or requires continued work.

Expected behavior

If a response contains an explicit incompletion signal, the goal runner should keep the goal active (subject to max-turn/budget limits) rather than marking the goal achieved.

Current downstream workaround

A local downstream patch adds a guard that detects explicit incompletion phrasing before accepting the goal as complete, plus regression coverage for the goal runner.

Notes

This is separate from general judge quality: it covers the concrete case where the response itself says the task is unfinished.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/agentCore agent loop, run_agent.py, prompt buildertype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions