[Feature] Preserve minimal provenance on durable task evidence
维护者通常 1 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start by tracing the current Evidence shape and the named producers: delegated read_web, recurring monitors, search results from #22, and browser identity from #29. Define a minimal optional provenance envelope that preserves direct observations, provider excerpts, sessions, monitors, and observation times while keeping existing mail/file/user records and UI rendering compatible; verify the restart, shared-session, monitor, provider-change, and backward-compatibility cases listed in the issue.
由索引模型根据 Issue 内容生成。
描述
What outcome should OpenMuse handle?
Durable task evidence should retain enough provenance to tell what was actually observed, where it came from, and how it was acquired.
Today Evidence is intentionally small:
{
id,
kind: "mail" | "file" | "web" | "user",
title,
excerpt,
url?
}
That works while each kind has one obvious source, but the current repo is already crossing that boundary:
- delegated
read_webpersists a direct browser observation askind: "web"; - recurring monitors persist their page observation as
kind: "web"; - #22 persists search-provider excerpts as
kind: "web"; - #29 separates browser observation identity from browser-session identity, but the evidence record still does not retain that acquisition provenance.
Those records can have the same URL/excerpt shape while meaning different things. A search excerpt is provider-returned evidence about a page; a browser read is an OpenMuse observation of the page itself. Treating both as the same provenance makes later verification, stale-data handling, debugging, and Learning/export harder.
The invariant I think we need is:
evidence content is not its provenance.
Proposed behavior
Add the smallest provenance envelope that is useful across existing evidence producers, without turning Evidence into a generic knowledge graph.
For example, optional fields along the lines of:
observedAtsource/acquisitionsuch asbrowser,monitor,search,mail,user- a stable source/entity reference when one exists (
messageId, browser session, monitor, provider, etc.)
The exact schema is less important than preserving these distinctions:
- observation identity vs source/container identity;
- direct observation vs provider-supplied excerpt;
- source data vs authority.
I would keep provider-specific payloads out of the core record. Search-provider names or query IDs can live in a small optional provenance object if needed, while the main evidence shape stays stable.
How would we verify it works?
- A direct browser read and a search result for the same URL remain distinguishable after task restart.
- Two observations from one persistent browser session have distinct evidence IDs but share the correct source/session provenance.
- Monitor evidence identifies the monitor and observation time without using the monitor ID as the observation ID.
- Search adapters can change providers without changing the core evidence schema.
- Existing mail/file/user evidence remains backwards-compatible.
- UI can continue rendering title/excerpt/url without knowing provider details.
This seems worth deciding while #22/#28 add search and before more connectors or Automatic Learning depend on the current evidence shape.
AI-use note: I used an AI assistant to trace the current evidence producers and draft this issue; I verified the cited browser, monitor, mail, UI, and #22 search paths against current source/PR heads before filing.
- 主要语言
- TypeScript
- 星标
- 5.2k
- 派生
- 730
- 平均合并
- 3 天 20 小时
- 30 天内合并 PR
- 96
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CopilotKit/openmuse 的其他 Issue
-
"Contains" page watch never matches when its text has a trailing space可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
CopilotKit/openmuse#184 ·
维护者通常 1 天内回复
-
Tests: telemetry probes can exceed their 15s execFile timeout on Windows (cold tsx transpile + AV scanning)可能已有人在做 @sean0407 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
CopilotKit/openmuse#176 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 24/100
CopilotKit/openmuse#181 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
CopilotKit/openmuse#179 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
CopilotKit/openmuse#153 ·
维护者通常 1 天内回复
查看 CopilotKit/openmuse 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
jessepollak/home#2223 ·
维护者通常 1 天内回复
-
grep fixture corpus test follows the corpus's loop symlink under the receipt runner (fails on main)未关闭
难度 2/5 1-3 小时 新手友好度 68/100
code-yeongyu/senpi#3756 ·
维护者通常 1 天内回复
-
org:external package:deepagents priority:triage topic:memory topic:middleware type:bug
难度 2/5 1-3 小时 新手友好度 65/100
langchain-ai/deepagents#7059 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
osmlab/name-suggestion-index#12992 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
hemilabs/ui-monorepo#2506 ·
维护者通常 1 天内回复