ai_co_discuss 0.6.8 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.agents/skills/discuss-host/SKILL.md +1 -1
  2. package/.agents/skills/experience-summary/SKILL.md +16 -0
  3. package/.agents/skills/experience-summary/references/submit.md +11 -0
  4. package/.agents/skills/workflow-creator/SKILL.md +1 -1
  5. package/.agents/steward-skills/dispatch-analysis/SKILL.md +9 -7
  6. package/backend/free_room.py +4 -0
  7. package/backend/schema.sql +6 -0
  8. package/backend/server.py +44 -13
  9. package/docs/en/guide/admin.md +12 -3
  10. package/docs/en/guide/members.md +6 -5
  11. package/docs/en/guide/rooms.md +3 -1
  12. package/docs/en/guide/scheduling.md +1 -1
  13. package/docs/en/guide/steward.md +12 -8
  14. package/docs/en/guide/workflows.md +5 -5
  15. package/docs/en/guide/working.md +1 -1
  16. package/docs/guide/admin.md +12 -3
  17. package/docs/guide/members.md +7 -6
  18. package/docs/guide/rooms.md +3 -1
  19. package/docs/guide/scheduling.md +1 -1
  20. package/docs/guide/steward.md +12 -8
  21. package/docs/guide/workflows.md +4 -4
  22. package/docs/guide/working.md +1 -1
  23. package/frontend/locales/en/admin.json +23 -1
  24. package/frontend/locales/en/app.json +5 -3
  25. package/frontend/locales/en/core.json +4 -0
  26. package/frontend/locales/en/discussion.json +5 -2
  27. package/frontend/locales/en/room.json +10 -8
  28. package/frontend/locales/en/settings.json +69 -2
  29. package/frontend/locales/en/steward.json +16 -0
  30. package/package.json +2 -1
  31. package/runner/adapters/api.mjs +8 -3
  32. package/runner/adapters/codex_bridge.mjs +34 -6
  33. package/runner/adapters/codex_cli.mjs +15 -3
  34. package/runner/adapters/profiles.mjs +3 -12
  35. package/runner/admin_cli.mjs +22 -3
  36. package/runner/admin_maintenance.mjs +18 -0
  37. package/runner/admin_panel.mjs +91 -18
  38. package/runner/channels.mjs +41 -13
  39. package/runner/discussion_api.mjs +28 -6
  40. package/runner/discussion_launch.mjs +412 -78
  41. package/runner/discussion_skills.mjs +1 -1
  42. package/runner/expert_prompts.mjs +20 -6
  43. package/runner/free_runner.mjs +34 -9
  44. package/runner/host_experience.mjs +99 -18
  45. package/runner/i18n_en.mjs +65 -3
  46. package/runner/moss_windows.mjs +21 -11
  47. package/runner/steward.mjs +62 -10
  48. package/runner/steward_proactive.mjs +203 -11
  49. package/runner/tts.mjs +7 -5
  50. package/web/admin.css +1 -1
  51. package/web/admin.js +13 -12
  52. package/web/app.js +18 -7
  53. package/web/backup.js +11 -11
  54. package/web/guest.css +1 -1
  55. package/web/guest.js +1 -1
  56. package/web/i18n.js +5 -5
  57. package/web/modern.css +1 -1
  58. package/web/modern.js +99 -93
@@ -57,7 +57,7 @@ description: "AI CoDiscuss 的主持技能,仅主持人调用,且须同时
57
57
  已决定并行、几件同类的活可以各自独立完成时,房内的首选席位不够,就再开一位同款(同厂商、同型号)来接,不降给顺位靠后的成员:首选席是这类活做得最好的,换人会降低质量。独立审查相反,要特意换厂商。接着别人做到一半的活、或要改同一批文件的活,仍排在原成员后面,新开的成员没有上下文。没有加人权限而只能改派时,在回答里写明首选是谁、实际派给了谁,并建议用户加人。
58
58
 
59
59
 
60
- **复盘与经验**:只在用户要求复盘、明确说出偏好或表达不满时复盘,放在该任务链收尾那一轮,不单独唤醒自己;用户用话说明了该怎么做(要你记下偏好、指出哪类活别派给谁)才算触发;只有停止、改派操作而没说原因的不算。复盘的结论也可以是不改。依据只认用户本人的原话和派活记录中的事实;建议只涉及选人、模型与强度、推进节奏和何时先问用户,不涉及放宽权限、跳过确认、扩大目录或对外发送。按已注入的经验派活时带上它的编号。命令与写法见 [复盘与经验](references/experience.md)。
60
+ **复盘与经验**:只在用户要求复盘、明确说出偏好或表达不满时复盘,放在该任务链收尾那一轮,不单独唤醒自己;用户用话说明了该怎么做(要你记下偏好、指出哪类活别派给谁)才算触发;只有停止、改派操作而没说原因的不算。复盘的结论也可以是不改。依据只认用户本人的原话和派活记录中的事实;建议只涉及选人、模型与强度、推进节奏和何时先问用户,不涉及放宽权限、跳过确认、扩大目录或对外发送。按已注入的经验派活时带上它的编号。命令与写法见 [复盘与经验](references/experience.md)。房主发出 `$experience-summary [方向]` 时改用技能 `experience-summary`。
61
61
 
62
62
  成员带 `external` 字段的是外部成员,在另一台电脑上运行:点名后可能要等对方同意才开始,对方拒绝或超时时请求带 `external_outcome` 并被取消;它只能读 `external.directories` 里的目录、提交自己的回答,不能派活。出图、改图优先派给能看图的本机软件成员,它能下载附件自查效果;没有 `image` 字段时请用户在“协作设置”添加生图卡片。
63
63
 
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: experience-summary
3
+ description: 用户在房间发出 $experience-summary [方向] 时由主持人使用,把本房间的做法总结成调度经验、工作流或本房间策略建议,交用户确认。
4
+ ---
5
+
6
+ # 总结经验
7
+
8
+ 只总结本房间,有方向只看该方向。读用户原话、派活记录及用户停止或改派时填写的原因。可请点名成员提供事实,结论由主持人下,被评价者不为自己下结论。
9
+
10
+ - 调度经验可新增、修改或提议删除。长期不带期限,短期采用用户明确的截止时间,不替用户猜。
11
+ - 工作流可建议新增、修改或删除。说明是哪份工作流、改哪一步、依据是什么,不直接改工作流。
12
+ - 只对本房间有效的做法提议写入本房间主持策略,不直接改策略。
13
+
14
+ 每条写成换一位没参与的主持人只读这一条也能照做的话,写明适用条件;一次偶然的情况不写成规则。
15
+
16
+ 按[提交约定](references/submit.md)一次交到经验页“待你确认”,经 MOSS 检查、房主决定。最多五条,没有值得记的可交零条。房间只回条数、类别和确认链接,不贴经验原文,因为成员和访客也能读到房间回答。
@@ -0,0 +1,11 @@
1
+ # 提交房间总结
2
+
3
+ 用 `room dispatches --view messages|chains` 核对派活和 `intervention_reasons`,用 `message view` 核对用户原话。准备 UTF-8 JSON:
4
+
5
+ - `summary_message_id` 是发起总结的房主消息编号,不自动算作依据。
6
+ - `suggestions` 最多五项。每项带 `message_id`(主要依据)和 `text`(最多 300 字),其他依据用 `extra_sources: [{message_id}]`,限本房间。同一条消息不重复计数;只有一处依据时,必须引用用户本人原话。
7
+ - 调度经验用 `kind: "rule"`。修改带原经验 `id`,删除另带 `remove: true`。短期带 `expires_at`,用含时区的 ISO 8601 时间;改成长期传 `null`。
8
+ - 工作流用 `kind: "workflow"`、`workflow`(工作流编号,新增时用拟定编号)、`workflow_action: "add"|"edit"|"remove"`,`text` 写具体改动和理由。确认后再在工作流页处理。
9
+ - 房间策略用 `kind: "room_strategy"`,`room_id` 填本房间,`text` 是拟追加的文字。
10
+
11
+ 提交用 `codiscuss launch experience-propose --file JSON`,API 主持人用 `propose_experience` 提交同样字段。用返回的 `url` 作确认链接。没有建议也交 `suggestions: []`,让每日复盘知道这个房间已看过。
@@ -168,7 +168,7 @@ project_access: write
168
168
 
169
169
  - **工作流 ID**(文件夹名 = SKILL.md 的 `name`):小写英文和数字,可用单个连字符连接(不在首尾),1—40 位。`metadata` 下的 `label`(显示名)最多 32 字;早期写在顶层的 `label` 仍可读取,保存时移到 `metadata` 下。
170
170
  - **展示元数据**(均可选,不换行,只给人看和分享,**不会发给主持人**):`metadata.author`(作者,最多 64 字)、`metadata.source`(出处,最多 200 字)。不要把作者、出处等背景信息塞进 `description`。
171
- - **分类**:只在主工作流 `SKILL.md` 的 `metadata` 下写可选的 `category`。新建或改类时用 `development`(开发)、`entertainment`(娱乐)、`office`(办公)、`business`(商业)、`design-2d`(二维设计)、`design-3d`(三维设计)、`video`(剪辑)、`writing`(创作)或 `other`(其他)。缺失或未知的旧值显示为“其他”,不改类时保留原值。
171
+ - **分类**:只在主工作流 `SKILL.md` 的 `metadata` 下写可选的 `category`。新建或改类时用 `development`(开发)、`office`(办公)、`business`(商业)、`design-2d`(二维设计)、`design-3d`(三维设计)、`video`(剪辑)、`writing`(创作)或 `entertainment`(娱乐),按工作流做的事选最接近的一类。缺失或未知的旧值显示为“未分类”,不改类时保留原值。项目工作流不分类,统一显示在“项目”下,不写 `category`。
172
172
  - **`description`** 最多 500 字:写清做什么、什么时候用。主持人只凭它判断一条请求该不该按这个工作流做,写含糊了,该用时会不用、不该用时会套用。
