@massa-ai/cursor-plugin 1.60.1 → 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.
Files changed (277) hide show
  1. package/.cursor-plugin/plugin.json +1 -1
  2. package/README.md +2 -2
  3. package/agent-profiles/{heavy/massa-ai-builder.md → balanced/builder.md} +4 -4
  4. package/agent-profiles/balanced/code-explorer.md +102 -0
  5. package/agent-profiles/balanced/code-reviewer.md +134 -0
  6. package/agent-profiles/balanced/designer.md +84 -0
  7. package/agent-profiles/balanced/judge.md +147 -0
  8. package/agent-profiles/balanced/product-manager.md +108 -0
  9. package/agent-profiles/balanced/test-engineer.md +100 -0
  10. package/agent-profiles/cheap/{massa-ai-builder.md → builder.md} +4 -4
  11. package/agent-profiles/cheap/code-explorer.md +102 -0
  12. package/agent-profiles/cheap/code-reviewer.md +134 -0
  13. package/agent-profiles/cheap/designer.md +84 -0
  14. package/agent-profiles/cheap/judge.md +147 -0
  15. package/agent-profiles/cheap/product-manager.md +108 -0
  16. package/agent-profiles/cheap/test-engineer.md +100 -0
  17. package/agent-profiles/{balanced/massa-ai-builder.md → heavy/builder.md} +4 -4
  18. package/agent-profiles/heavy/code-explorer.md +102 -0
  19. package/agent-profiles/heavy/code-reviewer.md +134 -0
  20. package/agent-profiles/heavy/designer.md +84 -0
  21. package/agent-profiles/heavy/judge.md +147 -0
  22. package/agent-profiles/heavy/product-manager.md +108 -0
  23. package/agent-profiles/heavy/test-engineer.md +100 -0
  24. package/agent-profiles/home/{massa-ai-builder.md → builder.md} +4 -4
  25. package/agent-profiles/home/code-explorer.md +102 -0
  26. package/agent-profiles/home/code-reviewer.md +134 -0
  27. package/agent-profiles/home/designer.md +84 -0
  28. package/agent-profiles/home/judge.md +147 -0
  29. package/agent-profiles/home/product-manager.md +108 -0
  30. package/agent-profiles/home/test-engineer.md +100 -0
  31. package/agent-profiles/work/builder.md +63 -0
  32. package/agent-profiles/work/code-explorer.md +102 -0
  33. package/agent-profiles/work/code-reviewer.md +134 -0
  34. package/agent-profiles/work/designer.md +84 -0
  35. package/agent-profiles/work/judge.md +147 -0
  36. package/agent-profiles/work/product-manager.md +108 -0
  37. package/agent-profiles/work/test-engineer.md +100 -0
  38. package/agents/builder.md +63 -0
  39. package/agents/code-explorer.md +102 -0
  40. package/agents/code-reviewer.md +134 -0
  41. package/agents/designer.md +84 -0
  42. package/agents/judge.md +147 -0
  43. package/agents/product-manager.md +108 -0
  44. package/agents/test-engineer.md +100 -0
  45. package/hooks/massa-ai-hook +4 -4
  46. package/install.sh +110 -33
  47. package/package.json +1 -1
  48. package/skills/agents/builder/SKILL.md +3 -5
  49. package/skills/agents/code-explorer/SKILL.md +104 -0
  50. package/skills/agents/code-reviewer/SKILL.md +136 -0
  51. package/skills/agents/designer/SKILL.md +34 -18
  52. package/skills/agents/judge/SKILL.md +101 -51
  53. package/skills/agents/product-manager/SKILL.md +110 -0
  54. package/skills/agents/test-engineer/SKILL.md +57 -23
  55. package/skills/bootstrap/SKILL.md +4 -5
  56. package/skills/{adr → create-adr}/SKILL.md +3 -3
  57. package/skills/{to-prd → create-prd}/SKILL.md +3 -3
  58. package/skills/{rfc → create-rfc}/SKILL.md +3 -3
  59. package/skills/{tdd → create-tdd}/SKILL.md +3 -3
  60. package/skills/{ticket → create-ticket}/SKILL.md +3 -3
  61. package/skills/massa-ai/SKILL.md +26 -29
  62. package/skills/massa-ai/references/agent-orchestration.md +69 -66
  63. package/skills/massa-ai/references/audit-report-io.md +8 -87
  64. package/skills/massa-ai/references/code-reuse-scan.md +1 -1
  65. package/skills/massa-ai/references/{adr-authoring.md → create-adr.md} +3 -3
  66. package/skills/massa-ai/references/{rfc → create-rfc}/discovery-and-sizing.md +1 -1
  67. package/skills/massa-ai/references/{tdd → create-tdd}/calibrated-examples.md +3 -3
  68. package/skills/massa-ai/references/{tdd → create-tdd}/discovery-and-sizing.md +1 -1
  69. package/skills/massa-ai/references/{tdd → create-tdd}/quality-and-lifecycle.md +1 -1
  70. package/skills/massa-ai/references/{ticket → create-ticket}/intake-and-sources.md +1 -1
  71. package/skills/massa-ai/references/figma-pre-analysis.md +1 -1
  72. package/skills/massa-ai/references/furps/analyst-role.md +3 -3
  73. package/skills/massa-ai/references/furps/checklist.md +2 -2
  74. package/skills/massa-ai/references/furps/intake.md +7 -7
  75. package/skills/massa-ai/references/hook-enforcement.md +4 -8
  76. package/skills/massa-ai/references/implementation-delivery.md +2 -2
  77. package/skills/massa-ai/references/knowledge-verification-chain.md +0 -1
  78. package/skills/massa-ai/references/mobile-context.md +2 -5
  79. package/skills/massa-ai/references/pr-task-fix.md +1 -1
  80. package/skills/massa-ai/references/spec-driven/sub-agents.md +5 -5
  81. package/skills/massa-ai/references/spec-driven/validate.md +1 -1
  82. package/skills/massa-ai/references/subagent-design.md +6 -9
  83. package/skills/massa-ai/references/synapse-policy.md +2 -2
  84. package/skills/massa-ai/references/verification-ladder.md +2 -2
  85. package/skills/massa-ai/scripts/validate_audit_report.ts +3 -8
  86. package/skills/massa-ai/workflows/architecture/architecture-audit.md +4 -5
  87. package/skills/massa-ai/workflows/architecture/architecture-fix.md +5 -6
  88. package/skills/massa-ai/workflows/bugs/bugs-audit.md +2 -3
  89. package/skills/massa-ai/workflows/bugs/bugs-fix.md +4 -5
  90. package/skills/massa-ai/workflows/code-quality/code-quality-audit.md +2 -3
  91. package/skills/massa-ai/workflows/code-quality/code-quality-fix.md +4 -5
  92. package/skills/massa-ai/workflows/commit.md +3 -3
  93. package/skills/massa-ai/workflows/{adr.md → create-adr.md} +10 -10
  94. package/skills/massa-ai/workflows/{to-prd.md → create-prd.md} +4 -4
  95. package/skills/massa-ai/workflows/{rfc.md → create-rfc.md} +6 -6
  96. package/skills/massa-ai/workflows/{tdd.md → create-tdd.md} +11 -11
  97. package/skills/massa-ai/workflows/{ticket.md → create-ticket.md} +5 -5
  98. package/skills/massa-ai/workflows/debug.md +4 -5
  99. package/skills/massa-ai/workflows/design.md +2 -2
  100. package/skills/massa-ai/workflows/exploration.md +2 -2
  101. package/skills/massa-ai/workflows/feature.md +5 -6
  102. package/skills/massa-ai/workflows/implementation/implementation-audit.md +22 -3
  103. package/skills/massa-ai/workflows/implementation/implementation-fix.md +6 -7
  104. package/skills/massa-ai/workflows/judge-with-debate.md +14 -14
  105. package/skills/massa-ai/workflows/mobile-figma/mobile-figma-audit.md +2 -2
  106. package/skills/massa-ai/workflows/mobile-figma/mobile-figma-fix.md +10 -11
  107. package/skills/massa-ai/workflows/pr-review.md +31 -13
  108. package/skills/massa-ai/workflows/{discovery.md → product-discovery.md} +12 -12
  109. package/skills/massa-ai/workflows/refactor.md +4 -5
  110. package/skills/massa-ai/workflows/refinement/furps-refinement.md +7 -7
  111. package/skills/massa-ai/workflows/requirements/requirements-audit.md +2 -2
  112. package/skills/massa-ai/workflows/requirements/requirements-fix.md +5 -6
  113. package/skills/massa-ai/workflows/security/security-audit.md +2 -3
  114. package/skills/massa-ai/workflows/security/security-fix.md +3 -4
  115. package/skills/massa-ai/workflows/spec-driven.md +9 -10
  116. package/skills/massa-ai/workflows/tests/tests-audit.md +2 -2
  117. package/skills/massa-ai/workflows/tests/tests-fix.md +16 -6
  118. package/skills/massa-ai/workflows/the-fool.md +7 -7
  119. package/skills/{discovery → product-discovery}/SKILL.md +3 -3
  120. package/agent-profiles/balanced/massa-ai-architecture-specialist.md +0 -62
  121. package/agent-profiles/balanced/massa-ai-audit-specialist.md +0 -79
  122. package/agent-profiles/balanced/massa-ai-context-curator.md +0 -64
  123. package/agent-profiles/balanced/massa-ai-designer.md +0 -66
  124. package/agent-profiles/balanced/massa-ai-documentation-agent.md +0 -61
  125. package/agent-profiles/balanced/massa-ai-furps-analyst.md +0 -68
  126. package/agent-profiles/balanced/massa-ai-investigator.md +0 -65
  127. package/agent-profiles/balanced/massa-ai-judge.md +0 -95
  128. package/agent-profiles/balanced/massa-ai-meta-judge.md +0 -83
  129. package/agent-profiles/balanced/massa-ai-mobile-specialist.md +0 -79
  130. package/agent-profiles/balanced/massa-ai-navigator.md +0 -72
  131. package/agent-profiles/balanced/massa-ai-plan-critic.md +0 -87
  132. package/agent-profiles/balanced/massa-ai-planner.md +0 -62
  133. package/agent-profiles/balanced/massa-ai-requirements-analyst.md +0 -61
  134. package/agent-profiles/balanced/massa-ai-reviewer.md +0 -63
  135. package/agent-profiles/balanced/massa-ai-test-engineer.md +0 -63
  136. package/agent-profiles/balanced/massa-ai-verification-agent.md +0 -62
  137. package/agent-profiles/cheap/massa-ai-architecture-specialist.md +0 -62
  138. package/agent-profiles/cheap/massa-ai-audit-specialist.md +0 -79
  139. package/agent-profiles/cheap/massa-ai-context-curator.md +0 -64
  140. package/agent-profiles/cheap/massa-ai-designer.md +0 -66
  141. package/agent-profiles/cheap/massa-ai-documentation-agent.md +0 -61
  142. package/agent-profiles/cheap/massa-ai-furps-analyst.md +0 -68
  143. package/agent-profiles/cheap/massa-ai-investigator.md +0 -65
  144. package/agent-profiles/cheap/massa-ai-judge.md +0 -95
  145. package/agent-profiles/cheap/massa-ai-meta-judge.md +0 -83
  146. package/agent-profiles/cheap/massa-ai-mobile-specialist.md +0 -79
  147. package/agent-profiles/cheap/massa-ai-navigator.md +0 -72
  148. package/agent-profiles/cheap/massa-ai-plan-critic.md +0 -87
  149. package/agent-profiles/cheap/massa-ai-planner.md +0 -62
  150. package/agent-profiles/cheap/massa-ai-requirements-analyst.md +0 -61
  151. package/agent-profiles/cheap/massa-ai-reviewer.md +0 -63
  152. package/agent-profiles/cheap/massa-ai-test-engineer.md +0 -63
  153. package/agent-profiles/cheap/massa-ai-verification-agent.md +0 -62
  154. package/agent-profiles/heavy/massa-ai-architecture-specialist.md +0 -62
  155. package/agent-profiles/heavy/massa-ai-audit-specialist.md +0 -79
  156. package/agent-profiles/heavy/massa-ai-context-curator.md +0 -64
  157. package/agent-profiles/heavy/massa-ai-designer.md +0 -66
  158. package/agent-profiles/heavy/massa-ai-documentation-agent.md +0 -61
  159. package/agent-profiles/heavy/massa-ai-furps-analyst.md +0 -68
  160. package/agent-profiles/heavy/massa-ai-investigator.md +0 -65
  161. package/agent-profiles/heavy/massa-ai-judge.md +0 -95
  162. package/agent-profiles/heavy/massa-ai-meta-judge.md +0 -83
  163. package/agent-profiles/heavy/massa-ai-mobile-specialist.md +0 -79
  164. package/agent-profiles/heavy/massa-ai-navigator.md +0 -72
  165. package/agent-profiles/heavy/massa-ai-plan-critic.md +0 -87
  166. package/agent-profiles/heavy/massa-ai-planner.md +0 -62
  167. package/agent-profiles/heavy/massa-ai-requirements-analyst.md +0 -61
  168. package/agent-profiles/heavy/massa-ai-reviewer.md +0 -63
  169. package/agent-profiles/heavy/massa-ai-test-engineer.md +0 -63
  170. package/agent-profiles/heavy/massa-ai-verification-agent.md +0 -62
  171. package/agent-profiles/home/massa-ai-architecture-specialist.md +0 -62
  172. package/agent-profiles/home/massa-ai-audit-specialist.md +0 -79
  173. package/agent-profiles/home/massa-ai-context-curator.md +0 -64
  174. package/agent-profiles/home/massa-ai-designer.md +0 -66
  175. package/agent-profiles/home/massa-ai-documentation-agent.md +0 -61
  176. package/agent-profiles/home/massa-ai-furps-analyst.md +0 -68
  177. package/agent-profiles/home/massa-ai-investigator.md +0 -65
  178. package/agent-profiles/home/massa-ai-judge.md +0 -95
  179. package/agent-profiles/home/massa-ai-meta-judge.md +0 -83
  180. package/agent-profiles/home/massa-ai-mobile-specialist.md +0 -79
  181. package/agent-profiles/home/massa-ai-navigator.md +0 -72
  182. package/agent-profiles/home/massa-ai-plan-critic.md +0 -87
  183. package/agent-profiles/home/massa-ai-planner.md +0 -62
  184. package/agent-profiles/home/massa-ai-requirements-analyst.md +0 -61
  185. package/agent-profiles/home/massa-ai-reviewer.md +0 -63
  186. package/agent-profiles/home/massa-ai-test-engineer.md +0 -63
  187. package/agent-profiles/home/massa-ai-verification-agent.md +0 -62
  188. package/agent-profiles/work/massa-ai-architecture-specialist.md +0 -62
  189. package/agent-profiles/work/massa-ai-audit-specialist.md +0 -79
  190. package/agent-profiles/work/massa-ai-builder.md +0 -63
  191. package/agent-profiles/work/massa-ai-context-curator.md +0 -64
  192. package/agent-profiles/work/massa-ai-designer.md +0 -66
  193. package/agent-profiles/work/massa-ai-documentation-agent.md +0 -61
  194. package/agent-profiles/work/massa-ai-furps-analyst.md +0 -68
  195. package/agent-profiles/work/massa-ai-investigator.md +0 -65
  196. package/agent-profiles/work/massa-ai-judge.md +0 -95
  197. package/agent-profiles/work/massa-ai-meta-judge.md +0 -83
  198. package/agent-profiles/work/massa-ai-mobile-specialist.md +0 -79
  199. package/agent-profiles/work/massa-ai-navigator.md +0 -72
  200. package/agent-profiles/work/massa-ai-plan-critic.md +0 -87
  201. package/agent-profiles/work/massa-ai-planner.md +0 -62
  202. package/agent-profiles/work/massa-ai-requirements-analyst.md +0 -61
  203. package/agent-profiles/work/massa-ai-reviewer.md +0 -63
  204. package/agent-profiles/work/massa-ai-test-engineer.md +0 -63
  205. package/agent-profiles/work/massa-ai-verification-agent.md +0 -62
  206. package/agents/massa-ai-architecture-specialist.md +0 -62
  207. package/agents/massa-ai-audit-specialist.md +0 -79
  208. package/agents/massa-ai-builder.md +0 -63
  209. package/agents/massa-ai-context-curator.md +0 -64
  210. package/agents/massa-ai-designer.md +0 -66
  211. package/agents/massa-ai-documentation-agent.md +0 -61
  212. package/agents/massa-ai-furps-analyst.md +0 -68
  213. package/agents/massa-ai-investigator.md +0 -65
  214. package/agents/massa-ai-judge.md +0 -95
  215. package/agents/massa-ai-meta-judge.md +0 -83
  216. package/agents/massa-ai-mobile-specialist.md +0 -79
  217. package/agents/massa-ai-navigator.md +0 -72
  218. package/agents/massa-ai-plan-critic.md +0 -87
  219. package/agents/massa-ai-planner.md +0 -62
  220. package/agents/massa-ai-requirements-analyst.md +0 -61
  221. package/agents/massa-ai-reviewer.md +0 -63
  222. package/agents/massa-ai-test-engineer.md +0 -63
  223. package/agents/massa-ai-verification-agent.md +0 -62
  224. package/skills/agents/architecture-specialist/SKILL.md +0 -67
  225. package/skills/agents/audit-specialist/SKILL.md +0 -84
  226. package/skills/agents/context-curator/SKILL.md +0 -69
  227. package/skills/agents/documentation-agent/SKILL.md +0 -67
  228. package/skills/agents/furps-analyst/SKILL.md +0 -72
  229. package/skills/agents/investigator/SKILL.md +0 -70
  230. package/skills/agents/meta-judge/SKILL.md +0 -87
  231. package/skills/agents/mobile-specialist/SKILL.md +0 -84
  232. package/skills/agents/navigator/SKILL.md +0 -77
  233. package/skills/agents/plan-critic/SKILL.md +0 -91
  234. package/skills/agents/planner/SKILL.md +0 -67
  235. package/skills/agents/requirements-analyst/SKILL.md +0 -66
  236. package/skills/agents/reviewer/SKILL.md +0 -68
  237. package/skills/agents/verification-agent/SKILL.md +0 -67
  238. package/skills/general/SKILL.md +0 -14
  239. package/skills/maestro/SKILL.md +0 -14
  240. package/skills/maestro-audit/SKILL.md +0 -14
  241. package/skills/maestro-fix/SKILL.md +0 -14
  242. package/skills/massa-ai/personas/README.md +0 -35
  243. package/skills/massa-ai/personas/ai-native-nodejs-cli-architect.md +0 -47
  244. package/skills/massa-ai/personas/catalog.json +0 -7
  245. package/skills/massa-ai/personas/context-skill-harness-engineer-architect.md +0 -47
  246. package/skills/massa-ai/personas/product-manager.md +0 -65
  247. package/skills/massa-ai/personas/senior-mobile-engineer.md +0 -46
  248. package/skills/massa-ai/personas/senior-mobile-qa-automation-engineer.md +0 -51
  249. package/skills/massa-ai/personas/signals/ai-native-nodejs-cli-architect.json +0 -20
  250. package/skills/massa-ai/personas/signals/context-skill-harness-engineer-architect.json +0 -20
  251. package/skills/massa-ai/personas/signals/product-manager.json +0 -21
  252. package/skills/massa-ai/personas/signals/senior-mobile-engineer.json +0 -18
  253. package/skills/massa-ai/personas/signals/senior-mobile-qa-automation-engineer.json +0 -18
  254. package/skills/massa-ai/references/maestro/artifacts-reports.md +0 -69
  255. package/skills/massa-ai/references/maestro/cli-device.md +0 -65
  256. package/skills/massa-ai/references/maestro/cloud.md +0 -69
  257. package/skills/massa-ai/references/maestro/config-env-output.md +0 -76
  258. package/skills/massa-ai/references/maestro/fact-ledger.md +0 -73
  259. package/skills/massa-ai/references/maestro/js-scripting.md +0 -70
  260. package/skills/massa-ai/references/maestro/mcp.md +0 -59
  261. package/skills/massa-ai/references/maestro/patterns.md +0 -102
  262. package/skills/massa-ai/references/maestro/selectors.md +0 -91
  263. package/skills/massa-ai/references/maestro/workspace-execution.md +0 -81
  264. package/skills/massa-ai/references/maestro/yaml-commands.md +0 -203
  265. package/skills/massa-ai/references/maestro.md +0 -31
  266. package/skills/massa-ai/workflows/general.md +0 -88
  267. package/skills/massa-ai/workflows/maestro/maestro-audit.md +0 -64
  268. package/skills/massa-ai/workflows/maestro/maestro-fix.md +0 -111
  269. package/skills/massa-ai/workflows/maestro/maestro.md +0 -80
  270. package/skills/persona-router/SKILL.md +0 -52
  271. package/skills/persona-router/references/routing-details.md +0 -98
  272. /package/skills/massa-ai/references/{rfc → create-rfc}/ATTRIBUTION.md +0 -0
  273. /package/skills/massa-ai/references/{rfc → create-rfc}/document-contract.md +0 -0
  274. /package/skills/massa-ai/references/{rfc → create-rfc}/quality-and-lifecycle.md +0 -0
  275. /package/skills/massa-ai/references/{tdd → create-tdd}/document-contract.md +0 -0
  276. /package/skills/massa-ai/references/{ticket → create-ticket}/atlassian-fix.md +0 -0
  277. /package/skills/massa-ai/references/{ticket → create-ticket}/templates-and-quality.md +0 -0
