@massa-ai/codex-plugin 1.26.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/agent-profiles/balanced/massa-ai-judge.toml +5 -8
  3. package/agent-profiles/balanced/massa-ai-meta-judge.toml +2 -5
  4. package/agent-profiles/balanced/massa-ai-navigator.toml +1 -1
  5. package/agent-profiles/cheap/massa-ai-judge.toml +5 -8
  6. package/agent-profiles/cheap/massa-ai-meta-judge.toml +2 -5
  7. package/agent-profiles/cheap/massa-ai-navigator.toml +1 -1
  8. package/agent-profiles/heavy/massa-ai-judge.toml +5 -8
  9. package/agent-profiles/heavy/massa-ai-meta-judge.toml +2 -5
  10. package/agent-profiles/heavy/massa-ai-navigator.toml +1 -1
  11. package/agent-profiles/home/massa-ai-judge.toml +5 -8
  12. package/agent-profiles/home/massa-ai-meta-judge.toml +2 -5
  13. package/agent-profiles/home/massa-ai-navigator.toml +1 -1
  14. package/agent-profiles/work/massa-ai-judge.toml +5 -8
  15. package/agent-profiles/work/massa-ai-meta-judge.toml +2 -5
  16. package/agent-profiles/work/massa-ai-navigator.toml +1 -1
  17. package/agents/massa-ai-judge.toml +5 -8
  18. package/agents/massa-ai-meta-judge.toml +2 -5
  19. package/agents/massa-ai-navigator.toml +1 -1
  20. package/install.sh +32 -0
  21. package/package.json +1 -1
  22. package/skills/agents/judge/SKILL.md +6 -9
  23. package/skills/agents/meta-judge/SKILL.md +3 -6
  24. package/skills/agents/navigator/SKILL.md +2 -2
  25. package/skills/massa-ai/SKILL.md +6 -17
  26. package/skills/massa-ai/references/adr-authoring.md +3 -3
  27. package/skills/massa-ai/references/agent-orchestration.md +18 -3
  28. package/skills/massa-ai/references/architecture-coupling-lens.md +1 -1
  29. package/skills/massa-ai/references/architecture-deepening-lens.md +1 -1
  30. package/skills/massa-ai/references/architecture-domain-lens.md +1 -1
  31. package/skills/massa-ai/references/architecture-lenses.md +1 -1
  32. package/skills/massa-ai/references/audit-report-io.md +32 -2
  33. package/skills/massa-ai/references/audit-scope.md +22 -1
  34. package/skills/massa-ai/references/code-annotation.md +5 -5
  35. package/skills/massa-ai/references/codebase-investigation.md +1 -1
  36. package/skills/massa-ai/references/coding-guidelines.md +67 -0
  37. package/skills/massa-ai/references/context-firewall.md +2 -1
  38. package/skills/massa-ai/references/conversation-feedback.md +1 -1
  39. package/skills/massa-ai/references/debug-diagnosis-loop.md +1 -1
  40. package/skills/massa-ai/references/decision-engine.md +1 -1
  41. package/skills/massa-ai/references/evidence-gate.md +1 -1
  42. package/skills/massa-ai/references/figma-pre-analysis.md +3 -3
  43. package/skills/massa-ai/references/furps/analyst-role.md +1 -1
  44. package/skills/massa-ai/references/furps/checklist.md +1 -1
  45. package/skills/massa-ai/references/furps/intake.md +1 -1
  46. package/skills/massa-ai/references/furps/report-contract.md +1 -1
  47. package/skills/massa-ai/references/graceful-degradation.md +22 -0
  48. package/skills/massa-ai/references/hook-enforcement.md +3 -3
  49. package/skills/massa-ai/references/implementation-delivery.md +4 -4
  50. package/skills/massa-ai/references/installation.md +1 -1
  51. package/skills/massa-ai/references/lessons.md +2 -2
  52. package/skills/massa-ai/references/maestro/artifacts-reports.md +1 -1
  53. package/skills/massa-ai/references/maestro/cli-device.md +1 -1
  54. package/skills/massa-ai/references/maestro/cloud.md +1 -1
  55. package/skills/massa-ai/references/maestro/config-env-output.md +1 -1
  56. package/skills/massa-ai/references/maestro/fact-ledger.md +1 -1
  57. package/skills/massa-ai/references/maestro/js-scripting.md +1 -1
  58. package/skills/massa-ai/references/maestro/mcp.md +1 -1
  59. package/skills/massa-ai/references/maestro/patterns.md +1 -1
  60. package/skills/massa-ai/references/maestro/selectors.md +1 -1
  61. package/skills/massa-ai/references/maestro/workspace-execution.md +1 -1
  62. package/skills/massa-ai/references/maestro/yaml-commands.md +1 -1
  63. package/skills/massa-ai/references/maestro.md +1 -1
  64. package/skills/massa-ai/references/mcp-tools.md +2 -2
  65. package/skills/massa-ai/references/memory-policy.md +2 -2
  66. package/skills/massa-ai/references/mobile-context.md +9 -5
  67. package/skills/massa-ai/references/mobile-diagnosis.md +2 -2
  68. package/skills/massa-ai/references/mobile-figma-matcher/android-compose.md +1 -1
  69. package/skills/massa-ai/references/mobile-figma-matcher/android-views.md +1 -1
  70. package/skills/massa-ai/references/mobile-figma-matcher/core.md +1 -1
  71. package/skills/massa-ai/references/mobile-figma-matcher/ios-swiftui.md +1 -1
  72. package/skills/massa-ai/references/mobile-figma-matcher/ios-uikit.md +1 -1
  73. package/skills/massa-ai/references/mobile-figma-matcher/kmp-compose-multiplatform.md +1 -1
  74. package/skills/massa-ai/references/mobile-figma-matcher/repository-detection.md +1 -1
  75. package/skills/massa-ai/references/naming-standards.md +1 -1
  76. package/skills/massa-ai/references/pr-task-fix.md +2 -2
  77. package/skills/massa-ai/references/project-context.md +2 -2
  78. package/skills/massa-ai/references/repo-rules-discovery.md +4 -4
  79. package/skills/massa-ai/references/rfc/discovery-and-sizing.md +1 -1
  80. package/skills/massa-ai/references/rfc/document-contract.md +1 -1
  81. package/skills/massa-ai/references/rfc/quality-and-lifecycle.md +1 -1
  82. package/skills/massa-ai/references/root-cause-scripts.md +2 -2
  83. package/skills/massa-ai/references/skill-architect/examples.md +256 -0
  84. package/skills/massa-ai/references/skill-architect/patterns.md +317 -0
  85. package/skills/massa-ai/references/skill-architect/quality-checklist.md +70 -0
  86. package/skills/massa-ai/references/sonarqube-mcp.md +73 -0
  87. package/skills/massa-ai/references/spec-driven/artifact-store.md +1 -1
  88. package/skills/massa-ai/references/spec-driven/brownfield-mapping.md +16 -0
  89. package/skills/massa-ai/references/spec-driven/code-analysis.md +1 -1
  90. package/skills/massa-ai/references/spec-driven/coding-principles.md +1 -1
  91. package/skills/massa-ai/references/spec-driven/context-limits.md +1 -1
  92. package/skills/massa-ai/references/spec-driven/design.md +22 -1
  93. package/skills/massa-ai/references/spec-driven/discuss.md +1 -1
  94. package/skills/massa-ai/references/spec-driven/execute.md +3 -1
  95. package/skills/massa-ai/references/spec-driven/memory.md +1 -1
  96. package/skills/massa-ai/references/spec-driven/specify.md +3 -3
  97. package/skills/massa-ai/references/spec-driven/sub-agents.md +1 -1
  98. package/skills/massa-ai/references/spec-driven/tasks.md +1 -1
  99. package/skills/massa-ai/references/spec-driven/validate.md +1 -1
  100. package/skills/massa-ai/references/subagent-design.md +4 -4
  101. package/skills/massa-ai/references/synapse-policy.md +1 -1
  102. package/skills/massa-ai/references/tdd/calibrated-examples.md +1 -1
  103. package/skills/massa-ai/references/tdd/discovery-and-sizing.md +1 -1
  104. package/skills/massa-ai/references/tdd/document-contract.md +1 -1
  105. package/skills/massa-ai/references/tdd/quality-and-lifecycle.md +1 -1
  106. package/skills/massa-ai/references/the-fool/cognitive-bias-inventory.md +1 -1
  107. package/skills/massa-ai/references/the-fool/dialectic-synthesis.md +1 -1
  108. package/skills/massa-ai/references/the-fool/evidence-audit.md +1 -1
  109. package/skills/massa-ai/references/the-fool/pre-mortem-analysis.md +1 -1
  110. package/skills/massa-ai/references/the-fool/red-team-adversarial.md +1 -1
  111. package/skills/massa-ai/references/the-fool/socratic-questioning.md +1 -1
  112. package/skills/massa-ai/references/ticket/atlassian-fix.md +1 -1
  113. package/skills/massa-ai/references/ticket/intake-and-sources.md +1 -1
  114. package/skills/massa-ai/references/ticket/templates-and-quality.md +1 -1
  115. package/skills/massa-ai/references/verification-ladder.md +1 -1
  116. package/skills/massa-ai/scripts/validate_audit_report.ts +382 -0
  117. package/skills/massa-ai/scripts/validate_design.ts +264 -0
  118. package/skills/massa-ai/scripts/validate_skill.ts +364 -0
  119. package/skills/massa-ai/workflows/adr.md +16 -8
  120. package/skills/massa-ai/workflows/architecture/architecture-audit.md +23 -40
  121. package/skills/massa-ai/workflows/architecture/architecture-fix.md +14 -6
  122. package/skills/massa-ai/workflows/bugs/bugs-audit.md +19 -35
  123. package/skills/massa-ai/workflows/bugs/bugs-fix.md +13 -5
  124. package/skills/massa-ai/workflows/code-quality/code-quality-audit.md +25 -41
  125. package/skills/massa-ai/workflows/code-quality/code-quality-fix.md +13 -5
  126. package/skills/massa-ai/workflows/commit.md +13 -5
  127. package/skills/massa-ai/workflows/debug.md +11 -3
  128. package/skills/massa-ai/workflows/design.md +15 -7
  129. package/skills/massa-ai/workflows/exploration.md +12 -4
  130. package/skills/massa-ai/workflows/feature.md +14 -13
  131. package/skills/massa-ai/workflows/general.md +13 -8
  132. package/skills/massa-ai/workflows/implementation/implementation-audit.md +15 -15
  133. package/skills/massa-ai/workflows/implementation/implementation-fix.md +13 -5
  134. package/skills/massa-ai/workflows/judge-with-debate.md +12 -4
  135. package/skills/massa-ai/workflows/long-session.md +10 -2
  136. package/skills/massa-ai/workflows/maestro/maestro-audit.md +11 -3
  137. package/skills/massa-ai/workflows/maestro/maestro-fix.md +12 -4
  138. package/skills/massa-ai/workflows/maestro/maestro.md +12 -4
  139. package/skills/massa-ai/workflows/mobile-figma/mobile-figma-audit.md +11 -3
  140. package/skills/massa-ai/workflows/mobile-figma/mobile-figma-fix.md +12 -4
  141. package/skills/massa-ai/workflows/onboarding.md +10 -2
  142. package/skills/massa-ai/workflows/refactor.md +12 -4
  143. package/skills/massa-ai/workflows/refinement/furps-refinement.md +12 -4
  144. package/skills/massa-ai/workflows/requirements/requirements-audit.md +19 -36
  145. package/skills/massa-ai/workflows/requirements/requirements-fix.md +13 -5
  146. package/skills/massa-ai/workflows/rfc.md +10 -2
  147. package/skills/massa-ai/workflows/security/security-audit.md +19 -35
  148. package/skills/massa-ai/workflows/security/security-fix.md +13 -5
  149. package/skills/massa-ai/workflows/skill-architect.md +393 -0
  150. package/skills/massa-ai/workflows/spec-driven.md +20 -23
  151. package/skills/massa-ai/workflows/tdd.md +10 -2
  152. package/skills/massa-ai/workflows/tests/tests-audit.md +19 -35
  153. package/skills/massa-ai/workflows/tests/tests-fix.md +13 -5
  154. package/skills/massa-ai/workflows/the-fool.md +11 -3
  155. package/skills/massa-ai/workflows/ticket.md +10 -2
  156. package/skills/massa-ai/workflows/to-prd.md +81 -0
@@ -1,12 +1,20 @@
1
+ ---
2
+ name: tests-fix
3
+ description: "Executes fixes from a saved tests audit report; not for findings-only coverage review or generic test-writing work without an audit report."
4
+ license: MIT
5
+ metadata:
6
+ version: "1.1.0"
7
+ ---
8
+
1
9
  ### Tests Fix
2
10
 
3
- Use this workflow only to execute fixes from a tests audit markdown report.
11
+ Execute fixes from a tests audit markdown report only.
4
12
 
5
- Before the first substantive read, load `references/project-context.md` and run the project-context intake sweep for this repository.
13
+ Load `references/project-context.md` (intake sweep) before the first substantive read.
6
14
 
7
- Before the first repository mutation, load `references/implementation-delivery.md` for worktree isolation, atomic commits, PR creation, CI watch, and the merge gate, and `references/code-annotation.md` for doc blocks, rationale comments, and test coverage on every created or updated unit. If two consecutive fix attempts fail on the same symptom, stop editing and load `references/root-cause-scripts.md`.
15
+ Before the first repository mutation, load `references/implementation-delivery.md` (delivery chain: worktree, atomic commits, PR, CI watch, merge gate) and `references/code-annotation.md` (doc blocks, rationale, test coverage). After two consecutive failed fixes on one symptom, stop editing and load `references/root-cause-scripts.md`.
8
16
 
