BAKUL

2026 · RESEARCH · QUESTION

Epistemic Guard

An instrument built to measure what AI assistance costs the person using it

  • TypeScript
  • VS Code Extension API
  • Node.js
  • LLM integration

Epistemic Guard is a research-grade reproduction of the VibeCheck Explanation Gate and the two-phase epistemic-debt experiment described in Sreecharan Sankaranarayanan (2026), "Mitigating Epistemic Debt in Generative AI-Scaffolded Novice Programming using Metacognitive Scripts", ACM Learning at Scale 26.

It is a VS Code extension for studying AI-assisted programming through metacognitive explanations and code-repair tasks, with LLM-based evaluation, telemetry, and automated experimental workflows for analysing developers' understanding of AI-generated code.

It has produced no results, and says so. The value on offer is a working instrument and a replication path, not a claim.

Problem

Unrestricted AI assistance lets a novice programmer produce working code they do not understand. The literature calls the gap epistemic debt: high functional utility masking low corrective competence.

Question

Ed(t) = Uf(t) − Cc(t) — what you can build, minus what you can fix without help. Can that gap be instrumented inside a real editor, in a way that would survive peer review?

Approach

Build the apparatus, not the finding. This is a research-grade reproduction of the VibeCheck Explanation Gate and the two-phase epistemic-debt experiment from Sankaranarayanan (2026), implemented as a VS Code extension: metacognitive explanation prompts, code-repair tasks, LLM-based evaluation, telemetry, and automated experimental workflow.

System

Open any stage to see what it does.

Demo

Install the extension, run the two-phase protocol on the bundled code-repair tasks, and inspect the telemetry the run produces. The analysis script executes on that data.

Result

  • No experimental data has been collected with this software. This is stated at the top of its README, deliberately.
  • The repository is the apparatus, verified against itself. It reproduces no published result.
  • Running the analysis on a fresh clone prints "No experimental data collected yet."

Zero collected trialsStated by the repository README and enforced by the analysis script output.

Lesson

The honest README was harder to write than the code. There is real pressure to describe an instrument as though it had already produced a finding, and the sentence "this reproduces no published result" costs something to leave in. It is also the only sentence that makes the rest of the repository worth trusting.

Source

Connected

  • CodeRelayBoth are AI and SYSTEMS work, and both are built with TypeScript, VS Code Extension API, Node.js.
  • CausalGuardConnected through SYSTEMS and AI and RESEARCH.
  • Bnlang for VS CodeBoth are SYSTEMS work, and both are built with TypeScript, VS Code Extension API.
  • ContextGuardConnected through AI and SYSTEMS.