@@ -21,12 +21,11 @@ audits/tests/2026-06-15 tests-audit.md
21
21
  audits/bugs/2026-06-15 bugs-audit.md
22
22
  ```
23
23
 
24
- Parent implementation audits, mobile Figma audits, and Maestro audits use dedicated paths:
24
+ Parent implementation audits and mobile Figma audits use dedicated paths:
25
25
 
26
26
  ```text
27
27
  audits/implementation/<YYYY-MM-DD implementation-audit.md>
28
28
  audits/mobile-figma/<YYYY-MM-DD mobile-figma-audit.md>
29
- audits/maestro/<YYYY-MM-DD maestro-audit.md>
30
29
  ```
31
30
 
32
31
  Judge-with-debate evaluation reports use their own family (no `-audit` suffix — recorded
@@ -333,81 +332,6 @@ Verification Suggestion: <deterministic sensor and optional Maestro reproduction
333
332
 
334
333
  Only `MISMATCH` comparison rows become `MFM-*` findings. `CONSTRAINT DEVIATION` and `NOT EVALUATED` rows are never silently promoted to executable findings.
335
334
 
336
- ## Maestro Audit Report Contract
337
-
338
- ```md
339
- # Maestro Audit
340
-
341
- Date: <YYYY-MM-DD>
342
- Workflow: maestro-audit
343
- ProjectId: <projectId>
344
- WorkflowSessionId: <maestro-audit-[entity]>
345
- Target: <Maestro target>
346
- Target Focus: <flow root, suite, tag, app/module, platform, commit range, branch comparison, or modified files>
347
- Scope: <scope type from audit-scope.md>
348
- Git Base: <sha/ref or n/a>
349
- Git Head: <sha/ref, working-tree, or n/a>
350
- Source Evidence Timestamp: <YYYY-MM-DD HH:MM local time, or unavailable>
351
- Scenario Source: <Jira/Confluence, local file, prompt text, explored/inferred behavior, or n/a>
352
- Maestro CLI: <version/help result or unavailable with reason>
353
- Device/Emulator Readiness: <command/result or unavailable with reason>
354
-
355
- ## Flow Inventory
356
-
357
- | Flow ID | Path | Suite/Tag | Platform | Setup/Teardown | Scenario Source | Status |
358
- |---|---|---|---|---|---|---|
359
-
360
- ## Maestro Run Matrix
361
-
362
- | Flow ID | Command | Exit Status | Result | JUnit Report | Artifact Directory | Device/Platform | Skipped-Check Reason |
363
- |---|---|---|---|---|---|---|---|
364
-
365
- ## Scenario Coverage Matrix
366
-
367
- | Scenario ID | Source | Expected Behavior | Covered Flow ID | Evidence | Gap |
368
- |---|---|---|---|---|---|
369
-
370
- ## Findings
371
-
372
- ### MST-<N>: <short title>
373
-
374
- Severity: critical | high | medium | low
375
- Confidence: high | medium | low
376
- Flow/Subflow: <flow ID and path>
377
- Scenario Source: <source identifier>
378
- Location: <path:line or module>
379
- Evidence: <concrete source, report, or artifact evidence>
380
- Impacted Journey: <user journey or release smoke path>
381
- Flake Or Coverage Risk: <risk class and impact>
382
- Simplest Fix Direction: <smallest sufficient Maestro flow, fixture, setup, teardown, or test-data change>
383
- Verification Suggestion: <Maestro command, JUnit report check, artifact inspection, or static check>
384
-
385
- ## Ruled-Out Candidates
386
-
387
- <Plausible candidates disproved by evidence, or "None">
388
-
389
- ## Scope And Evidence
390
-
391
- <Flow roots, scenario sources, commands/searches, exit statuses, JUnit reports, artifact directories, skipped checks, validation assets, and residual risk>
392
-
393
- ## Verification/Test Fidelity Checklist
394
-
395
- | Item | Evidence |
396
- |---|---|
397
- | Deterministic sensor | <Maestro command, JUnit report, artifact inspection, static YAML/config scan, or not available with reason> |
398
- | Result | <pass, fail, not run, or not applicable> |
399
- | Coverage target | <MST ID, no-finding claim, scenario, flow, behavior, file, or validation asset> |
400
- | Validation assets protected | <flows, subflows, fixtures, setup/teardown, test data, snapshots, CI report consumers, or none> |
401
- | Skipped-check reason | <none or allowed skipped-check reason> |
402
- | Execution handoff | <verification command/artifact and validation assets for every actionable MST finding> |
403
-
404
- ## Execution Handoff
405
-
406
- <Ordered MST IDs, dependencies, likely files, protected validation assets, verification commands, artifact expectations, and cautions>
407
- ```
408
-
409
- Only executable flow, fixture, setup/teardown, test-data, or directly scoped Maestro CI/report issues become `MST-*` findings. App bugs, product behavior gaps, backend defects, and unclear requirements must route to `debug`, `feature`, or `requirements-audit` instead of `maestro-fix`.
410
-
411
335
  ## Judge With Debate Report Contracts
412
336
 
413
337
  Reports produced by `workflows/judge-with-debate.md`. This family is **evaluation-scored, not
@@ -439,7 +363,7 @@ Model Requested: <slot pin: deepseek-v4-pro | minimax-m3 | GLM-5.2>
439
363
  Model Note: <fallback state or n/a>
440
364
 
441
365
  ## Evaluation Specification
442
- <meta-judge YAML, embedded verbatim once>
366
+ <spec-author YAML, embedded verbatim once>
443
367
 
444
368
  ## Criterion Scores
445
369
  ### <criterion id> — <score>/<scale.max> (weight <w>)
@@ -520,7 +444,6 @@ All findings require severity, confidence, location, concrete evidence, impact,
520
444
  | Tests | `Impacted Behavior`, `Regression Risk`, `Simplest Test Direction`, `Deterministic Sensor` |
521
445
  | Bugs | `Bug Class`, `Impacted Flow`, `Trigger or Repro Path`, `Root Cause Hypothesis`, `Regression Risk` |
522
446
  | Mobile Figma | `Surface ID`, `UI Stack`, `Module/Source Set`, `Element/State`, `Property/Constraint`, `Figma Value`, `Resolved Implementation Value`, `Runtime Evidence`, `Evidence Class`, `Platform Configuration` |
523
- | Maestro | `Flow/Subflow`, `Scenario Source`, `Impacted Journey`, `Flake Or Coverage Risk` |
524
447
 
525
448
  If a required field is unknown, write `Unknown` and explain the evidence gap. Execution treats unknown required fields as a stop condition unless the user explicitly accepts the risk after revalidation.
526
449
 
@@ -528,7 +451,7 @@ If a required field is unknown, write `Unknown` and explain the evidence gap. Ex
528
451
 
529
452
  Every report must include project, workflow, target, target focus, scope, git base/head or `n/a`, source evidence timestamp, material files/evidence, commands/searches, skipped checks, and residual risk.
530
453
 
531
- Implementation reports must preserve the exact parent scope packet and source-qualified findings. Mobile Figma reports must also preserve repository classification, Target Surface Matrix, Figma identity/mappings/timestamp, per-surface platform configurations, capability matrix, complete comparison matrix, and optional Maestro reproduction metadata. Maestro reports must preserve scenario source, flow inventory, Maestro run matrix, JUnit report path, artifact directory, device/emulator readiness, and execution handoff for `MST-*` findings.
454
+ Implementation reports must preserve the exact parent scope packet and source-qualified findings. Mobile Figma reports must also preserve repository classification, Target Surface Matrix, Figma identity/mappings/timestamp, per-surface platform configurations, capability matrix, complete comparison matrix, and optional Maestro reproduction metadata.
532
455
 
533
456
  When implementation-audit uses SonarQube MCP, preserve the MCP availability result, project key or skipped-check reason, quality gate status when available, tool names used, and summarized issue/security-hotspot/measure evidence in Scope And Evidence. Sonar-derived findings are executable only after they are normalized to existing source-qualified IDs for Architecture, Correctness/Bugs, Code Quality, Security, or Tests; unmapped SonarQube output remains evidence only and does not enter Execution Handoff.
534
457
 
@@ -540,7 +463,7 @@ Every `*-fix` workflow persists its closure evidence as a Fix Closure Report, a
540
463
  audits/<family>/<YYYY-MM-DD <family>-fix-closure>.md
541
464
  ```
542
465
 
543
- `<family>` is the source report's directory (`architecture`, `bugs`, `code-quality`, `security`, `requirements`, `tests`, `maestro`, `mobile-figma`, `implementation`). Same local-date and same-day suffix rules as audit reports. Closure reports are output artifacts, **never** audit-report input: any filename containing `-fix-closure` is excluded from latest-report selection.
466
+ `<family>` is the source report's directory (`architecture`, `bugs`, `code-quality`, `security`, `requirements`, `tests`, `mobile-figma`, `implementation`). Same local-date and same-day suffix rules as audit reports. Closure reports are output artifacts, **never** audit-report input: any filename containing `-fix-closure` is excluded from latest-report selection.
544
467
 
545
468
  Required header lines (same metadata style as audit reports):
546
469
 
@@ -574,7 +497,7 @@ Row rules:
574
497
  - **Independent Verifier**: verdict plus dispatch-or-fallback record per the verification-ladder Independent Verification Mandate.
575
498
  - **Next Step**: required for `blocked` and `deferred` rows.
576
499
 
577
- Family-specific extras (extra columns, parsed by header name, appended after the standard set): requirements adds `Linked .specs/ Requirement ID`; maestro and mobile-figma add `JUnit Report`, `Artifact Directory`, and `Device/Platform`.
500
+ Family-specific extras (extra columns, parsed by header name, appended after the standard set): requirements adds `Linked .specs/ Requirement ID`; mobile-figma adds `JUnit Report`, `Artifact Directory`, and `Device/Platform`.
578
501
 
