Skip to content

chore(roadmap): track the decision model workflows #4408

Open

Description

@dan-petty

Purpose

This is the tracker of the work to use TypeSafe Jev (and other decision models) in the Service workflows. It records the plan, the pilots, their results, and the open decisions. It is updated when each piece finishes. It carries no milestone.

Rule that came out of the pilots

Jev works on short closed questions about evidence that tools extract, with thresholds fitted from labelled data. It was weak as a reader of long diffs, as a drop-in for a structured generation answer, and it did not beat a deterministic rule where one existed (ADR 0019, rule 3 of AGENTS.md). The design now in progress makes every workflow step a named decision point with a rule first, the decision model second (when ai.decision_model is configured), and the current behavior as the fallback.

Status

Piece Issue or PR Result
Gateway route for the Decisions API #4289, PR #4300 Done. /v1/systemone pass-through works.
ask-jev command, tool and skill #4306, PR #4315 Done.
Event loop fault of the client; public decide_with_jev #4319, PR #4331 Done.
Jev screen before the verify step #4282, PR #4343 Merged. Live in shadow mode since 2026-11-10. Saves little (about 6% of reviews).
Jev for intake labels #4298, PR #4323 Merged, off. Ties on type, behind on priority, Value and Effort, 0 of 3 duplicates. Shadow mode in progress.
Jev completeness check for drafts #4308, PR #4320 Merged, off. 43% recall, 28% false holds. No-go.
Pilot 2: failure-class tail #4390 No-go. The tail has 8 cases and rules cover it.
Pilot 3: progress judge for implement limits #4393, #4394 No-go for Jev. A deterministic rule extends the budget (in progress).
Decision-model workflows design (ADR 0020), framework, first new point stage.explore_stop in shadow in progress Three PRs.
Inventory of defect sources and fixers in progress Decides if a router has a case.
Spend of Jev through the gateway is not counted #4296 In review: pull request #5879 records each Jev decision call in the spend ledger at the Jev price.

Open decisions for the owner

  • Whether to keep merged code that stays off (completeness check, intake labels) once the shadow data is in.
  • When to turn a point from shadow to on (each point's bar is set before the data).

Updates

Each finished piece adds a comment here with its findings.

Alternatives check of 2026-11-18: not-applicable.
Class: chore, no search.
Tool: none found.

Proposed design

Problem statement

Issue #4408 is the tracker of the decision-model work in the Service workflows. The tracker records the plan, the result of each pilot and the decisions that remain. AGENTS.md rule 2 forbids returning a tracker, so the roadmap jobs must leave this issue out and work its related issues.

Acceptance criteria

Requirement: Tracker is left out of the roadmap jobs

The roadmap stage job and the implement job SHALL leave out an issue that carries the tracker title prefix chore(roadmap): track.

Scenario: Explain names the tracker

  • WHEN A person runs devops roadmap explain 4408
  • THEN The command names the issue as a tracker and says that the stage job and the implement job leave it out.

Existing Tool Considered

The alternatives block in the issue body records the check of 2026-11-18 with verdict not-applicable for class chore and names no tool. GitHub Issues covers the need as the living tracker: GitHub is the source of truth of the roadmap (ADR 0001) and labels hold the fields of an item (ADR 0016). It lacks a structured and queryable result field, because the rows live in the issue body and the findings live in comments. The project builds no replacement for the tracker, so the cost of new code is zero tokens and zero elapsed time. The only code change is the filter that leaves the tracker out of the roadmap jobs.

Key questions

  • Should the tracker be a living issue or a repository document?: The tracker stays a living issue. AGENTS.md rule 8 forbids a commit or pull request that only updates tracking, and the record changes when each piece finishes. (best practice) [sources: AGENTS.md, docs/ROADMAP_WORKFLOW.md, CONTEXT.md]
    • Chosen: Living issue. Rule 8 forbids a pull request that only updates tracking, and the record changes when each piece finishes.
    • Rejected: Repository document. A document needs a pull request that only updates tracking, which rule 8 forbids.
  • Should the project keep merged code that stays off, such as the completeness check and intake labels, once the shadow data is in?: Keep it registered and off or shadow until it meets the bar. A decision point has a mode in roadmap.decisions: off, shadow or on. A point moves to on only when its shadow record and fit report show that it meets the bar set before the data. (best practice) [sources: CONTEXT.md, docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with-a-resolver-chain-and-a-rule-goes-before-a-decision-model.md, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Keep it registered and off or shadow until the bar is met. The mode of a decision point is off, shadow or on, and the body sets each point's bar before the data. Removal deletes a registered point before its measurement.
    • Rejected: Remove the merged code now. The body says the shadow data is in progress and each point's bar is set before the data. Removal would delete a point before its measurement.
  • When should a decision point move from shadow to on?: The owner turns a point on only when its shadow record and fit report show that it meets the bar set before the data. The owner changes the mode in roadmap.decisions and records the date. (best practice) [sources: CONTEXT.md, docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with-a-resolver-chain-and-a-rule-goes-before-a-decision-model.md, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Move on when the shadow record and fit report meet the bar. The body sets each point's bar before the data, and the mode change records the date.
    • Rejected: Move on without the bar. The body says each point's bar is set before the data, so a move without it has no basis.
  • How do the roadmap jobs identify a tracker issue?: The roadmap jobs identify a tracker by the title prefix chore(roadmap): track, because the issue uses that prefix and the project records no tracker label. (best practice) [sources: AGENTS.md, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Title prefix chore(roadmap): track. The issue title already uses the prefix, and the project records no tracker label.
    • Rejected: Tracker label. The issue carries no tracker label, and the project records no such label.
    • Rejected: Body marker. A body marker is fragile because a person edits the body.
  • Which model kind does each task use?: A decision model answers a closed choice on short evidence and returns a band, never a text. A generative model writes text and reads a long document. A decision point uses no generative model. [sources: CONTEXT.md, docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with-a-resolver-chain-and-a-rule-goes-before-a-decision-model.md]
  • What resolver chain does a decision point use?: A proven rule runs first. The decision model runs second when ai.decision_model is set and the point is in shadow or on. The current behavior is the fallback. [sources: CONTEXT.md, docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with-a-resolver-chain-and-a-rule-goes-before-a-decision-model.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/chore
    scope/roadmap
    status/new
    value/low
    effort/low
    on Nov 10, 2026
  2. dan-petty commented on Nov 10, 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/chore. The chore prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P3-Low. A tracker document with no user-facing change; it coordinates work already tracked in individual issues.
    • Value: Low. It is an internal coordination document, not a feature or fix for users.
    • Effort: Low. It is a status table and a list of open decisions, updated as each piece lands.
    • Related: docs(roadmap): the decision-point design for Jev workflows #4396, which asks for a different change. Both concern the Jev decision-model workflow design; the candidate tracks all pieces while #4396 delivers the design document itself.
  3. added
    priority/p3-low
    on Nov 10, 2026
  4. dan-petty commented on Nov 10, 2026

    @dan-petty
    OwnerAuthor

    Update 2026-11-10 23:40 UTC.

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

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at 6a09588 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • When should a decision point move from shadow to on? (a person decides)
  6. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake Jev is in shadow on the Service from 2026-11-11 06:50Z.

  7. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    Alternatives check: not-applicable

    Class: chore. The check makes no search and no model call for an item of this class.

    Tool: none found

    Checked on 2026-11-11. A person decides what this means for the item. The check changes no label and closes no issue.

  8. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  9. added
    status/ready
    and removed
    status/new
    on Nov 28, 2026
  10. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

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/p3-lowscope/roadmapsource/agentstatus/readytype/chorevalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions