
Agent Residue Evidence
io.github.fantasyce由 GitHub 账号 fantasyce 发布v0.3.0更新于 Oct 24, 2026
Report local task-scoped test and build residue without cleaning resources.
概览
一个本地、离线的 MCP 服务器,记录测试和构建任务遗留的文件、进程和监听端口,让助手以证据形式报告残留,而不自行清理。
- 可以做什么
- 在声明的 workspace 和临时根目录上开始与结束任务观察,过程中可选地追加通用事件或心跳。在没有基线的情况下检查已完成任务,结果始终为部分证据。读取已保存的残留报告,无需重新观察。在用户授权清理后复核同一批候选。委派仅能追加允许事件类型和根别名的短期执行器能力。通过授权调用把候选解析为确切路径。
- 适用场景
- 当助手运行测试或构建,而你希望在清理前留下证据检查点时使用:它显示任务遗留的文件、目录、进程和端口,由你决定如何处理。也适合事后复查已完成的任务,但此类结果只是部分证据。
- 运行要求
- 作为本地进程在用户机器上运行(stdio、MCPB 包),仅限桌面端,未声明认证、环境变量或请求头。运行时完全本地、离线。从源码构建需要 Go 1.26 或 1.27。
安装
在 SourceWeft 中
- 打开 控制台中的 Agent Residue Evidence,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Agent Residue Evidence
Agent Residue Evidence (ARE) adds an evidence checkpoint to an Agent's test and build workflow:
ARE shows task-scoped files, directories, attributed processes, and their listening ports. It never deletes files, stops processes, closes ports, decides that something is safe to delete, scans the full machine, uploads data, uses the network, or collects telemetry.
Visit the project site, run the reproducible task-residue demo, or download the latest verified release.
Standard task
Before the first test or build, the Agent calls begin_task_observation with
the exact workspace and any task-owned temporary roots. Events are optional;
safe generic events or empty heartbeats can be sent with
append_task_events. Before its final answer, the Agent calls
end_task_observation, explains the candidates, and asks the user what to do.
Only after explicit authorization does the Agent clean with its normal tools.
It then calls verify_task_residue to recheck the same stable candidates.
NO_CANDIDATES_OBSERVED means only that no candidate appeared inside the
declared observation scope. It is not a host-wide cleanliness claim.
Completed task without a baseline
inspect_completed_task accepts explicit roots and a bounded time window.
The result is always PARTIAL_EVIDENCE; it can use Event, receipt, inferred,
or unattributed evidence, but never claims BASELINE_OBSERVED. Use
get_residue_report to read a saved report without observing again.
Every observation is isolated by an opaque owner capability. Task IDs, report IDs, observation IDs, and candidate IDs are display references only and never authorize access. State is encrypted at rest with opaque filenames; exact paths are revealed only through an authorized candidate-resolution call. Short-lived executor capabilities can append only explicitly allowed event types and root aliases and cannot read, end, verify, or resolve a task.
The MCP surface contains exactly eight tools:
begin_task_observationappend_task_eventsend_task_observationinspect_completed_taskget_residue_reportverify_task_residuedelegate_task_executorresolve_residue_candidate
There is deliberately no cleanup, delete, execute, terminate, or close tool.
Local-first packaging
One release contains a native CLI/stdio MCP server, thin Agent Plugin, MCPB, checksums, provenance, and SPDX SBOM. See Quickstart and Install. Runtime operation is fully local and offline. Reports default to seven-day retention and a 100 MB total cap; retained reports and active baselines are protected. Uninstall never silently deletes reports.
The current release is published in the
official MCP Registry
as io.github.fantasyce/agent-residue-evidence.
Native acceptance covers macOS 14+ arm64, Linux amd64, and Windows 11 amd64 through mandatory native CI jobs. Cross-compilation alone is not reported as native acceptance.
Agent Reliability Toolkit
ARE is one independent part of a small, local-first reliability toolkit:
- Agent Recall Trail keeps private Agent memory separate from reviewed shared knowledge.
- Agent Runtime Proof verifies that a live Agent or MCP runtime matches the artifact you approved.
- Agent Residue Evidence records task-scoped files, processes, and listening ports left by tests and builds.
Each project remains separately installable and keeps its own trust boundary.
Community feedback
Real Agent-host evaluations are especially useful. Share a synthetic or redacted workflow in the design-partner issue, including the host and ARE version, declared observation scope, and observed result. DSH users can also join the official community discussion. Do not post credentials, private paths, raw command lines, environment values, proprietary code, or full transcripts.
Development
Go 1.26 or 1.27 is required.
Apache-2.0 licensed. See Security, Contributing, and native acceptance.
来源:README.md,提交 0df0578
工具
0版本历史
1- v0.3.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分