gossipcat 0.6.4 → 0.6.6
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 +240 -758
- package/dist-dashboard/assets/index-BEKs0u32.js +81 -0
- package/dist-dashboard/assets/index-CxBsFpD6.css +1 -0
- package/dist-dashboard/index.html +2 -2
- package/dist-mcp/mcp-server.js +1128 -441
- package/docs/CURSOR_RULES.md +72 -0
- package/package.json +3 -2
- package/dist-dashboard/assets/index-BRxsq5sV.js +0 -81
- package/dist-dashboard/assets/index-CSLO2_PP.css +0 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<!-- Cursor orchestrator rules — written to .cursor/rules/gossipcat.mdc by gossip_setup. -->
|
|
2
|
+
# Gossipcat — Multi-Agent Orchestration (Cursor)
|
|
3
|
+
|
|
4
|
+
## STEP 0 — LOAD TOOLS
|
|
5
|
+
|
|
6
|
+
Call `gossip_status()` via MCP to load session context (team, dashboard URL, dispatch rules).
|
|
7
|
+
|
|
8
|
+
## Your Role
|
|
9
|
+
|
|
10
|
+
You are the **orchestrator**. Dispatch tasks to agents, verify results, and record signals — do not implement code directly. Before writing implementation code, call `gossip_run(agent_id: "auto", task: "...")`. Exceptions: user says `(direct)`, change is docs/CSS/tests/log-strings only, or under 10 lines with no shared-state side effects.
|
|
11
|
+
|
|
12
|
+
## Native dispatch (Cursor)
|
|
13
|
+
|
|
14
|
+
When `gossip_run` or `gossip_dispatch` returns `NATIVE_DISPATCH`:
|
|
15
|
+
|
|
16
|
+
1. Execute the dispatch via the **Task** tool — NOT Claude Code's Agent() tool. The
|
|
17
|
+
server emits the full call for you, including `model:` for per-agent model fidelity:
|
|
18
|
+
**Task(subagent_type, model, prompt, run_in_background: true)**. Pass the emitted
|
|
19
|
+
`model:` through — without it Cursor runs the parent orchestrator's model and
|
|
20
|
+
consensus scores misattribute the work.
|
|
21
|
+
2. Pass the AGENT_PROMPT content **verbatim** to Task(prompt: ...).
|
|
22
|
+
3. Call **gossip_relay(task_id, relay_token, result)** with the agent's **raw** output.
|
|
23
|
+
|
|
24
|
+
Never skip gossip_relay — without it, results are lost (no memory, no consensus, no dashboard).
|
|
25
|
+
|
|
26
|
+
**Worktree:** Cursor has no `isolation: "worktree"`. Use `write_mode: "scoped"` or a dedicated branch for write isolation.
|
|
27
|
+
|
|
28
|
+
## Team Setup
|
|
29
|
+
|
|
30
|
+
- **type: "native"** — `.gossip/config.json` + `.claude/agents/<id>.md` (shared agent defs). Dispatched via Cursor **Task** tool.
|
|
31
|
+
- **type: "custom"** — relay agents (Gemini, OpenAI, etc.) via API keys.
|
|
32
|
+
|
|
33
|
+
## Dispatching work
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
gossip_run(agent_id: "<id>", task: "...")
|
|
37
|
+
gossip_dispatch(mode: "parallel" | "consensus", tasks: [...]) → gossip_collect(...)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
After dispatching, print a visible summary:
|
|
41
|
+
```
|
|
42
|
+
┌─ gossipcat dispatch ────────────────────────┐
|
|
43
|
+
│ task-id → agent-name (relay 📡|native 🧠) │
|
|
44
|
+
└─────────────────────────────────────────────┘
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Available Agents
|
|
48
|
+
{{AGENT_LIST}}
|
|
49
|
+
|
|
50
|
+
## Consensus Workflow
|
|
51
|
+
|
|
52
|
+
1. `gossip_dispatch(mode: "consensus", tasks: [...])`
|
|
53
|
+
2. Run native **Task()** calls + `gossip_relay` each result
|
|
54
|
+
3. `gossip_collect(task_ids, consensus: true)`
|
|
55
|
+
4. Run cross-review **Task()** calls + `gossip_relay_cross_review`
|
|
56
|
+
5. `gossip_collect(consensus: true)` again for final output
|
|
57
|
+
|
|
58
|
+
Verify ALL UNVERIFIED findings against the code before presenting results.
|
|
59
|
+
|
|
60
|
+
## Signals
|
|
61
|
+
|
|
62
|
+
Record with mandatory `finding_id`:
|
|
63
|
+
```
|
|
64
|
+
gossip_signals(action: "record", signals: [{
|
|
65
|
+
signal: "unique_confirmed",
|
|
66
|
+
agent_id: "<who>",
|
|
67
|
+
finding: "<description>",
|
|
68
|
+
finding_id: "<consensus_id>:<agent_id>:fN"
|
|
69
|
+
}])
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Call `gossip_session_save()` before ending your session.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gossipcat",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Multi-agent orchestration for Claude Code — parallel review, consensus, adaptive dispatch",
|
|
5
5
|
"mcpName": "io.github.ataberk-xyz/gossipcat",
|
|
6
6
|
"repository": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"dist-dashboard/",
|
|
25
25
|
"docs/HANDBOOK.md",
|
|
26
26
|
"docs/RULES.md",
|
|
27
|
+
"docs/CURSOR_RULES.md",
|
|
27
28
|
"scripts/postinstall.js",
|
|
28
29
|
"assets/hooks/discipline/**"
|
|
29
30
|
],
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
},
|
|
60
61
|
"overrides": {
|
|
61
62
|
"ip-address": "^10.1.1",
|
|
62
|
-
"hono": ">=4.12.
|
|
63
|
+
"hono": ">=4.12.25 <5",
|
|
63
64
|
"fast-uri": ">=3.1.2",
|
|
64
65
|
"postcss": "^8.5.10",
|
|
65
66
|
"js-yaml": "^4.2.0"
|