579
502
  Deterministic backing (run it, do not eyeball it): `bun skills/massa-ai/scripts/check_fix_closure.ts <closure.md> --family <family>` — a non-zero exit blocks Propose and the Evidence Gate. If no code-execution tool is available, run the same checks by reading the artifact (graceful degradation preserved).
580
503
 
@@ -600,7 +523,6 @@ Specialized selection rules:
600
523
 
601
524
  - `implementation-fix` selects only `audits/implementation/* implementation-audit.md` with `Workflow: implementation-audit`.
602
525
  - `mobile-figma-fix` selects only `audits/mobile-figma/* mobile-figma-audit.md` with `Workflow: mobile-figma-audit`.
603
- - `maestro-fix` selects only `audits/maestro/* maestro-audit.md` with `Workflow: maestro-audit`.
604
526
  - Single-lens execution selects only its matching workflow directory and metadata.
605
527
 
606
528
  Before editing:
@@ -626,13 +548,12 @@ bun skills/massa-ai/scripts/validate_audit_report.ts <path-to-report.md> --famil
626
548
  ```
627
549
 
628
550
  `--family` is one of `architecture`, `bugs`, `code-quality`, `security`,
629
- `requirements`, `tests`, `maestro`, `mobile-figma`, or `implementation`
551
+ `requirements`, `tests`, `mobile-figma`, or `implementation`
630
552
  (auto-detected from the report's `Workflow:` field when omitted). It checks:
631
553
 
632
554
  - required freshness-header metadata fields for that family (common fields
633
555
  plus family-specific extras — `Requirements Source` for single-lens and
634
- implementation reports; `Scenario Source`/`Maestro CLI`/`Device/Emulator
635
- Readiness` for Maestro; the mobile Figma identity fields for Mobile Figma)
556
+ implementation reports; the mobile Figma identity fields for Mobile Figma)
636
557
  - finding-ID format (`PREFIX-N`, or `<Area>/<PREFIX>-N` for the
637
558
  implementation composite family)
638
559
  - Area<->Prefix table membership for implementation reports (rejects an
@@ -642,5 +563,5 @@ bun skills/massa-ai/scripts/validate_audit_report.ts <path-to-report.md> --famil
642
563
 
643
564
  A non-zero exit blocks editing. The script does **not** re-check drift
644
565
  against current source, table-structure presence (Target Surface Matrix,
645
- Maestro Run Matrix, etc.), or Figma-node freshness — those stay a manual
566
+ etc.), or Figma-node freshness — those stay a manual
646
567
  step per the "Before editing" list above.
@@ -30,7 +30,7 @@ The scan covers existing:
30
30
  Run the scan in one or more separate read-only subagents before new
31
31
  implementation code is planned or written:
32
32
 
33
- > **Dispatch: `massa-ai-investigator`** (role: `investigator`) — charter `skills/agents/investigator/SKILL.md`
33
+ > **Dispatch: `code-explorer`** (role: `code-explorer`, mode: `trace`) — charter `skills/agents/code-explorer/SKILL.md`
34
34
  > - trigger: planning or writing new implementation code in any of the 16 implementation workflows — mandatory, not optional
35
35
  > - scope: the target feature/module area — candidate existing components, helpers, classes, use cases, repositories, and business logic that could satisfy or overlap the new work
36
36
  > - permissions: read-only
@@ -1,10 +1,10 @@
1
1
  # ADR Authoring
2
2
 
3
- Use from `workflows/adr.md`. Defines how massa-ai creates Architecture Decision Records without delegating orchestration to another ADR skill.
3
+ Use from `workflows/create-adr.md`. Defines how massa-ai creates Architecture Decision Records without delegating orchestration to another ADR skill.
4
4
 
5
5
  ## Core Rule
6
6
 
7
- An ADR records a significant architecture decision that is already made or being finalized. If the user is still choosing among options, route to `workflows/rfc.md`. If the user needs implementation design after the decision, route to `workflows/tdd.md`.
7
+ An ADR records a significant architecture decision that is already made or being finalized. If the user is still choosing among options, route to `workflows/create-rfc.md`. If the user needs implementation design after the decision, route to `workflows/create-tdd.md`.
8
8
 
9
9
  Route matrix:
10
10
 
@@ -26,7 +26,7 @@ Prefer sources in this order:
26
26
  1. User prompt and explicitly provided Markdown files.
27
27
  2. ADR template from Markdown or Atlassian MCP. If absent, ask fallback ADR format/status/supersession questions.
28
28
  3. PRD from Markdown or Atlassian MCP when provided. If needed but absent, ask for missing context instead of inventing.
29
- 4. RFC from Markdown or Atlassian MCP when provided. If needed but absent, ask for missing context instead of inventing. If the user does not know, assume the decision is not made and route to `workflows/rfc.md`.
29
+ 4. RFC from Markdown or Atlassian MCP when provided. If needed but absent, ask for missing context instead of inventing. If the user does not know, assume the decision is not made and route to `workflows/create-rfc.md`.
30
30
  5. Complementary ADR from Markdown or Atlassian MCP when provided. Use it as factual context only for cross-stack constraints, contracts, dependencies, risks, and links.
31
31
  6. Same-Stack Example ADR from Markdown or Atlassian MCP when provided. Use it only for format, structure, tone, naming, metadata, and placement conventions; do not use its decision context, rationale, constraints, consequences, or claims as facts for the new ADR.
32
32
  7. UI/UX context from Figma MCP when provided and relevant. If Figma is absent, use PRD, RFC, or NotebookLM context. If none exists, ignore UI/UX.
@@ -8,7 +8,7 @@ Load before source investigation, RFC classification, impact selection, or clari
8
8
  - Use ADR when a significant architecture decision is finalized or being formally recorded.
9
9
  - Use TDD when the direction is settled and implementation architecture, contracts, rollout, and verification remain.
10
10
  - Use spec-driven when the request spans requirements, design, task planning, and implementation.
11
- - Use a feature, refactor, debug, or general workflow when a durable stakeholder proposal would add no decision value.
11
+ - Use a feature, refactor, or debug workflow when a durable stakeholder proposal would add no decision value.
12
12
 
13
13
  Route matrix:
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  The values below are starting reference values, not requirements. They are calibration anchors, not mandates. Treat every number as a starting-point reference to be confirmed against the project's own SLOs, load profile, and regulatory scope; override per project and record the override in the TDD. None of these tables restore a prescriptive count schema or a fixed section-count mandate.
4
4
 
5
- Load only when the TDD's conditional concerns (rollback, rollout, latency, compliance) apply and the team needs a concrete starting point. It complements `references/tdd/document-contract.md` (which owns the Conditional Concerns trigger table) by giving example budgets; it does not replace project-verified SLOs or legal obligations.
5
+ Load only when the TDD's conditional concerns (rollback, rollout, latency, compliance) apply and the team needs a concrete starting point. It complements `references/create-tdd/document-contract.md` (which owns the Conditional Concerns trigger table) by giving example budgets; it does not replace project-verified SLOs or legal obligations.
6
6
 
7
7
  ## Rollback-Trigger Table
8
8
 
@@ -16,7 +16,7 @@ Calibration anchors, not mandates. Each row is a starting-point signal that typi
16
16
  | Latency regression | p95 latency exceeds 1.5x the pre-rollout p95 for the affected route | rollback (or documented forward-recovery) |
17
17
  | Failed dependency | a critical dependency the rollout relies on is confirmed down | rollback (or pause rollout and contain) |
18
18
 
19
- Rollback is not always technically possible; where it is not, the TDD must document forward recovery, containment, restore, or compensating actions instead of falsely promising reversibility (see `references/tdd/document-contract.md`).
19
+ Rollback is not always technically possible; where it is not, the TDD must document forward recovery, containment, restore, or compensating actions instead of falsely promising reversibility (see `references/create-tdd/document-contract.md`).
20
20
 
21
21
  ## Rollout Percentages Reference
22
22
 
@@ -51,4 +51,4 @@ Calibration anchors, not mandates, and not legal advice. Verify applicability pe
51
51
  | PCI-DSS | cardholder-data protection, access control, logging, segmentation, vulnerability management | applicability depends on storing, processing, or transmitting cardholder data; confirm scope with security owner |
52
52
  | LGPD | legal basis, data-subject rights, purpose limitation, international transfer, DPO accountability | applicability depends on processing Brazil personal data; confirm scope with privacy owner |
53
53
 
54
- This matrix is a starting-point index, not a compliance attestation. Per `references/tdd/document-contract.md`, do not claim compliance from generic controls; identify each applicable obligation as verified, proposed, or unresolved.
54
+ This matrix is a starting-point index, not a compliance attestation. Per `references/create-tdd/document-contract.md`, do not claim compliance from generic controls; identify each applicable obligation as verified, proposed, or unresolved.
@@ -40,7 +40,7 @@ Never convert an inference or example into a project fact. Omit optional metadat
40
40
  - Use RFC when stakeholders still need options compared or the primary direction approved.
41
41
  - Use ADR when one significant decision and its consequences need recording without a full implementation blueprint.
42
42
  - Use spec-driven when the request spans requirements, design, tasks, and implementation or needs staged approval across those phases.
43
- - Use feature, refactor, debug, or general for localized work that does not need a durable design artifact.
43
+ - Use feature, refactor, or debug for localized work that does not need a durable design artifact.
44
44
 
45
45
  TDD readiness checklist:
46
46
 
@@ -19,7 +19,7 @@ The document is decision-complete only when an implementer can proceed without i
19
19
  - Implementation task tables use the exact columns `Order`, `PR Group`, `Layer`, `PR Size`, `Included Work`, `Dependencies`, `Verification Gate`, and `Jira Key` when implementation work is planned.
20
20
  - PR groups are independently buildable and testable. Small PRs are preferred, Medium PRs have a dependency or coherence reason, and Large PRs include split, stacked PR, feature-flag, or containment rationale.
21
21
  - Non-breaking implementation groups are ordered Data, Domain, then Presentation/Navigation, or the TDD explicitly maps those labels to the repository's actual boundaries.
22
- - Jira creation remains delegated to `workflows/ticket.md`; `Jira Key` contains only confirmed keys, `Not requested`, `Unavailable`, or `Pending`.
22
+ - Jira creation remains delegated to `workflows/create-ticket.md`; `Jira Key` contains only confirmed keys, `Not requested`, `Unavailable`, or `Pending`.
23
23
  - UI/UX-affecting symbol changes include a parallel rendering surfaces and mappers checklist, or explicitly state why none apply.
24
24
  - A `Strings Audit` is present when scoped mappers branch on a type and call `stringResource`, or the TDD records evidence that the audit was not applicable.
25
25
  - `Decisions Revised During Implementation` is present for living implementation updates.
@@ -1,6 +1,6 @@
1
1
  # Ticket Intake And Sources
2
2
 
3
- Use from `workflows/ticket.md` before drafting. Gather only missing decisions, keep source roles explicit, and avoid repository-derived ticket conventions.
3
+ Use from `workflows/create-ticket.md` before drafting. Gather only missing decisions, keep source roles explicit, and avoid repository-derived ticket conventions.
4
4
 
5
5
  ## Ordered Intake
6
6
 
@@ -19,7 +19,7 @@ pass reads one coherent slice.
19
19
 
20
20
  ## Stage 1 — Pre-Analysis (always first, exactly one subagent)
21
21
 
22
- Dispatch one read-only subagent (investigator-class; Figma MCP — Model Context
22
+ Dispatch one read-only subagent (`code-explorer`, `trace` mode; Figma MCP — Model Context
23
23
  Protocol — access, no repository mutation) over the user-provided Figma links.
24
24
  Its job: understanding, **not** extraction:
25
25
 
@@ -1,4 +1,4 @@
1
- # Role: furps-analyst
1
+ # Role: product-manager (`furps` mode)
2
2
 
3
3
  Reusable sub-agent role for `workflows/refinement/furps-refinement.md`. Charter follows `references/subagent-design.md`. Registered in `references/agent-orchestration.md`.
4
4
 
@@ -6,7 +6,7 @@ Purpose: analyze exactly one FURPS+ dimension (F, U, R, P, S, or X) of a PRD/ADR
6
6
 
7
7
  Trigger description:
8
8
  - Use when the `furps-refinement` workflow fans out per-dimension analysis and needs isolated context plus independent verification per dimension.
9
- - Do not use when the work is a one-off local check, needs full conversation history, requires writes, or overlaps another role (use `plan-critic` for The Fool, `investigator`/`verifier` for code claims).
9
+ - Do not use when the work is a one-off local check, needs full conversation history, requires writes, or overlaps another role (use `judge` in `plan-critique` mode for The Fool, `code-explorer`/`code-reviewer` for code claims).
10
10
 
11
11
  Permissions:
12
12
  - Default: read-only.
@@ -15,7 +15,7 @@ Permissions:
15
15
  Context inputs:
16
16
  - exact `projectId`
17
17
  - exact parent `workflowSessionId` and a child session tag; an ephemeral Synapse session only if the role performs >=2 `search` calls
18
- - workflow name (`furps-refinement`) and role name (`furps-analyst`)
18
+ - workflow name (`furps-refinement`) and role name (`product-manager`, `mode: furps`)
19
19
  - assigned dimension letter and its `references/furps/checklist.md` section
20
20
  - bounded document packet (sections/summaries, DoR, recalled facts, Fool summary)
21
21
  - exclusions: other dimensions (flag, do not expand), sibling-workflow targets
@@ -1,6 +1,6 @@
1
1
  # FURPS+ Refinement Checklist
2
2
 
3
- Use from `workflows/refinement/furps-refinement.md` when analyzing a PRD and/or ADR against the FURPS+ quality model. One `furps-analyst` sub-agent loads only its assigned dimension section; the main agent loads the full file only when synthesizing or when no dimension split is used.
3
+ Use from `workflows/refinement/furps-refinement.md` when analyzing a PRD and/or ADR against the FURPS+ quality model. One `product-manager` sub-agent in `furps` mode loads only its assigned dimension section; the main agent loads the full file only when synthesizing or when no dimension split is used.
4
4
 
5
5
  ## Source
6
6
 
@@ -89,4 +89,4 @@ Non-functional requirements beyond the five core ("+").
89
89
 
90
90
  ## Cross-dimension note
91
91
 
92
- Some concerns span dimensions (e.g., error flows touch F3+R2+U1; components touch F2+S2). A `furps-analyst` may flag a cross-dimension concern in its findings, but must not expand its scope into another dimension. The main agent deduplicates and reconciles cross-dimension concerns during synthesis.
92
+ Some concerns span dimensions (e.g., error flows touch F3+R2+U1; components touch F2+S2). A `product-manager` dispatch may flag a cross-dimension concern in its findings, but must not expand its scope into another dimension. The main agent deduplicates and reconciles cross-dimension concerns during synthesis.
@@ -18,7 +18,7 @@ A run may combine sources (e.g., a Jira PRD epic + a Confluence ADR). Record eve
18
18
 
19
19
  ## Atlassian MCP (read-only capability discovery)
20
20
 
21
- This workflow only reads from Atlassian; it never creates issues or pages. Reuse the capability-discovery pattern from `references/ticket/atlassian-fix.md`:
21
+ This workflow only reads from Atlassian; it never creates issues or pages. Reuse the capability-discovery pattern from `references/create-ticket/atlassian-fix.md`:
22
22
 
23
23
  1. Inspect currently callable tools.
24
24
  2. Identify Atlassian MCP operations by capability and schema, not by provider-specific function name. Needed capabilities: Jira issue retrieval and Confluence page retrieval.
@@ -68,9 +68,9 @@ The main agent builds one packet reused across sub-agents:
68
68
 
69
69
  ## Sub-agent packet contracts
70
70
 
71
- ### plan-critic (The Fool) — evidence_audit
71
+ ### judge `plan-critique` (The Fool) — evidence_audit
72
72
 
73
- - role: `plan-critic`; mode: `evidence_audit`
73
+ - role: `judge`; mode: `plan-critique`; depth: `full`; fool_mode: `evidence_audit`
74
74
  - purpose: grade whether the PRD/ADR claims are source-backed, complete, falsifiable
75
75
  - scope: the document as the challenged thesis
76
76
  - permissions: read-only
@@ -80,9 +80,9 @@ The main agent builds one packet reused across sub-agents:
80
80
  - firewall: summarize the document; no raw dumps
81
81
  - memory: suggest only
82
82
 
83
- ### plan-critic (The Fool) — pre_mortem
83
+ ### judge `plan-critique` (The Fool) — pre_mortem
84
84
 
85
- - role: `plan-critic`; mode: `pre_mortem`
85
+ - role: `judge`; mode: `plan-critique`; depth: `full`; fool_mode: `pre_mortem`
86
86
  - purpose: anticipate execution-phase failures of the proposed solution
87
87
  - inputs: document packet, DoR, recalled facts, AND the evidence_audit summary
88
88
  - output: Fool critique contract, focused on failure narratives
@@ -90,9 +90,9 @@ The main agent builds one packet reused across sub-agents:
90
90
 
91
91
  Dispatch `pre_mortem` after `evidence_audit` returns, so it can build on identified gaps.
92
92
 
93
- ### furps-analyst — one per dimension (F, U, R, P, S, X)
93
+ ### product-manager `furps` — one per dimension (F, U, R, P, S, X)
94
94
 
95
- - role: `furps-analyst`; dimension: `<letter>`
95
+ - role: `product-manager`; mode: `furps`; dimension: `<letter>`
96
96
  - purpose: analyze one FURPS+ dimension against its checklist section
97
97
  - scope: the assigned dimension's check items only
98
98
  - permissions: read-only
@@ -64,7 +64,6 @@ absent, it falls back to the flat evidence matrix (graceful degradation).
64
64
  | `bugs-fix` | verification-fix gate |
65
65
  | `code-quality-fix` | verification-fix gate |
66
66
  | `implementation-fix` | verification-fix gate |
67
- | `maestro-fix` | verification-fix gate |
68
67
  | `mobile-figma-fix` | verification-fix gate |
69
68
  | `requirements-fix` | verification-fix gate |
70
69
  | `security-fix` | verification-fix gate |
@@ -78,23 +77,20 @@ absent, it falls back to the flat evidence matrix (graceful degradation).
78
77
  | `bugs-audit` | flat evidence matrix |
79
78
  | `code-quality-audit` | flat evidence matrix |
80
79
  | `implementation-audit` | flat evidence matrix |
81
- | `maestro-audit` | flat evidence matrix |
82
80
  | `mobile-figma-audit` | flat evidence matrix |
83
81
  | `requirements-audit` | flat evidence matrix |
84
82
  | `security-audit` | flat evidence matrix |
85
83
  | `tests-audit` | flat evidence matrix |
86
84
  | `furps-refinement` | flat evidence matrix (findings-only; report written + DoR coverage gaps listed) |
87
- | `adr` | flat evidence matrix |
85
+ | `create-adr` | flat evidence matrix |
88
86
  | `commit` | flat evidence matrix |
89
87
  | `design` | flat evidence matrix |
90
- | `general` | flat evidence matrix |
91
88
  | `long-session` | flat evidence matrix |
92
- | `maestro` | flat evidence matrix |
93
89
  | `onboarding` | flat evidence matrix |
94
- | `rfc` | flat evidence matrix |
95
- | `tdd` | flat evidence matrix |
90
+ | `create-rfc` | flat evidence matrix |
91
+ | `create-tdd` | flat evidence matrix |
96
92
  | `the-fool` | flat evidence matrix |
97
- | `ticket` | flat evidence matrix |
93
+ | `create-ticket` | flat evidence matrix |
98
94
 
99
95
  ## massa-ai Dual-Write / Tag Contract
100
96
 
@@ -65,14 +65,14 @@ worktree was never provisioned is an environment failure; say so rather than
65
65
  reporting it as a code failure.
66
66
 
67
67
  **Phased work — one branch per Phase/Wave.** When the work is phased (sourced
68
- from `workflows/ticket.md`, a spec-driven `tasks.md` with Phases/Waves, a TDD
68
+ from `workflows/create-ticket.md`, a spec-driven `tasks.md` with Phases/Waves, a TDD
69
69
  PR-group table, or a `references/pr-task-fix.md` PR-group split), create
70
70
  **one branch per Phase/Wave**, not one branch per task
71
71
  and not one branch for the whole feature. All Phases/PR groups of one feature
72
72
  share that feature's single Stage 3 delivery authorization — one go-ahead
73
73
  covers every group's commits, pushes, and PR creation. Name the branch with the phase's Jira
74
74
  Task key, e.g. `feat/<PHASE-KEY>-<slug>` (so `feat/SA-100-phase-1-search-split`
75
- for phase SA-100). The phase key comes from `workflows/ticket.md` or the user.
75
+ for phase SA-100). The phase key comes from `workflows/create-ticket.md` or the user.
76
76
  Each Task inside the phase is then one atomic commit on that branch, prefixed
77
77
  with its own sub-task key — the commit contract is owned by
78
78
  `workflows/commit.md`; do not restate it here. Non-phased work keeps the
@@ -22,4 +22,3 @@ Step 2 reads whatever project documentation the target repository actually has;
22
22
  ## Family Instantiations
23
23
 
24
24
  - **Requirements family:** the audit report's cited Requirement Source may be treated as Step 0 — the authoritative anchor the rest of the chain verifies implementation facts against. Step 0 answers *what was required*; Steps 1-5 still govern *how the code behaves*.
25
- - **Maestro:** `references/maestro/fact-ledger.md`'s Authority Order is the Maestro instantiation of this chain (official-doc → live-help → repo-convention → excluded/unverified). Do not layer the generic chain on top of it.
@@ -7,9 +7,6 @@ Mobile is a context modifier, not a primary workflow. Keep the selected workflow
7
7
  - New capability -> `workflows/feature.md`
8
8
  - Behavior-preserving structure change -> `workflows/refactor.md`
9
9
  - Broken behavior, crashes, regressions, or device-specific failures -> `workflows/debug.md` plus `references/mobile-diagnosis.md`
10
- - New Maestro mobile E2E flow implementation -> `workflows/maestro/maestro.md`
11
- - Findings-only Maestro mobile E2E audit -> `workflows/maestro/maestro-audit.md`
12
- - Child-only fix for saved Maestro audit findings -> `workflows/maestro/maestro-fix.md`
13
10
  - Findings-only test coverage review -> `workflows/tests/tests-audit.md`
14
11
  - Fix findings from a tests audit report -> `workflows/tests/tests-fix.md`
15
12
  - Direct Android Views/Compose, UIKit/SwiftUI, or KMP Compose Multiplatform implementation from Figma or screenshot context -> `workflows/design.md`
@@ -19,11 +16,11 @@ Mobile is a context modifier, not a primary workflow. Keep the selected workflow
19
16
  - Fix findings from a security audit report -> `workflows/security/security-fix.md`
20
17
  - Broad, cross-boundary, unclear, or multi-platform implementation -> `workflows/spec-driven.md`
21
18
 
22
- Maestro is a first-class mobile E2E workflow family when the primary target is flow implementation, existing-flow audit, or saved `MST-*` remediation. Generic test coverage, assertion quality, or regression-risk review still belongs to `workflows/tests/tests-audit.md` or `workflows/tests/tests-fix.md` when the target is not Maestro-specific.
19
+ Mobile E2E test coverage, assertion quality, flakiness, or regression-risk review belongs to `workflows/tests/tests-audit.md` or `workflows/tests/tests-fix.md`, whatever the E2E tool.
23
20
 
24
21
  ## Design-Source Intake Gate
25
22
 
26
- Use this gate for `feature`, `spec-driven`, `rfc`, `adr`, and `tdd` workflows when the target is Android, iOS, KMP Compose Multiplatform UI, or plausibly mobile UI. Clear backend, CLI, docs, infrastructure, or non-UI work skips the gate entirely.
23
+ Use this gate for `feature`, `spec-driven`, `create-rfc`, `create-adr`, and `create-tdd` workflows when the target is Android, iOS, KMP Compose Multiplatform UI, or plausibly mobile UI. Clear backend, CLI, docs, infrastructure, or non-UI work skips the gate entirely.
27
24
 
28
25
  - Ask once for one or more Figma links, node IDs, a readable desktop selection, supplied screenshots, or explicit `none`. Treat `none` as a first-class answer: record `Figma Source: none by user choice` and do not re-ask unless the mobile UI scope changes.
29
26
  - When Figma sources or screenshots are supplied for supported Android, iOS, or KMP Compose Multiplatform UI implementation/update work, keep the parent workflow as the lifecycle owner and invoke `workflows/design.md` only for the affected UI slice or visual feasibility context. Preserve mobile Figma routing by intent: compare/audit wording uses `workflows/mobile-figma/mobile-figma-audit.md`; saved `MFM-*` findings use `workflows/mobile-figma/mobile-figma-fix.md`.
@@ -44,7 +44,7 @@ If stacked branching is declined, unavailable, or not applicable, continue seque
44
44
 
45
45
  ## Jira-Key Stacked Branches
46
46
 
47
- After the PR groups are stable, inspect their Jira keys. Offer stacked branch automation only when every PR group has a confirmed Jira key. Do not create Jira tickets from this reference; ticket creation remains owned by `workflows/ticket.md`.
47
+ After the PR groups are stable, inspect their Jira keys. Offer stacked branch automation only when every PR group has a confirmed Jira key. Do not create Jira tickets from this reference; ticket creation remains owned by `workflows/create-ticket.md`.
48
48
 
49
49
  If every group has a Jira key, ask whether the user wants to automatically create separate stacked branches for each Jira task. If the user accepts, ask for:
50
50
 
@@ -178,7 +178,7 @@ When sub-agents are unavailable (a single agent executing the full feature), use
178
178
 
179
179
  **Applies only if the harness can assign a model per sub-agent.** If it cannot, ignore this section and run everything on the default model — the workflow is correct either way. The point is to spend high-reasoning capacity where ambiguity and consequence are high, and a faster tier where the work is mechanical, instead of paying top-tier cost uniformly.
180
180
 
181
- massa-ai resolves the actual model per agent through `metadata.model_tier` (`light` / `standard` / `deep`) in each sub-agent's charter (`skills/agents/<name>/SKILL.md`), combined with the host and the active profile in `skills/model-profiles.json` (see `CLAUDE.md` § Agent-harness surface). This section maps role/work characteristics onto that mechanism — it is not a separate free-floating table.
181
+ massa-ai resolves the actual model per agent through the active profile in `skills/model-profiles.json` (see `CLAUDE.md` § Agent-harness surface). Most agents use the profile's per-tool default; some carry per-agent overrides. This section maps role/work characteristics onto that decision framework — it is not a separate free-floating table.
182
182
 
183
183
  Judge the tier by the work in front of the role, not by the role's title:
184
184
 
@@ -189,13 +189,13 @@ Judge the tier by the work in front of the role, not by the role's title:
189
189
  | Batch worker — mechanical phase | Entities, DTOs, config, wiring, straightforward CRUD against a settled pattern | `light` / `standard` |
190
190
  | Verifier | Adversarial reasoning: designs mutations, re-derives coverage, judges outcome precision | `deep` (always — per the Rules of thumb below) |
191
191
  | Specify / Tasks authoring | Structured but judgment-heavy | `standard` / `deep` |
192
- | Read-only specialist (audit-specialist, context-curator, furps-analyst, investigator, mobile-specialist, navigator, requirements-analyst, reviewer) | No write access — findings, investigation, or review quality is the entire deliverable, with no implementation pass downstream to catch a missed nuance | `deep` (always — per the Rules of thumb below) |
193
- | Scoped writer (designer, documentation-agent, judge, test-engineer) | `permission: write`, narrowed by the charter's own Restrictions to one file class — UI-layer / doc / the agent's own report / test files — each with a disjoint write set. Not read-only, so the deep-tier rule below does **not** reach them | per the work, not per the permission |
192
+ | Read-only specialist (code-explorer, code-reviewer, product-manager) | No write access — findings, investigation, or review quality is the entire deliverable, with no implementation pass downstream to catch a missed nuance | `deep` (always — per the Rules of thumb below) |
193
+ | Scoped writer (designer, judge, test-engineer) | `permission: write`, narrowed by the charter's own Restrictions to one file class — UI-layer / the agent's own report / test files — each with a disjoint write set. Not read-only, so the deep-tier rule below does **not** reach them | per the work, not per the permission |
194
194
 
195
195
  **Rules of thumb:**
196
196
 
197
197
  - When unsure, size up, not down. An under-powered worker on ambiguous logic produces gaps the Verifier then has to catch — more expensive than paying for reasoning once.
198
- - **The Verifier always runs on the deepest tier** — per project rule, `skills/agents/verification-agent/SKILL.md` pins `metadata.model_tier: deep`, structurally, not just as advisory guidance here. A weak Verifier defeats the author ≠ verifier gate.
199
- - **Read-only specialists always run on the deepest tier** — this generalizes the Verifier rule: every findings-only or investigation-only charter (`permission: read-only`) pins `metadata.model_tier: deep` structurally, because there is no later implementation pass to catch what a weaker read-only pass missed.
198
+ - **The Verifier always runs on the deepest tier** — in built-in profiles, `code-reviewer` (whose `verify` mode is the Verifier) carries no per-agent override and resolves to the profile's strongest model. A weak Verifier defeats the author ≠ verifier gate.
199
+ - **Read-only specialists always run on the deepest tier** — this generalizes the Verifier rule: in built-in profiles, every findings-only or investigation-only charter (`permission: read-only`) carries no per-agent override and resolves to the profile's strongest model, because there is no later implementation pass to catch what a weaker read-only pass missed. **Accepted risk:** user overlays via the Web UI Model Catalog can choose a weaker default; the UI help text documents this convention.
200
200
  - Set the tier per batch, from that batch's phases. A feature can mix tiers across batches.
201
201
  - Outside the Verifier's and read-only specialists' structural pins, this table is advisory metadata only — no gate, commit, or verification step depends on it.
@@ -180,7 +180,7 @@ Fix tasks follow the same format as regular tasks and can be executed with the i
180
180
 
181
181
  After all checks complete, the Verifier MUST:
182
182
 
183
- 1. **Write the persisted report** to `.specs/features/<slug>/validation.md` (see template below). This file is the evidence artifact — it survives the session and can be referenced by CI, reviewers, or future agents. Record in `.specs/project/STATE.md` (Decisions) that validation evidence is available at that path.
183
+ 1. **Write the persisted report** to `.specs/features/<slug>/validation.md` (see template below). This file is the evidence artifact — it survives the session and can be referenced by CI, reviewers, or future agents. It is the only file the Verifier writes (the `code-reviewer` `verify` carve-out); the orchestrator records in `.specs/project/STATE.md` (Decisions) that validation evidence is available at that path.
184
184
  2. **Return a compact summary in chat** to the orchestrator (see Compact Chat Summary section below). The orchestrator surfaces it to the user and routes any ranked gaps to fix tasks.
185
185
 
186
186
  **Deterministic backing (run it, do not eyeball it):** after writing the report, run `bun skills/massa-ai/scripts/validate_state.ts <feature> [--root .]`. It confirms the report is real — present, verdict filled to PASS, and backed by at least one `file:line` evidence citation — so a missing, hollow, placeholder, or FAIL report cannot slip through as done. A non-zero exit means the feature is NOT done: repair the report or route the FAIL gaps to fix tasks, then re-run. This is the closing gate of Execute and runs automatically, the same way the lessons layer runs at distillation — never a manual step. If no code-execution tool is available, run the same checks by reading the artifact (graceful degradation preserved).
@@ -81,6 +81,9 @@ Output contract:
81
81
  - Risks and skipped checks
82
82
  - Exact next step
83
83
 
84
+ Modes (only when the role owns more than one output contract):
85
+ - One `### Mode: <name>` section per contract (the name in backticks), holding that mode's own output; the packet `mode` field selects it.
86
+
84
87
  Validation sensors:
