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.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個在本機、離線運作的 MCP 伺服器,記錄測試與建置任務遺留的檔案、行程和監聽埠,讓助理以證據形式回報殘留,而不自行清理。

可以做什麼
在宣告的 workspace 與暫存根目錄上開始與結束任務觀察,過程中可選擇性附加通用事件或心跳。在沒有基線的情況下檢查已完成的任務,結果一律為部分證據。讀取已儲存的殘留報告,無須重新觀察。在使用者授權清理後複核同一批候選項目。委派僅能附加允許事件類型與根別名的短期執行器能力。透過授權呼叫將候選項目解析為確切路徑。
適用情境
當助理執行測試或建置,而你希望在清理前留下證據檢查點時使用:它會顯示任務遺留的檔案、目錄、行程和埠,由你決定後續處理。也適合事後檢視已完成的任務,但這類結果僅屬部分證據。
執行需求
以本機行程在使用者電腦上執行(stdio、MCPB 套件),僅限桌面端,未宣告驗證、環境變數或標頭。執行時完全在本機、離線。從原始碼建置需要 Go 1.26 或 1.27。
安裝前請注意
它刻意不提供清理、刪除、執行、終止或關閉埠的工具,也不判斷哪些項目可安全刪除;清理須在使用者明確授權後由助理自己的工具完成。報告以不透明檔名加密儲存,預設保留七天、總量上限 100 MB。無候選項目的結果只涵蓋宣告的觀察範圍,不代表整台主機乾淨。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Residue Evidence,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

text
observe → Agent reviews evidence → user authorizes cleanup        → Agent cleans with its own tools → ARE verifies

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_observation
  • append_task_events
  • end_task_observation
  • inspect_completed_task
  • get_residue_report
  • verify_task_residue
  • delegate_task_executor
  • resolve_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:

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.

bash
bash scripts/check.shbash scripts/run_native_acceptance.sh

Apache-2.0 licensed. See Security, Contributing, and native acceptance.

來源:README.md,提交 0df0578

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分