Why I built Prism
You ask an agent to change one function. It searches. It opens a file that looks right. It misses the caller two folders away. The reply says done. The test that would have caught it never ran.
That is not a rare miss. It is what happens when a writer has no map of the code.
The gap
An agent is good at writing the next lines. It is bad at knowing which lines matter. Grep finds a word. It does not say who imports this file, which tests reach it, or which helper you should reuse instead of writing a new one.
The usual fix is to paste more of the repo into the chat. That gets slower, and it still misses the file you forgot to paste.
I wanted a map that already lived next to the repo. Ask in a sentence. Get the files, the callers, and the tests. Then edit.
What Prism is
Prism reads the repository on your machine and keeps that map locally. You talk to your agent in plain language. Prism answers from the map:
- Which files to open before the edit
- What else depends on the file you are about to change
- Which tests reach that file
- Whether the change is proven when the agent stops
The agent still writes the code. Prism does not have a model of its own. It supplies the map, and a verdict at the end.
Next: the four moments in that loop, in the order you actually hit them.