85
88
  - [tests, build, typecheck, lint, static search, artifact inspection, or source-location proof]
86
89
 
@@ -97,24 +100,18 @@ sets drift into three diverging shapes before the canonical section existed. Whe
97
100
  workflow dispatches a reusable role, send that canonical packet, not a loose
98
101
  instruction.
99
102
 
100
- The one field this reference still names on its own is `persona`, because a
101
- persona-agent-boundary guard (`.specs/features/persona-agent-boundary/spec.md`)
102
- checks its clause byte-for-byte in every packet-defining file, this one included:
103
-
104
- `persona`: optional. The 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.
105
-
106
103
  Design-time additions this reference owns: a new role's charter must be expressible
107
104
  as that packet (if a role needs fields the canonical list cannot carry, the role is
108
105
  mis-scoped — split it or fix the charter, do not grow a bespoke packet silently), and
109
- any deliberate bespoke specialization (judge panel, FURPS analyst, phase-batch
110
- worker) must declare itself a specialization in its own workflow file and map its
106
+ any deliberate bespoke specialization (judge panel, FURPS `product-manager` fan-out,
107
+ phase-batch worker) must declare itself a specialization in its own workflow file and map its
111
108
  fields onto the canonical ones from `agent-orchestration.md`.
112
109
 
113
110
  ## Quality Checklist
