편집자 노트

1052326311/dsh-instruction-audit

Privacy-minimal instruction provenance receipts for DeepSeek Harness

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 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

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.