pnpm + TypeScript workspace per design doc §13:
- apps/{web,api,worker} skeletons (Next.js 16, Fastify 5, BullMQ)
- packages/{core,solana,prometheus,db,config} (core has real types/DTOs;
solana/prometheus are stubs)
- programs/pyre-core placeholder (future Anchor, v1.0)
- docs/: PYRE_MVP_DESIGN (canonical), ARCHITECTURE, SECURITY, TOKEN_CLASSIFICATION
- CLAUDE.md, README, .env.example (no private-key var by design)
Skeleton + docs only — no Solana/business logic yet. All workspaces typecheck clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.0 KiB
1.0 KiB
@pyre/prometheus
AI generation logic for the Prometheus meta mixer.
Purpose
Generates Spawn identity (name, ticker, lore, image prompt, metadata) from cleanup receipts. Per §13 its responsibilities are:
- Prompt templates.
- Meta mixer.
- Output parser.
- Safety checks.
- Image-prompt generator.
See §9 (meta mixer) and §10 (Pump.fun creator workflow). Prometheus never controls funds; it only produces creative identity for manual, human-reviewed launch in the MVP.
Design rules
- Meta influence is probabilistic, not deterministic.
- Produce inspired mutations, not direct clones — reject exact copyrighted or existing meme identities.
Status
Stubs only. Every exported function throws Error("not implemented").
TODO
- Implement
buildPrompt,runMetaMixer,parseOutput,runSafetyChecks,generateImagePrompt. - The AI client (Anthropic / OpenAI / image-gen provider) is configured via
@pyre/configand injected here. This package adds no SDK dependencies of its own.