9
- Do not use this workflow for findings-only test coverage, assertion quality, fixture health, flakiness, or regression-risk review; route that to `workflows/tests/tests-audit.md`. Do not use it for generic "write some tests" work without an audit report; route broad test planning through the relevant feature, debug, refactor, or spec-driven workflow.
17
+ Not for findings-only test coverage, assertion quality, fixture health, flakiness, or regression-risk review — route to `workflows/tests/tests-audit.md`. Not for generic "write some tests" work without an audit report — route broad test planning through the relevant feature, debug, refactor, or spec-driven workflow.
10
18
 
11
19
  1. Resolve/reuse `workflowSessionId`: `tests-fix-[entity]`
12
20
  2. Load shared references:
@@ -24,7 +32,7 @@ Do not use this workflow for findings-only test coverage, assertion quality, fix
24
32
  - If the user asks for "latest" or gives no path, require a concrete target focus first; do not run the latest tests report against an unspecified target.
25
33
  - Select the latest `audits/tests/<YYYY-MM-DD tests-audit>.md` only after target focus is known, using `references/audit-report-io.md`.
26
34
  - Stop if no report exists; do not infer findings from conversation history.
27
- - Validate the report with `references/audit-report-io.md`: workflow, `ProjectId`, `Target`, `Target Focus`, scope, git base/head, required fields, `TST-` IDs, resolved files or material scope evidence, and current file/line evidence. Stop on invalid, stale, target-drifted, or ambiguous reports before editing.
35
+ - Validate the report deterministically: `bun skills/massa-ai/scripts/validate_audit_report.ts <path> --family tests` (`references/audit-report-io.md`, Deterministic Validation); non-zero exit blocks editing. Also confirm resolved files or material scope evidence and current file/line evidence; stop on stale, target-drifted, or ambiguous reports.
28
36
  5. Extract actionable test findings:
