Ai-Mee Help Centre
Home
Features
How-To Guides
FAQ
Need Help?
Home
Features
How-To Guides
FAQ
Need Help?

Documentation Index

This index guides you to the right documentation for your needs.

πŸ“‹ Documentation Files Created

All files are in the root of /mnt/semics-code/code/ai-marketing/

1. README_EXPLORATION.md ⭐ START HERE

Purpose: Master index and orientation guide
Read Time: 5-10 minutes
Contains:

  • Overview of all documentation
  • Quick status summary (βœ…/⚠️)
  • Getting started guide
  • Learning path
  • Testing checklist
  • Key contact points

When to use: First time reading the docs, need orientation


2. QUICK_REFERENCE.md 🎯 FOR LOOKUPS

Purpose: Quick lookup reference for developers
Read Time: 5-15 minutes
Contains:

  • Architecture diagram (3 agents)
  • API endpoints table (14 endpoints)
  • Database tables summary (8 tables)
  • Current status breakdown
  • Example curl commands
  • Environment variables
  • File structure overview
  • GoClaw tools inventory
  • Telegram bot configuration

When to use: Need quick info about specific endpoints, tables, or config


3. EXPLORATION_SUMMARY.md πŸ“š TECHNICAL REFERENCE

Purpose: Complete technical reference documentation
Read Time: 20-30 minutes
Contains:

  • Full breakdown of api/src/routes/:
    • posts.ts (8 endpoints)
    • clients.ts (4 endpoints)
    • content.ts (3 endpoints)
  • Server entry point (index.ts)
  • All 3 agent skills:
    • marketing-liaison (Aimee)
    • content-creation (Creator)
    • brand-review (Critic)
  • Bot configuration (config.json)
  • Database schema for all 8 tables
  • Environment configuration
  • Both seed scripts explained
  • Current gaps vs Phase 3 needs

When to use: Deep technical understanding, code review, architecture decisions


4. PHASE3_READINESS.md πŸš€ IMPLEMENTATION GUIDE

Purpose: Phase 3 implementation roadmap
Read Time: 15-25 minutes (for planning), ongoing (for execution)
Contains:

  • βœ… What's already built (Phase 1 & 2)
  • ❌ What's missing for Phase 3
  • Step-by-step implementation path:
    • Step 1: Database (30 min)
    • Step 2: API Endpoints (1.5 hours)
    • Step 3: Liaison Skills (2 hours)
    • Step 4: GoClaw Config (1.5 hours)
    • Step 5: Handler Logic (2-3 hours)
    • Step 6: Testing (2 hours)
  • Files to create/modify
  • Key design decisions
  • Known blockers and gotchas
  • Success criteria checklist

When to use: Planning Phase 3, implementing features, checking progress


πŸ—ΊοΈ Recommended Reading Order

For New Team Members (30 min)

  1. README_EXPLORATION.md (5 min) β€” Get oriented
  2. QUICK_REFERENCE.md (10 min) β€” Understand architecture
  3. EXPLORATION_SUMMARY.md (15 min) β€” Technical context

For Implementation Work (30 min planning + 7-8 hours coding)

  1. PHASE3_READINESS.md (20 min) β€” Plan the work
  2. EXPLORATION_SUMMARY.md (10 min) β€” Reference as needed
  3. QUICK_REFERENCE.md (ongoing) β€” Lookup during implementation

For Code Review (15 min)

  1. QUICK_REFERENCE.md (5 min) β€” Context
  2. EXPLORATION_SUMMARY.md (10 min) β€” Relevant section

For Debugging (5 min)

  1. QUICK_REFERENCE.md β€” Find the endpoint/table
  2. EXPLORATION_SUMMARY.md β€” Deep dive

🎯 Quick Navigation

I want to understand...

...the 3-agent architecture β†’ QUICK_REFERENCE.md (Architecture diagram section)

...what API endpoints exist β†’ QUICK_REFERENCE.md (Key APIs table) β†’ EXPLORATION_SUMMARY.md (Section 1-3)

...the database schema β†’ QUICK_REFERENCE.md (Database Tables section) β†’ EXPLORATION_SUMMARY.md (Section 6)

...how to implement Phase 3 β†’ PHASE3_READINESS.md (entire document)

...the Telegram integration β†’ QUICK_REFERENCE.md (Telegram Bot Configuration) β†’ EXPLORATION_SUMMARY.md (Section 7)

...GoClaw tools β†’ QUICK_REFERENCE.md (GoClaw Tools Registered section) β†’ EXPLORATION_SUMMARY.md (Section 5, Section 7)

...the skill descriptions β†’ EXPLORATION_SUMMARY.md (Section 4) β†’ Or read the actual files in bot/workspace/skills/

...environment configuration β†’ QUICK_REFERENCE.md (Environment Variables) β†’ EXPLORATION_SUMMARY.md (Section 9)

...what's missing for Phase 3 β†’ PHASE3_READINESS.md (Missing for Phase 3 section) β†’ README_EXPLORATION.md (Phase 3 Gaps section)

...how to test the current setup β†’ QUICK_REFERENCE.md (Test the Current Setup) β†’ README_EXPLORATION.md (Testing Checklist)


πŸ“Š Documentation Stats

FileLinesSizeFocus
README_EXPLORATION.md31412KOrientation, overview
QUICK_REFERENCE.md25912KQuick lookup, tables
EXPLORATION_SUMMARY.md48616KTechnical details
PHASE3_READINESS.md27212KImplementation plan
Total1,33152KComplete reference

βœ… What Each Document Answers

README_EXPLORATION.md

  • βœ“ What was explored?
  • βœ“ Where are the docs?
  • βœ“ What's the current status?
  • βœ“ How do I get started?
  • βœ“ What are the next steps?

