Skip to content

fix(roadmap): Tell the stage planner what counts as source code #6214

Closed

Description

@dan-petty

Problem

#6207 (PR #6210) made a behavior stage group change source code: a .py file under src/ outside the knowledge base. The validator refuses a behavior group that changes only a prompt, a pin, a template or other data under src/, and its message says what counts as code. The stage prompts still say only that a behavior group "changes a path under src/" (roadmap_stage_change.md line 27, roadmap_stage_split.md line 7), so the planner can still plan such a group and get it back from the validator, which costs a model round.

#6210 left the prompts unchanged because a change of the stage prompt needs the live eval score at the base and the head (devops pr ready refuses it otherwise).

Expected behavior

  • Both prompts say that a behavior group changes a Python file under src/, and that a prompt, a pin or other data under src/ is no code.
  • The pull request holds Base eval score: and Head eval score: from the live stage eval, and the head score is not lower.

Related

Alternatives check of 2026-11-18: none.
Tool: none found.
Reason: Searches for a tool that states what counts as source code or validates stage prompts returned only unrelated pages; the need is this repository's own prompt wording and its live eval scores, which no external tool supplies.

Lacks:

  • Wording that names a Python file under src as code
  • Statement that a prompt, pin or template under src is no code
  • Live stage eval score at base and head

Activity

  1. added
    type/bug
    source/agent
    on Nov 17, 2026
  2. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor
  3. added
    scope/roadmap
    status/new
    value/medium
    effort/low
    priority/p2-medium
    on Nov 17, 2026
  4. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (3)

    Searches run:

    • define what counts as source code classification tool library, results: 5
    • open source tool to validate LLM planner stage prompts against rules, results: 5
    • GitHub Linguist classify source code files vs data files, results: 5

    Sources:

  5. dan-petty commented on Nov 18, 2026

    @dan-petty
    OwnerAuthor

    Evidence that this item is now urgent (24 h to 2026-11-18): 2 of 20 graded stage runs failed with class parser on the kind rule of #6207 (PR #6210), because the prompt still says a behavior group changes "a path under src/":

    The planner keeps planning a prompt change as behavior. The prompt wording of this item stops it. It needs the live eval score at the base and the head before devops pr ready.

  6. added
    status/in-progress
    and removed
    status/new
    on Nov 18, 2026
  7. removed
    status/in-progress
    on Nov 19, 2026
  8. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-19 05:06 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions