Context Is the Source of Truth.
Software Is the Deliverable.

With proper context saved, AI can re-build the solution with no intervention

Context Driven Development

AI-driven requirements interview captures intent as structured context
Context is created, reviewed, and approved before solutioning
Multi-AI solution design and project plan development
Tasks assigned to specialized AI subagents for parallel execution
All context saved on GitLab Kanban boards with human approval gates

HOW IT WORKS

Two Commands. Five Phases. Full Automation.

YOU TYPE THIS
$ /cicd my-app requirements cool-feature

Interactive interview with AI

Captures requirements, writes EARS spec,
creates GitLab board + 4-card dependency chain

YOU TYPE THIS
$ /cicd my-app execute cool-feature all

AI cascades through all cards

Solution design, planning, board creation,
code execution — all automated via card chain

DECISION cards and approval gates pause for human judgment at key moments

THE PIPELINE

Five Phases of Context Driven Development

YOU TYPE
1
Requirements
→
AUTOMATED
2
Solution
→
AUTOMATED
3
Planning
→
AUTOMATED
4
Board Setup
→
YOU TYPE
5
Execution

Phases 2–4 are triggered automatically by the card chain — each card's completion unblocks the next

PHASE 1 — CONTEXT CAPTURE
YOU TYPE

AI-Driven Requirements Interview

$ /cicd my-app requirements cool-feature
📝

Structured Specification

Interview produces a formal EARS-format requirements document. Reviewed and approved by the human before any solutioning begins.

🗣

AI Collaboration

An interactive session between human and AI to ensure a deep understanding of the vision and key requirements for a complete specification.

📋

4-Card Chain Created

A dependency chain is automatically created on GitLab: Solution → Plan → Board → Execute. Each card triggers the next.

PHASE 2 — AI COLLABORATION
AUTOMATED VIA CARD CHAIN

Multi-Model Solution Design

Gemini
Architecture & Workflows

Broad reasoning across system boundaries. Workflows, integration, scalability.

ChatGPT
Implementation & Feasibility

Code-focused analysis. Catches structural issues, validates feasibility.

Claude
Synthesis & Integration

Practical execution and infrastructure fit. Synthesizes into unified design.

Critique Loop

All three AIs attack the solution for over-engineering. Refactored and re-synthesized based on critique. Result: docs/{enhancement}/solution.md

Card Chain Cascade

When the TASK:Solution card completes, it automatically unblocks TASK:Plan. The AI picks it up on its next board scan — no human intervention needed.

PHASE 3 — PLANNING
AUTOMATED VIA CARD CHAIN

Plan Vetted by 3 AIs, Tasks Assigned to 5 Agents

Gemini
+
ChatGPT
+
Claude
→
3 Independent Plans
Synthesized + Peer Reviewed
→
Final Plan
Agent Assignments + Dependencies
↓
📋
PM
🏗
Architect
🛡
Security
💻
Developer
🧪
QA

Grey areas flagged as DECISION cards — HUMAN GATE — execution pauses until you pick an option

PHASE 4 — KANBAN BOARDS
AUTOMATED VIA CARD CHAIN

Plan Becomes GitLab Cards

What Gets Created

  • PHASE cards — one per plan phase, spawns task cards when activated
  • Task cards — individual work items with agent assignments
  • DECISION cards — grey areas needing human choice
  • INFO cards — solution + plan summaries for reference

Board Columns

backlog ready in-progress review blocked done
GitLab Kanban Board
PHASE 5 — EXECUTION
YOU TYPE

Board-Driven Workflow

$ /cicd my-app execute cool-feature all
👤
Human Review
⇅
✅
Ready
→
⚙
In Progress
→
🏁
Done

Human in the Loop

DECISION cards pause execution until human picks an option. Approval gates on complex features.

Free-Form Comments

Check the "Read comment" box on any card — AI reads your feedback and adjusts course mid-task.

Branch + MR

Each task card creates a feature branch and merge request. CI/CD pipeline validates before merge.

GITLAB CI/CD

Every Commit Triggers a 5-Stage Pipeline

1 lint
Static analysis & code style enforcement
2 test
Full test suite must pass before build
3 build
Docker image build & push to Container Registry
4 deploy
Pull new image & restart on linuxserver.lan
5 qa
Post-deploy Playwright tests against live service
GitLab Pipelines
GitLab Pipeline Stages
MULTI-USER

Role-Aware Execution

🛡

Administrator

  • Full lifecycle access — all 5 phases
  • Creates databases, Keycloak clients, Traefik routes
  • Board creation via direct PostgreSQL SQL
  • MCP RBAC management
  • Runner tag: administrator
💻

Developer

  • Full lifecycle access — all 5 phases
  • Escalates infrastructure needs to admin
  • Same /cicd commands, role auto-detected
  • Proactive warnings before admin-only steps
  • Runner tag: developer
$ /cicd my-app status    # works the same for both roles

Context Is the Source of Truth.
Software Is the Deliverable.

Requirements
→
Solution
→
Plan
→
Board
→
Execute

With proper context saved, AI can re-build the solution with no intervention

ROADMAP

Enhancement Recommendations

Near-Term

Status Dashboard

/cicd project status outputs text today. Build a live HTML dashboard on nginx showing all enhancements, phases, card progress, and agent workload across projects.

Parallel Card Execution

Currently cards execute sequentially. Enable parallel execution of independent task cards within the same phase using Claude Code's Agent tool for concurrent subagents.

Complexity-Adaptive Flow

Trivial enhancements skip critique loops and peer review. Auto-detect complexity tier and adjust the pipeline depth — no flags needed.

Future Vision

Webhook-Driven Execution

Replace polling with GitLab webhooks. When a card moves to ready, a webhook triggers the appropriate agent container automatically — zero human commands needed.

Cross-Project Orchestration

Enhancements that span multiple repos create linked cards across projects. A central PM agent tracks cross-project dependencies and coordinates execution order.

Metrics & Learning Loop

Track cycle time per phase, agent success rates, and human intervention frequency. Feed metrics back into the planning phase so future estimates improve over time.

Mike Murphy

Mike Murphy

linkedin.com/in/mikemurphynj