Skip to content

feat(roadmap): an enterprise-grade plan and implement pipeline (tracker) #3027

Open
59 of 60 issues completed
Open

Description

@dan-petty

What happened

On 2026-11-01 an evaluation of the 37 plans that the stage job made found 34 flawed plans and 1 to reject, and the implement job stopped on a wrong plan at group 1 on at least 12 items and on a scratch file on #2175. The Service planning and implementation functions work as a demo loop. They do not use the tools the project owns, do not measure their quality, give up at the first failure, lose work on a stop, and cannot run long tasks.

What should happen

The pipeline is usable, reliable and robust:

  • Every change is testable and verifiable: behavior has a failing test first, other changes have a repeatable verify command (fix(roadmap): the stage job plans a failing test for groups that change no code with behavior #3005), and every run is scored against a golden set (A1, A2).
  • Every useful project tool is available to the planner and the implementer, under a policy (B1, C1, F4).
  • Long tasks are supported: checkpoints, resumption, progress-based deadlines (D2, E1, E2, E3).
  • Agents try to fix a failure before they give up, in bounded rounds, with changes of strategy and of model tier, and may amend the plan (D1, D3, D4).
  • Failures are classified, each class has one action, and recovery is proven by fault injection (F1, F5).
  • A person sees what ran, what it cost and what waits (A3, F2, F3, G1, G2).

Acceptance criteria

  • Every sub-issue of this tracker is closed.
  • devops roadmap eval stage and devops roadmap eval implement print a score, and the scores are above a floor that the owner sets.
  • The fault-injection suite passes in CI.
  • No item stops on a class that has an automatic action.

Related: tracker for this set (filed with it), #2908 (issue workflow), #2867 (draft PR evaluator), #3005 (task kind), #3010 to #3015 (plan gates), #2919 (stuck-item metrics), #2953 (Ollama parser).

Alternatives check of 2026-12-01: partly.
Tool: OpenHands/OpenHands (https://github.com/OpenHands/OpenHands), MIT, last activity 2026-12-01, maintained.
Reason: Searches found no wider tool. OpenHands covers the sandboxed implementer runtime and run scoring, but not the plan stage, eval commands, fault injection or run console that the tracker needs.

Covers:

  • Autonomous agent works a GitHub issue in a sandbox
  • Writes code and tests and opens a pull request
  • Pause, resume and conversation persistence
  • Benchmark harness scores agent runs

Lacks:

  • OpenSpec plan stage and plan gates
  • eval stage and eval implement commands with floor
  • Failure taxonomy, bounded repair rounds and plan amendment
  • Fault-injection suite, run console and dashboards

Proposed design

Problem statement

On 2026-11-01 an evaluation of 37 plans found 34 flawed plans. The implement job stopped on a wrong plan at group 1 on at least 12 items. The plan and implement pipeline does not use the tools that the project owns, does not measure its quality, gives up at the first failure, loses work on a stop, and cannot run long tasks. This tracker holds the 30 sub-issues that make the pipeline production-grade.

Acceptance criteria

Requirement: Eval prints a score

The devops roadmap eval stage and devops roadmap eval implement commands SHALL print a numeric score for each run against the golden set.

Scenario: Both eval commands score a fixture run

  • WHEN Each eval command runs against a fixture golden set with a recorded expected score.
  • THEN Each command prints the numeric score and exits zero.

Requirement: Eval floor fails the run

The eval commands MUST exit non-zero when a run scores below the floor that the owner sets.

Scenario: A score below the floor

  • WHEN A fixture run scores below the floor in the configuration.
  • THEN The command prints the floor and the score, and exits non-zero.

Requirement: Fault injection gates CI

The fault-injection suite SHALL run in CI and SHALL fail the build when an injected fault is not recovered.

Scenario: An unrecovered injected fault

  • WHEN The suite runs with one injected fault that the pipeline does not recover.
  • THEN The suite fails and the CI build fails.

Requirement: No stop on an automatic class

The implement job SHALL recover from every failure class that has an automatic action and SHALL NOT stop the item.

Scenario: A failure with an automatic action

  • WHEN A fixture implement run hits a failure whose class names an automatic action.
  • THEN The job takes the action and the item continues with no stop.

Requirement: Tracker closes with its sub-issues

The tracker completion check SHALL report the tracker as complete only when every linked sub-issue is closed.

Scenario: One sub-issue stays open

  • WHEN The check reads a fixture list with one open sub-issue.
  • THEN The check reports the tracker as not complete.

Existing Tool Considered

OpenHands/OpenHands (https://github.com/OpenHands/OpenHands), MIT and maintained with last activity on 2026-11-04, covers part of the need. It gives an autonomous agent that takes a GitHub issue, works in a sandbox, writes code and tests, and opens a pull request. It also gives pause and resume of a conversation, conversation persistence, and a benchmark harness for scoring agent runs.

It lacks the roadmap plan stage that produces OpenSpec plans and applies the plan gates (#3011-#3019). It lacks the devops roadmap eval stage and eval implement commands, the project golden set and the owner-set floor. It lacks the fault-injection suite (#3075), the failure taxonomy, bounded repair rounds, plan amendment, the model ladder (#3053, #3057, #3060, #3065), and the needs-input state, run console, dashboards and alerts (#3069, #3076, #3077).

The project builds these parts itself, at an estimated 60k tokens and one working day per sub-issue: about 1.8 million tokens to build, keep and fix, and about 6 weeks elapsed across the 30 sub-issues.

Key questions

  • Is this item a tracker that its sub-issues deliver, or one implementation?: It is a tracker. The 30 sub-issues each deliver one pull request, and they close it. The tracker needs no change folder and no pull request of its own. It waits on its 30 sub-issues and closes when the last one closes. [sources: CONTEXT.md]
  • Should the pipeline adopt OpenHands/OpenHands for the implementer runtime?: No. OpenHands covers the implementer runtime, the sandbox, pause and resume, and a benchmark harness. It lacks the plan stage, the eval commands, the golden set, the fault injection, the failure taxonomy and the run console. The project keeps its Runner and Service and builds the parts that OpenHands lacks. (best practice) [sources: CONTEXT.md]
    • Rejected: Adopt OpenHands as the implementer runtime. It lacks the plan stage, the eval commands, the golden set, the fault injection, the failure taxonomy and the run console. It replaces the Runner and the Service that CONTEXT.md defines.
    • Chosen: Keep the project Runner and Service. CONTEXT.md defines the Runner sandbox and the Service lanes for the roadmap jobs. The project adds the parts that OpenHands lacks.
  • Where does the eval score floor live, and what value does it start at?: The floor is one key in .github/roadmap.toml. It starts at the first measured score on the golden set, and the owner raises it as the pipeline improves. The eval commands read this key and fail below it. (best practice) [sources: docs/adr/0004-ci-is-the-authoritative-gate.md]
    • Chosen: Floor in repository configuration, starting at the first baseline. The owner changes the floor with no code change, and the eval commands read one value. ADR 0004 already keeps roadmap settings in .github/roadmap.toml.
    • Rejected: Floor hard-coded in the eval command. The owner cannot raise the floor without a code change and a release.

Fit

Needs splitting into 30 items:

  1. feat(roadmap): the stage job probes the premise at the staging commit and returns an item whose premise is false #3011 premise probes
  2. feat(roadmap): the stage context holds the callers and tests of each cited symbol #3012 callers and tests in the context
  3. fix(roadmap): the stage job refuses a spec delta that the changed paths do not need #3013 spec delta rule
  4. fix(roadmap): the stage job requires devops ci test verify commands and mirrored test paths #3015 verify form and test paths
  5. fix(roadmap): the stage job refuses a plan whose group reads a path that a later group creates #3017 group order
  6. feat(roadmap): the stage job maps each acceptance criterion of the issue to a task group #3019 acceptance criteria map
  7. test(roadmap): a golden set of plan cases and a scoring command for the stage job #3028 golden set and eval stage
  8. test(roadmap): a replayable fixture set and scoring command for the implement job #3030 implement fixtures and eval implement
  9. feat(roadmap): a trace of every run, kept and shown in the PR comment and in explain #3032 run trace
  10. feat(roadmap): the stage job plans with a read-only investigation toolbox #3037 investigation toolbox
  11. feat(roadmap): an independent verifier refutes a plan before the draft pull request opens #3039 independent verifier
  12. feat(roadmap): the implement agent can use the project's development tools #3041 project tools for the agent
  13. feat(roadmap): behavior groups run fail-to-pass and record the result #3042 fail-to-pass
  14. feat(roadmap): the implement job runs the scoped CI before it pushes and repairs failures #3043 scoped CI before the push
  15. feat(roadmap): Run devops review on the diff before marking PR ready #3049 devops review before ready
  16. feat(roadmap): new tests of an implementation are checked for strength #3051 test strength
  17. feat(roadmap): every step repairs before it gives up, in bounded rounds #3053 repair rounds
  18. feat(roadmap): a stopped step keeps its work and the next attempt resumes from it #3054 keep work and resume
  19. feat(roadmap): the implement agent can amend the plan when the plan is wrong #3057 plan amendment
  20. feat(roadmap): a model ladder for retries, with the tier chosen per attempt #3060 model ladder
  21. feat(roadmap): durable runs: a step survives an eviction, an OOM or a restart #3062 durable runs
  22. feat(roadmap): long-running tasks: progress-based deadlines instead of a fixed two hours #3063 progress-based deadlines
  23. feat(roadmap): several implement Jobs can run at once, on disjoint files #3064 parallel Jobs on disjoint files
  24. feat(roadmap): a failure taxonomy, and one action for each class #3065 failure taxonomy
  25. feat(roadmap): cost and token budgets per item and per day #3066 budgets
  26. feat(roadmap): metrics for the pipeline outcomes #3069 dashboards and alerts
  27. feat(runner): the runner image carries every development tool, and the shell policy is one table #3072 runner image tools and shell policy table
  28. test(roadmap): fault-injection tests prove the pipeline recovers #3075 fault injection
  29. feat(roadmap): a run console: follow a run and read its history #3076 run console
  30. feat(roadmap): an agent that needs a decision asks on the issue and waits #3077 needs-input state

Suspected block

None.

Dependencies

#3011, #3012, #3013, #3015, #3017, #3019, #3028, #3030, #3032, #3037, #3039, #3041, #3042, #3043, #3049, #3051, #3053, #3054, #3057, #3060, #3062, #3063, #3064, #3065, #3066, #3069, #3072, #3075, #3076, #3077

Sub-issues

Sub-issues

59 of 60 Issues completed
Loading 60 sub-issues

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/high
    effort/high
    on Nov 1, 2026
  2. dan-petty commented on Nov 1, 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 is a broad umbrella that gates several sub-issues but does not block a single user-facing command.
    • Value: High. It makes the plan and implement pipeline reliable, measurable and recoverable, which is the core use of the tool.
    • Effort: High. It spans scoring, tool policy, checkpoints, bounded retry, fault injection and visibility across multiple modules.
    • Related: feat(roadmap): devops roadmap implement runs every group of a staged change, archives it, fixes a failed check once and marks the pull request ready #2665, which asks for a different change. Both cover the implement pipeline, but #2665 delivered one execution flow while the tracker adds scoring, fault injection, checkpoints and recovery across the whole pipeline.
  3. added
    priority/p2-medium
    on Nov 1, 2026
  4. 54 remaining items

  5. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    The proposal at 2bd87bc needs splitting into 30 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.

    1. feat(roadmap): the stage job probes the premise at the staging commit and returns an item whose premise is false #3011 premise probes
    2. feat(roadmap): the stage context holds the callers and tests of each cited symbol #3012 callers and tests in the context
    3. fix(roadmap): the stage job refuses a spec delta that the changed paths do not need #3013 spec delta rule
    4. fix(roadmap): the stage job requires devops ci test verify commands and mirrored test paths #3015 verify form and test paths
    5. fix(roadmap): the stage job refuses a plan whose group reads a path that a later group creates #3017 group order
    6. feat(roadmap): the stage job maps each acceptance criterion of the issue to a task group #3019 acceptance criteria map
    7. test(roadmap): a golden set of plan cases and a scoring command for the stage job #3028 golden set and eval stage
    8. test(roadmap): a replayable fixture set and scoring command for the implement job #3030 implement fixtures and eval implement
    9. feat(roadmap): a trace of every run, kept and shown in the PR comment and in explain #3032 run trace
    10. feat(roadmap): the stage job plans with a read-only investigation toolbox #3037 investigation toolbox
    11. feat(roadmap): an independent verifier refutes a plan before the draft pull request opens #3039 independent verifier
    12. feat(roadmap): the implement agent can use the project's development tools #3041 project tools for the agent
    13. feat(roadmap): behavior groups run fail-to-pass and record the result #3042 fail-to-pass
    14. feat(roadmap): the implement job runs the scoped CI before it pushes and repairs failures #3043 scoped CI before the push
    15. feat(roadmap): Run devops review on the diff before marking PR ready #3049 devops review before ready
    16. feat(roadmap): new tests of an implementation are checked for strength #3051 test strength
    17. feat(roadmap): every step repairs before it gives up, in bounded rounds #3053 repair rounds
    18. feat(roadmap): a stopped step keeps its work and the next attempt resumes from it #3054 keep work and resume
    19. feat(roadmap): the implement agent can amend the plan when the plan is wrong #3057 plan amendment
    20. feat(roadmap): a model ladder for retries, with the tier chosen per attempt #3060 model ladder
    21. feat(roadmap): durable runs: a step survives an eviction, an OOM or a restart #3062 durable runs
    22. feat(roadmap): long-running tasks: progress-based deadlines instead of a fixed two hours #3063 progress-based deadlines
    23. feat(roadmap): several implement Jobs can run at once, on disjoint files #3064 parallel Jobs on disjoint files
    24. feat(roadmap): a failure taxonomy, and one action for each class #3065 failure taxonomy
    25. feat(roadmap): cost and token budgets per item and per day #3066 budgets
    26. feat(roadmap): metrics for the pipeline outcomes #3069 dashboards and alerts
    27. feat(runner): the runner image carries every development tool, and the shell policy is one table #3072 runner image tools and shell policy table
    28. test(roadmap): fault-injection tests prove the pipeline recovers #3075 fault injection
    29. feat(roadmap): a run console: follow a run and read its history #3076 run console
    30. feat(roadmap): an agent that needs a decision asks on the issue and waits #3077 needs-input state
  6. dan-petty commented on Nov 20, 2026

    @dan-petty
    OwnerAuthor

    Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.

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/highpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions