@wrongstack/core 0.307.1 → 0.308.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.
Files changed (53) hide show
  1. package/dist/coordination/agents/index.js +4 -4
  2. package/dist/coordination/index.js +5 -4
  3. package/dist/core/index.js +1 -1
  4. package/dist/defaults/index.js +5 -4
  5. package/dist/execution/index.js +4 -4
  6. package/dist/index.js +7 -5
  7. package/dist/storage/index.js +1 -0
  8. package/dist/tools/index.js +4 -4
  9. package/dist/types/config/ui.d.ts +1 -1
  10. package/dist/types/index.js +2 -1
  11. package/dist/types/runtime-capability-manifest.d.ts +1 -1
  12. package/instructions/agents/backend.md +3 -0
  13. package/instructions/agents/bug-hunter.md +3 -0
  14. package/instructions/agents/code-reviewer.md +1 -0
  15. package/instructions/agents/frontend.md +2 -0
  16. package/instructions/agents/test.md +2 -0
  17. package/instructions/modes/code-reviewer.md +1 -1
  18. package/instructions/modes/debugger.md +2 -2
  19. package/instructions/modes/refactorer.md +2 -2
  20. package/instructions/modes/tester.md +2 -2
  21. package/instructions/system-lite.md +37 -33
  22. package/instructions/system-pro.md +23 -7
  23. package/instructions/system.md +33 -11
  24. package/package.json +4 -3
  25. package/skills/api-design/SKILL.md +26 -1
  26. package/skills/audit-log/SKILL.md +22 -1
  27. package/skills/auto-review/SKILL.md +21 -1
  28. package/skills/bug-hunter/SKILL.md +8 -0
  29. package/skills/chimera/SKILL.md +9 -0
  30. package/skills/data-governance/SKILL.md +25 -1
  31. package/skills/design-system/SKILL.md +19 -1
  32. package/skills/docker-deploy/SKILL.md +26 -1
  33. package/skills/git-flow/SKILL.md +26 -1
  34. package/skills/mailbox-bridge/SKILL.md +25 -1
  35. package/skills/mnemosyne/SKILL.md +25 -2
  36. package/skills/multi-agent/SKILL.md +12 -0
  37. package/skills/node-modern/SKILL.md +28 -1
  38. package/skills/observability/SKILL.md +25 -1
  39. package/skills/output-standards/SKILL.md +28 -1
  40. package/skills/plugin-author/SKILL.md +31 -1
  41. package/skills/prompt-engineering/SKILL.md +27 -1
  42. package/skills/react-modern/SKILL.md +29 -1
  43. package/skills/refactor-planner/SKILL.md +10 -0
  44. package/skills/research-web/SKILL.md +28 -1
  45. package/skills/sdd/SKILL.md +18 -0
  46. package/skills/security-scanner/SKILL.md +25 -1
  47. package/skills/skill-creator/SKILL.md +25 -1
  48. package/skills/tech-stack/SKILL.md +25 -1
  49. package/skills/testing/SKILL.md +25 -1
  50. package/skills/typescript-strict/SKILL.md +30 -1
  51. package/skills/wrongstack-kanban/SKILL.md +24 -0
  52. package/skills/wrongstack-mailbox/SKILL.md +29 -1
  53. package/skills/wrongstack-mailbox-mcp/SKILL.md +30 -3
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: wrongstack-mailbox-mcp
3
3
  description: Coordinate with WrongStack agents through the project-scoped Mailbox MCP server. Use when an external coding agent needs to inspect unread or incomplete messages, query conversation history, discover online agents, send direct/reply/broadcast/steer messages, acknowledge outcomes, maintain its presence, soft-delete or restore messages, watch for changes, or perform explicitly authorized Mailbox administration without reading Mailbox files or SQLite directly.
4
+ version: 1.0.0
4
5
  required-capabilities: [mcp.dynamic]
5
6
  required-tools: [mcp_use]
6
7
  ---
@@ -69,6 +70,32 @@ contain identifiers and metadata, not the authoritative message snapshot.
69
70
  - `mailbox_admin` provides clear, purge, compaction, and credential issue/verify/revoke/rotate/list
70
71
  operations. It requires `--admin`, which implies writable mode.
71
72
 
72
- Before `clear_all`, purge, credential revocation/rotation, or another broad administrative action,
73
- confirm that it is explicitly requested and re-read relevant state. Never use an admin operation to
74
- work around a routing, identity, or authorization error.
73
+ ## Out of scope
74
+
75
+ - **Don't read or edit Mailbox files directly.** No `_mailbox.sqlite`, no legacy JSONL, no bridge locks, no token files. MCP is the only boundary; bypassing it through any of those channels breaks trust and audit.
76
+ - **Don't impersonate another actor.** The server fixes sender, receipt, deletion, registration, and heartbeat identity to `--actor`. Tool arguments cannot override that. Use the actor id you were given, honestly.
77
+ - **Don't reach for `steer` on routine direction.** Steer is for changed direction mid-task. For normal coordination, `ask`, `assign`, or `result` are the right types.
78
+ - **Don't broadcast when direct addressing is correct.** Broadcast reaches every relevant agent; most messages don't.
79
+ - **Don't run admin operations to bypass routing, identity, or authorization errors.** If a call is denied for one of those reasons, the call is wrong. Re-read state, ask, or stop. Admin paths are for explicitly authorized administration, not workarounds.
80
+ - **Don't skip `register_self`.** Without registration, the runtime can't reconcile heartbeats or surface the agent in the workbench.
81
+ - **Don't treat `mailbox_watch` events as authoritative.** Watch is a wake-up hint, not a snapshot. After every event, reconcile through `mailbox_read`.
82
+
83
+ ## Before returning
84
+
85
+ - [ ] MCP server reached via `mcp_use`; never opened Mailbox files directly
86
+ - [ ] Actor id stable and honest; no impersonation of `hq@...` or other agents
87
+ - [ ] `register_self` called with stable name and role before any other traffic
88
+ - [ ] `mailbox_read` with `unreadBy` + `incompleteOnly` used to find actionable work
89
+ - [ ] `online_agents` checked before time-sensitive direct sends
90
+ - [ ] `send` carries an explicit recipient and the right message type
91
+ - [ ] `replyTo` set on threaded replies; no orphan context
92
+ - [ ] `ack` / `ack_many` called with truthful `outcome` after work
93
+ - [ ] `heartbeat_self` running during long work; `deregister_self` on clean shutdown
94
+ - [ ] Admin operations (`clear_all`, purge, credential issue/revoke) only when explicitly requested
95
+
96
+ ## Skills in scope
97
+
98
+ - `mailbox-bridge` — for the WrongStack-internal HTTP façade this MCP server mirrors
99
+ - `wrongstack-mailbox` — for the external-facing counterpart used by Claude Code / Aider / scripts
100
+ - `security-scanner` — for confirming the MCP server's authn/authz surface matches project security conventions
101
+ - `output-standards` — for the `<nextsteps>` shape when reporting mailbox activity to the user