Validated Reference Implementation for: "The Readiness Protocol: Autonomous Capital Synchronization for Critical Infrastructure Supply Chains"
Legacy ERP systems are deterministicβthey cannot "read" the news. GovSignal-Connect is a Neuro-Symbolic AI framework that ingests unstructured geopolitical data (e.g., Executive Orders, SAM.gov signals) to modulate supply chain parameters in real-time.
Designed to work in tandem with the SPOP Reference Architecture, this repository serves as the "Financial Intelligence" layer, enabling autonomous capital allocation based on external risk signals.
By coupling Large Language Models (LLMs) for signal detection with Proximal Policy Optimization (PPO) for execution, this repository demonstrates a 22% reduction in Cash Conversion Cycle (CCC) for defense manufacturers.
| Module | Component | Description |
|---|---|---|
market_sim/ |
Supply Chain Gym Env | Simulates inventory shocks and volatility spikes. |
agents/ |
MARL Core | PPO Inventory Agent & Rule-Based Credit Agent. |
llm_nexus/ |
Semantic Layer | RAG Engine for parsing Defense.gov & SAM.gov. |
tools/ |
CFO Dashboard | Streamlit visualization of "Alpha" and Risk. |
docs/ |
Compliance | SOX/FedRAMP Security & Architecture specs. |
deployment/ |
Infrastructure | Docker/Kubernetes capability configs. |
GovSignal-Connect creates a "Financial Nervous System" that overlays existing ERP logic.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SEMANTIC INTELLIGENCE LAYER β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Defense.gov β β SAM.gov β β News Feeds β β
β ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ β
β β β β β
β ββββββββΌββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββ β
β β LLM NEXUS (RAG) β β
β β (Signal Ingestion & Sentiment Risk Scoring [0.0-1.0]) β β
β ββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Volatility Signal (Tensor)
βββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β DECISION & EXECUTION LAYER β
β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β β Inventory Agent (PPO) ββββββββββββΊβ Credit Agent (Fin-Sec) β β
β β (Optimizes Order Qty) β Cooperativeβ (Optimizes Cash Flow) β β
β ββββββββββββ¬βββββββββββββββ Loop βββββββββ¬ββββββββββββββββββ β
β β β β
βββββββββββββββΌβββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β Purchase Order β Capital Release
βββββββββββββββΌβββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β PHYSICAL / LEGACY LAYER β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Market Simulation Environment β β
β β (Legacy ERP + Supply Chain Shock Dynamics) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The market_sim environment pits the Readiness Protocol against a standard Legacy ERP baseline.
- Demand Logic: Poisson distribution with shock multipliers.
- Shock Logic: If
Risk_Score > 0.8(triggered by LLM), demand doubles (Panic Buying). - Financial constraints: WACC is enforced at 8%, penalizing excess inventory holding.
Beyond simulation, this repository contains production-grade reference implementations of the core Readiness Protocol tenets:
Mocks a connection to authoritative Federal sources.
- Data Source: Defense.gov RSS Feeds
- Output: Structured JSON signal objects with timestamps.
Implements the "Neural" half of the framework.
- Logic: Transformer-based sentiment analysis mapping text to a
[0, 1]scalar. - Thresholds: Configurable triggers for "Watch", "Warning", and "Action".
The "Muscle" of the system.
- Algorithm: Proximal Policy Optimization (Stable-Baselines3).
- Goal: Minimize Stockouts + Holding Costs.
- State Space:
[Inventory, Cash, Pending_Orders, Volatility_Index].
The "Conscience" of the system, ensuring SOX compliance.
- Function: Approves/Denies capital requests based on liquidity and risk.
- Safety: Prevents "Gambling" by enforcing minimum cash buffers (
$50k).
Visualizes the financial impact.
- Cash Conversion Cycle (CCC): Comparative line chart (Legacy vs. Readiness).
- Live Feed: Sidebar showing real-time government signals and system reactions.
# Launch the dashboard
streamlit run tools/dashboard.py- Python 3.9+
- OpenAI Gym / Gymnasium
- Stable Baselines 3
pip install -r requirements.txtpython agents/orchestrator.pySee SECURITY.md for details on:
- SOX Compliance: Audit trails for all financial decisions.
- FedRAMP: Deployment guidelines for High-Security enclaves.
[1] R. K. Thatikonda and S. Donepudi, βThe Readiness Protocol: Autonomous Capital Synchronization for Critical Infrastructure Supply Chainsβ, Critical Infrastructure Resilience Framework Technical Reports. Zenodo, Jan. 18, 2026. doi: 10.5281/zenodo.18293591.
MIT