dshbase

插件目录 / Developer / dsh-instruction-audit

dsh-instruction-audit

已验证 · 实测可装 1052326311

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

Privacy-minimal instruction provenance receipts for DeepSeek Harness

✅
我们的评价
可用 — 实测通过,早期项目

Privacy-minimal instruction provenance receipts for DeepSeek Harness 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-instruction-audit

dsh-instruction-audit records privacy-minimal receipts for the workspace
instruction files that DeepSeek Harness actually placed into a session. It is
an independent community bundle, not an official DeepSeek AI package.

It observes the durable agent-instructions message source already emitted by
the Harness. Each receipt contains the session id, event sequence/time,
baseline flag, logical scope, display path, action, and producer-owned content
digest. It never reads instruction files, stores instruction text, modifies a
workspace, or changes prompt assembly.

The published bundle has no runtime npm dependencies. It uses the existing
Cordis context supplied by the active Harness process and only imports that
type while building.

This is useful when auditing which AGENTS.md/CLAUDE.md files actually
affected a session, especially after a nested-workspace boundary or instruction
budget incident.

Install

Build a portable tarball first:

pnpm install
pnpm pack
dsh plugin --profile web add ./dsh-instruction-audit-0.1.1.tgz

The bundle writes receipts under $DSH_HOME/instruction-audit/v1/. File names
are SHA-256 hashes of session ids; the id remains inside each JSONL receipt.
Override the location without changing Harness state:

- id: instruction-audit
  config:
    receiptRoot: /absolute/path/to/receipts

Read one session's receipts:

dsh-instruction-audit --session session-123

Evidence Boundary

--dump-config proves only that the layer composes. A release must also be
tested by installing the packed tarball into a temporary DSH_HOME, booting a
real loopback Web profile, emitting a real durable user/message event with
the Harness agent-instructions source, observing one receipt, and confirming
that its JSONL contains no instruction body.

The plugin deliberately does not infer instructions from the filesystem. A
receipt proves only the structured source the Harness logged; it does not prove
that a model followed the instructions or that a digest is a security boundary.

Verification

Version 0.1.1 was verified against DeepSeek Harness source revision
47f943859bef60e4160492346772ded9b24f765a by:

  1. Building the Harness production libraries and Web frontend.
  2. Packing this repository, then installing the tarball with
    dsh plugin --profile web add into a fresh DSH_HOME.
  3. Booting the actual loopback Web profile.
  4. Appending an agent-instructions user message through the real
    SessionStore publication path, then reading its receipt with this package's
    installed CLI.

The proof used a distinct instruction-text sentinel and confirmed it was not
present in the persisted JSONL. Unit coverage also checks malformed events,
replace/remove transitions, and same-session write order.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-instruction-audit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:1052326311/dsh-instruction-audit

Headless(CLI)profile:

dsh plugin --profile headless add github:1052326311/dsh-instruction-audit

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →