modusensus / modusensus/dsh-mneme

[Feature] 面板标注「极简模式下注入按宿主设计关闭」

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
feature good first issue
Dominant language
JavaScript
Stars
100
Forks
11
Avg merge
1h 20m
Merged PRs (30d)
116

Description

## 背景

#175 定论:宿主 minimal 预设(极简模式)**按设计**压制全部 runtime context——记忆注入 / 用户画像 / hot memory 在极简模式会话中一律不送达模型,且行为对用户不可见。README 已补「已知边界」文档,但文档是被动的;面板应主动提示。

## 方案

- 注入回调 / 面板读会话头 `agentPreset`
- 检测到 `minimal` 且 `autoInject` 开启时,状态页 / 设置页明确标注:「注入按宿主 minimal 预设设计关闭」+ 解法链接(standard 模式 / `agent-presets.default: standard` / AGENTS.md 过渡)
- 注意 `--dump-config` 显示 bundle 默认值、不反映用户层 settings.yaml 覆盖——判断实际生效值只能读会话头,不要走 dump-config

## 验收

- minimal 会话:面板显示明确提示与解法,不再是静默黑盒
- standard 会话:无提示(零打扰)

难度:低,**适合新手**。与「注入可观测性」issue 有交集(第 2 点重叠),实现时可合并认领。

Contributor guide

Open the contributing guide

Research direction

Start by tracing the injection callback and the panel's session-header handling for agentPreset, then inspect the status and settings pages. Do not use --dump-config for the effective value; read the session header instead. Done when minimal sessions with autoInject enabled show the stated warning and solution link, while standard sessions remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.