Repository navigation
Description
Problem
devops roadmap intake asks one LLM call (task triage, schema ModelProposal) for each candidate. The call fills the type (when the title gives none), the priority, the Value, the Effort and the duplicate flag. These fields are fixed lists and yes/no questions, which the TypeSafe Jev System One model (typesafe/jev-1.14) answers with calibrated probabilities and a confidence. An LLM call writes free text and costs more tokens for each candidate.
The owner asked on 2026-11-09: "Use Jev for issue labeling and categorization".
Proposal
Add a setting, off by default, that makes intake ask Jev for the proposal fields. The same ModelProposal goes to the existing checks, so intake still decides which values stand.
- Type: a Choice question over the declared
type/*labels. It runs only when the title and the issue give no type (the Conventional Commit title still givestype/*andscope/*). - Priority: a Choice question over
P1-High,P2-Medium,P3-Low. - Value and Effort: a Score question for each, with three levels.
- Duplicate flag: one Noul question for each nearest neighbour. A neighbour flags only when its probability reaches a high threshold. A verdict only flags a possible duplicate: intake never drops a candidate and never closes an issue.
- A Jev error, a timeout or a low confidence falls back to the existing LLM call (fail open).
- A bounded counter shows how often each field came from Jev or from the fallback.
- An offline comparison command scores Jev and the current LLM on the same cases. The setting stays off until Jev shows no more false-positive duplicates than the current path.
Jev is not reachable through the gateway yet (#4289). This change is built against a fake of the Jev client and stays ready for the real route.
Feasibility
- The Jev cookbooks (https://docs.typesafe.ai/cookbooks) group "Classification" under Choice questions (hierarchical classification, classification using confidence), Score questions under routing and matching, and Noul questions under field checks (entity alignment). The index states no limit on options or questions: examples run 75 options in one Choice and 13 questions in one call.
- The library source confirms the shapes:
pydantic_ai/models/decision.pyin this venv definesChoiceQuestion(criteria: dict),ScoreQuestion(criteria: list)andNoulQuestionwithNoulCriteria. The answers areChoiceAnswer(choice, confidence, probabilities),ScoreAnswer(score, confidence, probabilities)andNoulAnswer(noul).SystemOneModelposts to/v1/systemoneand requiresinstructionson each question. So eachModelProposalfield except the free-text reasons maps to one question. - Jev writes no text. The reason lines of the proposal come from the probabilities and the option text, not from the model. The duplicate
shared_changeis the title of the flagged neighbour. - The cost is about 0.042 USD per 1M input tokens (owner figure, 2026-11-09). One candidate sends about 3k tokens, so one call costs about 0.0001 USD.
- What is not verified: a live call.
POST /v1/systemonegives 404 through the gateway today (fix(ai): the gateway has no route for the Jev Decisions API #4289).
Acceptance criteria
- With the setting off, intake behaves as today.
- With the setting on, a candidate gets its fields from one Jev request, and a Jev failure or a low confidence uses the LLM call.
- A flagged duplicate stays a flag: the candidate is still placed.
devops roadmap eval jevcompares Jev and the LLM on the duplicate cases and on type, priority, Value and Effort of closed issues, and prints the false-positive duplicate count first.
Activity
dan-petty commentedon Nov 10, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.Off by default, blocked by gateway route #4289, and reduces cost but does not unblock any user workflow.Cuts per-candidate token cost and adds calibrated probabilities, but the feature is opt-in and not yet reachable through the gateway.Requires mapping five fields to Jev question types, a fallback path, a bounded counter, and an offline comparison command, all against a confirmed library API.Both use Jev in the roadmap pipeline, but #4282 targets the verify step while this candidate targets the intake labeling step.chore(openspec): archive the change of #4298
devops-cli-service commentedon Nov 10, 2026
Released in v0.105.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.105.0
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 02:44 UTC