@massa-ai/opencode-plugin 1.5.0 → 1.7.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.
@@ -22,7 +22,8 @@ Provide architectural guidance by evaluating structure, suggesting boundaries, a
22
22
  ## Restrictions
23
23
  - Never implement.
24
24
  - Never rewrite code.
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Inputs
28
29
  - `scope`: the module, service, or area under evaluation.
@@ -21,7 +21,8 @@ Execute a specialized audit through one configurable lens and return findings-on
21
21
  ## Restrictions
22
22
  - Never modify implementation.
23
23
  - One lens per dispatch; do not mix lenses in one run.
24
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
24
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
25
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
25
26
 
26
27
  ## Lenses
27
28
 
@@ -23,7 +23,8 @@ Implement an approved plan or task by modifying source code with a disjoint writ
23
23
  - Never perform reviews.
24
24
  - Never generate implementation plans.
25
25
  - Never write outside the assigned disjoint write set.
26
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
26
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
27
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
27
28
 
28
29
  ## Inputs
29
30
  - `scope`: exact files and modules to modify (disjoint write set).
@@ -24,7 +24,8 @@ Prepare the minimum high-quality Context Packet required for another agent to do
24
24
  - Never implement.
25
25
  - Never review.
26
26
  - Never plan.
27
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
27
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
28
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
28
29
 
29
30
  ## Inputs
30
31
  - `scope`: the next agent's task and target area.
@@ -22,7 +22,8 @@ Generate engineering documentation artifacts (README, ADR, RFC, changelog, KDoc,
22
22
  ## Restrictions
23
23
  - Never modify implementation.
24
24
  - Write only when scoped with a disjoint write set (same constraint as builder).
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Inputs
28
29
  - `scope`: the doc artifact type and target area.
@@ -23,7 +23,8 @@ Analyze exactly one FURPS+ dimension of a PRD or ADR against its checklist secti
23
23
  - Never analyze a dimension other than the assigned one; flag cross-dimension gaps instead of expanding into them.
24
24
  - Never write files, never mutate Atlassian issues, never write memory.
25
25
  - Never return raw document dumps.
26
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
26
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
27
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
27
28
  - Do not use this role for The Fool critique (use `plan-critic`) or for code claims (use `investigator` / `verification-agent`).
28
29
 
29
30
  ## Inputs
@@ -23,7 +23,8 @@ Read and understand the codebase to answer engineering questions without modifyi
23
23
  - Never modify code.
24
24
  - Never generate implementation.
25
25
  - Never perform reviews.
26
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
26
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
27
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
27
28
 
28
29
  ## Inputs
29
30
  - `scope`: files, modules, symbols, or questions to investigate.
@@ -22,7 +22,8 @@ Provide mobile-specific expertise (Android, iOS, KMP) when the workflow detects
22
22
  ## Restrictions
23
23
  - Refuse non-mobile targets (no `build.gradle`, `Podfile`, `*.kt`, `*.swift`, `ios/`, `android/`).
24
24
  - Never implement (read-only guidance only).
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Topics
28
29
 
@@ -30,7 +30,8 @@ The user's codebase is **already indexed** by massa-ai. The first move on any qu
30
30
  - Never scan directories exhaustively or read whole trees to answer a narrow question.
31
31
  - Never paste long code; summarize and cite.
32
32
  - Never call `reset_project`, `index`, or `reindex`; report the needed reindex to the parent agent instead.
33
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
33
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
34
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
34
35
 
35
36
  ## Inputs
36
37
  - `question`: the exploration question to answer.
@@ -24,7 +24,8 @@ Challenge a plan that already exists so its weakest assumption is exposed before
24
24
  - Never implement, refactor, or run mutating commands.
25
25
  - Never expand scope beyond the plan packet received.
26
26
  - Never request or reconstruct full conversation history.
27
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
27
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
28
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
28
29
 
29
30
  ## Inputs
30
31
  - `plan`: the concrete proposed plan text.
@@ -22,7 +22,8 @@ Transform an engineering request into a structured implementation plan.
22
22
  ## Restrictions
23
23
  - Never implement.
24
24
  - Never review code.
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Inputs
28
29
  - `scope`: the request, target area, and known constraints.
@@ -22,7 +22,8 @@ Analyze requirements before implementation to surface ambiguity, gaps, contradic
22
22
  ## Restrictions
23
23
  - Never implement.
24
24
  - Never silently drop a requirement; flag every gap for user acceptance or record as an assumption.
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Inputs
28
29
  - `scope`: the requirement set, PRD, or spec under analysis.
@@ -23,7 +23,8 @@ Review implementation quality by analyzing the diff and flagging bugs, regressio
23
23
  - Never implement.
24
24
  - Never rewrite files.
25
25
  - Never plan features.
26
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
26
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
27
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
27
28
 
28
29
  ## Inputs
29
30
  - `scope`: the diff, changed files, or PR to review.
@@ -23,7 +23,8 @@ Generate a testing strategy that covers unit, integration, edge cases, negative
23
23
  - Focus only on testing.
24
24
  - No production code changes outside test files.
25
25
  - Write only when scoped with a disjoint write set (same constraint as builder).
26
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
26
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
27
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
27
28
 
28
29
  ## Inputs
29
30
  - `scope`: the feature, module, or spec to test.
@@ -22,7 +22,8 @@ Centralize Verification Ladder logic and validate that a task's output meets its
22
22
  ## Restrictions
23
23
  - Never modify implementation.
24
24
  - Never skip a verification level without recording a concrete reason.
25
- - Never spawn subagents and never load the `massa-ai` router; the dispatching workflow owns routing.
25
+ - Never spawn subagents, never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
26
+ - A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
26
27
 
27
28
  ## Inputs
28
29
  - `scope`: the task, its acceptance criteria, and the files changed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massa-ai/opencode-plugin",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "massa-ai plugin for OpenCode - Semantic code search, memory, and context compression",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@opencode-ai/plugin": "^1.2.15",
23
23
  "@opencode-ai/sdk": "^1.2.15",
24
- "@massa-ai/core": "^1.5.0",
25
- "@massa-ai/shared": "^1.5.0"
24
+ "@massa-ai/core": "^1.7.0",
25
+ "@massa-ai/shared": "^1.7.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.10.5",