@massa-ai/codex-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.
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/{agents/massa-ai-builder.toml → agent-profiles/balanced/builder.toml} +3 -4
- package/agent-profiles/balanced/code-explorer.toml +101 -0
- package/agent-profiles/balanced/code-reviewer.toml +133 -0
- package/agent-profiles/balanced/{massa-ai-designer.toml → designer.toml} +34 -17
- package/agent-profiles/balanced/judge.toml +147 -0
- package/agent-profiles/balanced/product-manager.toml +107 -0
- package/agent-profiles/balanced/test-engineer.toml +100 -0
- package/agent-profiles/cheap/{massa-ai-builder.toml → builder.toml} +3 -4
- package/agent-profiles/cheap/code-explorer.toml +101 -0
- package/agent-profiles/cheap/code-reviewer.toml +133 -0
- package/agent-profiles/cheap/{massa-ai-designer.toml → designer.toml} +34 -17
- package/agent-profiles/cheap/judge.toml +147 -0
- package/agent-profiles/cheap/product-manager.toml +107 -0
- package/agent-profiles/cheap/test-engineer.toml +100 -0
- package/agent-profiles/{work/massa-ai-builder.toml → heavy/builder.toml} +3 -4
- package/agent-profiles/heavy/code-explorer.toml +101 -0
- package/agent-profiles/heavy/code-reviewer.toml +133 -0
- package/agent-profiles/{work/massa-ai-designer.toml → heavy/designer.toml} +34 -17
- package/agent-profiles/heavy/judge.toml +147 -0
- package/agent-profiles/heavy/product-manager.toml +107 -0
- package/agent-profiles/heavy/test-engineer.toml +100 -0
- package/agent-profiles/home/{massa-ai-builder.toml → builder.toml} +3 -4
- package/agent-profiles/home/code-explorer.toml +101 -0
- package/agent-profiles/home/code-reviewer.toml +133 -0
- package/{agents/massa-ai-designer.toml → agent-profiles/home/designer.toml} +34 -17
- package/agent-profiles/home/judge.toml +147 -0
- package/agent-profiles/home/product-manager.toml +107 -0
- package/agent-profiles/home/test-engineer.toml +100 -0
- package/agent-profiles/{heavy/massa-ai-builder.toml → work/builder.toml} +3 -4
- package/agent-profiles/work/code-explorer.toml +101 -0
- package/agent-profiles/work/code-reviewer.toml +133 -0
- package/agent-profiles/{heavy/massa-ai-designer.toml → work/designer.toml} +34 -17
- package/agent-profiles/work/judge.toml +147 -0
- package/agent-profiles/work/product-manager.toml +107 -0
- package/agent-profiles/work/test-engineer.toml +100 -0
- package/{agent-profiles/balanced/massa-ai-builder.toml → agents/builder.toml} +3 -4
- package/agents/code-explorer.toml +101 -0
- package/agents/code-reviewer.toml +133 -0
- package/{agent-profiles/home/massa-ai-designer.toml → agents/designer.toml} +34 -17
- package/agents/judge.toml +147 -0
- package/agents/product-manager.toml +107 -0
- package/agents/test-engineer.toml +100 -0
- package/hooks/massa-ai-hook +4 -4
- package/install.sh +98 -24
- package/package.json +1 -1
- package/skills/agents/builder/SKILL.md +3 -5
- 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 -18
- package/skills/agents/judge/SKILL.md +101 -51
- package/skills/agents/product-manager/SKILL.md +110 -0
- package/skills/agents/test-engineer/SKILL.md +57 -23
- package/skills/bootstrap/SKILL.md +4 -5
- package/skills/{adr.md → create-adr.md} +3 -3
- package/skills/{to-prd.md → create-prd.md} +3 -3
- package/skills/{rfc.md → create-rfc.md} +3 -3
- package/skills/{tdd.md → create-tdd.md} +3 -3
- package/skills/{ticket.md → create-ticket.md} +3 -3
- package/skills/massa-ai/SKILL.md +26 -29
- package/skills/massa-ai/references/agent-orchestration.md +69 -66
- 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 +5 -5
- 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/synapse-policy.md +2 -2
- 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.md → product-discovery.md} +3 -3
- package/agent-profiles/balanced/massa-ai-architecture-specialist.toml +0 -62
- package/agent-profiles/balanced/massa-ai-audit-specialist.toml +0 -79
- package/agent-profiles/balanced/massa-ai-context-curator.toml +0 -64
- package/agent-profiles/balanced/massa-ai-documentation-agent.toml +0 -62
- package/agent-profiles/balanced/massa-ai-furps-analyst.toml +0 -68
- package/agent-profiles/balanced/massa-ai-investigator.toml +0 -65
- package/agent-profiles/balanced/massa-ai-judge.toml +0 -96
- package/agent-profiles/balanced/massa-ai-meta-judge.toml +0 -83
- package/agent-profiles/balanced/massa-ai-mobile-specialist.toml +0 -79
- package/agent-profiles/balanced/massa-ai-navigator.toml +0 -72
- package/agent-profiles/balanced/massa-ai-plan-critic.toml +0 -87
- package/agent-profiles/balanced/massa-ai-planner.toml +0 -62
- package/agent-profiles/balanced/massa-ai-requirements-analyst.toml +0 -61
- package/agent-profiles/balanced/massa-ai-reviewer.toml +0 -63
- package/agent-profiles/balanced/massa-ai-test-engineer.toml +0 -64
- package/agent-profiles/balanced/massa-ai-verification-agent.toml +0 -62
- package/agent-profiles/cheap/massa-ai-architecture-specialist.toml +0 -62
- package/agent-profiles/cheap/massa-ai-audit-specialist.toml +0 -79
- package/agent-profiles/cheap/massa-ai-context-curator.toml +0 -64
- package/agent-profiles/cheap/massa-ai-documentation-agent.toml +0 -62
- package/agent-profiles/cheap/massa-ai-furps-analyst.toml +0 -68
- package/agent-profiles/cheap/massa-ai-investigator.toml +0 -65
- package/agent-profiles/cheap/massa-ai-judge.toml +0 -96
- package/agent-profiles/cheap/massa-ai-meta-judge.toml +0 -83
- package/agent-profiles/cheap/massa-ai-mobile-specialist.toml +0 -79
- package/agent-profiles/cheap/massa-ai-navigator.toml +0 -72
- package/agent-profiles/cheap/massa-ai-plan-critic.toml +0 -87
- package/agent-profiles/cheap/massa-ai-planner.toml +0 -62
- package/agent-profiles/cheap/massa-ai-requirements-analyst.toml +0 -61
- package/agent-profiles/cheap/massa-ai-reviewer.toml +0 -63
- package/agent-profiles/cheap/massa-ai-test-engineer.toml +0 -64
- package/agent-profiles/cheap/massa-ai-verification-agent.toml +0 -62
- package/agent-profiles/heavy/massa-ai-architecture-specialist.toml +0 -62
- package/agent-profiles/heavy/massa-ai-audit-specialist.toml +0 -79
- package/agent-profiles/heavy/massa-ai-context-curator.toml +0 -64
- package/agent-profiles/heavy/massa-ai-documentation-agent.toml +0 -62
- package/agent-profiles/heavy/massa-ai-furps-analyst.toml +0 -68
- package/agent-profiles/heavy/massa-ai-investigator.toml +0 -65
- package/agent-profiles/heavy/massa-ai-judge.toml +0 -96
- package/agent-profiles/heavy/massa-ai-meta-judge.toml +0 -83
- package/agent-profiles/heavy/massa-ai-mobile-specialist.toml +0 -79
- package/agent-profiles/heavy/massa-ai-navigator.toml +0 -72
- package/agent-profiles/heavy/massa-ai-plan-critic.toml +0 -87
- package/agent-profiles/heavy/massa-ai-planner.toml +0 -62
- package/agent-profiles/heavy/massa-ai-requirements-analyst.toml +0 -61
- package/agent-profiles/heavy/massa-ai-reviewer.toml +0 -63
- package/agent-profiles/heavy/massa-ai-test-engineer.toml +0 -64
- package/agent-profiles/heavy/massa-ai-verification-agent.toml +0 -62
- package/agent-profiles/home/massa-ai-architecture-specialist.toml +0 -62
- package/agent-profiles/home/massa-ai-audit-specialist.toml +0 -79
- package/agent-profiles/home/massa-ai-context-curator.toml +0 -64
- package/agent-profiles/home/massa-ai-documentation-agent.toml +0 -62
- package/agent-profiles/home/massa-ai-furps-analyst.toml +0 -68
- package/agent-profiles/home/massa-ai-investigator.toml +0 -65
- package/agent-profiles/home/massa-ai-judge.toml +0 -96
- package/agent-profiles/home/massa-ai-meta-judge.toml +0 -83
- package/agent-profiles/home/massa-ai-mobile-specialist.toml +0 -79
- package/agent-profiles/home/massa-ai-navigator.toml +0 -72
- package/agent-profiles/home/massa-ai-plan-critic.toml +0 -87
- package/agent-profiles/home/massa-ai-planner.toml +0 -62
- package/agent-profiles/home/massa-ai-requirements-analyst.toml +0 -61
- package/agent-profiles/home/massa-ai-reviewer.toml +0 -63
- package/agent-profiles/home/massa-ai-test-engineer.toml +0 -64
- package/agent-profiles/home/massa-ai-verification-agent.toml +0 -62
- package/agent-profiles/work/massa-ai-architecture-specialist.toml +0 -62
- package/agent-profiles/work/massa-ai-audit-specialist.toml +0 -79
- package/agent-profiles/work/massa-ai-context-curator.toml +0 -64
- package/agent-profiles/work/massa-ai-documentation-agent.toml +0 -62
- package/agent-profiles/work/massa-ai-furps-analyst.toml +0 -68
- package/agent-profiles/work/massa-ai-investigator.toml +0 -65
- package/agent-profiles/work/massa-ai-judge.toml +0 -96
- package/agent-profiles/work/massa-ai-meta-judge.toml +0 -83
- package/agent-profiles/work/massa-ai-mobile-specialist.toml +0 -79
- package/agent-profiles/work/massa-ai-navigator.toml +0 -72
- package/agent-profiles/work/massa-ai-plan-critic.toml +0 -87
- package/agent-profiles/work/massa-ai-planner.toml +0 -62
- package/agent-profiles/work/massa-ai-requirements-analyst.toml +0 -61
- package/agent-profiles/work/massa-ai-reviewer.toml +0 -63
- package/agent-profiles/work/massa-ai-test-engineer.toml +0 -64
- package/agent-profiles/work/massa-ai-verification-agent.toml +0 -62
- package/agents/massa-ai-architecture-specialist.toml +0 -62
- package/agents/massa-ai-audit-specialist.toml +0 -79
- package/agents/massa-ai-context-curator.toml +0 -64
- package/agents/massa-ai-documentation-agent.toml +0 -62
- package/agents/massa-ai-furps-analyst.toml +0 -68
- package/agents/massa-ai-investigator.toml +0 -65
- package/agents/massa-ai-judge.toml +0 -96
- package/agents/massa-ai-meta-judge.toml +0 -83
- package/agents/massa-ai-mobile-specialist.toml +0 -79
- package/agents/massa-ai-navigator.toml +0 -72
- package/agents/massa-ai-plan-critic.toml +0 -87
- package/agents/massa-ai-planner.toml +0 -62
- package/agents/massa-ai-requirements-analyst.toml +0 -61
- package/agents/massa-ai-reviewer.toml +0 -63
- package/agents/massa-ai-test-engineer.toml +0 -64
- package/agents/massa-ai-verification-agent.toml +0 -62
- package/skills/agents/architecture-specialist/SKILL.md +0 -67
- package/skills/agents/audit-specialist/SKILL.md +0 -84
- package/skills/agents/context-curator/SKILL.md +0 -69
- package/skills/agents/documentation-agent/SKILL.md +0 -67
- package/skills/agents/furps-analyst/SKILL.md +0 -72
- package/skills/agents/investigator/SKILL.md +0 -70
- package/skills/agents/meta-judge/SKILL.md +0 -87
- package/skills/agents/mobile-specialist/SKILL.md +0 -84
- package/skills/agents/navigator/SKILL.md +0 -77
- package/skills/agents/plan-critic/SKILL.md +0 -91
- package/skills/agents/planner/SKILL.md +0 -67
- package/skills/agents/requirements-analyst/SKILL.md +0 -66
- package/skills/agents/reviewer/SKILL.md +0 -68
- package/skills/agents/verification-agent/SKILL.md +0 -67
- package/skills/general.md +0 -14
- package/skills/maestro-audit.md +0 -14
- package/skills/maestro-fix.md +0 -14
- package/skills/maestro.md +0 -14
- package/skills/massa-ai/personas/README.md +0 -35
- package/skills/massa-ai/personas/ai-native-nodejs-cli-architect.md +0 -47
- package/skills/massa-ai/personas/catalog.json +0 -7
- package/skills/massa-ai/personas/context-skill-harness-engineer-architect.md +0 -47
- package/skills/massa-ai/personas/product-manager.md +0 -65
- package/skills/massa-ai/personas/senior-mobile-engineer.md +0 -46
- package/skills/massa-ai/personas/senior-mobile-qa-automation-engineer.md +0 -51
- package/skills/massa-ai/personas/signals/ai-native-nodejs-cli-architect.json +0 -20
- package/skills/massa-ai/personas/signals/context-skill-harness-engineer-architect.json +0 -20
- package/skills/massa-ai/personas/signals/product-manager.json +0 -21
- package/skills/massa-ai/personas/signals/senior-mobile-engineer.json +0 -18
- package/skills/massa-ai/personas/signals/senior-mobile-qa-automation-engineer.json +0 -18
- package/skills/massa-ai/references/maestro/artifacts-reports.md +0 -69
- package/skills/massa-ai/references/maestro/cli-device.md +0 -65
- package/skills/massa-ai/references/maestro/cloud.md +0 -69
- package/skills/massa-ai/references/maestro/config-env-output.md +0 -76
- package/skills/massa-ai/references/maestro/fact-ledger.md +0 -73
- package/skills/massa-ai/references/maestro/js-scripting.md +0 -70
- package/skills/massa-ai/references/maestro/mcp.md +0 -59
- package/skills/massa-ai/references/maestro/patterns.md +0 -102
- package/skills/massa-ai/references/maestro/selectors.md +0 -91
- package/skills/massa-ai/references/maestro/workspace-execution.md +0 -81
- package/skills/massa-ai/references/maestro/yaml-commands.md +0 -203
- package/skills/massa-ai/references/maestro.md +0 -31
- package/skills/massa-ai/workflows/general.md +0 -88
- package/skills/massa-ai/workflows/maestro/maestro-audit.md +0 -64
- package/skills/massa-ai/workflows/maestro/maestro-fix.md +0 -111
- package/skills/massa-ai/workflows/maestro/maestro.md +0 -80
- package/skills/persona-router/SKILL.md +0 -52
- package/skills/persona-router/references/routing-details.md +0 -98
- /package/skills/massa-ai/references/{rfc → create-rfc}/ATTRIBUTION.md +0 -0
- /package/skills/massa-ai/references/{rfc → create-rfc}/document-contract.md +0 -0
- /package/skills/massa-ai/references/{rfc → create-rfc}/quality-and-lifecycle.md +0 -0
- /package/skills/massa-ai/references/{tdd → create-tdd}/document-contract.md +0 -0
- /package/skills/massa-ai/references/{ticket → create-ticket}/atlassian-fix.md +0 -0
- /package/skills/massa-ai/references/{ticket → create-ticket}/templates-and-quality.md +0 -0
|
@@ -1,41 +1,49 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: test-engineer
|
|
3
|
-
description: Testing
|
|
3
|
+
description: Testing agent. Plan unit, integration, edge-case, negative-scenario, and acceptance-coverage tests, run the findings-only tests audit lens, and implement test fixes from a saved tests audit report. Mode is selected by the capability packet (plan, audit, or fix). Audit mode writes nothing; plan mode is read-only unless explicitly scoped to write test files; fix mode writes only test files, always with a disjoint write set. Focuses only on testing; no production code changes outside test files.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Luiz Massa
|
|
7
|
-
version: "
|
|
8
|
-
model_tier: standard
|
|
7
|
+
version: "2.0.0"
|
|
9
8
|
permission: write
|
|
10
9
|
---
|
|
11
10
|
|
|
12
11
|
# Test Engineer Agent Skill
|
|
13
12
|
|
|
14
13
|
## Mission
|
|
15
|
-
|
|
14
|
+
Make a test suite catch the five distinct error classes it must cover — business-logic errors, code no test touched, hardcoded-example brittleness, built-the-wrong-thing, and drift over time — by planning the tests, auditing the ones that exist, and implementing test fixes.
|
|
16
15
|
|
|
17
16
|
## Responsibilities
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- Identify edge cases and negative scenarios.
|
|
17
|
+
- Run exactly one mode per dispatch, selected by the packet `mode` field: `plan`, `audit`, or `fix`.
|
|
18
|
+
- Map acceptance coverage to spec criteria.
|
|
21
19
|
- Design variation/property-style test cases — vary inputs beyond the fixture example (bounds, parameter changes) — technique-level, library-neutral.
|
|
22
|
-
- Produce a test plan aligned with acceptance criteria.
|
|
23
|
-
- Ensure acceptance coverage maps to spec criteria.
|
|
24
20
|
|
|
25
21
|
## Restrictions
|
|
22
|
+
- Unknown `mode`: return `Blocked` naming the valid modes `plan`, `audit`, `fix`; a missing `mode` takes the default in Inputs.
|
|
26
23
|
- Focus only on testing.
|
|
27
24
|
- No production code changes outside test files.
|
|
28
|
-
- Write only when scoped with a disjoint write set (same constraint as builder).
|
|
29
|
-
- Never
|
|
30
|
-
-
|
|
25
|
+
- Write only in `fix` mode (or `plan` mode when explicitly scoped to write test files), always with a disjoint write set (same constraint as `builder`); `audit` mode writes nothing.
|
|
26
|
+
- Never weaken, skip, or delete an existing test assertion to make a suite pass.
|
|
27
|
+
- Never load the `massa-ai` router skill; the dispatching workflow owns routing.
|
|
31
28
|
|
|
32
29
|
## Inputs
|
|
33
|
-
- `
|
|
34
|
-
- `
|
|
35
|
-
- `
|
|
30
|
+
- `mode`: `plan` | `audit` | `fix` (defaults to `plan`).
|
|
31
|
+
- `lens`: `audit` mode only — one of `tests` (the single lens this charter runs; optional).
|
|
32
|
+
- `scope`: the feature, module, spec, audit target, or saved-report findings to handle.
|
|
33
|
+
- `inputs`: acceptance criteria, recalled facts, existing test conventions, the saved tests audit report (`fix` mode).
|
|
34
|
+
- `permissions`: read-only default; write test files only when explicitly scoped + disjoint, and never in `audit` mode.
|
|
36
35
|
- `sensors`: test runner commands, coverage tools.
|
|
37
36
|
|
|
38
|
-
##
|
|
37
|
+
## Modes
|
|
38
|
+
|
|
39
|
+
### Mode: `plan`
|
|
40
|
+
Testing strategy before or after implementation.
|
|
41
|
+
|
|
42
|
+
- Define unit test cases for core logic and integration test cases for boundaries.
|
|
43
|
+
- Identify edge cases and negative scenarios.
|
|
44
|
+
- Produce a test plan aligned with acceptance criteria.
|
|
45
|
+
|
|
46
|
+
Output:
|
|
39
47
|
- Status: Complete | Partial | Blocked
|
|
40
48
|
- Scope: test plan or test files written
|
|
41
49
|
- Evidence: test commands, coverage output, acceptance-criteria mapping
|
|
@@ -43,27 +51,53 @@ Generate a testing strategy that covers unit, integration, edge cases, negative
|
|
|
43
51
|
- Risks and skipped checks
|
|
44
52
|
- Exact next step
|
|
45
53
|
|
|
54
|
+
### Mode: `audit`
|
|
55
|
+
Findings-only tests lens: coverage, regression protection, assertion quality, fixture reliability, variation, and missing deterministic sensors in a concrete target. Shares `references/audit-scope.md` (scope rules) and `references/audit-report-io.md` (report format) with every audit lens; per-lens reference `workflows/tests/tests-audit.md`. Read-only; no fix actions are taken.
|
|
56
|
+
|
|
57
|
+
Output:
|
|
58
|
+
- Status: Complete | Partial | Blocked
|
|
59
|
+
- Scope: area audited + tests lens
|
|
60
|
+
- Evidence: `path:line` pointers, test-run and coverage results
|
|
61
|
+
- Findings: ranked list (severity, location, problem, suggestion) in the project audit-report format
|
|
62
|
+
- Risks and skipped checks
|
|
63
|
+
- Exact next step
|
|
64
|
+
|
|
65
|
+
### Mode: `fix`
|
|
66
|
+
Implement the confirmed findings of a saved tests audit report inside test files only, per `workflows/tests/tests-fix.md`.
|
|
67
|
+
|
|
68
|
+
Output:
|
|
69
|
+
- Status: Complete | Partial | Blocked
|
|
70
|
+
- Scope: test files changed, per finding ID
|
|
71
|
+
- Evidence: test commands and results, proof each new or changed test fails without the behavior it guards
|
|
72
|
+
- Findings: per-finding implementation summary
|
|
73
|
+
- Risks and skipped checks
|
|
74
|
+
- Exact next step
|
|
75
|
+
|
|
46
76
|
## Invocation
|
|
47
77
|
### Use when
|
|
48
|
-
- A workflow needs a test strategy before or after implementation.
|
|
49
|
-
-
|
|
78
|
+
- A workflow needs a test strategy before or after implementation, or acceptance criteria need coverage mapping (`plan`).
|
|
79
|
+
- A workflow needs a findings-only tests audit (`audit`).
|
|
80
|
+
- The `tests-fix` workflow closes saved tests audit findings (`fix`).
|
|
50
81
|
- The user asks for a test plan or test cases.
|
|
51
82
|
|
|
52
83
|
### Do not use when
|
|
53
|
-
- No acceptance criteria or
|
|
84
|
+
- No acceptance criteria, spec, or audit report exists.
|
|
54
85
|
- The task is a docs-only change with no testable behavior.
|
|
86
|
+
- The fix needs production code changes (route to `builder`).
|
|
55
87
|
|
|
56
88
|
## massa-ai Integration
|
|
57
|
-
- Context Firewall: summarize test output; return the plan
|
|
89
|
+
- Context Firewall: summarize test output; return the plan, coverage map, or findings, not raw logs.
|
|
58
90
|
- Verification Ladder: behavioral (tests) and file-integrity (no validation assets weakened).
|
|
59
91
|
- Massa-ai Memory: suggest durable test-pattern memories only when a testing convention is established; main agent persists.
|
|
60
|
-
- Synapse: none (test
|
|
61
|
-
- References (paths relative to the `massa-ai` skill directory): `references/verification-ladder.md`, `references/code-annotation.md`, `references/root-cause-scripts.md`.
|
|
92
|
+
- Synapse: none (test work is not a repeated-search task).
|
|
93
|
+
- References (paths relative to the `massa-ai` skill directory): `references/verification-ladder.md`, `references/code-annotation.md`, `references/root-cause-scripts.md`, `references/audit-scope.md`, `references/audit-report-io.md`.
|
|
62
94
|
|
|
63
95
|
## Validation Sensors
|
|
64
96
|
- Every acceptance criterion maps to at least one test case.
|
|
65
97
|
- Edge cases and negative scenarios are enumerated.
|
|
66
98
|
- Test runner commands are named.
|
|
99
|
+
- `audit`: every finding has a `path:line` pointer and follows `references/audit-report-io.md`; no file written.
|
|
100
|
+
- `fix`: the diff stays inside test files and the assigned write set; no validation asset weakened.
|
|
67
101
|
|
|
68
102
|
## Memory Boundary
|
|
69
|
-
Suggest durable memories only when a reusable testing convention or fixture pattern is established. The main agent persists. Do not persist one-off test plans.
|
|
103
|
+
Suggest durable memories only when a reusable testing convention or fixture pattern is established. The main agent persists. Do not persist one-off test plans or audit results.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bootstrap
|
|
3
|
-
description: Inspect or toggle the massa-ai startup-contract rules (caveman, massa-ai-router,
|
|
3
|
+
description: Inspect or toggle the massa-ai startup-contract rules (caveman, massa-ai-router, dedupe-guardrails, plan-challenge, conversation-feedback, indexing-hygiene, english-code, code-comments) that the installed MASSA-AI.md delivers to this host. Use when the user asks which startup rules are active, asks to turn one on or off, or asks why a rule is or is not being applied. Do NOT use for editing the rule text itself (that is a massa-ai repository change, not a runtime toggle) and do NOT claim a toggle is live before the user restarts the host session.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Luiz Massa
|
|
@@ -33,11 +33,10 @@ Run `bootstrap list` before any toggle, so the reported change is against a stat
|
|
|
33
33
|
`--target <dir>` exists for scratch homes and requires `--yes`; it redirects only where the contract is *rendered*. The preference itself is always persisted to `~/.config/massa-ai/config.json`, so under a redirected target the CLI names both paths on stderr. Do not pass `--target` unless the user asked for a specific directory.
|
|
34
34
|
|
|
35
35
|
## The Rule Ids
|
|
36
|
-
Exactly
|
|
36
|
+
Exactly eight ids exist, and only these are accepted. There is no protected subset — every one of them can be switched both ways, including `massa-ai-router`.
|
|
37
37
|
|
|
38
38
|
- `caveman` — keep communication compressed while preserving technical accuracy. Default: enabled.
|
|
39
39
|
- `massa-ai-router` — load the massa-ai skill as the workflow router before substantive work. Default: enabled.
|
|
40
|
-
- `persona-router` — select one cataloged specialist persona after massa-ai context is available. Default: enabled.
|
|
41
40
|
- `dedupe-guardrails` — reuse already-loaded massa-ai context instead of bulk-loading workflows or references. Default: enabled.
|
|
42
41
|
- `plan-challenge` — run The Fool as a post-plan challenge gate per the configured policy. Default: enabled.
|
|
43
42
|
- `conversation-feedback` — emit chat-visible status updates for massa-ai workflow progress. Default: enabled.
|
|
@@ -45,7 +44,7 @@ Exactly nine ids exist, and only these are accepted. There is no protected subse
|
|
|
45
44
|
- `english-code` — write generated code, identifiers, comments, and commit-facing artifacts in English regardless of conversational language. Default: enabled.
|
|
46
45
|
- `code-comments` — require API doc blocks and rationale comments on generated code. Default: **disabled**.
|
|
47
46
|
|
|
48
|
-
Never invent an id. An unrecognised id is refused before anything is read or written, and the error names the id and lists all
|
|
47
|
+
Never invent an id. An unrecognised id is refused before anything is read or written, and the error names the id and lists all eight — relay that list rather than guessing what the user meant.
|
|
49
48
|
|
|
50
49
|
Disabling `massa-ai-router` is allowed and is the user's call. Say plainly that it removes the router which reads the startup contract, and that the recovery is this same CLI (`massa-ai-config bootstrap enable massa-ai-router`), which is a binary and not a rule, so it stays reachable.
|
|
51
50
|
|
|
@@ -67,7 +66,7 @@ On a dry run, say so and that no files changed.
|
|
|
67
66
|
|
|
68
67
|
## Restrictions
|
|
69
68
|
- Never use an MCP tool for this surface; none exists. The CLI must keep working with the MCP server unreachable.
|
|
70
|
-
- Never invent, abbreviate, or pluralise a rule id; use only the
|
|
69
|
+
- Never invent, abbreviate, or pluralise a rule id; use only the eight ids above, exactly as the engine lists them.
|
|
71
70
|
- Never hand-edit a delivered `MASSA-AI.md`, a host's `AGENTS.md`, or `~/.config/massa-ai/config.json` to satisfy a toggle request — the engine owns those bytes, and a hand edit is overwritten by the next apply.
|
|
72
71
|
- Never edit the rule text itself to satisfy a toggle request; that is a massa-ai repository change owned by a different workflow.
|
|
73
72
|
- Never claim a toggle is live before the affected host's session restarts.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow to record a finalized or being-finalized architecture decision; route open options to rfc and implementation planning to tdd. — explicit massa-ai 'adr' workflow"
|
|
2
|
+
description: "Use this workflow to record a finalized or being-finalized architecture decision; route open options to create-rfc and implementation planning to create-tdd. — explicit massa-ai 'create-adr' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `adr`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-adr`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `adr` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-adr` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Turn the current conversation into a PRD. Use when the user asks to create, synthesize, or convert existing discussion and codebase context into a Product Requirements Document without another interview. Do NOT use for implementation plans, architecture design docs, RFCs, TDDs, or discovery interviews that require new product questioning. — explicit massa-ai '
|
|
2
|
+
description: "Turn the current conversation into a PRD. Use when the user asks to create, synthesize, or convert existing discussion and codebase context into a Product Requirements Document without another interview. Do NOT use for implementation plans, architecture design docs, RFCs, TDDs, or discovery interviews that require new product questioning. — explicit massa-ai 'create-prd' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-prd`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `
|
|
10
|
+
route to workflow `create-prd` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow when a significant technical, process, product, vendor, tool, or policy decision is still open and stakeholders need a structured proposal before committing. — explicit massa-ai 'rfc' workflow"
|
|
2
|
+
description: "Use this workflow when a significant technical, process, product, vendor, tool, or policy decision is still open and stakeholders need a structured proposal before committing. — explicit massa-ai 'create-rfc' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `rfc`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-rfc`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `rfc` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-rfc` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow to write a Technical Design Document once one product direction is selected and no unresolved API, data, security, or rollout decision blocks implementation. — explicit massa-ai 'tdd' workflow"
|
|
2
|
+
description: "Use this workflow to write a Technical Design Document once one product direction is selected and no unresolved API, data, security, or rollout decision blocks implementation. — explicit massa-ai 'create-tdd' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `tdd`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-tdd`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `tdd` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-tdd` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Use this workflow to draft, review, create, or resume creation of Jira Epics, issues, or sub-tasks through Atlassian MCP, the only tracker and mutation path. — explicit massa-ai 'ticket' workflow"
|
|
2
|
+
description: "Use this workflow to draft, review, create, or resume creation of Jira Epics, issues, or sub-tasks through Atlassian MCP, the only tracker and mutation path. — explicit massa-ai 'create-ticket' workflow"
|
|
3
3
|
argument-hint: "[task description]"
|
|
4
4
|
---
|
|
5
5
|
<!-- massa-ai:generated workflow-command -->
|
|
6
6
|
|
|
7
|
-
Explicit massa-ai workflow invocation: `ticket`.
|
|
7
|
+
Explicit massa-ai workflow invocation: `create-ticket`.
|
|
8
8
|
|
|
9
9
|
Load the massa-ai router skill if not already loaded (dedupe guard), then
|
|
10
|
-
route to workflow `ticket` under routing precedence 1 (explicit route) —
|
|
10
|
+
route to workflow `create-ticket` under routing precedence 1 (explicit route) —
|
|
11
11
|
do not reclassify. Pass the following as the task description; if empty,
|
|
12
12
|
the workflow's own intake gathers it.
|
|
13
13
|
|
package/skills/massa-ai/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: massa-ai
|
|
3
|
-
description: Default memory-backed workflow router for every coding, planning-before-coding, debugging, code review, refactoring, or implementation conversation. Always load it once per new coding session, select specialized workflows first, and
|
|
3
|
+
description: Default memory-backed workflow router for every coding, planning-before-coding, debugging, code review, refactoring, or implementation conversation. Always load it once per new coding session, select specialized workflows first, and work under the Core Contract without a workflow file otherwise. Handles massa-ai recall/search, durable memory, context compaction, handoff, audits, specs, ADR/RFC/TDD, and evidence gates. Do NOT use for generic non-coding chat or bulk-loading every workflow/reference.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Luiz Massa
|
|
@@ -35,6 +35,9 @@ Before reading any massa-ai file:
|
|
|
35
35
|
|
|
36
36
|
- Every coding/planning task uses one stable `projectId` and
|
|
37
37
|
`workflowSessionId`.
|
|
38
|
+
- Sub-agents are dispatched by bare charter name (`builder`, `code-reviewer`, ...).
|
|
39
|
+
On the Claude plugin route, dispatch the plugin-namespaced `massa-ai:<name>`
|
|
40
|
+
so a same-named user or project agent cannot intercept the dispatch.
|
|
38
41
|
- Start with `recall` for relevant prior decisions/patterns.
|
|
39
42
|
- Default startup/context recall is budgeted: use `limit <= 3`,
|
|
40
43
|
`minImportance >= 0.7`, and `types=["critical","decision","pattern"]`
|
|
@@ -113,7 +116,7 @@ Examples:
|
|
|
113
116
|
- `feature-user-onboarding`
|
|
114
117
|
- `refactor-auth-module`
|
|
115
118
|
- `spec-billing-workflow`
|
|
116
|
-
- `adr-postgres-migration`
|
|
119
|
+
- `create-adr-postgres-migration`
|
|
117
120
|
|
|
118
121
|
Resolve `projectId`:
|
|
119
122
|
|
|
@@ -143,9 +146,6 @@ current context already contains it.
|
|
|
143
146
|
| `security-fix` | fix security audit report findings | `workflows/security/security-fix.md` |
|
|
144
147
|
| `requirements-audit` | requirements/spec/acceptance/scope alignment findings | `workflows/requirements/requirements-audit.md` |
|
|
145
148
|
| `requirements-fix` | fix requirements audit report findings | `workflows/requirements/requirements-fix.md` |
|
|
146
|
-
| `maestro` | implement new Maestro mobile E2E flows | `workflows/maestro/maestro.md` |
|
|
147
|
-
| `maestro-audit` | run and audit existing Maestro mobile E2E flows | `workflows/maestro/maestro-audit.md` |
|
|
148
|
-
| `maestro-fix` | child-only fix for saved Maestro audit findings | `workflows/maestro/maestro-fix.md` |
|
|
149
149
|
| `tests-audit` | test coverage/regression/assertion/flakiness findings | `workflows/tests/tests-audit.md` |
|
|
150
150
|
| `tests-fix` | fix tests audit report findings | `workflows/tests/tests-fix.md` |
|
|
151
151
|
| `bugs-audit` | findings-only bug discovery | `workflows/bugs/bugs-audit.md` |
|
|
@@ -159,34 +159,33 @@ current context already contains it.
|
|
|
159
159
|
| `mobile-figma-audit` | compare an Android, iOS, or KMP UI implementation with a Figma design | `workflows/mobile-figma/mobile-figma-audit.md` |
|
|
160
160
|
| `mobile-figma-fix` | fix saved mobile Figma findings | `workflows/mobile-figma/mobile-figma-fix.md` |
|
|
161
161
|
| `refactor` | behavior-preserving structural cleanup | `workflows/refactor.md` |
|
|
162
|
-
| `adr` | record a finalized decision | `workflows/adr.md` |
|
|
163
|
-
| `rfc` | propose a significant change | `workflows/rfc.md` |
|
|
164
|
-
| `tdd` | technical design / implementation plan | `workflows/tdd.md` |
|
|
165
|
-
| `ticket` | draft and create Jira Epics, issues, and sub-tasks through Atlassian MCP | `workflows/ticket.md` |
|
|
162
|
+
| `create-adr` | record a finalized decision | `workflows/create-adr.md` |
|
|
163
|
+
| `create-rfc` | propose a significant change | `workflows/create-rfc.md` |
|
|
164
|
+
| `create-tdd` | technical design / implementation plan | `workflows/create-tdd.md` |
|
|
165
|
+
| `create-ticket` | draft and create Jira Epics, issues, and sub-tasks through Atlassian MCP | `workflows/create-ticket.md` |
|
|
166
166
|
| `commit` | draft or create safe Conventional Commits with Jira branch prefixes and audit report exclusions | `workflows/commit.md` |
|
|
167
167
|
| `the-fool` | direct challenge, red-team, pre-mortem, evidence audit | `workflows/the-fool.md` |
|
|
168
168
|
| `judge-with-debate` | standalone multi-judge debate evaluation of user-supplied artifacts | `workflows/judge-with-debate.md` |
|
|
169
169
|
| `pr-review` | review a hosted GitHub PR / GitLab MR and post findings via `gh`/`glab` | `workflows/pr-review.md` |
|
|
170
|
-
| `discovery` | product brainstorming / problem-space thinking partner | `workflows/discovery.md` |
|
|
171
|
-
| `
|
|
170
|
+
| `product-discovery` | product brainstorming / problem-space thinking partner | `workflows/product-discovery.md` |
|
|
171
|
+
| `create-prd` | turn the current conversation into a PRD without a new interview | `workflows/create-prd.md` |
|
|
172
172
|
| `skill-architect` | design and build a new skill through structured conversation | `workflows/skill-architect.md` |
|
|
173
173
|
| `furps-refinement` | FURPS+ refinement of a PRD and/or ADR before implementation, with The Fool pre-validation and DoR coverage | `workflows/refinement/furps-refinement.md` |
|
|
174
|
-
| `general` | coding work with no more specific workflow | `workflows/general.md` |
|
|
175
174
|
|
|
176
175
|
Explicitly requested workflows win. Otherwise choose the most specific matching
|
|
177
176
|
workflow. Use `exploration` only for explicitly read-only understanding or flow
|
|
178
|
-
mapping;
|
|
177
|
+
mapping; when no route's precedence key above matches, load no workflow file. Ask
|
|
179
178
|
the user only when two or more routes match the same precedence tier; a single
|
|
180
179
|
match or no match is resolved deterministically without asking.
|
|
181
180
|
|
|
182
181
|
Deterministic routing precedence, first match wins:
|
|
183
182
|
|
|
184
183
|
1. **Explicit route:** user names a massa-ai workflow, report family, saved finding type, or asks for a direct challenge.
|
|
185
|
-
2. **Requested artifact:** ADR, RFC, TDD, Jira ticket, commit, session guide, audit report, implementation audit report, mobile Figma report, FURPS refinement report, PRD synthesized from the current conversation -> `
|
|
186
|
-
3. **Target type:** broken behavior/error -> `debug`; hosted PR/MR reference (number or URL) to review with posted findings -> `pr-review` (local working diff stays with audit routes); saved audit finding -> matching `*-fix`; implementation scope review -> `implementation-audit`;
|
|
187
|
-
4. **Primary verb:** create/add/implement -> `feature
|
|
184
|
+
2. **Requested artifact:** ADR, RFC, TDD, Jira ticket, commit, session guide, audit report, implementation audit report, mobile Figma report, FURPS refinement report, PRD synthesized from the current conversation -> `create-prd` (explicit request only; refining an existing PRD stays `furps-refinement`), or new SKILL.md / skill design -> `skill-architect`.
|
|
185
|
+
3. **Target type:** broken behavior/error -> `debug`; hosted PR/MR reference (number or URL) to review with posted findings -> `pr-review` (local working diff stays with audit routes); saved audit finding -> matching `*-fix`; implementation scope review -> `implementation-audit`; security/privacy/auth finding -> security workflow; tests/flakes/coverage finding -> tests workflow; supplied Figma/screenshot mobile UI design -> `design`; mobile Figma compare/audit -> `mobile-figma-audit`; saved `MFM-*` findings -> `mobile-figma-fix`.
|
|
186
|
+
4. **Primary verb:** create/add/implement -> `feature`; restructure without behavior change -> `refactor`; inspect/understand only -> `exploration`; brainstorm/explore a product problem, idea, or direction with no concrete code target -> `product-discovery`; record selected decision -> `create-adr`; compare open options -> `create-rfc`; design settled implementation -> `create-tdd`; refine/quality-check an existing PRD or ADR document (not implementation auditing) -> `furps-refinement`.
|
|
188
187
|
5. **Risk domain escalation:** migrations, irreversible operations, auth/privacy, cross-service contracts, public compatibility, or work over 10 files routes to `spec-driven` unless the user explicitly requests a narrower workflow and accepts the containment.
|
|
189
|
-
6. **
|
|
188
|
+
6. **No match:** proceed without loading a workflow file. The main agent works under the Core Contract above (recall, verify, Evidence Gate) and states in one line which specialized workflow it considered and why none applies.
|
|
190
189
|
|
|
191
190
|
Mobile is a context modifier, not a workflow. Route by primary intent first.
|
|
192
191
|
Load `references/mobile-context.md` for non-debug mobile work, or
|
|
@@ -199,8 +198,8 @@ Read and apply the canonical Plan Challenge Policy from the installed
|
|
|
199
198
|
`AGENTS.md` bootstrap block (single source: `skills/AGENTS.md`). Prompt-level
|
|
200
199
|
user instructions override that policy for the current turn.
|
|
201
200
|
|
|
202
|
-
For a low-risk plan that receives the lite gate, attempt a
|
|
203
|
-
`
|
|
201
|
+
For a low-risk plan that receives the lite gate, attempt a
|
|
202
|
+
`judge` subagent in `plan-critique` mode (it writes nothing in that mode) with a bounded checklist packet instead of
|
|
204
203
|
running the checklist in the main agent. The packet includes the proposed plan, scope,
|
|
205
204
|
constraints, compact recalled facts/evidence, known risks, verification recipe,
|
|
206
205
|
parent identifiers, and this output requirement:
|
|
@@ -214,19 +213,19 @@ Lite preserves progressive disclosure: do not load The Fool mode references
|
|
|
214
213
|
unless the lite critique escalates to full.
|
|
215
214
|
|
|
216
215
|
Low-risk `feature` and `refactor` plans receive the lite gate first. Full The
|
|
217
|
-
Fool stays for `spec-driven`, `design`, `adr`, `rfc`, `tdd`, explicit challenge
|
|
216
|
+
Fool stays for `spec-driven`, `design`, `create-adr`, `create-rfc`, `create-tdd`, explicit challenge
|
|
218
217
|
requests, high-risk domains, or plans touching more than 5 files/classes/modules.
|
|
219
218
|
When the policy selects the full gate, or lite escalates, load
|
|
220
219
|
`workflows/the-fool.md`, select the mode in the main agent, load only the
|
|
221
|
-
selected The Fool references, and attempt a
|
|
222
|
-
|
|
220
|
+
selected The Fool references, and attempt a `judge` subagent in `plan-critique` mode with the selected mode passed as `fool_mode`
|
|
221
|
+
and a bounded critique packet. Subagents inherit
|
|
223
222
|
`projectId`, parent `workflowSessionId`, workflow name, entity, and compact
|
|
224
223
|
evidence; they do not receive full conversation context.
|
|
225
224
|
|
|
226
225
|
If the policy file is unavailable, use the conservative fallback: run the full
|
|
227
226
|
gate for high-risk domains, broad multi-module plans, explicit challenge
|
|
228
227
|
requests, and planning workflows that commit to a feature, refactor, ADR, RFC,
|
|
229
|
-
or TDD. If the `
|
|
228
|
+
or TDD. If the `judge` agent is unavailable for any reason —
|
|
230
229
|
spawning forbidden, plugin not installed, unknown `subagent_type` — run a strict
|
|
231
230
|
standalone fresh-eyes local critique against the same output contract and report
|
|
232
231
|
the skipped delegation reason. Do not retry under a different agent name. Reuse
|
|
@@ -282,7 +281,7 @@ Load only when a selected workflow asks for them:
|
|
|
282
281
|
- `references/agent-orchestration.md`
|
|
283
282
|
- `references/subagent-design.md`
|
|
284
283
|
- `references/code-reuse-scan.md`
|
|
285
|
-
- `references/adr
|
|
284
|
+
- `references/create-adr.md`
|
|
286
285
|
- `references/audit-scope.md`
|
|
287
286
|
- `references/audit-report-io.md`
|
|
288
287
|
- `references/hook-enforcement.md`
|
|
@@ -311,12 +310,10 @@ Load only when a selected workflow asks for them:
|
|
|
311
310
|
- `references/repo-rules-discovery.md`
|
|
312
311
|
- `references/root-cause-scripts.md`
|
|
313
312
|
- `references/conversation-feedback.md`
|
|
314
|
-
- `references/maestro.md`
|
|
315
|
-
- `references/maestro/`
|
|
316
313
|
- `references/synapse-policy.md`
|
|
317
|
-
- `references/tdd/`
|
|
318
|
-
- `references/rfc/`
|
|
319
|
-
- `references/ticket/`
|
|
314
|
+
- `references/create-tdd/`
|
|
315
|
+
- `references/create-rfc/`
|
|
316
|
+
- `references/create-ticket/`
|
|
320
317
|
- `references/spec-driven/`
|
|
321
318
|
- `references/furps/`
|
|
322
319
|
|