[FR] Per-user chat preferences (response depth, code visibility, custom instructions)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
- #1243 von @wilson101xx — ohne Merge geschlossen
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- typescript
- Bereich
- ai, full-stack
Rechercherichtung
Start by tracing the Settings page, User model, and the agent's request-time system-prompt assembly described in the proposal. Done means per-user storage and editing for six response dimensions plus the 1000-character custom-instructions field, with preferences applied softly and higher-priority safety, citation, and diagram requirements preserved.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The need
Sourcebot's chat answers are great for engineers but can be too dense
for PMs and VPs on our team. The same question ("how does service X
work?") needs a different shape depending on who's asking — concept-level
without code for a VP, full implementation detail for an engineer.
Today the agent has one voice for everyone.
Proposal
Add a Chat Preferences page in Settings where each user configures how
Sourcebot talks to them. Two parts:
-
Six response-style dimensions, each a radio with 3 levels:
- Depth: Full detail / Concept-level / One-paragraph summary
- Code visibility: Show snippets / Describe in prose / No code at all
- Vocabulary: Jargon OK / Define terms / Business framing
- Citation density: Every claim / Key claims / Just sources at end
- Output structure: Headers+code / Prose+bullets / TL;DR + 3 key points
- Diagrams: When useful / Often / Almost always
-
Custom instructions — a free-text field (1000 char limit) for
anything the dimensions don't capture. E.g. "use product analogies",
"cite service owners alongside file refs", "I'm new to the codebase
so define unfamiliar acronyms".
Preferences are stored per-user on the User model. The agent reads them
at request time and renders a <user_preferences> block in the system
prompt that biases responses accordingly.
Bias is soft, not a hard rule. If a user with "no code" set asks "show
me the function", the agent should still show the code. Safety, citation,
and diagram-generation requirements stay above user preferences.
Open questions for the team
- Anonymous users — sign-in-only in V1 sounds right, but flag if you'd
prefer a localStorage path for anon - Naming: "Chat Preferences" or "Custom Instructions" — the latter
matches ChatGPT/Cursor convention but is narrower
Future considerations
- Preset buttons that fill the radios (PM preset, Engineer preset, VP preset)
- Per-thread override (this chat needs VP-style, override my defaults)
- Per-message override (just this once, be verbose)
- Org-admin default preferences for everyone in the org
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3.9k
- Forks
- 374
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 43
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus sourcebot-dev/sourcebot
-
[bug] Search result hydration performs duplicate repository lookups within the same chunkEvtl. vergeben @dipeshbabu hat das vor 17 Tagen übernommen. Offenbug triage needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
sourcebot-dev/sourcebot#1681 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Linux ctags build instructions in CONTRIBUTING.md are missing build dependenciesEvtl. vergeben @The-AarushiSingh hat das vor 23 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
sourcebot-dev/sourcebot#1633 ·
Maintainer antworten meist innerhalb von 1 Tag
-
MCP ask_codebase rejects explicit languageModel: getLanguageModelKey includes displayName which the MCP schema doesn't exposeEvtl. wieder frei @Harsh23Kashyap hat das vor 101 Tagen übernommen, und es ist kein Pull Request offen. Offenask_sb bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
sourcebot-dev/sourcebot#1137 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[FR] Support file-based and Azure Key Vault token sources alongside env and googleCloudSecretEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
sourcebot-dev/sourcebot#1704 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bug] Local repositories with a space or non-ASCII character in the path cannot be indexedEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
sourcebot-dev/sourcebot#1689 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in sourcebot-dev/sourcebot
Ähnliche Issues
-
bug cli service
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
generated-by-ai
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
umbraco/Umbraco-CMS-MCP-Editor#208 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Table: Space fires onActivate in single-selection mode — the reference doc and the JSDoc disagreeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
sidorares/react-x11-components#764 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
backnotprop/plannotator#1840 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
JoviDeCroock/pracht#432 ·
Maintainer antworten meist innerhalb von 1 Tag