Skip to content

feat(roadmap): Jev decides the labels of an intake proposal - #4323

Merged
dan-petty merged 2 commits into
mainfrom
feat/4298-jev-decides-intake-labels
Nov 10, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4298-jev-decides-intake-labels

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

With roadmap.intake.jev set, intake asks TypeSafe Jev for the type, priority, Value, Effort and duplicate flags of a proposal in one System One request, in place of the triage model. The setting is off by default.

Jev builds the same ModelProposal, so the checks of intake still decide which values stand. A flagged duplicate stays a flag: the candidate is placed, and nothing is closed or dropped. A Jev error, a timeout or a low confidence leaves the whole proposal to the triage model. The counter devops_cli_roadmap_intake_jev_fields_total (field, outcome) adds 10 series.

devops roadmap eval jev compares Jev and the triage model on the duplicate cases and on 25 closed issues, false duplicates first. A run stops before its first call above --max-calls.

Closes #4298

Change: openspec/changes/archive/2026-11-10-4298-jev-decides-the-labels-of-an/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Checks

  • Full devops ci on this branch: every row passes except pytest. In pytest, 4 tests of tests/commands/test_scan.py fail, and they fail the same on main (issue test(scan): scan command tests reach real trivy and semgrep #4288). 22,089 tests pass.
  • The pytest row took 19 minutes while other agents ran their CI on the same host. This is a speed fault of the suite that this change does not add to; the slowest tests are in tests/roadmap/implement/ and tests/commands/.
  • Tests came first: tests/roadmap/intake/test_roadmap_intake_jev.py, tests/roadmap/test_roadmap_jev_eval.py, tests/commands/test_roadmap_eval_jev.py and tests/ai/test_jev_edge_fake.py. The Jev edge fake is tests/support/fakes/jev.py, a transport under the real SystemOneModel.
  • A test that reproduces the Event loop is closed fault (a model that owns its client, over a loopback socket) failed before the fix and passes after it.

Metric

devops_cli_roadmap_intake_jev_fields_total has the labels field (type, priority, value, effort, duplicate) and outcome (jev, fallback). It adds 10 series.

Live comparison (after #4289 and #4300 merged)

Command: uv run devops roadmap eval jev. It made 41 triage calls and 41 Jev calls (82 in all, the plan of the dry run) and no GitHub request. The Jev calls cost about 0.005 USD at 0.042 USD for 1M input tokens. The triage model in this checkout is local. So the run is far under the 1 USD cap.

triage model Jev
False duplicates (13 new items) 0 0
True duplicates found (3 duplicates) 1 0
Type, of 25 closed issues 17 17
Priority 15 10
Value 16 12
Effort 17 15

The run took every Jev answer (--min-confidence 0). Jev flags no more false duplicates than the triage model, but the sample is small, and Jev is behind the triage model on priority, Value and Effort. Keep roadmap.intake.jev off. A probe at the production least of 0.60 left most of the long real issues to the fallback: the confidence of the score answers is often between 0.25 and 0.55. Run uv run devops roadmap eval jev --min-confidence 0.6 to see that coverage before anyone sets the least.

The first two live runs stopped with RuntimeError: Event loop is closed. A model that the gateway settings build gets a client of the HTTP entry point, which the provider does not own, and a second asyncio.run found the client of the first. Intake now builds a model for each request and closes its client. jev.py has the same fault in _run_decide: I filed #4318.

Command to run again

After a change of the cases or the least: uv run devops roadmap eval jev (82 calls, limit --max-calls 160, about 0.01 USD).

Live ConfigMap

Nothing is applied to the cluster. When a person decides to set the setting, add these lines under roadmap: in the config.yaml of the Service ConfigMap, after the image of this change runs:

      intake:
        jev: true

An image that does not know the key ignores it, so the order cannot crash the Service.

Data

Jev is a hosted model (CONST_AI_GATEWAY_HOSTED_MODELS), so the text sent to it leaves the cluster. Intake sends issue text, which is public, so this is fine.

Known limits

  • Jev gives no evidence for a P0 and no related item. With the setting on, a candidate that cites an advisory or a failed run gets at most P1 from a model proposal.
  • Pending a person: review the diff in tuicr (tuicr -r <base>..HEAD).

With roadmap.intake.jev set, intake asks Jev for the type, priority, Value, Effort and duplicate flags in one request. Any failure or low confidence falls back to the triage model. devops roadmap eval jev compares both models.
@dan-petty
dan-petty force-pushed the feat/4298-jev-decides-intake-labels branch from aaf009f to 9b68b62 Compare November 10, 2026 02:10
@dan-petty
dan-petty marked this pull request as ready for review November 10, 2026 02:19
@dan-petty
dan-petty merged commit 1ae4311 into main Nov 10, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/4298-jev-decides-intake-labels branch November 10, 2026 02:20
@dan-petty

Copy link
Copy Markdown
Owner Author

Rebased onto main (release 0.104.0). Two files conflicted, and I kept both sides of each:

  • src/devops_cli/telemetry/instruments.py: feat(roadmap): a Jev completeness check for draft pull requests #4320 added ROADMAP_JEV_COMPLETENESS_TOTAL at the same place as ROADMAP_INTAKE_JEV_FIELDS_TOTAL. Both instruments and both entries of the INSTRUMENTS list stay.
  • docs/TELEMETRY.md: I took the file of main and ran devops docs generate --sync-readme, so both rows are there.

#4320 also used the message names jev_eval_title and jev_eval_dry_run, which hid mine without an error. I renamed my messages to jev_compare_*.

The checks of the pull request pass. I filed #4318 for the event-loop fault of jev.py, and then saw #4319 for the same fault. I closed #4318 as a duplicate and added my evidence to #4319.

dan-petty pushed a commit that referenced this pull request Nov 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.105.0](v0.104.0...v0.105.0)
(2026-11-10)


### Features

* **roadmap:** Jev decides the labels of an intake proposal
([#4323](#4323))
([1ae4311](1ae4311))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): Jev decides the labels of an intake proposal

1 participant