Skip to content

feat(org-templates): add 7-role marketing team sub-tree - #373

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
feat/marketing-team-scaffold
Apr 16, 2026
Merged

feat(org-templates): add 7-role marketing team sub-tree#373
HongmingWang-Rabbit merged 1 commit into
mainfrom
feat/marketing-team-scaffold

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

Adds a comprehensive marketing team as a peer sub-tree of PM under the CEO. Brings the template from 12 → 19 workspaces (still well under the 135-workspace ceiling after the planned .wslconfig bump to 24 GB).

Roles (all with files_dir + system-prompt.md stub):

Role Tier Model Cadence
Marketing Lead 3 Opus 5-min orchestrator pulse (offset from Dev Lead)
DevRel Engineer 3 Opus idle-loop + hourly sample-coverage audit
Product Marketing Manager 3 Opus idle-loop + hourly competitor diff
Content Marketer 2 Sonnet idle-loop + hourly topic queue refresh
Community Manager 2 Sonnet idle-loop + hourly unanswered sweep
SEO Growth Analyst 2 Sonnet idle-loop + daily Lighthouse audit
Social Media / Brand 2 Sonnet idle-loop + hourly mention monitor

Design decisions:

  • Sub-tree, not flat — Marketing Lead owns the 5-min orchestrator pulse so the six reports stay lightly supervised; avoids making CEO/PM the marketing dispatcher.
  • Idle-loop on every worker — proven pattern from Technical Researcher pilot (feat(workspace): add idle-loop reflection pattern (Hermes/Letta shape, opt-in, ~90 LOC) #205) and wave-2 rollout on Market Analyst + Competitive Intelligence + engineers (feat(template): engineers pick up issues proactively (CEO 2026-04-16 directive) #370). Converts idle cycles into issue-claim / backlog-pull rather than wasted heartbeats.
  • Opus on strategy, Sonnet on volume — DevRel (tutorial quality), PMM (positioning is high-judgment), and Marketing Lead (cross-team coordination) get Opus; content/community/SEO/social get Sonnet because the volume-to-cost ratio matters.
  • category_routing extended — 6 new keys (content, positioning, community, growth, social, devrel) so audit_summary fans out to the right role without hardcoding names in prompts.
  • Canvas layout — marketing cluster placed right of PM/Dev Lead (x=1000-1300, y=50/250/400) to keep the graph readable.

Cross-functional contracts (documented in each role's system-prompt.md):

  • DevRel → Backend/Frontend Engineer for code samples and demo GIFs
  • PMM → Competitive Intelligence for eco-watch deep-dives
  • Content Marketer → SEO Analyst for keyword briefs on every post
  • Community Manager → DevRel for deep technical questions, PM for feature requests, Security Auditor for vulnerability reports

Not in this PR (queued for follow-up):

  • Cross-tree A2A wiring (org.yaml peer reference syntax doesn't exist yet — may need a platform change or just rely on agent-cards + role-name lookups via the /workspaces API)
  • Applying the template to the live DB (requires rebuild + re-provision — will do after merge + after the wsl --shutdown memory bump lands)
  • Marketing-specific plugins (a molecule-social-scheduler wrapping a posting queue might be next; for now workers draft to docs/marketing/social/ and humans post)

Test plan

  • python -c \"import yaml; yaml.safe_load(open('org-templates/molecule-dev/org.yaml', encoding='utf-8'))\" — parses clean, 2 top-level roots, 6 marketing children
  • category_routing has all 6 new keys
  • All 7 system-prompt.md stubs present under their files_dir
  • (post-merge) Rebuild workspace image if needed, run POST /workspaces/<id>/restart with apply_template: true for each new workspace after provisioning
  • (post-merge) Re-inject idle_prompt values since apply_template wipes runtime state

Per CEO directive 2026-04-16 asking for a comprehensive marketing team. PR 1 of 2.

🤖 Generated with Claude Code

Add Marketing Lead + 6 reports as a peer sub-tree of PM under the CEO:
DevRel Engineer, Product Marketing Manager, Content Marketer, Community
Manager, SEO Growth Analyst, Social Media / Brand.

- Marketing Lead: tier-3 Opus CMO-equivalent with a 5-min orchestrator
  pulse (minutes 4/9/14/... offset from Dev Lead's 2/7/12/...) that
  dispatches cross-role work, reviews drafts, and routes cross-team
  asks back to PM.
- DevRel + PMM: tier-3 Opus (technical writing + positioning judgment).
  Each has an idle_prompt for proactive issue-claim plus an hourly
  evolution cron (DevRel = sample-coverage audit, PMM = competitor
  diff against docs/ecosystem-watch.md).
- Content / Community / SEO / Social: tier-2 Sonnet with idle_prompts
  for backlog-pull (matches the #205 idle-loop pattern proven on
  Technical Researcher + Market Analyst + Competitive Intelligence).
  Each has an hourly cron tuned to its surface.
- category_routing gets 6 new keys (content, positioning, community,
  growth, social, devrel) so audit_summary messages fan out correctly.
- Canvas positions lay out the marketing cluster to the right of
  PM/Dev Lead (x=1000-1300, y=50/250/400) so the graph stays readable.

Each role also gets a system-prompt.md under its files_dir with
responsibilities, team interfaces, conventions, and self-review gates
(molecule-skill-llm-judge or molecule-hitl depending on risk).

Per CEO directive 2026-04-16 ("comprehensive marketing team"). This is
PR 1 of 2 — follow-up will add cross-tree A2A conventions and wire
DevRel ↔ Backend Engineer / PMM ↔ Competitive Intelligence delegations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit b2e1631 into main Apr 16, 2026
7 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the feat/marketing-team-scaffold branch April 16, 2026 12:32
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
Add Marketing Lead + 6 reports as a peer sub-tree of PM under the CEO:
DevRel Engineer, Product Marketing Manager, Content Marketer, Community
Manager, SEO Growth Analyst, Social Media / Brand.

- Marketing Lead: tier-3 Opus CMO-equivalent with a 5-min orchestrator
  pulse (minutes 4/9/14/... offset from Dev Lead's 2/7/12/...) that
  dispatches cross-role work, reviews drafts, and routes cross-team
  asks back to PM.
- DevRel + PMM: tier-3 Opus (technical writing + positioning judgment).
  Each has an idle_prompt for proactive issue-claim plus an hourly
  evolution cron (DevRel = sample-coverage audit, PMM = competitor
  diff against docs/ecosystem-watch.md).
- Content / Community / SEO / Social: tier-2 Sonnet with idle_prompts
  for backlog-pull (matches the #205 idle-loop pattern proven on
  Technical Researcher + Market Analyst + Competitive Intelligence).
  Each has an hourly cron tuned to its surface.
- category_routing gets 6 new keys (content, positioning, community,
  growth, social, devrel) so audit_summary messages fan out correctly.
- Canvas positions lay out the marketing cluster to the right of
  PM/Dev Lead (x=1000-1300, y=50/250/400) so the graph stays readable.

Each role also gets a system-prompt.md under its files_dir with
responsibilities, team interfaces, conventions, and self-review gates
(molecule-skill-llm-judge or molecule-hitl depending on risk).

Per CEO directive 2026-04-16 ("comprehensive marketing team"). This is
PR 1 of 2 — follow-up will add cross-tree A2A conventions and wire
DevRel ↔ Backend Engineer / PMM ↔ Competitive Intelligence delegations.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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