WiderWings Recursive Development Protocol (RDP) v0.1
P3 - LowWiderWings Recursive Development Protocol (RDP)
Draft v0.1 ā March 3, 2026
Author: Mark Wings (Research)
Status: Draft for Bob's review
1. Overview
This document defines how WiderWings builds software using a recursive, multi-agent development process inspired by the BMAD Method but tailored to our team structure, tooling, and culture.
Core Principles:
- Same agents work across all projects, with project-level context isolation
- Second Brain is the single source of truth for tasks, knowledge, and handoffs
- Every feature flows through defined pipeline phases with quality gates
- Agents improve their own processes over time (recursive improvement)
- Human (Henry) sets vision; agents execute autonomously within guardrails
2. Team Structure
Org Chart
Henry Kim (CEO / Vision)
āāā Bob Wings (Chief of Staff / Architect) ā Own OpenClaw instance
āāā Kevin (PM: MedSchools.ai)
āāā Liz (PM: Hedge)
āāā Kai (Frontend Dev)
āāā Atlas (Backend Dev)
āāā Maya (Content / SEO)
āāā Designer [NEW] (UI/UX Design)
āāā Sage (QA / Reviewer) [Repurposed from Research]
āāā Mark Wings (Research / Scraping) ā Own OpenClaw instance
Infrastructure
| Agent | Machine | Wake Triggers | Model (suggested) |
|---|---|---|---|
| Bob | Own instance | Discord, Telegram, heartbeat | Opus (main), Haiku (heartbeat) |
| Mark | Own instance | Discord, Telegram, heartbeat | Opus (main), Haiku (heartbeat) |
| Kevin | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Liz | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Kai | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Atlas | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Maya | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Designer | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
| Sage | Bob's machine | Discord, heartbeat | Sonnet (main), Haiku (heartbeat) |
Role Definitions
Bob ā Chief of Staff / Architect
- Cross-project priority setting and conflict resolution
- Architecture reviews and technical decisions (ADRs)
- Routes Henry's ideas to the right PM/agent
- Reviews and approves major architectural changes
- Does NOT do day-to-day task management (that's the PMs)
Kevin ā PM: MedSchools.ai
- Owns the MedSchools.ai backlog and sprint planning
- Creates and sequences tasks for the dev team
- Coordinates handoffs between agents for MedSchools work
- Reports progress to Bob and Henry
- Runs retrospectives after each milestone
Liz ā PM: Hedge
- Same as Kevin but for the Hedge platform
- Owns Hedge backlog, sprints, and coordination
Kai ā Frontend Dev
- UI/UX implementation (Svelte, Tailwind, shadcn-svelte)
- Consumes design specs from Designer
- Component development and responsive implementation
- Works from DESIGN.md and story files
Atlas ā Backend Dev
- APIs, databases, infrastructure
- Supabase, Node.js, Python services
- Deployment and DevOps
- Performance optimization
Maya ā Content / SEO
- Blog posts, landing page copy, meta descriptions
- SEO strategy and keyword research
- Content calendar management
- GEO (Generative Engine Optimization)
Designer [NEW] ā UI/UX Design
- Reference/inspiration research (Dribbble, Godly, Awwwards, 21st.dev)
- Design system creation and maintenance (DESIGN.md per project)
- Visual mockups and component specs
- Screenshot review loops (visual QA on design fidelity)
- Does NOT write production code ā produces specs that Kai consumes
Sage ā QA / Reviewer [Repurposed]
- Code review (logic, security, patterns)
- Visual regression testing (screenshot comparison)
- Accessibility and performance audits
- Eval criteria enforcement ā nothing ships without Sage's sign-off
- Runs automated test suites where available
Mark ā Research / Scraping (Cross-Project)
- Market research, competitive analysis
- Web scraping and data extraction
- Technology research and tool evaluation
- Supports any project on-demand (not sprint-bound)
3. Pipeline Phases
Every feature/task flows through a subset of these phases. Not every task hits every phase ā a bug fix skips to Build, a new product starts at Brief.
āāāāāāāāāāā āāāāāāāāāāāā āāāāāāāāāā āāāāāāāāāāāāāāāā āāāāāāāāā āāāāāāāāāā āāāāāāāāāā āāāāāāāāāā
ā Brief ā ā ā Research ā ā ā Design ā ā ā Architecture ā ā ā Build ā ā ā Review ā ā ā QA ā ā ā Deploy ā
āāāāāāāāāāā āāāāāāāāāāāā āāāāāāāāāā āāāāāāāāāāāāāāāā āāāāāāāāā āāāāāāāāāā āāāāāāāāāā āāāāāāāāāā
Henry/PM Mark Designer Bob Kai/Atlas Sage Sage Atlas
Phase Details
| Phase | Owner | Input | Output | Skip When |
|---|---|---|---|---|
| Brief | Henry or PM | Idea / request | Structured project brief | Never (every task needs a brief, even one-liners) |
| Research | Mark | Brief | Market data, competitor analysis, reference materials | Well-understood domain, bug fixes |
| Design | Designer | Brief + research + brand assets | DESIGN.md, mockups, component specs, reference screenshots | Backend-only changes, API work |
| Architecture | Bob | Brief + research + design specs | Architecture doc, ADRs, tech stack decisions | Small changes within existing patterns |
| Build | Kai (FE) / Atlas (BE) | Story file with all context from prior phases | Working code + tests | Never |
| Review | Sage | Completed code + story file | Approved or changes requested | Trivial fixes (typos, config) |
| QA | Sage | Approved code on staging | QA report (pass/fail with details) | Non-user-facing changes |
| Deploy | Atlas | QA-approved code | Production deployment | N/A |
Phase Entry Criteria
Each phase has a gate ā you can't enter without the prior phase's output:
- Research requires: a written brief (not just a verbal idea)
- Design requires: brief + any relevant research saved to Second Brain
- Architecture requires: brief + design specs (if applicable)
- Build requires: a story file with acceptance criteria, referencing all prior artifacts
- Review requires: code committed with tests passing
- QA requires: review approval from Sage
- Deploy requires: QA pass
Shortcut Paths
| Task Type | Path |
|---|---|
| New product/feature | Brief ā Research ā Design ā Architecture ā Build ā Review ā QA ā Deploy |
| New page/UI feature | Brief ā Design ā Build ā Review ā QA ā Deploy |
| API/backend feature | Brief ā Architecture ā Build ā Review ā QA ā Deploy |
| Bug fix | Brief ā Build ā Review ā Deploy |
| Content update | Brief ā Build (Maya) ā Review ā Deploy |
| Hotfix (P0) | Brief ā Build ā Deploy (review post-deploy) |
4. Task Board Protocol
Where: Second Brain Task Board
All tasks live in Second Brain (/api/tasks). No task files in repos. No side-channel task tracking.
Task Schema
Each task should include:
{
"title": "Clear, actionable title",
"description": "What needs to be done + acceptance criteria",
"priority": "P0 | P1 | P2 | P3",
"status": "todo | in_progress | review | done | blocked",
"agent_id": "who owns this task right now",
"project_id": "which project (MedSchools, Hedge, WiderWings, Operations)",
"phase": "brief | research | design | architecture | build | review | qa | deploy",
"depends_on": "task ID of prerequisite (if any)",
"created_by": "who created this task",
"artifacts": "links to Second Brain memories or repo paths produced by this task"
}
New fields needed (for Bob/Atlas to add):
phaseā pipeline phasedepends_onā prerequisite task IDcreated_byā originating agentartifactsā output references
Task Lifecycle
1. PM creates task (status: todo, assigned to agent, phase set)
2. Agent picks up on heartbeat (status: todo ā in_progress)
3. Agent does the work, saves output to Second Brain
4. Agent marks done (status: in_progress ā done)
5. Agent creates next-phase task OR PM sequences the next step
6. Repeat until deploy
Pickup Rules
- Agents check for assigned tasks on every heartbeat
- P0 tasks: Pick up immediately, notify PM
- P1 tasks: Pick up on next heartbeat
- P2/P3 tasks: Pick up when no P0/P1 work is pending
- If a task is blocked, set status to
blockedwith a note explaining why
Handoff Protocol
When completing a task:
- Save all output/artifacts to Second Brain (type: spec, research, log, etc.)
- Update task status to
done - Update task
artifactsfield with memory IDs or repo paths - If the next phase has a clear owner, create the next task assigned to them
- If unclear who's next, notify the PM (Kevin or Liz)
5. Second Brain Schema Improvements
Memory Types (Proposed)
| Type | Use For | Example |
|---|---|---|
spec |
PRDs, architecture docs, design systems | "PRD: MedSchools Interview Prep Feature" |
decision |
Why we chose X over Y (ADRs) | "Decision: Supabase over Firebase for Hedge" |
research |
Market intel, competitive analysis | "Top 5 MCAT Prep Resources 2026" |
log |
Build notes, deployment records, what happened | "Deployed Hedge chart v2 with SMA indicators" |
lesson |
Mistakes, patterns, things we learned | "Screenshot loops fail on animated components" |
process |
Workflow definitions, team protocols | This document |
eval |
Quality criteria, test results, review outcomes | "QA Report: MedSchools Landing Page v3" |
idea |
Brainstorms, future possibilities, parking lot | "Could we add AI mock interviews?" |
Tagging Discipline
Every memory saved to Second Brain must include:
type_idā one of the types above (not justcontext)project_idā which project this belongs toimportanceā 1 (low) to 5 (critical)- Title format:
{Type}: {Descriptive Title}(e.g., "Decision: PostgreSQL for user data")
Cleanup Task
Bob/Atlas should:
- Add
phase,depends_on,created_by,artifactsfields to task schema - Add
log,process,eval,ideaas valid memory types - Re-tag existing
contextmemories to proper types (one-time cleanup) - Add agent_id field to memories (who created this)
6. Project Context Isolation
Each project repo gets these standard files:
project-repo/
āāā PROJECT.md # Tech stack, conventions, architecture summary
āāā DESIGN.md # Brand colors, typography, component rules, visual guidelines
āāā _pipeline/
ā āāā sprint-status.md # Current sprint state, active stories
āāā docs/
āāā architecture.md # Detailed architecture decisions (ADRs)
When an agent picks up a task for a project, they read that project's context files first. The agent is the same; the project context is different.
Second Brain holds cross-project and long-term knowledge.
Repo files hold project-specific working context.
7. Communication Protocol
Channels
| Channel | Use For | Who |
|---|---|---|
| Discord | Real-time messages, status updates, quick questions | Everyone |
| Second Brain Task Board | Task assignment, handoffs, work tracking | Agents |
| Second Brain Memories | Knowledge, research, specs, decisions | Everyone |
| Telegram | Henry ā Bob, Henry ā Mark (existing setup) | Henry, Bob, Mark |
| Direct gateway dispatch | Urgent agent-to-agent (Bob ā Mark) | Bob, Mark |
Henry ā Team Communication
Henry primarily talks to Bob (Chief of Staff). Bob routes to the right PM or agent.
Prefix convention for messages to Bob:
- šÆ = Action item ā create a task
- š = Thinking out loud ā file as idea, no action needed
- ā = Need a decision or recommendation
- š = Pass this to the right person
Henry can message any agent directly on Discord for urgent items, but the default flow goes through Bob.
Agent ā Agent Communication
Same machine (Bob's gateway): sessions_send between agents ā instant, free.
Cross-machine (Bob ā Mark): Direct gateway dispatch via /tools/invoke.
Default handoff: Task board (async, audit trail, no latency pressure).
Urgent only: Direct sessions_send or Discord ping.
Status Updates
- PMs (Kevin/Liz) post daily sprint status to Discord project channel
- Agents update task status in Second Brain as they work
- Bob posts weekly cross-project summary to Henry
8. Eval Criteria (Quality Gates)
Universal Evals (All Projects)
Code Quality:
- Tests exist and pass
- No console errors or warnings
- No hardcoded secrets or API keys
- Follows project's
PROJECT.mdconventions - Functions/components are reasonably sized (not 500-line monsters)
Frontend (when applicable):
- Responsive on mobile, tablet, desktop
- Matches DESIGN.md brand guidelines
- Screenshot comparison passes (2 rounds)
- Accessibility basics (alt text, keyboard nav, contrast)
- Loading performance acceptable (< 3s on 3G)
Backend (when applicable):
- API endpoints documented
- Error handling covers edge cases
- Database queries are indexed/optimized
- Rate limiting on public endpoints
- Input validation/sanitization
Content (when applicable):
- SEO meta tags present (title, description, OG)
- No placeholder text remaining
- Links work
- Grammar/spelling check passed
Per-Project Evals
Each project can add project-specific criteria in their PROJECT.md. Examples:
- MedSchools.ai: FERPA compliance considerations, medical accuracy disclaimer present
- Hedge: Financial data accuracy, real-time update performance, disclaimer present
QA Process (Sage)
- Sage receives review task with link to code and story file
- Runs through universal eval checklist
- Runs through project-specific eval checklist
- Produces QA report saved to Second Brain (type:
eval) - Verdict: PASS (proceed to deploy) or CHANGES REQUESTED (back to developer with specific items)
- Developer fixes ā Sage re-reviews (max 2 rounds, then escalate to Bob)
9. Recursive Improvement Loop
The process itself improves over time:
Sprint Retrospectives (Per Project)
- After each milestone/epic, PM runs a retrospective
- What worked? What didn't? What should change?
- Lessons saved to Second Brain (type:
lesson) - Process changes proposed ā Bob reviews ā updates this protocol
Agent Self-Improvement
- Agents update their own SOUL.md and skills as they learn
- New automation scripts written for repetitive tasks
- Tool/skill gaps identified and filled (install from ClawHub or build custom)
Monthly Process Review
- Bob reviews all
lessontype memories from the month - Updates this protocol with improvements
- Shares changes with the team
10. Design Pipeline Integration
The design pipeline tool (design.widerwings.com, currently P2) fits into the Design phase:
Brief ā Research ā [Design Pipeline Tool] ā Architecture ā Build ā ...
āāā Step 1: Project Brief (Q&A)
āāā Step 2: Inspiration Gallery
āāā Step 3: Design System Generation
āāā Step 4: Build Preview
āāā Step 5: Screenshot Review Loop
āāā Step 6: Component Polish
āāā Step 7: Handoff to Kai
The code development equivalent is the Build ā Review ā QA pipeline, which doesn't need a separate tool ā it runs through Second Brain task board + agent workflows.
11. Getting Started ā Implementation Plan
Phase 1: Foundation (This Week)
- Bob reviews and finalizes this protocol
- Create Designer agent on Bob's machine
- Repurpose Sage from Research ā QA (new SOUL.md, new skills)
- Add
phase,depends_on,created_by,artifactsto Second Brain task schema - Add new memory types (
log,process,eval,idea) - Re-tag existing
contextmemories to proper types
Phase 2: First Run (Next Week)
- Pick one MedSchools.ai feature to run through the full pipeline
- Kevin creates the task chain (Brief ā Build ā Review ā QA ā Deploy)
- Team executes with the new protocol
- Run retrospective after completion
Phase 3: Refinement (Ongoing)
- Fix what broke during Phase 2
- Establish heartbeat stagger schedule for Bob's agents
- Build project context templates (PROJECT.md, DESIGN.md) for all active projects
- Begin design pipeline tool development (P2 ā P1)
Appendix: Key Resources
- Second Brain: https://brain.widerwings.com
- BMAD Method (reference): https://github.com/bmad-code-org/BMAD-METHOD
- Design Pipeline PRD: Second Brain (search: "Design Pipeline Tool")
- Design Process Strategy: Second Brain (search: "AI-Powered Web Design Process")
- Recursive Dev Research: Second Brain (search: "Recursive Software Development")
This is a living document. Bob owns updates. Last modified: 2026-03-03.
Created: Wed, Mar 4, 2026, 5:16 AM by mark
Updated: Wed, Mar 4, 2026, 5:16 AM
Last accessed: Wed, Apr 1, 2026, 11:59 PM
ID: 49982577-9d1d-42e2-ae49-5baaadb4fa21