Skip to content

Research

One question, asked at two different scales.

The thread through the work is the same question in two settings: how do you know a system did what it was asked? In enterprise data platforms that means lineage, contracts and tests that fail a build rather than a review. In agentic systems it means governance you can prove, not guardrails you hope hold. Both are the same problem — making a result checkable instead of plausible.

Papers

  • Draft 2026 · 21 pp

    Cortex: A Fixed-Point Theory of Governed Coding Agents

    Marius-Constantin Dinu, Florian Zeba — Alpha Omega Labs

    Treats an agent's validate–repair cycle as a monotone operator on a lattice of satisfied requirements, so "done" becomes a least fixed point you can prove rather than a heuristic stopping rule. Guardrails can only remove an unsafe action; they cannot supply direction, which is why filtering alone does not fix the second failure mode — an agent quietly abandoning requirements halfway through a long task.

    Adversarial attack success

    42.4% → 24.1%

    Frontier models, 43% relative reduction

    Capability on single-file tasks

    Parity

    Gains concentrated on long-horizon work

    Pages

    21

    Draft, 29 June 2026

    Read the abstract

    A coding agent is a large language model (LLM) wrapped in a control loop — a harness — that lets it plan, write, and execute code. Raw harnesses optimize next-token capability, not governed behavior: under adversarial input they can be induced to exfiltrate secrets or run destructive commands, and over a long task they silently abandon requirements. We study Cortex, a meta-level control layer that supervises a base harness. Cortex couples three faculties over the base agent: governance — deterministic pre-execution checks and capability/dependency policies that constrain which actions may run; orchestration — instruction analysis and long-horizon planning that decompose a task into a tracked requirement structure with milestones and a semantic contract; and a validate–repair loop that drives those requirements to verified completion. In control-theoretic terms it is a supervisory controller, and in AI terms a metareasoner over the base policy: it decides not only whether an action is admissible but what the agent should attempt next and whether further computation is worthwhile — direction a guardrail layer alone cannot provide (a filter cannot plan a long-horizon task). Our contributions are fourfold. First, we give Cortex a precise semantics: its governance checks are a projection onto an admissible action set, and its planning–validate–repair loop is an inflationary, monotone operator on the lattice of satisfied requirements. Second, we prove that this loop converges to a least fixed point in a bounded number of iterations, is sound with respect to a validation oracle, and is independent of execution order (Theorem 1) — a guarantee absent from single-pass agents. Third, we define a chance-calibrated suite of evaluation metrics for safety (adversarial attack-success with exact confidence intervals) and capability (trajectory similarity and a gated multi-signal composite), and characterize their range and calibration. Fourth, as a non-replacing addition, we add a probabilistic execution view — a monotone Markov transition layer over the same requirement lattice: it does not define correctness (the fixed-point semantics do that) but makes iteration count, reasoning budget, completion probability, expected hitting time, and risk reduction measurable. Empirically, across five task families, placing the same base model behind Cortex sharply reduces adversarial attack-success while preserving or improving capability, with the largest gains over long horizons where single-pass harnesses decay.

    research-paper ai-agents formal-methods ai-safety

The PDF is hosted by my co-author on dinu.at and linked rather than mirrored here.

Talks

Placeholder Talks and appearances Add date, event, title and a link

Get in touch

Working on something adjacent?