Flux Specs
This site is the single source of truth for Flux’s product, architecture, and implementation specs. Every feature, architectural decision, and implementation cycle lives here as native MDX in theemploy-inc/flux monorepo. Mintlify renders, indexes, and exposes them — both to humans (in this site) and to AI agents (via the auto-generated MCP server, llms.txt, and contextual buttons).
The three-document model
Flux uses three spec types, each with a clear owner and audience:PRDs
Product Requirements Documents. PM-owned. Captures what to build and why.
RFCs
Requests for Comments. Engineering-owned. Captures how to build it and why this approach.
Cycles
Implementation specs. Engineer + AI authored. Captures the plan to build it.
The spec-driven development loop
How AI agents use this site
- Direct file read (authoritative) — Cycle docs, PRDs, and RFCs are MDX/Markdown files in the monorepo. Claude Code, Cursor, and other coding agents read them as native files. Zero translation layer. This is the canonical path.
- Auto-MCP server (future — once Mintlify site is live and auth model is verified) — Every Mintlify site exposes an MCP endpoint at
/mcp. Because the site is gated by Google Workspace auth, MCP/llms.txtaccess for AI agents requires confirming Mintlify’s API-key or public-carve-out behavior before aflux-specsentry is added to.mcp.json. llms.txt/llms-full.txt— Mintlify auto-generates these at the site root when the project is deployed. Same auth caveat applies until resolved.- Contextual buttons — Once the site is live, every page will expose Copy / Open in Claude / Open in Cursor / MCP buttons (configured in
docs.json). AGENTS.mdat the repo root configures AI agent behavior — both for code agents (Claude Code, Cursor) and for Mintlify Autopilot when enabled.
Core conventions
- PRDs use sequential
PRD-NNNnumbering — never reused - RFCs use sequential
RFC-NNNnumbering — never reused - Cycles use the GitHub issue number as the cycle ID (per Cycle 381) — collision-proof
- Every Cycle doc references its source PRD(s) and RFC(s) in frontmatter
- Every PR description references its Cycle number (via
Closes #N) - Spec drift is a bug — Mintlify Autopilot detects code changes that affect specs and opens follow-up PRs
Quick links
| What I want to do | Where to go |
|---|---|
| Write a PRD | PRDs README → copy _template.mdx |
| Write an RFC | RFCs README → copy _template.mdx |
| Write a Cycle doc | Cycle template |
| Browse merged Cycles | Cycles directory |
| See what shipped | Changelog |
| Read the AI-Native Manifesto | docs/engineering/ai-native-manifesto.md |