chore(template): simplify per-role plugin lists using #71 union semantics - #74
Merged
Merged
Conversation
…tics #71 just merged — per-workspace `plugins:` now UNIONs with `defaults.plugins` instead of replacing it. Simplifies every override in molecule-dev/ from "defaults+1 = list 10 items" to "defaults+1 = list 1 item": PM: 11 items → 2 (workflow-triage + workflow-retro) Research Lead: 10 items → 1 (browser-automation) Market Analyst: 10 items → 1 Technical Researcher: 10 items → 1 Competitive Intel: 10 items → 1 Security Auditor: 12 items → 3 (code-review + cross-vendor-review + llm-judge) UIUX Designer: 10 items → 1 (browser-automation) Every workspace still receives the full 9-plugin default set (ecc, molecule-dev, superpowers, careful-bash, prompt-watchdog, audit-trail, session-context, cron-learnings, update-docs) — verified by reading mergePlugins() in platform/internal/handlers/org.go:645. Also drops the stale "REPLACE not UNION" warning comments and points defaults' header comment at the new union behaviour. Net diff: ~30 lines removed, ~10 added. Template is now meaningfully easier to extend — each new defaults.plugin propagates everywhere without sweeping per-role lists. Closes follow-up scope from PR #70.
HongmingWang-Rabbit
pushed a commit
that referenced
this pull request
Apr 14, 2026
- CLAUDE.md: Go test count 731 → 740; migration count 16 → 23; workspace_schedules.source column documented in Database section. - PLAN.md: new "Recently launched (2026-04-14 tick-7)" section for PRs #74/#75/#76 and closed issues #24/#51. - docs/edit-history/2026-04-14.md: per-PR breakdown of tick-7 merges. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 tasks
molecule-ai Bot
pushed a commit
that referenced
this pull request
Apr 21, 2026
…leanup chore(template): simplify per-role plugin lists using #71 union semantics
molecule-ai Bot
pushed a commit
that referenced
this pull request
Apr 21, 2026
- CLAUDE.md: Go test count 731 → 740; migration count 16 → 23; workspace_schedules.source column documented in Database section. - PLAN.md: new "Recently launched (2026-04-14 tick-7)" section for PRs #74/#75/#76 and closed issues #24/#51. - docs/edit-history/2026-04-14.md: per-PR breakdown of tick-7 merges. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#71 just merged — per-workspace
plugins:now UNIONs withdefaults.pluginsinstead of replacing it. Cleanup PR that uses the new semantics in molecule-dev/.Before/after
[molecule-workflow-triage, molecule-workflow-retro][browser-automation][browser-automation][browser-automation][browser-automation][molecule-skill-code-review, molecule-skill-cross-vendor-review, molecule-skill-llm-judge][browser-automation]Every workspace still receives the full 9-plugin default set (verified by reading
mergePlugins()inplatform/internal/handlers/org.go:645).Also
plugins:should UNION withdefaults.plugins, not REPLACE #68" warning comments with a one-line union explainer.Why this matters
Each new plugin landing in
plugins/previously required sweeping every role override that had its ownplugins:to add it. After this cleanup: just bumpdefaults.pluginsand every role inherits automatically.The template is now genuinely easier for any user to fork — they edit one defaults list, all 12 workspaces follow.
Related
plugins:should UNION withdefaults.plugins, not REPLACE #68 (closed) — original drift problem.Test plan
defaults.pluginscount = 9 (unchanged from chore(template): wire 9 new guardrail/skill plugins into defaults; PM + Security Auditor get role extras #70)/configs/plugins/still contains the full set (defaults + role additions)🤖 Generated with Claude Code