Project Gradient: A VR Exposure Prototype and Its Evidence Record
Human Factors
What is Project Gradient?
Project Gradient is a research prototype of therapist-supervised virtual reality exposure, demonstrated as a public-speaking session built on WebXR and run so far only in a desktop browser. It is not a medical device and not a treatment. No person has used it in a session, no clinician has reviewed it, and no ethics board has approved a study with it. What exists is the software, its tests, a written evidence review, and a demonstration film. The review and the film are published at aivrpsych.com, and the software is not hosted.
I ran the discovery research, designed the system, and built it. This page records what the discovery phase found, how the build constrains itself, and what has not been done.
What did the discovery phase find?
The discovery phase found that the project’s founding premise was its weakest-supported idea. The premise was that software should generate varied environments during a session so that what a person learns carries over to new settings. I ran the research as eight parallel agents with rules against fabricated citations, and two of them were given the context question independently. Both reported that environment variation was the lever with the least support.
The design that survived is narrower. The software controls the feared dimensions of a scene under a supervisor’s hand and records what the person expected before and after. Scene generation moved out of the live session and became a preparation step that runs before anyone is in the headset.
The record was then corrected a second time. A later accuracy review of the published text found that my conclusion against varied environments was too strong, because two studies had found an early benefit. The public evidence review now describes the question as unsettled, and the correction is dated on the page instead of being edited in silently.
How is the software built?
The prototype is a TypeScript workspace of eight packages. Its only third-party runtime dependency is three.js, the 3D renderer, and that code is confined to one mounting layer.
Session as an event log
A session is a pure reducer over a list of events. The event log is the session, so any state can be rebuilt by replaying it. The export format is de-identified by construction: it has no free-text field for a name or a note to end up in.
Screening gate
A session cannot leave its idle state without passing a screening step. Every screening item carries a citation and a stated basis, and an item that claims a published basis must match the verified list. The rule that every item needs a verified citation exists because one research agent returned no contraindication list at all and said nothing about the gap. The source file states that the list is short, source-backed, and incomplete.
Supervisor console
The supervisor’s console and the headset view communicate over a same-origin browser channel. The console is able to lower the intensity of a scene or stop it. It has no command that raises intensity.
How do you show that a console never raises exposure?
By exhausting the command space in a test instead of asserting the property in a document. The test walks every sequence of the console’s three commands to a depth of five, which is 364 states, and folds each sequence through the real session reducer. No sequence raises the gradient. A second test sends commands out of phase, the way a stale button or a repeated click would, and the property holds there as well.
The full suite recorded 1,166 tests passed and none failed across the eight packages, on a clean checkout. That figure describes the software’s internal consistency. It is not evidence about any effect on a person.
What does an honest AI-use disclosure look like?
It is generated from the repository and it includes the parts that are uncomfortable. Nearly every commit in this repository declares an AI co-author, and the public disclosure says so. It also states that the first entries of the public-speaking demo were built under my instruction to work without a human in the loop, so no person approved their specifications, and that no person has reviewed the demo’s code. The project keeps a register of defects found in AI-produced work, and a fixed defect is never removed from it.
The research library behind the evidence review holds 256 entries, and a checker runs ten structural checks over it. The checker’s own output states its limit: it verifies structure and counts, and it cannot verify that a cited paper says what a report claims it says. That remaining work is human reading, and the published review is where the reading is recorded.
No image or sound in the demonstration was produced by a generative model. The audience sound is synthesized in code, and the audience members are modeled avatars. The one demonstration of the highest realism level uses drawn stand-ins and is labelled as such. The interface and site text are scanned for claim language before publishing.
What has not been done?
The list is long, and it is published on the project’s own site. No human participant has used the software. No clinician has reviewed the exposure design, the screening items, or the interface text, and I am not a licensed clinician. There is no ethics approval and no clinical collaborator. The software has not run on any headset or phone. Every check was made in a desktop browser, and the frame budget on headset hardware is unmeasured.
The session application and the supervisor console are deliberately not hosted in public. The screening gate is unreviewed, and a public address would invite the unsupervised use that the design exists to prevent. The public site carries the evidence review and a film of 2 minutes 37 seconds with captions.
The discovery returned a finding against the plan, and both corrections are on the record
The most useful output of the discovery phase was a finding against my own plan. Acting on it removed the most ambitious feature from the live session, and the correction that followed weakened the finding again in public. Both changes are in the record with their dates. The same research surfaced an existing commercial product in the same area and a published result for a low-cost phone-based approach, and the evidence review reports both.
The evidence review and the film are on the project site.