Project Bedrock
The atomic, testable engineering plan for building a governed, resilient agentic architecture. This roadmap translates the vision of the Architect's Blueprint into concrete, verifiable workstreams.
This workstream establishes a zero-tolerance policy for silent failures. The system must fail loudly and predictably when it cannot self-correct, implementing fail-fast mechanisms and a system-wide circuit breaker.
1.1: Fail-Fast Startup Validation
Prevent the system from running in a partially-functional state by validating critical components at startup.
1.2: Fail-Fast on Unknown Graph Routes
Eliminate silent, infinite-loop bugs by enforcing strict route validation within the graph orchestrator.
1.3: Standardize Self-Correction Signal
Create a decoupled mechanism for specialists to request a retry with clarification, increasing resilience to transient errors.
1.4: Define System Invariants
Establish the formal rules (State Integrity, Execution Constraints) that define a healthy system state.
1.5: Implement InvariantMonitor Service
Implement the core logic for the system-wide circuit breaker and integrate it into the main execution loop.
1.6: Configure Circuit Breaker Actions
Define and implement the stabilization actions (e.g., HALT, ROUTE_TO_HUMAN) taken when an invariant is violated.
This workstream moves the system from implicit LLM inference for control flow to deterministic, structured communication. The Dossier, MCP, and Ranked Fallback patterns create a predictable control plane.
2.1-2.3: Implement Dossier Pattern
Establish the "Dossier" for explicit, state-mediated asynchronous communication. The orchestrator must prioritize, validate, and consume dossiers for deterministic routing.
2.4-2.6: Implement MCP
Define and implement the Message-Centric Protocol (MCP) for synchronous, direct tool invocation between specialists, and refactor a specialist to use it.
2.7-2.8: Purge State & Refactor Specialists
Perform a breaking change to remove all deprecated, specialist-specific fields from the global `GraphState` and update all specialists to use Dossier/MCP.
2.9-2.10: Implement Ranked Fallback Routing
Evolve the router's output from a single choice to a strategic, ranked plan, allowing the orchestrator to automatically try the next best option on failure.
This workstream evolves the central router into a multi-stage decision engine. It combines procedural, declarative, and probabilistic strategies to make routing cheaper, faster, and more reliable.
3.1: Implement Reflexive Routing
Reduce latency and cost by handling simple, deterministic tasks with a procedural bypass, avoiding the LLM call entirely for trivial requests.
3.2-3.4: Implement Declarative Guardrails
Define a schema for routing policies (Guardrails) and implement a rule engine in the orchestrator to enforce them based on structured execution signals.
3.5: Formalize Hybrid Routing Priority
Finalize the engine by ensuring a strict decision order: 1. Dossier, 2. Fallback, 3. Guardrail, 4. Reflex, 5. LLM. The LLM is the final escalation path.
This workstream matures the project's infrastructure, observability, and deployment standards to a professional grade.
4.1: Unified Container Architecture
Establish a robust local development and deployment environment using Docker Compose with persistent volumes for state and artifacts.
4.2-4.3: Atomic Archival Tooling
Replace the monolithic Archiver specialist with a tool-based approach to create high-fidelity "Atomic Archival Packages" (.zip) for better observability.
4.4-4.6: AG-UI Event Stream
Implement middleware to translate internal LangGraph events into the standardized AG-UI format and expose them via a real-time API endpoint.
This workstream implements the meta-agentic subgraph that dynamically acquires, refines, and assembles the optimal context payload for "Solver" agents, using the communication patterns from Workstream 2.
5.1: Implement TriageArchitect (Planner)
Create a fast, tool-calling specialist that generates a structured "context acquisition plan" by consulting other specialists via MCP.
5.2-5.3: Implement Researcher & Summarizer
Implement specialists for fetching external information (Researcher) and for semantic compression of large text artifacts (Summarizer).
5.4-5.5: Implement Facilitator & Integrate
Create the orchestration logic (Facilitator) to execute the context plan, assemble the payload, and wire the entire ecosystem into the main graph.