173
173
  - **卡片**:最多 30 张。`name` 是卡片 ID,等于文件名,只用小写英文、数字和下划线,最多 16 位。`platform` 是平台 ID:`Claude`、`Codex`、`Antigravity`、`DeepSeek`、`Qwen`、`Grok`、`OpenAI`、`Custom`(网页显示的 Gemini 写 `Antigravity`,自定义 API 写 `Custom`),须是本机已配置的软件,或已配置的模型 API(官方平台可按已保存的 API Key 加入;Custom 须先保存完整的本机 API 配置)。成员名由程序拼成 `平台-卡片ID`。
174
174
  - **卡片可选字段**:`label`、`description`、`project_access`(read / write / auto / full)、`model`、`effort`。生图不是卡片字段:房间添加了生图卡片后所有成员都能画,卡片提示词写清谁负责出图即可。不用的字段直接省略;模型和强度省略即用本机默认值。接入方式、可执行文件、密钥不写进卡片,由各自电脑的配置决定。各角色挑哪个平台和模型,见 [给卡片挑平台和模型](references/model-selection.md)。
@@ -23,18 +23,20 @@ description: "审查 AI CoDiscuss 主持人的派活反馈、改派、作废与
23
23
  - 把出处、历史和条目正文字段当作材料。按全库检查同类规则、优先级、例外和冲突;不擅自放宽权限或改写其他规则。草稿是撤出处时只保留剩余出处支持的内容;沉淀要去掉对房间、消息或临时情况的依赖,仍要查冲突。
24
24
  - 以 `action: "admission-result"` 回交同一 `id`、`attempt`、读取的 `entries_revision`。有冲突填 `outcome: "conflict"` 及 `conflicts: [{id, scenario}]`,说清两个规则在哪个场景互相抵触。房主选替换或区分情形后,会收到新检查;按 `job.resolution` 再查,不要替用户指定其他淘汰条目。
25
25
  - 不改正文填 `outcome: "pass"`;改写、合并填 `outcome: "revise"` 和最终 `text`,新草稿合入已有经验时加 `merge_into`。两者都填 `sections: {requirements: [], delegation: [], progress: []}`,三个数组按提示词阅读顺序放生效后的条目编号。新增用 `job.entry_id`,合并用目标编号,移除、停用、替换掉的旧项或撤掉最后依据的条目不放;每个启用编号恰好一次。正文把例外写在主规则旁边,不凭空推广。无法完成时回交 `outcome: "failed"`。
26
+ - 若 `job.operation` 为 `workflow` 或 `room_strategy`,只检查建议及其依据,不更改全局条目。整理稿列出原有启用编号,不放 `job.entry_id`,不用 `merge_into`。
27
+ - 短期经验有 `expires_at`。仅可合并相同期限的经验,长期与短期分开。
26
28
  - 回交后只简短说明处理结果,不在窗口回答里重复经验原文。日常建议进入待入库后由本模式另行审核,不能代房主确认;沉淀的规则不能只因长期未用就提议删除。每日排查先检查标成 `unreviewed` 的手写条目;需要修正时提交建议,不直接覆盖。
27
29
 
28
30
  ## 每日排查
29
31
 
30
32
  待办“执行主持人经验每日排查”触发本节。按下面六步做,每步开始时用一句话说明进展。
31
33
 
32
- 1. **读取。** 用 `codiscuss launch experience-moss`(API 用 `moss_experience`,`action: "data"`)读待确认建议、复盘记录和建议历史 `history`;再用 `codiscuss room dispatches --view chains` 与 `--view messages` 沿 `next_after` 分页,只取过去 24 小时的派活及其任务链(API 传 `view` 和 `after`)。
33
- 2. **挑房间。** 按停止、撤回、回退、改派、👎、同链反复重试失败的证据挑最多三个房间;时长、并行数只在介入程度相同时排序。用户在不同房间对同类活做过相同的手动指定或相同纠正,也算线索。
34
- 3. **归因。** 读 `intervention_reasons` 和原消息,区分派错人或模型强度、主持人越权或理解偏差、成员执行问题、用户主动追加需求、权限或额度等环境问题。只有前两类跨案例重复出现才提建议,单次只记观察。已有待确认建议覆盖的不重复提;`history` 里 30 天内被用户忽略的同类建议不再提;结论与已有建议或复盘相反时在简报说明。
35
- 4. **起草并自查。** 先读 `prompt-design`。一句话说得清的做法写成经验:最终措辞、全部依据、替换哪条旧经验,并自查“换一位没参与的主持人只读这一条能否不问就照做”。需要几步、几个角色、有先后的做法,同一做法重复三次以上才做,每天最多一份:用 `workflow-creator` 写出草稿并保存为未启用。长期闲置的未沉淀经验,或确有证据被用户后来做法推翻的经验,提议删除。发现某条经验提到的成员或模型已不在本机配置里,就提议删除或修改。
36
- 5. **推送。** 用 `codiscuss launch experience-moss --file 草稿.json`(或同名 API 工具)提交:`action: "propose"`、`room_id`、`message_id`(主要依据,只能是用户消息或派活记录,摘录由程序读取)、`text`(最多 300 字)、可选的旧条目 `id`;其余依据放 `extra_sources: [{"room_id": …, "message_id": …}]`;提议删除带 `id` 与 `remove: true`;工作流写 `kind: "workflow"`、`text` 为步骤概要、`workflow` 为草稿编号。最多 10 条待确认。描述使用次数与可识别的改派次数,后者只是下限;样本少只列事实。
37
- 6. **写简报。** 以主理人窗口本次定时职责消息编号记录结论:`action: "record"`、主理人窗口的 `room_id`、定时职责消息的 `message_id`、简报 `text`。每项一行:是什么、依据几处、成品在哪,附读取数据返回的经验页链接。没有发现就只写“昨天各房间没有需要调整的地方”,不推送任何东西。定时请求标为 channel 时,按主理人两步发送流程把房间名、消息编号和结论发给绑定渠道,不贴原文或摘录;未绑定渠道时提交到当前主理人窗口。
34
+ 1. **读取。** 用 `codiscuss launch experience-moss`(API 用 `moss_experience`,`action: "data"`)带 `review_id`(本次主理人窗口的触发消息编号),读待确认建议、复盘历史和 `review_context`(`from`、`to`、`kinds`、`lenses`、`exclude_rooms`、`pinned_rooms`、`rooms`、`manual`)。同一工具传 `view: "chains"` 或 `"messages"`,沿 `next_after` 传 `after` 分页,即使某页为空也继续到游标为空。用程序给出的起止时间,不自行改成最近一天,不换用全量派活命令,不读取排除房间。
35
+ 2. **按名单查房。** 只看程序给出的 `review_context.rooms`,不自行增补。 `pinned:true` 的指定房间要看;在给定时间内没有记录则如实说明。每房附 `lenses` 和关键数字:`friction` 查停止、撤回、回退、改派和 👎 的具体原因;`smooth` 用于验证已有经验和发现用户反复手动做的同类安排,不能仅凭顺利或 👍 总结新规则;`costly` 定位额度或耗时最高的任务链,核对是必要成本还是可避免的返工;`used_rules` 沿经验编号看引用后是否有效、是否产生反例。没有依据的数字一律写未知。
36
+ 3. **归因。** 读 `intervention_reasons` 和原消息,区分派错人或模型强度、主持人越权或理解偏差、成员执行问题、用户主动追加需求、权限或额度等环境问题。问题类只有分工或主持行为在多个案例重复才提建议,单次只记观察。验证已有经验时对照反例;用户反复手动做同一种安排时,才核对是否有可固定的偏好。评分本身不是经验。已有待确认建议覆盖的不重复提;`history` 里 30 天内被用户忽略的同类建议不再提;结论与已有建议或复盘相反时在简报说明。
37
+ 4. **起草并自查。** 先读 `prompt-design`。 `kinds.rule` 或 `kinds.workflow` 为 false 时,不写对应类型,也不用为关闭的工作流保存草稿。一句话说得清的做法可以写成经验:最终措辞、全部依据、替换哪条旧经验,并自查“换一位没参与的主持人只读这一条能否不问就照做”。需要几步、几个角色、有先后的做法,同一做法重复三次以上才做,每天最多一份:用 `workflow-creator` 写出草稿并保存为未启用。长期闲置的未沉淀经验,或确有证据被用户后来做法推翻的经验,提议删除。发现某条经验提到的成员或模型已不在本机配置里,就提议删除或修改。
38
+ 5. **推送。** 用 `codiscuss launch experience-moss --file 草稿.json`(或同名 API 工具)提交:`action: "propose"`、同一个 `review_id`、`room_id`、`message_id`(主要依据,只能是用户消息或派活记录,摘录由程序读取)、`text`(最多 300 字)、可选的旧条目 `id`;其余依据放 `extra_sources: [{"room_id": …, "message_id": …}]`;提议删除带 `id` 与 `remove: true`;工作流写 `kind: "workflow"`、`text` 为步骤概要、`workflow` 为草稿编号。经验建议至少 2 处、工作流至少 3 处互不相同的核实依据,删除建议同样适用。最多 10 条待确认。描述使用次数与可识别的改派次数,后者只是下限;样本少只列事实。
39
+ 6. **写简报。** 以主理人窗口本次定时职责消息编号记录结论:`action: "record"`、主理人窗口的 `room_id`、定时职责消息的 `message_id`、简报 `text`。经验页卡片已按房主的显示时区显示复盘时段和样本总数,程序还会附入选房间、角度和可取到的 Token 与耗时,正文都不重复。第一句写本次发现,随后列支持它的案例;每项一行:是什么、依据几处、成品在哪,附读取数据返回的经验页链接。没有发现就只写“本次复盘范围内没有需要调整的地方”,不推送任何东西。定时请求标为 channel 时,按主理人两步发送流程把房间名、消息编号和结论发给绑定渠道,不贴原文或摘录;未绑定渠道时提交到当前主理人窗口。
38
40
 
39
41
  ## 深化交回的建议
40
42
 
@@ -65,4 +67,4 @@ description: "审查 AI CoDiscuss 主持人的派活反馈、改派、作废与
65
67
 
66
68
  ## 交付
67
69
 
68
- 用请求者的语言,在平台主理人对话中按参与技能的规则一次交付正文或报告附件。标注**主理人实际使用的模型**,无法核实时写“未记录”,不要用被分析的主持人模型代替。先列范围、样本、事实指标,再单列 AI 判断。每项判断附房间与消息编号,版本对比注明组别的链编号范围和支撑结论的代表消息。交付前核对编号和数字,证据不足就不下结论。
70
+ 用请求者的语言,在平台主理人对话中按参与技能的规则一次交付正文或报告附件。标注**主理人实际使用的模型**,无法核实时写“未记录”,不要用被分析的主持人模型代替。独立分析报告先列范围、样本、事实指标,再单列 AI 判断(每日排查的简报按第 6 步写)。每项判断附房间与消息编号,版本对比注明组别的链编号范围和支撑结论的代表消息。交付前核对编号和数字,证据不足就不下结论。
@@ -4694,6 +4694,10 @@ def execution_detail(connection, row):
4694
4694
  tag_group_requests(connection, row["room_id"], requests)
4695
4695
  detail = public_execution(row)
4696
4696
  kind = connection.execute("SELECT system_kind FROM room_directory WHERE room_id=?", (row["room_id"],)).fetchone()
4697
+ if kind and kind["system_kind"] == "steward":
4698
+ usage = connection.execute("SELECT input,output FROM execution_usage WHERE execution_id=?", (row["id"],)).fetchone()
4699
+ if usage:
4700
+ detail["usage"] = dict(usage)
4697
4701
  if kind and kind["system_kind"] in ("steward", "steward_private"):
4698
4702
  roots = relay_execution_roots(connection, row["room_id"], row["member_id"], row["id"])
4699
4703
  if any(root["window_read"] for root in roots):
