# BTAE: Bottom-Up Traceable Agentic Engineering via Deterministic Knowledge Graphs and Four-Dimensional Epistemic Governance

> BTAE's local engine, EPE, separates design approval, code mapping, test outcome and evidence validity, blocking completion when verification inputs change. Across 560 adversarial trials, CI-anchored EPE's false-acceptance rate was 11.07%, versus 49.46% for B3.

- arXiv: https://arxiv.org/abs/2611.40640
- Authors: Zhengshuai Yang, Changyun Li
- Published: 2026-12-01
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2611.40640
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## When is a passing test no longer evidence?

**11.07%** False-acceptance rate: EPE-full vs B3, n=560

## A test pass has a shelf life

**One completion flag:** Collapsing approval declarations, symbol checks and historical test passes into one status can hide whether evidence still applies to current files.

**BTAE / EPE:** Bottom-Up Traceable Agentic Engineering (BTAE) uses a local Engineering Protocol Engine (EPE) to separate design approval, AST mapping, JUnit outcome and evidence validity, blocking completion when old evidence no longer applies.

## Four questions, not one status flag

$$
\mathcal{S}(e)=\left(d,\,m,\,r,\,v\right)
$$

An entity can be approved, implemented and have a passed test while its evidence is stale after an input or policy change; these are independent questions.

- $d$: design approval
- $m$: AST-verified implementation mapping
- $r$: JUnit-parsed run outcome
- $v$: current evidence validity

## Facts and authority live apart

![Figure 1](https://cdn.instaxiv.com/figures/2611.40640/figure1.webp)

Center: the deterministic EKG records provenance-typed facts; the EGP enforces authorization and lifecycle. Right: read-only planning, capability-attested host adapters and manifest-bound CI evidence. (Figure 1)

## How a test result stays current

1. **Hash the assumptions**: EPE SHA-256 hashes design, code, tests, contracts and policy inputs before and after each verification run.
2. **Record execution**: Configured checks produce JUnit evidence; zero-test reports are not confirmed verification.
3. **Recheck at finalization**: At finalization, recheck artifact, policy, runtime and current-manifest hashes, plus any configured age limit.
4. **Classify the failure**: An input change undercuts old evidence; a failing test under intact assumptions rebuts it.

## Anchored EPE reports lower FAR than the strongest baseline

| Method | False accept rate (%) | 95% Wilson CI |
| --- | --- | --- |
| B3: Git+CI+static+CODEOWNERS | 49.46% | [45.34, 53.59] |
| EPE unanchored | 32.50% | [28.75, 36.49] |
| EPE, local risk floor | 25.36% | [21.93, 29.12] |
| **EPE-full, CI-anchored (38.39 pp lower)** | **11.07%** | **[8.73, 13.94]** |

_Governance Ablation: 560 adversarial trials, 14 families. EPE-full CI/policy-anchored; FRR 0/60 standard workflows (95% Wilson CI 0-6.02%)._

## The remaining misses sit at coverage edges

![Figure 2](https://cdn.instaxiv.com/figures/2611.40640/figure2.webp)

Panel (b) separates fault families: EPE-full had 0/480 silent accepts across 12 in-coverage families, but silently accepted all 40 non-Python cases and 22/40 reflective dynamic-loading cases. (Figure 2)

## Less context, required anchors retained

![Figure 3](https://cdn.instaxiv.com/figures/2611.40640/figure3.webp)

Panel (a) compares token counts: across 13 tasks, at a 16-item budget EPE retained mandatory charter and target-design recall (13/13 each) with 97.57% fewer tokens than full-repository loading, an upper-bound rather than retrieval baseline. (Figure 3)

## What this evaluation cannot establish

- **Python AST coverage**: The static analyzer cannot resolve runtime reflection and does not cover non-Python artifacts.
- **Writable policy boundary**: A local writer can alter config, policy or engine files; mandatory enforcement needs protected CI, read-only mounts or OS isolation.
- **Conservative rejection**: With unknown_is_blocking=true, a separate probe blocked all 15 valid standard-library lazy-loading tasks.
- **No agent-in-loop study**: Evaluation is self-hosted; the paper reports no agent trajectories, third-party repository cases or longitudinal productivity trials.

Best used when: Useful for local traceable governance when CI or OS controls protect policy and engine integrity; not evidence of agent productivity gains.

## Key takeaways

- A historical pass counts only while its inputs and verification policy still match.
- Pair local gates with protected CI or read-only policy boundaries; bind verification to current repository manifests.
- Can these safeguards preserve architecture in real multi-turn, polyglot repositories without blocking legitimate dynamic behavior?

## Links

- arXiv: https://arxiv.org/abs/2611.40640
- PDF: https://arxiv.org/pdf/2611.40640

## Citation

```bibtex
@article{yang2026btae,
  title   = {BTAE: Bottom-Up Traceable Agentic Engineering via Deterministic Knowledge Graphs and Four-Dimensional Epistemic Governance},
  author  = {Yang, Zhengshuai and Li, Changyun},
  journal = {arXiv preprint arXiv:2611.40640},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.40640}
}
```
