BTAE: Bottom-Up Traceable Agentic Engineering via Deterministic Knowledge Graphs and Four-Dimensional Epistemic Governance
Yang & Li in Agents
When is a passing test no longer evidence?
BTAE: Bottom-Up Traceable Agentic Engineering via Deterministic Knowledge Graphs and Four-Dimensional Epistemic Governance
A test pass has a shelf life
Collapsing approval declarations, symbol checks and historical test passes into one status can hide whether evidence still applies to current files.
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
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

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.
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
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

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.
Less context, required anchors retained

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.
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.
Why it matters
- 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?
2 likes 10 slides, 3 min
4 days ago