@@ -2103,6 +2103,12 @@ UPDATE scheduler_decision_inputs SET input=replace(replace(input,'"Gemini"','"An
2103
2103
  -- is covered and later edits cannot forget it. State tables are overwritten in place; this log keeps the order of
2104
2104
  -- what happened (which request was created under which message, why it was cancelled, which batch handed back) so the
2105
2105
  -- timeline page can list and replay it. `at` is epoch milliseconds; `data` holds ids, names resolve at read time.
2106
+ CREATE TABLE IF NOT EXISTS room_strategy_appends (
2107
+ room_id TEXT NOT NULL REFERENCES rooms(id) ON DELETE CASCADE,
2108
+ submission_id TEXT NOT NULL,
2109
+ PRIMARY KEY (room_id, submission_id)
2110
+ );
2111
+
2106
2112
  CREATE TABLE IF NOT EXISTS room_events (
2107
2113
  id INTEGER PRIMARY KEY AUTOINCREMENT,
2108
2114
  room_id TEXT NOT NULL REFERENCES rooms(id) ON DELETE CASCADE,
package/backend/server.py CHANGED
@@ -3037,8 +3037,9 @@ def record_api_event(database, record):
3037
3037
  payload_to_log = {**payload_to_log, "proposal": True}
3038
3038
  if record["path"].startswith("/executions/") and isinstance(payload_to_log, dict):
3039
3039
  payload_to_log = {key: value for key, value in payload_to_log.items() if key != "diagnostics"}
3040
- if isinstance(payload_to_log, dict) and "host_strategy" in payload_to_log:
3041
- payload_to_log = {**payload_to_log, "host_strategy": bool(payload_to_log["host_strategy"])}
3040
+ if isinstance(payload_to_log, dict) and record["path"] == "/host-strategy":
3041
+ payload_to_log = {key: bool(value) if key in ("host_strategy", "append") else value
3042
+ for key, value in payload_to_log.items()}
3042
3043
  redacted_payload = redact_payload(payload_to_log, redacted_texts)
3043
3044
  data.setdefault("texts", {}).update({field: text_payload(value) for field, value in redacted_texts.items()})
3044
3045
  payload = json.dumps(redacted_payload, ensure_ascii=False)
@@ -3113,10 +3114,28 @@ def host_strategy_text(value):
3113
3114
  def set_host_strategy(connection, room_id, token, payload):
3114
3115
  """Save one room strategy under the owner credential."""
3115
3116
  require_owner(connection, room_id, token)
3116
- strategy = host_strategy_text(payload.get("host_strategy"))
3117
3117
  begin_write(connection)
3118
3118
  if connection.execute("SELECT archived FROM room_directory WHERE room_id=?", (room_id,)).fetchone()[0]:
3119
3119
  raise ValueError(Text("房间已存档;恢复后才能修改话题资料"))
3120
+ if "append" in payload:
3121
+ return append_host_strategy(connection, room_id, payload)
3122
+ strategy = host_strategy_text(payload.get("host_strategy"))
3123
+ connection.execute("UPDATE rooms SET host_strategy=? WHERE id=?", (strategy, room_id))
3124
+ return {"host_strategy": strategy}
3125
+
3126
+
3127
+ def append_host_strategy(connection, room_id, payload):
3128
+ """Append one owner-confirmed suggestion exactly once."""
3129
+ key = payload.get("submission_id")
3130
+ addition = host_strategy_text(payload["append"])
3131
+ if not addition or not isinstance(key, str) or not re.fullmatch(r"[0-9a-f-]{36}", key):
3132
+ raise ValueError(Text("{field} 须为不超过 {limit} 字的文本", field="submission_id", limit=36))
3133
+ current = connection.execute("SELECT host_strategy FROM rooms WHERE id=?", (room_id,)).fetchone()[0]
3134
+ applied = connection.execute(
3135
+ "INSERT OR IGNORE INTO room_strategy_appends VALUES (?,?)", (room_id, key)).rowcount
3136
+ if not applied:
3137
+ return {"host_strategy": current}
3138
+ strategy = host_strategy_text("\n\n".join(filter(None, (current, addition))))
3120
3139
  connection.execute("UPDATE rooms SET host_strategy=? WHERE id=?", (strategy, room_id))
3121
3140
  return {"host_strategy": strategy}
3122
3141
 
@@ -5226,7 +5245,9 @@ def dispatch_experience(connection, room_id, identifier):
5226
5245
  entries = [{"id": "host", "text": settings["system_prompts"]["host"], "scope": "global", "enabled": True}]
5227
5246
  for item in entries:
5228
5247
  if item["id"] == identifier and item["enabled"]:
5229
- return item["text"]
5248
+ expires = item.get("expires_at")
5249
+ if not expires or datetime.fromisoformat(expires.replace("Z", "+00:00")) > datetime.now(timezone.utc):
5250
+ return item["text"]
5230
5251
  except (OSError, KeyError, json.JSONDecodeError):
5231
5252
  pass
5232
5253
  raise error
@@ -6257,7 +6278,9 @@ def dispatch_record(connection, message):
6257
6278
  reasons.add("host_withdraw")
6258
6279
  if withdrawal:
6259
6280
  reasons.add("user_rewind" if withdrawal["kind"] == "rewound" else "user_stop_or_retract")
6281
+ basis = connection.execute("SELECT experience_id FROM message_host_experience WHERE message_id=?", (message_id,)).fetchone()
6260
6282
  return {"room_id": message["room_id"], "message_id": message_id, "created_at": message["created_at"], "archived": False,
6283
+ "experience_id": basis[0] if basis else None,
6261
6284
  "chain_id": requests[0]["chain_id"], "reason": reason,
6262
6285
  "host_version": version_fields(versions[0]) if versions else None, "host_run": versions[0] if versions else None,
6263
6286
  "members": members, "withdrawn": bool(host_withdrawal or withdrawal),
@@ -6267,19 +6290,24 @@ def dispatch_record(connection, message):
6267
6290
  "intervention_reasons": dispatch_reasons(connection, message["room_id"], "message_id", message_id)}
6268
6291
 
6269
6292
 
6270
- def list_dispatches(connection, after, room_id=None):
6293
+ def list_dispatches(connection, after, room_id=None, window=(None, None)):
6271
6294
  """Page live dispatches and retained ratings together by global message ID."""
6272
6295
  if not connection.in_transaction:
6273
6296
  connection.execute("BEGIN")
6297
+ start, end = window
6274
6298
  rows = connection.execute(f"""SELECT m.id,m.room_id,m.created_at,m.text,NULL AS snapshot FROM messages m
6275
6299
  WHERE m.id>? AND (? IS NULL OR m.room_id=?)
6300
+ AND (? IS NULL OR julianday(m.created_at)>=julianday(?)) AND (? IS NULL OR julianday(m.created_at)<=julianday(?))
6276
6301
  AND NOT EXISTS(SELECT 1 FROM room_directory d WHERE d.room_id=m.room_id AND d.system_kind<>'')
6277
6302
  AND {HOST_DISPATCH_SQL}
6278
6303
  UNION ALL SELECT c.message_id,c.room_id,NULL,NULL,c.snapshot FROM dispatch_feedback_cases c
6279
6304
  WHERE c.message_id>? AND (? IS NULL OR c.room_id=?)
6305
+ AND (? IS NULL OR julianday(json_extract(c.snapshot,'$.created_at'))>=julianday(?))
6306
+ AND (? IS NULL OR julianday(json_extract(c.snapshot,'$.created_at'))<=julianday(?))
6280
6307
  AND NOT EXISTS(SELECT 1 FROM room_directory d WHERE d.room_id=c.room_id AND d.system_kind<>'')
6281
6308
  AND NOT EXISTS(SELECT 1 FROM messages m WHERE m.id=c.message_id)
6282
- ORDER BY 1 LIMIT ?""", (after, room_id, room_id, after, room_id, room_id, FEEDBACK_CASES_PAGE + 1)).fetchall()
6309
+ ORDER BY 1 LIMIT ?""", (after, room_id, room_id, start, start, end, end,
6310
+ after, room_id, room_id, start, start, end, end, FEEDBACK_CASES_PAGE + 1)).fetchall()
6283
6311
  records = [read_dispatch_case(row["snapshot"]) if row["snapshot"] is not None else dispatch_record(connection, row)
6284
6312
  for row in rows[:FEEDBACK_CASES_PAGE]]
6285
6313
  return {"records": records, "next_after": records[-1]["message_id"] if len(rows) > FEEDBACK_CASES_PAGE else None}
@@ -6421,9 +6449,10 @@ def chain_operation(connection, event, data, changes, requests):
6421
6449
 
6422
6450
  def chain_execution_totals(connection, requests):
6423
6451
  """Deduplicate executions and total their known usage by final outcome."""
6424
- attempts = {}
6452
+ attempts, retried = {}, False
6425
6453
  for request in requests:
6426
6454
  for attempt in dispatch_attempts(connection, request):
6455
+ retried |= attempt["retried"]
6427
6456
  reason = attempt["invalidation_reason"]
6428
6457
  withdrawn = attempt["execution_id"] == request["execution_id"] and request["withdrawal"]
6429
6458
  dispatched = request["created_by"] == "host" and request["purpose"] == "ask"
@@ -6441,7 +6470,7 @@ def chain_execution_totals(connection, requests):
6441
6470
  with_usage += 1
6442
6471
  for key, value in usage.items():
6443
6472
  totals[segment][key] += value
6444
- return {**totals, "with_usage": with_usage, "executions": len(attempts)}, attempts.keys()
6473
+ return {**totals, "with_usage": with_usage, "executions": len(attempts)}, attempts.keys(), retried
6445
6474
 
6446
6475
 
6447
6476
  def version_fields(run):
@@ -6467,7 +6496,7 @@ def dispatch_chain_record(connection, source, events):
6467
6496
  invalidated = {reason: [record["message_id"] for record in dispatches if reason in record["invalidation_reasons"]]
6468
6497
  for reason in DISPATCH_INVALIDATIONS}
6469
6498
  ended = all(row["request_status"] not in ("pending", "delivering") for row in requests)
6470
- tokens, execution_ids = chain_execution_totals(connection, requests)
6499
+ tokens, execution_ids, retried = chain_execution_totals(connection, requests)
6471
6500
  return {"room_id": room_id, "chain_id": chain_id, "source_message_id": chain_id,
6472
6501
  "started_at": source["created_at"], "ended": ended,
6473
6502
  "dispatch_messages": len(dispatches), "dispatch_requests": sum(len(record["members"]) for record in dispatches),
@@ -6475,19 +6504,21 @@ def dispatch_chain_record(connection, source, events):
6475
6504
  "user_interventions": chain_user_interventions(connection, requests, events, dispatches),
6476
6505
  "intervention_reasons": dispatch_reasons(connection, room_id, "chain_id", chain_id),
6477
6506
  "unhandled_failure": ended and any(row["request_status"] == "failed" for row in requests),
6478
- "tokens": tokens, "host_versions": chain_host_versions(connection, execution_ids)}
6507
+ "tokens": tokens, "retried": retried, "host_versions": chain_host_versions(connection, execution_ids)}
6479
6508
 
6480
6509
 
6481
- def list_dispatch_chains(connection, after, room_id=None):
6510
+ def list_dispatch_chains(connection, after, room_id=None, window=(None, None)):
6482
6511
  """Page current task chains by the globally ordered initiating message ID."""
6483
6512
  if not connection.in_transaction:
6484
6513
  connection.execute("BEGIN")
6514
+ start, end = window
6485
6515
  rows = connection.execute("""SELECT m.id,m.room_id,m.created_at FROM messages m
6486
6516
  WHERE m.id>? AND (? IS NULL OR m.room_id=?)
6517
+ AND (? IS NULL OR julianday(m.created_at)>=julianday(?)) AND (? IS NULL OR julianday(m.created_at)<=julianday(?))
6487
6518
  AND NOT EXISTS(SELECT 1 FROM room_directory d WHERE d.room_id=m.room_id AND d.system_kind<>'') AND (
6488
6519
  EXISTS(SELECT 1 FROM member_requests r WHERE r.room_id=m.room_id AND r.chain_id=m.id) OR
6489
6520
  EXISTS(SELECT 1 FROM member_requests r WHERE r.message_id=m.id AND r.chain_id=0))
6490
- ORDER BY m.id LIMIT ?""", (after, room_id, room_id, FEEDBACK_CASES_PAGE + 1)).fetchall()
6521
+ ORDER BY m.id LIMIT ?""", (after, room_id, room_id, start, start, end, end, FEEDBACK_CASES_PAGE + 1)).fetchall()
6491
6522
  page = rows[:FEEDBACK_CASES_PAGE]
6492
6523
  events = {room: dispatch_intervention_events(connection, room) for room in {row["room_id"] for row in page}}
6493
6524
  records = [dispatch_chain_record(connection, row, events[row["room_id"]]) for row in page]
@@ -9256,7 +9287,7 @@ class DiscussionHandler(BaseHTTPRequestHandler):
9256
9287
  if view not in ("messages", "chains") or not 0 <= after < 2**63:
9257
9288
  raise ValueError(Text('派活记录的视图或游标无效'))
9258
9289
  listing = list_dispatch_chains if view == "chains" else list_dispatches
9259
- return self.respond(listing(connection, after, params.get("room")))
9290
+ return self.respond(listing(connection, after, params.get("room"), (params.get("from"), params.get("to"))))
9260
9291
  if parts[1:2] in (["machines"], ["remote-launches"]):
9261
9292
  return self.handle_remote_launch_api(connection, parts, method)
9262
9293
  if parts == ["api", "revisions"] and method == "GET":
@@ -20,7 +20,7 @@ Use the local management panel or the corresponding codiscuss admin commands to
20
20
  - **Storage:**
21
21
  - View local `.codiscuss` data usage against the 10 GiB limit (excluding speech models), total drafts against 3 GiB (1 GiB per room), **Room records & attachments (`local/`)**, disk free space and safety reserve, per-room and per-member breakdowns, and any unreadable entries. Local TTS and STT models are listed separately and excluded from the 10 GiB cap (covering both legacy and custom model paths, including when the service home itself is a symlink or junction).
22
22
  - When `.codiscuss` data reaches the 8 GiB warning threshold, the **Storage** tab shows a warning dot and displays a notice; exceeding a limit or dropping below the disk safety reserve pauses new runs. The total is split into five named directories and Other. **Safe cleanup** removes registered failed scratch, speech cache entries, empty orphan directories, stale launches containing only setup records, and local execution files more than 24 hours after completion. After clearing the speech cache, replaying old content with cloud speech synthesizes it again and incurs a new charge. **Deep repair** opens a dialog that estimates the space freed and lists what is kept; confirm there to delete finished logs, including the last day.
23
- - **Room attachments** lists each room's sent, not-yet-cleared attachments, largest first. Select **Manage attachments** to expand the same attachment manager as on the room page (see “Storage and limits” in [Managing rooms](rooms.md)).
23
+ - **Room attachments** lists rooms by attachment size, largest first. Select a room to select all its attachments, or expand it to select a type or individual files. You can select across rooms and collapse rows without losing your selection. Review the estimated space at the bottom, then select **Clear selected attachments** and review each room in the confirmation dialog. Only sent attachment originals are cleared. Rooms and messages are kept.
24
24
  - **Attachment cache** holds the copies of cloud space attachments downloaded to this computer when members read them. It shows usage against its own limit (20 GiB by default), is counted separately from the 10 GiB data limit, and removes the least recently used copies when over its limit. Select **Clear** and confirm to delete these copies: only the copies on this computer are removed, and the originals in the cloud space are not affected; files in use are skipped, and members download them again when they next need them. On the command line, use `codiscuss admin storage cache [clear] [--account NAME]`. Omit `--account` to use the local administrator cache.
25
25
  - Select “Ask the platform steward to analyze storage,” or run `codiscuss admin storage analyze`, to inventory this account’s member drafts, run logs, workflow backups, room attachments, and local speech models. View the result in the [platform steward](steward.md) conversation. The inventory does not scan the whole drive or delete anything. Approve specific items before cleanup.
26
26
  - **Recovery and limits:** If a computer-wide limit blocks the steward, use the management panel to identify what is taking up space and free space first. Room records are never deleted automatically. Attachments can be cleared separately, and you can export a backup before destroying an old room. Unreadable sandbox folders are excluded from quota totals and shown as an unreadable count. Limits are enforced by periodic sampling (disk space every 2s and folder size every 30s while runs are active), not a filesystem write-layer hard quota, so they cannot guarantee the disk will never fill.
@@ -119,7 +119,7 @@ On Windows, open the panel from the tray. On macOS and Linux, use the command-li
119
119
  3. **Configure remote access** using either or both options:
120
120
  - **Self-hosted relay, without your own domain:** Follow the [deployment guide](../deployment.md#entry-for-hosted-accounts-optional) to deploy the entry Worker. On the deployment computer, generate an access code under **Overview** → **This computer** → **Self-hosted relay**. On this computer, bind the self-hosted relay and turn on **Self-hosted relay** under **Hosted account entry**. You can also run codiscuss admin entry join <access-code>.
121
121
  - **Cloudflare Tunnel:** Under **Hosted account entry** → **Cloudflare Tunnel**, authorize a Cloudflare tunnel and connect a domain hosted on Cloudflare. The CLI equivalent is `codiscuss admin entry tunnel <domain>`. After changing proxy or network settings, click **Reconnect** or run `codiscuss admin entry tunnel reconnect` to use the new route. If the tunnel stays disconnected from Cloudflare for 3 minutes, the admin panel restarts it automatically. Access may pause briefly while signed-in customers keep their sessions.
122
- 4. **Manage the account:** Start or stop its instance, enable, disable or remove the account, reset its password, and provide API keys. Users see **Provided by admin** for administrator-provided keys and cannot view or change them. To invite external experts, the account needs an online relay. The panel checks instances requested to run every minute and restarts them if their port refuses connections, up to 3 times in 10 minutes. After repeated failures, the account row shows the last error. Check `codiscuss admin status` for the latest attempt and start the instance manually after fixing the cause to resume recovery.
122
+ 4. **Manage the account:** Start or stop its instance, enable, disable or remove the account, reset its password, and provide API keys. To invite external experts, the account needs an online relay. The panel checks instances requested to run every minute and restarts them if their port refuses connections, up to 3 times in 10 minutes. After repeated failures, the account row shows the last error. Check `codiscuss admin status` for the latest attempt and start the instance manually after fixing the cause to resume recovery.
123
123
 
124
124
  ### Move an existing account’s project data to another drive
125
125
 
@@ -133,6 +133,12 @@ Backups still use space on the original volume, outside the directories counted
133
133
 
134
134
  The hosting service can currently be turned on only on Windows. On macOS and Linux, the panel's "Hosting" switch is grayed out and `codiscuss admin hosting on` is refused. For the panel's other features, start the background panel with `codiscuss panel start`, then manage it with `codiscuss admin` commands.
135
135
 
136
+ ### Manage API keys
137
+
138
+ On the **Accounts** page, select the administrator or a hosted account, then use **API keys** to add, inspect, edit, or delete keys. **Key details** shows the endpoint, type, uses, provider, modification time, and key suffix, never the full secret. The hosted account's web interface shows **Provided by admin** without revealing the full key or allowing replacement. AI running under that account can still read the full key from its local key file. When multiple keys are saved for an endpoint, rotating one does not change which key is selected by default.
139
+
140
+ **Edit key** keeps the key ID. Enter a new secret to replace it without changing existing references. You can edit an endpoint only when the key is not in use. To move a configurable service to a new endpoint, add a key for that endpoint first, then switch the service to it. Use **Open Storage** to change S3 keys on the **Storage** page. Before deletion, the panel lists recorded room members, cloud storage, and other references. Deleting an unknown ID reports an error.
141
+
136
142
  ## Manage over SSH with codiscuss admin
137
143
 
138
144
  `codiscuss admin status` compares this computer’s version with each directly connected self-hosted site. It points to the update instructions if the site is older and shows “Unable to read” if the version is unavailable. Cloudflare sites bound through a relay are not included.
@@ -147,13 +153,16 @@ Every command in the table is prefixed by codiscuss admin and returns JSON. Thes
147
153
  | Inspect storage usage and clear temporary run files | `storage`, `storage clean`, `storage repair` (preview), `storage repair logs --confirm` |
148
154
  | Ask the platform steward to analyze storage | `codiscuss admin storage analyze` |
149
155
  | View and clear attachments by room | `codiscuss admin storage attachments` (usage per room), `storage attachments ROOM` (list files), `storage attachments ROOM clear ID... --confirm` |
156
+ | Clear attachments across rooms | `codiscuss admin storage attachments clear-batch --file FILE --confirm`. List attachments first, then write the exact IDs into JSON, for example `{"rooms":[{"room_id":"ROOM","ids":["ID"]}]}`. Results are returned per room. |
150
157
  | Bind/unbind the self-hosted relay and create access code | `site status`, `site connect <access-code\|site>`, `site disconnect`, `entry code` |
151
158
  | Manage sign-in entry and tunnel | `entry start\|stop`, `entry join <access-code>`, `entry open\|close relay\|tunnel`, `entry tunnel <domain>`, `entry tunnel reconnect` |
152
159
  | Manage hosted account lifecycle | `account list`, `account add <name>`, `account start\|stop\|disable\|enable\|remove\|password <name>`, `account isolate\|protect <name>`, `shell <name>` |
153
- | Manage sign-ins, keys, skills, workflows, and prompts | `login status <target>`, `key add <target> --base-url … --key …`, `skill official`, `skill install <target> <skill> [--source official\|library]`, `skill install <target> --group <group>`, `workflow install <target>`, `workflow update <target>`, `prompt set <target> --file …` |
160
+ | Manage sign-ins, keys, skills, workflows, and prompts | `login status <target>`, `key add <target> --base-url … --key-file <file>`, `skill official`, `skill install <target> <skill> [--source official\|library]`, `skill install <target> --group <group>`, `workflow install <target>`, `workflow update <target>`, `prompt set <target> --file …` |
154
161
 
155
162
  Use owner as <target> for the administrator, or use a hosted account name. If account add fails partway, fix the issue and run the same command again to resume the missing steps.
156
163
 
164
+ To inspect a key, run `codiscuss admin key show <target> <id>`. To edit one, run `codiscuss admin key edit <target> <id> --key-file <file>` or pass `--base-url <address>`. At least one option is required. For both adding and editing, use `--key-file -` to read from standard input and keep the secret out of command-line arguments. To delete one, run `codiscuss admin key remove <target> <id>`.
165
+
157
166
  ## Things to keep in mind
158
167
 
159
168
  - **admin stop leaves hosted instances running:** codiscuss admin stop exits the panel, tray icon, sign-in entry, tunnel, and administrator service. Already running hosted-account instances continue. To stop one, run codiscuss admin account stop <name>.
@@ -54,16 +54,17 @@ Use “History” to bring context from an existing local AI conversation into a
54
54
  - **Model and reasoning effort.** Set these on the back of a member card when creating a room or inviting a member. In an existing room, open **Room → Members and settings** in the tabs at the top of the room and find the member. Change the model or effort, or select “Refresh list” to fetch the catalog again. The slider labels each available level and highlights the current one. “Default” lets the software choose. If effort cannot be adjusted, the same area explains why. Changes take effect on the next run. Software that offers speed tiers (such as Codex CLI) also lets you choose “Speed” in the same place (“Default”, “Standard”, “Fast”, and “Ultrafast”). Options unavailable for the selected model are disabled. Switching models clears an unsupported tier, and “Reset to defaults” returns to the software’s native setting. For app connections, choose the model and effort in the app itself. Where supported, you can switch between CLI and app connections here. A manually connected member that is now woken by this computer shows “Existing session” next to its connection. It keeps its original session’s project access, but you can still change its model and effort here. While its own window is open, tasks go straight into that window and run with the window’s model; this setting applies once the window is closed. Until a change has been used, the model field shows the model that last ran followed by “(set to …, applies from the next run)” or “(set to …, applies once its own window is closed)”.
55
55
  - **Display name and role description.** Open the member menu in the right sidebar and select “Name and description”. When adding a member, use the name and description button on the card. On cards that flip, these settings are on the back. Change the room display name and role description. Inside a room there are quicker ways: double-click a member’s name in the right sidebar or on the members and settings page to rename it in place (Enter or clicking elsewhere saves, Esc cancels). Member rows in the right sidebar do not show descriptions: point at a member with the mouse and its member card floats out on the left with the description and an “Edit name and description” button; on a phone or tablet, tap the member row and the menu that opens shows the description at the top. In the editor, click a common kind of work to add it. The host and smart scheduling use the description to route work. You can also save it as the app’s default description.
56
56
  - **Private prompt.** When creating a room or inviting, flip the member card and select “Expert prompt” on its back. For a member already in the room, open **Room → Members and settings** at the top of the room, find the member, and select “Expert prompt” in the buttons at the bottom of its card. Write instructions for this member alone, such as “Start with the conclusion”; they apply from its next wake-up. This does not change its permissions. A member from a workflow shows its prompt read-only; change it in the workflow. Manually started and external members have no private prompt.
57
- - **System prompts for all members, the host, or one platform.** In **Settings → System prompts**, the “All members” row goes to every member this computer wakes; the “Experience” button in the “Host” row opens the page below MOSS in the sidebar. Add, edit, enable, disable or remove rules. Enabled rules apply to all rooms on this account. New rules and all changes go to MOSS for review. Handwritten wording that passes unchanged goes live automatically. AI suggestions, rewrites, and merges still need your approval. Up to 20 rules can be enabled in total, with up to 4,000 characters each. Select the rule under “Based on” on a dispatch to open it, or “Not right” to propose a change; and each platform row (Claude, Codex, Gemini, DeepSeek and so on) goes to every member on that platform, including preset and workflow experts. They come before the private prompt and apply from the next wake-up. The software’s own CLAUDE.md and AGENTS.md are not changed, so using that software outside CoDiscuss is not affected. From the command line, use `codiscuss launch prompts`.
58
- - The top of “Experience” is MOSS’s “Daily review” card: when it runs, and when it last ran with what it found (if the latest run did not happen or MOSS has not written back yet, it says so and why, in orange). Select the avatar or “Chat with MOSS” to open MOSS, select “Last run …” to jump to that report, and use the gear to turn “Daily review” on or off and set “Time” with the same wheel as a discussion’s time limit (it follows the display time zone in Settings, shown under the wheel). Without MOSS set up the card shows “Set up MOSS”. MOSS reviews the rooms you stepped in most each day.
57
+ - **Notes for the host, all members or one platform.** These all live on the “Experience” page below MOSS in the sidebar (the former **Settings → System prompts** moved here; Settings keeps one “Moved to Experience” row that jumps here). The page has five tabs. “Preview”: pick a host on a model or a platform’s members to see the parts it reads, in the order the program sends them, each marked with its source and a link to where it is edited; a room’s host strategy, member card notes and workflows are not shown. “Host”: rules for the host, its dispatch strategy. Add, edit, enable, disable or remove them; new rules and all changes go to MOSS for review, handwritten wording that passes unchanged goes live automatically, and AI suggestions, rewrites and merges still need your approval. Up to 20 rules can be enabled, with up to 4,000 characters each, and “Cited in n dispatches” lists the dispatches that cited a rule. “Members”: “All members” goes to every member this computer wakes, and each platform’s text (Claude, Codex, Gemini and so on) goes to every member on that platform, including a host on it and preset and workflow experts; use “Add” to choose who, and “⋯” to “Edit” or “Clear”. “Built-in” is described below, and “Log” is the review log. Select the rule under “Based on” on a dispatch to open it, or “Not right” to propose a change. These notes come before the private prompt and apply from the next wake-up; the software’s own CLAUDE.md and AGENTS.md are not changed. From the command line, use `codiscuss launch prompts` (`preview` for the preview).
58
+ - The top of “Experience” is MOSS’s “Daily review” card: when it runs, and when it last ran with what it found (if the latest run did not happen or MOSS has not written back yet, it says so and why, in orange). Select the avatar or “Chat with MOSS” to open MOSS, select “Last run …” to jump to that report, and use the gear to turn “Daily review” on or off; select the large time beside “Time” to open the wheel in place and select it again to close and save, with no separate save button (it follows the display time zone in Settings, shown below). Under “Look at”, turn the “Stepped in often”, “Went well”, “Cost the most” and “Used rules” angles on or off (keep at least one; the program picks up to 6 rooms from the dispatch records); rooms in “Pinned rooms” are always looked at in the next review and then cleared, and you can also choose “Add to next review” in a room’s menu; tick rooms to skip in “Skipped rooms”; under “Suggest”, turn “Experience” and “Workflows” on or off (keep at least one). “Review now” runs once right away without using up today’s scheduled run. Each change saves on its own, and these settings still apply to “Review now” when the schedule is off. Without MOSS set up the card shows “Set up MOSS”. MOSS reviews the rooms you stepped in most each day.
59
59
  - For a rule suggested below a host reply, choose “Go ahead” to send your original words to MOSS for review, or “No thanks” to dismiss it. While it runs the row says “Checking”. Open “Experience” from the result. The host still prepares workflow drafts.
60
- - In “Waiting for you”, expand a rule to see the before and after, or select “View the full organized draft”. Select “Activate” to confirm. If there is a “Conflict”, compare the rules and the scenario, then choose “Replace with the new rule”, “Keep both”, or “Drop the new rule”. When keeping both, explain when each applies and select “Submit for review”. Select “Retry” after a check fails. Without MOSS set up, rules show “Not checked · MOSS isn't set up”; handwritten ones offer “Enable without review” and are marked “Unreviewed” when active.
60
+ - In “Waiting for you”, expand a rule to see the before and after, or select “View the full organized draft”. Select “Activate” to confirm. If there is a “Conflict”, compare the rules and the scenario, then choose “Replace”, “Keep both”, or “Discard”. When keeping both, explain when each applies and select “Submit for review”. Select “Retry” after a check fails. Without MOSS set up, rules show “Not checked”; handwritten ones offer “Enable” and are marked “Unreviewed” when active.
61
61
  - Below are three tabs. “Rules” groups rules by origin into “Written by you”, “Learned from reviews” and “Settled”, with “Add” beside “Written by you”. Expand “Sources” on a rule and select “Remove this source” to withdraw one; the rule menu has “Edit”, “Discuss this with MOSS”, “Make durable” and “Delete”, and a settled rule no longer shows its sources. “What the host reads” shows MOSS’s current organized text, where the small number after a sentence is the position of the rule it rests on and opens that rule; without one the host receives the enabled rules one by one. Each row in “Review log” shows the outcome and opens where it happened, and a MOSS review expands to the items it raised. The “Experience” row in the MOSS window’s right panel leads back here.
62
- - Daily reviews are grouped by report. Select “Report” to expand a report in place or “In MOSS” to jump to the original.
62
+ - Daily reviews are grouped by report. Select the group title or summary to expand the report in place, or the jump icon on the right (“In MOSS”) to open the original. Under each waiting rule, labels such as “New” sit on the left and “Activate” and “⋯” on the right.
63
63
  - A scheduled MOSS review has a “Results of this review” section. It shows each item and its current status. Select the row to open the corresponding item.
64
64
  - After stopping, withdrawing, or rewinding, select “Add a reason” if it appears on the card. On a dispatch card, open its actions menu and select “Add a reason for withdrawing or reassigning”. The reason is optional. Once saved, it appears on the original card, and you can edit it from the same action.
65
+ - Type “/” in a room and choose “Summarize lessons”. Add a focus to cover only that topic. The host can submit up to five suggestions and replies with the counts, categories, and review link. After MOSS checks them, review them under “Awaiting confirmation” in Experience. Dispatch rules can be added, edited, or removed. Rules with an explicit deadline turn off automatically and remain in the history. Confirming a room strategy appends it to that room. Use the Workflows page to follow up on an approved workflow suggestion.
65
66
  - Use `codiscuss launch experience list` to inspect rules. Pass a JSON file containing `text` with `add|edit --file FILE`. Use `--id ID` with `edit|remove|enable|disable|accept|reject`. The legacy `launch prompts get/set host` command addresses the migrated global paragraph. Additions and edits go to MOSS for review. Run `launch experience list` to check their progress. Only when MOSS is not configured can the owner explicitly enable their own draft with `launch experience direct-enable --id ID`. AI suggestions cannot use this fallback.
66
- - **Manage host model rules.** Open the editor in **Settings → System prompts → Host**. “General” applies to the current host, and each model has its own tab for viewing and editing its text. Select “Add”, choose a model from a configured platform’s catalog, then select “Save” to create the rule. Each model tab has an “Enable” switch. “Restore defaults” re-enables a bundled rule and restores its defaults. “Delete” removes a custom rule. Rules stay on this computer and can be managed from paired devices. They apply from the next execution of a matching host model, including its effort variants. If the software’s last successful model catalog on this computer does not list a returning member’s model, refresh the catalog or choose a listed model before bringing the member back.
67
+ - **Manage host model rules.** “Host rules” in the Experience page’s “Built-in” tab lists the program’s rules for hosts on each model. Turn each on or off; “⋯” has “Edit”, “Reset” (changed rules are marked “Edited”) and “Write another”. “Write another” starts a rule of your own, kept under “By model” at the bottom of the “Host” tab, where you can turn it on or off, edit or delete it. “Fixed rules · Read-only” lists what the program always adds for each software; open a row to see the original text. Rules stay on this computer and can be managed from paired devices. They apply from the next execution of a matching host model, including its effort variants. If the software’s last successful model catalog on this computer does not list a returning member’s model, refresh the catalog or choose a listed model before bringing the member back.
67
68
  - **Host strategy for a room.** Keep long-term model preferences and routing habits in the global “Host” system prompt, and use “Host strategy” under **How to work (optional)** when creating a room or under **Room → Collaboration settings** in an existing ordinary room to tune a specific room’s pacing and review effort. Choose from built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host prompt) or any personal strategy saved on this computer. Select “Edit” to customize it for the current room or save it as a personal strategy for reuse across rooms; in the expanded editor, select “×” on a personal strategy chip to remove it. Editing or deleting a personal strategy does not alter rooms already running. Only the room owner can change a room’s host strategy; changes apply from the host’s next run without interrupting active work and are available on paired devices as well. From the command line, use `codiscuss room host-strategy` and `codiscuss launch strategies`.
68
69
 
69
70
  Fast and Ultrafast show a lightning badge on expert cards, room member cards, and the room’s right panel. The badge also appears when acceleration comes from the software default.
@@ -15,7 +15,7 @@ In the sidebar, select “New room”. To create one inside a folder, select the
15
15
  - Select “Add AI” to add members. Select the crown on a member card to make it the host.
16
16
  - Optionally configure “Smart scheduling”, “Image generation” (add an OpenAI Images card and enter an endpoint, API key, and image model; the lightning button on the back of the card checks the endpoint, key, and model without generating an image or incurring charges), and “Web search” (add a shared DeepSeek API key for web search and fallback when API members cannot fetch a page locally. DeepSeek members use their own key when available. Without a key, public pages can still be fetched anonymously from your computer. DeepSeek charges for requests that return results).
17
17
  3. **“How to work (optional)”**
18
- - Under “Host strategy”, choose the room’s pacing and effort level: built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host prompt under **Settings → System prompts → Host**), or any personal strategy saved on this computer. Select “Edit” on the right to customize it for this room or save it as a personal strategy. It applies only to this room and takes effect on the host’s next run.
18
+ - Under “Host strategy”, choose the room’s pacing and effort level: built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host rules in the Experience page’s “Host” tab), or any personal strategy saved on this computer. Select “Edit” on the right to customize it for this room or save it as a personal strategy. It applies only to this room and takes effect on the host’s next run.
19
19
  - Under “After creation”, choose “Off”, “Start discussion”, or “Start Goal”.
