Repository navigation
Description
Current status, September 22
The trigram prerequisite #212 shipped through #379 and duplicate merging shipped in #440. The active prerequisites are provider configuration #402 (PR #448) and the proposal mechanism #405; team routing also composes with #197. Keep this open and blocked until suggestions can be generated with consent and accepted through the shared permission boundary.
Original requirements
Triage is the least enjoyable and most repetitive work in any tracker. Reading a new issue, deciding which team owns it, guessing a priority, adding the two labels it obviously needs, and noticing that it is the same thing somebody filed last Tuesday.
All of that is pattern matching against a workspace's own history, which is the kind of task a model is actually good at.
What to build
Suggestions on a newly created issue, presented as suggestions, never applied automatically.
- Labels. Based on the title and description, against the workspace's existing labels. Not new labels, only ones that exist
- Priority. With the reasoning visible, because an unexplained priority suggestion will be ignored
- Team routing. Which team most likely owns this. Most valuable in a triage queue, so this composes with the intake issue in the Extension surface milestone
- Duplicates. A semantic version of the trigram matching described in the duplicate detection issue in the Planning parity milestone. Build the trigram version first. This is the layer on top
- Project and sprint, where the workspace uses them consistently enough for the signal to exist
Every suggestion appears in a row above the issue with an accept and a dismiss. Accepting applies it as the person accepting, and the activity feed says the suggestion was accepted rather than that the person typed it. Dismissing is signal too, and worth recording.
Grounding
The suggestions have to come from the workspace's own data, not from a model's general sense of how software teams work. The label set, the state names, the team names and the historical assignment patterns are all in Postgres. A suggestion that invents a label that does not exist is worse than no suggestion.
Rules from the epic, restated because they matter most here
- Off unless an admin configures a provider
- Provider agnostic, including a local endpoint
- The workspace's issue text is sent to inference only when the workspace has opted in, and the settings page says plainly what is sent and where
- No suggestion is ever applied without a person accepting it
Cost and rate
Every new issue triggering an inference call is a real cost for the workspace paying for it. Make it configurable: on every issue, only on issues in the triage queue, or only when somebody asks. Batch where possible. Show usage somewhere, because a feature with an invoice attached needs to be visible.
Measuring whether it works
Record acceptance rate per suggestion type. If label suggestions are accepted 80 percent of the time and priority suggestions 15 percent, the priority one should be turned off rather than tuned forever. Build the measurement in from the start, since it is the only way to know whether the feature is earning its cost.
Files
packages/services/src/for the provider clientpackages/core/src/work/apps/web/src/features/issues/apps/web/src/app/(app)/settings/for configurationdocs/configuration.md
Depends on
The trigram duplicate detection issue, for the duplicate half. Independent otherwise.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
imshashank commentedon Aug 8, 2026
This depends on #212 for the duplicate half. #212 is the trigram version, using the GIN indexes that already exist, and it should land first. This issue is the layer above it.
The routing half is most useful once #197 exists, since a triage queue is where routing suggestions have somewhere to appear.
The parent epic #214 carries the rules that apply to everything here: off unless an admin configures a provider, bring your own key and endpoint, and no suggestion is ever applied without a person accepting it.