Status: "Cognitive Core" Sprint (Phases 15-18) Completed.
- Epistemic Prompt Injection:
strategify/reasoning/llm.pynow queriesStrategicBridgefor actual beliefs and knowledge before hitting the LLM. - Clojure Counterfactual Forecaster: Integrated
ClojureBridge.branch_timelinesto provide the LLM with simulated Lisp futures. - The
CognitiveActorAgent: CreatedCognitiveActorAgentsubstituting Nash matrix arrays with highly contextual LLM calls.
- Disinformation Mechanics: Added
believes/2overrides intraits.plfor propaganda spread based ongulliblevsanalysttraits. - Propagating Facts: Integrated
StrategicBridgeinsideGeopolModel.step()to log physical state changes (combat, posture) as Prolog beliefs (action(region, posture)). - Information Warfare: Added
disinformation_gametocrisis_games.py(propaganda vs censorship).
- Expand Clojure State Map: Expanded
GameStateRecordto include:economic-reserve,:stability, and:un-resolutions. - Fast Path Combat Resolution: Delegated kinetic combat calculations in
conflict.pyto(resolve-combat state)in Clojure.
- Tournament Runner: Established
tournament_runner.pycomparing traditional Nash agents againstCognitiveActorAgentacross metrics like global tension and escalations.
Objective: Move the simulation out of headless mode by properly exposing the newly created Cognitive architectures to the React frontend. We need to allow humans to see the "thoughts" of the agents, interact with them, and expand our economic fidelity.
Goal: Tie the Mesa simulation backend to the React/Vite frontend.
- Task 1: FastAPI Controller Layer: Add a
fastapiapp running alongside or wrapping the Mesa model. Expose endpoints forPOST /api/simulation/start,GET /api/simulation/state, andPOST /api/simulation/step. - Task 2: Frontend Data Hookup: Populate
frontend/src/api/andfrontend/src/hooks/with Axios fetchers. Replace the hardcodedsampleRiskDatainDashboard.jsxandSimulation.jsxwith live simulation data.
Goal: Visualize the "brain" of the CognitiveActorAgent.
- Task 1: Epistemic Graph View: Create a PyVis/React component showing a node-graph of what an agent "knows" vs "believes" dynamically queried from Prolog.
- Task 2: Lisp Branching UI: On the Simulation view, add a "Timeline Prediction" tree showing the Clojure MCTS branch projections that the LLM is currently evaluating.
- Task 3: Live LLM Logs: Add an inspector panel for agents revealing the raw prompt and response (XAI transparency for the user).
Goal: Allow users to step into the role of a faction and play against the Cognitive AI or RL Agents.
- Task 1: Interactive Play Mode: Modify the
PettingZoowrapper so that one agent can be"human". - Task 2: Frontend Command Terminal: Add a UI module allowing the user to submit actions (
Escalate,SpreadFakeNews, etc.) for their mapped nation during a live turn.
Goal: Increase the fidelity of the "economic" variable to multi-commodity supply chains.
- Task 1: Commodity Ledger: Update the economic models to track Oil, Semiconductors, and Food across the network graph.
- Task 2: Vulnerability Analysis: Implement tools to detect critical supply chain choke points using NetworkX betweenness centrality and feed these into the Prolog epistemology
potential_gain/risk_levelfacts.