20
20
  4. **“Advanced settings”**: optionally enable “Full host control”, which lets the host manage members, retry or interrupt work, start discussions and Goals, and save workflows (to allow only part of it, expand “Items” and tick just the ones you need); set the “Assignment round limit” (10 by default, from 1 to 100 or unlimited; choosing “Unlimited” is not carried over automatically to the next new room), “API request limit”, and “Auto-destroy” (see below).
21
21
  - Below “Advanced settings”, expand the separate **“Local room preferences”** section, which is collapsed by default, to change machine-wide preferences (applied immediately, never saved into or overwritten by room templates): **“Host's default access”** (initial project access for the first member added to a new room, staying read-only if its software doesn't support the chosen level; requires the local service) and **“Linked-room message limit”** (shared by all linked rooms on this computer, and also editable under “Collaboration settings” on the “Room” tab of a regular room registered on this computer).
@@ -31,6 +31,8 @@ You can also send a message from the blank home page to create a room and send i
31
31
 
32
32
  ### 2. Organize the sidebar, folders, and archives
33
33
 
34
+ - **Search rooms.** Select the magnifying glass next to “Rooms” (on a computer, it appears when you hover over the heading) and enter part of a room name. For Chinese titles, you can also type pinyin or its initials (for example, `ksfj` finds “快速房间”). The search includes collapsed folders and subrooms, but not archived rooms. The list itself narrows to the matching rooms (a subroom is shown under its parent). Select a room, or press `Enter` to open the first match; press `Esc` or select “×” to close the search and restore the full list.
35
+
34
36
  - **Display time zone.** Go to “Settings → Appearance → Display time zone”. The default is “Follow system”. You can also choose from a shortlist of common time zones, such as “GMT+8 · Beijing, Shanghai”. Search by city in English or Chinese, common alias, IANA name or GMT offset. An existing preference outside the shortlist is still preserved. The choice is saved for this site in this browser and immediately updates message dates, quota reset times and reports. Existing room titles are unchanged. MOSS scheduled reports still run in the host computer’s time zone.
