chore(template): add Documentation Specialist as 3rd PM direct report - #97
Merged
HongmingWang-Rabbit merged 2 commits intoApr 15, 2026
Merged
Conversation
Adds a 13th workspace to the molecule-dev template owning end-to-end documentation across all Molecule AI surfaces. ## Why now - We just created Molecule-AI/docs (customer-facing site at doc.moleculesai.app, Fumadocs + Next.js 15) and the customer site needs someone to own it. - Internal docs (README.md, docs/architecture.md, docs/edit-history/) were drifting — every platform PR has been opening a docs sync PR manually. - No agent in the team owned terminology consistency or stub backfill. ## Where it sits in the org Third PM direct report, parallel to Research Lead and Dev Lead — docs is its own swim lane that spans engineering (docs follow code) and research/product (concepts and terminology). PM ├── Research Lead ├── Dev Lead └── Documentation Specialist <-- new ## Schedules (2) 1. **Daily docs sync — backfill stubs and pair recent platform PRs** `0 9 * * *` — every morning: - Pair every merged platform PR (last 24h) with a docs PR if needed - Backfill one stub page on the docs site - Crawl the live site for broken links / dead anchors - delegate_task to PM with audit_summary (category=docs) 2. **Weekly terminology + freshness audit** `0 11 * * 1` — every Monday: - Stale page detection (>30 days untouched on fast-moving surfaces) - Terminology consistency check (one canonical name per concept) - Link-rot scan - Same audit_summary contract ## Plugins Inherits the 9 universal defaults. Adds `browser-automation` for crawling the live docs site. `molecule-skill-update-docs` is already in defaults so the cross-repo sync skill is available. ## Routing Adds `docs: [Documentation Specialist]` to `category_routing` so any agent that emits an audit_summary with category=docs is auto-routed here by the platform. ## Bind mounts Note: this workspace clones BOTH /workspace/repo (the platform monorepo) and /workspace/docs (Molecule-AI/docs) in its initial_prompt so the agent can edit either side.
…le-controlplane Per CEO 2026-04-15: the SaaS controlplane (Molecule-AI/molecule-controlplane, PRIVATE Go/Fly.io provisioner) needs documentation coverage too. Updates the agent's role description, initial_prompt, and daily docs-sync cron to handle a third repo with a strict public/private split. ## Privacy rule (the critical addition) molecule-controlplane is private. Two-bucket model: Internal-only changes (handlers, schemas, infra config, billing logic, fly.toml, provisioner internals) → docs go INSIDE the controlplane repo itself (README.md, PLAN.md, docs/internal/*.md). NEVER mentioned in the public docs site. Customer-facing changes (new tier, new region, new SLA, pricing change, signup flow change) → sanitized PUBLIC description on doc.moleculesai.app. Describes the PRODUCT, never the implementation. When unsure: default to internal-only and ask PM before publishing. The privacy rule is repeated three times in the prompt (top of initial_prompt, 1b inside the daily cron, and the role description) so the agent can't miss it. ## Changes - role: extended to mention all three repos + privacy split - initial_prompt: clones controlplane in step 1, reads README+PLAN in step 5, scans recent commits in step 8, lists the four owned surfaces with public/private labels in step 10 - Daily cron: adds step 1b "PAIR RECENT CONTROLPLANE PRS" with the (i)/(ii) internal/customer-facing branching logic - SETUP block: adds controlplane git pull
Contributor
Author
|
Updated 2026-04-15 per CEO directive: Documentation Specialist now watches all THREE repos. Added: Molecule-AI/molecule-controlplane (PRIVATE)The SaaS controlplane (Go/Fly.io tenant provisioner) is now in scope. With a strict public/private split — privacy rule repeated 3× in the prompt:
When unsure → default to internal-only and ask PM before publishing. Changes in this push (commit
|
molecule-ai Bot
pushed a commit
that referenced
this pull request
Apr 21, 2026
…specialist chore(template): add Documentation Specialist as 3rd PM direct report
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
Adds a 13th workspace to the molecule-dev template — Documentation Specialist — owning end-to-end documentation across all Molecule AI surfaces. Pairs with the new Molecule-AI/docs repo (Fumadocs + Next.js 15) that will be deployed to doc.moleculesai.app.
Context
CEO directive 2026-04-15: deploy a document specialist for documenting everything including what's in our repository and in our customer facing page doc.moleculesai.app.
I just shipped:
Framework choice rationale
Where it sits in the org
Third PM direct report, parallel to Research Lead and Dev Lead. Docs is its own swim lane that spans engineering (docs follow code) and research/product (concepts and terminology).
Schedules added (2)
0 9 * * *audit_summary{category=docs}0 11 * * 1Both schedules end with the structured
audit_summaryrouting per #75 (category: docs) so PM fans out via the platform-levelcategory_routing.Routing
Adds
docs: [Documentation Specialist]tocategory_routingin the defaults block. Any agent that emits an audit_summary with category=docs is auto-routed here.Plugins
Inherits the 9 universal defaults (#71 union semantics). Adds
browser-automationfor crawling the live docs site (visual regressions, broken links, dead anchors).molecule-skill-update-docs(already in defaults) handles the cross-repo docs sync skill.molecule-careful-bash,molecule-prompt-watchdog,molecule-audit-trail(defaults) provide guardrails on this agent's git operations.Initial prompt — clones BOTH repos
The agent's initial_prompt clones both:
/workspace/repo— the platform monorepo (read recent commits, identify public surfaces)/workspace/docs— Molecule-AI/docs (write-side, where it opens PRs)This is the first workspace in the template that needs cross-repo access. Tracking as a follow-up: the platform's
workspace_dirfield currently only mounts ONE host directory; we need a way to mount multiple. For now the agent does git clones in the initial_prompt which works but doesn't get bind-mount caching benefits.What this PR does NOT do
org/import(currently failing on a pre-existing PMworkspace_direnv-var issue, orthogonal). I'll sync the new workspace into the running DB manually after merge.Test plan
python -c "import yaml; yaml.safe_load(open(...))").category_routing.docs = [Documentation Specialist].Related
plugins: [browser-automation]add-only form)category_routing+audit_summaryschema this agent consumes🤖 Generated with Claude Code