One place for what a company knows
A company’s rules live in old files and a few heads. Ask an AI assistant about the discount limit and it finds the 2014 policy as easily as the current one. This project keeps the current rules in plain files that a named person owns, and makes every assistant read from there.
- 27 of 30frozen questions answered by plain search over the raw files
- 22 of 30answered from the curated files on the second run, 17 on the first
- 77 of 80in two of three runs on a company it had never seen, where plain search got 78
- 69automated tests, all passing
The idea in one line
Change one file, have its owner approve it, and every assistant in the company follows the new rule.
Every piece of this exists somewhere already. The bet is the combination, for a company of 20 to 200 people.
How it works
- Read what exists. Connectors pull text from shared folders, mail exports and database tables. The raw text stays in a local folder.
- Draft. A model proposes short files: the rule that applies now, earlier versions as dated history, and an exact quote for every claim. Code checks each quote against its source.
- Approve. Only the person who owns a file can make it live. An agent may propose a change. It never approves its own.
- Serve. Assistants read through one door that knows their role. A file a role may not read does not exist for it: not in search, not by name.
What the test found
The worked example is Brassworth Coffee Systems, the same invented company as in the sample assessment. Thirty questions about it were frozen before any context file was written. Each was answered three ways and marked by a separate model against facts fixed with the question.
With no company context the assistant answered 5 of the 30. With plain search over the raw files it answered 27. From the curated files it answered 17 on the first run and 22 on the second, after two changes made in response to the first. The curated files did not beat plain search, so the product changed and the test stayed as it was.
Six tests on material it had not seen
After those runs each change was judged only on questions the product had never been run on: three more sets of Brassworth questions and three more invented companies, written by a separate agent. Both approaches got the same questions, three runs each.
- Brassworth, set A, 30 questions: plain search 30, 30, 30. Curated files 25, 24, 25.
- Brassworth, set B, 30 questions: plain search 29, 29, 29. Curated files 28, 29, 28.
- Second company, 60 questions: plain search 60, 60, 60. Curated files 57, 59, 59.
- Brassworth, set C, 30 questions: plain search 28, 29, 30. Curated files 29, 28, 28.
- Third company, 82 questions: plain search 78, 79, 78. Curated files 74, 75, 77.
- Fourth company, 80 questions: plain search 78, 78, 78. Curated files 77, 77, 78.
The test also counts leaks: a protected value given to someone whose role may not have it. On set A the curated files leaked 4 values in each run and plain search none. On the third company both approaches leaked one or two in each run, and on the fourth both leaked one. No test produced an outdated answer. On the fourth company a median answer took about 7 seconds either way.
The pass rule was written first: within one question of plain search, or within the spread of its runs if that is larger, with no leak and no outdated answer. Sets B and C passed. The other four did not.
What’s next
- Misplaced files
- The fourth company’s leak was a rate sheet someone had copied into a drive that sales may read. Both approaches served it. The next step is to decide whether the product should flag such a copy, then test that on a company it has not seen.
- Hosted tools
- Connectors for Google Drive and Slack come after the local version proves itself.
Where is the code
Still private. The result tables and every marked answer are in the repository, passes and misses alike, and they go public when it does. That is my own rule about publishing the losses.