[FR] Per-user chat preferences (response depth, code visibility, custom instructions)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- ai, full-stack
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.9k
- Forks
- 374
- Merge medio
- 21 h 18 min
- PR fusionados (30 d)
- 39
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sourcebot-dev/sourcebot
-
bug triage needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
sourcebot-dev/sourcebot#1681 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sourcebot-dev/sourcebot#1384 · 4 comentarios ·
-
ask_sb bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
sourcebot-dev/sourcebot#1137 · 4 comentarios ·
-
bug triage needed
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
sourcebot-dev/sourcebot#1661 · 1 comentario ·
Todos los issues de sourcebot-dev/sourcebot
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
bug v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
modelcontextprotocol/inspector#2458 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
carbon-design-system/ibm-products#9907 ·