29
37
  - Keep findings with concrete `Location`, `Evidence`, impacted behavior, regression risk, `Simplest Test Direction`, `Deterministic Sensor`, and `Verification Suggestion`.
30
38
  - Ignore ruled-out candidates, no-finding sections, and low-confidence hardening ideas unless the user explicitly asks to include them.
@@ -1,10 +1,18 @@
1
+ ---
2
+ name: the-fool
3
+ description: "Use this workflow for direct requests to challenge ideas, plans, decisions, or evidence, and as the configured post-plan challenge gate after other workflows construct a plan."
4
+ license: MIT
5
+ metadata:
6
+ version: "1.1.0"
7
+ ---
8
+
1
9
  ### The Fool
2
10
 
3
- Use this workflow for direct requests to challenge ideas, plans, decisions, proposals, architectures, evidence, or assumptions. Also use it as the configured post-plan challenge gate after other massa-ai workflows construct a plan.
11
+ Use for direct requests to challenge ideas, plans, decisions, proposals, architectures, evidence, or assumptions. Also use as the configured post-plan challenge gate after other massa-ai workflows construct a plan.
4
12
 
5
- Before the first substantive read, load `references/project-context.md` and run the project-context intake sweep for this repository.
13
+ Load `references/project-context.md` (intake sweep) before the first substantive read.
6
14
 
