@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
|
@@ -8,7 +8,7 @@ metadata:
|
|
|
8
8
|
|
|
9
9
|
### Spec-Driven
|
|
10
10
|
|
|
11
|
-
Use for explicit spec-driven requests and broad, ambiguous, migration-heavy, cross-boundary, public-contract, or long-running delivery that needs requirements-through-verification control. Ordinary localized fixes and clear small features stay in `debug`, `feature`,
|
|
11
|
+
Use for explicit spec-driven requests and broad, ambiguous, migration-heavy, cross-boundary, public-contract, or long-running delivery that needs requirements-through-verification control. Ordinary localized fixes and clear small features stay in `debug`, `feature`, or `refactor` unless the user explicitly requests this workflow.
|
|
12
12
|
|
|
13
13
|
Load `references/project-context.md` (intake sweep) before the first substantive read.
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ Holds for every task, even if reference files are not opened:
|
|
|
36
36
|
1. Tests derive from the spec's acceptance criteria and assert spec-defined outcomes — they never mirror the implementation.
|
|
37
37
|
2. The gate must pass (tests pass) before a task is done — the test runner decides, not self-assessment.
|
|
38
38
|
3. One atomic commit per task. Never batch tasks; never weaken, skip, or delete tests to make them pass.
|
|
39
|
-
4. After the last task, a fresh
|
|
39
|
+
4. After the last task, a fresh `code-reviewer` verifier (`verify` mode) always runs automatically (author ≠ verifier) — spec-anchored outcome check plus discrimination sensor. Never optional, never prompted.
|
|
40
40
|
5. **Blast radius (approval ≠ remote authority):** Approving Execute for this feature authorizes local implementation and local commits, and covers one delivery through PR creation — branch push and `gh pr create` — under one explicit go-ahead given at Execute start. Force-push, deploy, production database changes, merges, and any other remote/externally-visible/destructive operation always require a separate explicit go-ahead, even after that authorization.
|
|
41
41
|
|
|
42
42
|
## Auto-Sizing
|
|
@@ -114,26 +114,25 @@ Quick artifacts live under `.specs/quick/NNN-slug/` with a `TASK.md` (one-line i
|
|
|
114
114
|
- Use per-task commits when the environment and user permissions allow commits; otherwise record the skipped reason.
|
|
115
115
|
- Keep validation assets protected.
|
|
116
116
|
- Update logical feature artifacts in `.specs/features/<slug>/` and `.specs/project/STATE.md` after meaningful progress.
|
|
117
|
-
- Finish Execute by running `references/spec-driven/validate.md`. Dispatch `
|
|
117
|
+
- Finish Execute by running `references/spec-driven/validate.md`. Dispatch `code-reviewer` in `verify` mode (author ≠ verifier) per `references/agent-orchestration.md`; the `code-reviewer` verifier always runs automatically and writes `.specs/features/<slug>/validation.md`. Without subagents, run the standalone fresh-eyes fallback in `validate.md`.
|
|
118
118
|
|
|
119
|
-
**Screen work — before writing or judging any user-facing screen:** when this task creates or modifies a screen, the `
|
|
119
|
+
**Screen work — before writing or judging any user-facing screen:** when this task creates or modifies a screen, the `designer` dispatch below is mandatory rather than discretionary, carved out of ordinary delegation gating by the Screen Implementation Exception in `references/agent-orchestration.md`. It does not fire when the task touches no screen surface.
|
|
120
120
|
|
|
121
|
-
> **Dispatch: `
|
|
121
|
+
> **Dispatch: `designer`** (role: `designer`, mode: `implement`) — charter `skills/agents/designer/SKILL.md`
|
|
122
122
|
> - scope: the screens, views, components, layouts, styles, and design tokens in this task's UI surface — never the whole repository
|
|
123
123
|
> - permissions: write, scoped to UI-layer files only with a disjoint write set
|
|
124
124
|
> - output: per-element conformance table (element, expected, actual, verdict, severity) plus the UI files written; a missing or unreachable design source is listed as a skipped sensor, never a silent pass
|
|
125
125
|
|
|
126
|
-
> **Dispatch: `
|
|
126
|
+
> **Dispatch: `code-reviewer`** (role: `code-reviewer`, mode: `review`) — charter `skills/agents/code-reviewer/SKILL.md`
|
|
127
127
|
> - trigger: implementation complete, before the verification gate — never optional
|
|
128
128
|
> - scope: the task's diff surface and its task/AC context
|
|
129
|
-
> - permissions: read-only
|
|
130
129
|
> - inputs: diff, acceptance context, recalled code-quality conventions
|
|
131
130
|
> - sensors: bugs, regressions, missing edge cases, smells introduced by the diff
|
|
132
131
|
> - output: ranked findings, blocking vs advisory; blocking findings become fix items before verification runs
|
|
133
132
|
> - firewall: summarized findings only, never raw diff dumps
|
|
134
133
|
> - memory: suggest-only; main agent persists
|
|
135
134
|
|
|
136
|
-
> **Dispatch: `
|
|
135
|
+
> **Dispatch: `code-reviewer`** (role: `code-reviewer`, mode: `verify`) — charter `skills/agents/code-reviewer/SKILL.md`
|
|
137
136
|
> - trigger: spec-driven Execute final gate; author ≠ verifier independence required
|
|
138
137
|
> - scope: the feature's git diff surface, test files, and spec ACs
|
|
139
138
|
> - inputs: `spec.md` (ACs = source of truth), `references/spec-driven/validate.md` as operating checklist, commit range, test files in scope
|
|
@@ -142,7 +141,7 @@ Quick artifacts live under `.specs/quick/NNN-slug/` with a `TASK.md` (one-line i
|
|
|
142
141
|
> - firewall: raw diffs/logs/test output summarized; mutations run in scratch state only
|
|
143
142
|
> - memory: suggest-only; main agent persists validation outcomes
|
|
144
143
|
|
|
145
|
-
- The
|
|
144
|
+
- The `code-reviewer` verifier re-derives coverage independently using evidence-or-zero and does not inherit the author's mental model.
|
|
146
145
|
- The fix → re-verify loop is bounded by the Bounded Fix→Re-verify Loop rule in `references/verification-ladder.md` (cap reached → `Blocked`).
|
|
147
146
|
- Distill lesson signals through `references/lessons.md` when validation produces grounded reusable failures.
|
|
148
147
|
7. Before the delivery chain's Propose stage (PR creation), write and commit `.specs/project/STATE.md`, `.specs/HANDOFF.md`, and `.specs/project/FEATURES.json` on the branch — not merely "after meaningful progress" during Execute, but committed before `gh pr create`. **Deterministic backing (run it, do not eyeball it):** `bun skills/massa-ai/scripts/check_specs_delivered.ts <feature> [--root .]` — a non-zero exit blocks Propose (see `references/implementation-delivery.md` stage 3.5 and GATE-02). If no code-execution tool is available, run the same checks by reading the artifact (graceful degradation preserved). Record decisions, blockers, handoff, and completion evidence per `references/spec-driven/memory.md`'s write triggers.
|
|
@@ -169,7 +168,7 @@ Quick artifacts live under `.specs/quick/NNN-slug/` with a `TASK.md` (one-line i
|
|
|
169
168
|
- Requirement cannot close: keep Specify open and ask the user, or record an explicit accepted assumption before execution.
|
|
170
169
|
- Design or Tasks was skipped incorrectly: stop, create the missing artifact, and resume from the updated contract.
|
|
171
170
|
- Validation command unavailable: record the missing command/tool in `validation.md` and mark `Blocked`.
|
|
172
|
-
- Discrimination sensor cannot be made safely reversible: mark `Blocked` unless the
|
|
171
|
+
- Discrimination sensor cannot be made safely reversible: mark `Blocked` unless the `code-reviewer` verifier can prove equivalent discrimination with an existing deterministic mutation fixture.
|
|
173
172
|
- Validation conflict: stop for user resolution when a validation asset conflicts with an approved specification.
|
|
174
173
|
- Fix loop reaches the `references/verification-ladder.md` cap: stop with `Blocked`, preserve evidence, and ask for direction.
|
|
175
174
|
|
|
@@ -41,9 +41,9 @@ Five gates, five distinct error classes. A green gate elsewhere never substitute
|
|
|
41
41
|
- Apply the Memory Freshness Gate from `references/audit-scope.md`; recalled exceptions are leads, not proof.
|
|
42
42
|
4. Establish the investigation scope: select the scope type and build the shared scope packet per `references/audit-scope.md`, which owns the supported scope types, the ask-when-vague rule, and the packet fields. Carry the packet into the report.
|
|
43
43
|
5. Resolve the selected branch's mechanics (modified files, commit range, codebase area, explicit-files/branch/symbol/feature/whole-repo, or implementation parent scope) per `references/audit-scope.md` (Lens Audit Scope Resolution Procedure, Tests row of Per-Lens Scope Deltas).
|
|
44
|
-
6. Investigation pass. Dispatch `
|
|
44
|
+
6. Investigation pass. Dispatch `test-engineer` (`audit` mode) per `references/agent-orchestration.md` when the scope justifies an isolated read-only subagent:
|
|
45
45
|
|
|
46
|
-
> **Dispatch: `
|
|
46
|
+
> **Dispatch: `test-engineer`** (role: `test-engineer`, mode: `audit`) — charter `skills/agents/test-engineer/SKILL.md`
|
|
47
47
|
> - trigger: large scope, explicit parallel/subagent request, PR subagent invocation, or independent verification of high-impact finding
|
|
48
48
|
> - scope: the tests audit target — test files, fixtures, harnesses, coverage
|
|
49
49
|
> - permissions: read-only
|
|
@@ -68,17 +68,16 @@ Not for findings-only test coverage, assertion quality, fixture health, flakines
|
|
|
68
68
|
- Do not delete coverage, snapshots, fixtures, or benchmarks unless the audit report explicitly calls them obsolete and behavior remains protected elsewhere.
|
|
69
69
|
- Prefer production-code changes only when required to expose a deterministic seam or fix a real bug found while writing the audited test.
|
|
70
70
|
|
|
71
|
-
> **Dispatch: `
|
|
71
|
+
> **Dispatch: `code-reviewer`** (role: `code-reviewer`, mode: `review`) — charter `skills/agents/code-reviewer/SKILL.md`
|
|
72
72
|
> - trigger: implementation complete, before the verification gate — never optional
|
|
73
73
|
> - scope: the fix's diff surface and its task/AC context
|
|
74
|
-
> - permissions: read-only
|
|
75
74
|
> - inputs: diff, acceptance context, recalled code-quality conventions
|
|
76
75
|
> - sensors: bugs, regressions, missing edge cases, smells introduced by the diff
|
|
77
76
|
> - output: ranked findings, blocking vs advisory; blocking findings become fix items before verification runs
|
|
78
77
|
> - firewall: summarized findings only, never raw diff dumps
|
|
79
78
|
> - memory: suggest-only; main agent persists
|
|
80
79
|
|
|
81
|
-
> **Dispatch: `
|
|
80
|
+
> **Dispatch: `code-reviewer`** (role: `code-reviewer`, mode: `verify`) — charter `skills/agents/code-reviewer/SKILL.md`
|
|
82
81
|
> - trigger: mandatory per the verification-ladder's Independent Verification Mandate for any TST finding closed at Standard+/Spec-driven size or high/critical severity; at Quick size the subagent hop is skipped and the standalone fresh-eyes assertion re-check below runs instead
|
|
83
82
|
> - scope: the fixed TST finding's assertion strength, fixture/mock boundary, coverage-execution-map row, and report claim closure
|
|
84
83
|
> - inputs: the finding, the applied test change, the coverage execution map row, the verification command, and validation assets
|
|
@@ -100,17 +99,28 @@ Not for findings-only test coverage, assertion quality, fixture health, flakines
|
|
|
100
99
|
- Sequence the TST proof in two passes, in order: first reproduce the coverage execution map's `expected failure before fix` row red (the pre-fix run proves the assertion can fail); only then, at Standard+/Spec-driven size or high/critical severity, run the discrimination sensor from `references/discrimination-sensor.md` as the post-fix kill-check against the new/repaired test's subject code — Quick focused-assertion findings are exempt from the sensor pass but never from the pre-fix red check.
|
|
101
100
|
- A surviving mutant means the TST claim is unproven: close that finding's row `blocked` rather than `fixed` and emit the `surviving_mutant` lessons signal via the recording command above.
|
|
102
101
|
- The fix→re-verify cycle is capped per `references/verification-ladder.md`'s Bounded Fix→Re-verify Loop (3 verification iterations, then `Blocked` with evidence preserved).
|
|
103
|
-
11. Use agent orchestration only when it improves signal — except the
|
|
102
|
+
11. Use agent orchestration only when it improves signal — except the `code-reviewer` `verify` dispatch above, which `references/agent-orchestration.md`'s Independent Verification Exception mandates for TST closures at the sizes/severities its trigger names, regardless of signal improvement. Dispatch per `references/agent-orchestration.md`:
|
|
104
103
|
|
|
105
|
-
> **Dispatch: `
|
|
104
|
+
> **Dispatch: `test-engineer`** (role: `test-engineer`, mode: `fix`) — charter `skills/agents/test-engineer/SKILL.md`
|
|
106
105
|
> - trigger: large/high-risk finding, disjoint implementation slice, or explicit subagent request
|
|
107
106
|
> - scope: one isolated test finding with a disjoint write set
|
|
108
|
-
> - permissions: write (disjoint write set)
|
|
107
|
+
> - permissions: write, test files only (disjoint write set)
|
|
109
108
|
> - inputs: the finding ID, missing/weak coverage type, fixture/mock boundary, deterministic harness, and verification command
|
|
110
109
|
> - sensors: focused test command (`bun test`, `pytest`, `cargo test`) with clean exit code; no weakened assertions
|
|
111
110
|
> - output: implementation summary, test counts, commands run, deviations
|
|
112
111
|
> - firewall: raw test output/logs summarized
|
|
113
112
|
> - memory: suggest-only; main agent persists reusable testing patterns
|
|
113
|
+
|
|
114
|
+
> **Dispatch: `builder`** (role: `builder`) — charter `skills/agents/builder/SKILL.md`
|
|
115
|
+
> - trigger: a selected TST finding whose fix needs a production seam for deterministic testing (step 7 Standard) — never for a test-file change, which belongs to `test-engineer`, and never for a production behavior change, which routes to `workflows/spec-driven.md`
|
|
116
|
+
> - scope: the seam-only production change for one TST finding, with a write set disjoint from the `test-engineer` test files
|
|
117
|
+
> - permissions: write (disjoint write set, production seam files only; no behavior change)
|
|
118
|
+
> - inputs: the finding ID, the coverage execution map row, the seam required (time, randomness, async scheduling, filesystem, network, or global-state control), and the verification command
|
|
119
|
+
> - sensors: the existing suite stays green with the seam in place, then the focused test command passes against it
|
|
120
|
+
> - output: implementation summary, changed files, commands run, deviations
|
|
121
|
+
> - firewall: raw diffs and test output summarized
|
|
122
|
+
> - memory: suggest-only; main agent persists reusable seam patterns
|
|
123
|
+
|
|
114
124
|
- Main agent owns report parsing, prioritization, memory writes, final synthesis, and Evidence Gate.
|
|
115
125
|
12. Close out with the Fix Closure Report:
|
|
116
126
|
- The coverage execution map from step 6, now filled in through step 10's discrimination sensor result column, is the pre-edit draft of the Closure Matrix — carry its rows forward rather than re-deriving them.
|
|
@@ -32,16 +32,16 @@ User prompt overrides take precedence for the current turn only, such as "skip t
|
|
|
32
32
|
- Post-plan gate: inherit the parent workflow's exact `projectId`,
|
|
33
33
|
`workflowSessionId`, workflow name, entity, and memory context.
|
|
34
34
|
2. `recall` -> load prior decisions, rejected approaches, constraints, accepted risks, and relevant evidence for the target entity.
|
|
35
|
-
3. Require a concrete proposed plan before critique. If there is no plan, return to the parent workflow and construct the plan first. After a concrete plan exists, always attempt a
|
|
35
|
+
3. Require a concrete proposed plan before critique. If there is no plan, return to the parent workflow and construct the plan first. After a concrete plan exists, always attempt a `judge` subagent in `plan-critique` mode (it writes nothing in that mode) when subagent tooling is available. If that agent is unavailable, follow the no-agent fallback in `references/agent-orchestration.md` (Name Resolution): run the critique locally against the same output contract and report the skipped delegation.
|
|
36
36
|
4. Resolve gate depth:
|
|
37
37
|
- Post-plan lite gate: keep parent identifiers and dispatch a bounded lite checklist packet without loading The Fool mode references.
|
|
38
38
|
- Post-plan full gate or direct challenge: continue to mode selection and full critique.
|
|
39
39
|
- Direct challenge requests use `workflowSessionId=fool-[entity]`; post-plan gates keep the parent identifiers and send only a bounded packet.
|
|
40
|
-
5. Lite `
|
|
40
|
+
5. Lite `judge` `plan-critique` packet:
|
|
41
41
|
- Inputs: proposed plan, scope, constraints, parent workflow, compact recalled facts/evidence, known risks, verification recipe, context-firewall limits, and lite checklist.
|
|
42
42
|
- Output must include the strongest low-risk challenges plus `escalate_to_full: true|false` and reason.
|
|
43
43
|
- If `escalate_to_full: false`, synthesize the lite critique, revise or accept risk according to policy, and complete the gate without loading The Fool mode references.
|
|
44
|
-
- If `escalate_to_full: true`, the main agent selects full mode, loads the relevant references, and dispatches a full `
|
|
44
|
+
- If `escalate_to_full: true`, the main agent selects full mode, loads the relevant references, and dispatches a full `judge` `plan-critique` pass.
|
|
45
45
|
6. Select The Fool mode for full gates:
|
|
46
46
|
- `mode: auto`: read `references/the-fool/mode-selection-guide.md` and choose the best mode from plan content and domain.
|
|
47
47
|
- `mode: ask`: ask the user only when interactive input is available; otherwise fall back to `auto` and report the fallback.
|
|
@@ -55,12 +55,12 @@ User prompt overrides take precedence for the current turn only, such as "skip t
|
|
|
55
55
|
7. Load only the selected The Fool reference plus `references/the-fool/cognitive-bias-inventory.md`.
|
|
56
56
|
8. Dispatch the full critique:
|
|
57
57
|
- Load `references/agent-orchestration.md`.
|
|
58
|
-
- Use the `plan-
|
|
59
|
-
- Send only the proposed plan, scope, constraints, parent workflow, recalled facts, verification recipe, known risks, selected mode, context-firewall limits, and output contract.
|
|
58
|
+
- Use the `plan-critique` contract and capability-packet shape from `references/agent-orchestration.md`; dispatch `judge` with `mode: plan-critique`.
|
|
59
|
+
- Send only the proposed plan, scope, constraints, parent workflow, recalled facts, verification recipe, known risks, the selected The Fool mode as `fool_mode` (the packet `mode` stays `plan-critique`), context-firewall limits, and output contract.
|
|
60
60
|
- If subagents are unavailable or platform policy forbids spawning, run a strict standalone fresh-eyes local critique and record the skipped delegation reason.
|
|
61
|
-
- Normal delegation gates in `references/agent-orchestration.md` still apply to other roles, but Plan Challenge `plan-
|
|
61
|
+
- Normal delegation gates in `references/agent-orchestration.md` still apply to other roles, but the Plan Challenge `judge` `plan-critique` dispatch is a standing policy exception after a concrete plan exists.
|
|
62
62
|
9. Critique output must include:
|
|
63
|
-
- selected
|
|
63
|
+
- selected `fool_mode`
|
|
64
64
|
- steelmanned thesis
|
|
65
65
|
- 3-5 strongest challenges
|
|
66
66
|
- severity: `critical`, `high`, `medium`, or `low`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Product discovery and brainstorming workflow — act as a sharp product thinking partner to explore problem spaces, generate and stress-test ideas, and spar on strategy before anything is spec-ready, ending with a mandatory offer to synthesize the conversation into a PRD via the
|
|
2
|
+
description: "Product discovery and brainstorming workflow — act as a sharp product thinking partner to explore problem spaces, generate and stress-test ideas, and spar on strategy before anything is spec-ready, ending with a mandatory offer to synthesize the conversation into a PRD via the create-prd workflow. Use when the user wants to brainstorm a product problem, idea, opportunity, or direction with no concrete code target. Do NOT use for codebase understanding (exploration), converting a finished discussion into a PRD (create-prd), or any implementation work. — explicit massa-ai 'product-discovery' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `discovery`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `product-discovery`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `discovery` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `product-discovery` 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,62 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-architecture-specialist
|
|
3
|
-
description: Read-only architecture guidance agent. Evaluate architecture, suggest boundaries, recommend abstractions, evaluate trade-offs, and suggest modularization. Folds the existing domain-mapper, coupling-auditor, and deepening-architect roles into one specialist. Triggers when a workflow needs architectural guidance before or during design. Never implements or rewrites code.
|
|
4
|
-
model: inherit
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
# Architecture Specialist Agent Skill
|
|
8
|
-
|
|
9
|
-
## Mission
|
|
10
|
-
Provide architectural guidance by evaluating structure, suggesting boundaries, and weighing trade-offs.
|
|
11
|
-
|
|
12
|
-
## Responsibilities
|
|
13
|
-
- Evaluate architecture (layering, boundaries, coupling, depth).
|
|
14
|
-
- Suggest module boundaries and seams.
|
|
15
|
-
- Recommend abstractions where duplication or volatility warrants them.
|
|
16
|
-
- Evaluate trade-offs between approaches.
|
|
17
|
-
- Suggest modularization for shallow or over-coupled modules.
|
|
18
|
-
|
|
19
|
-
## Restrictions
|
|
20
|
-
- Never implement.
|
|
21
|
-
- Never rewrite code.
|
|
22
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
23
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
24
|
-
|
|
25
|
-
## Inputs
|
|
26
|
-
- `scope`: the module, service, or area under evaluation.
|
|
27
|
-
- `inputs`: recalled facts, source pointers, existing architecture docs.
|
|
28
|
-
- `sensors`: static coupling/depth metrics when available.
|
|
29
|
-
|
|
30
|
-
## Outputs
|
|
31
|
-
- Status: Complete | Partial | Blocked
|
|
32
|
-
- Scope: modules and boundaries evaluated
|
|
33
|
-
- Evidence: `path:line` pointers, coupling/depth metrics, source locations
|
|
34
|
-
- Findings: boundary suggestions, abstraction recommendations, trade-off analysis, modularization plan
|
|
35
|
-
- Risks and skipped checks
|
|
36
|
-
- Exact next step
|
|
37
|
-
|
|
38
|
-
## Invocation
|
|
39
|
-
### Use when
|
|
40
|
-
- A workflow needs architectural guidance before or during design.
|
|
41
|
-
- The work crosses module or service boundaries.
|
|
42
|
-
- The user asks for architecture evaluation, coupling analysis, or modularization.
|
|
43
|
-
|
|
44
|
-
### Do not use when
|
|
45
|
-
- The work is a single-file fix with no architectural surface.
|
|
46
|
-
- The task needs a concrete implementation (route to builder).
|
|
47
|
-
- An audit-specific lens is needed (route to audit-specialist with `lens: architecture`).
|
|
48
|
-
|
|
49
|
-
## massa-ai Integration
|
|
50
|
-
- Context Firewall: summarize source reads; return findings and metrics, not raw code.
|
|
51
|
-
- Verification Ladder: static (coupling, depth, boundary) checks; no behavioral changes.
|
|
52
|
-
- Massa-ai Memory: suggest durable architecture-decision memories only when a boundary or abstraction is recommended; main agent persists.
|
|
53
|
-
- Synapse: own ephemeral session when evaluation spans multiple modules with repeated searches.
|
|
54
|
-
- References (paths relative to the `massa-ai` skill directory): `references/architecture-lenses.md`, `references/architecture-domain-lens.md`, `references/architecture-coupling-lens.md`, `references/architecture-deepening-lens.md`.
|
|
55
|
-
|
|
56
|
-
## Validation Sensors
|
|
57
|
-
- Every finding has a `path:line` or metric pointer.
|
|
58
|
-
- Trade-offs name at least two alternatives.
|
|
59
|
-
- Boundary suggestions reference concrete modules.
|
|
60
|
-
|
|
61
|
-
## Memory Boundary
|
|
62
|
-
Suggest durable memories only when an architectural boundary or abstraction is recommended and accepted. The main agent persists. Do not persist one-off evaluation chatter.
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-audit-specialist
|
|
3
|
-
description: Configurable read-only audit agent. Execute specialized audits through six lenses — bugs, architecture, security, requirements, code-quality, performance — selected via the lens field in the capability packet. Triggers when a workflow needs a findings-only audit. Never modifies implementation.
|
|
4
|
-
model: inherit
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
# Audit Specialist Agent Skill
|
|
8
|
-
|
|
9
|
-
## Mission
|
|
10
|
-
Execute a specialized audit through one configurable lens and return findings-only output.
|
|
11
|
-
|
|
12
|
-
## Responsibilities
|
|
13
|
-
- Execute the audit checklist for the selected lens.
|
|
14
|
-
- Tie every finding to a `path:line` source location.
|
|
15
|
-
- Rank findings by severity.
|
|
16
|
-
- Produce a findings report following the project audit-report format.
|
|
17
|
-
|
|
18
|
-
## Restrictions
|
|
19
|
-
- Never modify implementation.
|
|
20
|
-
- One lens per dispatch; do not mix lenses in one run.
|
|
21
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
22
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
23
|
-
|
|
24
|
-
## Lenses
|
|
25
|
-
|
|
26
|
-
The `lens` field in the capability packet selects the audit behavior:
|
|
27
|
-
|
|
28
|
-
| Lens | Focus | Per-lens references |
|
|
29
|
-
|---|---|---|
|
|
30
|
-
| `bugs` | Bug discovery: null paths, error handling, race conditions, logic errors | `workflows/bugs/bugs-audit.md` |
|
|
31
|
-
| `architecture` | DDD, boundaries, coupling, module depth, seams | `references/architecture-lenses.md`, `references/architecture-domain-lens.md`, `references/architecture-coupling-lens.md`, `references/architecture-deepening-lens.md` |
|
|
32
|
-
| `security` | Security, privacy, auth, validation, secret handling | `workflows/security/security-audit.md` |
|
|
33
|
-
| `requirements` | Requirements, spec, acceptance, scope alignment | `workflows/requirements/requirements-audit.md` |
|
|
34
|
-
| `code-quality` | SOLID, Clean Code, KISS, YAGNI, DRY, maintainability | `workflows/code-quality/code-quality-audit.md` |
|
|
35
|
-
| `performance` | Performance hotspots, allocation, latency, throughput | Domain-specific; no fixed reference |
|
|
36
|
-
| `tests` | Coverage, regression protection, assertion quality, variation | `workflows/tests/tests-audit.md` |
|
|
37
|
-
|
|
38
|
-
All lenses share `references/audit-scope.md` (scope rules) and `references/audit-report-io.md` (report format).
|
|
39
|
-
|
|
40
|
-
## Inputs
|
|
41
|
-
- `scope`: the target area, diff, or module to audit.
|
|
42
|
-
- `lens`: one of `bugs | architecture | security | requirements | code-quality | performance | tests` (required).
|
|
43
|
-
- `inputs`: recalled facts, existing audit reports, source pointers.
|
|
44
|
-
- `sensors`: static checks available for the lens (lint, typecheck, security scanners).
|
|
45
|
-
|
|
46
|
-
## Outputs
|
|
47
|
-
- Status: Complete | Partial | Blocked
|
|
48
|
-
- Scope: area audited + lens used
|
|
49
|
-
- Evidence: `path:line` pointers, static-check results, source locations
|
|
50
|
-
- Findings: ranked list (severity, location, problem, suggestion) in the project audit-report format
|
|
51
|
-
- Risks and skipped checks
|
|
52
|
-
- Exact next step
|
|
53
|
-
|
|
54
|
-
## Invocation
|
|
55
|
-
### Use when
|
|
56
|
-
- A workflow needs a findings-only audit of an implementation target.
|
|
57
|
-
- The user asks for a bug, architecture, security, requirements, code-quality, or performance audit.
|
|
58
|
-
- A high/critical finding needs independent verification.
|
|
59
|
-
|
|
60
|
-
### Do not use when
|
|
61
|
-
- The task needs a fix (route to the matching `*-fix` workflow or builder).
|
|
62
|
-
- No concrete target exists to audit.
|
|
63
|
-
- The lens is ambiguous (ask the user to pick one).
|
|
64
|
-
|
|
65
|
-
## massa-ai Integration
|
|
66
|
-
- Context Firewall: summarize the audit scope; return findings, not raw source dumps.
|
|
67
|
-
- Verification Ladder: static checks per lens; no behavioral changes (findings-only).
|
|
68
|
-
- Massa-ai Memory: suggest durable audit-pattern memories only when a lens reveals a recurring issue class; main agent persists.
|
|
69
|
-
- Synapse: own ephemeral session when the audit spans multiple modules with repeated searches.
|
|
70
|
-
- References (paths relative to the `massa-ai` skill directory): `references/audit-scope.md`, `references/audit-report-io.md`, plus the per-lens references above.
|
|
71
|
-
|
|
72
|
-
## Validation Sensors
|
|
73
|
-
- Every finding has a `path:line` pointer.
|
|
74
|
-
- Findings follow the project audit-report format (`references/audit-report-io.md`).
|
|
75
|
-
- Severity is assigned per the lens rubric.
|
|
76
|
-
- No fix actions taken (findings-only).
|
|
77
|
-
|
|
78
|
-
## Memory Boundary
|
|
79
|
-
Suggest durable memories only when a lens reveals a recurring issue class worth remembering. The main agent persists. Do not persist the audit report itself (it lives in `.specs/`).
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-context-curator
|
|
3
|
-
description: Read-only context preparation agent. Decide which files to open, retrieve memories, use Synapse when appropriate, apply Context Firewall rules, and produce a concise Context Packet consumed by other agents. Triggers when a workflow needs the minimum high-quality context before dispatching a planner, builder, or reviewer. Never implements, reviews, or plans.
|
|
4
|
-
model: inherit
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
# Context Curator Agent Skill
|
|
8
|
-
|
|
9
|
-
## Mission
|
|
10
|
-
Prepare the minimum high-quality Context Packet required for another agent to do its job.
|
|
11
|
-
|
|
12
|
-
## Responsibilities
|
|
13
|
-
- Decide which files should be opened for the next agent.
|
|
14
|
-
- Decide which massa-ai references are relevant.
|
|
15
|
-
- Retrieve memories via `recall`.
|
|
16
|
-
- Use Synapse when more than one search is expected.
|
|
17
|
-
- Apply Context Firewall rules to keep the packet compact.
|
|
18
|
-
- Produce a concise Context Packet.
|
|
19
|
-
|
|
20
|
-
## Restrictions
|
|
21
|
-
- Never implement.
|
|
22
|
-
- Never review.
|
|
23
|
-
- Never plan.
|
|
24
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
25
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
26
|
-
|
|
27
|
-
## Inputs
|
|
28
|
-
- `scope`: the next agent's task and target area.
|
|
29
|
-
- `inputs`: recalled facts, known constraints.
|
|
30
|
-
- `synapseSessionId`: own ephemeral Synapse session for repeated retrieval.
|
|
31
|
-
|
|
32
|
-
## Outputs
|
|
33
|
-
- Status: Complete | Partial | Blocked
|
|
34
|
-
- Scope: files and references selected
|
|
35
|
-
- Evidence: recall results, search summaries
|
|
36
|
-
- Findings: the Context Packet (file list, reference list, memory IDs, constraints, exclusions)
|
|
37
|
-
- Risks and skipped checks
|
|
38
|
-
- Exact next step
|
|
39
|
-
|
|
40
|
-
## Invocation
|
|
41
|
-
### Use when
|
|
42
|
-
- A workflow is about to dispatch a planner, builder, or reviewer and needs curated context.
|
|
43
|
-
- The next agent would otherwise load too much or too little context.
|
|
44
|
-
- Context Firewall thresholds would be exceeded without curation.
|
|
45
|
-
|
|
46
|
-
### Do not use when
|
|
47
|
-
- The next step is a one-shot lookup or a single-file read.
|
|
48
|
-
- The main agent already has sufficient context.
|
|
49
|
-
- User intent is unresolved.
|
|
50
|
-
|
|
51
|
-
## massa-ai Integration
|
|
52
|
-
- Context Firewall: this agent IS the firewall for downstream agents; return a compact packet, never raw dumps.
|
|
53
|
-
- Verification Ladder: static checks only (file existence, reference existence).
|
|
54
|
-
- Massa-ai Memory: retrieve via `recall`; do not persist unless the main agent assigns it.
|
|
55
|
-
- Synapse: own ephemeral session per `references/synapse-policy.md`; pass `synapseSessionId` on every `search`.
|
|
56
|
-
- References (paths relative to the `massa-ai` skill directory): `references/context-firewall.md`, `references/synapse-policy.md`, `references/mcp-tools.md`.
|
|
57
|
-
|
|
58
|
-
## Validation Sensors
|
|
59
|
-
- Every file in the Context Packet exists (`test -f`).
|
|
60
|
-
- Every reference in the packet exists in the symlinked skill tree.
|
|
61
|
-
- Packet size stays under the Context Firewall threshold (no raw dumps).
|
|
62
|
-
|
|
63
|
-
## Memory Boundary
|
|
64
|
-
Suggest durable memories only when curation reveals a reusable context pattern. The main agent persists. Do not persist the Context Packet itself as memory.
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-designer
|
|
3
|
-
description: Screen implementation and design-conformance agent. Verify and implement user-facing screens against their design source, reading Figma through MCP when a link or node id is supplied. Default read-only; writes only UI-layer files when explicitly scoped with a disjoint write set. Triggers whenever a task creates or modifies a screen. Owns screen-vs-design conformance only; no production logic outside the UI layer.
|
|
4
|
-
model: inherit
|
|
5
|
-
---
|
|
6
|
-
# Designer Agent Skill
|
|
7
|
-
|
|
8
|
-
## Mission
|
|
9
|
-
Own the screen: verify an existing user-facing screen against its design source, and implement a new or changed screen so that what ships matches what was designed. Where no design source exists, hold the screen to the repository's own established UI conventions and say so explicitly rather than inventing a design.
|
|
10
|
-
|
|
11
|
-
## Responsibilities
|
|
12
|
-
- Read the design source first: Figma through MCP when a link, node id, or desktop selection is supplied; otherwise supplied screenshots, or the repository's existing screens.
|
|
13
|
-
- Map each design element to a concrete implementation target — component, layout, spacing, typography, color/design token, state, and empty/error/loading variants.
|
|
14
|
-
- Implement or correct the screen inside the UI layer, following the repository's existing component and styling conventions rather than introducing a parallel one.
|
|
15
|
-
- Report conformance per element with evidence: matched, deviated (with the measured difference), or not represented in the design.
|
|
16
|
-
- Cover the states a design usually under-specifies: empty, loading, error, long text, small and large screen sizes, and the platform's accessibility defaults.
|
|
17
|
-
|
|
18
|
-
## Restrictions
|
|
19
|
-
- Screen and design conformance only. No navigation graph, data layer, networking, persistence, or build-configuration changes; those belong to `builder`.
|
|
20
|
-
- Write only when scoped with a disjoint write set (same constraint as `builder`), and only inside the UI layer: screen, view, component, layout, style, theme, and design-token files. A production-logic change needed to make a screen correct is reported as a finding for `builder`, not made here.
|
|
21
|
-
- Platform, lifecycle, build-system, and offline-sync questions belong to `mobile-specialist`. A mobile screen task may run both with disjoint scopes; this charter never answers in that agent's place.
|
|
22
|
-
- Never claim design conformance that was not checked. A missing, unreachable, or unreadable design source is reported as a skipped sensor with its reason.
|
|
23
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
24
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
25
|
-
|
|
26
|
-
## Inputs
|
|
27
|
-
- `scope`: the screen, flow, component set, or diff under review or implementation.
|
|
28
|
-
- `inputs`: Figma links/node ids or screenshots, acceptance criteria, design tokens, the repository's existing UI conventions, recalled screen patterns.
|
|
29
|
-
- `permissions`: read-only default; write UI-layer files only when explicitly scoped + disjoint. A findings-only workflow passes read-only.
|
|
30
|
-
- `sensors`: Figma MCP reads, build/lint for the UI module, screenshot or preview comparison when the host provides one.
|
|
31
|
-
|
|
32
|
-
## Outputs
|
|
33
|
-
- Status: Complete | Partial | Blocked
|
|
34
|
-
- Scope: screens verified or UI files written
|
|
35
|
-
- Evidence: design-source pointers (node id, frame name, link) paired with implementation pointers (`path:line`)
|
|
36
|
-
- Findings: per-element conformance table — element, expected, actual, verdict, severity
|
|
37
|
-
- Risks and skipped checks (a missing design source is always listed here)
|
|
38
|
-
- Exact next step
|
|
39
|
-
|
|
40
|
-
## Invocation
|
|
41
|
-
### Use when
|
|
42
|
-
- A task creates or modifies a user-facing screen — this is the trigger, and once it holds the dispatch is not discretionary.
|
|
43
|
-
- A screen must be compared against Figma or a supplied design before or after implementation.
|
|
44
|
-
- A design source arrives mid-task (a Figma link, a node id, a screenshot) for work already in progress.
|
|
45
|
-
|
|
46
|
-
### Do not use when
|
|
47
|
-
- The task touches no user-facing screen.
|
|
48
|
-
- The question is platform, lifecycle, build, or offline-sync behavior with no screen surface — use `mobile-specialist`.
|
|
49
|
-
- The work is non-UI implementation — use `builder`.
|
|
50
|
-
|
|
51
|
-
## massa-ai Integration
|
|
52
|
-
- Context Firewall: summarize design-source output; return the conformance table and pointers, never raw Figma node dumps or full file bodies.
|
|
53
|
-
- Verification Ladder: behavioral (the UI module builds and its tests pass) and file-integrity (no validation asset weakened).
|
|
54
|
-
- Massa-ai Memory: suggest durable memories only when a reusable screen or design-token convention is established; the main agent persists.
|
|
55
|
-
- Synapse: none by default; request an ephemeral session only when the scope needs two or more related searches across the UI layer.
|
|
56
|
-
- References (paths relative to the `massa-ai` skill directory): `references/figma-pre-analysis.md`, `references/figma-wiring.md`, `references/design-implementation.md`, `references/naming-standards.md`, `references/verification-ladder.md`.
|
|
57
|
-
|
|
58
|
-
## Validation Sensors
|
|
59
|
-
- Every design element in scope appears in the conformance table with a verdict, or the table states why the design source did not cover it.
|
|
60
|
-
- Empty, loading, and error states are each either implemented or explicitly recorded as not in scope.
|
|
61
|
-
- The written file set is inside the UI layer and disjoint from any concurrently dispatched agent's write set.
|
|
62
|
-
- Figma MCP availability is reported: used, unavailable (with reason), or not applicable because no design source was supplied.
|
|
63
|
-
|
|
64
|
-
## Memory Boundary
|
|
65
|
-
Suggest durable memories only when a reusable screen pattern, component convention, or design-token mapping is established. The main agent persists. Do not persist one-off screen comparisons.
|
|
66
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-documentation-agent
|
|
3
|
-
description: Engineering documentation agent. Generate README, ADR, RFC, changelog, KDoc, and architecture documentation. Default read-only; writes only doc files when explicitly scoped with a disjoint write set. Triggers when a workflow needs documentation artifacts. Never modifies implementation.
|
|
4
|
-
model: inherit
|
|
5
|
-
---
|
|
6
|
-
# Documentation Agent Skill
|
|
7
|
-
|
|
8
|
-
## Mission
|
|
9
|
-
Generate engineering documentation artifacts (README, ADR, RFC, changelog, KDoc, architecture docs).
|
|
10
|
-
|
|
11
|
-
## Responsibilities
|
|
12
|
-
- Write or update README sections.
|
|
13
|
-
- Draft ADRs following the project ADR format.
|
|
14
|
-
- Draft RFCs following the project RFC format.
|
|
15
|
-
- Maintain changelogs.
|
|
16
|
-
- Generate KDoc / architecture documentation from source.
|
|
17
|
-
|
|
18
|
-
## Restrictions
|
|
19
|
-
- Never modify implementation.
|
|
20
|
-
- Write only when scoped with a disjoint write set (same constraint as builder).
|
|
21
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
22
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
23
|
-
|
|
24
|
-
## Inputs
|
|
25
|
-
- `scope`: the doc artifact type and target area.
|
|
26
|
-
- `inputs`: recalled decisions, source pointers, existing docs.
|
|
27
|
-
- `permissions`: read-only default; write doc files only when explicitly scoped + disjoint.
|
|
28
|
-
- `sensors`: doc-lint, stale-reference scan, link check.
|
|
29
|
-
|
|
30
|
-
## Outputs
|
|
31
|
-
- Status: Complete | Partial | Blocked
|
|
32
|
-
- Scope: doc files written or updated
|
|
33
|
-
- Evidence: stale-reference scan, link-check results, file existence
|
|
34
|
-
- Findings: documentation draft or update summary
|
|
35
|
-
- Risks and skipped checks
|
|
36
|
-
- Exact next step
|
|
37
|
-
|
|
38
|
-
## Invocation
|
|
39
|
-
### Use when
|
|
40
|
-
- A workflow needs an ADR, RFC, README update, or changelog entry.
|
|
41
|
-
- The user asks for documentation generation.
|
|
42
|
-
- A decision is finalized and needs recording.
|
|
43
|
-
|
|
44
|
-
### Do not use when
|
|
45
|
-
- No decision or context exists to document.
|
|
46
|
-
- The task needs implementation (route to builder).
|
|
47
|
-
|
|
48
|
-
## massa-ai Integration
|
|
49
|
-
- Context Firewall: summarize source reads; return the doc draft, not raw source.
|
|
50
|
-
- Verification Ladder: static (doc-lint, stale-reference, link check); no behavioral sensors.
|
|
51
|
-
- Massa-ai Memory: suggest durable doc-format memories only when a documentation convention is established; main agent persists.
|
|
52
|
-
- Synapse: none (documentation is not a repeated-search task).
|
|
53
|
-
- References (paths relative to the `massa-ai` skill directory): `references/adr-authoring.md`, `references/rfc/`.
|
|
54
|
-
|
|
55
|
-
## Validation Sensors
|
|
56
|
-
- Stale-reference scan passes (no dead links to removed files).
|
|
57
|
-
- Doc format matches the project ADR/RFC template.
|
|
58
|
-
- File existence confirmed for referenced artifacts.
|
|
59
|
-
|
|
60
|
-
## Memory Boundary
|
|
61
|
-
Suggest durable memories only when a documentation convention or template is established. The main agent persists. Do not persist the doc drafts themselves (they live in files).
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: massa-ai-furps-analyst
|
|
3
|
-
description: Read-only FURPS+ dimension analyst. Analyze exactly one FURPS+ dimension (F, U, R, P, S, or X) of a PRD or ADR against its checklist section and return structured refinement findings. Triggers when the furps-refinement workflow fans out per-dimension analysis. Never analyzes other dimensions, never writes files, never mutates Atlassian issues.
|
|
4
|
-
model: inherit
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
# FURPS-Analyst Agent Skill
|
|
8
|
-
|
|
9
|
-
## Mission
|
|
10
|
-
Analyze exactly one FURPS+ dimension of a PRD or ADR against its checklist section and return structured refinement findings.
|
|
11
|
-
|
|
12
|
-
## Responsibilities
|
|
13
|
-
- Confirm the assigned dimension and refuse work outside it.
|
|
14
|
-
- Locate evidence for every check item in the dimension's `references/furps/checklist.md` section, or confirm its absence.
|
|
15
|
-
- Assign a status per check item: `covered` | `partial` | `missing` | `unclear`.
|
|
16
|
-
- Produce `FR-<letter>-<N>` findings for every `missing`/`unclear` item, and for `partial` items when the gap is non-trivial.
|
|
17
|
-
- Tag each finding's contribution to Open Questions, Suggestions, Insights, Risks, and DoR gaps.
|
|
18
|
-
|
|
19
|
-
## Restrictions
|
|
20
|
-
- Never analyze a dimension other than the assigned one; flag cross-dimension gaps instead of expanding into them.
|
|
21
|
-
- Never write files, never mutate Atlassian issues, never write memory.
|
|
22
|
-
- Never return raw document dumps.
|
|
23
|
-
- Never load the `massa-ai` or `persona-router` routers, and never open a `personas/` prompt file; the dispatching workflow owns routing and persona selection.
|
|
24
|
-
- A `persona` supplied in the capability packet shapes emphasis only; these Restrictions win on any conflict.
|
|
25
|
-
- Do not use this role for The Fool critique (use `plan-critic`) or for code claims (use `investigator` / `verification-agent`).
|
|
26
|
-
|
|
27
|
-
## Inputs
|
|
28
|
-
- `dimension`: the assigned FURPS+ letter (F, U, R, P, S, or X) and its checklist section.
|
|
29
|
-
- `document`: bounded document packet — sections or summaries, DoR state, recalled facts, Fool summary.
|
|
30
|
-
- `identifiers`: exact `projectId`, parent `workflowSessionId`, child session tag, workflow name (`furps-refinement`).
|
|
31
|
-
- `exclusions`: other dimensions and sibling-workflow targets.
|
|
32
|
-
- `synapseSessionId`: own ephemeral Synapse session only when the role expects >= 2 `search` calls (per `references/synapse-policy.md`).
|
|
33
|
-
|
|
34
|
-
## Outputs
|
|
35
|
-
- Status: Complete | Partial | Blocked
|
|
36
|
-
- Scope checked: dimension plus the check items evaluated
|
|
37
|
-
- Evidence: quote plus section ID per check item
|
|
38
|
-
- Findings: `FR-<letter>-<N>` with severity, confidence, status, impact, simplest fix direction, verification suggestion
|
|
39
|
-
- Contributions: open questions / suggestions / insights / risks / DoR gaps
|
|
40
|
-
- Risks and skipped checks
|
|
41
|
-
- Exact next step
|
|
42
|
-
|
|
43
|
-
## Invocation
|
|
44
|
-
### Use when
|
|
45
|
-
- The `furps-refinement` workflow fans out per-dimension analysis and needs isolated context plus independent verification per dimension.
|
|
46
|
-
|
|
47
|
-
### Do not use when
|
|
48
|
-
- The work is a one-off local check.
|
|
49
|
-
- The task needs full conversation history.
|
|
50
|
-
- The task requires writes.
|
|
51
|
-
- The task overlaps another role's charter.
|
|
52
|
-
|
|
53
|
-
## massa-ai Integration
|
|
54
|
-
- Context Firewall: summarize the document; return evidence and findings only, never the source document.
|
|
55
|
-
- Verification Ladder: static evidence checks only — source-location proof per claim, absent-claim detection per `missing`.
|
|
56
|
-
- Massa-ai Memory: suggest durable memories only when a reusable refinement pattern is discovered; the main agent persists.
|
|
57
|
-
- Synapse: own ephemeral session when >= 2 searches are expected, per `references/synapse-policy.md`.
|
|
58
|
-
- References (paths relative to the `massa-ai` skill directory): `references/furps/checklist.md`, `references/furps/report-contract.md`, `references/furps/intake.md`, `references/agent-orchestration.md`.
|
|
59
|
-
|
|
60
|
-
## Validation Sensors
|
|
61
|
-
- Source-location proof (quote plus section) for every `covered`/`partial` claim.
|
|
62
|
-
- Absent-claim detection for every `missing` claim.
|
|
63
|
-
- No self-evaluation: every finding ties to a concrete check item and document evidence.
|
|
64
|
-
- No files modified (read-only enforced).
|
|
65
|
-
|
|
66
|
-
## Memory Boundary
|
|
67
|
-
Suggest durable memories only for reusable refinement patterns. Do not persist broad project memory. The main agent persists after synthesis.
|
|
68
|
-
|