chore: scaffold PYRE MVP monorepo (structure + docs)

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>
This commit is contained in:
2026-05-31 02:20:55 +00:00
parent e86b57e00f
commit c20094ab56
65 changed files with 13834 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
# @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/config` and injected here. This package adds **no** SDK dependencies of
its own.