Skip to content

fix(roadmap): staging_title cuts the plan title with ... and title_problems refuses it #3249

Closed

Description

@dan-petty

Problem

The stage job builds the title of a plan pull request with staging_title. The reply field StageProposal.summary allows 60 characters (stage_change.py:271), but the room after the prefix docs(openspec): plan #<issue> is about 49 characters. A summary between 50 and 60 characters is cut and ends with .... title_problems in pull_form.py refuses a title that ends with ..., so the job produces a title that its own form check refuses.

Found by the fix agent of #3170. Reproduced on main: staging_title(2916, <57-character summary>) gives ...ready with..., and title_problems refuses it. Open plan pull requests with this defect: #3170 (before the fix), #3184, #3211 and others whose title ends with ....

Proposed change

Make the limit one number that both sides use. Either lower the limit of the summary field to the room that the prefix leaves (computed from the issue number), or write the prefix and the limit as one function that the schema, the prompt and staging_title all read. The prompt names the real limit. staging_title never cuts a summary that the schema accepted.

Acceptance criteria

  1. A test shows that a summary of the maximum length that the schema accepts gives a title that title_problems accepts, for an issue number of 1 digit and of 4 digits.
  2. A test fails if the schema limit and the room in the title differ.
  3. The planner prompt states the limit, and the test(roadmap): check the planner prompt against its rules #3210 prompt-vs-rules test passes.

Related: #3213, #3215.

Activity

  1. added
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 2, 2026
  2. devops-cli-service commented on Nov 2, 2026

    @devops-cli-service
    Contributor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The job produces a title its own check refuses, blocking plan pull requests.
    • Value: Medium. Fixes a functional defect that causes the stage job to fail its own validation.
    • Effort: Low. Adjust one limit value and add two tests for 1-digit and 4-digit issue numbers.
    • Related: feat(roadmap): the jobs build pull request text with pull_form #3215, which asks for a different change. Both deal with how the stage job builds the pull request title, but #3215 integrates pull_form into the jobs while the candidate fixes the limit mismatch between the schema and the title room.
  3. removed
    status/new
    on Nov 2, 2026
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/roadmaptype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions