Canonical: https://portfolio.controlstackai.com/

Matthew Mangano — Engineering the whole system     

Aerospace × AI systems

# From flight controls
to AI systems.

I’m Matthew Mangano. I build aerospace tools and agent infrastructure, and lead independent research into AI that remembers, learns from engineering checks, and explores new designs.

[Explore selected work ↓](https://portfolio.controlstackai.com/#work)[How I work with teams ↗](https://portfolio.controlstackai.com/#leadership)

[LinkedIn ↗](https://linkedin.com/in/matthew-mangano-1985685)[GitHub ↗](https://github.com/mmango7474)[ControlStackAI ↗](https://github.com/ControlStackAI)

SOUTHERN CALIFORNIA · OPEN TO BAY AREA OPPORTUNITIES 

FIELD NOTES / SYSTEM DESIGN● CONCEPT MAP 

Understand the system. Make the result inspectable. 

Physical systemsFLIGHT DYNAMICS / CONTROLS / REAL-TIME I/O

Agent infrastructureAUTHORITY / DURABLE STATE / RECOVERY

Tools for engineersREPRODUCIBILITY / REVIEW / HANDOFF 

01 / Selected work

## Ideas, carried into systems.

Exploring what AI can learn, remember, and engineer. Public experiments and working tools alongside early-stage research—with the evidence and next milestones in each case study.

01 — MEMORY INSIDE THE MODEL

### Engram

Can an AI learn a person over time—not just retrieve notes about them? Research into persistent, per-user neural memory, with a working evaluation harness testing what today’s memory systems retain, update, and forget.
[Explore the research site ↗ — Engram](https://alinaos-org.github.io/engram/)

Research previewNeural memoryBenchmark & pilot

Read case study →

#### The research question

Retrieving a fact is not the same as learning when it changed or when it should be forgotten. Engram asks whether memory inside a model can support a person across sessions, while keeping each user’s knowledge separate and removable.

#### My contribution

Founding and directing the research, with AI-assisted development of engram-bench: synthetic users, multi-session timelines, context-wipe evaluations, memory baselines, and cross-user leakage checks. Published pilot artifacts make the first comparisons inspectable.

#### The design choice

The proposed architecture combines a frozen open-weights base, fast neural memory updated at inference time, and offline “sleep” consolidation into a per-user adapter. A retrieval log preserves exact facts and provenance. Detachable, encrypted user modules are a design goal; the benchmark comes first.

#### Evidence & scope

The October 15, 2026 pilot compares no memory, full context, and hybrid retrieval across two model providers: 10 synthetic users, 30 sessions each, and 559 probes per system. Retrieval struggled with updates and forget requests despite strong fact recall. These are baseline findings—not a demonstrated advantage for neural memory. The pilot uses short, template-generated histories and has documented harness and judging limitations; no Engram model weights are released.
[Public code and research ↗](https://github.com/alinaos-org/engram) · [Pilot results and limitations ↗](https://github.com/alinaos-org/engram/blob/main/research/phase-0-pilot.md)[View on GitHub ↗ — Engram](https://github.com/alinaos-org/engram) 

02 — LEARNING FROM ENGINEERING TOOLS

### Aero Foundation

Can a language model learn aerospace engineering from answers that physics and control tools can check? A research program for open-weights models trained on aerospace knowledge and rewarded for verifiable engineering results.
[Explore the research site ↗ — Aero Foundation](https://foundation.aerospace-superintelligence.com)

Phase 0 · research designTool-verified rewardsAerospace AI

Read case study →

#### The research question

A convincing explanation is not enough to establish a stable controller or a credible aerodynamic model. Aerospace engineering already has tools for checking these answers. Aero Foundation investigates using those checks to shape the model’s learning, not just review its output afterward.

#### My contribution

Founding and directing an aerospace-model research program that connects my flight-controls background with AI training. The public work defines a provenance-tracked aerospace corpus, candidate engineering verifiers, a staged experiment plan, and a qualification-oriented architecture.

#### The design choice

Start with deterministic control-system and handling-qualities checks; test reinforcement learning with tool-verified rewards before scaling continued pretraining. The broader agenda includes JSBSim, AVL, XFOIL, and OpenVSP. Keep the model as a proposer, with independent tools checking its answers and held-out tasks evaluating progress.

#### Evidence & scope

Phase 0: public research and planning documents, not a trained aerospace model or implemented training pipeline. The roadmap separates baseline evaluation, reward-driven training, corpus development, and qualification-oriented hardening. Intended for ground-based engineering—not airborne software. DO-330 is a future tool-qualification path; nothing is qualified today.
[Public research and roadmap ↗](https://github.com/aerospace-superintelligence/aero-foundation) · [Engineering verifier designs ↗](https://github.com/aerospace-superintelligence/aero-foundation/blob/main/research/verifiers.md)[View on GitHub ↗ — Aero Foundation](https://github.com/aerospace-superintelligence/aero-foundation) 

03 — AUTONOMOUS PROCESSOR RESEARCH

### ControlStackAI Silicon

Can AI agents design useful processors—not just generate RTL? An early-stage research program exploring specialized compute through agent-directed design, independent verification, and reproducible measurement.
[Explore the research site ↗ — ControlStackAI Silicon](https://controlstackai-silicon.github.io/)

Founding-stage researchProcessor architectureAgent-directed EDA

Read case study →

#### The research question

Generating hardware code is only the start. A processor candidate needs correct behavior and a fair comparison of area, timing, and estimated power before an architectural idea becomes an engineering result.

#### My contribution

Founding and directing an independent research program around autonomous processor engineering. The published agenda covers small RISC-V extensions, low-power accelerators, fixed-latency datapaths, and agent-directed electronic design automation.

#### The design choice

Structure the proposed research loop around constrained architecture candidates, independent reference models, randomized tests, and reproducible synthesis. Let verification and measured tradeoffs determine which candidates advance.

#### Evidence & scope

The public artifacts currently establish the research agenda and roadmap. Reproducible RTL baselines and design constraints are the foundation-stage focus; autonomous search, FPGA validation, and eventual tape-out assessment are future milestones. No novel processor or measured performance gain is claimed.

#### The shared ambition

Silicon and Dynamics are sister programs with a long-term goal: co-design control algorithms and the processors that execute them. That convergence is a research direction, not a demonstrated result.
[Public research agenda and roadmap ↗](https://controlstackai-silicon.github.io/) · [GitHub organization ↗](https://github.com/controlstackai-silicon)[View on GitHub ↗ — ControlStackAI Silicon](https://github.com/controlstackai-silicon) 

04 — AUTONOMOUS CONTROL RESEARCH

### ControlStackAI Dynamics

Can AI discover a better control law—and survive attempts to disprove it? An early-stage research program applying autonomous agents to control discovery for uncertain nonlinear systems.
[Explore the research site ↗ — ControlStackAI Dynamics](https://controlstackai-dynamics.github.io/)

Founding-stage researchNonlinear controlAutomated falsification

Read case study →

#### The research question

A controller can look impressive on the conditions used to develop it and fail elsewhere. Meaningful discovery requires strong, fairly tuned baselines, unfamiliar disturbances, and independent evaluation.

#### My contribution

Founding and directing an independent research program that connects my aerospace controls background with AI-driven experimentation. The agenda spans interpretable adaptive, robust, and model-based strategies, automated falsification, and efficient real-time implementation.

#### The design choice

Design the discovery loop to challenge its own candidates: controlled simulations, randomized environments, adversarial disturbances, and held-out conditions. Compare repeatable control performance alongside computational cost and latency.

#### Evidence & scope

The public artifacts currently establish the research agenda and roadmap. Deterministic plant models and baseline comparisons are the foundation-stage focus; autonomous discovery, cross-system benchmarks, and hardware deployment are future milestones. No novel control discovery or demonstrated baseline improvement is claimed.

#### The shared ambition

Silicon and Dynamics are sister programs with a long-term goal: co-design control algorithms and the processors that execute them. That convergence is a research direction, not a demonstrated result.
[Public research agenda and roadmap ↗](https://controlstackai-dynamics.github.io/) · [GitHub organization ↗](https://github.com/controlstackai-dynamics)[View on GitHub ↗ — ControlStackAI Dynamics](https://github.com/controlstackai-dynamics) 

05 — AUTHORITY & APPROVAL

### GatekeeperOS

An agent may need one resource, not every credential its operator owns. GatekeeperOS separates resource access from the decision to make a change real.

TypeScriptCapabilitiesOpen source

Read case study →

#### The problem

Tool access often hides several decisions: which resource, which agent, which operation, and who approves the effect. A useful permission model needs to make those decisions explicit.

#### My contribution

Developing an independent operations layer around OpenClaw, with scoped grants, gatekeeper drivers, pending actions, and reviewable audit records. Work is AI-assisted; upstream platforms and dependencies are credited separately.

#### The design choice

Keep authorization in the kernel and resource behavior in typed drivers. A pending action can be inspected before application; a proposed effect is not represented as a completed external change.

#### Evidence & scope

Public source and dated acceptance records. Release compatibility and driver coverage are explicit in the project documentation. This is an operations layer—not a Linux distribution or a sandbox for hostile same-user code.
[View on GitHub ↗](https://github.com/gatekeeper-os/gatekeeper-os)[View on GitHub ↗ — GatekeeperOS](https://github.com/gatekeeper-os/gatekeeper-os) 

06 — DURABLE AGENT RUNTIME

### Truss

An agent saying “done” is not an acceptance test. Truss is a Rust harness that turns a task contract into a reviewable verdict, backed by executable checks and a signed execution record.

Rust / SQLiteDurable executionSigned evidence

Read case study →

#### The problem

A transcript does not establish that work met its requirements. After an interruption, it also does not tell a runtime which tool results are safe to reuse.

#### My contribution

Product direction and AI-assisted development of an independent Rust agent harness: task contracts, harness-run acceptance checks, separate model review, and a signed SQLite journal for replay and inspection.

#### The design choice

Use the execution record for both recovery and evidence. Resume reuses recorded outcomes; acceptance comes from explicit criteria rather than the executor’s completion message. Provider-specific model code lives outside the core runtime.

#### Evidence & scope

On October 12, 2026, all 18 durability and contract integration tests passed locally with controlled providers, including signal-based resume, recorded-result replay, tamper detection, and rejection of failing work. These tests do not establish live-model quality. Signatures prove record integrity, not correctness; external side effects still need idempotency, and the default execution mode is not a security sandbox.
[View on GitHub ↗](https://github.com/ControlStackAI/truss) · MIT-licensed source[View on GitHub ↗ — Truss](https://github.com/ControlStackAI/truss) 

07 — HUMAN–AGENT INTERACTION

### ALINA / Agentic Desktop

A conversation that belongs to the desktop, with visible work state and review controls—not a chat window that disappears when its UI process closes.

NixOSQML / Node.jsSystems integration

Read case study →

#### The problem

A desktop assistant spans a compositor, UI, agent runtime, and network connection. Treating all of that as one disposable process makes interruptions hard to explain and recover from.

#### My contribution

Product direction and AI-assisted integration of a resident conversation service, desktop UI, agent status, and declarative Linux configuration. The implementation builds on OpenClaw, NixOS, Hyprland, and Quickshell.

#### The design choice

A local daemon owns conversation state and the outbound queue; QML is a reconnectable view. Stable request identities support retries. The desktop exposes queued, working, and review-needed states.

#### Evidence & scope

Local daemon/QML source and dated deployment notes. This portfolio’s systems map is an original explanatory illustration, not a captured product screen. The architecture separates a persistent conversation service from its reconnectable desktop view.
Source-reviewed architecture · private implementationPrivate implementation 

08 — APPLIED AEROSPACE

### Flight dynamics & controls

Aircraft simulation and engineering tools that connect control-law design, software testing, and the next engineer’s workflow.

MATLAB / Simulink6-DOF simulationEngineering practice

Read case study →

#### The problem

A controls team needs models and test environments with clear assumptions, consistent interfaces, and results that can be reviewed and repeated.

#### My contribution

My aerospace work spans flight controls, six-degree-of-freedom simulation, real-time integration, and verification tooling. At Aerospace Control Dynamics, I led a three-person team testing flight-control computer software, designed the test environment, analyzed results, and recommended and implemented control-law updates.

#### The engineering judgment

Make units, reference frames, requirements, and validation assumptions explicit. Numerical consistency matters, but a model also needs a stated basis in physical evidence.

#### Scope

This is a summary of my engineering experience, not a downloadable client case study. Customer code, models, test results, and technical artifacts are not published here.
Professional experience · high-level overviewPrivate implementation 

09 — EXECUTION & RECOVERY

### Dark Factory

A durable workflow controller for issue-backed agent work. The difficult part is not starting a task—it is deciding what happened after an interruption.

Go / SQLiteState machinesOpen source

Read case study →

#### The problem

An agent can finish after its lease expires; a process can disappear after a side effect but before an acknowledgment. Retrying everything blindly can duplicate work or advance on stale results.

#### My contribution

Developing an independent controller with durable workflow state, bounded execution, expiring leases, fencing tokens, and immutable review packets.

#### The design choice

Bind completion to the reviewed artifact and current execution generation. Persist transitions and ambiguous outcomes. When dispatch history is uncertain, block for reconciliation instead of assuming another attempt is safe.

#### Evidence & scope

Public source documents the controller and forced-restart proof using fake external services. That evidence is distinct from live production-provider acceptance or a packaged release.
[View on GitHub ↗](https://github.com/ControlStackAI/dark-factory)[View on GitHub ↗ — Dark Factory](https://github.com/ControlStackAI/dark-factory) 

10 — LIGHTWEIGHT AGENTIC DEPLOYMENT

### Agent Installer

A smaller, standalone agentic deployment environment built around Codex CLI, without OpenClaw. Boot from USB, describe the system you want, and let the agent inspect the hardware, help plan the deployment, and carry out approved work.

Codex CLIArch Linux / NixOSOpen source

Read case study →

#### The problem

A deployment agent needs to work on the target machine before an operating system is installed. Hardware inspection, network readiness, sign-in, and data-preservation decisions must be available in the live environment.

#### My contribution

Developing a lightweight agentic deployment environment with embedded Codex CLI, guided setup or direct conversation, editable desktop and server presets, and separate Arch Linux and NixOS image adapters.

#### The design choice

Keep the deployment environment independent of OpenClaw. Pin image inputs, keep credentials in private RAM storage, and preserve only reviewed, non-secret handoff notes across live boots. The companion OpenClaw-based environment adds an onboard OpenClaw agent and an assistant that stays on the installed system.

#### Evidence & scope

Arch Linux and NixOS live environments and interfaces have passed VM tests. This is a development preview; complete physical-disk installation, installed-system boot, and recovery have not yet been validated.
[View on GitHub ↗](https://github.com/ControlStackAI/agent-installer)[View on GitHub ↗ — Agent Installer](https://github.com/ControlStackAI/agent-installer) 

11 — AGENTIC INFRASTRUCTURE

### Agentic Deployment Environment

Infrastructure that deploys itself.
Boot from USB, describe what the machine should do, and work through Linux deployment in a conversation. The agent guides setup, brings the disk plan to you for approval, and stays on the installed system.

OpenClawArch Linux / NixOSOpen source

Read case study →

#### The problem

Turning a bare machine into a useful system means translating intent into operating-system, storage, desktop, and account choices. Conventional installers leave that translation—and the handoff to ongoing system operation—to the user.

#### My contribution

Developing an open-source agentic deployment environment powered by OpenClaw: a bootable Linux image, conversational setup, a local installation review, and a resident assistant that continues after deployment.

#### The design choice

Use the agent to guide configuration while keeping disk selection, erasure approval, and secret entry in explicit local prompts. Separate the live deployment environment from the installed assistant, which reconnects after reboot and fresh provider sign-in.

#### Evidence & scope

The public repository documents isolated Arch Linux and NixOS installation and reboot tests with Hyprland, plus owner-reported hardware boot and YubiKey checks. This is a development preview; broader hardware and provider-account qualification is ongoing.
[View on GitHub ↗](https://github.com/ControlStackAI/openclaw-system-agent)[View on GitHub ↗ — Agentic Deployment Environment](https://github.com/ControlStackAI/openclaw-system-agent)

02 / How I think

## Different systems. Related questions.

Who has authority?What survives a restart?What does the model prove?Can a teammate use it?

### Make the permission boundary visible.

Resource→Scoped grant→Proposed action→Decision

GatekeeperOS treats reading a resource and applying a change as different decisions. An agent’s intention is not itself authorization.

### Persist the facts needed to continue.

Intent→Recorded state→Interruption→Reconciliation

Truss replays recorded model and tool outcomes. Dark Factory records workflow transitions. The desktop keeps its conversation outside the view process. Each design makes interruption part of the model, not an exceptional footnote.

### Consistency is necessary, not sufficient.

Assumptions→Implementation→Cross-check→Physical evidence

Linear and nonlinear models can agree and still share a wrong assumption. Aerospace work brings an insistence on reference frames, dimensional correctness, and a stated validation basis.

### Finish at the next engineer’s interface.

Requirements→Interface→Review package→Feedback

Standards, toolchains, traceability, and model packaging make work usable by colleagues. Technical ownership includes explaining assumptions and making the result reproducible.

03 / Working with people

## Technical ownership.
Shared understanding.

Leadership is clearest in the work: defining the problem, maintaining interfaces, and helping others use the result.

### Lead testing into control-law updates.

At Aerospace Control Dynamics, led a three-person team testing flight-control computer software; designed the test environment, analyzed results, and recommended and implemented control-law updates.
EXAMPLE / FLIGHT-CONTROL SOFTWARE TEST LEADERSHIP

### Improve the team’s tools.

Build simulation standards, analysis tools, and repeatable environments. Prior work includes requirements traceability for engine software and leading MATLAB/Simulink toolchain upgrades.
EXAMPLE / REQUIREMENTS & TOOLCHAIN OWNERSHIP

### Direct AI-assisted work.

Set the engineering objective, divide work into bounded tasks, and review the result against the system’s constraints. Coding agents help implement and investigate; engineering responsibility stays with the human.
EXAMPLE / HUMAN-DIRECTED AGENT WORKFLOWS

04 / Background

## An aerospace foundation.
A broader systems practice.

My work spans flight controls, six-degree-of-freedom simulation, real-time integration, and verification tooling. Today, I apply that background both to aircraft engineering and to the software around AI agents.

I’m interested in teams building research tools, autonomy infrastructure, and systems that engineers can inspect and improve.

MATLAB / SIMULINK · PYTHON · C/C++
RUST · GO · TYPESCRIPT · SQLITE
NIXOS / LINUX · REAL-TIME INTEGRATION

Mangano ConsultingCurrent engagement: Merlin Labs

Electra.aero / ACDControls, simulation & engineering tools

Belcan / GE AviationEngine software & verification

Gulfstream AerospaceFlight controls & simulation

University of CincinnatiB.S. Aerospace Engineering, 2006

## Let’s build something worth trusting.

Engineering tools · Aerospace systems · AI-agent infrastructure
[Get in touch ↗](mailto:matthew@mangano-consulting.com)