114
111
 
115
112
  Before adding or revising a reusable role:
116
113
 
117
- - One responsibility; no generic "helper" roles.
114
+ - One responsibility; no generic "helper" roles. A role that absorbs another keeps every former output contract behind its own `Mode:` section rather than dropping one.
118
115
  - Trigger description names when to use it and when not to use it.
119
116
  - Scope can be represented as a bounded capability packet.
120
117
  - Read-only by default; write permissions require disjoint ownership and verification.
@@ -44,7 +44,7 @@ Config knobs (env, read by the server, not by the agent):
44
44
  |---|---|---|
45
45
  | `SYNAPSE_ENABLED` | `true` | Master kill switch; `false` bypasses the whole pipeline, and `search` behaves statelessly even when a `sessionId` is passed. |
46
46
  | `SYNAPSE_ATTENTION_ENABLED` | `false` | Multi-signal attention re-ranker. **Off by default** — do not attribute re-ranking to Synapse unless it is on. |
47
- | `LOG_LEVEL` | `info` | `debug` emits one pipeline log line per query (see Reading Pipeline Output). |
47
+ | `MASSA_AI_LOG_LEVEL` | `info` | `debug` emits one pipeline log line per query (see Reading Pipeline Output). |
48
48
 
49
49
  ## MCP-First Lifecycle
