dsh-auto-review 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.1] - 2026-11-13
4
+
5
+ ### Fixed
6
+
7
+ - **A PTC session's tool-call arguments were invisible to the reviewer, so every `ai`-routed escalation from one was denied (issue #83).** `renderCallContext` → `sanitizedArgumentsText()` looked the pending call up by an exact `callId` match against `tool/call` rows only — but a PTC approval carries the INNER id `<outer>:ptc:<n>` while the logged `tool/call` carries `<outer>` (name `run_code`), so the id never matched and the transcript rendered "not found or unparseable". The "insufficient evidence ⇒ DENY" rule then fired on the evidence gap for exactly the calls where human oversight matters most, and the verdict cache was skipped for the same reason. The lookup now reads the PTC sub-dispatch record first (`tool/ptc-dispatch-start`, and its settled `tool/ptc-dispatch` pair, keyed by `subCallId`), and only when the child record is missing walks the `:ptc:` prefix out to the nearest enclosing `tool/call`; the prompt names which record the reviewer is seeing and states explicitly when the arguments belong to the enclosing call rather than the pending one. The same lookup feeds the `arguments` risk-rule field and the verdict fingerprint (still skipped for an enclosing-only row, which every sub-call of one program shares). Deny evidence is now diagnosable from the prompt alone: a record with no parseable arguments payload reads differently from a call id that could not be resolved at all, instead of both reading as "arguments missing". Regression tests synthesize an `<outer>:ptc:1` approval, assert the reviewer prompt carries the inner tool's own arguments, and assert the enclosing-call and unresolved fallbacks stay visibly distinct.
8
+
3
9
  ## [0.14.1] - 2026-10-26
4
10
 
5
11
  ### Security
package/PRIVACY.md ADDED
@@ -0,0 +1,11 @@
1
+ # Privacy
2
+
3
+ `dsh-auto-review` is a local DeepSeek Harness plugin.
4
+
5
+ - It reads only the workspace files, configuration and tool inputs needed for its documented features.
6
+ - It does not add telemetry, analytics, advertising or a hosted account, and it sends no data to PerryLink.
7
+ - Any network access or external service used by the plugin is documented in its README and is controlled by the user's own configuration.
8
+ - It writes no data outside the DSH profile, the workspace, and the host's own session/log storage. The host controls that storage and its retention.
9
+ - Removing the package removes its code; it does not delete host logs, workspace files or documents you already created.
10
+
11
+ This statement covers the npm package, not the DSH host or any other plugin in the profile.