@miranda0808/maya-codex 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/bin/maya-codex.js +36 -0
- package/package.json +19 -0
- package/payload/.agents/skills/ab-test-setup/SKILL.md +266 -0
- package/payload/.agents/skills/ab-test-setup/evals/evals.json +105 -0
- package/payload/.agents/skills/ab-test-setup/references/sample-size-guide.md +263 -0
- package/payload/.agents/skills/ab-test-setup/references/test-templates.md +277 -0
- package/payload/.agents/skills/ad-creative/SKILL.md +362 -0
- package/payload/.agents/skills/ad-creative/evals/evals.json +90 -0
- package/payload/.agents/skills/ad-creative/references/generative-tools.md +637 -0
- package/payload/.agents/skills/ad-creative/references/platform-specs.md +213 -0
- package/payload/.agents/skills/ai-seo/SKILL.md +398 -0
- package/payload/.agents/skills/ai-seo/evals/evals.json +90 -0
- package/payload/.agents/skills/ai-seo/references/content-patterns.md +285 -0
- package/payload/.agents/skills/ai-seo/references/platform-ranking-factors.md +152 -0
- package/payload/.agents/skills/analytics-tracking/SKILL.md +309 -0
- package/payload/.agents/skills/analytics-tracking/evals/evals.json +90 -0
- package/payload/.agents/skills/analytics-tracking/references/event-library.md +260 -0
- package/payload/.agents/skills/analytics-tracking/references/ga4-implementation.md +300 -0
- package/payload/.agents/skills/analytics-tracking/references/gtm-implementation.md +390 -0
- package/payload/.agents/skills/churn-prevention/SKILL.md +424 -0
- package/payload/.agents/skills/churn-prevention/evals/evals.json +93 -0
- package/payload/.agents/skills/churn-prevention/references/cancel-flow-patterns.md +316 -0
- package/payload/.agents/skills/churn-prevention/references/dunning-playbook.md +408 -0
- package/payload/.agents/skills/cold-email/SKILL.md +158 -0
- package/payload/.agents/skills/cold-email/evals/evals.json +94 -0
- package/payload/.agents/skills/cold-email/references/benchmarks.md +83 -0
- package/payload/.agents/skills/cold-email/references/follow-up-sequences.md +81 -0
- package/payload/.agents/skills/cold-email/references/frameworks.md +90 -0
- package/payload/.agents/skills/cold-email/references/personalization.md +79 -0
- package/payload/.agents/skills/cold-email/references/subject-lines.md +53 -0
- package/payload/.agents/skills/competitor-alternatives/SKILL.md +256 -0
- package/payload/.agents/skills/competitor-alternatives/evals/evals.json +93 -0
- package/payload/.agents/skills/competitor-alternatives/references/content-architecture.md +271 -0
- package/payload/.agents/skills/competitor-alternatives/references/templates.md +223 -0
- package/payload/.agents/skills/content-strategy/SKILL.md +359 -0
- package/payload/.agents/skills/content-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/copy-editing/SKILL.md +447 -0
- package/payload/.agents/skills/copy-editing/evals/evals.json +89 -0
- package/payload/.agents/skills/copy-editing/references/plain-english-alternatives.md +394 -0
- package/payload/.agents/skills/copywriting/SKILL.md +252 -0
- package/payload/.agents/skills/copywriting/evals/evals.json +111 -0
- package/payload/.agents/skills/copywriting/references/copy-frameworks.md +344 -0
- package/payload/.agents/skills/copywriting/references/natural-transitions.md +272 -0
- package/payload/.agents/skills/email-sequence/SKILL.md +309 -0
- package/payload/.agents/skills/email-sequence/evals/evals.json +93 -0
- package/payload/.agents/skills/email-sequence/references/copy-guidelines.md +113 -0
- package/payload/.agents/skills/email-sequence/references/email-types.md +515 -0
- package/payload/.agents/skills/email-sequence/references/sequence-templates.md +168 -0
- package/payload/.agents/skills/form-cro/SKILL.md +429 -0
- package/payload/.agents/skills/form-cro/evals/evals.json +90 -0
- package/payload/.agents/skills/free-tool-strategy/SKILL.md +178 -0
- package/payload/.agents/skills/free-tool-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/free-tool-strategy/references/tool-types.md +217 -0
- package/payload/.agents/skills/launch-strategy/SKILL.md +353 -0
- package/payload/.agents/skills/launch-strategy/evals/evals.json +91 -0
- package/payload/.agents/skills/marketing-ideas/SKILL.md +167 -0
- package/payload/.agents/skills/marketing-ideas/evals/evals.json +90 -0
- package/payload/.agents/skills/marketing-ideas/references/ideas-by-category.md +366 -0
- package/payload/.agents/skills/marketing-psychology/SKILL.md +455 -0
- package/payload/.agents/skills/marketing-psychology/evals/evals.json +88 -0
- package/payload/.agents/skills/onboarding-cro/SKILL.md +220 -0
- package/payload/.agents/skills/onboarding-cro/evals/evals.json +92 -0
- package/payload/.agents/skills/onboarding-cro/references/experiments.md +258 -0
- package/payload/.agents/skills/page-cro/SKILL.md +182 -0
- package/payload/.agents/skills/page-cro/evals/evals.json +111 -0
- package/payload/.agents/skills/page-cro/references/experiments.md +248 -0
- package/payload/.agents/skills/paid-ads/SKILL.md +315 -0
- package/payload/.agents/skills/paid-ads/evals/evals.json +90 -0
- package/payload/.agents/skills/paid-ads/references/ad-copy-templates.md +207 -0
- package/payload/.agents/skills/paid-ads/references/audience-targeting.md +243 -0
- package/payload/.agents/skills/paid-ads/references/platform-setup-checklists.md +277 -0
- package/payload/.agents/skills/paywall-upgrade-cro/SKILL.md +227 -0
- package/payload/.agents/skills/paywall-upgrade-cro/evals/evals.json +93 -0
- package/payload/.agents/skills/paywall-upgrade-cro/references/experiments.md +164 -0
- package/payload/.agents/skills/popup-cro/SKILL.md +453 -0
- package/payload/.agents/skills/popup-cro/evals/evals.json +94 -0
- package/payload/.agents/skills/pricing-strategy/SKILL.md +231 -0
- package/payload/.agents/skills/pricing-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/pricing-strategy/references/research-methods.md +152 -0
- package/payload/.agents/skills/pricing-strategy/references/tier-structure.md +232 -0
- package/payload/.agents/skills/product-marketing-context/SKILL.md +27 -0
- package/payload/.agents/skills/product-marketing-context/evals/evals.json +40 -0
- package/payload/.agents/skills/programmatic-seo/SKILL.md +238 -0
- package/payload/.agents/skills/programmatic-seo/evals/evals.json +94 -0
- package/payload/.agents/skills/programmatic-seo/references/playbooks.md +308 -0
- package/payload/.agents/skills/referral-program/SKILL.md +255 -0
- package/payload/.agents/skills/referral-program/evals/evals.json +89 -0
- package/payload/.agents/skills/referral-program/references/affiliate-programs.md +164 -0
- package/payload/.agents/skills/referral-program/references/program-examples.md +143 -0
- package/payload/.agents/skills/revops/SKILL.md +343 -0
- package/payload/.agents/skills/revops/evals/evals.json +91 -0
- package/payload/.agents/skills/revops/references/automation-playbooks.md +290 -0
- package/payload/.agents/skills/revops/references/lifecycle-definitions.md +278 -0
- package/payload/.agents/skills/revops/references/routing-rules.md +203 -0
- package/payload/.agents/skills/revops/references/scoring-models.md +247 -0
- package/payload/.agents/skills/sales-enablement/SKILL.md +349 -0
- package/payload/.agents/skills/sales-enablement/evals/evals.json +91 -0
- package/payload/.agents/skills/sales-enablement/references/deck-frameworks.md +263 -0
- package/payload/.agents/skills/sales-enablement/references/demo-scripts.md +355 -0
- package/payload/.agents/skills/sales-enablement/references/objection-library.md +270 -0
- package/payload/.agents/skills/sales-enablement/references/one-pager-templates.md +208 -0
- package/payload/.agents/skills/schema-markup/SKILL.md +179 -0
- package/payload/.agents/skills/schema-markup/evals/evals.json +87 -0
- package/payload/.agents/skills/schema-markup/references/schema-examples.md +398 -0
- package/payload/.agents/skills/seo-audit/SKILL.md +412 -0
- package/payload/.agents/skills/seo-audit/evals/evals.json +136 -0
- package/payload/.agents/skills/seo-audit/references/ai-writing-detection.md +200 -0
- package/payload/.agents/skills/signup-flow-cro/SKILL.md +359 -0
- package/payload/.agents/skills/signup-flow-cro/evals/evals.json +88 -0
- package/payload/.agents/skills/site-architecture/SKILL.md +357 -0
- package/payload/.agents/skills/site-architecture/evals/evals.json +88 -0
- package/payload/.agents/skills/site-architecture/references/mermaid-templates.md +216 -0
- package/payload/.agents/skills/site-architecture/references/navigation-patterns.md +305 -0
- package/payload/.agents/skills/site-architecture/references/site-type-templates.md +293 -0
- package/payload/.agents/skills/social-content/SKILL.md +278 -0
- package/payload/.agents/skills/social-content/evals/evals.json +92 -0
- package/payload/.agents/skills/social-content/references/platforms.md +170 -0
- package/payload/.agents/skills/social-content/references/post-templates.md +177 -0
- package/payload/.agents/skills/social-content/references/reverse-engineering.md +195 -0
- package/payload/.maya/executor.md +79 -0
- package/payload/.maya/meta-api-agent.md +48 -0
- package/payload/.maya/modes/consult.md +63 -0
- package/payload/.maya/modes/task.md +97 -0
- package/payload/.maya/planner.md +69 -0
- package/payload/.maya/researcher.md +51 -0
- package/payload/.maya/templates/plan.md +77 -0
- package/payload/.maya/templates/state.md +87 -0
- package/payload/.maya/templates/task-packet.md +75 -0
- package/payload/MAYA-CATALOG.md +115 -0
- package/payload/MAYA-DEPENDENCIES.md +58 -0
- package/payload/MAYA.md +151 -0
- package/payload/campaigns/README.md +14 -0
- package/payload/commands/maya-consult.md +28 -0
- package/payload/commands/maya-task.md +38 -0
- package/payload/commands/product.md +55 -0
- package/payload/research/README.md +14 -0
- package/payload/templates/README.md +15 -0
- package/payload/templates/plan.md +77 -0
- package/payload/templates/state.md +87 -0
- package/payload/templates/task-packet.md +75 -0
- package/payload/tools/REGISTRY.md +368 -0
- package/payload/tools/clis/README.md +187 -0
- package/payload/tools/clis/activecampaign.js +435 -0
- package/payload/tools/clis/adobe-analytics.js +161 -0
- package/payload/tools/clis/ahrefs.js +192 -0
- package/payload/tools/clis/amplitude.js +182 -0
- package/payload/tools/clis/apollo.js +142 -0
- package/payload/tools/clis/beehiiv.js +245 -0
- package/payload/tools/clis/brevo.js +368 -0
- package/payload/tools/clis/buffer.js +260 -0
- package/payload/tools/clis/calendly.js +253 -0
- package/payload/tools/clis/clearbit.js +163 -0
- package/payload/tools/clis/customer-io.js +205 -0
- package/payload/tools/clis/dataforseo.js +257 -0
- package/payload/tools/clis/demio.js +149 -0
- package/payload/tools/clis/dub.js +158 -0
- package/payload/tools/clis/g2.js +186 -0
- package/payload/tools/clis/ga4.js +194 -0
- package/payload/tools/clis/google-ads.js +189 -0
- package/payload/tools/clis/google-search-console.js +166 -0
- package/payload/tools/clis/hotjar.js +167 -0
- package/payload/tools/clis/hunter.js +249 -0
- package/payload/tools/clis/instantly.js +270 -0
- package/payload/tools/clis/intercom.js +399 -0
- package/payload/tools/clis/keywords-everywhere.js +185 -0
- package/payload/tools/clis/kit.js +232 -0
- package/payload/tools/clis/klaviyo.js +348 -0
- package/payload/tools/clis/lemlist.js +221 -0
- package/payload/tools/clis/linkedin-ads.js +185 -0
- package/payload/tools/clis/livestorm.js +292 -0
- package/payload/tools/clis/mailchimp.js +220 -0
- package/payload/tools/clis/mention-me.js +161 -0
- package/payload/tools/clis/meta-ads.js +181 -0
- package/payload/tools/clis/mixpanel.js +248 -0
- package/payload/tools/clis/onesignal.js +241 -0
- package/payload/tools/clis/optimizely.js +233 -0
- package/payload/tools/clis/paddle.js +385 -0
- package/payload/tools/clis/partnerstack.js +382 -0
- package/payload/tools/clis/plausible.js +249 -0
- package/payload/tools/clis/postmark.js +375 -0
- package/payload/tools/clis/resend.js +370 -0
- package/payload/tools/clis/rewardful.js +160 -0
- package/payload/tools/clis/savvycal.js +223 -0
- package/payload/tools/clis/segment.js +192 -0
- package/payload/tools/clis/semrush.js +207 -0
- package/payload/tools/clis/sendgrid.js +211 -0
- package/payload/tools/clis/snov.js +237 -0
- package/payload/tools/clis/tiktok-ads.js +190 -0
- package/payload/tools/clis/tolt.js +153 -0
- package/payload/tools/clis/trustpilot.js +276 -0
- package/payload/tools/clis/typeform.js +269 -0
- package/payload/tools/clis/wistia.js +256 -0
- package/payload/tools/clis/zapier.js +160 -0
- package/payload/tools/integrations/activecampaign.md +337 -0
- package/payload/tools/integrations/adobe-analytics.md +156 -0
- package/payload/tools/integrations/ahrefs.md +142 -0
- package/payload/tools/integrations/amplitude.md +135 -0
- package/payload/tools/integrations/apollo.md +148 -0
- package/payload/tools/integrations/beehiiv.md +157 -0
- package/payload/tools/integrations/brevo.md +268 -0
- package/payload/tools/integrations/buffer.md +138 -0
- package/payload/tools/integrations/calendly.md +161 -0
- package/payload/tools/integrations/clearbit.md +142 -0
- package/payload/tools/integrations/customer-io.md +187 -0
- package/payload/tools/integrations/dataforseo.md +165 -0
- package/payload/tools/integrations/demio.md +182 -0
- package/payload/tools/integrations/dub-co.md +160 -0
- package/payload/tools/integrations/g2.md +179 -0
- package/payload/tools/integrations/ga4.md +126 -0
- package/payload/tools/integrations/google-ads.md +159 -0
- package/payload/tools/integrations/google-search-console.md +147 -0
- package/payload/tools/integrations/hotjar.md +147 -0
- package/payload/tools/integrations/hubspot.md +178 -0
- package/payload/tools/integrations/hunter.md +90 -0
- package/payload/tools/integrations/instantly.md +104 -0
- package/payload/tools/integrations/intercom.md +292 -0
- package/payload/tools/integrations/keywords-everywhere.md +207 -0
- package/payload/tools/integrations/kit.md +167 -0
- package/payload/tools/integrations/klaviyo.md +228 -0
- package/payload/tools/integrations/lemlist.md +110 -0
- package/payload/tools/integrations/linkedin-ads.md +164 -0
- package/payload/tools/integrations/livestorm.md +313 -0
- package/payload/tools/integrations/mailchimp.md +150 -0
- package/payload/tools/integrations/mention-me.md +160 -0
- package/payload/tools/integrations/meta-ads.md +147 -0
- package/payload/tools/integrations/mixpanel.md +137 -0
- package/payload/tools/integrations/onesignal.md +229 -0
- package/payload/tools/integrations/optimizely.md +171 -0
- package/payload/tools/integrations/paddle.md +212 -0
- package/payload/tools/integrations/partnerstack.md +222 -0
- package/payload/tools/integrations/plausible.md +177 -0
- package/payload/tools/integrations/posthog.md +151 -0
- package/payload/tools/integrations/postmark.md +234 -0
- package/payload/tools/integrations/resend.md +168 -0
- package/payload/tools/integrations/rewardful.md +147 -0
- package/payload/tools/integrations/salesforce.md +150 -0
- package/payload/tools/integrations/savvycal.md +181 -0
- package/payload/tools/integrations/segment.md +159 -0
- package/payload/tools/integrations/semrush.md +121 -0
- package/payload/tools/integrations/sendgrid.md +161 -0
- package/payload/tools/integrations/shopify.md +176 -0
- package/payload/tools/integrations/snov.md +94 -0
- package/payload/tools/integrations/stripe.md +148 -0
- package/payload/tools/integrations/tiktok-ads.md +161 -0
- package/payload/tools/integrations/tolt.md +144 -0
- package/payload/tools/integrations/trustpilot.md +191 -0
- package/payload/tools/integrations/typeform.md +190 -0
- package/payload/tools/integrations/webflow.md +198 -0
- package/payload/tools/integrations/wistia.md +164 -0
- package/payload/tools/integrations/wordpress.md +175 -0
- package/payload/tools/integrations/zapier.md +150 -0
- package/payload/tools/meta/README.md +55 -0
- package/payload/tools/meta/meta-cache-schema.md +65 -0
- package/payload/tools/meta/meta-fetch.ps1 +324 -0
- package/payload/tools/meta/meta-fetch.test.ps1 +38 -0
- package/vendor/shared-installer/manifests/claude-files.json +13 -0
- package/vendor/shared-installer/manifests/codex-files.json +13 -0
- package/vendor/shared-installer/manifests/common-files.json +13 -0
- package/vendor/shared-installer/package.json +15 -0
- package/vendor/shared-installer/src/bootstrap.js +12 -0
- package/vendor/shared-installer/src/cli-options.js +53 -0
- package/vendor/shared-installer/src/fs.js +105 -0
- package/vendor/shared-installer/src/index.js +44 -0
- package/vendor/shared-installer/src/install.js +157 -0
- package/vendor/shared-installer/src/manifest.js +52 -0
- package/vendor/shared-installer/templates/claude/.claude/skills/.gitkeep +1 -0
- package/vendor/shared-installer/templates/claude/CLAUDE.md +27 -0
- package/vendor/shared-installer/templates/codex/.agent/skills/.gitkeep +1 -0
- package/vendor/shared-installer/templates/codex/AGENTS.md +27 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# maya-planner
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
|
|
5
|
+
`maya-planner` converts an explicit Maya task goal into phased work with assigned specialists and explicit dependencies.
|
|
6
|
+
|
|
7
|
+
## Responsibilities
|
|
8
|
+
|
|
9
|
+
- validate whether task mode can proceed before planning begins
|
|
10
|
+
- block on missing `PRODUCT.md` and direct Justin to `/product`
|
|
11
|
+
- ask for the smallest missing detail when the request is too vague for safe planning
|
|
12
|
+
- normalize the request into a campaign or workstream id
|
|
13
|
+
- break the work into phases and tasks
|
|
14
|
+
- select candidate specialists and orchestrators
|
|
15
|
+
- identify dependency order and handoff artifacts
|
|
16
|
+
- propose alternate context-specific chains when the canonical dependency examples do not fit the task
|
|
17
|
+
- keep planning separate from execution
|
|
18
|
+
- accept the chosen mode from the command layer instead of deciding it
|
|
19
|
+
- create or update an approval-ready draft plan for Justin
|
|
20
|
+
|
|
21
|
+
## Reads
|
|
22
|
+
|
|
23
|
+
- `MAYA.md`
|
|
24
|
+
- `MAYA-CATALOG.md`
|
|
25
|
+
- `MAYA-DEPENDENCIES.md` as the canonical baseline, while adapting chains to task context when needed
|
|
26
|
+
- full `PRODUCT.md` when available and needed to prepare an approved chain
|
|
27
|
+
- `.maya/templates/plan.md`
|
|
28
|
+
- relevant prior `campaigns/<campaign-id>/STATE.md`, `campaigns/<campaign-id>/task-packets/<task-id>.md`, `research/<campaign-id>/...`, or outputs
|
|
29
|
+
|
|
30
|
+
## May Invoke
|
|
31
|
+
|
|
32
|
+
- no downstream specialist execution directly
|
|
33
|
+
- may request inputs from `maya-researcher` if the approved process allows a research-first plan
|
|
34
|
+
- may create or update draft `campaigns/<campaign-id>/PLAN.md` for `maya-executor`
|
|
35
|
+
|
|
36
|
+
## Mode Boundary
|
|
37
|
+
|
|
38
|
+
- command entry owns mode selection before the planner runs
|
|
39
|
+
- the planner may describe how work changes between consult and task, but it does not choose the mode
|
|
40
|
+
|
|
41
|
+
## Response Marker
|
|
42
|
+
|
|
43
|
+
- every major planner response and approval summary should begin with `Mode: task`
|
|
44
|
+
|
|
45
|
+
## Approval Requirements
|
|
46
|
+
|
|
47
|
+
- must create or update a draft plan with status `awaiting approval`
|
|
48
|
+
- must show Justin the proposed specialist chain before any execution begins
|
|
49
|
+
- must include dependencies, handoff order, expected outputs, and warnings in the approval summary
|
|
50
|
+
- must make it clear when a proposed chain extends or differs from the canonical dependency examples
|
|
51
|
+
- must carry forward any explicit direct `PRODUCT.md` read approvals that downstream packets will need
|
|
52
|
+
- must stop after planning until approval is granted
|
|
53
|
+
|
|
54
|
+
## Output Contract
|
|
55
|
+
|
|
56
|
+
Planner outputs should define:
|
|
57
|
+
- campaign id
|
|
58
|
+
- objective
|
|
59
|
+
- mode
|
|
60
|
+
- scope
|
|
61
|
+
- phases and tasks
|
|
62
|
+
- assigned roles
|
|
63
|
+
- dependency order
|
|
64
|
+
- expected outputs
|
|
65
|
+
- approval status
|
|
66
|
+
- warnings for broad chains or context-specific deviations
|
|
67
|
+
- any explicit direct `PRODUCT.md` read approvals that must be carried into downstream packets
|
|
68
|
+
- campaign-local artifact paths, with the draft plan stored at `campaigns/<campaign-id>/PLAN.md`
|
|
69
|
+
- approval summaries derived from the plan should begin with `Mode: task`
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# maya-researcher
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
|
|
5
|
+
`maya-researcher` gathers the audience, competitor, offer, platform, and market context that downstream specialists need.
|
|
6
|
+
|
|
7
|
+
## Responsibilities
|
|
8
|
+
|
|
9
|
+
- collect relevant research inputs for the requested task
|
|
10
|
+
- summarize findings into reusable, structured briefs
|
|
11
|
+
- surface evidence, risks, gaps, and open questions
|
|
12
|
+
- prepare downstream-ready handoff artifacts for copy, ads, or strategy specialists
|
|
13
|
+
- write structured research handoffs to exact artifact paths such as `research/<campaign-id>/<task-id>-<topic>.md` when task mode depends on the output
|
|
14
|
+
- support the already-selected mode instead of deciding whether Justin should be in consult or task
|
|
15
|
+
|
|
16
|
+
## Reads
|
|
17
|
+
|
|
18
|
+
- `MAYA.md`
|
|
19
|
+
- `MAYA-CATALOG.md`
|
|
20
|
+
- `MAYA-DEPENDENCIES.md`
|
|
21
|
+
- full `PRODUCT.md` when available and needed to prepare approved research or packet inputs
|
|
22
|
+
- selected research inputs, prior outputs, approved task packets, and safe tool outputs
|
|
23
|
+
|
|
24
|
+
## May Invoke
|
|
25
|
+
|
|
26
|
+
- repo-local reference docs and approved local tools
|
|
27
|
+
- `meta-api-agent` only when the approved chain requires Meta-backed context
|
|
28
|
+
- no direct downstream chaining on its own authority
|
|
29
|
+
|
|
30
|
+
## Approval Requirements
|
|
31
|
+
|
|
32
|
+
- research may support consult mode advice without starting execution
|
|
33
|
+
- in task mode, downstream execution still requires the approved chain
|
|
34
|
+
- must hand off structured findings instead of vague notes when another specialist depends on the result
|
|
35
|
+
|
|
36
|
+
## Response Marker
|
|
37
|
+
|
|
38
|
+
- every major researcher response should begin with `Mode: consult` or `Mode: task`, matching the already-selected upstream mode
|
|
39
|
+
- research handoff summaries should restate the active mode instead of implying a mode switch
|
|
40
|
+
|
|
41
|
+
## Output Contract
|
|
42
|
+
|
|
43
|
+
Research outputs may include:
|
|
44
|
+
- audience briefs
|
|
45
|
+
- competitor summaries
|
|
46
|
+
- platform notes
|
|
47
|
+
- offer and messaging evidence
|
|
48
|
+
- structured downstream inputs for copywriting, paid ads, or planning
|
|
49
|
+
- structured research handoffs that downstream packets can consume by named artifact path instead of broad rediscovery
|
|
50
|
+
- any Justin-facing research summary should begin with the active mode marker
|
|
51
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# PLAN.md Template
|
|
2
|
+
|
|
3
|
+
## Campaign
|
|
4
|
+
|
|
5
|
+
- Campaign ID: `<campaign-id>`
|
|
6
|
+
- Objective: `<objective>`
|
|
7
|
+
- Requestor: `Justin`
|
|
8
|
+
- Mode: `task`
|
|
9
|
+
- Scope: `<scope>`
|
|
10
|
+
- Plan path: `campaigns/<campaign-id>/PLAN.md`
|
|
11
|
+
|
|
12
|
+
## Approval Status
|
|
13
|
+
|
|
14
|
+
- Status: `<draft|awaiting approval|approved|paused|complete>`
|
|
15
|
+
- Approved by Justin: `<yes-no>`
|
|
16
|
+
- Approval date: `<yyyy-mm-dd or n/a>`
|
|
17
|
+
- Approval summary shared with Justin: `<summary>`
|
|
18
|
+
- Approval summary mode marker: `Mode: task`
|
|
19
|
+
|
|
20
|
+
## Warnings And Deviations
|
|
21
|
+
|
|
22
|
+
- Broad chain warning: `<none or warning>`
|
|
23
|
+
- Context-specific dependency deviation: `<none or explanation>`
|
|
24
|
+
- Missing-detail blocker resolved: `<yes-no or note>`
|
|
25
|
+
|
|
26
|
+
## Phases
|
|
27
|
+
|
|
28
|
+
### Phase 1: `<phase-name>`
|
|
29
|
+
- Goal: `<goal>`
|
|
30
|
+
- Exit criteria: `<exit-criteria>`
|
|
31
|
+
|
|
32
|
+
### Phase 2: `<phase-name>`
|
|
33
|
+
- Goal: `<goal>`
|
|
34
|
+
- Exit criteria: `<exit-criteria>`
|
|
35
|
+
|
|
36
|
+
## Tasks
|
|
37
|
+
|
|
38
|
+
| Task ID | Phase | Task | Assigned Role | Dependency Type | Required Handoff Artifact | Expected Output | Expected Output Path | Status |
|
|
39
|
+
|---|---|---|---|---|---|---|---|---|
|
|
40
|
+
| `<task-id>` | `<phase-name>` | `<task>` | `<role>` | `<required-recommended-conditional>` | `<artifact>` | `<output>` | `<campaigns/<campaign-id>/deliverables/<task-id>/... or research/<campaign-id>/<task-id>-<topic>.md>` | `<status>` |
|
|
41
|
+
|
|
42
|
+
## Dependency Order
|
|
43
|
+
|
|
44
|
+
| Step | Upstream Role | Downstream Role | Trigger Condition | Handoff Artifact | Downstream Input Expectation |
|
|
45
|
+
|---|---|---|---|---|---|
|
|
46
|
+
| `<step>` | `<role>` | `<role>` | `<trigger>` | `<artifact>` | `<expectation>` |
|
|
47
|
+
|
|
48
|
+
## Expected Outputs
|
|
49
|
+
|
|
50
|
+
- `<output-artifact-path-or-description>`
|
|
51
|
+
- `<output-artifact-path-or-description>`
|
|
52
|
+
|
|
53
|
+
## Packet-First Context Rules
|
|
54
|
+
|
|
55
|
+
- Specialists work from approved `TASK-PACKET.md` inputs first.
|
|
56
|
+
- Direct specialist reads of `PRODUCT.md` require explicit approval and must be carried into downstream packets.
|
|
57
|
+
- Note any step that may read `PRODUCT.md` directly only after explicit approval is recorded below.
|
|
58
|
+
|
|
59
|
+
## Direct PRODUCT.md Read Approvals
|
|
60
|
+
|
|
61
|
+
| Task ID | Role | Direct Read Approved | Approved Sections Or File Scope | Reason |
|
|
62
|
+
|---|---|---|---|---|
|
|
63
|
+
| `<task-id>` | `<role>` | `<yes-no>` | `<sections-or-file-scope>` | `<reason>` |
|
|
64
|
+
|
|
65
|
+
## Advancement And Reapproval Notes
|
|
66
|
+
|
|
67
|
+
- The executor must verify packet done criteria before it can mark the task complete.
|
|
68
|
+
- The executor may create the next approved packet only after the current packet is verified and the downstream dependency is ready.
|
|
69
|
+
- If verification fails, the executor stops and records the blocker instead of advancing.
|
|
70
|
+
- Return to Justin when scope drift appears, when a new specialist or API-backed step is needed, or when a broader direct `PRODUCT.md` read would change the approved chain.
|
|
71
|
+
|
|
72
|
+
## Notes
|
|
73
|
+
|
|
74
|
+
- Use this template for approval-ready Maya plans.
|
|
75
|
+
- In task mode, execution cannot begin until the proposed chain above is approved by Justin.
|
|
76
|
+
- If the plan depends on Meta data, reference sanitized artifacts only and keep cache metadata aligned with `tools/meta/meta-cache-schema.md`.
|
|
77
|
+
- Any approval summary derived from this plan should begin with `Mode: task`.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# STATE.md Template
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
- Campaign or Task ID: `<campaign-id>`
|
|
6
|
+
- Name: `<name>`
|
|
7
|
+
- Mode: `task`
|
|
8
|
+
- Current Phase: `<phase>`
|
|
9
|
+
- Owner: `maya-executor`
|
|
10
|
+
|
|
11
|
+
## Artifact Paths
|
|
12
|
+
|
|
13
|
+
- Plan: `campaigns/<campaign-id>/PLAN.md`
|
|
14
|
+
- State: `campaigns/<campaign-id>/STATE.md`
|
|
15
|
+
- Task packets: `campaigns/<campaign-id>/task-packets/<task-id>.md`
|
|
16
|
+
- Deliverables: `<path-or-list>`
|
|
17
|
+
- Research: `<path-or-list>`
|
|
18
|
+
|
|
19
|
+
## Approval Snapshot
|
|
20
|
+
|
|
21
|
+
- Latest approved chain: `<ordered roles>`
|
|
22
|
+
- Approval status: `<approved|awaiting approval|paused>`
|
|
23
|
+
- Approval reference: `<link-or-note>`
|
|
24
|
+
- First pending task: `<task-id or none>`
|
|
25
|
+
- Next approved pending task: `<task-id or none>`
|
|
26
|
+
- Next action: `<next-step owned by executor or approved specialist>`
|
|
27
|
+
|
|
28
|
+
## Handoff Verification
|
|
29
|
+
|
|
30
|
+
- Current handoff artifact: `<artifact>`
|
|
31
|
+
- Handoff verification status: `<pending|verified|blocked>`
|
|
32
|
+
- Stop reason: `<none or missing artifact / missing approval / unsafe boundary use / unmet done criteria>`
|
|
33
|
+
|
|
34
|
+
## Active Packet
|
|
35
|
+
|
|
36
|
+
- Current packet ID: `<task-id or none>`
|
|
37
|
+
- Packet status: `<pending|running|awaiting verification|complete|blocked>`
|
|
38
|
+
- Latest output artifact: `<path or none>`
|
|
39
|
+
- Output verification result: `<pending|passed|failed|not-run>`
|
|
40
|
+
- Downstream readiness: `<ready|not-ready|blocked>`
|
|
41
|
+
- Resume point: `<next file, packet, or executor action>`
|
|
42
|
+
- Completion timestamp: `<iso-8601 timestamp or none>`
|
|
43
|
+
|
|
44
|
+
## Completed Tasks
|
|
45
|
+
|
|
46
|
+
- `<task-id>: <completed-task>`
|
|
47
|
+
|
|
48
|
+
## In-Progress Tasks
|
|
49
|
+
|
|
50
|
+
- `<task-id>: <active-task>`
|
|
51
|
+
|
|
52
|
+
## Packet-First Context Rules
|
|
53
|
+
|
|
54
|
+
- Specialists work from approved `TASK-PACKET.md` inputs first.
|
|
55
|
+
- Direct specialist reads of `PRODUCT.md` must be explicitly approved in the packet.
|
|
56
|
+
|
|
57
|
+
## Decisions
|
|
58
|
+
|
|
59
|
+
- `<decision>`
|
|
60
|
+
|
|
61
|
+
## Blockers
|
|
62
|
+
|
|
63
|
+
- `<blocker or none>`
|
|
64
|
+
|
|
65
|
+
## Meta Cache Context
|
|
66
|
+
|
|
67
|
+
Record this section only when the active work depends on Meta-backed artifacts.
|
|
68
|
+
|
|
69
|
+
| Field | Value |
|
|
70
|
+
|---|---|
|
|
71
|
+
| Cache artifact path | `<path>` |
|
|
72
|
+
| Cache status | `<hit-miss-bypass>` |
|
|
73
|
+
| As of | `<iso-8601 timestamp>` |
|
|
74
|
+
| Expires at | `<iso-8601 timestamp or null>` |
|
|
75
|
+
| Coverage type | `<complete_snapshot-complete_day-intraday>` |
|
|
76
|
+
| Is complete | `<true-false>` |
|
|
77
|
+
|
|
78
|
+
Use the field names and meanings from `tools/meta/meta-cache-schema.md` instead of inventing a second cache contract.
|
|
79
|
+
|
|
80
|
+
## Execution Log
|
|
81
|
+
|
|
82
|
+
- `<timestamp> - approved chain recorded>`
|
|
83
|
+
- `<timestamp> - first packet created or stop reason recorded>`
|
|
84
|
+
|
|
85
|
+
## Justin-Facing Summary Rule
|
|
86
|
+
|
|
87
|
+
- Any resume, blocker, or completion summary derived from this state file should begin with `Mode: task`.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# TASK-PACKET.md Template
|
|
2
|
+
|
|
3
|
+
## Task Identity
|
|
4
|
+
|
|
5
|
+
- Task ID: `<task-id>`
|
|
6
|
+
- Mode: `task`
|
|
7
|
+
- Campaign Reference: `<campaign-id>`
|
|
8
|
+
- Packet path: `campaigns/<campaign-id>/task-packets/<task-id>.md`
|
|
9
|
+
- Packet status: `<pending|running|awaiting verification|complete|blocked>`
|
|
10
|
+
- Specialist: `<assigned-role>`
|
|
11
|
+
- Handoff Source: `<upstream-role-or-artifact>`
|
|
12
|
+
|
|
13
|
+
## Exact Objective
|
|
14
|
+
|
|
15
|
+
- `<single concrete objective for this specialist>`
|
|
16
|
+
|
|
17
|
+
## Required Inputs
|
|
18
|
+
|
|
19
|
+
- `<input artifact or structured brief>`
|
|
20
|
+
- `<input artifact or structured brief>`
|
|
21
|
+
|
|
22
|
+
## Required Files To Read
|
|
23
|
+
|
|
24
|
+
- `<path>`
|
|
25
|
+
- `<path>`
|
|
26
|
+
- `Include PRODUCT.md only when direct specialist reads are explicitly approved.`
|
|
27
|
+
|
|
28
|
+
## Relevant Brand Sections
|
|
29
|
+
|
|
30
|
+
- `<PRODUCT.md section name, extracted packet summary, or note that the work is not brand-calibrated>`
|
|
31
|
+
|
|
32
|
+
## Dependency And Approval Notes
|
|
33
|
+
|
|
34
|
+
- Approved chain position: `<step x of y>`
|
|
35
|
+
- Required handoff artifact present: `<yes-no>`
|
|
36
|
+
- Handoff verification status: `<pending|verified|blocked>`
|
|
37
|
+
- Approval reference: `<link-or-note>`
|
|
38
|
+
- Direct PRODUCT.md read approved: `<yes-no>`
|
|
39
|
+
- Stop conditions: `<missing approval, missing artifact, unsafe boundary use, or unmet done criteria>`
|
|
40
|
+
- Packet kickoff or handoff summary mode marker: `Mode: task`
|
|
41
|
+
|
|
42
|
+
## Output Contract
|
|
43
|
+
|
|
44
|
+
- Primary output: `<artifact>`
|
|
45
|
+
- Expected output path: `<campaigns/<campaign-id>/deliverables/<task-id>/... or research/<campaign-id>/...>`
|
|
46
|
+
- Required format: `<format>`
|
|
47
|
+
- Required sections: `<sections>`
|
|
48
|
+
- Downstream consumer: `<role or none>`
|
|
49
|
+
- Downstream handoff target: `<task-id or none>`
|
|
50
|
+
|
|
51
|
+
## Done Criteria
|
|
52
|
+
|
|
53
|
+
- `<criterion>`
|
|
54
|
+
- `<criterion>`
|
|
55
|
+
|
|
56
|
+
## Verification checklist
|
|
57
|
+
|
|
58
|
+
- `<check required file exists at the expected output path>`
|
|
59
|
+
- `<check done criteria are met before advancing>`
|
|
60
|
+
- `<check downstream handoff artifact is usable or block>`
|
|
61
|
+
|
|
62
|
+
## Reapproval trigger
|
|
63
|
+
|
|
64
|
+
- Return to Justin for approval when this packet changes scope, dependencies, required context, or the approved specialist chain.
|
|
65
|
+
- Any Justin-facing kickoff or handoff summary derived from this packet should begin with `Mode: task`.
|
|
66
|
+
|
|
67
|
+
## Meta Cache Note
|
|
68
|
+
|
|
69
|
+
Only include this section when the task consumes Meta-backed data.
|
|
70
|
+
|
|
71
|
+
- Source wrapper: `tools/meta/meta-fetch.ps1`
|
|
72
|
+
- Sanitized cache artifact: `<path>`
|
|
73
|
+
- Cache metadata to preserve: `cache_status`, `as_of`, `expires_at`, `coverage_type`, `is_complete`
|
|
74
|
+
- Reference contract: `tools/meta/meta-cache-schema.md`
|
|
75
|
+
- Security rule: never copy secrets, raw headers, or tokens into the packet, state, logs, or downstream prompts
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Maya Catalog
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This catalog defines the repo-local Maya roles that can participate in consult and task workflows.
|
|
6
|
+
|
|
7
|
+
Role rules:
|
|
8
|
+
- orchestrators decide
|
|
9
|
+
- specialists produce
|
|
10
|
+
- specialists never self-chain
|
|
11
|
+
- the executor owns baton passing between approved steps
|
|
12
|
+
- task-mode specialists work from approved `TASK-PACKET.md` inputs first and only read `PRODUCT.md` directly when the packet explicitly allows it
|
|
13
|
+
- the command layer owns entry and mode selection; orchestrators and specialists work only after a mode is chosen
|
|
14
|
+
- repo-local tools under `tools/` are available as building blocks, but they do not authorize automatic execution
|
|
15
|
+
|
|
16
|
+
## Orchestrators
|
|
17
|
+
|
|
18
|
+
### `maya-planner`
|
|
19
|
+
- Purpose: turns a marketing goal into phased work with assigned specialists and explicit dependencies.
|
|
20
|
+
- Use when: Justin asks Maya to plan or scope a multi-step task-mode workflow.
|
|
21
|
+
- Do not use when: the request is still pure consult advice, already has an approved execution chain, or command entry still needs to resolve consult versus task.
|
|
22
|
+
- Expected outputs: `campaigns/<campaign-id>/PLAN.md`, a proposed specialist chain, a dependency list, and an approval-ready execution summary derived from that campaign-local plan artifact.
|
|
23
|
+
- Approval notes: must stop for Justin's approval before handing work to `maya-executor`.
|
|
24
|
+
|
|
25
|
+
### `maya-executor`
|
|
26
|
+
- Purpose: converts approved plans into task packets, enforces approved order, and updates state.
|
|
27
|
+
- Use when: a task-mode chain has already been proposed and approved.
|
|
28
|
+
- Do not use when: the plan is still being formed, approval has not been granted, or task mode has not already been selected by the command layer.
|
|
29
|
+
- Expected outputs: `campaigns/<campaign-id>/STATE.md`, `campaigns/<campaign-id>/task-packets/<task-id>.md`, handoff verification, exact artifact paths for `campaigns/<campaign-id>/deliverables/<task-id>/...`, and a completed deliverable trail linked from campaign-local artifacts.
|
|
30
|
+
- Approval notes: may only run the approved chain and must stop on missing artifacts or missing approval.
|
|
31
|
+
|
|
32
|
+
### `maya-researcher`
|
|
33
|
+
- Purpose: gathers audience, competitor, channel, and market inputs that downstream specialists need.
|
|
34
|
+
- Use when: messaging, ads, or strategy work needs grounded research before production.
|
|
35
|
+
- Do not use when: the task is already fully specified, generic consult advice is enough, or someone is trying to use research to decide the mode instead of the command layer.
|
|
36
|
+
- Expected outputs: research briefs, evidence summaries, and structured research handoffs stored at exact artifact paths such as `research/<campaign-id>/<task-id>-<topic>.md` when task-mode execution needs them.
|
|
37
|
+
- Approval notes: in task mode, downstream execution still requires the approved chain.
|
|
38
|
+
|
|
39
|
+
### `meta-api-agent`
|
|
40
|
+
- Purpose: acts as the secure boundary for Meta Ads reads, cache reuse, and sanitized outputs.
|
|
41
|
+
- Use when: Maya needs Meta campaigns, ad sets, ads, or insights through the approved wrapper.
|
|
42
|
+
- Do not use when: generic ads advice is enough, task mode has not been entered, or another role tries to access raw Meta credentials directly.
|
|
43
|
+
- Expected outputs: sanitized cache-backed Meta artifacts, safe summaries, and read-only task inputs that may be referenced from campaign-local plan, state, or task-packet artifacts without bypassing the wrapper boundary.
|
|
44
|
+
- Approval notes: must use `tools/meta/meta-fetch.ps1` and never bypass the Maya security boundary.
|
|
45
|
+
|
|
46
|
+
### `maya-librarian` (deferred)
|
|
47
|
+
- Purpose: future maintenance role for catalog curation and reusable asset indexing.
|
|
48
|
+
- Use when: catalog scale and maintenance burden justify a dedicated role.
|
|
49
|
+
- Do not use when: current v1 catalog docs are still manageable by the planner and executor.
|
|
50
|
+
- Expected outputs: catalog hygiene updates and reusable asset indexes.
|
|
51
|
+
- Approval notes: deferred from v1.
|
|
52
|
+
|
|
53
|
+
## Specialists
|
|
54
|
+
|
|
55
|
+
### Strategy And Research
|
|
56
|
+
|
|
57
|
+
| Specialist | Primary Use Case | Common Confusion / When Not To Use It | Expected Output |
|
|
58
|
+
|---|---|---|---|
|
|
59
|
+
| `marketing-ideas` | Brainstorm broad growth or channel ideas for the product. | Not for deep execution in a single channel. | Prioritized marketing idea list or experiment set. |
|
|
60
|
+
| `content-strategy` | Plan content pillars, topics, and editorial direction. | Not for writing a finished article or landing page. | Content roadmap, topic clusters, editorial plan. |
|
|
61
|
+
| `launch-strategy` | Plan a launch, announcement, or go-to-market motion. | Not for evergreen lifecycle programs. | Launch plan, channel matrix, launch checklist. |
|
|
62
|
+
| `marketing-psychology` | Apply persuasion and behavioral framing to marketing decisions. | Not a replacement for channel-specific execution. | Messaging angles, persuasion notes, decision principles. |
|
|
63
|
+
| `free-tool-strategy` | Evaluate or design a free tool as a growth motion. | Not for general product roadmap work. | Tool concept brief, growth rationale, success criteria. |
|
|
64
|
+
|
|
65
|
+
### Content, Messaging, And Creative
|
|
66
|
+
|
|
67
|
+
| Specialist | Primary Use Case | Common Confusion / When Not To Use It | Expected Output |
|
|
68
|
+
|---|---|---|---|
|
|
69
|
+
| `copywriting` | Write new marketing copy for pages and campaigns. | Not for editing existing copy only. | Draft page copy, messaging blocks, headlines, CTAs. |
|
|
70
|
+
| `copy-editing` | Improve existing copy without rewriting from scratch. | Not for blank-page drafting. | Edited copy with clarity and persuasion improvements. |
|
|
71
|
+
| `ad-creative` | Generate ad variations and creative concepts at scale. | Not for audience, bidding, or platform strategy. | Ad headlines, bodies, creative variations, test sets. |
|
|
72
|
+
| `social-content` | Create or adapt content for social platforms. | Not for full content strategy. | Social post sets, platform-specific drafts, repurposing plans. |
|
|
73
|
+
| `email-sequence` | Build lifecycle or automated email flows. | Not for cold outbound prospecting. | Multi-email sequence with triggers and goals. |
|
|
74
|
+
| `cold-email` | Write outbound sales or prospecting email sequences. | Not for lifecycle or onboarding email programs. | Cold email sequence with follow-ups and CTAs. |
|
|
75
|
+
| `sales-enablement` | Produce sales-facing collateral and talk tracks. | Not for public website copy as the primary deliverable. | One-pagers, decks, objection handling, demo scripts. |
|
|
76
|
+
|
|
77
|
+
### Paid, Conversion, And Lifecycle Optimization
|
|
78
|
+
|
|
79
|
+
| Specialist | Primary Use Case | Common Confusion / When Not To Use It | Expected Output |
|
|
80
|
+
|---|---|---|---|
|
|
81
|
+
| `paid-ads` | Plan and optimize paid media strategy across ad platforms. | Not for bulk creative generation alone. | Campaign strategy, audience plan, bidding or budget guidance. |
|
|
82
|
+
| `analytics-tracking` | Define or audit marketing measurement and event tracking. | Not for general strategy absent measurement questions. | Tracking plan, event map, attribution or instrumentation guidance. |
|
|
83
|
+
| `ab-test-setup` | Design experiments and A/B tests. | Not for implementing analytics instrumentation from scratch. | Experiment brief, hypothesis, variants, success metric plan. |
|
|
84
|
+
| `page-cro` | Improve conversion on pages such as home, landing, or pricing pages. | Not for registration flow specifics. | CRO findings, page recommendations, revised page sections. |
|
|
85
|
+
| `signup-flow-cro` | Improve registration and signup conversion flows. | Not for post-signup activation work. | Signup flow changes, friction analysis, conversion recommendations. |
|
|
86
|
+
| `onboarding-cro` | Improve activation and first-run user experience. | Not for pre-signup page optimization. | Activation flow recommendations, onboarding sequence improvements. |
|
|
87
|
+
| `popup-cro` | Optimize popups, overlays, banners, and modal conversions. | Not for general full-page CRO. | Popup strategy, trigger logic, copy recommendations. |
|
|
88
|
+
| `form-cro` | Improve non-signup forms such as demo or contact forms. | Not for account creation forms. | Form recommendations, friction analysis, field strategy. |
|
|
89
|
+
| `paywall-upgrade-cro` | Optimize in-product upgrade moments and paywalls. | Not for public pricing strategy alone. | Upgrade screen recommendations, messaging, test ideas. |
|
|
90
|
+
| `churn-prevention` | Reduce churn through save flows, dunning, or offboarding. | Not for new-user onboarding. | Retention strategy, cancel flow ideas, save offer plan. |
|
|
91
|
+
| `pricing-strategy` | Shape plans, packaging, and monetization decisions. | Not for writing the in-app upgrade UI itself. | Pricing model options, package recommendations, pricing rationale. |
|
|
92
|
+
| `referral-program` | Design or improve referral and affiliate motions. | Not for broader partner operations without a referral angle. | Referral structure, incentive model, rollout plan. |
|
|
93
|
+
| `revops` | Improve revenue operations and handoff systems. | Not for pure copy or channel strategy tasks. | Lead lifecycle rules, routing logic, process improvements. |
|
|
94
|
+
|
|
95
|
+
### SEO, Site Structure, And Discoverability
|
|
96
|
+
|
|
97
|
+
| Specialist | Primary Use Case | Common Confusion / When Not To Use It | Expected Output |
|
|
98
|
+
|---|---|---|---|
|
|
99
|
+
| `seo-audit` | Diagnose ranking, indexation, and technical SEO issues. | Not for building a large-scale content program from scratch. | SEO audit findings, technical fixes, prioritization. |
|
|
100
|
+
| `ai-seo` | Improve visibility in AI search and answer engines. | Not for standard technical SEO alone. | AI visibility recommendations, citation-oriented content guidance. |
|
|
101
|
+
| `programmatic-seo` | Plan template-driven SEO pages at scale. | Not for one-off landing page copy. | Template strategy, data model, page pattern plan. |
|
|
102
|
+
| `schema-markup` | Add or improve structured data markup. | Not for broader SEO diagnosis when schema is only one part. | Schema recommendations, JSON-LD outline, implementation notes. |
|
|
103
|
+
| `site-architecture` | Plan page hierarchy, navigation, and internal linking. | Not for XML sitemap or crawl-error debugging alone. | Site map, hierarchy proposal, internal linking guidance. |
|
|
104
|
+
| `competitor-alternatives` | Create alternative pages and competitor comparison content. | Not for internal-only battle cards when public content is not needed. | Comparison page briefs, alternative page structure, positioning guidance. |
|
|
105
|
+
|
|
106
|
+
## Local Tool Library Note
|
|
107
|
+
|
|
108
|
+
Maya may reference the imported local tool library under `tools/`, including the CSI registry, integration guides, and vendored CLIs.
|
|
109
|
+
|
|
110
|
+
Tool usage guardrails:
|
|
111
|
+
- local tools do not bypass Maya approval rules
|
|
112
|
+
- raw tool output should be sanitized before downstream use
|
|
113
|
+
- secrets stay in local environment or approved wrappers only
|
|
114
|
+
- the Meta integration boundary remains `tools/meta/meta-fetch.ps1`
|
|
115
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Maya Dependencies
|
|
2
|
+
|
|
3
|
+
## Dependency Schema
|
|
4
|
+
|
|
5
|
+
Each dependency entry defines:
|
|
6
|
+
- `upstream role`
|
|
7
|
+
- `downstream role`
|
|
8
|
+
- `dependency type` (`required`, `recommended`, or `conditional`)
|
|
9
|
+
- `trigger condition`
|
|
10
|
+
- `handoff artifact`
|
|
11
|
+
- `downstream input expectation`
|
|
12
|
+
- `approval requirement`
|
|
13
|
+
|
|
14
|
+
## Dependency Entries
|
|
15
|
+
|
|
16
|
+
These entries are canonical examples and common default patterns, not an exhaustive matrix of every possible Maya chain.
|
|
17
|
+
|
|
18
|
+
Context-specific work may require a different chain depending on the task, missing inputs, channel needs, research depth, or data requirements. In those cases, `maya-planner` may propose an alternate chain, but it must still define the upstream and downstream roles, handoff artifacts, and approval requirements before execution.
|
|
19
|
+
|
|
20
|
+
| Upstream Role | Downstream Role | Dependency Type | Trigger Condition | Handoff Artifact | Downstream Input Expectation | Approval Requirement |
|
|
21
|
+
|---|---|---|---|---|---|---|
|
|
22
|
+
| `maya-planner` | `maya-executor` | `required` | Justin approves a task-mode plan and proposed chain. | Approved `campaigns/<campaign-id>/PLAN.md` with phases, specialists, dependencies, and expected outputs. | Executor receives an approved chain to enforce exactly from the campaign-local plan artifact. | Required before executor begins work. |
|
|
23
|
+
| `maya-researcher` | `copywriting` | `recommended` | Messaging or page-copy work needs grounded audience or competitor context. | Structured research handoffs stored at exact artifact paths such as `research/<campaign-id>/<task-id>-audience-brief.md` with audience insights, objections, and proof points. | Copywriter expects structured inputs rather than vague prompts, and downstream packets should point to the named research artifact directly. | Required if this handoff appears in the approved chain. |
|
|
24
|
+
| `maya-researcher` | `paid-ads` | `recommended` | Paid campaign strategy needs audience, competitor, or offer context. | Structured research handoffs stored at exact artifact paths such as `research/<campaign-id>/<task-id>-market-notes.md` with audience segments, offer angles, and market notes. | Paid ads specialist expects research-backed targeting and messaging inputs, and downstream packets should consume the named artifact rather than broad rediscovery. | Required if task mode will run this downstream step. |
|
|
25
|
+
| `meta-api-agent` | `paid-ads` | `conditional` | Paid ads work requires live or cache-backed Meta account data. | Sanitized cache artifact or safe summary produced through `tools/meta/meta-fetch.ps1`, then referenced from the campaign-local packet or state artifact. | Paid ads specialist expects sanitized performance inputs without secrets. | Required before any task-mode use of Meta-backed outputs. |
|
|
26
|
+
| `paid-ads` | `ad-creative` | `recommended` | Campaign strategy is approved and creative variants are needed. | Campaign brief with audience, offer, placement, and testing constraints. | Ad creative specialist expects clear strategy and channel constraints. | Required if ad-creative appears in the approved execution chain. |
|
|
27
|
+
| `analytics-tracking` | `paid-ads` | `conditional` | Paid optimization depends on validated tracking, attribution, or event quality. | Tracking audit or event map showing measurement coverage and gaps. | Paid ads specialist expects confidence in measurement before optimization decisions. | Required when the chain explicitly uses tracking validation first. |
|
|
28
|
+
| `maya-executor` | `copywriting` | `required` | Copy must align with approved brand, audience, and positioning context in task mode. | Approved `campaigns/<campaign-id>/task-packets/<task-id>.md` with required inputs, relevant `PRODUCT.md` slices, exact artifact paths, and any explicit direct-read allowance. | Copywriter expects packet-first context and may read `PRODUCT.md` directly only when the packet names the file or sections to use. | Required before task-mode copywriting execution. |
|
|
29
|
+
|
|
30
|
+
## Execution Rules
|
|
31
|
+
|
|
32
|
+
Execution rules for Maya chains:
|
|
33
|
+
- Maya shows Justin the exact chain before execution.
|
|
34
|
+
- The executor owns baton passing between approved steps.
|
|
35
|
+
- Specialists never self-chain.
|
|
36
|
+
- Specialists use approved `TASK-PACKET.md` inputs first; direct `PRODUCT.md` reads require explicit packet approval.
|
|
37
|
+
- A required handoff artifact must exist before downstream execution starts.
|
|
38
|
+
- The executor verifies packet done criteria before it can mark the task complete.
|
|
39
|
+
- The executor may mark the task complete only when the required outputs exist at exact artifact paths and output verification passes.
|
|
40
|
+
- The executor may create the next approved packet only when the current packet is verified and the downstream dependency is ready.
|
|
41
|
+
- If verification fails, the executor stops the chain, records the blocker, and does not create the next approved packet.
|
|
42
|
+
- Chaining stops when the requested output is complete or a required artifact is missing.
|
|
43
|
+
- Broad chains warn before execution.
|
|
44
|
+
- Planner and execution remain separate responsibilities.
|
|
45
|
+
- State updates belong to the executor rather than downstream specialists.
|
|
46
|
+
- When the canonical examples do not fit the task, `maya-planner` may propose a context-specific alternate chain.
|
|
47
|
+
- Scope drift, changed dependencies, or a broader direct `PRODUCT.md` read requirement must return to Justin before execution continues.
|
|
48
|
+
|
|
49
|
+
## Approval Rules
|
|
50
|
+
|
|
51
|
+
Approval rules for dependency execution:
|
|
52
|
+
- Task mode cannot begin multi-step execution without Justin approving the proposed chain.
|
|
53
|
+
- Any dependency that introduces API-backed data, state creation, or multiple downstream specialists must be shown in the approval summary.
|
|
54
|
+
- Approved handoff artifacts should resolve to campaign-local storage such as `campaigns/<campaign-id>/PLAN.md`, `campaigns/<campaign-id>/STATE.md`, and `campaigns/<campaign-id>/task-packets/<task-id>.md`.
|
|
55
|
+
- Approved deliverables should resolve to exact artifact paths under `campaigns/<campaign-id>/deliverables/<task-id>/...` or `research/<campaign-id>/<task-id>-<topic>.md`.
|
|
56
|
+
- Alternate chains must be explained as explicit deviations or extensions from the canonical examples.
|
|
57
|
+
- `meta-api-agent` may only pass sanitized outputs downstream.
|
|
58
|
+
- Missing approval or broken handoffs stop the chain with a clear error.
|