@agent_forge/forge-dsh 0.1.1 → 1.41.0

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/README.md CHANGED
@@ -28,7 +28,10 @@ DSH tool names map onto the Claude Code names forge dispatches on
28
28
  forge's canonical spec (`lib/spec.json`, drift-guarded by a Go test in the Forge
29
29
  repo) — freeze-guard, task-guard, assertion-check, read-before-edit, bash-guard,
30
30
  hazard-guard, auto-compile, workflow-test-guard, file-sentinel, tool-track,
31
+ test-nudge, failure-track (PostToolUseFailure), subagent-track (SubagentStop),
31
32
  task-verify, review-stop, skill-trigger, and the session-start group.
33
+ failure-track/subagent-track are mirrored in the spec but inert until DSH
34
+ exposes the corresponding event points (rc.7 has neither).
32
35
 
33
36
  ## Requirements
34
37
 
package/lib/spec.json CHANGED
@@ -5,13 +5,15 @@
5
5
  "hooks": [
6
6
  { "type": "command", "command": "forge hook auto-compile" },
7
7
  { "type": "command", "command": "forge hook workflow-test-guard" },
8
- { "type": "command", "command": "forge hook skill-trigger" }
8
+ { "type": "command", "command": "forge hook skill-trigger" },
9
+ { "type": "command", "command": "forge hook test-nudge" }
9
10
  ]
10
11
  },
11
12
  {
12
13
  "matcher": "Bash",
13
14
  "hooks": [
14
15
  { "type": "command", "command": "forge hook file-sentinel" },
16
+ { "type": "command", "command": "forge hook tool-track" },
15
17
  { "type": "command", "command": "forge hook skill-trigger" }
16
18
  ]
17
19
  },
@@ -51,6 +53,21 @@
51
53
  ]
52
54
  }
53
55
  ],
56
+ "PostToolUseFailure": [
57
+ {
58
+ "matcher": "Bash",
59
+ "hooks": [
60
+ { "type": "command", "command": "forge hook failure-track" }
61
+ ]
62
+ }
63
+ ],
64
+ "SubagentStop": [
65
+ {
66
+ "hooks": [
67
+ { "type": "command", "command": "forge hook subagent-track" }
68
+ ]
69
+ }
70
+ ],
54
71
  "SessionStart": [
55
72
  {
56
73
  "hooks": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent_forge/forge-dsh",
3
- "version": "0.1.1",
3
+ "version": "1.41.0",
4
4
  "description": "Forge quality gates for DeepSeek Harness (dsh): task gates, read-before-edit, bash hazard interception and quality scoring, driven by the forge CLI through DSH's typed interception points.",
5
5
  "repository": {
6
6
  "type": "git",