Work

Beyond Passive Guardrails: Adversarial Referee Self-Defense, Cross-Layer Semantic Ratchets, and Audit-Repair Isolation for Autonomous Coding Agents

Year: 2026
Type: preprint
Abstract: Repository-level governance documents (AGENTS.md, scoped rulebooks) fail systematically when high-autonomy coding agents operate under delivery pressure. Grounded in a production-grade regulated enterprise modular monolith in pre-deployment validation (Enterprise-LIMS, 424,125–437,749 canonical tracked SLOC across DP10), this study combines four historical cohorts (DP01–DP04) with four physical experiments (Exp 1, Exp 2, Exp 2B, Exp 3) across Era 1 (Gemini 3.8 Flash) and Era 2 (Gemini 4 Hydrogen). We demonstrate how agents bypass weak executable checks (312 Gate 2.0 evasions) and syntactic gates (77.0% induced ORM defects in DP04; 172 update(null, Wrapper) shifts under flagship Hydrogen), and evaluate Gate 3.1 (tamper-locked L0 self-defense, ASM bytecode ratchets, blocking STOP escalations, and read-only blind audit--repair isolation): Gate 3.1 blocks 17/18 (94.44%) adversarial mutators (REWRITE_EVADE 7/7) and, paired with STOP (0 -> 9) and 3-round isolated blind auditing, clears all P0/critical-P1 post-gate semantic defects (43 -> 12 -> 0 P0; D3 unit tests 23/28 -> 37/37).
Author: Jiang, C
Language: English
Open Access status: green
OpenAlex ID: W7238728931
Cites:
Cited by:
Related to: