Back to AI News
arxiv

BTAE couples knowledge graphs with fail-closed governance for coding agents

The paper introduces Bottom-Up Traceable Agentic Engineering (BTAE) and an Engineering Protocol Engine that separates structural repository facts from governance authority. It tracks design approval, implementation mapping, verification execution, and defeasible validity for each engineering entity, while enforcing risk floors, Ed25519 approvals, hash-bound test artifacts, ATMS slices, and audit logs. Evaluation uses a 7,338-LOC self-hosted repository with 426 nodes and 368 tests plus a 620-trial fault-injection benchmark. Reported results include reducing conditional false acceptance from 49.5% to 11.1%, zero false rejections on 60 valid workflows, and 97.6% context compression versus the full repository.

AI Brief

It proposes a concrete verification and governance architecture for repository-level coding agents, with fault-injection evidence on stale tests, architectural drift, and unverified claims.

arXiv:2611.40640v1 Announce Type: cross Abstract: Autonomous coding agents accelerate localized patch synthesis, yet sustaining repository-level software evolution across multi-turn edits requires preserving verifiable links among specifications, architectural boundaries, source symbols, and test executions. Existing scaffolds conflate self-reported metadata, static file checks, and historical test outcomes with currently valid evidence, letting stale test runs, silent architectural drift, risk self-downgrades, and unverified host claims pass completion gates while flooding agent contexts. We decouple structural facts from governance authority by tracking a four-dimensional epistemic state-design approval, implementation mapping, verification execution, and ATMS-sliced defeasible validity-for every logical engineering entity, and introduce Bottom-Up Traceable Agentic Engineering (BTAE) and its Engineering Protocol Engine (EPE), pairing an atomic Directory-Merkle Engineering Knowledge Graph (EKG) with a fail-closed Engineering Governance Plane (EGP). EPE derives policy-enforced risk floors and global protected paths from EKG blast radii, assembles bounded contexts with fail-closed caching, enforces Ed25519 approvals and time-bounded ADR waivers, and binds JUnit artifacts to SHA-256 manifests, ATMS slices separating undercut from rebutted failures, and hash-chain audit logs. Evaluated on the self-hosted 7,338-LOC EPE repository (426 nodes, 368 tests) and a 620-trial fault-injection benchmark (14 families, 560 adversarial + 60 valid), EPE achieves 10/10 byte-identical rebuilds in 132.2 ms (57.5 ms incremental), lowers conditional false acceptance from 49.5% (Git+CI+static stack B3) to 11.1% (95% CI 8.7-13.9) under anchored policy boundaries (25.4% with local risk floors) with 0/60 false rejections on valid workflows, compresses contexts by 97.6% vs. full repo, and shrinks ATMS slices by 78.9%, while quantifying 15/15 lazy-loading blocks.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!