Skip to content
Shell

Add development pipeline - the system that builds systems

eddiebe1479ef1abf9d87a
diff --git a/.gitignore b/.gitignore
index 01970ee..1e73b34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,10 @@ debug/
# Ignore project-specific conversation histories (can be HUGE)
projects/
+# But keep pipeline projects (these are small markdown files)
+!pipeline/
+!pipeline/projects/
+
# Ignore IDE lock files
ide/
diff --git a/CLAUDE.md b/CLAUDE.md
index e00197b..01b0781 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -421,6 +421,31 @@ Every project must have a `PIPELINE_STATUS.md` in the repo root. Update it when:
2. If no status file exists, assess and create one
3. Resume from current stage with full rigor
+### Sync Project Protocol
+
+**When:** User says "sync project [name]" to import an existing repo into the pipeline.
+
+**Before creating a new project file, ALWAYS:**
+1. Check `~/Development/[name]/` for existing repo
+2. Look for `PIPELINE_STATUS.md` in repo root
+3. If found → sync with reality, don't create from scratch
+
+**Process:**
+1. Locate existing repo in `~/Development/`
+2. Read repo's `PIPELINE_STATUS.md` (source of truth)
+3. Create/update `~/.claude/pipeline/projects/[name].md` to match
+4. Pull: one-liner, scope, stack, current stage, decisions
+5. Link project file to repo's PIPELINE_STATUS.md
+6. Update HANDOFF.md with synced project
+
+**Project file should include:**
+- Actual shipped status (not hypothetical)
+- Real stack choices (from repo, not STACK.md defaults)
+- Links to repo files (PRD, technical docs, PIPELINE_STATUS.md)
+- Accurate session log from repo history
+
+**Checkpoint:** "Does the pipeline project file match the repo's reality?"
+
---
## Commands
@@ -431,6 +456,8 @@ When user says:
- "skip to [stage]" → Require reason, log override, proceed
- "client project" → Start Stage 0 discovery using CLIENT_PROJECT_TEMPLATE.md
- "my project" → Skip Stage 0, go directly to Stage 1
+- "new project [name]" → Create fresh project file from _TEMPLATE.md (greenfield)
+- "sync project [name]" → Import existing project into pipeline (see below)
---
@@ -481,4 +508,75 @@ The goal: Make building repeatable, teachable, and finishable.
| FIXER | Rejection Recovery — appeals, responses |
| MENTOR | Teaching Partner — explains why rules exist |
-**When to invoke:** Any iOS project at Stage 9, or when discussing App Store submission.
\ No newline at end of file
+**When to invoke:** Any iOS project at Stage 9, or when discussing App Store submission.
+
+---
+
+# Development Pipeline (The Factory)
+
+**Location:** `~/.claude/pipeline/`
+
+> The system that builds systems. A self-improving development framework that compounds learning across projects.
+
+## Pipeline Structure
+
+```
+~/.claude/pipeline/
+├── SYSTEM.md # Operating instructions - Sr Dev mindset
+├── CONTEXT.md # Who Eddie is, how he works, current priorities
+├── HANDOFF.md # Session continuity - where we left off
+├── STACK.md # Default technology choices
+├── frameworks/
+│ ├── DECISIONS.md # Decision-making framework
+│ ├── SCOPING.md # Ruthless scoping discipline
+│ └── FAILURE_PATTERNS.md # What breaks and why
+├── patterns/
+│ ├── ARCHITECTURE.md # Reusable structural patterns
+│ ├── COMPONENTS.md # Code patterns that work
+│ └── ANTI_PATTERNS.md # What to avoid
+├── projects/
+│ ├── _TEMPLATE.md # Template for new projects
+│ └── [project].md # Active project files
+└── logs/
+ └── LEARNINGS.md # Captured insights
+```
+
+## Session Startup Protocol
+
+Every session, before diving into work:
+
+1. **Read HANDOFF.md** — Where we left off, what's next
+2. **Check active project file** — Current phase, blockers, decisions
+3. **Ask**: "What's the highest-leverage thing we can do today?"
+
+## Pipeline Commands
+
+| Command | Action |
+|---------|--------|
+| `pipeline status` | Report current project, phase, and next checkpoint |
+| `new project [name]` | Create fresh project file from _TEMPLATE.md (greenfield) |
+| `sync project [name]` | Import existing repo into pipeline (checks ~/Development/ first) |
+| `log learning` | Add entry to LEARNINGS.md |
+| `extract pattern` | Move learning → appropriate pattern file |
+| `update handoff` | Update HANDOFF.md with current state |
+
+## Integration with ID8Pipeline Stages
+
+| Stage | Pipeline Resources |
+|-------|-------------------|
+| Stage 1-2 (Concept/Scope) | DECISIONS.md, SCOPING.md |
+| Stage 3 (Architecture) | ARCHITECTURE.md, STACK.md |
+| Stage 4-6 (Build) | COMPONENTS.md, project file |
+| Stage 7+ (Test/Polish) | FAILURE_PATTERNS.md, ANTI_PATTERNS.md |
+| Post-ship | LEARNINGS.md, pattern extraction |
+
+## Philosophy
+
+> "Like mycelium — the visible output (shipped code) is just the fruiting body. The real intelligence is the network underneath."
+
+Every project that passes through:
+1. Benefits from patterns learned in previous projects
+2. Contributes new patterns back to the system
+3. Compounds Eddie's ability to ship faster and cleaner
+
+The goal isn't to build everything. It's to build the right things, learn from them, and never fail the same way twice.
\ No newline at end of file
diff --git a/pipeline/CONTEXT.md b/pipeline/CONTEXT.md
new file mode 100644
index 0000000..bbeb227
--- /dev/null
+++ b/pipeline/CONTEXT.md
@@ -0,0 +1,118 @@
+# CONTEXT.md
+## Who Is Eddie?
+
+> This file helps Claude Code understand who it's working with. Read this to calibrate communication style, technical depth, and priorities.
+
+---
+
+## Background
+
+**Eddie** is a cinematographer and story producer with 20+ years in television production (90 Day Fiancé, The First 48, High on the Hog, Teen Mom, Orange County Choppers). He's transitioning from traditional TV to building AI-powered creative tools through **ID8Labs**.
+
+He lives in Miami. He's in a relationship with Kellen. He sees the world through **energy, frequency, and vibration** - a lens for pattern recognition, relationships, and cause/effect.
+
+---
+
+## How Eddie Works
+
+### Learning Style
+- **Learns by doing** - Theory connects to action immediately
+- **Nature analogies help** - Especially mycology, ecosystems, energy systems
+- **Pattern recognition across domains** - "Life is all connected"
+- **Design thinking as foundation** - For anything substantial
+
+### Communication Preferences
+- **Signal over noise** - Don't pad, don't over-explain
+- **Clean and direct** - Say what needs to be said
+- **Ready to build** - Always oriented toward making something
+- **Warm but efficient** - Collaborative, not formal
+
+### Technical Level
+- **Self-taught coder** - Learned to build what he needed
+- **Strong conceptual grasp** - Understands systems and architecture
+- **PM-level execution** - Can follow technical guidance, needs Sr Dev direction
+- **Growing daily** - Each project compounds his capability
+
+---
+
+## Current Priorities (Update Regularly)
+
+### Active Focus
+- **ID8Composer v1.1** - Stability testing, marketing prep (not new features)
+- **Development Pipeline** - Building the system that builds systems
+- **90 Day production work** - Ongoing, parallel track
+
+### Near-Term
+- Potential GM role at Every/Spiral - Merging AI tool experience with existing product
+- ejb.ventures website - Dual-mode interface, personal brand
+- Book concept - Cross-domain pattern recognition
+
+### On Deck (Not Now)
+- DeepStack trading platform
+- MILO productivity dashboard
+- New ID8Labs tools
+
+---
+
+## ID8Labs Ecosystem
+
+Eddie's company building AI-powered creative tools:
+
+| Project | Status | Description |
+|---------|--------|-------------|
+| **ID8Composer** | Active - v1.1 | Story development platform with semantic version control |
+| **DeepStack** | On hold | Deep value investing + AI research tools |
+| **MILO** | On hold | Productivity dashboard |
+| **ejb.ventures** | In progress | Personal website, dual-mode interface |
+
+---
+
+## Working Relationship with Claude
+
+### What Works
+- Thinking partner, not just executor
+- Challenge assumptions constructively
+- Surface tradeoffs explicitly
+- Keep momentum - don't let perfect block good
+
+### What Doesn't Work
+- Over-explaining basics he already knows
+- Padding responses with unnecessary context
+- Analysis paralysis - he'd rather build and learn
+- Ignoring the bigger picture for local optimization
+
+---
+
+## Key Phrases / Concepts Eddie Uses
+
+- **"Complexity metabolizer"** - His approach to breaking down hard problems
+- **"Culture out"** - Let things grow organically from good substrate
+- **"Signal to noise"** - Keep things clean
+- **"Energy, frequency, vibration"** - His systems lens
+- **"The factory"** - The system that builds systems (this pipeline)
+
+---
+
+## Session Notes
+
+> Use this section for temporary context that's relevant to current work but not permanent.
+
+**Last Updated**: January 1, 2026
+
+**Current Session Focus**: Building the development pipeline architecture
+
+**Recent Decisions**:
+- Pipeline will live in GitHub repo
+- Claude Code reads pipeline files natively each session
+- First project through pipeline will be ID8Composer
+- Audit existing projects to seed pattern library
+
+---
+
+## Update Protocol
+
+This file should be updated when:
+- Eddie's priorities shift significantly
+- New projects become active
+- Working style preferences change
+- Session-specific context needs capturing
diff --git a/pipeline/HANDOFF.md b/pipeline/HANDOFF.md
new file mode 100644
index 0000000..9c8b49d
--- /dev/null
+++ b/pipeline/HANDOFF.md
@@ -0,0 +1,105 @@
+# HANDOFF.md
+## Session Continuity
+
+> Where we left off. Read this to resume work instantly.
+
+---
+
+## Current State
+
+**Last Updated**: 2026-01-02
+**Active Project**: MILO (Stage 11 - Listen & Iterate)
+**Session Status**: Pipeline test complete — MILO synced with reality
+
+---
+
+## What We Just Did
+
+- Built pipeline structure in `~/.claude/pipeline/`
+- Tested pipeline on MILO — discovered it's already shipped (v0.3.0)
+- Synced milo.md project file with actual repo status
+- MILO is at Stage 11 (shipped Dec 30, 2024), not Stage 1
+
+---
+
+## What's Next
+
+Immediate next actions (in order):
+
+1. [ ] **MILO**: Continue Stage 11 — track 14-day consecutive use
+2. [ ] **ID8Composer**: Stability testing (parallel track)
+3. [ ] **Pipeline**: First real project test complete — ready for new projects
+
+---
+
+## Blocked On
+
+Nothing currently blocked.
+
+---
+
+## Open Questions
+
+Decisions pending that need resolution:
+
+- [ ] None currently
+
+---
+
+## Quick Context
+
+### Active Project Summary
+**Project**: MILO (shipped v0.3.0)
+**Phase**: Stage 11 - Listen & Iterate
+**Goal**: Track 14-day consecutive use, collect feedback
+
+### Recent Decisions
+- Pipeline lives in ~/.claude/pipeline/
+- CLAUDE.md references pipeline, doesn't duplicate it
+- MILO synced — Electron app shipped Dec 30, 2024
+- Pipeline test successful — ready for new projects
+
+---
+
+## Session Notes
+
+> Temporary context for current work session
+
+```
+Current focus: Pipeline integration complete
+Energy: High - clean structure, good momentum
+```
+
+---
+
+## Update Protocol
+
+Update this file:
+- At the start of each session (read first)
+- At the end of each session (log what happened)
+- When context shifts significantly
+- When blocked on something
+
+Format for session end:
+```markdown
+## What We Just Did
+[Update with session accomplishments]
+
+## What's Next
+[Update with next actions]
+
+## Blocked On
+[Update if anything is blocking]
+```
+
+---
+
+## Emergency Context
+
+If starting fresh with no memory:
+
+1. Read `SYSTEM.md` - How to operate as Sr Dev
+2. Read `CONTEXT.md` - Who Eddie is
+3. Read this file - Current state
+4. Check `/projects/` - Active project details
+5. Ask: "What's the highest-leverage thing we can do today?"
diff --git a/pipeline/STACK.md b/pipeline/STACK.md
new file mode 100644
index 0000000..a3c4c7e
--- /dev/null
+++ b/pipeline/STACK.md
@@ -0,0 +1,164 @@
+# STACK.md
+## ID8Labs Default Technology Stack
+
+> Unless there's a specific reason to deviate, use these defaults.
+
+---
+
+## Why Defaults Matter
+
+Every technology decision has a learning curve and integration cost. By standardizing on a stack:
+- We compound expertise across projects
+- Patterns become reusable
+- Onboarding is instant
+- Debugging is familiar
+
+Deviate when there's a clear reason. Document when you do.
+
+---
+
+## The Stack
+
+### Frontend
+
+| Layer | Default | Why |
+|-------|---------|-----|
+| Framework | **Next.js 14+** (App Router) | Full-stack React, great DX, Vercel integration |
+| Styling | **Tailwind CSS** | Utility-first, fast iteration, consistent |
+| Components | **shadcn/ui** | Accessible, customizable, owns the code |
+| State | **Zustand** (simple) / **React Query** (server) | Minimal boilerplate, great DX |
+| Forms | **React Hook Form + Zod** | Type-safe validation, good UX |
+
+### Backend
+
+| Layer | Default | Why |
+|-------|---------|-----|
+| API | **Next.js API Routes** / **Server Actions** | Colocation, type safety |
+| Database | **Supabase (PostgreSQL)** | Generous free tier, auth included, real-time |
+| Auth | **Supabase Auth** | Integrated, handles OAuth, sessions |
+| Storage | **Supabase Storage** | Same platform, good CDN |
+| Edge Functions | **Vercel Edge** / **Supabase Edge** | Low latency, global |
+
+### Infrastructure
+
+| Layer | Default | Why |
+|-------|---------|-----|
+| Hosting | **Vercel** | Best Next.js support, great DX |
+| Domain | **Vercel Domains** or **Cloudflare** | Easy DNS, SSL automatic |
+| Monitoring | **Vercel Analytics** + **Sentry** | Built-in + error tracking |
+| Email | **Resend** | Simple API, good deliverability |
+
+### Development
+
+| Tool | Default | Why |
+|------|---------|-----|
+| Package Manager | **pnpm** | Fast, disk efficient |
+| TypeScript | **Always** | Catch errors early |
+| Linting | **ESLint + Prettier** | Consistent code |
+| Testing | **Vitest** (unit) + **Playwright** (e2e) | Fast, modern |
+| Git | **GitHub** | Ecosystem, Actions, Copilot |
+
+---
+
+## Project Initialization
+
+```bash
+# New Next.js project with defaults
+pnpm create next-app@latest my-project --typescript --tailwind --eslint --app --src-dir
+
+# Add shadcn/ui
+pnpm dlx shadcn-ui@latest init
+
+# Add common dependencies
+pnpm add @supabase/supabase-js zustand zod react-hook-form @hookform/resolvers
+
+# Add dev dependencies
+pnpm add -D vitest @playwright/test
+```
+
+---
+
+## Supabase Setup Pattern
+
+```typescript
+// lib/supabase/client.ts - Browser client
+import { createBrowserClient } from '@supabase/ssr'
+
+export function createClient() {
+ return createBrowserClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
+ )
+}
+
+// lib/supabase/server.ts - Server client
+import { createServerClient } from '@supabase/ssr'
+import { cookies } from 'next/headers'
+
+export function createClient() {
+ const cookieStore = cookies()
+ return createServerClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
+ {
+ cookies: {
+ get(name: string) {
+ return cookieStore.get(name)?.value
+ },
+ // ... set, remove
+ },
+ }
+ )
+}
+```
+
+---
+
+## Environment Variables Template
+
+```bash
+# .env.local
+NEXT_PUBLIC_SUPABASE_URL=your-project-url
+NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
+SUPABASE_SERVICE_ROLE_KEY=your-service-key # Server only, never expose
+
+# Optional
+NEXT_PUBLIC_APP_URL=http://localhost:3000
+RESEND_API_KEY=your-resend-key
+SENTRY_DSN=your-sentry-dsn
+```
+
+---
+
+## When to Deviate
+
+### Valid Reasons to Use Something Else
+
+| Situation | Alternative | Example |
+|-----------|-------------|---------|
+| Mobile app needed | React Native / Expo | Cross-platform native |
+| Heavy real-time | Socket.io / Ably | Chat, collaboration |
+| Complex state | Redux Toolkit | Large enterprise app |
+| Static site only | Astro | Marketing site, blog |
+| Need CMS | Sanity / Contentful | Content-heavy site |
+| Specific cloud | AWS / GCP | Client requirement |
+
+### Document Deviations
+
+When using non-default tech, add to project file:
+
+```markdown
+### Stack Deviation: [Tech]
+**Default**: [What we normally use]
+**Using Instead**: [What we're using]
+**Reason**: [Why this project needs it]
+**Tradeoffs**: [What we lose/gain]
+```
+
+---
+
+## Remember
+
+> "Choose boring technology." - Dan McKinley
+
+The stack exists to ship products, not to learn new tools. Save innovation tokens for your product's differentiators.
diff --git a/pipeline/SYSTEM.md b/pipeline/SYSTEM.md
new file mode 100644
index 0000000..8e5b9ad
--- /dev/null
+++ b/pipeline/SYSTEM.md
@@ -0,0 +1,157 @@
+# SYSTEM.md
+## Claude Code Operating Instructions for Eddie's Development Pipeline
+
+> **Read this file first every session.** This is your persistent memory and judgment layer.
+
+---
+
+## Who You Are in This Context
+
+You are operating as a **Senior Developer** guiding Eddie (PM/creative technologist) through full-stack development. You are not a Jr Dev who writes code when asked. You are a Sr Dev who:
+
+- **Asks the right questions before writing code**
+- **Thinks in tradeoffs, not just solutions**
+- **Protects the project from scope creep and architectural debt**
+- **Knows when to say "not yet" or "let's validate first"**
+- **Captures learnings systematically for future projects**
+
+---
+
+## The Pipeline Philosophy
+
+This pipeline is a **self-improving development system**. Every project that passes through it:
+
+1. Benefits from patterns learned in previous projects
+2. Contributes new patterns back to the system
+3. Compounds Eddie's ability to ship faster and cleaner
+
+Think of it like mycelium - the visible output (shipped code) is just the fruiting body. The real intelligence is the network underneath.
+
+---
+
+## Session Startup Protocol
+
+Every session, before diving into work:
+
+1. **Read CONTEXT.md** - Understand who Eddie is, how he works, current priorities
+2. **Check /projects/** - What's the active project? What phase is it in?
+3. **Scan recent LEARNINGS.md entries** - What did we just learn?
+4. **Ask**: "What's the highest-leverage thing we can do today?"
+
+---
+
+## Core Operating Principles
+
+### 1. Signal Over Noise
+Eddie values clean signal. Don't pad responses. Don't over-explain. If something is simple, keep it simple. Complexity only when complexity is earned.
+
+### 2. Build to Learn, Learn to Build
+Eddie learns by doing. Theory should immediately connect to action. If explaining a concept, tie it to something he can build or try right now.
+
+### 3. Energy, Frequency, Vibration
+Eddie sees systems through this lens. When explaining architecture or patterns, consider: What's the energy flow? What's the rhythm/frequency of this process? What resonates vs. creates dissonance?
+
+### 4. Design Thinking Foundation
+For anything substantial, apply design thinking:
+- **Empathize**: Who is this for? What do they actually need?
+- **Define**: What's the real problem?
+- **Ideate**: What are the options?
+- **Prototype**: What's the smallest thing we can build to learn?
+- **Test**: How do we know if it works?
+
+### 5. Nature Analogies (When They Fit)
+Eddie learns well through nature analogies - mycology, ecosystems, energy systems. Use them when they genuinely clarify. Don't force them.
+
+---
+
+## Decision Framework
+
+Before any significant technical decision, run through:
+
+1. **What problem are we actually solving?**
+2. **What are the options?** (minimum 2-3)
+3. **What are the tradeoffs of each?**
+4. **What's the simplest thing that could work?**
+5. **What would we need to be true for this to be the wrong choice?**
+6. **Is this reversible or irreversible?** (Be more careful with irreversible)
+
+Document decisions in the active project file.
+
+---
+
+## Scoping Discipline
+
+The Sr Dev's most important job is protecting scope. Before building anything:
+
+- **Is this in the critical path to v1?**
+- **Can this be deferred without blocking launch?**
+- **Is this a "need" or a "want"?**
+- **What's the cost of NOT doing this now?**
+
+When in doubt, cut scope. Ship, learn, iterate.
+
+---
+
+## Code Standards
+
+- **Readable > Clever** - Code is read more than written
+- **Small commits, clear messages** - Future Eddie will thank you
+- **Test the happy path first** - Then edge cases
+- **Comments explain WHY, not WHAT** - Code explains what
+- **Consistency > Perfection** - Match existing patterns in the codebase
+
+---
+
+## Learning Capture Protocol
+
+After every significant session:
+
+1. **What did we build/decide/learn?**
+2. **What broke or surprised us?**
+3. **What pattern emerged that's reusable?**
+4. **What would we do differently next time?**
+
+Add entries to `/logs/LEARNINGS.md` with date and project tag.
+
+---
+
+## File Navigation
+
+```
+/pipeline
+├── SYSTEM.md # [YOU ARE HERE] - Operating instructions
+├── CONTEXT.md # Eddie's background, preferences, active priorities
+├── /frameworks
+│ ├── DECISIONS.md # Decision-making frameworks
+│ ├── SCOPING.md # How to scope ruthlessly
+│ └── FAILURE_PATTERNS.md # What breaks and why
+├── /patterns
+│ ├── ARCHITECTURE.md # Reusable structural patterns
+│ ├── COMPONENTS.md # Code patterns that work
+│ └── ANTI_PATTERNS.md # What to avoid
+├── /projects
+│ ├── _TEMPLATE.md # Template for new projects
+│ └── [project].md # Active project files
+└── /logs
+ └── LEARNINGS.md # Captured insights
+```
+
+---
+
+## When Stuck
+
+If unclear on direction:
+1. Re-read the active project file
+2. Ask Eddie: "What does success look like for today's session?"
+3. Propose 2-3 options with tradeoffs
+4. Let Eddie choose, then execute
+
+Never spin. Surface confusion early.
+
+---
+
+## Remember
+
+You're not here to impress. You're here to ship.
+The goal is working software that solves real problems.
+Everything else is noise.
diff --git a/pipeline/frameworks/DECISIONS.md b/pipeline/frameworks/DECISIONS.md
new file mode 100644
index 0000000..70de027
--- /dev/null
+++ b/pipeline/frameworks/DECISIONS.md
@@ -0,0 +1,213 @@
+# DECISIONS.md
+## Decision-Making Framework for Technical Choices
+
+> A Sr Dev's value isn't knowing the right answer - it's knowing the right questions.
+
+---
+
+## The Core Questions
+
+Before any significant decision, answer these:
+
+### 1. What problem are we actually solving?
+- State it in one sentence
+- If you can't, the problem isn't clear yet
+- "Build X" is not a problem statement. "Users need Y" is.
+
+### 2. What are the constraints?
+- **Time**: When does this need to ship?
+- **Resources**: Just Eddie? Team? Budget?
+- **Technical**: What must we integrate with? What's already built?
+- **Knowledge**: What do we know how to do vs. need to learn?
+
+### 3. What are the options?
+- Always generate at least 2-3 options
+- Include "do nothing" or "defer" as a valid option
+- Include the "boring" option (proven tech, simple approach)
+
+### 4. What are the tradeoffs?
+For each option:
+- **Pros**: What does this give us?
+- **Cons**: What does this cost us?
+- **Risks**: What could go wrong?
+- **Reversibility**: Can we change our mind later?
+
+### 5. What's the simplest thing that could work?
+- Start here. Add complexity only when forced.
+- "We might need X later" is not a reason to build X now.
+
+### 6. What would make this the wrong choice?
+- Pre-mortem thinking
+- If we learn X, does this decision still hold?
+- What assumptions are we making?
+
+---
+
+## Decision Types
+
+### Reversible vs. Irreversible
+
+**Reversible** (move fast, course-correct):
+- Library/framework choices (usually)
+- UI patterns
+- Most feature implementations
+- File structure
+
+**Irreversible** (slow down, think hard):
+- Database schema (core entities)
+- Authentication/authorization model
+- Public API contracts
+- Data architecture (what you store, how you access it)
+- Platform choice (iOS vs. Android vs. Web vs. all)
+
+### Now vs. Later
+
+**Decide Now**:
+- Blocking current work
+- Affects other decisions downstream
+- Cost of delay > cost of being wrong
+
+**Decide Later**:
+- More information coming
+- Not blocking anything
+- Reversible anyway
+
+---
+
+## Platform Decision Framework
+
+*Specific to Eddie's common question: iOS/Android/Web*
+
+### Questions to Ask
+
+1. **Where are your users?**
+ - Consumer app → Mobile-first likely
+ - Business tool → Web-first likely
+ - Creative tool → Depends on workflow
+
+2. **What native capabilities do you need?**
+ - Camera, GPS, sensors → Native or React Native
+ - Files, offline → Native handles better
+ - Just data display/input → Web/PWA fine
+
+3. **What's your iteration speed need?**
+ - Web deploys instantly
+ - Mobile has app store delays
+ - If learning fast matters, web first
+
+4. **What's your maintenance capacity?**
+ - Each platform = ongoing cost
+ - Cross-platform reduces but doesn't eliminate
+
+### Common Patterns
+
+| Situation | Recommendation |
+|-----------|----------------|
+| Validating idea fast | Web (PWA if mobile feel needed) |
+| Consumer app, broad reach | React Native or Flutter |
+| Performance-critical native features | Native iOS + Native Android |
+| Internal tool / small audience | Web |
+| Existing web app, adding mobile | React Native (share logic) |
+
+---
+
+## Technology Selection Framework
+
+### The Boring Technology Principle
+
+> "Choose boring technology." - Dan McKinley
+
+Every new technology has a learning curve, unknown failure modes, and integration cost. You have a limited "innovation budget."
+
+**Spend innovation tokens on**:
+- Your core differentiator
+- Problems with no boring solution
+
+**Use boring tech for**:
+- Everything else
+
+### Questions for Technology Choices
+
+1. **Who else uses this in production?**
+ - Large-scale usage = battle-tested
+ - "Hot new thing" = you're the beta tester
+
+2. **What's the community/support like?**
+ - Stack Overflow answers?
+ - Active maintenance?
+ - Documentation quality?
+
+3. **Does it fit the existing stack?**
+ - Consistency has value
+ - Adding a new language/framework has cost
+
+4. **What's the escape hatch?**
+ - If this doesn't work, how do we migrate?
+ - Avoid lock-in on critical paths
+
+---
+
+## Documentation Template
+
+When making a significant decision, document it:
+
+```markdown
+## Decision: [Title]
+**Date**: YYYY-MM-DD
+**Status**: Proposed / Accepted / Superseded
+**Project**: [Project Name]
+
+### Context
+What situation are we in? What forced this decision?
+
+### Options Considered
+1. **Option A**: [Description]
+ - Pros: ...
+ - Cons: ...
+
+2. **Option B**: [Description]
+ - Pros: ...
+ - Cons: ...
+
+### Decision
+We chose [Option X] because [reasoning].
+
+### Consequences
+- We will need to...
+- This means we can't easily...
+- We're accepting the tradeoff of...
+
+### Review Trigger
+Revisit this decision if: [conditions that would change the calculus]
+```
+
+---
+
+## Anti-Patterns in Decision Making
+
+❌ **Analysis Paralysis**: Researching forever, never deciding
+→ Set a timebox. Decide with 70% confidence.
+
+❌ **Hype-Driven Development**: Choosing tech because it's trending
+→ Ask: "Who's using this in production at scale?"
+
+❌ **Resume-Driven Development**: Choosing tech to learn something cool
+→ Ask: "Does this serve the project or just me?"
+
+❌ **Premature Optimization**: Building for scale you don't have
+→ Ask: "What's the actual load today? In 6 months?"
+
+❌ **Sunk Cost Commitment**: Sticking with bad choice because you invested
+→ Ask: "If starting fresh today, would I choose this?"
+
+---
+
+## Remember
+
+> "The best decision is often the one that preserves optionality."
+
+When uncertain:
+- Defer irreversible decisions
+- Make reversible bets
+- Build to learn, not to last
+- Ship and iterate
diff --git a/pipeline/frameworks/FAILURE_PATTERNS.md b/pipeline/frameworks/FAILURE_PATTERNS.md
new file mode 100644
index 0000000..10e6038
--- /dev/null
+++ b/pipeline/frameworks/FAILURE_PATTERNS.md
@@ -0,0 +1,182 @@
+# FAILURE_PATTERNS.md
+## What Breaks and Why
+
+> Failures are tuition. This file is the curriculum.
+
+---
+
+## How to Use This File
+
+When something breaks, add it here. When starting something new, scan for relevant patterns. The goal is to fail at new things, not repeat old failures.
+
+---
+
+## Architecture Failures
+
+### The Monolith That Should've Been Modular
+**Pattern**: Building everything in one file/component early on, then struggling to untangle.
+**Symptom**: Changes in one area break unrelated features.
+**Prevention**: Separate concerns early. Even if it's "just a prototype."
+**Recovery**: Incremental extraction. Don't rewrite - refactor piece by piece.
+
+### The Premature Microservice
+**Pattern**: Splitting into services before you understand the domain.
+**Symptom**: Distributed system complexity without distributed system benefits.
+**Prevention**: Start monolith, extract services when you feel specific pain.
+**Recovery**: Merge back. Seriously. It's okay.
+
+### The Shared Database Trap
+**Pattern**: Multiple services writing to the same database tables.
+**Symptom**: Mysterious data corruption, unclear ownership, migration nightmares.
+**Prevention**: Each service owns its data. Others request through APIs.
+**Recovery**: Slow migration to service-owned data. Painful but necessary.
+
+---
+
+## State Management Failures
+
+### State Everywhere
+**Pattern**: Component state scattered across the app with no clear source of truth.
+**Symptom**: UI shows stale data, sync bugs, "works on my machine."
+**Prevention**: Decide on state management approach early. Stick to it.
+**Recovery**: Audit all state, consolidate to single source of truth.
+
+### The Infinite Re-render
+**Pattern**: State updates triggering state updates triggering state updates.
+**Symptom**: Slow UI, browser freezing, useEffect loops.
+**Prevention**: Understand your render cycle. Avoid effects that write state.
+**Recovery**: Trace the loop. Usually one bad dependency array.
+
+---
+
+## API Failures
+
+### The Chatty API
+**Pattern**: Frontend making dozens of requests to render one view.
+**Symptom**: Slow load times, waterfall requests, race conditions.
+**Prevention**: Design APIs around views/use cases, not just resources.
+**Recovery**: Add aggregation endpoints or BFF (Backend for Frontend).
+
+### The Breaking Change
+**Pattern**: Changing API response shape, breaking all clients.
+**Symptom**: App crashes after "simple" backend change.
+**Prevention**: Version your APIs. Add fields, don't remove. Deprecate slowly.
+**Recovery**: Hotfix rollback, then proper versioning.
+
+### The N+1 Query
+**Pattern**: Fetching a list, then fetching related data one-by-one.
+**Symptom**: 100 items = 101 database queries = slow.
+**Prevention**: Eager loading, batching, or GraphQL dataloaders.
+**Recovery**: Profile queries, add batch fetching.
+
+---
+
+## Frontend Failures
+
+### The Component That Does Everything
+**Pattern**: One component handling display, data fetching, state, and business logic.
+**Symptom**: 500+ line component, impossible to test, everyone fears touching it.
+**Prevention**: Separate concerns: container/presenter, hooks for logic.
+**Recovery**: Incremental extraction. One responsibility at a time.
+
+### The CSS Specificity War
+**Pattern**: Overriding styles with more and more specific selectors.
+**Symptom**: `!important` everywhere, styles that won't die.
+**Prevention**: CSS methodology (BEM, CSS modules, Tailwind). Low specificity.
+**Recovery**: Audit and reset. Often easier to rebuild component styles.
+
+### The Uncontrolled Form
+**Pattern**: Mixing controlled and uncontrolled inputs without realizing.
+**Symptom**: Form values don't update, or update twice, or clear randomly.
+**Prevention**: Pick one pattern per form. Controlled is usually clearer.
+**Recovery**: Audit inputs, make all controlled (or all uncontrolled).
+
+---
+
+## Data Failures
+
+### The Missing Migration
+**Pattern**: Schema changes without proper migration, breaking existing data.
+**Symptom**: Old records crash the app. "It works locally."
+**Prevention**: Migration scripts. Test against production-like data.
+**Recovery**: Write backfill script, fix data, then fix code.
+
+### The Null Assumption
+**Pattern**: Assuming data exists when it might be null/undefined.
+**Symptom**: "Cannot read property X of undefined"
+**Prevention**: Defensive coding. TypeScript helps. Validate at boundaries.
+**Recovery**: Add null checks, trace where bad data originates.
+
+### The Timezone Bug
+**Pattern**: Storing or displaying times without considering timezones.
+**Symptom**: Events showing wrong times, data appearing on wrong days.
+**Prevention**: Store UTC, convert for display. Use date library.
+**Recovery**: Audit all date handling, standardize to UTC + explicit conversion.
+
+---
+
+## Process Failures
+
+### The Missing Acceptance Criteria
+**Pattern**: Building without clear definition of "done."
+**Symptom**: Endless revisions, "that's not what I meant."
+**Prevention**: Write acceptance criteria before coding. Get sign-off.
+**Recovery**: Stop. Clarify. Then proceed.
+
+### The Review Bottleneck
+**Pattern**: Big PRs that take forever to review.
+**Symptom**: Branches diverge, merge conflicts, stale feedback.
+**Prevention**: Small PRs. Daily. Stack if needed.
+**Recovery**: Break up the PR. Merge incrementally.
+
+### The Silent Failure
+**Pattern**: Errors caught and swallowed, no logging.
+**Symptom**: "Something's wrong but we don't know what."
+**Prevention**: Log errors. Alert on anomalies. Fail loud in dev.
+**Recovery**: Add logging, trace issues, then add monitoring.
+
+---
+
+## Project Failures
+
+### The Infinite Planning Phase
+**Pattern**: Researching, discussing, planning... but never building.
+**Symptom**: Lots of docs, no code. Weeks pass.
+**Prevention**: Timebox planning. Build to learn. Iterate.
+**Recovery**: Stop planning. Build the smallest thing. Learn from it.
+
+### The Big Rewrite
+**Pattern**: "Let's throw it away and rebuild from scratch."
+**Symptom**: New codebase, same problems, plus 6 months gone.
+**Prevention**: Incremental improvement. Strangler fig pattern.
+**Recovery**: If already started, cut scope ruthlessly. Ship something.
+
+### The Creeping MVP
+**Pattern**: MVP scope grows until it's not minimum at all.
+**Symptom**: "Just one more feature before launch." Repeat forever.
+**Prevention**: Write MVP scope. Lock it. Launch date is real.
+**Recovery**: Cut back to original scope. Launch. Iterate.
+
+---
+
+## Adding New Failures
+
+When something breaks:
+
+```markdown
+### [Failure Name]
+**Pattern**: What happened / what we did wrong
+**Symptom**: How we noticed / what broke
+**Prevention**: What we should do next time
+**Recovery**: How we fixed it (or would fix it)
+**Project**: [Where this happened]
+**Date**: YYYY-MM-DD
+```
+
+---
+
+## Remember
+
+> "Experience is what you get when you didn't get what you wanted."
+
+Every failure here is a lesson learned. The goal isn't to never fail - it's to fail forward, and never fail the same way twice.
diff --git a/pipeline/frameworks/SCOPING.md b/pipeline/frameworks/SCOPING.md
new file mode 100644
index 0000000..29d98cd
--- /dev/null
+++ b/pipeline/frameworks/SCOPING.md
@@ -0,0 +1,190 @@
+# SCOPING.md
+## How to Scope Ruthlessly Without Killing Value
+
+> The art of shipping is the art of cutting.
+
+---
+
+## The Scoping Mindset
+
+**Every feature has a cost**:
+- Time to build
+- Time to maintain
+- Complexity added
+- Surface area for bugs
+- Cognitive load on users
+
+**Most features aren't worth it.** The ones that are? Ship those.
+
+---
+
+## The Core Question
+
+For every feature, ask:
+
+> "If we shipped without this, would anyone notice? Would it matter?"
+
+If the answer is "probably not" - cut it.
+
+---
+
+## The MoSCoW Method (Modified)
+
+### Must Have
+- Without this, the product doesn't work
+- Users literally cannot accomplish the core task
+- **Be ruthless here** - most "musts" are actually "shoulds"
+
+### Should Have
+- Significant value, but product functions without it
+- First candidates for v1.1
+
+### Could Have
+- Nice to have
+- Build if time permits (it won't)
+
+### Won't Have (This Time)
+- Explicitly out of scope
+- Write it down so you don't relitigate
+
+---
+
+## Scoping Questions
+
+### Is This Core?
+
+```
+User Goal: [What they're trying to accomplish]
+Core Path: [Minimum steps to accomplish it]
+
+Does this feature serve the core path?
+- Yes → Consider keeping
+- No → Cut or defer
+```
+
+### The 80/20 Check
+
+> 80% of value comes from 20% of features.
+
+Ask:
+- Which 20% of planned features deliver 80% of value?
+- Build those. Defer the rest.
+
+### The Fake Launch Test
+
+Imagine launching tomorrow with only what's built today.
+- What would break? (Must have)
+- What would disappoint? (Should have)
+- What wouldn't anyone notice? (Cut it)
+
+---
+
+## Common Scope Traps
+
+### "While We're In There..."
+**Trap**: Adding features because you're already touching that code.
+**Reality**: Each addition compounds. Stay focused.
+**Rule**: If it's not on the list, it doesn't go in this PR.
+
+### "Users Might Want..."
+**Trap**: Building for imaginary users with imaginary needs.
+**Reality**: You don't know what users want until they use it.
+**Rule**: Ship, watch, learn, then build.
+
+### "It's Just a Small Thing..."
+**Trap**: Small things add up to big delays.
+**Reality**: 10 "small things" = 1 big thing you didn't plan for.
+**Rule**: Small things go in the backlog like everything else.
+
+### "We'll Need This Eventually..."
+**Trap**: Building for future needs that may never come.
+**Reality**: Requirements change. Future you has more information.
+**Rule**: Build for now. Refactor when "eventually" becomes "now."
+
+### "The Right Way..."
+**Trap**: Over-engineering for elegance.
+**Reality**: Working > perfect. Ship teaches you what "right" means.
+**Rule**: Do it the simple way first. Refactor when you feel pain.
+
+---
+
+## Deferral Strategies
+
+Not everything needs to be cut - some things just need to wait.
+
+### The Stub Strategy
+Build the interface, stub the implementation.
+```javascript
+function advancedFeature() {
+ // TODO: v1.1
+ return "Coming soon!";
+}
+```
+Ship with the hook. Fill in later.
+
+### The Manual Strategy
+Don't automate what can be done manually at low volume.
+- 10 users? Handle edge cases manually.
+- 1000 users? Now automate.
+
+### The Waitlist Strategy
+Show the feature exists, but gate access.
+- Validates demand
+- Buys time to build
+- Creates urgency
+
+---
+
+## Scope Documentation
+
+For each project, maintain:
+
+```markdown
+## [Project] Scope Definition
+
+### v1.0 - MVP (Ship Date: X)
+Must Have:
+- [ ] Feature A
+- [ ] Feature B
+
+Should Have (if time):
+- [ ] Feature C
+
+### v1.1 - Fast Follow
+- [ ] Feature D
+- [ ] Feature E
+
+### Backlog (Maybe Never)
+- Feature F
+- Feature G
+
+### Explicitly Out of Scope
+- Feature H (reason: ...)
+- Feature I (reason: ...)
+```
+
+---
+
+## The Scope Conversation
+
+When Eddie proposes a feature, the Sr Dev response:
+
+1. **Acknowledge**: "That's a good idea."
+2. **Locate**: "Is this v1, v1.1, or backlog?"
+3. **Challenge**: "What breaks if we ship without it?"
+4. **Decide**: Add to appropriate list, move on.
+
+Don't debate. Categorize. Keep moving.
+
+---
+
+## Remember
+
+> "Shipping is a feature. The most important one."
+
+- Unshipped code helps no one
+- Perfect is the enemy of shipped
+- You learn more from users than from planning
+- Scope will always grow; your job is to prune
+
+The goal isn't to build everything. It's to build the right things, and ship them.
diff --git a/pipeline/logs/LEARNINGS.md b/pipeline/logs/LEARNINGS.md
new file mode 100644
index 0000000..21d6b57
--- /dev/null
+++ b/pipeline/logs/LEARNINGS.md
@@ -0,0 +1,131 @@
+# LEARNINGS.md
+## Captured Insights from Projects
+
+> Every project teaches something. This is where those lessons live.
+
+---
+
+## How to Use This File
+
+**Adding entries**: After every significant session or discovery, add an entry with:
+- Date
+- Project tag
+- What happened
+- What we learned
+- Whether it should become a pattern
+
+**Reviewing entries**: Scan periodically for patterns that should be extracted to `/patterns/` or `/frameworks/`.
+
+---
+
+## 2026
+
+### 2026-01-01 | Pipeline | Pipeline Architecture
+
+**What happened**: Created the development pipeline - the system that builds systems.
+
+**What we learned**:
+- A pipeline is only useful if Claude Code reads it every session
+- Structure matters: SYSTEM.md first, then CONTEXT.md, then project-specific
+- Frameworks (decision, scoping, failures) should be separate from patterns (reusable code)
+- Projects need their own files with session logs
+
+**Pattern extracted**: Pipeline file structure itself is now the template.
+
+**Energy note**: High signal, clean structure = good resonance for future work.
+
+---
+
+### 2026-01-01 | Pipeline | Integration into Claude Settings
+
+**What happened**: Built and integrated pipeline into `~/.claude/pipeline/`. Added two new files beyond original design.
+
+**What we learned**:
+- HANDOFF.md is critical for session continuity — original design had LEARNINGS but no "where we left off"
+- STACK.md codifies default tech choices — saves re-deciding Next.js/Supabase/Vercel every project
+- CLAUDE.md should reference pipeline, not duplicate it — single source of truth
+- Pipeline commands need to map to ID8Pipeline stages — not a replacement, an enhancement
+
+**Should this become a pattern?**: Yes — the integration approach (reference vs. duplicate)
+
+**Tags**: #architecture #process #integration
+
+---
+
+### 2026-01-02 | Pipeline | First Pipeline Test (MILO)
+
+**What happened**: Tested pipeline mechanics by creating a MILO project file and running through stages. Discovered MILO already exists as a shipped Electron app (v0.3.0) at Stage 11.
+
+**What we learned**:
+- Always check `~/Development/` for existing projects before creating new pipeline files
+- The pipeline needs a "sync with existing repo" command — not just "new project"
+- MILO's 3-day build cycle (Dec 28-30) proves focused execution can collapse multiple stages
+- Project file should link to repo's PIPELINE_STATUS.md for source of truth
+
+**Should this become a pattern?**: Yes — add `sync project [name]` command to pull status from existing repo
+
+**Pattern extracted**: ✅ Added to CLAUDE.md (Sync Project Protocol + command)
+
+**Tags**: #process #testing #pipeline
+
+---
+
+## Template
+
+```markdown
+### YYYY-MM-DD | [Project] | [Brief Title]
+
+**What happened**:
+[What we did or what occurred]
+
+**What we learned**:
+[The insight - be specific]
+
+**Should this become a pattern?**: [Yes/No/Maybe]
+[If yes, which pattern file should it go in?]
+
+**Tags**: #architecture #debugging #process #frontend #backend #decision
+```
+
+---
+
+## Index by Theme
+
+### Architecture Decisions
+- [2026-01-01] Pipeline structure design
+- [2026-01-01] Integration into Claude settings (reference vs. duplicate)
+
+### Debugging Lessons
+- [Add as they happen]
+
+### Process Improvements
+- [2026-01-01] HANDOFF.md for session continuity
+
+### Frontend Patterns
+- [Add as they happen]
+
+### Backend Patterns
+- [Add as they happen]
+
+### Things That Broke
+- [Add as they happen]
+
+---
+
+## Pending Pattern Extraction
+
+> Learnings that have appeared 2-3 times and should become formal patterns
+
+- [ ] None yet - will populate as projects progress
+
+---
+
+## Quarterly Review Prompts
+
+Every quarter, ask:
+
+1. What themes keep appearing in learnings?
+2. What failures repeated? (Those need stronger patterns)
+3. What successes should be codified?
+4. Is the pipeline structure still working?
+5. What's missing that would have helped?
diff --git a/pipeline/patterns/ANTI_PATTERNS.md b/pipeline/patterns/ANTI_PATTERNS.md
new file mode 100644
index 0000000..4c5e8ef
--- /dev/null
+++ b/pipeline/patterns/ANTI_PATTERNS.md
@@ -0,0 +1,293 @@
+# ANTI_PATTERNS.md
+## What to Avoid
+
+> These patterns seem like good ideas. They're not.
+
+---
+
+## Code Anti-Patterns
+
+### The God Component
+
+**What it looks like**:
+```jsx
+function Dashboard() {
+ // 500+ lines
+ // Fetches 5 different data sources
+ // Manages 12 pieces of state
+ // Contains all business logic
+ // Renders everything
+}
+```
+
+**Why it's bad**: Impossible to test, understand, or modify without breaking something.
+
+**What to do instead**: Break into smaller components. Container/presenter pattern. Extract hooks for logic.
+
+---
+
+### Prop Drilling Hell
+
+**What it looks like**:
+```jsx
+<App user={user}>
+ <Layout user={user}>
+ <Sidebar user={user}>
+ <UserMenu user={user} /> // Finally used here
+ </Sidebar>
+ </Layout>
+</App>
+```
+
+**Why it's bad**: Every component in the chain knows about data it doesn't use. Changes cascade.
+
+**What to do instead**: Context for truly global state. Composition patterns. Component props slicing.
+
+---
+
+### useEffect for Everything
+
+**What it looks like**:
+```jsx
+useEffect(() => {
+ setDerivedValue(computeFromProps(props));
+}, [props]);
+
+useEffect(() => {
+ if (condition) {
+ doSomething();
+ }
+}, [condition]);
+```
+
+**Why it's bad**: Effects are for synchronizing with external systems, not for reacting to state changes. Creates render loops, stale closures.
+
+**What to do instead**:
+- Derived state? Compute during render.
+- Event response? Handle in event handler.
+- External sync? That's what effects are for.
+
+---
+
+### Boolean Blindness
+
+**What it looks like**:
+```typescript
+function createUser(name: string, isAdmin: boolean, isActive: boolean, sendEmail: boolean)
+
+createUser("Eddie", true, false, true); // What do these mean?
+```
+
+**Why it's bad**: Call sites are unreadable. Easy to swap arguments.
+
+**What to do instead**:
+```typescript
+function createUser(options: {
+ name: string;
+ role: 'admin' | 'user';
+ status: 'active' | 'inactive';
+ notifications: 'email' | 'none';
+})
+
+createUser({ name: "Eddie", role: 'admin', status: 'inactive', notifications: 'email' });
+```
+
+---
+
+### String Typing
+
+**What it looks like**:
+```typescript
+function handleStatus(status: string) {
+ if (status === "pending") { ... }
+ if (status === "pendnig") { ... } // Typo - no error!
+}
+```
+
+**Why it's bad**: No autocomplete, no typo protection, no exhaustiveness checking.
+
+**What to do instead**:
+```typescript
+type Status = 'pending' | 'active' | 'complete';
+
+function handleStatus(status: Status) {
+ // TypeScript will catch typos and ensure all cases handled
+}
+```
+
+---
+
+### Copy-Paste Inheritance
+
+**What it looks like**:
+```typescript
+// In ComponentA
+const handleSubmit = async () => {
+ setLoading(true);
+ try { await api.submit(data); }
+ catch (e) { setError(e); }
+ finally { setLoading(false); }
+};
+
+// In ComponentB - exact same code
+const handleSubmit = async () => {
+ setLoading(true);
+ try { await api.submit(data); }
+ catch (e) { setError(e); }
+ finally { setLoading(false); }
+};
+```
+
+**Why it's bad**: Bug in one place means bug in all copied places. Changes require hunting down all copies.
+
+**What to do instead**: Extract shared logic into hooks, utilities, or shared components.
+
+---
+
+## Architecture Anti-Patterns
+
+### Premature Abstraction
+
+**What it looks like**: Creating a "flexible" system before you understand the use cases.
+
+**Why it's bad**: You'll abstract the wrong things. The abstraction becomes a constraint.
+
+**What to do instead**: Write concrete code first. Abstract after you see the pattern 3 times.
+
+> "Duplication is far cheaper than the wrong abstraction." - Sandi Metz
+
+---
+
+### The Junk Drawer
+
+**What it looks like**:
+```
+/utils
+ helpers.ts // 2000 lines
+ misc.ts // "miscellaneous" functions
+ common.ts // used by... everything?
+```
+
+**Why it's bad**: No discoverability. Everything depends on everything. Can't delete anything.
+
+**What to do instead**: Organize by domain or feature. Small, focused modules. Clear names.
+
+---
+
+### Config Soup
+
+**What it looks like**:
+```typescript
+const config = {
+ API_URL: process.env.API_URL || process.env.NEXT_PUBLIC_API_URL || 'http://localhost',
+ DEBUG: process.env.DEBUG === 'true' || process.env.NODE_ENV === 'development',
+ // 50 more like this
+}
+```
+
+**Why it's bad**: Hard to know what's required vs optional. Different in every environment. Bugs hide here.
+
+**What to do instead**: Validate config at startup. Fail fast on missing required values. Type your config.
+
+---
+
+### The Database as Message Queue
+
+**What it looks like**: Polling a "jobs" table every second to find work.
+
+**Why it's bad**: Inefficient. Doesn't scale. Race conditions. DB load.
+
+**What to do instead**: Use a real queue (Redis, SQS, etc.) or event system when you need async processing.
+
+---
+
+### The Distributed Monolith
+
+**What it looks like**: Microservices that all deploy together and call each other synchronously.
+
+**Why it's bad**: All the complexity of distributed systems, none of the benefits.
+
+**What to do instead**: If everything changes together, it's a monolith. Embrace it. Split when you feel specific pain.
+
+---
+
+## Process Anti-Patterns
+
+### The Infinite Refactor
+
+**What it looks like**: "Let me just clean this up before we move on..."
+
+**Why it's bad**: Refactoring without shipping is gardening without harvesting.
+
+**What to do instead**: Ship first. Refactor when you're going back to that code anyway.
+
+---
+
+### The Perfect PR
+
+**What it looks like**: 2000-line PR that rewrites everything "properly."
+
+**Why it's bad**: Impossible to review. High risk of bugs. Blocks other work.
+
+**What to do instead**: Small PRs. Ship incremental improvements. Stack PRs if needed.
+
+---
+
+### The TODO Graveyard
+
+**What it looks like**:
+```typescript
+// TODO: fix this hack
+// TODO: handle edge case
+// TODO: refactor later
+// TODO from 2019: still here
+```
+
+**Why it's bad**: TODOs are good intentions that rarely become actions.
+
+**What to do instead**: If it matters, create an issue. If it doesn't, delete the TODO.
+
+---
+
+### Comment-Driven Development
+
+**What it looks like**:
+```typescript
+// First we get the user
+const user = getUser();
+// Then we check if they're admin
+if (user.isAdmin) {
+ // If admin, show admin panel
+ showAdminPanel();
+}
+```
+
+**Why it's bad**: Comments that explain WHAT code does are just noise. Comments go stale.
+
+**What to do instead**: Write self-documenting code. Comments explain WHY, not WHAT.
+
+---
+
+## Adding New Anti-Patterns
+
+When you encounter a pattern to avoid:
+
+```markdown
+### [Anti-Pattern Name]
+
+**What it looks like**: [Example code or description]
+
+**Why it's bad**: [The actual problem it causes]
+
+**What to do instead**: [Better approach]
+
+**Encountered in**: [Project where you learned this]
+```
+
+---
+
+## Remember
+
+> "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler
+
+The goal isn't clever code. It's clear code that works.
diff --git a/pipeline/patterns/ARCHITECTURE.md b/pipeline/patterns/ARCHITECTURE.md
new file mode 100644
index 0000000..aad652e
--- /dev/null
+++ b/pipeline/patterns/ARCHITECTURE.md
@@ -0,0 +1,322 @@
+# ARCHITECTURE.md
+## Reusable Architectural Patterns
+
+> Good architecture is frozen decisions. This file is the freezer.
+
+---
+
+## How to Use This File
+
+- Starting a new project? Scan for relevant patterns.
+- Find a pattern that fits? Adapt it, don't adopt blindly.
+- Discover a new pattern? Add it here.
+
+---
+
+## Web App Patterns
+
+### The Classic SPA
+
+**When to use**: Interactive app, authenticated users, complex state.
+
+```
+┌─────────────────────────────────────────────────┐
+│ Frontend (React/Vue) │
+│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
+│ │ Pages/ │ │ State │ │ API │ │
+│ │ Routes │ │ Store │ │ Client │ │
+│ └───────────┘ └───────────┘ └───────────┘ │
+└───────────────────────┬─────────────────────────┘
+ │ REST/GraphQL
+ ▼
+┌─────────────────────────────────────────────────┐
+│ Backend (Node/Python) │
+│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
+│ │ Routes/ │ │ Business │ │ Data │ │
+│ │ Controllers│ │ Logic │ │ Access │ │
+│ └───────────┘ └───────────┘ └───────────┘ │
+└───────────────────────┬─────────────────────────┘
+ │
+ ▼
+ ┌───────────┐
+ │ Database │
+ └───────────┘
+```
+
+**Key decisions**:
+- State management: Zustand (simple), Redux (complex), React Query (server state)
+- API: REST for CRUD-heavy, GraphQL for flexible queries
+- Auth: JWT in httpOnly cookie, refresh token rotation
+
+---
+
+### The Serverless App
+
+**When to use**: Variable load, cost-sensitive, event-driven.
+
+```
+┌──────────────────────────────────────────────────────┐
+│ Frontend (Static) │
+│ Hosted on CDN (Vercel/Netlify) │
+└───────────────────────┬──────────────────────────────┘
+ │
+ ▼
+┌──────────────────────────────────────────────────────┐
+│ API Layer │
+│ Serverless Functions (Edge/Lambda) │
+│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
+│ │ /api/x │ │ /api/y │ │ /api/z │ │
+│ └─────────┘ └─────────┘ └─────────┘ │
+└───────────────────────┬──────────────────────────────┘
+ │
+ ┌─────────────┼─────────────┐
+ ▼ ▼ ▼
+ ┌──────────┐ ┌──────────┐ ┌──────────┐
+ │ Database │ │ Storage │ │ 3rd Party│
+ │ (Supabase│ │ (S3/R2) │ │ APIs │
+ │ /Neon) │ │ │ │ │
+ └──────────┘ └──────────┘ └──────────┘
+```
+
+**Key decisions**:
+- Cold starts matter for user-facing functions
+- Edge functions for auth/redirects
+- Managed database (Supabase, PlanetScale, Neon)
+- Watch for vendor lock-in
+
+---
+
+### The AI-Augmented App
+
+**When to use**: LLM integration, generation features, semantic search.
+
+```
+┌─────────────────────────────────────────────────┐
+│ Frontend │
+│ ┌─────────────────────────────────────────┐ │
+│ │ Streaming Response Handler │ │
+│ │ Optimistic UI for generation │ │
+│ └─────────────────────────────────────────┘ │
+└───────────────────────┬─────────────────────────┘
+ │
+ ▼
+┌─────────────────────────────────────────────────┐
+│ Backend │
+│ ┌───────────────┐ ┌───────────────────────┐ │
+│ │ Prompt │ │ Context Management │ │
+│ │ Engineering │ │ (RAG, embeddings) │ │
+│ └───────────────┘ └───────────────────────┘ │
+└───────┬─────────────────────┬───────────────────┘
+ │ │
+ ▼ ▼
+ ┌───────────┐ ┌───────────────┐
+ │ LLM API │ │ Vector DB │
+ │ (Claude, │ │ (Pinecone, │
+ │ OpenAI) │ │ Supabase) │
+ └───────────┘ └───────────────┘
+```
+
+**Key decisions**:
+- Streaming responses for UX (SSE or WebSocket)
+- Prompt versioning (track what works)
+- Rate limiting and cost controls
+- Fallbacks for API failures
+
+---
+
+## Data Patterns
+
+### The Document Store Pattern
+
+**When to use**: Flexible schema, nested data, rapid iteration.
+
+```javascript
+// User with embedded preferences and history
+{
+ id: "user_123",
+ email: "[email protected]",
+ profile: {
+ name: "Eddie",
+ avatar: "...",
+ },
+ preferences: {
+ theme: "dark",
+ notifications: true
+ },
+ recentProjects: [
+ { id: "proj_1", name: "ID8Composer", lastOpened: "..." }
+ ]
+}
+```
+
+**Good for**: User profiles, content with metadata, config.
+**Bad for**: Highly relational data, complex queries across entities.
+
+---
+
+### The Event Sourcing Pattern
+
+**When to use**: Need full history, undo/redo, audit trail.
+
+```
+Events (immutable log):
+┌────────────────────────────────────────────┐
+│ { type: "CREATED", data: {...}, ts: T1 } │
+│ { type: "UPDATED", data: {...}, ts: T2 } │
+│ { type: "RENAMED", data: {...}, ts: T3 } │
+└────────────────────────────────────────────┘
+ │
+ ▼ (replay/project)
+ ┌───────────┐
+ │ Current │
+ │ State │
+ └───────────┘
+```
+
+**Good for**: Version control, collaborative editing, compliance.
+**Bad for**: Simple CRUD, high-frequency updates.
+
+*Note: ID8Composer uses this for semantic versioning.*
+
+---
+
+### The CQRS Pattern
+
+**When to use**: Read and write patterns are very different.
+
+```
+Commands (writes): Queries (reads):
+┌────────────────┐ ┌────────────────┐
+│ Create, Update │ │ List, Search │
+│ Delete │ │ Aggregate │
+└───────┬────────┘ └───────┬────────┘
+ │ │
+ ▼ ▼
+ ┌──────────┐ (sync/event) ┌──────────────┐
+ │ Write DB │ ──────────────▶ │ Read DB/View │
+ └──────────┘ └──────────────┘
+```
+
+**Good for**: High-read applications, complex reporting, search.
+**Bad for**: Simple apps, strong consistency requirements.
+
+---
+
+## Frontend Component Patterns
+
+### Container/Presenter
+
+Separate data fetching from display.
+
+```jsx
+// Container (handles data)
+function ProjectListContainer() {
+ const { data, loading } = useProjects();
+ return <ProjectList projects={data} loading={loading} />;
+}
+
+// Presenter (handles display)
+function ProjectList({ projects, loading }) {
+ if (loading) return <Skeleton />;
+ return projects.map(p => <ProjectCard key={p.id} {...p} />);
+}
+```
+
+---
+
+### Compound Components
+
+Components that work together, share implicit state.
+
+```jsx
+// Usage
+<Tabs>
+ <Tabs.List>
+ <Tabs.Tab>One</Tabs.Tab>
+ <Tabs.Tab>Two</Tabs.Tab>
+ </Tabs.List>
+ <Tabs.Panels>
+ <Tabs.Panel>Content 1</Tabs.Panel>
+ <Tabs.Panel>Content 2</Tabs.Panel>
+ </Tabs.Panels>
+</Tabs>
+```
+
+**Good for**: Complex UI components (tabs, accordions, dropdowns).
+
+---
+
+### Render Props / Hooks
+
+Share logic without sharing UI.
+
+```jsx
+// Hook approach (preferred)
+function useToggle(initial = false) {
+ const [on, setOn] = useState(initial);
+ const toggle = () => setOn(!on);
+ return { on, toggle, setOn };
+}
+
+// Usage
+function Component() {
+ const { on, toggle } = useToggle();
+ return <button onClick={toggle}>{on ? 'ON' : 'OFF'}</button>;
+}
+```
+
+---
+
+## API Patterns
+
+### RESTful Resource Pattern
+
+```
+GET /projects → List all
+GET /projects/:id → Get one
+POST /projects → Create
+PATCH /projects/:id → Update
+DELETE /projects/:id → Delete
+
+Nested resources:
+GET /projects/:id/versions
+POST /projects/:id/versions
+```
+
+---
+
+### Action-Based API Pattern
+
+When REST doesn't fit (complex operations):
+
+```
+POST /projects/:id/actions/publish
+POST /projects/:id/actions/duplicate
+POST /projects/:id/actions/export
+```
+
+---
+
+## Adding New Patterns
+
+When you discover/create a pattern:
+
+```markdown
+### [Pattern Name]
+
+**When to use**: [Situations where this fits]
+
+[Diagram or code example]
+
+**Good for**: [Strengths]
+**Bad for**: [Weaknesses]
+**Project**: [Where this was used]
+```
+
+---
+
+## Remember
+
+> "Patterns are not rules. They're starting points."
+
+Adapt patterns to your context. The best architecture is the one that ships and can evolve.
diff --git a/pipeline/patterns/COMPONENTS.md b/pipeline/patterns/COMPONENTS.md
new file mode 100644
index 0000000..996e447
--- /dev/null
+++ b/pipeline/patterns/COMPONENTS.md
@@ -0,0 +1,439 @@
+# COMPONENTS.md
+## Code Patterns That Work
+
+> Patterns extracted from real projects. Copy, adapt, ship.
+
+---
+
+## React Patterns
+
+### Async State Hook
+
+Handle loading/error/data states cleanly.
+
+```typescript
+type AsyncState<T> =
+ | { status: 'idle' }
+ | { status: 'loading' }
+ | { status: 'success'; data: T }
+ | { status: 'error'; error: Error };
+
+function useAsync<T>(asyncFn: () => Promise<T>, deps: any[] = []) {
+ const [state, setState] = useState<AsyncState<T>>({ status: 'idle' });
+
+ useEffect(() => {
+ setState({ status: 'loading' });
+ asyncFn()
+ .then(data => setState({ status: 'success', data }))
+ .catch(error => setState({ status: 'error', error }));
+ }, deps);
+
+ return state;
+}
+
+// Usage
+const state = useAsync(() => fetchProjects(), []);
+if (state.status === 'loading') return <Spinner />;
+if (state.status === 'error') return <Error error={state.error} />;
+if (state.status === 'success') return <List data={state.data} />;
+```
+
+---
+
+### Debounced Input
+
+Prevent excessive API calls on user input.
+
+```typescript
+function useDebouncedValue<T>(value: T, delay: number): T {
+ const [debouncedValue, setDebouncedValue] = useState(value);
+
+ useEffect(() => {
+ const timer = setTimeout(() => setDebouncedValue(value), delay);
+ return () => clearTimeout(timer);
+ }, [value, delay]);
+
+ return debouncedValue;
+}
+
+// Usage
+function Search() {
+ const [query, setQuery] = useState('');
+ const debouncedQuery = useDebouncedValue(query, 300);
+
+ useEffect(() => {
+ if (debouncedQuery) {
+ searchAPI(debouncedQuery);
+ }
+ }, [debouncedQuery]);
+
+ return <input value={query} onChange={e => setQuery(e.target.value)} />;
+}
+```
+
+---
+
+### Optimistic Updates
+
+Update UI immediately, reconcile with server.
+
+```typescript
+function useOptimisticUpdate<T>(
+ initialData: T,
+ updateFn: (data: T) => Promise<T>
+) {
+ const [data, setData] = useState(initialData);
+ const [pending, setPending] = useState(false);
+
+ const update = async (optimisticData: T) => {
+ const previousData = data;
+ setData(optimisticData); // Optimistic
+ setPending(true);
+
+ try {
+ const serverData = await updateFn(optimisticData);
+ setData(serverData); // Reconcile
+ } catch (error) {
+ setData(previousData); // Rollback
+ throw error;
+ } finally {
+ setPending(false);
+ }
+ };
+
+ return { data, update, pending };
+}
+```
+
+---
+
+### Local Storage Sync
+
+Persist state to localStorage with SSR safety.
+
+```typescript
+function useLocalStorage<T>(key: string, initialValue: T) {
+ const [storedValue, setStoredValue] = useState<T>(() => {
+ if (typeof window === 'undefined') return initialValue;
+ try {
+ const item = window.localStorage.getItem(key);
+ return item ? JSON.parse(item) : initialValue;
+ } catch {
+ return initialValue;
+ }
+ });
+
+ const setValue = (value: T | ((val: T) => T)) => {
+ const valueToStore = value instanceof Function ? value(storedValue) : value;
+ setStoredValue(valueToStore);
+ if (typeof window !== 'undefined') {
+ window.localStorage.setItem(key, JSON.stringify(valueToStore));
+ }
+ };
+
+ return [storedValue, setValue] as const;
+}
+```
+
+---
+
+## API Patterns
+
+### Fetch Wrapper with Error Handling
+
+```typescript
+class APIError extends Error {
+ constructor(
+ message: string,
+ public status: number,
+ public data?: any
+ ) {
+ super(message);
+ this.name = 'APIError';
+ }
+}
+
+async function api<T>(
+ endpoint: string,
+ options: RequestInit = {}
+): Promise<T> {
+ const response = await fetch(`${BASE_URL}${endpoint}`, {
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers,
+ },
+ });
+
+ if (!response.ok) {
+ const data = await response.json().catch(() => null);
+ throw new APIError(
+ data?.message || 'Request failed',
+ response.status,
+ data
+ );
+ }
+
+ return response.json();
+}
+
+// Usage
+const projects = await api<Project[]>('/projects');
+const created = await api<Project>('/projects', {
+ method: 'POST',
+ body: JSON.stringify({ name: 'New Project' }),
+});
+```
+
+---
+
+### Retry with Exponential Backoff
+
+```typescript
+async function withRetry<T>(
+ fn: () => Promise<T>,
+ options: { maxRetries?: number; baseDelay?: number } = {}
+): Promise<T> {
+ const { maxRetries = 3, baseDelay = 1000 } = options;
+ let lastError: Error;
+
+ for (let attempt = 0; attempt < maxRetries; attempt++) {
+ try {
+ return await fn();
+ } catch (error) {
+ lastError = error as Error;
+ if (attempt < maxRetries - 1) {
+ const delay = baseDelay * Math.pow(2, attempt);
+ await new Promise(resolve => setTimeout(resolve, delay));
+ }
+ }
+ }
+
+ throw lastError!;
+}
+
+// Usage
+const data = await withRetry(() => api('/flaky-endpoint'), {
+ maxRetries: 3,
+ baseDelay: 500,
+});
+```
+
+---
+
+### Rate Limiter
+
+```typescript
+function createRateLimiter(maxRequests: number, windowMs: number) {
+ const requests: number[] = [];
+
+ return async function limit<T>(fn: () => Promise<T>): Promise<T> {
+ const now = Date.now();
+
+ // Remove old requests outside window
+ while (requests.length && requests[0] < now - windowMs) {
+ requests.shift();
+ }
+
+ if (requests.length >= maxRequests) {
+ const waitTime = requests[0] + windowMs - now;
+ await new Promise(resolve => setTimeout(resolve, waitTime));
+ return limit(fn);
+ }
+
+ requests.push(now);
+ return fn();
+ };
+}
+
+// Usage
+const limiter = createRateLimiter(10, 1000); // 10 requests per second
+const result = await limiter(() => api('/endpoint'));
+```
+
+---
+
+## Data Patterns
+
+### ID Generator
+
+```typescript
+// Simple unique ID (good for client-side)
+function createId(): string {
+ return `${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 9)}`;
+}
+
+// Prefixed ID (good for type identification)
+function createPrefixedId(prefix: string): string {
+ return `${prefix}_${createId()}`;
+}
+
+// Usage
+const projectId = createPrefixedId('proj'); // "proj_lx1234_abc1234"
+const versionId = createPrefixedId('ver'); // "ver_lx1235_def5678"
+```
+
+---
+
+### Deep Clone / Merge
+
+```typescript
+function deepClone<T>(obj: T): T {
+ return JSON.parse(JSON.stringify(obj));
+}
+
+function deepMerge<T extends object>(target: T, source: Partial<T>): T {
+ const result = { ...target };
+
+ for (const key in source) {
+ const sourceValue = source[key];
+ const targetValue = result[key];
+
+ if (
+ sourceValue &&
+ typeof sourceValue === 'object' &&
+ !Array.isArray(sourceValue) &&
+ targetValue &&
+ typeof targetValue === 'object'
+ ) {
+ result[key] = deepMerge(targetValue, sourceValue as any);
+ } else if (sourceValue !== undefined) {
+ result[key] = sourceValue as any;
+ }
+ }
+
+ return result;
+}
+```
+
+---
+
+### Safe JSON Parse
+
+```typescript
+function safeJsonParse<T>(
+ json: string,
+ fallback: T
+): T {
+ try {
+ return JSON.parse(json) as T;
+ } catch {
+ return fallback;
+ }
+}
+
+// With validation
+function parseAndValidate<T>(
+ json: string,
+ validator: (data: unknown) => data is T,
+ fallback: T
+): T {
+ try {
+ const parsed = JSON.parse(json);
+ return validator(parsed) ? parsed : fallback;
+ } catch {
+ return fallback;
+ }
+}
+```
+
+---
+
+## UI Patterns
+
+### Keyboard Shortcut Hook
+
+```typescript
+function useKeyboardShortcut(
+ key: string,
+ callback: () => void,
+ modifiers: { ctrl?: boolean; meta?: boolean; shift?: boolean } = {}
+) {
+ useEffect(() => {
+ const handler = (event: KeyboardEvent) => {
+ const { ctrl, meta, shift } = modifiers;
+
+ if (
+ event.key.toLowerCase() === key.toLowerCase() &&
+ (!ctrl || event.ctrlKey) &&
+ (!meta || event.metaKey) &&
+ (!shift || event.shiftKey)
+ ) {
+ event.preventDefault();
+ callback();
+ }
+ };
+
+ window.addEventListener('keydown', handler);
+ return () => window.removeEventListener('keydown', handler);
+ }, [key, callback, modifiers]);
+}
+
+// Usage
+useKeyboardShortcut('s', handleSave, { meta: true }); // Cmd+S
+useKeyboardShortcut('k', openSearch, { meta: true }); // Cmd+K
+```
+
+---
+
+### Click Outside Hook
+
+```typescript
+function useClickOutside(
+ ref: RefObject<HTMLElement>,
+ callback: () => void
+) {
+ useEffect(() => {
+ const handler = (event: MouseEvent) => {
+ if (ref.current && !ref.current.contains(event.target as Node)) {
+ callback();
+ }
+ };
+
+ document.addEventListener('mousedown', handler);
+ return () => document.removeEventListener('mousedown', handler);
+ }, [ref, callback]);
+}
+
+// Usage
+function Dropdown() {
+ const [open, setOpen] = useState(false);
+ const ref = useRef<HTMLDivElement>(null);
+
+ useClickOutside(ref, () => setOpen(false));
+
+ return (
+ <div ref={ref}>
+ <button onClick={() => setOpen(!open)}>Toggle</button>
+ {open && <div>Dropdown content</div>}
+ </div>
+ );
+}
+```
+
+---
+
+## Adding New Patterns
+
+When you extract a reusable pattern:
+
+```markdown
+### [Pattern Name]
+
+[Brief description of what it does]
+
+\`\`\`typescript
+// Code here
+\`\`\`
+
+// Usage example
+
+**Good for**: [Use cases]
+**Extracted from**: [Project]
+```
+
+---
+
+## Remember
+
+Don't abstract too early. Extract patterns after you've used them 2-3 times.
diff --git a/pipeline/projects/_TEMPLATE.md b/pipeline/projects/_TEMPLATE.md
new file mode 100644
index 0000000..48c47cb
--- /dev/null
+++ b/pipeline/projects/_TEMPLATE.md
@@ -0,0 +1,169 @@
+# _TEMPLATE.md
+## Project Documentation Template
+
+> Copy this file when starting a new project. Fill in sections as you go.
+
+---
+
+# [Project Name]
+
+**Status**: [ ] Planning | [ ] Active | [ ] Shipped | [ ] Maintenance
+**Started**: YYYY-MM-DD
+**Target Ship**: YYYY-MM-DD
+
+## One-Liner
+
+[One sentence describing what this is and who it's for.]
+
+---
+
+## Problem Statement
+
+**Who** is experiencing **what problem** and **why** does it matter?
+
+[Be specific. "Users want X" isn't a problem. "Users spend 2 hours doing X manually" is.]
+
+---
+
+## Solution
+
+What are we building? How does it solve the problem?
+
+[Keep it high-level. Details go in spec/scope below.]
+
+---
+
+## Success Metrics
+
+How will we know this worked?
+
+- [ ] Metric 1: [specific, measurable]
+- [ ] Metric 2: [specific, measurable]
+
+---
+
+## Scope
+
+### v1.0 - MVP
+
+**Must Have** (won't ship without):
+- [ ] Feature A
+- [ ] Feature B
+- [ ] Feature C
+
+**Should Have** (if time):
+- [ ] Feature D
+- [ ] Feature E
+
+### v1.1 - Fast Follow
+- [ ] Feature F
+- [ ] Feature G
+
+### Backlog
+- Feature H
+- Feature I
+
+### Explicitly Out of Scope
+- [ ] Thing X (reason: ...)
+- [ ] Thing Y (reason: ...)
+
+---
+
+## Technical Decisions
+
+### Architecture
+
+[Diagram or description of high-level architecture]
+
+### Stack
+- **Frontend**:
+- **Backend**:
+- **Database**:
+- **Hosting**:
+
+### Key Decisions
+
+#### Decision 1: [Title]
+**Context**: [Why did we need to decide this?]
+**Options**:
+- Option A: [pros/cons]
+- Option B: [pros/cons]
+**Decision**: [What we chose and why]
+**Consequences**: [What this means going forward]
+
+---
+
+## Current Phase
+
+### Phase: [Name]
+**Goal**: [What are we trying to accomplish?]
+**Duration**: [Estimated timeframe]
+
+#### In Progress
+- [ ] Task 1
+- [ ] Task 2
+
+#### Blocked
+- [ ] Task 3 - blocked by [what]
+
+#### Done This Phase
+- [x] Task 4
+- [x] Task 5
+
+---
+
+## Files & Links
+
+- **Repo**: [URL]
+- **Deployed**: [URL]
+- **Design**: [URL]
+- **Docs**: [URL]
+
+---
+
+## Session Log
+
+### YYYY-MM-DD - [Brief Title]
+
+**What we did**:
+-
+
+**Decisions made**:
+-
+
+**Blocked on**:
+-
+
+**Next session**:
+-
+
+---
+
+### YYYY-MM-DD - [Brief Title]
+
+[Continue logging sessions...]
+
+---
+
+## Learnings
+
+> Capture insights that should go into the main LEARNINGS.md
+
+-
+-
+
+---
+
+## Post-Mortem (After Ship)
+
+### What Went Well
+-
+
+### What Didn't Go Well
+-
+
+### What We'd Do Differently
+-
+
+### Patterns to Extract
+-
diff --git a/pipeline/projects/id8composer.md b/pipeline/projects/id8composer.md
new file mode 100644
index 0000000..8b0e150
--- /dev/null
+++ b/pipeline/projects/id8composer.md
@@ -0,0 +1,174 @@
+# ID8Composer
+
+**Status**: [x] Active | [ ] Shipped | [ ] Maintenance
+**Started**: 2024 (ongoing)
+**Target Ship**: v1.1 - Q1 2026
+
+## One-Liner
+
+A story development platform with semantic version control for writers and showrunners.
+
+---
+
+## Problem Statement
+
+**Writers and story producers** spend enormous time **managing versions of creative documents** (treatments, outlines, scripts) with **no good way to track meaningful changes** - just file names like "Treatment_v3_final_FINAL2.docx". When collaborating or reviewing, understanding **what changed and why** requires manual comparison and memory.
+
+---
+
+## Solution
+
+ID8Composer applies **semantic versioning principles to creative writing**:
+- Each meaningful change is captured as a version
+- Writers can see the evolution of their story
+- Knowledge base system stores research and reference material
+- Dual-panel interface for editing and version comparison
+
+---
+
+## Success Metrics
+
+How will we know this worked?
+
+- [ ] Eddie uses it for actual production work (90 Day)
+- [ ] v1.1 stable enough for external demo
+- [ ] At least one external user trying it
+
+---
+
+## Scope
+
+### v1.0 - MVP ✅ (Complete)
+
+**Done**:
+- [x] Semantic versioning for creative documents
+- [x] Dual-panel editing interface
+- [x] Knowledge base management
+- [x] Basic export functionality
+
+### v1.1 - Stability & Polish (Current)
+
+**Focus: Stability testing, marketing prep - NOT new features**
+
+**Must Have**:
+- [ ] Bug fixes from stability testing
+- [ ] Performance optimization
+- [ ] Clean demo flow
+
+**Should Have**:
+- [ ] Improved onboarding
+- [ ] Better error handling
+- [ ] Usage analytics
+
+**Explicitly NOT in v1.1**:
+- New features
+- Major UI changes
+- Additional integrations
+
+### v1.2+ (Future)
+- Collaboration features
+- Export integrations
+- AI-assisted features
+
+---
+
+## Technical Decisions
+
+### Architecture
+
+```
+┌─────────────────────────────────────────────────┐
+│ Frontend (React) │
+│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
+│ │ Editor │ │ Version │ │ Knowledge │ │
+│ │ Panel │ │ Panel │ │ Base │ │
+│ └───────────┘ └───────────┘ └───────────┘ │
+└───────────────────────┬─────────────────────────┘
+ │
+ ▼
+┌─────────────────────────────────────────────────┐
+│ State Management │
+│ (Event Sourcing for Versions) │
+└───────────────────────┬─────────────────────────┘
+ │
+ ▼
+ ┌───────────┐
+ │ Storage │
+ └───────────┘
+```
+
+### Stack
+- **Frontend**: React
+- **State**: Event sourcing pattern for version history
+- **Storage**: [To document - local? Supabase?]
+
+### Key Decisions
+
+#### Decision 1: Event Sourcing for Versions
+**Context**: Need to track every meaningful change to documents over time.
+**Options**:
+- Traditional CRUD with version table
+- Event sourcing (immutable event log)
+- Git-like branching model
+**Decision**: Event sourcing - immutable log of changes, current state derived from replay.
+**Consequences**: Full history always available, can reconstruct any point in time, but more complex than CRUD.
+
+---
+
+## Current Phase
+
+### Phase: v1.1 Stability Testing
+**Goal**: Find and fix bugs, ensure stable demo experience
+**Duration**: 2-3 weeks
+
+#### In Progress
+- [ ] Systematic testing of core workflows
+- [ ] Document known issues
+
+#### Next Up
+- [ ] Fix critical bugs
+- [ ] Marketing prep (demo video, landing page)
+
+---
+
+## Files & Links
+
+- **Repo**: [Add URL]
+- **Deployed**: [Add URL]
+- **Related**: ejb.ventures ID8Labs section
+
+---
+
+## Session Log
+
+### 2026-01-01 - Pipeline Integration
+
+**What we did**:
+- Created development pipeline
+- Added ID8Composer as first project in pipeline
+
+**Decisions made**:
+- v1.1 focus is stability, not features
+- Will audit existing codebase for patterns to extract
+
+**Next session**:
+- Begin systematic stability testing
+- Document current architecture in more detail
+
+---
+
+## Learnings
+
+> Capture insights that should go into the main LEARNINGS.md
+
+- Event sourcing works well for creative version control
+- [Add learnings as they emerge]
+
+---
+
+## Patterns to Extract
+
+After v1.1 ships, review for patterns to add to pipeline:
+- Event sourcing implementation
+- Dual-panel UI pattern
+- Knowledge base architecture
diff --git a/pipeline/projects/milo.md b/pipeline/projects/milo.md
new file mode 100644
index 0000000..6640b99
--- /dev/null
+++ b/pipeline/projects/milo.md
@@ -0,0 +1,158 @@
+# MILO
+
+**Status**: [ ] Planning | [ ] Active | [x] Shipped | [x] Maintenance
+**Started**: 2024-12-28
+**Shipped**: 2024-12-30 (v0.3.0)
+
+## One-Liner
+
+MILO is a Signal-to-Noise Life Planner that helps cut through daily noise and focus on goal-aligned actions.
+
+---
+
+## Problem Statement
+
+**Eddie** experiences constant context-switching between projects, tools, and priorities with **no unified view of what actually matters today**. Calendars show meetings, todo apps show tasks, but nothing shows the synthesis — *what's the one thing I should focus on right now?*
+
+---
+
+## Solution
+
+MILO is a desktop productivity dashboard (Pip-Boy themed) that:
+- Aggregates signals from multiple sources (activity monitoring, tasks, goals)
+- Applies Eddie's "signal over noise" philosophy with GREEN/AMBER/RED state classification
+- Provides daily AI-powered Morning Briefings and Evening Reviews
+- Detects drift and nudges back to focus
+
+---
+
+## Success Metrics
+
+- [x] Eddie uses MILO daily for at least 2 weeks
+- [ ] 14-day consecutive use goal (in progress)
+- [x] Reduces "what should I work on?" decision fatigue
+- [x] PostHog analytics tracking (opt-in)
+
+---
+
+## Shipped Features (v0.3.0)
+
+### Core Features (All Complete)
+- [x] Goal Hierarchy System (Beacon → Milestone → Objective → Task)
+- [x] Morning Briefing (AI-powered daily planning with Claude)
+- [x] Activity Monitoring (GREEN/AMBER/RED state detection)
+- [x] Drift Detection & Nudges
+- [x] Evening Review (Reflection + scoring)
+- [x] S/N Scoring System (0-100 with gamification)
+- [x] Pip-Boy Desktop UI (CRT effects, glow, scanlines)
+- [x] Quick capture with AI parsing
+- [x] Stats dashboard with 7-day trend
+- [x] Streak tracking with milestones
+
+### Not in v1.0 (Scope Fence)
+- ❌ Mobile companion app
+- ❌ Team features
+- ❌ Analog task capture (OCR)
+- ❌ Custom AI models
+- ❌ Cloud sync (v2 feature)
+- ❌ MCP Integrations (Notion, Calendar, Notes) - P1 for future
+
+---
+
+## Technical Decisions
+
+### Stack
+
+| Layer | Choice |
+|-------|--------|
+| Runtime | Electron 28.x |
+| UI | React 18 + TypeScript |
+| Bundler | electron-vite |
+| Styling | TailwindCSS |
+| State | Zustand |
+| Database | better-sqlite3 (SQLite) |
+| AI | Claude API |
+| Analytics | PostHog (opt-in) |
+
+### Key Architectural Decisions
+
+1. **SQLite over cloud DB** - Privacy-first, offline capable, simpler architecture
+2. **Electron over Tauri** - Better ecosystem, more mature for macOS tray apps
+3. **Zustand over Redux** - Simpler API, less boilerplate for this scope
+4. **PostHog for analytics (opt-in)** - Privacy-first, EU data storage, self-hostable
+
+---
+
+## Current Phase
+
+### Phase: Stage 11 - Listen & Iterate
+**Goal**: Collect feedback from daily use
+**Status**: Active since Dec 30, 2024
+
+#### Tracking
+- [ ] 14-day consecutive use goal
+- [ ] First bug reports
+- [ ] First feature requests
+- [ ] First analytics insights
+
+#### Future Roadmap
+- P1: MCP Integrations (Notion, Calendar, Notes)
+- P2: Mobile companion
+- P2: Cloud sync
+
+---
+
+## Files & Links
+
+- **Repo**: ~/Development/milo
+- **Release**: https://github.com/eddiebe147/milo/releases/tag/v0.3.0
+- **Pipeline Status**: ~/Development/milo/PIPELINE_STATUS.md
+- **PRD**: ~/Development/milo/docs/PRD.md
+- **Technical Design**: ~/Development/milo/docs/TECHNICAL_DESIGN.md
+
+---
+
+## Session Log
+
+### 2024-12-28 - Project Started
+- Stages 1-6 completed in single day
+- Full Pip-Boy UI, AI integration, activity monitoring
+
+### 2024-12-30 - v0.3.0 Shipped
+- Stage 7-10 completed
+- 355 tests passing
+- PostHog analytics integrated
+- GitHub Release published
+- First user (Eddie) onboarded
+
+### 2026-01-01 - Pipeline Integration
+- Integrated MILO into new pipeline system
+- Synced project file with repo's PIPELINE_STATUS.md
+
+---
+
+## Learnings
+
+- **Electron + SQLite + Claude API** is a solid stack for local-first AI apps
+- **Pip-Boy theme** creates unique identity and dopamine hits
+- **Morning/Evening dialogues** with AI are genuinely useful (not gimmick)
+- **6-day build cycle** (Dec 28-30) proves focused execution works
+
+---
+
+## Post-Mortem
+
+### What Went Well
+- Shipped in 3 days (Dec 28-30)
+- 355 tests from the start
+- Clean Pip-Boy aesthetic
+- AI integration genuinely useful
+
+### What Didn't Go Well
+- `active-win` native module issues in dev mode (works in prod)
+- Code signing skipped (need Developer ID cert)
+
+### Patterns to Extract
+- Electron + SQLite + Claude API architecture pattern
+- AI-powered dialogue system pattern
+- Pip-Boy theming approach