Architectural Principles
Introduction
The vibeflow architecture is built on foundational principles that distinguish it from typical AI content tools. These aren’t arbitrary design choices—they’re deliberate constraints that enable:- Context quality over context quantity
- Brand consistency at scale
- Verifiable outputs (not AI slop)
- Compounding value over time
- Systems thinking (work ON the business, not IN it)
- The Phoenix Project (DevOps/systems thinking)
- Domain-Driven Design (bounded contexts, clear boundaries)
- Progressive disclosure (UX pattern applied to AI context)
- Context architecture (the finite resource that defines quality)
Principle 1: Progressive Disclosure
What It Is
Progressive disclosure is the practice of loading only the context relevant to the current task, at the moment it’s needed—rather than front-loading all possible information. Origin: UX design pattern for managing complexity (don’t show all features at once) Applied to AI: Don’t load all strategy files into every conversationThe Core Problem
Token limits are finite. You can’t load your entire brand bible, all research, all frameworks into every conversation. But you also can’t work without guidance (that creates AI slop). The tension:How It Works
Instead of:Implementation in Vibeflow
1. Strategy Layer:- Reads STRATEGY.md (navigation)
- Identifies: “For voice, see /strategy/voice/index.md”
- Loads voice/index.md (universal guidelines)
- Sees: “For Twitter-specific, see extensions/twitter-post.md”
- Loads extension ONLY if generating Twitter content
- Loads SKILL.md (methodology overview)
- Sees: “For competitive analysis, see competitive-analysis.md”
- Loads detailed methodology ONLY when that step is needed
- Reads RESEARCH.md (which runs are available)
- Identifies relevant run based on date or topic
- Loads ONLY that execution’s findings
Design Rules
1. Entry points must be < 500 lines- This is a hard limit for performance
- If approaching limit, split into separate files
- Entry point acts as navigation, not comprehensive documentation
- Don’t pre-load “just in case”
- Load based on actual task requirements
- Use entry points to navigate
Benefits
✅ Maximizes context quality- Every token used is relevant to the task
- No wasted context on tangential information
- Higher signal-to-noise ratio
- Can have comprehensive strategy without token overflow
- Add new platforms/content types without redesigning structure
- System grows without degrading
- Read table of contents
- Jump to relevant section
- Load details as needed
- Natural, efficient workflow
- Typical content generation: 3-5 files instead of 20+
- More room for actual content/analysis
- Better quality outputs
Anti-Pattern: Flat Loading
DON’T do this:Principle 2: One-Way Dependencies
What It Is
One-way dependencies means context flows downward only through the architectural layers. Lower layers cannot reference upper layers. The rule:Why This Matters
1. Prevents circular dependencies Without one-way constraint:- ✅ Which skills it has access to (Layer 4)
- ✅ Which tools skills use (Layer 5)
- ❌ Operations Manager behavior (Layer 2)
- ❌ Other sub-agents (also Layer 3)
- ❌ Marketing Architect goals (Layer 1)
Enforcement Mechanisms
1. Architectural rules (documented)- This principles document
- Component documentation
- Ownership guidelines
- New skills checked for upward references
- Agent definitions validated
- Output style reviewed
- Automated checks for circular dependencies
- Warnings when layers reference upward
- Build-time validation
Anti-Pattern: Upward References
❌ DON’T: Skill referencing an agentPrinciple 3: Phoenix Project Influence
The vibeflow architecture applies principles from The Phoenix Project (a DevOps/systems thinking book) to marketing operations.Core Phoenix Project Concepts
1. The Four Types of Work Every organization has four types of work:| Type | Definition | Vibeflow Example |
|---|---|---|
| Business Projects | Planned work that drives business value | Campaign planning, content creation, research projects |
| Internal Projects | Infrastructure improvements | Creating new skills, adding agents, improving architecture |
| Changes | Iterations from the first two categories | Updating messaging based on research, refining voice guidelines |
| Unplanned Work | Urgent requests, firefighting | Client asks for emergency blog post, competitor launches, crisis response |
- Meta commands enable internal projects (plan/implement for creating new capabilities)
- PLAN.md and TODO.md show work being done (visibility across all four types)
- Research domains track evolution (changes over time are preserved)
- Temporal execution (can see what was unplanned vs. planned)
- PLAN.md - Shows approach before work starts (visibility before execution)
- TODO.md - Shows work in progress (visibility during execution)
- Temporal execution - Shows research evolution (visibility over time)
- Audit trails - Shows lineage (content → strategy → research, visibility of dependencies)
- Git commits - Shows what changed when (visibility of history)
- What work is planned (PLAN.md)
- What work is in progress (TODO.md status)
- What blockers exist (TODO.md blockers section)
- What’s been completed (TODO.md completed tasks)
- What research backs strategy (footnotes)
- How markets are evolving (temporal research comparison)
- TODO.md best practice: One task marked “In Progress” at a time
- Plan/implement pattern: Finish current plan before starting new
- Date-stamped executions: Encourages completing research run before starting new
- File structure: Prevents “20 half-finished projects” scattered chaos
| Marketing Debt | What It Looks Like | Cost |
|---|---|---|
| Orphaned files | Research that’s lost, can’t find past work | Time wasted recreating existing work |
| Inconsistent outputs | Content doesn’t follow brand guidelines | Brand dilution, confusing messaging |
| Duplicate work | Can’t find if research already exists | Redundant effort |
| Broken references | Strategy claims with no backing | Unverifiable, weak positioning |
| Overwritten history | Lost insights from past research | Can’t see evolution |
Principle 4: Context Architecture Prevents AI Slop
The Fundamental Insight
Context is the finite resource that defines system capabilities. Most AI content tools fail because:What Is Context Architecture?
Context architecture is the systematic design of what information AI agents have access to, when they access it, and how it’s organized. Not just “prompts”—it’s infrastructure:- What files exist (strategy, research, frameworks)
- How they’re organized (progressive disclosure)
- What references what (one-way dependencies)
- How it’s loaded (entry points, navigation)
- What backs up what (audit trails)
How It Prevents AI Slop
AI slop happens when agents:- ❌ Have no brand guidelines (generate generic language)
- ❌ Have no research backing (make unverifiable claims)
- ❌ Have no structural frameworks (use templates)
- ❌ Have no voice guidelines (sound like everyone else)
- ✅ Load brand voice guidelines (specific tone, vocabulary)
- ✅ Reference research-backed claims (via strategy footnotes)
- ✅ Follow content frameworks (brand-specific structure)
- ✅ Use messaging pillars (strategic themes)
| Element | Without Context | With Context |
|---|---|---|
| Tone | Generic professional voice | YOUR brand voice (confident but approachable, etc.) |
| Claims | ”Our innovative solution" | "8/10 customers abandon complex tools” (research-backed) |
| Structure | Generic template (intro → 3 points → conclusion) | YOUR framework (hook → insight → evidence) |
| Themes | Random topics | YOUR messaging pillars (simplicity, focus, etc.) |
The Context Stack
Every piece of content inherits from this stack:Why This Scales
Traditional approach (doesn’t scale):Principle 5: Temporal Execution
What It Is
Temporal execution means research runs are date-stamped rather than overwritten, preserving historical context and enabling comparison over time. Pattern:Why This Matters
Markets change. Competitors evolve. Customer needs shift. Traditional approach (point-in-time):What You Can Do With Temporal Data
1. Compare evolutionTemporal Patterns
1. Periodic comparisonBenefits
✅ Historical context preserved- Never lose insights
- Can reference past research
- See what’s changed
- Velocity (accelerating or slowing?)
- Direction (toward us or away?)
- Patterns (cyclical or linear?)
- Knowledge compounds
- New team members can see history
- Context for current state
- Strategy can reference specific research run
- Audit trail includes date
- Claims have shelf life (can update when research is old)
Principle 6: Audit Trails & Verifiability
What It Is
Audit trails are explicit links from outputs back through strategy to research to raw data, making every claim verifiable. The chain:How It Works
Example: Content (blog post):The Audit Trail
Following the chain:Why This Matters
1. Defensible positioning Without audit trail:- Update strategy when research changes
- See which content references old research
- Refresh claims based on new data
- Know exactly what to update when market shifts
Implementation
1. Footnote format in strategy:Anti-Pattern: Claims Without Backing
❌ DON’T:How Principles Work Together
The Reinforcing System
These principles aren’t independent—they reinforce each other:Example: Content Generation
All principles in action:- Progressive disclosure: Load only relevant strategy files (3-4 files, not 50)
- One-way dependencies: Content Writer (Layer 3) uses skills (Layer 4) which reference tools (Layer 5)
- Context architecture: Agent has voice, messaging, research context → prevents AI slop
- Temporal execution: Strategy references latest research run
- Audit trails: Content → strategy → research → data (all verifiable)
- Phoenix Project: Work is visible (TODO.md), WIP is limited (one piece at a time)
Success Criteria
You’re following principles correctly when: ✅ Entry points are < 500 lines (progressive disclosure) ✅ Layers reference downward only (one-way dependencies) ✅ PLAN.md and TODO.md make work visible (Phoenix Project) ✅ Research runs are date-stamped (temporal execution) ✅ Strategy footnotes reference research (audit trails) ✅ Content loads ≤5 files (progressive disclosure + context architecture) ✅ Outputs are indistinguishable from human brand work (context prevents AI slop) You’re violating principles when: ❌ Entry points exceed 500 lines (not progressive) ❌ Skills reference agents (upward dependency) ❌ Work happens without PLAN.md (not visible) ❌ Research overwrites previous runs (not temporal) ❌ Strategy makes claims without footnotes (no audit trail) ❌ Agents load 20+ files (not progressive) ❌ Content is generic/templated (context architecture failed)Summary
The vibeflow architecture rests on six core principles:- Progressive Disclosure - Load only what’s needed, when it’s needed
- One-Way Dependencies - Context flows downward through layers
- Phoenix Project Influence - Make work visible, manage flow, limit WIP, reduce debt
- Context Architecture - Context is the finite resource that prevents AI slop
- Temporal Execution - Preserve history, enable comparison, see evolution
- Audit Trails - Every claim is verifiable back to source data
- Scales brand consistency (context architecture)
- Compounds value over time (temporal execution)
- Prevents marketing debt (Phoenix Project)
- Makes work manageable (progressive disclosure)
- Keeps system navigable (one-way dependencies)
- Ensures quality (audit trails)

