diff --git a/CLAUDE.md b/CLAUDE.md index 70da5948..c0dce572 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -100,6 +100,7 @@ Shared plugins in `plugins/` are auto-loaded by every workspace: - **`molecule-dev`**: Codebase conventions (rules injected into CLAUDE.md) + `review-loop` skill for multi-round QA cycles - **`superpowers`**: `verification-before-completion`, `test-driven-development`, `systematic-debugging`, `writing-plans` - **`ecc`**: General Claude Code guardrails +- **`browser-automation`**: Puppeteer/CDP-based web scraping and live canvas screenshots (opt-in per workspace — wired into Research + UIUX roles in `org-templates/molecule-dev/org.yaml`) ### Scripts ```bash diff --git a/org-templates/molecule-dev/org.yaml b/org-templates/molecule-dev/org.yaml index 74d5d316..51dc39a0 100644 --- a/org-templates/molecule-dev/org.yaml +++ b/org-templates/molecule-dev/org.yaml @@ -7,6 +7,19 @@ defaults: tier: 2 required_env: - CLAUDE_CODE_OAUTH_TOKEN + # Default plugin set applied to every workspace unless the workspace + # specifies its own `plugins:` list (which REPLACES defaults — not a union; + # see platform/internal/handlers/org.go ~L345). So any workspace that + # needs extras must re-list the defaults plus its additions. + # + # - ecc: "Everything Claude Code" guardrails + coding skills + # (api-design, coding-standards, deep-research, security-review, tdd-workflow) + # - molecule-dev: Molecule AI codebase conventions, past bugs, review-loop + # - superpowers: systematic-debugging, TDD, planning, verification-before-completion + plugins: + - ecc + - molecule-dev + - superpowers # workspace_dir: not set by default — each agent gets an isolated Docker volume # Set per-workspace to bind-mount a host directory as /workspace @@ -68,6 +81,10 @@ workspaces: role: Market analysis and technical research files_dir: research-lead canvas: { x: 200, y: 250 } + # Research roles extend defaults with browser-automation so they can + # scrape the live web (product pages, GitHub trending, docs). + # Per-workspace plugins REPLACE defaults, so re-list the full set. + plugins: [ecc, molecule-dev, superpowers, browser-automation] initial_prompt: | You just started as Research Lead. Set up silently — do NOT contact other agents. 1. Clone the repo: git clone https://github.com/${GITHUB_REPO}.git /workspace/repo 2>/dev/null || (cd /workspace/repo && git pull) @@ -80,12 +97,15 @@ workspaces: - name: Market Analyst role: Market sizing, trends, user research files_dir: market-analyst + plugins: [ecc, molecule-dev, superpowers, browser-automation] - name: Technical Researcher role: AI frameworks and protocol evaluation files_dir: technical-researcher + plugins: [ecc, molecule-dev, superpowers, browser-automation] - name: Competitive Intelligence role: Competitor tracking and feature comparison files_dir: competitive-intelligence + plugins: [ecc, molecule-dev, superpowers, browser-automation] - name: Dev Lead role: Engineering planning and team coordination @@ -325,6 +345,10 @@ workspaces: tier: 3 model: opus files_dir: uiux-designer + # Add browser-automation for live canvas screenshots via Puppeteer + # (Chrome CDP path, works around the Playwright / libglib gap tracked in #23). + # Per-workspace plugins REPLACE defaults — re-list the full set. + plugins: [ecc, molecule-dev, superpowers, browser-automation] initial_prompt: | You just started as UIUX Designer. Set up silently — do NOT contact other agents. 1. Clone the repo: git clone https://github.com/${GITHUB_REPO}.git /workspace/repo 2>/dev/null || (cd /workspace/repo && git pull)