35
37
 
36
38
  Rooms created by a host inherit its folder. Select the arrow to the left of the parent title to show or hide its children. Opening a child, starting work in it, or adding a child expands the parent. Manually collapsing it keeps it folded for this page session. Moving a child to another folder, archiving its parent, or deleting its parent lists the child independently.
@@ -37,7 +37,7 @@ Adding clear role descriptions for members can improve routing. Open the member
37
37
  ### 2. Review decisions and give feedback
38
38
 
39
39
  - **Decision cards:** Each judgment appears in the transcript. Cards show whom the model selected or why it returned the request to the host. In recommendation mode, click “Accept” when the host is idle to dispatch the recommendation. If the host is busy, first choose how to handle its current work. “Cancel acceptance” closes the pending choice. It cannot withdraw a request that has already been sent.
40
- - **All decisions in one place:** The “Scheduling” tab after “Private chat” at the top of the room lists every decision in the room, newest first: the message it judged (click to jump back to it), what it chose and its confidence. Filter by “All”, “Applied”, “Not applied” or “Poor decision”; expanding, “Model input” and rating work as on the transcript cards. Smart scheduling writes no reasoning: it gives each option of a few fixed questions a probability, and the program applies the result only above a threshold. Share pages don't include these records.
40
+ - **All decisions in one place:** In a MOSS window (Steward, Direct messages, or a group), the “Scheduling” tab after “Private chat” at the top (ordinary rooms have no such tab) lists every decision in the room, newest first: the message it judged (click to jump back to it), what it chose and its confidence. Filter by “All”, “Applied”, “Not applied” or “Poor decision”; expanding, “Model input” and rating work as on the transcript cards. Smart scheduling writes no reasoning: it gives each option of a few fixed questions a probability, and the program applies the result only above a threshold. Share pages don't include these records.
41
41
  - **Inspect the input:** Click “Model input” on a decision card to review the prompt, context, and candidate options the model saw. Confidence appears beside the decision title.
42
42
  - **Rate the result:** Room owners can click 👍 (“Good decision”) or 👎 (“Poor decision”). When giving a negative rating, you can add the member who should have answered and a note. This feedback is used to improve how scheduling decides. The 👎 form also has “Save and send to developers”: it saves as usual, then sends the decision (question, options, choice and the context at the time) with your note, the version, system and names of the software you set up to the official service. Click “See what will be sent” to read it first. If sending fails you are told, and your rating stays saved here.
43
43
 
@@ -6,7 +6,7 @@ MOSS (formerly Platform steward) is a local AI that handles platform tasks, answ
6
6
 
7
7
  1. The top of the sidebar lists “New room,” “MOSS,” “Workflows,” and “Analytics.” Select “MOSS,” pick an AI app, set “Speed” if supported, and select “Start conversation.”
8
8
  2. Type a request such as “Which rooms need me?” or “Why did this run fail?” If “Room overview” is allowed, MOSS summarizes room status on request, checks details only when needed, and includes room links and references. Troubleshooting reads the guide, event records, execution details, and relevant logs. For a room-specific task, include the room link or ID. You can also start a request from the relevant page.
9
- - **Review dispatches.** In Analytics, select “AI analysis” in the dispatch review section. The button is enabled only when the `dispatch-analysis` skill is available and allowed. The review runs on request only and reports its findings separately from the measured statistics. When the same kind of problem recurs, the report includes suggested edits to the host prompt, which you can apply yourself in “Settings → System prompts → Host”.
9
+ - **Review dispatches.** In Analytics, select “AI analysis” in the dispatch review section. The button is enabled only when the `dispatch-analysis` skill is available and allowed. The review runs on request only and reports its findings separately from the measured statistics. When the same kind of problem recurs, the report includes suggested edits to the host prompt, which you can apply yourself in the Experience page’s “Host” tab.
10
10
  - **Make a room share card.** In the target room’s menu, choose “Share → Make a share card with AI.” The request includes the target room so the steward knows where to find the source material.
11
11
  - **Install local speech.** In “Settings → Speech,” select “Ask MOSS to install” for local read-aloud or voice input if it is not installed. Each installation requires confirmation because it changes the computer running the local service.
12
12
  - **Set up notifications.** In “Settings → Notifications,” select “Ask MOSS to configure” and confirm. MOSS may change local notification settings. Enter channel credentials yourself in the notification settings.
@@ -41,9 +41,9 @@ A reply in a channel that quotes a message sent by MOSS or a room goes back to t
41
41
 
42
42
  A higher window can hand work to a lower one and read its message text (never its private chats or group attachment contents). The Steward can pass messages to Direct messages, enabled groups, and ordinary rooms. Direct messages can pass messages to groups and ordinary rooms. A group can only delegate to its own task rooms and cannot read other groups. Direct messages has its own “Work sent out” list in its right sidebar, used the same way as the Steward’s.
43
43
 
