Cold War: Decided
Evidence-Disciplined Multi-Agent Decision Simulator
The Cold War setting is the user-facing theme. The portfolio value is the reusable AI workflow architecture underneath: document ingestion, specialist agents, independent review, deterministic software guardrails, human authorization, and a persistent audit trail.
Project objective
The project began as an interactive Cold War decision simulator and evolved into a production test bed for auditable multi-agent AI. The goal became more than generating an answer โ the system needed to:
- isolate evidence between specialists;
- preserve uncertainty and competing hypotheses;
- challenge conclusions through feedback and red-team review;
- produce one decision-ready recommendation;
- enforce high-consequence action boundaries;
- require human authorization;
- preserve every stage for later inspection; and
- evaluate decision correctness separately from writing quality.
Development phases
- Interactive command-center prototype and deterministic demo mode.
- Live AI pipeline with four specialist agents.
- Chief feedback, controlled revisions, and Counterintelligence review.
- Protected serverless APIs, structured outputs, retry handling, and secret management.
- Neon Postgres mission ledger and protected Run History.
- PDF scenario ingestion, evidence routing, page citations, and document fingerprints.
- Scenario adjudication, independent Decision Auditor, deterministic policy matrix, regression testing, and production validation.
Final multi-agent workflow
- A built-in brief or uploaded PDF enters the system.
- Evidence is routed into four separate silos: Submarine Intelligence, ELINT, Air Intelligence, and HUMINT.
- Four specialists produce independent initial reports.
- The Chief gives each specialist targeted feedback.
- Each specialist completes one controlled revision.
- Counterintelligence red-teams the combined evidence.
- The Chief creates a structured proposal.
- A deterministic software policy matrix calculates eligible actions.
- An independent Decision Auditor challenges the proposal and its evidence.
- The Chief produces a final synthesis.
- The software recomputes the policy result and builds a coherent Action / Why / Avoid / Reconsider decision block.
- A human remains responsible for authorization.
- All 16 stage outputs, evaluations, telemetry, and provenance records are preserved in the mission ledger.
Hardest engineering problem
Production testing showed that the Chief repeatedly selected the same response across materially different scenarios. Additional prompt instructions changed the preferred default but did not reliably eliminate the bias.
The persisted run history made it possible to inspect the exact evidence, structured factors, Auditor feedback, and selected actions for every run. That diagnosis showed prompt-only control was insufficient โ the fix couldn't just be a better instruction.
The final solution used a hybrid AI and deterministic policy architecture:
- The AI interprets evidence, identifies uncertainty, and populates structured factors.
- Deterministic software calculates which actions are eligible.
- Explicit action contracts protect consequential choices.
- The Decision Auditor challenges unsupported factors.
- The human retains final authority.
- The complete decision block is generated from the policy result so the label and explanation cannot contradict each other.
Final validation
Operation Northern Glass
Action: Keep monitoring
Operation Amber Circuit
Action: Launch a covert operation
- Both completed all 16 expected reports.
- Both received 100% scenario-specific Decision Accuracy in the final production validation.
- Two materially different evidence patterns produced two different actions.
- The final action explanations matched the enforced decisions.
- Build checks and production runtime logs were clean.
These results apply to the supplied benchmark scenarios โ not a claim of universal accuracy, defense-grade reliability, or statistically comprehensive validation.
Skills demonstrated
AI systems engineering
- Multi-agent orchestration
- Evidence siloing
- Parallel and sequential model execution
- Structured JSON outputs
- Prompt and context design
- Critique-and-revision loops
- Human-in-the-loop authorization
- Hybrid AI and deterministic decision control
Evaluation and governance
- Scenario-specific benchmark design
- Analysis Quality versus Decision Accuracy
- Decision-collapse detection
- Evidence citations and provenance
- Explicit action contracts
- Regression tests derived from production failures
- Audit-trail preservation
- Honest limitation reporting
Full-stack and infrastructure
- Serverless API development
- PostgreSQL schema design and migrations
- PDF parsing and document routing
- Authentication and secret management
- Runtime and build-log investigation
- CI testing and Git deployments
- Cost, token, latency, and response-ID telemetry
Product and debugging
- Root-cause analysis using saved production records
- Separating model, application, database, deployment, and caching failures
- Converting live failures into regression tests
- Knowing when software rules are more appropriate than additional prompting
- Determining when a project is complete
Carryover to accounting and finance workflows
The Cold War scenario is fictional, but the workflow is directly transferable to accounting, tax, finance, compliance, and professional-services operations. In those settings, the evidence changes from intelligence reports to client documents, transaction records, tax notices, workpapers, policies, and financial data. The same architecture can route information to specialized reviewers, apply deterministic firm rules, require human approval, and preserve a defensible audit trail โ the kind of foundation a project like FirmOS would build on.
| Cold War: Decided | Accounting / finance equivalent |
|---|---|
| Scenario PDF | Tax notice, workpaper, client document, loan package, or financial report |
| Evidence router | Document classification and data extraction |
| Specialist agents | Tax, accounting, compliance, bookkeeping, payroll, fraud-risk, or financial-analysis specialists |
| Chief Agent | Engagement manager, controller, CFO, or workflow orchestrator |
| Counterintelligence | Contradiction, fraud-risk, missing-information, and source-reliability review |
| Decision Auditor | Technical reviewer, quality-control reviewer, or internal audit |
| Policy matrix | Firm policies, materiality thresholds, approval limits, filing deadlines, segregation-of-duties rules, and regulatory requirements |
| Human authorization | Preparer, reviewer, manager, controller, CFO, or partner approval |
| Mission ledger | Engagement file, workpaper history, and defensible audit log |
| Evaluator | Quality monitoring, exception reporting, and process-improvement metrics |
Example reuse: a tax-notice response workflow
All product names below are possible future integrations, not part of this project's actual technology stack.
- A tax notice enters through a client portal, SharePoint, OneDrive, SmartVault, or email intake.
- An OCR/document product (e.g. Azure AI Document Intelligence, Google Document AI, Amazon Textract) extracts dates, agencies, balances, periods, and notice codes.
- The system retrieves relevant client information from QuickBooks Online, Xero, NetSuite, Sage Intacct, a tax platform, or the FirmOS database.
- Specialist agents separately review notice classification and deadline, client account history, tax-law or procedural requirements, financial reconciliation, and missing documents and risk.
- A manager agent synthesizes the findings.
- Deterministic rules enforce deadlines, approval authority, materiality, required documentation, and actions the AI may not take.
- A technical reviewer or partner approves the response.
- The workflow creates or updates a task in a practice-management system (e.g. Karbon, Financial Cents, Canopy, TaxDome).
- A draft response is created in Microsoft Word or Google Docs.
- Final documents may flow through DocuSign or Adobe Acrobat Sign.
- Communications may be delivered through Outlook, Gmail, Microsoft Teams, or a secure client portal.
- Every source, revision, approval, and final action remains in the engagement audit trail.