Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] Per-user chat preferences (response depth, code visibility, custom instructions)

オープン
#1,242 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
ai, full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

Feature

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:

  1. 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
  2. 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
主要言語
TypeScript
スター
3.9k
フォーク
374
平均マージ
21時間 18分
マージ済み PR(30日)
39

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sourcebot-dev/sourcebot のほかの issue

sourcebot-dev/sourcebot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。