@brainervirus/workit-cursor 5.0.0 → 6.0.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/.cursor-plugin/plugin.json +1 -1
- package/README.md +4 -4
- package/assets/templates/workit-contract.md +3 -2
- package/dist/cursor-session-start.js +2651 -4340
- package/dist/mcp-server.js +2200 -3931
- package/dist/workit-hook.js +2377 -4106
- package/package.json +3 -3
- package/rules/workit-contract.mdc +6 -6
package/README.md
CHANGED
|
@@ -45,13 +45,13 @@ npx @brainervirus/workit-cli init
|
|
|
45
45
|
|
|
46
46
|
## What it provides
|
|
47
47
|
|
|
48
|
-
- MCP server exposing
|
|
48
|
+
- MCP server exposing the seven shared operation families: `workit_task`, `workit_policy`, `workit_evidence`, `workit_finding`, `workit_decision`, `workit_worker`, and `workit_state` (read-only for unattested callers; mutations run through `node_modules/.bin/workit <family> <action> --json [--actor <session-id>]`).
|
|
49
49
|
- One bounded native hook executable for session context, recognized product-write and shell interception, and native subagent lifecycle observations.
|
|
50
50
|
- Eleven canonical `workit-*` method skills and the `workit-contract` rule.
|
|
51
51
|
|
|
52
52
|
## Host limitations
|
|
53
53
|
|
|
54
|
-
Cursor maps shared Workit operations through the shared MCP transport. AskQuestion remains policy-only (`agent_guided`), session start and compaction are non-blocking, and arbitrary shell writes, Tab edits, and exact subagent stop identity are unavailable. Known Write/Edit/Delete targets are enforced only when the documented Cursor hook inputs prove them. Native subagent delegation is read-only for reviewer/investigator assignments; implementer delegation is unavailable because Cursor exposes no
|
|
54
|
+
Cursor maps shared Workit operations through the shared MCP transport. AskQuestion remains policy-only (`agent_guided`), session start and compaction are non-blocking, and arbitrary shell writes, Tab edits, and exact subagent stop identity are unavailable. Known Write/Edit/Delete targets are enforced only when the documented Cursor hook inputs prove them. Native subagent delegation is read-only for reviewer/investigator assignments; implementer delegation is unavailable because Cursor exposes no stable child-stop identity.
|
|
55
55
|
|
|
56
56
|
## Configuration
|
|
57
57
|
|
|
@@ -73,8 +73,8 @@ The runtime runs from `@latest` with `--prefer-online` and `--min-release-age=0`
|
|
|
73
73
|
|
|
74
74
|
## Capability boundaries
|
|
75
75
|
|
|
76
|
-
-
|
|
77
|
-
- Native hook enforcement is limited to documented inputs and blocking behavior. The plugin does not claim a `beforeMCPExecution` hook,
|
|
76
|
+
- MCP is read-only for unattested callers: a standalone or ordinary Cursor launch stays usable for inspection and reports `capability_unavailable` for mutations, which run through the CLI instead.
|
|
77
|
+
- Native hook enforcement is limited to documented inputs and blocking behavior. The plugin does not claim a `beforeMCPExecution` hook, delegation tokens, or automatic compaction restoration.
|
|
78
78
|
|
|
79
79
|
## Plugin layout
|
|
80
80
|
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Workit keeps one accountable lead and one shared task state. Inspect current
|
|
4
4
|
task state before acting; use only the shared operations for task, policy,
|
|
5
|
-
evidence, finding, decision, worker,
|
|
5
|
+
evidence, finding, decision, worker, and state changes. Authority is
|
|
6
6
|
bounded by the requested scope, current revision, caller/session provenance, and
|
|
7
|
-
observed capabilities
|
|
7
|
+
observed capabilities; delivery is bounded by the workspace autonomy grants
|
|
8
|
+
(`workit grant show`). Never claim host enforcement or evidence that the host
|
|
8
9
|
cannot provide. Preserve unresolved requirements, gaps, and uncertain workers.
|
|
9
10
|
|
|
10
11
|
Focused methods are loaded only when the resolved policy requires them. A method
|