Skip to content

chore(template): simplify per-role plugin lists using #71 union semantics - #74

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
chore/template-plugin-union-cleanup
Apr 14, 2026
Merged

chore(template): simplify per-role plugin lists using #71 union semantics#74
HongmingWang-Rabbit merged 1 commit into
mainfrom
chore/template-plugin-union-cleanup

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

#71 just merged — per-workspace plugins: now UNIONs with defaults.plugins instead of replacing it. Cleanup PR that uses the new semantics in molecule-dev/.

Before/after

Role Before (REPLACE) After (UNION add-only)
PM 11 items (re-listed all 9 defaults) 2: [molecule-workflow-triage, molecule-workflow-retro]
Research Lead 10 items 1: [browser-automation]
Market Analyst 10 items 1: [browser-automation]
Technical Researcher 10 items 1: [browser-automation]
Competitive Intelligence 10 items 1: [browser-automation]
Security Auditor 12 items 3: [molecule-skill-code-review, molecule-skill-cross-vendor-review, molecule-skill-llm-judge]
UIUX Designer 10 items 1: [browser-automation]

Every workspace still receives the full 9-plugin default set (verified by reading mergePlugins() in platform/internal/handlers/org.go:645).

Also

Why this matters

Each new plugin landing in plugins/ previously required sweeping every role override that had its own plugins: to add it. After this cleanup: just bump defaults.plugins and 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

Test plan

🤖 Generated with Claude Code

…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
HongmingWang-Rabbit merged commit 2006819 into main Apr 14, 2026
7 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the chore/template-plugin-union-cleanup branch April 14, 2026 21:40
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>
HongmingWang-Rabbit added a commit that referenced this pull request Apr 14, 2026
docs: sync documentation with 2026-04-14 tick-7 merges (#74, #75, #76)
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>
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
docs: sync documentation with 2026-04-14 tick-7 merges (#74, #75, #76)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant