Governed Metaprogramming for Intelligent Systems: Reclassifying Eval as a Governed Effect
Alan L. McCann

TL;DR
This paper introduces governed metaprogramming, a language design where program execution is mediated by governance policies, enabling safer and more controlled AI systems that synthesize executable structures at runtime.
Contribution
It reclassifies eval as a governed effect, formalizes governance-aware program manipulation, and implements this in mashinTalk for AI workflows with verified properties.
Findings
Formalized two judgments: pure form evaluation and governed materialization.
Proved properties: purity of form manipulation, no-bypass theorem, boundary preservation.
Implemented in mashinTalk with integration into existing theorem systems.
Abstract
AI systems increasingly synthesize executable structure at runtime: LLMs generate programs, agents construct workflows,self-improving systems modify their own behavior. In classical homoiconic and staged languages, the transition from code representation to execution is unrestricted. eval is a language primitive, not a governed operation. We argue that in governed intelligent systems, this transition is an authority amplification: it converts symbolic structure into executable authority and must be mediated like any other effect. We present governed metaprogramming, a language design where program representations (machine forms) are first-class values, form manipulation is pure computation, and materialization (the transition from form to executable machine) is a governed effect subject to structural inspection. The governance system analyzes the proposed program's capability…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
