Cortex: A Fixed-Point Theory of Governed Coding Agents - Technical Report
Abstract
A coding agent combines a large language model (LLM) with a harness that plans, edits, and executes code. We study Cortex, a supervisory layer for pre-execution governance, requirement tracking, and iterative validation and repair. We formalize requirement closure on a finite lattice. For a fixed requirement set and a sound, monotone validation rule with persistent evidence, exhaustive iteration reaches the least fixed point with no more strict increases than there are requirements. Fair consequence scheduling reaches the same closure. A separate stochastic model bounds expected completion time under a uniform positive-progress assumption. These results depend on their stated assumptions; artifact repair, fallible validation, and finite execution budgets do not satisfy them automatically. We define Gauntlet's trajectory-similarity and build-gated scores, attack-success estimators, Wilson intervals, and case-cluster bootstrap summaries. Effective-feedback accounting counts newly certified requirements, rather than estimating their information value or utility. The five evaluation families support raw-versus-governed comparisons. We report retained benchmark observations, including rescoring of existing artifacts; constructed outcomes are excluded. Unequal observation sets and incomplete provenance prevent causal claims about governance or measured long-horizon scaling.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 27 pages, 8 figures, 9 tables
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
From Point Clouds to Engineering Models: Benchmarking Agentic 3D Reconstruction in the Built Environment
Shared title terminologycs.AIChangyu Du, Stavros Nousias, Syed Salman Ahmed et al.
OpenSaC: A Python Library for Search as Code in Deep Research Agents
Shared title terminologycs.AIQi Liu, Jiaxin Mao, Fengbin Zhu et al.
Spherical Fixed-Point Reasoners: Adaptive Loop Halting on the Hypersphere
Shared title terminologycs.AIArber Zela, Artavazd Maranjyan, Pol Puigdemont et al.
Memory, Know Your PLACE: Governing Lifecycle State and Query-Time Eligibility in Persistent-Memory Agents
Shared title terminologycs.AIChen-Fang Hu, Hong-Han Shuai, Woan-Shiuan Chien
MedPAO-Assist: Edge-Deployable, Modality-Aware Agentic AI for Radiology Report Structuring
Shared title terminologycs.AIShrish Shrinath Vaidya, Minmini Selvam, Ganapathy Krishnamurthi