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

Enable fact and instruction memories from Chat admin settings without agents or actions

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

メンテナーはふだん 1 日以内に返信

@paullizer がすでに取り組んでいます。

2026年8月25日 から。

評価

この issue はまだ評価されていません。

説明

enhancement P2

Summary

Move the fact/instruction memory control out of Agents & Actions → Actions and surface it in Chat → Chat Experience, so admins can enable memory for the normal chat experience without turning on agents or actions.

This follows the same pattern already used for Tabular Processing: the capability is owned by the tab it actually belongs to, and the Actions pane keeps a read-only dependency note pointing at it.

User Value

Today enable_fact_memory_plugin is only reachable from the Actions tab and is labeled "Enable Fact Memory Action". An admin who never enables agents has no reason to open that tab, so they never discover the switch — even though memory recall already works in plain chat and users can manage entries in Profile.

Framing memory as a chat capability makes it discoverable for the large set of deployments that run plain chat, and removes the false implication that agents are a prerequisite.

Proposed Behavior

  • enable_fact_memory_plugin remains the single settings key (no new key, no migration).
  • Admin Settings → Chat → Chat Experience gains a Fact Memory card (fact-memory-section) containing the live toggle, with copy stating plainly that it works without agents or actions, that users manage entries in Profile, and that the assistant can save or remove memories when asked.
  • Admin Settings → Agents & Actions → Actions replaces its toggle with a read-only note pointing at Chat, matching the existing tabular-processing-dependency-note treatment.
  • The Chat toggle saves through the main admin settings form; POST /api/admin/plugins/settings moves the key from required to deprecated-optional so it is accepted but no longer written by that endpoint.
  • With the toggle on and agents off, normal chat also supports explicit memory creation and removal ("remember that I prefer bullet points", "stop calling me Paul") using the existing Semantic Kernel machinery via a small memory-only kernel pass, gated by a cheap intent pre-filter so ordinary turns take no extra model call.

Acceptance Criteria

  • The fact memory toggle renders in Chat → Chat Experience and saves through the admin settings form.
  • The Actions pane shows a read-only note instead of a toggle, and reflects current state.
  • Toggling any other core plugin no longer clobbers enable_fact_memory_plugin.
  • POST /api/admin/plugins/settings accepts requests that omit the key, and ignores it when present.
  • With agents disabled, an explicit user request to remember, change, or forget something persists through FactMemoryStore in the authorized chat scope.
  • Standard and streaming chat paths behave consistently, and memory activity surfaces as a chat thought.
  • Memory writes never break the chat response — failures degrade silently and are logged.
  • Functional regression coverage validates admin placement, save wiring, intent detection, and the memory pass.
  • Documentation, docs inventory, and release notes are updated at the configured app version.

Notes

Related to #1153, which covers the broader normal-chat memory creation experience including inferred memory proposal cards with approve/deny/edit. This issue delivers the admin-settings relocation plus the explicit save/update/forget path; the inferred-proposal card UI remains tracked in #1153.

Relevant areas:

  • application/single_app/templates/admin/_panes/chat-experience.html
  • application/single_app/templates/admin/_panes/actions.html
  • application/single_app/admin_settings_nav.py
  • application/single_app/static/js/admin/admin_settings.js
  • application/single_app/route_backend_plugins.py
  • application/single_app/route_frontend_admin_settings.py
  • application/single_app/route_backend_chats.py
  • application/single_app/semantic_kernel_plugins/fact_memory_plugin.py
  • docs/admin/chat.md, docs/admin/agents-actions.md, docs/_data/features.yml

Hazard found during planning: the Actions toggle currently saves through POST /api/admin/plugins/settings, where enable_fact_memory_plugin is a required field. Removing the input without updating admin_settings.js would make the payload send false, so changing any unrelated core plugin would silently disable fact memory.

主要言語
Python
スター
157
フォーク
117
平均マージ
4時間 15分
マージ済み PR(30日)
208

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

microsoft/simplechat のほかの issue

microsoft/simplechat の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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