This document defines the phased implementation roadmap for ForgeAI.
The engineering timeline is structured into 6 sequential phases designed to deliver value iteratively while guaranteeing architectural integrity, security, and performance at every milestone.
gantt
title ForgeAI Engineering Implementation Roadmap
dateFormat YYYY-MM-DD
section Phase 1: Platform Foundation
Core Platform & Fortify Auth :p1, 2026-08-01, 30d
section Phase 2: AI Engine
laravel/ai Integration & Drivers :p2, after p1, 30d
section Phase 3: Agent Framework
Agent State Machines & Sandbox :p3, after p2, 45d
section Phase 4: Workspace UI
Inertia v3 Reactive UI & SSE Stream :p4, after p3, 30d
section Phase 5: Engineering Graph
Graph Engine & Vector RAG Pipeline :p5, after p4, 45d
section Phase 6: Enterprise & Scale
Token Governance & MCP Gateway :p6, after p5, 30d
- Objectives: Establish Laravel 13 core, multi-tenant organization models, Fortify authentication, Passkey WebAuthn setup, and initial Vue 3 Inertia app frame.
- Deliverables:
Domain/AuthTenantmodule with Fortify and Passkey auth flows.- Organization tenant isolation middleware.
- Pest test suites (
tests/Feature/AuthTest.php).
- Exit Criteria: 100% passing Pest tests, zero Larastan static analysis errors, working passkey registration in staging.
- Objectives: Integrate
laravel/aiSDK (Laravel\Ai\*), configure OpenAI, Anthropic, Gemini, and Ollama drivers, and build provider failover circuit breakers. - Deliverables:
Domain/AIEnginemodule wrappinglaravel/ai.- Automated fallback cascade driver policies.
- Mock testing suite (
Ai::fake()) verifying provider switching.
- Exit Criteria: Verified provider failover under simulated HTTP 429/500 errors; sub-400ms TTFT streaming benchmarks.
- Objectives: Implement the 10 Specialist Agent Personas, agent state machines, tool definitions, and sandboxed subprocess execution runners.
- Deliverables:
Domain/AgentandDomain/Automationmodules.- Subprocess runner with 128MB RAM and 10s execution limits.
- Human-in-the-Loop (HITL) approval gate middleware.
- Exit Criteria: Sandboxed tools pass security isolation audits; HITL gates halt execution cleanly on unapproved mutating calls.
- Objectives: Build the interactive Vue 3 workspace interface with real-time SSE token streaming via Inertia v3 and Wayfinder route functions.
- Deliverables:
- Vue 3 workspace views, chat components, tool execution drawers.
- Inertia v3 SSE streaming controllers.
- Tailwind CSS v4 styling and Reka UI integration.
- Exit Criteria: Smooth typing-style token streams without UI re-render lag or frame drops.
- Objectives: Build the Engineering Graph indexing engine and PostgreSQL
pgvectorRAG pipeline. - Deliverables:
Domain/EngineeringGraphwith recursive CTE traversal queries.Domain/KnowledgeVectordocument chunking and HNSW vector search.
- Exit Criteria: Sub-15ms recursive graph query traversals; sub-10ms vector similarity searches across 100,000 document chunks.
- Objectives: Finalize Token Usage Ledgers, enterprise token budget enforcement, Bi-directional Model Context Protocol (MCP) Gateway, and Plugin Marketplace.
- Deliverables:
Domain/Governancetoken cost accounting and rate limiters.- Bi-directional MCP JSON-RPC gateway server/client.
- Plugin extension loader.
- Exit Criteria: Successful end-to-end integration test with external Cursor IDE via MCP protocol; 100% token budget enforcement compliance under load.
- 00-overview.md
- 01-product-requirements.md
- 05-modular-architecture.md
- 11-development-standards.md