For developers

He stopped guessing about 14,000 files of code.

Daniel has worked on the payments platform for 6 years, and he still can't remember where half of it lives or why it was written that way. In an architecture review, people don't wait while he searches, and a confident wrong answer about the code is worse than silence. With OnSubject.AI, he answers with the file and the method instead.

DN
Daniel Novak, 38Senior backend engineer on the payments platform of a fintech company
Chapter 1 · The guess that cost a weekend

He was almost sure, and that was the problem.

Daniel has spent 6 years on the payments platform of a mid-sized fintech company. It has 14,000 files in 3 languages, with code that was written by people who left long ago. He knows it better than almost anyone, and that's why everyone turns to him.

Last spring, in an architecture review, the team asked whether anything besides the settlement job wrote to the balances table. The others didn't want to wait while he searched, so Daniel said what he believed: "Only settlement." He was wrong. A refund path wrote there too. It had been added 2 years earlier for chargebacks. The migration that they planned that afternoon broke refunds for a whole weekend.

The alternative wasn't much better. Every time he said "Let me check and come back to you", the discussion moved on without him. The decision was then made on someone else's guess.

"In a design review, you can't stop the room to search the code. And you can't afford to be confidently wrong about it either."Daniel

Chapter 2 · A Scenario that knows the code

He linked 14,000 files in 5 minutes.

Daniel created a Scenario called Architecture Review · Payments. He linked the repository from the folder where it lives on his disk, and limited it to the file types *.cs;*.sql;*.md;*.yaml. He linked the folder of architecture decision records too, and added the team's service map. OnSubject.AI indexed everything on his PC. The repository's README explains what lives where. It became a core document, so every answer knew where to start looking.

Then he wrote down the rules that mattered most to him:

  • Always name the file and the method. A claim about our code without a location is a guess.
  • Say only what the code, a test, a comment or an ADR shows. If it isn't there, say "not in the code" and tell me how to check.
  • When someone asks why, quote the comment, the ADR or the test that explains it.
  • Keep it short and precise, because I'm talking to engineers.
Chapter 3 · Thursday, 14:06

"It's only the settlement job, right?"

The idea was back on the table: move balances into a new ledger service. Elif, the staff engineer who was leading the review, turned to him and asked, "Daniel, it's only the settlement job, right?"

Daniel pressed his keyboard shortcut. The status line read Opening RefundService.cs while OnSubject.AI opened the file that it needed. He had the answer 2 seconds later, with the proof:

  • ONSUBJECT.AI · 0.7 sSay: "No, 3 places write to balances: SettlementJob.Run, RefundService.Apply and the nightly FxRevaluationJob. Refunds have written to balances directly since chargebacks were added (ADR-017). If we split the ledger, refunds have to move first."

He said it, then opened RefundService.cs on the shared screen to show the line. The plan changed in 5 minutes: refunds would move to the ledger first, then balances. The team didn't have to come back to it the next week.

After another 40 minutes, Marco suggested dropping the order lock timeout from 30 seconds to 5. He said, "A 30-second timeout feels arbitrary." Daniel didn't remember why it was 30 seconds either. He typed Why is the OrderLock timeout 30 seconds? into the box under the transcript:

  • ONSUBJECT.AI · 0.6 sSay: "It isn't arbitrary. The card acquirer retries a capture after 25 seconds, so the lock has to last longer than the retry. The comment above OrderLock.Acquire says so. ADR-022 records the incident behind it: duplicate captures. At 5 seconds, they come back."

Then Elif shared a sequence diagram from the design document, and Daniel used Answer + screen. The diagram showed refunds calling the ledger directly. But in the code, RefundService publishes a RefundApplied event that the ledger consumes. The diagram was fixed before the meeting ended.

Chapter 4 · The next Thursday

It remembered what they had decided.

A week later, someone asked what they had agreed about refunds. Daniel's Scenario remembered the previous review word for word, so the answer quoted the decision and the file that it was about. The new ledger shipped a month later, with refunds first, and this time the team didn't lose a weekend.

0claims about the code without a file name
2 sto find 3 writers in 14,000 files, instead of 20 minutes
1broken weekend that didn't happen again

"I stopped saying 'I think the code does this'. Now I say where it does it."Daniel

Source code and AI. Check your company's rules before you use its code with an AI service. OnSubject.AI indexes the repository on your PC. When you ask for an answer, it sends only the passages that the answer needs.

An illustrative story: the names and companies are fictional. OnSubject.AI works the way the story describes.

For any codebase and any technical conversation

Get answers from your code while you talk.

Link the repository, say how you want to be answered, and talk about the code without leaving the conversation to search it.

Code reviews

When the reviewer asks "Why was this written this way?", you get the comment, the test or the decision record that explains it while they're still asking.

Incident calls

From the runbooks, the dashboard on screen and the code behind it, you get the likely cause and the next check while everyone is talking.

Planning and estimates

See what a change really touches, file by file, before you commit to a date in the planning meeting.

Onboarding and handovers

If you're new to a codebase, ask where things live and why in the meeting where the question comes up, instead of finding out 3 days later.

Escalations from support

The customer's question is answered from the code and its tests, so the answer doesn't depend on anyone's memory of them.

Technical interviews

Your own past projects and architecture are ready when the interviewer digs deeper, with the trade-offs that you made and the reasons for them.

Build this Scenario

Daniel's setup, ready to copy.

Link your own repository and decision records. The "How to answer" rules work for any technical discussion.

Architecture Review · Payments
  • START-HERE.md
  • scenario-config.json
  • payments-platform linked · 14,200 files
  • docs\adr linked · decision records
  • service-map.md
  • Conversations every review, remembered
Answer style
Line to say + bullet points
Answer length
Up to 90 words
Linked folders
*.cs;*.sql;*.md;*.yaml
Names and jargon
OrderLock, RefundService, ADR, idempotency
Reply language
Same as the conversation
START-HERE.md
# Architecture Review · Payments

## Who I am and what I want
I'm Daniel, senior backend engineer on the payments platform.
In these reviews we debate design changes. Every claim that I make
about our code must be true, and I want to say where it is.

## How to answer
- Always name the file and the class or method.
- Say only what the code, a test, a comment or an ADR shows.
  If it isn't there, say "not in the code" and tell me how to check.
- When asked "why", quote the comment, ADR or test.
- When we compare designs, give one line each on risk, effort
  and what breaks.
- Keep it short and precise. I'm talking to engineers.

## Context
Weekly review, Thursdays 14:00, led by Elif (staff engineer).
The repository README maps the services, so start there.

What made it work

The features behind Daniel's story

A linked repository

OnSubject.AI indexed 14,000 files on his PC and searched them for every question.

Deep search

When an answer needed a file, OnSubject.AI opened it by itself.

Answer + screen

A shared diagram was checked against the real code.

Remembered reviews

Last week's decisions were taken into account this week.

See all the stories →

Free for 7 days, without a card

Your next important conversation is already on the calendar?

Walk in prepared, and stay calm when it gets hard. Try every feature of Ultimate free for 7 days.