7
- Do not use this workflow to build the initial plan, make the decision, or execute implementation work. It critiques and strengthens existing thinking.
15
+ Not to build the initial plan, make the decision, or execute implementation work. It critiques and strengthens existing thinking.
8
16
 
9
17
  ## Configuration
10
18
 
@@ -1,8 +1,16 @@
1
+ ---
2
+ name: ticket
3
+ 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."
4
+ license: MIT
5
+ metadata:
6
+ version: "1.1.0"
7
+ ---
8
+
1
9
  ### Ticket
2
10
 
3
- Use this workflow when the user wants to draft, review, create, or resume creation of Jira Epics, standard issues, or sub-tasks. Jira through Atlassian MCP is the only tracker and mutation path. Do not use Jira CLI, browser automation, another tracker, or repository backlog files as fallbacks.
11
+ Use when the user wants to draft, review, create, or resume creation of Jira Epics, standard issues, or sub-tasks. Jira through Atlassian MCP is the only tracker and mutation path. Do not use Jira CLI, browser automation, another tracker, or repository backlog files as fallbacks.
4
12
 
5
- Before the first substantive read, load `references/project-context.md` and run the project-context intake sweep for this repository.
13
+ Load `references/project-context.md` (intake sweep) before the first substantive read.
6
14
 
7
15
  ## Workflow
8
16
 
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: to-prd
3
+ 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."
4
+ license: MIT
5
+ metadata:
6
+ version: "1.0.0"
7
+ ---
8
+
9
+ ### To-PRD (Conversation → Product Requirements Document)
10
+
11
+ This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.
12
+
13
+ Route here only on explicit user request to convert the current conversation into a PRD (Product Requirements Document); refining an existing PRD stays `furps-refinement`.
14
+
15
+ Load `references/project-context.md` (intake sweep) before the first substantive read.
16
+
17
+ ## Process
18
+
19
+ 1. Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the PRD, and respect any ADRs in the area you're touching.
20
+
21
+ 2. Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.
22
+
23
+ Record the seams in the PRD and proceed from the current context unless the user explicitly asks to review them first.
24
+
25
+ 3. Write the PRD using the template below. Apply the `ready-for-agent` triage label - no need for additional triage.
26
+
27
+ <prd-template>
28
+
29
+ ## Problem Statement
30
+
31
+ The problem that the user is facing, from the user's perspective.
32
+
33
+ ## Solution
34
+
35
+ The solution to the problem, from the user's perspective.
36
+
37
+ ## User Stories
38
+
39
+ A LONG, numbered list of user stories. Each user story should be in the format of:
40
+
41
+ 1. As an <actor>, I want a <feature>, so that <benefit>
42
+
43
+ <user-story-example>
44
+ 1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending
45
+ </user-story-example>
46
+
47
+ This list of user stories should be extremely extensive and cover all aspects of the feature.
48
+
49
+ ## Implementation Decisions
50
+
51
+ A list of implementation decisions that were made. This can include:
52
+
53
+ - The modules that will be built/modified
54
+ - The interfaces of those modules that will be modified
55
+ - Technical clarifications from the developer
56
+ - Architectural decisions
57
+ - Schema changes
58
+ - API contracts
59
+ - Specific interactions
60
+
61
+ Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
62
+
63
+ Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.
64
+
65
+ ## Testing Decisions
66
+
67
+ A list of testing decisions that were made. Include:
68
+
69
+ - A description of what makes a good test (only test external behavior, not implementation details)
70
+ - Which modules will be tested
71
+ - Prior art for the tests (i.e. similar types of tests in the codebase)
72
+
73
+ ## Out of Scope
74
+
75
+ A description of the things that are out of scope for this PRD.
76
+
77
+ ## Further Notes
78
+
79
+ Any further notes about the feature.
80
+
81
+ </prd-template>