@massa-ai/cursor-plugin 1.61.0 → 1.62.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 +2 -2
- package/agent-profiles/{heavy/massa-ai-builder.md → balanced/builder.md} +4 -4
- package/agent-profiles/balanced/code-explorer.md +102 -0
- package/agent-profiles/balanced/code-reviewer.md +134 -0
- package/agent-profiles/balanced/designer.md +84 -0
- package/agent-profiles/balanced/judge.md +147 -0
- package/agent-profiles/balanced/product-manager.md +108 -0
- package/agent-profiles/balanced/test-engineer.md +100 -0
- package/agent-profiles/cheap/{massa-ai-builder.md → builder.md} +4 -4
- package/agent-profiles/cheap/code-explorer.md +102 -0
- package/agent-profiles/cheap/code-reviewer.md +134 -0
- package/agent-profiles/cheap/designer.md +84 -0
- package/agent-profiles/cheap/judge.md +147 -0
- package/agent-profiles/cheap/product-manager.md +108 -0
- package/agent-profiles/cheap/test-engineer.md +100 -0
- package/agent-profiles/{balanced/massa-ai-builder.md → heavy/builder.md} +4 -4
- package/agent-profiles/heavy/code-explorer.md +102 -0
- package/agent-profiles/heavy/code-reviewer.md +134 -0
- package/agent-profiles/heavy/designer.md +84 -0
- package/agent-profiles/heavy/judge.md +147 -0
- package/agent-profiles/heavy/product-manager.md +108 -0
- package/agent-profiles/heavy/test-engineer.md +100 -0
- package/agent-profiles/home/{massa-ai-builder.md → builder.md} +4 -4
- package/agent-profiles/home/code-explorer.md +102 -0
- package/agent-profiles/home/code-reviewer.md +134 -0
- package/agent-profiles/home/designer.md +84 -0
- package/agent-profiles/home/judge.md +147 -0
- package/agent-profiles/home/product-manager.md +108 -0
- package/agent-profiles/home/test-engineer.md +100 -0
- package/agent-profiles/work/builder.md +63 -0
- package/agent-profiles/work/code-explorer.md +102 -0
- package/agent-profiles/work/code-reviewer.md +134 -0
- package/agent-profiles/work/designer.md +84 -0
- package/agent-profiles/work/judge.md +147 -0
- package/agent-profiles/work/product-manager.md +108 -0
- package/agent-profiles/work/test-engineer.md +100 -0
- package/agents/builder.md +63 -0
- package/agents/code-explorer.md +102 -0
- package/agents/code-reviewer.md +134 -0
- package/agents/designer.md +84 -0
- package/agents/judge.md +147 -0
- package/agents/product-manager.md +108 -0
- package/agents/test-engineer.md +100 -0
- package/hooks/massa-ai-hook +4 -4
- package/install.sh +110 -33
- package/package.json +1 -1
- package/skills/agents/builder/SKILL.md +3 -4
- package/skills/agents/code-explorer/SKILL.md +104 -0
- package/skills/agents/code-reviewer/SKILL.md +136 -0
- package/skills/agents/designer/SKILL.md +34 -17
- package/skills/agents/judge/SKILL.md +99 -48
- package/skills/agents/product-manager/SKILL.md +110 -0
- package/skills/agents/test-engineer/SKILL.md +57 -22
- package/skills/bootstrap/SKILL.md +4 -5
- package/skills/{adr → create-adr}/SKILL.md +3 -3
- package/skills/{to-prd → create-prd}/SKILL.md +3 -3
- package/skills/{rfc → create-rfc}/SKILL.md +3 -3
- package/skills/{tdd → create-tdd}/SKILL.md +3 -3
- package/skills/{ticket → create-ticket}/SKILL.md +3 -3
- package/skills/massa-ai/SKILL.md +26 -29
- package/skills/massa-ai/references/agent-orchestration.md +62 -58
- package/skills/massa-ai/references/audit-report-io.md +8 -87
- package/skills/massa-ai/references/code-reuse-scan.md +1 -1
- package/skills/massa-ai/references/{adr-authoring.md → create-adr.md} +3 -3
- package/skills/massa-ai/references/{rfc → create-rfc}/discovery-and-sizing.md +1 -1
- package/skills/massa-ai/references/{tdd → create-tdd}/calibrated-examples.md +3 -3
- package/skills/massa-ai/references/{tdd → create-tdd}/discovery-and-sizing.md +1 -1
- package/skills/massa-ai/references/{tdd → create-tdd}/quality-and-lifecycle.md +1 -1
- package/skills/massa-ai/references/{ticket → create-ticket}/intake-and-sources.md +1 -1
- package/skills/massa-ai/references/figma-pre-analysis.md +1 -1
- package/skills/massa-ai/references/furps/analyst-role.md +3 -3
- package/skills/massa-ai/references/furps/checklist.md +2 -2
- package/skills/massa-ai/references/furps/intake.md +7 -7
- package/skills/massa-ai/references/hook-enforcement.md +4 -8
- package/skills/massa-ai/references/implementation-delivery.md +2 -2
- package/skills/massa-ai/references/knowledge-verification-chain.md +0 -1
- package/skills/massa-ai/references/mobile-context.md +2 -5
- package/skills/massa-ai/references/pr-task-fix.md +1 -1
- package/skills/massa-ai/references/spec-driven/sub-agents.md +3 -3
- package/skills/massa-ai/references/spec-driven/validate.md +1 -1
- package/skills/massa-ai/references/subagent-design.md +6 -9
- package/skills/massa-ai/references/verification-ladder.md +2 -2
- package/skills/massa-ai/scripts/validate_audit_report.ts +3 -8
- package/skills/massa-ai/workflows/architecture/architecture-audit.md +4 -5
- package/skills/massa-ai/workflows/architecture/architecture-fix.md +5 -6
- package/skills/massa-ai/workflows/bugs/bugs-audit.md +2 -3
- package/skills/massa-ai/workflows/bugs/bugs-fix.md +4 -5
- package/skills/massa-ai/workflows/code-quality/code-quality-audit.md +2 -3
- package/skills/massa-ai/workflows/code-quality/code-quality-fix.md +4 -5
- package/skills/massa-ai/workflows/commit.md +3 -3
- package/skills/massa-ai/workflows/{adr.md → create-adr.md} +10 -10
- package/skills/massa-ai/workflows/{to-prd.md → create-prd.md} +4 -4
- package/skills/massa-ai/workflows/{rfc.md → create-rfc.md} +6 -6
- package/skills/massa-ai/workflows/{tdd.md → create-tdd.md} +11 -11
- package/skills/massa-ai/workflows/{ticket.md → create-ticket.md} +5 -5
- package/skills/massa-ai/workflows/debug.md +4 -5
- package/skills/massa-ai/workflows/design.md +2 -2
- package/skills/massa-ai/workflows/exploration.md +2 -2
- package/skills/massa-ai/workflows/feature.md +5 -6
- package/skills/massa-ai/workflows/implementation/implementation-audit.md +22 -3
- package/skills/massa-ai/workflows/implementation/implementation-fix.md +6 -7
- package/skills/massa-ai/workflows/judge-with-debate.md +14 -14
- package/skills/massa-ai/workflows/mobile-figma/mobile-figma-audit.md +2 -2
- package/skills/massa-ai/workflows/mobile-figma/mobile-figma-fix.md +10 -11
- package/skills/massa-ai/workflows/pr-review.md +31 -13
- package/skills/massa-ai/workflows/{discovery.md → product-discovery.md} +12 -12
- package/skills/massa-ai/workflows/refactor.md +4 -5
- package/skills/massa-ai/workflows/refinement/furps-refinement.md +7 -7
- package/skills/massa-ai/workflows/requirements/requirements-audit.md +2 -2
- package/skills/massa-ai/workflows/requirements/requirements-fix.md +5 -6
- package/skills/massa-ai/workflows/security/security-audit.md +2 -3
- package/skills/massa-ai/workflows/security/security-fix.md +3 -4
- package/skills/massa-ai/workflows/spec-driven.md +9 -10
- package/skills/massa-ai/workflows/tests/tests-audit.md +2 -2
- package/skills/massa-ai/workflows/tests/tests-fix.md +16 -6
- package/skills/massa-ai/workflows/the-fool.md +7 -7
- package/skills/{discovery → product-discovery}/SKILL.md +3 -3
- package/agent-profiles/balanced/massa-ai-architecture-specialist.md +0 -62
- package/agent-profiles/balanced/massa-ai-audit-specialist.md +0 -79
- package/agent-profiles/balanced/massa-ai-context-curator.md +0 -64
- package/agent-profiles/balanced/massa-ai-designer.md +0 -66
- package/agent-profiles/balanced/massa-ai-documentation-agent.md +0 -61
- package/agent-profiles/balanced/massa-ai-furps-analyst.md +0 -68
- package/agent-profiles/balanced/massa-ai-investigator.md +0 -65
- package/agent-profiles/balanced/massa-ai-judge.md +0 -95
- package/agent-profiles/balanced/massa-ai-meta-judge.md +0 -84
- package/agent-profiles/balanced/massa-ai-mobile-specialist.md +0 -79
- package/agent-profiles/balanced/massa-ai-navigator.md +0 -72
- package/agent-profiles/balanced/massa-ai-plan-critic.md +0 -87
- package/agent-profiles/balanced/massa-ai-planner.md +0 -62
- package/agent-profiles/balanced/massa-ai-requirements-analyst.md +0 -61
- package/agent-profiles/balanced/massa-ai-reviewer.md +0 -63
- package/agent-profiles/balanced/massa-ai-test-engineer.md +0 -63
- package/agent-profiles/balanced/massa-ai-verification-agent.md +0 -62
- package/agent-profiles/cheap/massa-ai-architecture-specialist.md +0 -62
- package/agent-profiles/cheap/massa-ai-audit-specialist.md +0 -79
- package/agent-profiles/cheap/massa-ai-context-curator.md +0 -64
- package/agent-profiles/cheap/massa-ai-designer.md +0 -66
- package/agent-profiles/cheap/massa-ai-documentation-agent.md +0 -61
- package/agent-profiles/cheap/massa-ai-furps-analyst.md +0 -68
- package/agent-profiles/cheap/massa-ai-investigator.md +0 -65
- package/agent-profiles/cheap/massa-ai-judge.md +0 -95
- package/agent-profiles/cheap/massa-ai-meta-judge.md +0 -84
- package/agent-profiles/cheap/massa-ai-mobile-specialist.md +0 -79
- package/agent-profiles/cheap/massa-ai-navigator.md +0 -72
- package/agent-profiles/cheap/massa-ai-plan-critic.md +0 -87
- package/agent-profiles/cheap/massa-ai-planner.md +0 -62
- package/agent-profiles/cheap/massa-ai-requirements-analyst.md +0 -61
- package/agent-profiles/cheap/massa-ai-reviewer.md +0 -63
- package/agent-profiles/cheap/massa-ai-test-engineer.md +0 -63
- package/agent-profiles/cheap/massa-ai-verification-agent.md +0 -62
- package/agent-profiles/heavy/massa-ai-architecture-specialist.md +0 -62
- package/agent-profiles/heavy/massa-ai-audit-specialist.md +0 -79
- package/agent-profiles/heavy/massa-ai-context-curator.md +0 -64
- package/agent-profiles/heavy/massa-ai-designer.md +0 -66
- package/agent-profiles/heavy/massa-ai-documentation-agent.md +0 -61
- package/agent-profiles/heavy/massa-ai-furps-analyst.md +0 -68
- package/agent-profiles/heavy/massa-ai-investigator.md +0 -65
- package/agent-profiles/heavy/massa-ai-judge.md +0 -95
- package/agent-profiles/heavy/massa-ai-meta-judge.md +0 -84
- package/agent-profiles/heavy/massa-ai-mobile-specialist.md +0 -79
- package/agent-profiles/heavy/massa-ai-navigator.md +0 -72
- package/agent-profiles/heavy/massa-ai-plan-critic.md +0 -87
- package/agent-profiles/heavy/massa-ai-planner.md +0 -62
- package/agent-profiles/heavy/massa-ai-requirements-analyst.md +0 -61
- package/agent-profiles/heavy/massa-ai-reviewer.md +0 -63
- package/agent-profiles/heavy/massa-ai-test-engineer.md +0 -63
- package/agent-profiles/heavy/massa-ai-verification-agent.md +0 -62
- package/agent-profiles/home/massa-ai-architecture-specialist.md +0 -62
- package/agent-profiles/home/massa-ai-audit-specialist.md +0 -79
- package/agent-profiles/home/massa-ai-context-curator.md +0 -64
- package/agent-profiles/home/massa-ai-designer.md +0 -66
- package/agent-profiles/home/massa-ai-documentation-agent.md +0 -61
- package/agent-profiles/home/massa-ai-furps-analyst.md +0 -68
- package/agent-profiles/home/massa-ai-investigator.md +0 -65
- package/agent-profiles/home/massa-ai-judge.md +0 -95
- package/agent-profiles/home/massa-ai-meta-judge.md +0 -84
- package/agent-profiles/home/massa-ai-mobile-specialist.md +0 -79
- package/agent-profiles/home/massa-ai-navigator.md +0 -72
- package/agent-profiles/home/massa-ai-plan-critic.md +0 -87
- package/agent-profiles/home/massa-ai-planner.md +0 -62
- package/agent-profiles/home/massa-ai-requirements-analyst.md +0 -61
- package/agent-profiles/home/massa-ai-reviewer.md +0 -63
- package/agent-profiles/home/massa-ai-test-engineer.md +0 -63
- package/agent-profiles/home/massa-ai-verification-agent.md +0 -62
- package/agent-profiles/work/massa-ai-architecture-specialist.md +0 -62
- package/agent-profiles/work/massa-ai-audit-specialist.md +0 -79
- package/agent-profiles/work/massa-ai-builder.md +0 -63
- package/agent-profiles/work/massa-ai-context-curator.md +0 -64
- package/agent-profiles/work/massa-ai-designer.md +0 -66
- package/agent-profiles/work/massa-ai-documentation-agent.md +0 -61
- package/agent-profiles/work/massa-ai-furps-analyst.md +0 -68
- package/agent-profiles/work/massa-ai-investigator.md +0 -65
- package/agent-profiles/work/massa-ai-judge.md +0 -95
- package/agent-profiles/work/massa-ai-meta-judge.md +0 -84
- package/agent-profiles/work/massa-ai-mobile-specialist.md +0 -79
- package/agent-profiles/work/massa-ai-navigator.md +0 -72
- package/agent-profiles/work/massa-ai-plan-critic.md +0 -87
- package/agent-profiles/work/massa-ai-planner.md +0 -62
- package/agent-profiles/work/massa-ai-requirements-analyst.md +0 -61
- package/agent-profiles/work/massa-ai-reviewer.md +0 -63
- package/agent-profiles/work/massa-ai-test-engineer.md +0 -63
- package/agent-profiles/work/massa-ai-verification-agent.md +0 -62
- package/agents/massa-ai-architecture-specialist.md +0 -62
- package/agents/massa-ai-audit-specialist.md +0 -79
- package/agents/massa-ai-builder.md +0 -63
- package/agents/massa-ai-context-curator.md +0 -64
- package/agents/massa-ai-designer.md +0 -66
- package/agents/massa-ai-documentation-agent.md +0 -61
- package/agents/massa-ai-furps-analyst.md +0 -68
- package/agents/massa-ai-investigator.md +0 -65
- package/agents/massa-ai-judge.md +0 -95
- package/agents/massa-ai-meta-judge.md +0 -84
- package/agents/massa-ai-mobile-specialist.md +0 -79
- package/agents/massa-ai-navigator.md +0 -72
- package/agents/massa-ai-plan-critic.md +0 -87
- package/agents/massa-ai-planner.md +0 -62
- package/agents/massa-ai-requirements-analyst.md +0 -61
- package/agents/massa-ai-reviewer.md +0 -63
- package/agents/massa-ai-test-engineer.md +0 -63
- package/agents/massa-ai-verification-agent.md +0 -62
- package/skills/agents/architecture-specialist/SKILL.md +0 -66
- package/skills/agents/audit-specialist/SKILL.md +0 -83
- package/skills/agents/context-curator/SKILL.md +0 -68
- package/skills/agents/documentation-agent/SKILL.md +0 -66
- package/skills/agents/furps-analyst/SKILL.md +0 -71
- package/skills/agents/investigator/SKILL.md +0 -69
- package/skills/agents/meta-judge/SKILL.md +0 -87
- package/skills/agents/mobile-specialist/SKILL.md +0 -83
- package/skills/agents/navigator/SKILL.md +0 -76
- package/skills/agents/plan-critic/SKILL.md +0 -90
- package/skills/agents/planner/SKILL.md +0 -66
- package/skills/agents/requirements-analyst/SKILL.md +0 -65
- package/skills/agents/reviewer/SKILL.md +0 -67
- package/skills/agents/verification-agent/SKILL.md +0 -66
- package/skills/general/SKILL.md +0 -14
- package/skills/maestro/SKILL.md +0 -14
- package/skills/maestro-audit/SKILL.md +0 -14
- package/skills/maestro-fix/SKILL.md +0 -14
- package/skills/massa-ai/personas/README.md +0 -35
- package/skills/massa-ai/personas/ai-native-nodejs-cli-architect.md +0 -47
- package/skills/massa-ai/personas/catalog.json +0 -7
- package/skills/massa-ai/personas/context-skill-harness-engineer-architect.md +0 -47
- package/skills/massa-ai/personas/product-manager.md +0 -65
- package/skills/massa-ai/personas/senior-mobile-engineer.md +0 -46
- package/skills/massa-ai/personas/senior-mobile-qa-automation-engineer.md +0 -51
- package/skills/massa-ai/personas/signals/ai-native-nodejs-cli-architect.json +0 -20
- package/skills/massa-ai/personas/signals/context-skill-harness-engineer-architect.json +0 -20
- package/skills/massa-ai/personas/signals/product-manager.json +0 -21
- package/skills/massa-ai/personas/signals/senior-mobile-engineer.json +0 -18
- package/skills/massa-ai/personas/signals/senior-mobile-qa-automation-engineer.json +0 -18
- package/skills/massa-ai/references/maestro/artifacts-reports.md +0 -69
- package/skills/massa-ai/references/maestro/cli-device.md +0 -65
- package/skills/massa-ai/references/maestro/cloud.md +0 -69
- package/skills/massa-ai/references/maestro/config-env-output.md +0 -76
- package/skills/massa-ai/references/maestro/fact-ledger.md +0 -73
- package/skills/massa-ai/references/maestro/js-scripting.md +0 -70
- package/skills/massa-ai/references/maestro/mcp.md +0 -59
- package/skills/massa-ai/references/maestro/patterns.md +0 -102
- package/skills/massa-ai/references/maestro/selectors.md +0 -91
- package/skills/massa-ai/references/maestro/workspace-execution.md +0 -81
- package/skills/massa-ai/references/maestro/yaml-commands.md +0 -203
- package/skills/massa-ai/references/maestro.md +0 -31
- package/skills/massa-ai/workflows/general.md +0 -88
- package/skills/massa-ai/workflows/maestro/maestro-audit.md +0 -64
- package/skills/massa-ai/workflows/maestro/maestro-fix.md +0 -111
- package/skills/massa-ai/workflows/maestro/maestro.md +0 -80
- package/skills/persona-router/SKILL.md +0 -52
- package/skills/persona-router/references/routing-details.md +0 -98
- /package/skills/massa-ai/references/{rfc → create-rfc}/ATTRIBUTION.md +0 -0
- /package/skills/massa-ai/references/{rfc → create-rfc}/document-contract.md +0 -0
- /package/skills/massa-ai/references/{rfc → create-rfc}/quality-and-lifecycle.md +0 -0
- /package/skills/massa-ai/references/{tdd → create-tdd}/document-contract.md +0 -0
- /package/skills/massa-ai/references/{ticket → create-ticket}/atlassian-fix.md +0 -0
- /package/skills/massa-ai/references/{ticket → create-ticket}/templates-and-quality.md +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Turn the current conversation into a PRD. Use when the user asks to create, synthesize, or convert existing discussion and codebase context into a Product Requirements Document without another interview. Do NOT use for implementation plans, architecture design docs, RFCs, TDDs, or discovery interviews that require new product questioning. — explicit massa-ai '
|
|
2
|
+
description: "Turn the current conversation into a PRD. Use when the user asks to create, synthesize, or convert existing discussion and codebase context into a Product Requirements Document without another interview. Do NOT use for implementation plans, architecture design docs, RFCs, TDDs, or discovery interviews that require new product questioning. — explicit massa-ai 'create-prd' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-prd`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `
|
|
10
|
+
route to workflow `create-prd` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow when a significant technical, process, product, vendor, tool, or policy decision is still open and stakeholders need a structured proposal before committing. — explicit massa-ai 'rfc' workflow"
|
|
2
|
+
description: "Use this workflow when a significant technical, process, product, vendor, tool, or policy decision is still open and stakeholders need a structured proposal before committing. — explicit massa-ai 'create-rfc' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `rfc`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-rfc`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `rfc` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-rfc` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow to write a Technical Design Document once one product direction is selected and no unresolved API, data, security, or rollout decision blocks implementation. — explicit massa-ai 'tdd' workflow"
|
|
2
|
+
description: "Use this workflow to write a Technical Design Document once one product direction is selected and no unresolved API, data, security, or rollout decision blocks implementation. — explicit massa-ai 'create-tdd' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `tdd`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-tdd`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `tdd` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-tdd` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow to draft, review, create, or resume creation of Jira Epics, issues, or sub-tasks through Atlassian MCP, the only tracker and mutation path. — explicit massa-ai 'ticket' workflow"
|
|
2
|
+
description: "Use this workflow to draft, review, create, or resume creation of Jira Epics, issues, or sub-tasks through Atlassian MCP, the only tracker and mutation path. — explicit massa-ai 'create-ticket' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `ticket`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-ticket`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `ticket` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-ticket` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
package/skills/massa-ai/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: massa-ai
|
|
3
|
-
description: Default memory-backed workflow router for every coding, planning-before-coding, debugging, code review, refactoring, or implementation conversation. Always load it once per new coding session, select specialized workflows first, and
|
|
3
|
+
description: Default memory-backed workflow router for every coding, planning-before-coding, debugging, code review, refactoring, or implementation conversation. Always load it once per new coding session, select specialized workflows first, and work under the Core Contract without a workflow file otherwise. Handles massa-ai recall/search, durable memory, context compaction, handoff, audits, specs, ADR/RFC/TDD, and evidence gates. Do NOT use for generic non-coding chat or bulk-loading every workflow/reference.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Luiz Massa
|
|
@@ -35,6 +35,9 @@ Before reading any massa-ai file:
|
|
|
35
35
|
|
|
36
36
|
- Every coding/planning task uses one stable `projectId` and
|
|
37
37
|
`workflowSessionId`.
|
|
38
|
+
- Sub-agents are dispatched by bare charter name (`builder`, `code-reviewer`, ...).
|
|
39
|
+
On the Claude plugin route, dispatch the plugin-namespaced `massa-ai:<name>`
|
|
40
|
+
so a same-named user or project agent cannot intercept the dispatch.
|
|
38
41
|
- Start with `recall` for relevant prior decisions/patterns.
|
|
39
42
|
- Default startup/context recall is budgeted: use `limit <= 3`,
|
|
40
43
|
`minImportance >= 0.7`, and `types=["critical","decision","pattern"]`
|
|
@@ -113,7 +116,7 @@ Examples:
|
|
|
113
116
|
- `feature-user-onboarding`
|
|
114
117
|
- `refactor-auth-module`
|
|
115
118
|
- `spec-billing-workflow`
|
|
116
|
-
- `adr-postgres-migration`
|
|
119
|
+
- `create-adr-postgres-migration`
|
|
117
120
|
|
|
118
121
|
Resolve `projectId`:
|
|
119
122
|
|
|
@@ -143,9 +146,6 @@ current context already contains it.
|
|
|
143
146
|
| `security-fix` | fix security audit report findings | `workflows/security/security-fix.md` |
|
|
144
147
|
| `requirements-audit` | requirements/spec/acceptance/scope alignment findings | `workflows/requirements/requirements-audit.md` |
|
|
145
148
|
| `requirements-fix` | fix requirements audit report findings | `workflows/requirements/requirements-fix.md` |
|
|
146
|
-
| `maestro` | implement new Maestro mobile E2E flows | `workflows/maestro/maestro.md` |
|
|
147
|
-
| `maestro-audit` | run and audit existing Maestro mobile E2E flows | `workflows/maestro/maestro-audit.md` |
|
|
148
|
-
| `maestro-fix` | child-only fix for saved Maestro audit findings | `workflows/maestro/maestro-fix.md` |
|
|
149
149
|
| `tests-audit` | test coverage/regression/assertion/flakiness findings | `workflows/tests/tests-audit.md` |
|
|
150
150
|
| `tests-fix` | fix tests audit report findings | `workflows/tests/tests-fix.md` |
|
|
151
151
|
| `bugs-audit` | findings-only bug discovery | `workflows/bugs/bugs-audit.md` |
|
|
@@ -159,34 +159,33 @@ current context already contains it.
|
|
|
159
159
|
| `mobile-figma-audit` | compare an Android, iOS, or KMP UI implementation with a Figma design | `workflows/mobile-figma/mobile-figma-audit.md` |
|
|
160
160
|
| `mobile-figma-fix` | fix saved mobile Figma findings | `workflows/mobile-figma/mobile-figma-fix.md` |
|
|
161
161
|
| `refactor` | behavior-preserving structural cleanup | `workflows/refactor.md` |
|
|
162
|
-
| `adr` | record a finalized decision | `workflows/adr.md` |
|
|
163
|
-
| `rfc` | propose a significant change | `workflows/rfc.md` |
|
|
164
|
-
| `tdd` | technical design / implementation plan | `workflows/tdd.md` |
|
|
165
|
-
| `ticket` | draft and create Jira Epics, issues, and sub-tasks through Atlassian MCP | `workflows/ticket.md` |
|
|
162
|
+
| `create-adr` | record a finalized decision | `workflows/create-adr.md` |
|
|
163
|
+
| `create-rfc` | propose a significant change | `workflows/create-rfc.md` |
|
|
164
|
+
| `create-tdd` | technical design / implementation plan | `workflows/create-tdd.md` |
|
|
165
|
+
| `create-ticket` | draft and create Jira Epics, issues, and sub-tasks through Atlassian MCP | `workflows/create-ticket.md` |
|
|
166
166
|
| `commit` | draft or create safe Conventional Commits with Jira branch prefixes and audit report exclusions | `workflows/commit.md` |
|
|
167
167
|
| `the-fool` | direct challenge, red-team, pre-mortem, evidence audit | `workflows/the-fool.md` |
|
|
168
168
|
| `judge-with-debate` | standalone multi-judge debate evaluation of user-supplied artifacts | `workflows/judge-with-debate.md` |
|
|
169
169
|
| `pr-review` | review a hosted GitHub PR / GitLab MR and post findings via `gh`/`glab` | `workflows/pr-review.md` |
|
|
170
|
-
| `discovery` | product brainstorming / problem-space thinking partner | `workflows/discovery.md` |
|
|
171
|
-
| `
|
|
170
|
+
| `product-discovery` | product brainstorming / problem-space thinking partner | `workflows/product-discovery.md` |
|
|
171
|
+
| `create-prd` | turn the current conversation into a PRD without a new interview | `workflows/create-prd.md` |
|
|
172
172
|
| `skill-architect` | design and build a new skill through structured conversation | `workflows/skill-architect.md` |
|
|
173
173
|
| `furps-refinement` | FURPS+ refinement of a PRD and/or ADR before implementation, with The Fool pre-validation and DoR coverage | `workflows/refinement/furps-refinement.md` |
|
|
174
|
-
| `general` | coding work with no more specific workflow | `workflows/general.md` |
|
|
175
174
|
|
|
176
175
|
Explicitly requested workflows win. Otherwise choose the most specific matching
|
|
177
176
|
workflow. Use `exploration` only for explicitly read-only understanding or flow
|
|
178
|
-
mapping;
|
|
177
|
+
mapping; when no route's precedence key above matches, load no workflow file. Ask
|
|
179
178
|
the user only when two or more routes match the same precedence tier; a single
|
|
180
179
|
match or no match is resolved deterministically without asking.
|
|
181
180
|
|
|
182
181
|
Deterministic routing precedence, first match wins:
|
|
183
182
|
|
|
184
183
|
1. **Explicit route:** user names a massa-ai workflow, report family, saved finding type, or asks for a direct challenge.
|
|
185
|
-
2. **Requested artifact:** ADR, RFC, TDD, Jira ticket, commit, session guide, audit report, implementation audit report, mobile Figma report, FURPS refinement report, PRD synthesized from the current conversation -> `
|
|
186
|
-
3. **Target type:** broken behavior/error -> `debug`; hosted PR/MR reference (number or URL) to review with posted findings -> `pr-review` (local working diff stays with audit routes); saved audit finding -> matching `*-fix`; implementation scope review -> `implementation-audit`;
|
|
187
|
-
4. **Primary verb:** create/add/implement -> `feature
|
|
184
|
+
2. **Requested artifact:** ADR, RFC, TDD, Jira ticket, commit, session guide, audit report, implementation audit report, mobile Figma report, FURPS refinement report, PRD synthesized from the current conversation -> `create-prd` (explicit request only; refining an existing PRD stays `furps-refinement`), or new SKILL.md / skill design -> `skill-architect`.
|
|
185
|
+
3. **Target type:** broken behavior/error -> `debug`; hosted PR/MR reference (number or URL) to review with posted findings -> `pr-review` (local working diff stays with audit routes); saved audit finding -> matching `*-fix`; implementation scope review -> `implementation-audit`; security/privacy/auth finding -> security workflow; tests/flakes/coverage finding -> tests workflow; supplied Figma/screenshot mobile UI design -> `design`; mobile Figma compare/audit -> `mobile-figma-audit`; saved `MFM-*` findings -> `mobile-figma-fix`.
|
|
186
|
+
4. **Primary verb:** create/add/implement -> `feature`; restructure without behavior change -> `refactor`; inspect/understand only -> `exploration`; brainstorm/explore a product problem, idea, or direction with no concrete code target -> `product-discovery`; record selected decision -> `create-adr`; compare open options -> `create-rfc`; design settled implementation -> `create-tdd`; refine/quality-check an existing PRD or ADR document (not implementation auditing) -> `furps-refinement`.
|
|
188
187
|
5. **Risk domain escalation:** migrations, irreversible operations, auth/privacy, cross-service contracts, public compatibility, or work over 10 files routes to `spec-driven` unless the user explicitly requests a narrower workflow and accepts the containment.
|
|
189
|
-
6. **
|
|
188
|
+
6. **No match:** proceed without loading a workflow file. The main agent works under the Core Contract above (recall, verify, Evidence Gate) and states in one line which specialized workflow it considered and why none applies.
|
|
190
189
|
|
|
191
190
|
Mobile is a context modifier, not a workflow. Route by primary intent first.
|
|
192
191
|
Load `references/mobile-context.md` for non-debug mobile work, or
|
|
@@ -199,8 +198,8 @@ Read and apply the canonical Plan Challenge Policy from the installed
|
|
|
199
198
|
`AGENTS.md` bootstrap block (single source: `skills/AGENTS.md`). Prompt-level
|
|
200
199
|
user instructions override that policy for the current turn.
|
|
201
200
|
|
|
202
|
-
For a low-risk plan that receives the lite gate, attempt a
|
|
203
|
-
`
|
|
201
|
+
For a low-risk plan that receives the lite gate, attempt a
|
|
202
|
+
`judge` subagent in `plan-critique` mode (it writes nothing in that mode) with a bounded checklist packet instead of
|
|
204
203
|
running the checklist in the main agent. The packet includes the proposed plan, scope,
|
|
205
204
|
constraints, compact recalled facts/evidence, known risks, verification recipe,
|
|
206
205
|
parent identifiers, and this output requirement:
|
|
@@ -214,19 +213,19 @@ Lite preserves progressive disclosure: do not load The Fool mode references
|
|
|
214
213
|
unless the lite critique escalates to full.
|
|
215
214
|
|
|
216
215
|
Low-risk `feature` and `refactor` plans receive the lite gate first. Full The
|
|
217
|
-
Fool stays for `spec-driven`, `design`, `adr`, `rfc`, `tdd`, explicit challenge
|
|
216
|
+
Fool stays for `spec-driven`, `design`, `create-adr`, `create-rfc`, `create-tdd`, explicit challenge
|
|
218
217
|
requests, high-risk domains, or plans touching more than 5 files/classes/modules.
|
|
219
218
|
When the policy selects the full gate, or lite escalates, load
|
|
220
219
|
`workflows/the-fool.md`, select the mode in the main agent, load only the
|
|
221
|
-
selected The Fool references, and attempt a
|
|
222
|
-
|
|
220
|
+
selected The Fool references, and attempt a `judge` subagent in `plan-critique` mode with the selected mode passed as `fool_mode`
|
|
221
|
+
and a bounded critique packet. Subagents inherit
|
|
223
222
|
`projectId`, parent `workflowSessionId`, workflow name, entity, and compact
|
|
224
223
|
evidence; they do not receive full conversation context.
|
|
225
224
|
|
|
226
225
|
If the policy file is unavailable, use the conservative fallback: run the full
|
|
227
226
|
gate for high-risk domains, broad multi-module plans, explicit challenge
|
|
228
227
|
requests, and planning workflows that commit to a feature, refactor, ADR, RFC,
|
|
229
|
-
or TDD. If the `
|
|
228
|
+
or TDD. If the `judge` agent is unavailable for any reason —
|
|
230
229
|
spawning forbidden, plugin not installed, unknown `subagent_type` — run a strict
|
|
231
230
|
standalone fresh-eyes local critique against the same output contract and report
|
|
232
231
|
the skipped delegation reason. Do not retry under a different agent name. Reuse
|
|
@@ -282,7 +281,7 @@ Load only when a selected workflow asks for them:
|
|
|
282
281
|
- `references/agent-orchestration.md`
|
|
283
282
|
- `references/subagent-design.md`
|
|
284
283
|
- `references/code-reuse-scan.md`
|
|
285
|
-
- `references/adr
|
|
284
|
+
- `references/create-adr.md`
|
|
286
285
|
- `references/audit-scope.md`
|
|
287
286
|
- `references/audit-report-io.md`
|
|
288
287
|
- `references/hook-enforcement.md`
|
|
@@ -311,12 +310,10 @@ Load only when a selected workflow asks for them:
|
|
|
311
310
|
- `references/repo-rules-discovery.md`
|
|
312
311
|
- `references/root-cause-scripts.md`
|
|
313
312
|
- `references/conversation-feedback.md`
|
|
314
|
-
- `references/maestro.md`
|
|
315
|
-
- `references/maestro/`
|
|
316
313
|
- `references/synapse-policy.md`
|
|
317
|
-
- `references/tdd/`
|
|
318
|
-
- `references/rfc/`
|
|
319
|
-
- `references/ticket/`
|
|
314
|
+
- `references/create-tdd/`
|
|
315
|
+
- `references/create-rfc/`
|
|
316
|
+
- `references/create-ticket/`
|
|
320
317
|
- `references/spec-driven/`
|
|
321
318
|
- `references/furps/`
|
|
322
319
|
|
|
@@ -75,19 +75,19 @@ Keep local when any are true:
|
|
|
75
75
|
|
|
76
76
|
## Plan Challenge Exception
|
|
77
77
|
|
|
78
|
-
Plan Challenge `plan-
|
|
78
|
+
The Plan Challenge `judge` dispatch in `plan-critique` mode is a standing policy exception to the normal dispatch triggers after a concrete plan exists. Always attempt it for both `depth: lite` and `depth: full` when subagent tooling is available and platform policy permits spawning. Normal base requirements still matter for packet quality: the critique must be bounded, write nothing, and be concrete, but it does not need to satisfy the ordinary dispatch triggers such as file count, module count, or explicit user delegation.
|
|
79
79
|
|
|
80
80
|
For all other roles, preserve the normal delegation gates above.
|
|
81
81
|
|
|
82
82
|
## Independent Verification Exception (fix workflows + Standard+ light-workflow tiers)
|
|
83
83
|
|
|
84
|
-
The Independent Verification Mandate in `references/verification-ladder.md` is a second standing policy exception, parallel to the Plan Challenge one: when a `*-fix` workflow closes a finding, or a light workflow (`debug`, `feature`, `
|
|
84
|
+
The Independent Verification Mandate in `references/verification-ladder.md` is a second standing policy exception, parallel to the Plan Challenge one: when a `*-fix` workflow closes a finding, or a light workflow (`debug`, `feature`, `refactor`) completes Standard+ work, always attempt the `code-reviewer` dispatch in `verify` mode when subagent tooling is available and platform policy permits spawning — it does not need to satisfy the ordinary dispatch triggers (file count, module count, explicit user delegation). Base packet-quality requirements still apply, and the mandate's own tier gates, security-fix unconditional rule, and fresh-eyes fallback live in that ladder section, not here.
|
|
85
85
|
|
|
86
86
|
## Screen Implementation Exception (any workflow that can produce a screen)
|
|
87
87
|
|
|
88
|
-
A third standing policy exception, parallel to the two above: **when a task creates or modifies a user-facing screen, always attempt the `
|
|
88
|
+
A third standing policy exception, parallel to the two above: **when a task creates or modifies a user-facing screen, always attempt the `designer` dispatch** while subagent tooling is available and platform policy permits spawning. Once that condition holds the dispatch is not subject to the ordinary dispatch triggers — not file count, not module count, not explicit user delegation.
|
|
89
89
|
|
|
90
|
-
The condition is the whole gate. On a task with no screen surface the dispatch does not fire at all, which is why the
|
|
90
|
+
The condition is the whole gate. On a task with no screen surface the dispatch does not fire at all, which is why the dispatching workflows can carry it without firing it on every task. The `design`, `mobile-figma-audit`, and `mobile-figma-fix` workflows dispatch it unconditionally, because every task there is screen work. "Creates or modifies a user-facing screen" means a change to a screen, view, page, component, layout, style, theme, or design-token file, or any change whose acceptance criteria describe what a user sees.
|
|
91
91
|
|
|
92
92
|
Two shape rules follow from the roles involved:
|
|
93
93
|
|
|
@@ -98,16 +98,25 @@ Base packet-quality requirements still apply, and the no-agent fallback below ap
|
|
|
98
98
|
|
|
99
99
|
## Name Resolution
|
|
100
100
|
|
|
101
|
-
Charters live at `skills/agents/<role>/SKILL.md`.
|
|
102
|
-
under
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
101
|
+
Charters live at `skills/agents/<role>/SKILL.md`. Every host registers each
|
|
102
|
+
charter under its bare role name (`scripts/generate-subagent-artifacts.ts` emits
|
|
103
|
+
`<role>.md` / `<role>.toml` with `name: <role>`). Installers tell massa-ai's
|
|
104
|
+
agent files apart from a user's by the `massa-ai-owned` content marker, never
|
|
105
|
+
by name, and never overwrite a same-named agent the user owns.
|
|
106
|
+
|
|
107
|
+
- **Claude plugin route: dispatch `massa-ai:<role>`.** Plugin agents live in the
|
|
108
|
+
plugin namespace (the agent list shows them as `massa-ai:<role>`), so the
|
|
109
|
+
qualified name reaches massa-ai's agent even when the user or the project
|
|
110
|
+
defines an agent with the same bare name. The always-loaded router states this
|
|
111
|
+
rule, so dispatch never depends on this file being loaded.
|
|
112
|
+
- **Claude file route, Codex, Cursor, OpenCode: dispatch the bare `<role>`.**
|
|
113
|
+
These hosts have no agent namespace. Accepted risk: when an installer skipped
|
|
114
|
+
a same-named agent the user owns (it warns at install time), that user agent
|
|
115
|
+
receives the dispatch.
|
|
116
|
+
- Dispatch blocks and prose name the bare role; it is also the registry key in
|
|
117
|
+
memory tags and capability packets.
|
|
118
|
+
- The pre-rename `massa-ai-<role>` names are retired: installers prune them on
|
|
119
|
+
upgrade, and no workflow dispatches them.
|
|
111
120
|
|
|
112
121
|
If the named agent is unavailable for any reason — not registered, plugin not
|
|
113
122
|
installed, spawning forbidden by platform policy, or the host returns an unknown
|
|
@@ -118,10 +127,10 @@ delegation with its reason in the Evidence Gate.
|
|
|
118
127
|
## Model Diversity Fallback
|
|
119
128
|
|
|
120
129
|
Applies to any charter whose dispatching workflow requests per-invocation model diversity
|
|
121
|
-
at dispatch time (e.g. `judge` — 3 parallel slots; `
|
|
130
|
+
at dispatch time (e.g. `judge` in `scorer` mode — 3 parallel slots; `judge` in `spec-author` mode — one slot).
|
|
122
131
|
|
|
123
|
-
-
|
|
124
|
-
|
|
132
|
+
- Agents without a per-agent model override in the built-in profiles (`code-explorer`,
|
|
133
|
+
`code-reviewer`, `judge`, `product-manager`) resolve to the profile's per-tool default.
|
|
125
134
|
By convention, the default is the profile's strongest model.
|
|
126
135
|
- The dispatching workflow (e.g. `workflows/judge-with-debate.md`) is the single source
|
|
127
136
|
for the current slot/model assignment, not the charter file.
|
|
@@ -138,7 +147,7 @@ Before adding a new reusable role, load `references/subagent-design.md` and writ
|
|
|
138
147
|
|
|
139
148
|
**The roster lives in one place: the Agent Table of `skills/AGENTS.md`**, which names
|
|
140
149
|
every shipped specialist with its purpose, trigger, permission, and charter path. Do not
|
|
141
|
-
restate it here. A second roster in this file is what let
|
|
150
|
+
restate it here. A second roster in this file is what once let the two debate-panel charters go
|
|
142
151
|
undocumented for a whole release with every gate green — the guard checked that the
|
|
143
152
|
charter paths *mentioned* here resolve, which a charter that is never mentioned cannot
|
|
144
153
|
fail.
|
|
@@ -149,22 +158,22 @@ resolves to a current agent.
|
|
|
149
158
|
|
|
150
159
|
| Legacy role | Current agent | Note |
|
|
151
160
|
|---|---|---|
|
|
152
|
-
| `implementer` | `
|
|
153
|
-
| `verifier` | `
|
|
154
|
-
| `domain-mapper` | `
|
|
155
|
-
| `coupling-auditor` | `
|
|
156
|
-
| `deepening-architect` | `
|
|
161
|
+
| `implementer` | `builder` | renamed |
|
|
162
|
+
| `verifier` | `code-reviewer` | folded in; `mode: verify`, which centralizes the Verification Ladder |
|
|
163
|
+
| `domain-mapper` | `code-reviewer` | folded in; `mode: audit`, `lens: architecture`, `sub-mode: domain` (packet field defined in the `code-reviewer` charter Inputs) |
|
|
164
|
+
| `coupling-auditor` | `code-reviewer` | folded in; `mode: audit`, `lens: architecture`, `sub-mode: coupling` |
|
|
165
|
+
| `deepening-architect` | `code-reviewer` | folded in; `mode: audit`, `lens: architecture`, `sub-mode: deepening` |
|
|
157
166
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
only, never a dispatch target.
|
|
167
|
+
The charter names retired by the roster consolidation map to current agents in the
|
|
168
|
+
single old→new table of `skills/AGENTS.md`; this file does not repeat it. Workflows
|
|
169
|
+
dispatch the current `<role>` name through a named dispatch block — the legacy column
|
|
170
|
+
is traceability only, never a dispatch target.
|
|
162
171
|
|
|
163
172
|
## Capability Packet
|
|
164
173
|
|
|
165
|
-
**This section is the sole canonical Capability Packet definition.** `references/subagent-design.md` mirrors this list and the root `skills/AGENTS.md` registry points here without restating it. Bespoke packets (judge panel, FURPS
|
|
174
|
+
**This section is the sole canonical Capability Packet definition.** `references/subagent-design.md` mirrors this list and the root `skills/AGENTS.md` registry points here without restating it. Bespoke packets (judge panel, `product-manager` FURPS dispatch, phase-batch worker) are declared specializations that map onto these fields in their own workflow files.
|
|
166
175
|
|
|
167
|
-
**A subagent inherits nothing from the parent session** — no skills, no
|
|
176
|
+
**A subagent inherits nothing from the parent session** — no skills, no loaded references, no conversation history. Everything the subagent needs is named explicitly in the packet, including the exact reference file paths it must read itself.
|
|
168
177
|
|
|
169
178
|
When dispatching a subagent, send a compact capability packet rather than a loose instruction. Include:
|
|
170
179
|
|
|
@@ -178,11 +187,11 @@ When dispatching a subagent, send a compact capability packet rather than a loos
|
|
|
178
187
|
- `output`: the exact output contract
|
|
179
188
|
- `firewall`: raw logs, diffs, snapshots, reports, or research that must be summarized
|
|
180
189
|
- `memory`: whether the subagent may suggest memories and who persists them
|
|
181
|
-
- `persona`: optional. The active route's cataloged persona id in effect for the parent conversation, passed as advisory framing only — it never overrides the agent's charter Restrictions, scope, or permissions. Pass the id alone, never the persona prompt. Omit the field when no persona is routed.
|
|
182
190
|
- `next_use`: what the main agent will do with the result
|
|
183
|
-
- `
|
|
191
|
+
- `mode`: conditional — for a charter that declares modes (`code-explorer`, `code-reviewer`, `designer`, `judge`, `product-manager`, `test-engineer`), the `Mode:` section of the charter this dispatch runs.
|
|
192
|
+
- `lens`: conditional — `code-reviewer` `audit` dispatches only. One of `bugs | architecture | security | code-quality | performance`; the requirements lens is `product-manager` `audit` mode and the tests lens is `test-engineer` `audit` mode.
|
|
184
193
|
|
|
185
|
-
The named dispatch block that workflows embed (the quoted block whose header carries the
|
|
194
|
+
The named dispatch block that workflows embed (the quoted block whose header carries the agent name, role, and mode) is the block projection of this packet: `role`, `mode`, and `purpose` live in the block's header line, and `next_use` defaults to "the main agent synthesizes and continues the workflow" when absent. The remaining eight fields — `trigger, scope, permissions, inputs, sensors, output, firewall, memory` — appear as the block's body lines, except where Role Defaults below already fix a field's value.
|
|
186
195
|
|
|
187
196
|
### Role Defaults
|
|
188
197
|
|
|
@@ -196,24 +205,19 @@ Reading a workflow's dispatch block therefore means reading this section beside
|
|
|
196
205
|
it. That is the trade: the block stops being self-contained in exchange for
|
|
197
206
|
having exactly one place a shared value can be wrong.
|
|
198
207
|
|
|
199
|
-
|
|
208
|
+
**`code-reviewer`** (every mode)
|
|
200
209
|
|
|
201
|
-
- `
|
|
202
|
-
in a dispatch block; it applies to all of them.
|
|
210
|
+
- `permissions`: read-only
|
|
203
211
|
|
|
204
|
-
**`
|
|
212
|
+
**`code-reviewer`, `mode: review`**
|
|
205
213
|
|
|
206
214
|
- `fallback`: if the subagent is unavailable, run a standalone fresh-eyes review against this output contract and record the skipped-delegation reason
|
|
207
215
|
|
|
208
|
-
**`
|
|
209
|
-
|
|
210
|
-
- `permissions`: read-only
|
|
211
|
-
|
|
212
|
-
**`massa-ai-designer`** — its dispatch is mandatory-on-condition, so its trigger is
|
|
216
|
+
**`designer`** — its dispatch is mandatory-on-condition, so its trigger is
|
|
213
217
|
fixed here rather than per workflow; a block that reworded it would silently make
|
|
214
218
|
the dispatch advisory in that one file.
|
|
215
219
|
|
|
216
|
-
- `trigger`: the task creates or modifies a user-facing screen — mandatory once that condition holds, per the Screen Implementation Exception in `references/agent-orchestration.md`; it does not fire when no screen surface is touched
|
|
220
|
+
- `trigger`: the task creates or modifies a user-facing screen — mandatory once that condition holds, per the Screen Implementation Exception in `references/agent-orchestration.md`; it does not fire when no screen surface is touched, and the `design`, `mobile-figma-audit`, and `mobile-figma-fix` workflows dispatch it unconditionally
|
|
217
221
|
- `sensors`: Figma MCP read when a design source exists; per-element expected-vs-actual comparison; the UI module's own build/lint; the states a design under-specifies — empty, loading, error, long text, small and large sizes
|
|
218
222
|
- `inputs`: exact `projectId`, parent `workflowSessionId`, Figma links/node ids or screenshots when supplied, acceptance criteria, the repository's existing UI conventions and design tokens, recalled screen patterns
|
|
219
223
|
- `firewall`: summarized design-source evidence and `path:line` pointers only, never raw Figma node dumps or full file bodies
|
|
@@ -283,16 +287,16 @@ Example:
|
|
|
283
287
|
|
|
284
288
|
### Model/Effort Announcement
|
|
285
289
|
|
|
286
|
-
Every dispatch of any of the
|
|
290
|
+
Every dispatch of any of the 7 massa-ai roster specialists names the agent, its model,
|
|
287
291
|
and its effort in the `Agent Started` line above, inside that line's existing 1-2 line
|
|
288
292
|
budget. No exemption: this covers the three standing dispatch exceptions
|
|
289
|
-
(`plan-
|
|
293
|
+
(`judge` in `plan-critique` mode, `code-reviewer` in `verify` mode, `designer`) and spec-driven batch workers exactly
|
|
290
294
|
like every other dispatch.
|
|
291
295
|
|
|
292
296
|
- **Source**: the *installed* agent file for the active host — never
|
|
293
297
|
`skills/model-profiles.json`. The installed file reports what the host will actually
|
|
294
298
|
load, including any local profile-switch overlay the registry cannot see.
|
|
295
|
-
- **Read once per session**, for all
|
|
299
|
+
- **Read once per session**, for all 7 agents, and cache the result — not once per
|
|
296
300
|
dispatch.
|
|
297
301
|
- Absent `effort` in the installed file announces `effort: inherit`. Absent `model`, or
|
|
298
302
|
`model: inherit`, announces `model: inherit`.
|
|
@@ -300,33 +304,33 @@ like every other dispatch.
|
|
|
300
304
|
exact attempted path, and the dispatch proceeds — the read never blocks a dispatch.
|
|
301
305
|
|
|
302
306
|
```md
|
|
303
|
-
🤖 [Agent Started]
|
|
307
|
+
🤖 [Agent Started] Code-explorer — model opus, effort high. Scope: the four emitters.
|
|
304
308
|
🤖 [Agent Started] Designer — model/effort unknown (no installed agent file at
|
|
305
|
-
<liveRoot>/agents/
|
|
309
|
+
<liveRoot>/agents/designer.md). Dispatching anyway.
|
|
306
310
|
```
|
|
307
311
|
|
|
308
312
|
That second line is a measured case, not a hypothetical: on a machine with plugin
|
|
309
|
-
bundle `1.48.0` installed, `
|
|
313
|
+
bundle `1.48.0` installed, `designer.md` is absent because `designer` shipped
|
|
310
314
|
in `1.50.0` — a live instance of the degraded path above.
|
|
311
315
|
|
|
312
316
|
Per-host installed-agent path, matching `resolveHostLayout` in
|
|
313
317
|
`packages/shared/src/profile-switch/hosts.ts` — a sensor executes that resolver against
|
|
314
318
|
this table so the two cannot drift silently:
|
|
315
319
|
|
|
316
|
-
| Host | Installed agents directory |
|
|
320
|
+
| Host | Installed agents directory | Owned files | Model / effort keys |
|
|
317
321
|
| --- | --- | --- | --- |
|
|
318
|
-
| Claude — marketplace route | `<marketplaceRoot>/agents`, where `<marketplaceRoot>` is `resolveClaudeMarketplaceInstall`'s live root: for a **directory-source** marketplace the host loads the plugin LIVE from the source bundle — e.g. `<repo>/apps/claude-plugin/agents`; for any other kind it is the *versioned* cache snapshot, e.g. `~/.claude/plugins/cache/massa-ai/massa-ai/1.48.0/agents` (a stale-able snapshot — never hardcode it; read `profile_list`'s `liveRoot`) | `massa-ai
|
|
319
|
-
| Claude — file route | `~/.claude/agents` | `massa-ai
|
|
320
|
-
| Codex | `~/.codex/agents` | `massa-ai
|
|
321
|
-
| OpenCode | `~/.config/opencode/agents` | `massa-ai
|
|
322
|
+
| Claude — marketplace route | `<marketplaceRoot>/agents`, where `<marketplaceRoot>` is `resolveClaudeMarketplaceInstall`'s live root: for a **directory-source** marketplace the host loads the plugin LIVE from the source bundle — e.g. `<repo>/apps/claude-plugin/agents`; for any other kind it is the *versioned* cache snapshot, e.g. `~/.claude/plugins/cache/massa-ai/massa-ai/1.48.0/agents` (a stale-able snapshot — never hardcode it; read `profile_list`'s `liveRoot`) | `*.md` whose first body line is `<!-- massa-ai-owned: true -->` | `model:` / `effort:` |
|
|
323
|
+
| Claude — file route | `~/.claude/agents` | `*.md` whose first body line is `<!-- massa-ai-owned: true -->` | `model:` / `effort:` |
|
|
324
|
+
| Codex | `~/.codex/agents` | `*.toml` whose first line is `# massa-ai-owned` | `model` / `model_reasoning_effort` |
|
|
325
|
+
| OpenCode | `~/.config/opencode/agents` | `*.md` symlinks into the massa-ai bundle | `model:` / `reasoningEffort:` |
|
|
322
326
|
| Cursor | no lookup — `resolveHostLayout` returns route `skip` | — | announce `model: inherit, effort: inherit` for every agent; Cursor publishes no resolvable model IDs |
|
|
323
327
|
|
|
324
328
|
Claude's active route (`marketplace` vs `file`) comes from `install-state.json`'s
|
|
325
329
|
per-platform `installRoute` field, never guessed from directory presence.
|
|
326
330
|
|
|
327
|
-
## Plan-
|
|
331
|
+
## Plan-Critique Contract
|
|
328
332
|
|
|
329
|
-
Dispatch `
|
|
333
|
+
Dispatch `judge` with `mode: plan-critique` only after a concrete plan exists. Dispatch it with the capability packet above and the standard output contract. The subagent receives the plan, scope, constraints, compact recalled facts/evidence, selected depth, `fool_mode` (the selected The Fool mode: `pre_mortem`, `red_team`, `evidence_audit`, `socratic`, or `dialectic`; distinct from the packet `mode`, which stays `plan-critique`) only for full gates, known risks, verification recipe, parent identifiers, and context-firewall limits. It never receives full conversation context.
|
|
330
334
|
|
|
331
335
|
For `depth: lite`, the packet uses the low-risk checklist and does not include The Fool mode references. It returns:
|
|
332
336
|
|
|
@@ -337,9 +341,9 @@ For `depth: lite`, the packet uses the low-risk checklist and does not include T
|
|
|
337
341
|
- `escalate_to_full: true|false`
|
|
338
342
|
- escalation reason
|
|
339
343
|
|
|
340
|
-
For `depth: full`, or after lite escalation, the main agent selects the mode, loads the relevant The Fool references, and dispatches a full packet
|
|
344
|
+
For `depth: full`, or after lite escalation, the main agent selects the The Fool mode, loads the relevant The Fool references, and dispatches a full packet carrying it as `fool_mode`. It returns:
|
|
341
345
|
|
|
342
|
-
- selected
|
|
346
|
+
- selected `fool_mode`
|
|
343
347
|
- steelmanned thesis
|
|
344
348
|
- 3-5 strongest challenges
|
|
345
349
|
- severity: `critical`, `high`, `medium`, or `low`
|
|
@@ -357,7 +361,7 @@ whose single source is `skills/AGENTS.md` in the product repo.
|
|
|
357
361
|
|
|
358
362
|
- Main agent persists durable conclusions after synthesis.
|
|
359
363
|
- Subagents may suggest memory content but should not create broad project memories unless explicitly assigned.
|
|
360
|
-
- Use tags such as `agent:
|
|
364
|
+
- Use tags such as `agent:code-reviewer` or `agent:code-explorer` only when they improve retrieval.
|
|
361
365
|
- Do not persist one-off subagent chatter.
|
|
362
366
|
|
|
363
367
|
## Synapse Isolation
|