@brainervirus/workit-claude-code 8.4.0 → 8.5.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/dist/workit.js CHANGED
@@ -65,7 +65,7 @@ var package_default;
65
65
  var init_package = __esm(() => {
66
66
  package_default = {
67
67
  name: "@brainervirus/workit-cli",
68
- version: "8.4.0",
68
+ version: "8.5.0",
69
69
  private: false,
70
70
  description: "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
71
71
  keywords: [
@@ -103,9 +103,9 @@ var init_package = __esm(() => {
103
103
  },
104
104
  dependencies: {
105
105
  "@babel/parser": "7.29.9",
106
- "@brainervirus/workit-core": "^8.4.0",
107
- "@brainervirus/workit-cursor": "^8.4.0",
108
- "@brainervirus/workit-opencode": "^8.4.0",
106
+ "@brainervirus/workit-core": "^8.5.0",
107
+ "@brainervirus/workit-cursor": "^8.5.0",
108
+ "@brainervirus/workit-opencode": "^8.5.0",
109
109
  "@inkjs/ui": "2.0.0",
110
110
  ink: "7.1.1",
111
111
  react: "19.2.8"
@@ -15121,6 +15121,9 @@ function summarizeRow(row) {
15121
15121
  case "standing.cleared":
15122
15122
  summary = `cleared ${text("target") || "every standing order"} (fanout ${text("fanout")})`;
15123
15123
  break;
15124
+ case "skill.loaded":
15125
+ summary = `${text("skill")} (${text("via") || "tool"})${row.actor.session ? "" : " (no session)"}`;
15126
+ break;
15124
15127
  case "commit.recorded":
15125
15128
  summary = `${(row.head ?? "?").slice(0, 12)} ${text("subject")}${row.actor.session ? "" : " (no session)"}`;
15126
15129
  break;
package/hooks/hooks.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Workit host hooks: task context on session start (incl. compaction restore and forks) and when it changes per turn, branch policy and raw git/forge steering (deny gate bypasses, nudge routine commands) on shell commands, the before-write gate on file edits and shell writes, recording raw git commits for the session after they run, and worktree guidance for subagents. Only events that change Claude's behavior are registered.",
2
+ "description": "Workit host hooks: task context on session start (incl. compaction restore and forks) and when it changes per turn, branch policy and raw git/forge steering (deny gate bypasses, nudge routine commands) on shell commands, the before-write gate on file edits and shell writes, recording raw git commits for the session after they run, worktree guidance for subagents, a one-line skill nudge on prompts and delivery commands, and recording each Workit skill load. Only events that change Claude's behavior are registered.",
3
3
  "hooks": {
4
4
  "SessionStart": [
5
5
  {
@@ -59,6 +59,17 @@
59
59
  "timeout": 5
60
60
  }
61
61
  ]
62
+ },
63
+ {
64
+ "matcher": "Skill",
65
+ "hooks": [
66
+ {
67
+ "type": "command",
68
+ "command": "node",
69
+ "args": ["${CLAUDE_PLUGIN_ROOT}/bin/workit-hook.mjs"],
70
+ "timeout": 5
71
+ }
72
+ ]
62
73
  }
63
74
  ],
64
75
  "PostToolUse": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-claude-code",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "private": false,
5
5
  "description": "Workit Claude Code plugin — session and per-turn task context, branch policy on git shell commands, workit method skills, and verifier/reviewer/implementer agents",
6
6
  "keywords": [
@@ -39,8 +39,8 @@
39
39
  "build": "bun scripts/build.ts"
40
40
  },
41
41
  "devDependencies": {
42
- "@brainervirus/workit-cli": "^8.4.0",
43
- "@brainervirus/workit-core": "^8.4.0"
42
+ "@brainervirus/workit-cli": "^8.5.0",
43
+ "@brainervirus/workit-core": "^8.5.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=24"
@@ -15,8 +15,8 @@ proposes and stops. Nothing changes until the user approves.
15
15
  `retro:` row in `workit ledger list --type decision`), else the last ~10
16
16
  sessions. State the window in one line.
17
17
  2. **Read through workit, cheapest first.** Every finding cites these:
18
- - `workit ledger list --last 200`: rulings (ambiguities the agent had to
19
- settle), failed or self verdicts, handoffs, check runs, CI reruns.
18
+ - `workit ledger list --last 200`: rulings, failed/self verdicts, handoffs,
19
+ check runs, CI reruns, `skill.loaded` rows (skipped skills: routing).
20
20
  - `workit pr status --pr <n>` for each recent PR: threads, failing checks.
21
21
  - `git log --oneline -50`, plus reverts and fixups after review.
22
22
  - `workit knowledge lint`: today's AGENTS.md and need-based files.