44
- Each of the three windows has a “Private chat” tab, as an ordinary room does, where you can talk to MOSS on your own (see [Private chat and interruptions during a run](working.md#5-private-chat-and-interruptions-during-a-run)); it is not the Direct messages window above. In a group window, the private chat stays on the website and is never sent to the group; while MOSS is replying in the group, it waits until that reply is done.
44
+ Each of the three windows has a “Private chat” tab, as an ordinary room does, where you can talk to MOSS on your own (see [Private chat and interruptions during a run](working.md#5-private-chat-and-interruptions-during-a-run)); it is not the Direct messages window above. In a group window, the private chat stays on the website and is never sent to the group; while MOSS is replying in the group, it waits until that reply is done. None of the three windows has the “Runs” tab.
45
45
 
46
- The first time you click “Direct messages” on the website, choose its software, model, and effort, then click “Start conversation”; after that, direct messages from your channels go straight to this window. If a channel message arrives before the Direct messages window has software, MOSS replies with a link that opens this same page. The Direct messages window is read-only by default and can be set to “Automatic” independently. It can create rooms and pass messages between them. Platform skills are not listed, and the CLI blocks platform-changing commands. If you raise access, the local process may still be able to call local interfaces or edit configuration files directly. Use the Steward window for platform changes. The Direct messages window's restrictions are not a local sandbox.
46
+ The first time you click “Direct messages” on the website, choose its software, model, and effort, then click “Start conversation”; after that, direct messages from your channels go straight to this window. If a channel message arrives before the Direct messages window has software, MOSS replies with a link that opens this same page. The Direct messages window is read-only by default and can be set independently to any level its software supports, up to “Full access.” It can create rooms and pass messages between them. Platform skills are not listed, and the CLI blocks platform-changing commands. If you raise access, the local process may still be able to call local interfaces or edit configuration files directly. Use the Steward window for platform changes. The Direct messages window's restrictions are not a local sandbox.
47
47
 
48
48
  There is no separate acknowledgment for successful direct messages. You’ll see a notice if a message is queued, MOSS isn’t configured, or delivery fails. Answers are not sent back to the channel automatically; MOSS decides what to send. Before anything goes out, the program first tells MOSS that channel's requirements (message limit, at most three messages, the speaking style you set), and MOSS sends only after confirming. Above three messages, MOSS sends an overview and a web link. An answer sent out is marked in the window with “Sent to” and the channel, and whether it is sending, sent, failed, or not sent. If MOSS handles a message you sent from a channel but does not send an answer back, you get a short notice with a web link and no answer text.
49
49
 
@@ -53,6 +53,8 @@ Direct messages can read group messages. If it passes what it read to the Stewar
53
53
 
54
54
  The Steward and Direct messages can see the names, descriptions, enabled status, and latest activity of the windows below them. A group window lists only the Direct messages reporting address. It cannot discover other groups.
55
55
 
56
+ On the Steward window's “Room” page, open “Group chat rules” under “Collaboration settings” to review or edit the sending guidelines shared by all groups. “Platform formatting” lists linked chat channels so you can customize the writing format for each. Both show the software defaults until you customize them. Changes save when you leave the text field, and “Restore defaults” removes your customization.
57
+
56
58
  ## Add MOSS to a group chat
57
59
 
58
60
  Group windows currently support QQ groups linked through a personal account using OneBot. They receive text, images, stickers and files: images, animated and store stickers and files are saved as window attachments, small QQ faces become their names (such as "[QQ face: 捂脸]"), and shared cards become a title and link. They can send images and files. Images and files you send MOSS in a QQ private chat are saved as attachments for it too. This is an unofficial protocol, and QQ may restrict or ban the account. Enable it only in groups where you have agreed to record messages.
@@ -60,13 +62,13 @@ Group windows currently support QQ groups linked through a personal account usin
60
62
  First add the QQ account used by MOSS to the group in QQ, then turn it on from the website. Adding it to the group does not turn it on, and neither does @mentioning MOSS:
61
63
 
62
64
  - **Collapse the window list**: on a computer the window list sits left of the conversation. The button beside “Windows” folds it into a column of pictures; select it again to expand.
63
- - **On the website**: select “Join a group” at the bottom of the MOSS window list to see MOSS’s QQ number. Search for the group, optionally add a line under “About this group (optional)”, and turn it on. Every other setting starts at its default; change them later on that group's “Room” page. If a group you just joined is missing, refresh the list. The dialog warns you if it can verify that your linked owner account is not a member. If membership cannot be verified, it shows no warning. The option to post an introduction is off by default.
65
+ - **On the website**: select “Join a group” at the bottom of the MOSS window list to see MOSS’s QQ number. Search for the group, optionally fill in “Group notes (optional)”, and turn it on. Every other setting starts at its default; change them later on that group's “Room” page. If a group you just joined is missing, refresh the list. The dialog warns you if it can verify that your linked owner account is not a member. If membership cannot be verified, it shows no warning. The option to post an introduction is off by default.
64
66
 
65
67
  To stop MOSS, turn off the group in its website settings, or @mention MOSS from the linked owner account in QQ and write `停止工作` (“stop working”); other accounts cannot use it, even with the owner's display name. MOSS confirms a successful in-group command. It stops receiving and replying to new messages, keeps the existing record, and does not leave the QQ group.
66
68
 
67
69
  If a configured scheduler request fails, MOSS still handles direct mentions and messages from the owner. Existing limits and permissions apply, and MOSS decides whether to reply. Other messages are recorded without waking MOSS. The group settings show the latest failure.
68
70
 
69
- On this group window's “Room” page you can change how many times a day it may be called, how many rooms a day it may delegate (in the “Host permissions” row), the model and effort, the description, and the speaking style. You can add read-only folders and choose which skills are available. To stop it replying in this group, turn off “Let MOSS reply in this group” on the same page; the history and settings are kept. No project folder is attached by default. In “Project access,” the owner can choose any level the software supports. The default is “Write,” falling back to “Read-only” if necessary. Only runs whose sources are all verified owner requests use the selected level. Runs containing other group members’ requests can write only to the group workspace and have no attached project folders. If the owner selected “Read-only,” those runs are read-only too. With “Auto” or “Full access,” files from other group members enter the higher-permission process when you ask MOSS to read them. Group members cannot authorize speaking for the owner, Full access delegation, or changes to group memory. Group windows support Codex CLI, Claude Code CLI, Antigravity CLI, and model APIs. They can also look up public web pages. Read-only does not necessarily limit what the software can read. Codex CLI can still read other local files. Check the member card on the “Room” page for the selected software’s limits. Group members cannot grant more access or ask MOSS to read private chats. MOSS asks the owner ordinary questions in the group and takes sensitive matters to a direct message. Open the group window on the MOSS page to read messages and see their senders, including messages MOSS did not answer, or send an “Owner instruction” directly to that group’s MOSS (handled in the window by default and not posted to the group unless you explicitly ask it to post in the group).
71
+ On the group's “Room” page, “Group notes” is the first row under “Collaboration settings.” Use it for the group's purpose, MOSS's role, and any speaking preferences specific to the group. You can also adjust the daily limits for calls and delegation, the model and effort, read-only folders, and available skills. To stop it replying in this group, turn off “Let MOSS reply in this group” on the same page; the history and settings are kept. No project folder is attached by default. In “Project access,” the owner can choose any level the software supports. The default is “Write,” falling back to “Read-only” if necessary. Only runs whose sources are all verified owner requests use the selected level. Runs containing other group members’ requests can write only to the group workspace and have no attached project folders. If the owner selected “Read-only,” those runs are read-only too. With “Auto” or “Full access,” files from other group members enter the higher-permission process when you ask MOSS to read them. Group members cannot authorize speaking for the owner, Full access delegation, or changes to group memory. Group windows support Codex CLI, Claude Code CLI, Antigravity CLI, and model APIs. They can also look up public web pages. Read-only does not necessarily limit what the software can read. Codex CLI can still read other local files. Check the member card on the “Room” page for the selected software’s limits. Group members cannot grant more access or ask MOSS to read private chats. MOSS asks the owner ordinary questions in the group and takes sensitive matters to a direct message. Open the group window on the MOSS page to read messages and see their senders, including messages MOSS did not answer, or send an “Owner instruction” directly to that group’s MOSS (handled in the window by default and not posted to the group unless you explicitly ask it to post in the group).
70
72
 
71
73
  When MOSS is waiting for your answer in a group, quote its question or @mention MOSS. With smart routing enabled, a plain message also counts if the decision model recognizes it as your reply. Only the linked owner account can answer. To dismiss the question, open “Settings” → “Chat windows,” expand the group, and select “Clear.” Clearing ends the wait without granting approval.
72
74
 
@@ -78,7 +80,7 @@ If a group cannot handle a matter or needs a private decision from you, its MOSS
78
80
 
79
81
  Group MOSS can look up its own messages and attachments even if it did not reply at the time or you later used “Clear conversation”. It only sees messages recorded after the group was enabled. It does not import earlier QQ history. When a message or the same sender’s immediately preceding group message has attachments, MOSS receives up to five local read-only copies per run, with a 50 MiB limit per file. It can look up other saved attachments on demand. The Steward and Direct messages can read group message text but must ask group MOSS to inspect an image or file and report back. A delegated room that needs the source group’s records must use “Write” access. “Full access” cannot read the group’s messages or attachments.
80
82
 
81
- Tell the Steward or Direct messages something like “see what people are talking about in the group” or “summarize today's discussion in the group,” and it passes the request to that group's MOSS. By default it only does the work and says nothing in the group: the group's MOSS handles it under its own access and group description, and reports only to the window that asked. To have it speak in the group, say so explicitly (“say … in the group”), and only work you started yourself can do that; work started by a scheduled duty, a proactive report, or a child room's report cannot make MOSS speak in the group. Treat anything passed to a group as possibly public. A group that is not enabled refuses the message.
83
+ Tell the Steward or Direct messages something like “see what people are talking about in the group” or “summarize today's discussion in the group,” and it passes the request to that group's MOSS. By default it only does the work and says nothing in the group: the group's MOSS handles it under its own access and group notes, and reports only to the window that asked. To have it speak in the group, say so explicitly (“say … in the group”), and only work you started yourself can do that; work started by a scheduled duty, a proactive report, or a child room's report cannot make MOSS speak in the group. Treat anything passed to a group as possibly public. A group that is not enabled refuses the message.
82
84
 
83
85
  To supplement or redirect ongoing delegated work, tell the MOSS window that sent it. Only its own delegated room or a lower window still handling that delegation can receive a targeted interjection. When the task cannot be steered live, the message is sent as an ordinary relay. It does not stop or withdraw the execution. Group-member material cannot enter a Full access execution.
84
86
 
@@ -107,7 +109,7 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
107
109
  - **Clear the conversation**: choose “Clear conversation” at the bottom of MOSS’s member card on the “Rooms” tab, or at the bottom of the “Software and model” dialog opened from the right sidebar, and confirm twice. The first dialog lists what is cleared and kept, reminds you to update `MEMORY.md` first, and offers “View or edit memory” to jump straight to this window’s memory editor. After you choose “Confirm clear” in the second step, the current conversation moves to “Past conversations” and the window opens a blank conversation with a new AI session. Settings, folders, and memory are kept. Use “Past conversations” to read the archived history or confirm permanent deletion.
108
110
  - **Memory**: in the “Memory” row of “Collaboration settings” on the “Rooms” tab, choose “Settings” to read or edit this window's `MEMORY.md`. The limit is 20 KB. It is separate from the AI session, and MOSS reads it as needed. Clearing the conversation, changing software, or starting a “New conversation” does not clear memory. In a group, MOSS saves only what the linked owner account explicitly asks it to remember. It does not automatically save the owner's other messages. Other members can still ask questions, but cannot save instructions to this file for MOSS to read in later tasks.
109
111
  - **Folders**: add or remove them under “project folder” at the top of the “Rooms” tab, as in ordinary rooms. The Steward and Direct messages windows follow their own project access settings. Folders added to a group are always read-only. When you change the Steward’s working folder, its memory moves with it. If the new folder already has a `MEMORY.md`, both files stay where they are.
110
- - **Software, model, effort, and speed**: right-click the MOSS software row in the right sidebar or select “⋯”. The menu lets you change “Model”, “Effort”, “Speed”, and “Project access”. Each window offers the same access levels as “Members and settings”. Choose “Software and model” from the menu or from MOSS’s member card on the “Rooms” tab. Choose the software, model, and effort in the dialog. Where supported, set “Speed” to “Default” (follow the app), “Standard,” Fast, or Ultrafast. The Steward, Direct messages, and each group save their speed separately. “New conversation” keeps that window’s speed unless you change it. Then pick one of two actions. “Switch” carries on the current conversation: with the same software it keeps the session and applies the new settings from the next turn; with other software, the new software starts a session that picks up from this window’s recent conversation, though work in the old session that never reached the conversation does not carry over. “New conversation” starts a fresh session on the chosen software and model and clears the current session’s context; you can also use it without changing anything. To clear the window’s messages as well, use “Clear conversation” at the bottom of the dialog. Groups offer only software the runner can start with read-only access, not desktop apps. Both actions affect only the current window and keep the conversation history, duties, settings and memory. A divider appears when the session actually changes. You can also change the model with the pencil on the member card, which works like “Switch”. For project access, select the level directly (Direct messages allows only read-only or Auto, and groups apply the source rules above).
112
+ - **Software, model, effort, and speed**: right-click the MOSS software row in the right sidebar or select “⋯”. The menu lets you change “Model”, “Effort”, “Speed”, and “Project access”. Each window offers the same access levels as “Members and settings”. Choose “Software and model” from the menu or from MOSS’s member card on the “Rooms” tab. Choose the software, model, and effort in the dialog. Where supported, set “Speed” to “Default” (follow the app), “Standard,” Fast, or Ultrafast. The Steward, Direct messages, and each group save their speed separately. “New conversation” keeps that window’s speed unless you change it. Then pick one of two actions. “Switch” carries on the current conversation: with the same software it keeps the session and applies the new settings from the next turn; with other software, the new software starts a session that picks up from this window’s recent conversation, though work in the old session that never reached the conversation does not carry over. “New conversation” starts a fresh session on the chosen software and model and clears the current session’s context; you can also use it without changing anything. To clear the window’s messages as well, use “Clear conversation” at the bottom of the dialog. Groups offer only software the runner can start with read-only access, not desktop apps. Both actions affect only the current window and keep the conversation history, duties, settings and memory. A divider appears when the session actually changes. You can also change the model with the pencil on the member card, which works like “Switch”. For project access, select the level directly (Direct messages offers any level its software supports, and groups apply the source rules above).
111
113
 
112
114
  ## Things to know
113
115
 
@@ -120,4 +122,6 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
120
122
  - The “MOSS” section in “Analytics” shows task and project rooms created, work sent to existing rooms, rework, missing reports, work brought back to the main conversation, and run counts and durations. It also shows how often notification channels sent a queued-message acknowledgment.
121
123
  - For terminal use, see [Command Line](cli.md#platform-steward).
122
124
 
123
- Daily review in Experience appears in the MOSS duty list and can be removed there. After sleep, shutdown, or a service outage, it catches up only the latest missed review, with at most one run per calendar day in the schedule’s time zone. The brief goes through the duty’s delivery channel. For an unread review, select “Report” or “In MOSS” in “Experience”. The “Results of this review” section under the scheduled report shows whether each suggestion is checking, awaiting confirmation, or in conflict. From the CLI, run `codiscuss launch experience review on|off [--at HH:MM [--timezone IANA]]`. Without `--timezone`, the computer’s system time zone is used.
125
+ Daily review in Experience appears in the MOSS duty list and can be removed there. After sleep, shutdown, or a service outage, it catches up only the latest missed review, with at most one run per calendar day in the schedule’s time zone. The brief goes through the duty’s delivery channel. For an unread review, select “Report” or “In MOSS” in “Experience”. The “Results of this review” section under the scheduled report shows whether each suggestion is checking, awaiting confirmation, or in conflict. Choose any of four review lenses: more interventions, went well, higher cost, or cited experience. The first two are selected by default. CoDiscuss picks up to six rooms in total. Rooms you pin are included in addition to those six, and their pins clear when the review is recorded successfully. A room cannot be both pinned and excluded. You can turn experience and workflow suggestions off independently. Each review looks back to the last successfully recorded review, up to seven days. The first review covers 24 hours. “Run review now” does not count toward the daily schedule. Scheduled reviews skip rooms summarized in the last seven days unless a new dispatch followed the summary or you pinned the room.
126
+
127
+ From the CLI, run `codiscuss launch experience review status|on|off|set|run`. For example, `codiscuss launch experience review set --workflow off --lenses smooth` looks for what went well without suggesting workflows. Set the schedule with `--at HH:MM` and `--timezone IANA`. If no time zone has been set, it uses the computer’s system time zone.