QUICK_REFERENCE.md

  • βœ“ How do the 3 agents work together?
  • βœ“ What are the API endpoints?
  • βœ“ What database tables exist?
  • βœ“ What are the environment variables?
  • βœ“ How do I test the current setup?
  • βœ“ What tools are registered in GoClaw?
  • βœ“ How is Telegram configured?

EXPLORATION_SUMMARY.md

  • βœ“ What's in api/src/routes/posts.ts?
  • βœ“ What's in api/src/routes/clients.ts?
  • βœ“ What's in api/src/routes/content.ts?
  • βœ“ What does api/src/index.ts do?
  • βœ“ What are the bot skills?
  • βœ“ What's in bot/data/config.json?
  • βœ“ What does the database schema look like?
  • βœ“ What do the seed scripts do?
  • βœ“ What's the environment config?
  • βœ“ What's missing for Phase 3?

PHASE3_READINESS.md

  • βœ“ What's already built?
  • βœ“ What's missing for Phase 3?
  • βœ“ How do I implement each step?
  • βœ“ What files do I need to create/modify?
  • βœ“ What are the gotchas?
  • βœ“ How do I know when I'm done?

πŸš€ Getting Started

  1. First time? β†’ Read README_EXPLORATION.md
  2. Need quick info? β†’ Use QUICK_REFERENCE.md
  3. Going deep? β†’ Read EXPLORATION_SUMMARY.md
  4. Ready to code? β†’ Follow PHASE3_READINESS.md

πŸ“š Original Source Files

These are the actual files in the codebase (referenced in the documentation):

api/src/
β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ posts.ts          (API endpoints for posts)
β”‚   β”œβ”€β”€ clients.ts        (API endpoints for clients)
β”‚   └── content.ts        (API endpoints for content)
β”œβ”€β”€ index.ts              (Server entry point)
β”œβ”€β”€ config/env.ts         (Environment config)
β”œβ”€β”€ modules/posts.js      (Post generation logic)
β”œβ”€β”€ agents/               (Prompt templates)
β”œβ”€β”€ integrations/         (Ghost, Twitter, etc.)
└── utils/                (Supabase, LLM, scraper)

bot/
β”œβ”€β”€ workspace/
β”‚   β”œβ”€β”€ agents/
β”‚   β”‚   β”œβ”€β”€ liaison-agent/  (Aimee - IDENTITY.md, SOUL.md)
β”‚   β”‚   β”œβ”€β”€ creator-agent/  (Creator - IDENTITY.md, SOUL.md)
β”‚   β”‚   └── critic-agent/   (Critic - IDENTITY.md, SOUL.md)
β”‚   β”œβ”€β”€ skills/
β”‚   β”‚   β”œβ”€β”€ marketing-liaison/SKILL.md
β”‚   β”‚   β”œβ”€β”€ content-creation/SKILL.md
β”‚   β”‚   └── brand-review/SKILL.md
β”‚   └── memory.db         (GoClaw memory store)
└── data/config.json      (Agent and channel config)

front-end/supabase/
β”œβ”€β”€ migrations/           (Database migrations)
└── seeds/                (Initial data)

scripts/
β”œβ”€β”€ seed-goclaw-tools.sh   (Register custom tools)
└── seed-goclaw-agents.sh  (Create agents and team)

migrations/
└── phase-3-conversation-flow.md (Phase 3 requirements)

πŸ”— Cross References

If you're reading about...

  • Posts API endpoints

    • See: EXPLORATION_SUMMARY.md Β§1, QUICK_REFERENCE.md API table
    • File: api/src/routes/posts.ts
  • Client context API

    • See: EXPLORATION_SUMMARY.md Β§2, QUICK_REFERENCE.md API table
    • File: api/src/routes/clients.ts
  • Publishing/scraping API

    • See: EXPLORATION_SUMMARY.md Β§3, QUICK_REFERENCE.md API table
    • File: api/src/routes/content.ts
  • Liaison agent (Aimee)

    • See: EXPLORATION_SUMMARY.md Β§4 (marketing-liaison)
    • File: bot/workspace/skills/marketing-liaison/SKILL.md
  • Creator agent

    • See: EXPLORATION_SUMMARY.md Β§4 (content-creation)
    • File: bot/workspace/skills/content-creation/SKILL.md
  • Critic agent

    • See: EXPLORATION_SUMMARY.md Β§4 (brand-review)
    • File: bot/workspace/skills/brand-review/SKILL.md
  • Telegram integration

    • See: QUICK_REFERENCE.md (Telegram Bot Configuration)
    • File: bot/data/config.json (channels section)
  • GoClaw tools

    • See: QUICK_REFERENCE.md (GoClaw Tools Registered)
    • File: scripts/seed-goclaw-tools.sh
  • Database schema

    • See: EXPLORATION_SUMMARY.md Β§6, QUICK_REFERENCE.md (Database Tables)
    • File: front-end/supabase/migrations/20260309000000_phase2_tables.sql
  • Phase 3 requirements

    • See: PHASE3_READINESS.md
    • File: migrations/phase-3-conversation-flow.md

πŸ“ž Document Maintenance

These documents were created during exploration on March 9, 2025.

They document:

  • Phase 1 & 2 Status: βœ… Complete
  • Phase 3 Planning: In progress

When Phase 3 is implemented, update:

  1. PHASE3_READINESS.md β€” Mark items as complete
  2. QUICK_REFERENCE.md β€” Update status indicators
  3. README_EXPLORATION.md β€” Update project status

Last Updated: March 9, 2025
Next Review: After Phase 3 implementation
Maintained By: Development team