50
50
 
@@ -103,7 +103,7 @@ optional. REST prefetch requires `filePath` and may include `symbols`, `chains`,
103
103
 
104
104
  ## Reading Pipeline Output
105
105
 
106
- With `LOG_LEVEL=debug`, the server emits one structured line per Synapse-scoped
106
+ With `MASSA_AI_LOG_LEVEL=debug`, the server emits one structured line per Synapse-scoped
107
107
  query. Use it to decide whether Synapse is helping or whether the query needs
108
108
  refining — not as evidence about the codebase.
109
109
 
@@ -50,10 +50,10 @@ Every `*-fix` workflow must execute this gate for each selected finding or coher
50
50
 
51
51
  ### Independent Verification Mandate (author ≠ verifier)
52
52
 
53
- - At **Standard+ or Spec-driven size, or for any high/critical-severity finding**, dispatching `massa-ai-verification-agent` is **mandatory** before closure — the author must not be the sole verifier of their own work. At Quick size, the subagent hop may be skipped, but the check itself is never skipped: run a standalone fresh-eyes re-check (re-read the finding/ACs, changed files, tests, and diff from scratch) against the same output contract.
53
+ - At **Standard+ or Spec-driven size, or for any high/critical-severity finding**, dispatching `code-reviewer` in `verify` mode is **mandatory** before closure — the author must not be the sole verifier of their own work. At Quick size, the subagent hop may be skipped, but the check itself is never skipped: run a standalone fresh-eyes re-check (re-read the finding/ACs, changed files, tests, and diff from scratch) against the same output contract.
54
54
  - **Exception — `security-fix` dispatches the verifier unconditionally** for every finding closed `fixed`, at every tier.
55
55
  - Fallback discipline: when the subagent is unavailable (not registered, spawning forbidden), run the standalone fresh-eyes re-check from scratch and record the skipped-delegation reason in closure evidence.
56
- - Reviewer + verifier both dispatching at Standard+ is intentional cost, mirroring spec-driven's always-on pair — not accidental duplication.
56
+ - `code-reviewer` in `review` and in `verify` mode both dispatching at Standard+ is intentional cost, mirroring spec-driven's always-on pair — not accidental duplication.
57
57
 
58
58
  ### Discrimination Sensor
59
59