Skip to content

feat(roadmap): keep the stage gate problems as a list with a code #4846

Closed

Description

@dan-petty

Problem or Motivation

The stage job joins the gate problems of a refused reply into one string before the return (_settle). The return loop cannot tell which problems are gone, new or stuck, and no fixable check can class them. The kept refused records hold 254 problems in 42 records, with fix rates per code from 0 of 17 (stale test path) to 46 of 46 (missing path).

Proposed Solution & Architectural Design

The gates return Finding(gate, code, path, text) items; the prompt still gets the joined text. The refused file, the 'stage gate returns:' line and the histogram devops_cli_roadmap_stage_gate_problems{reply} keep the gates and codes. Each return logs the counts of findings in, gone, stuck (same gate and normalised text) and new. A data file maps each code to a class (mechanical, model_fixable, low_share, never) with its seed fix rate, n and Wilson lower bound (statsmodels proportion_confint).

Target Subsystem

SDLC, Git & PR Governance (roadmap stage gates).

Existing Tool Considered

The existing gate code; statsmodels proportion_confint (Wilson) for the seed fix rates. No new library. Cost to build: about 0.8M tokens, half a day.

Acceptance Criteria

  • A test fails on a gate message with no code.
  • A test: a reply refused by two gates gives two findings.
  • A fixture of saved refused records (no private data) gives the seed per-code counts of the data file.
  • The prompt text of a return is the same as before.

Dependencies

None.

Source: #4843

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/feature
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It improves observability and classification of gate problems but does not block a release.
    • Value: Medium. Users gain per-code fix-rate tracking and structured findings, which aids triage of refused replies.
    • Effort: Medium. The body estimates about 0.8M tokens and half a day of work.
    • Related: feat(roadmap): log each fix round and each failed stage item #4535, which asks for a different change. Both add logging of stage gate activity, but the candidate restructures the data model into coded Finding items while 4535 adds log lines for fix rounds and failed items.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 11, 2026
  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 12, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  7. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 12:40 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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions