Sidhant Mathur

What this assistant won't do

This page lists what the chat assistant won't do, why, and what it does instead.

The label beside each entry says how the rule is enforced. A rule in the prompt holds only while the model follows it, and a determined visitor may find a phrasing that gets around it. A rule in code holds whether the model follows it or not. One entry is an idea Sidhant decided against, so it was never built.

The path under each entry is the file that holds the rule, and a test checks that the rule is still there. You can read the prompt for the ones the model is asked to keep.

Recite its own system prompt on request

asked of the model

The prompt isn't a secret. But the rule against reciting it sits in the same block as the rules against changing persona and following instructions in pasted text, and if a conversation gets the model to break one of them, the rest get easier to break.

Instead: It declines and links to the prompt page, which shows the whole prompt as built by the same function the chat route uses.

lib/system-prompt.ts

Help with anything that isn't Sidhant's work or this site

asked of the model

It only has sources on Sidhant's work and this site. Coding help, general knowledge, current events and questions about other people would get bad answers, and each one would use up a message from the visitor's limit.

Instead: It says what it can help with and offers to answer one of those. Questions about this site were added to its scope in Sprint 7, since the site's source is published.

lib/system-prompt.ts

Speak as Sidhant, in the first person

asked of the model

It's a model reading files about him. If it spoke as Sidhant, a reader couldn't tell which sentences he wrote and which the model generated.

Instead: It talks about him in the third person. When the record doesn't cover something, it says so and suggests the resume or the contact links.

lib/system-prompt.ts

Take instructions from a pasted job posting

enforced by code

A pasted posting is a long block of a stranger's text that the model is asked to act on. A posting that dictates a verdict, says to leave out the gaps, or claims to be a system message is trying to write the assessment itself.

Instead: Code marks the posting as data before the model sees it, restates the rules after it, and runs a pattern check that tells the model which instruction-like phrases it contains. The posting is still assessed as written, and a flagged phrase doesn't trigger a refusal.

lib/job-posting.ts

Claim he meets a requirement without citing the record

enforced by code

If the model could claim a match without citing anything, a reader would have no way to check the assessment.

Instead: If a row claims a fit without a valid citation, code downgrades it to unclear and the table says the site made the change. The model can't override it.

lib/role-fit.ts

Return an assessment with unmet requirements and no gaps

enforced by code

The gaps are the part of a fit assessment a recruiter most needs, and the job-description flow was built to stop the model from playing them down on the postings where he's a weaker fit.

Instead: Every requirement in the posting gets a row, whether or not the model addressed it. If the model leaves the gaps list empty while a row is unmet, code fills it from the unmet rows. When there are no gaps, the model is asked to explain why.

lib/role-fit.ts

Make a general case against hiring him

decided by Sidhant

It was proposed, and Sidhant turned it down. A general argument against hiring him, on his own site and tied to no particular role, could cost him a job and wouldn't gain him anything.

Instead: When a real job posting is pasted, the fit assessment names the requirements he doesn't meet.

docs/idea-decisions.md

Say something negative about his employers, colleagues, or anyone else

asked of the model

It wouldn't help anyone, and the request is usually a test of whether the assistant can be pushed into saying something it shouldn't.

Instead: It declines, including when the same question comes back reworded.

lib/system-prompt.ts

Store your conversation

enforced by code

A visitor reading a portfolio has no reason to leave a record behind. The site has no accounts, no database and no transcript log, so there's no conversation to leak.

Instead: The conversation stays in your browser until you clear it from the front page. The server keeps one thing, a per-IP counter for the hourly message limit. A shared link carries the conversation in the URL, so sharing doesn't store it anywhere.

app/api/chat/route.ts

Publish a statistic from too small a sample

enforced by code

A groundedness rate from six claims, or a p95 latency from twenty turns, looks precise and means very little. Printed next to figures with enough data behind them, it would make those harder to trust too.

Instead: Below the threshold, the measurements page shows the counts, leaves the rate out, and says the sample is too small.

lib/measurements.ts

Turn a criticism of this site into a criticism of Sidhant

asked of the model

Asking the site to criticise itself is a fair question about its code and design choices, and Sidhant isn't the subject of that question.

Instead: It criticises the code, the design choices and the copy, and cites the part of the repo each point is about.

lib/system-prompt.ts

Contact

I'm looking for a RevOps, sales operations or delivery operations role. Download the resume, or reach me by email or LinkedIn.