sanyam.

Open Source (14)

Contributions to AI tooling and LLM infrastructure: 10 pull requests and issues (2 merged) and 4 review suggestions (3 adopted).

Pull requests and issues (10)

Code I wrote and submitted. 2 merged, the rest in review or in progress.

Akon Labs logoAkon Labsabhigyanpatwari/GitNexusIn review27 Nov 2026

Kotlin calls into same-package helper files now resolve

  • Kotlin lets a file call a top-level function from another file of the same package without an import. GitNexus recorded no call edge for these, so impact and context showed shared helper functions as having no callers.
  • Traced it to the shared JVM package-sibling pass, which only offered classes to sibling files, and added an option that also offers top-level functions, set for Kotlin only so Java is unchanged.
  • Added a Kotlin fixture that covers sibling resolution and checks that explicit imports and class members still win. The new case fails on main and passes with the fix, and 691 Kotlin and JVM resolver tests pass.
PR #4197Issue #4196
Concord logoConcordGet-Concord-AI/concord-mcpIn review27 Nov 2026

A refused live push no longer reads as delivered

  • On the Copilot CLI and OpenCode hosts, a peer message whose live push the session refused was marked delivered by the background sweep about 10 seconds later without ever being handed over. The recipient never saw it, and the sender saw it as delivered.
  • Found it by reading the session sweep, filed the issue with a reproduction, and made the adapter forget a message it failed to push, so the next sweep hands it over as it already did for its own failed pushes.
  • Added a regression test for a refused relay push. It fails on main and passes with the fix, and the full suite passes (1332 tests).
PR #427Issue #426
Concord logoConcordGet-Concord-AI/concord-mcpMerged26 Nov 2026

Every spelling of the repository root counts as a root claim

  • Concord lets coding agents claim the files they will edit so other agents get an overlap warning. A whole-repo claim was only recognised as ., ./ or /, so a claim written as .\ on Windows or as src/.. was dropped and protected nothing: no overlap warning and no edit guard.
  • Found it by reading the overlap code, filed the issue with a reproduction, and changed the root check to reuse the same path normalisation the file comparison already uses.
  • The root claim tests now cover the Windows and parent-segment spellings. They fail on main and pass with the fix, and the full suite passes (1285 tests).
PR #420Issue #419
Akon Labs logoAkon Labsabhigyanpatwari/GitNexusIn review26 Nov 2026

No self-loop from interface dispatch out of a Go decorator

  • A Go decorator that implements an interface and calls its delegate through a field of that interface type got a CALLS edge from its method to itself, so check --cycles reported a cycle no real execution has and impact() listed the method as its own caller.
  • The maintainer asked for a decision between three options. Took the one that skips the enclosing caller in the dispatch fan-out, so the decorator keeps its edges to the real implementations and to its own other methods.
  • Added a Go fixture that pins the decorator case and three controls. The self-loop test fails on main and all four pass with the fix.
PR #4150Issue #2836
Agno logoAgnoagno-agi/agnoIn progress26 Nov 2026

Workflow SSE stream pauses on its own run only

  • The AgentOS workflow run stream built its final paused event from the session's last run, so when another request added a run to the same session, a stream could end with that other run's paused step and a paused run that was no longer last got no paused event.
  • Wrote the fix: pin the run id before the run starts and look the snapshot up by that id, the way the continue stream already does. Two regression tests fail on main and pass with the change. The pull request opens once a maintainer marks the issue ready.
Issue #11900Fix branch
Composio logoComposioComposioHQ/composioIn progress26 Nov 2026

Tool schema aliasing inside anyOf, oneOf and allOf

  • Found that the Python SDK renames provider-unsafe property names such as $top and @odata.type for nested objects and arrays, but never looks inside anyOf, oneOf or allOf. Pydantic writes every optional nested model that way, so those names reached Anthropic, Gemini, LangChain and the other Python providers unchanged and were never restored.
  • Filed the issue with a reproduction and the root cause, then wrote the fix: walk the composed branches and merge their aliases into the existing map, so the restore path needs no change. A regression test fails before and passes after, with a patch changeset.
Issue #5577Fix branch
Confident AI logoConfident AIconfident-ai/deepevalIn review26 Nov 2026

LLM judge verdicts in any case no longer crash two metrics

  • The citation faithfulness and topic adherence metrics built their verdict schema straight from the judge's JSON, so a judge answering "Faithful" or "tp" made measure() raise a ValidationError even though the verdict was clear.
  • Added a before validator on each verdict that trims and folds case, so case variants pass while unknown verdicts still raise and the schema sent to native structured output models is unchanged.
  • 19 new tests with a stub judge, sync and async, fail on main and pass with the fix. The related metric suites pass (227 tests).
PR #3778Issue #3775
Atlan logoAtlanatlanai/ai-registryMerged22 Nov 2026

aireg status now reports duplicate skills

  • Filed the issue with a reproduction and a design: people collecting agent skills end up with renamed copies, CRLF copies, or the same skill installed from two registries, and nothing told them.
  • Built the first step in the TypeScript CLI. Skills whose files match are reported as duplicates, and same-named skills in different target folders each get their own row instead of one hiding the other.
  • Matching reuses the shared folder digest, so repeated runs hit its cache. Links, execute bits and binary bytes count toward a match. status --json gains an additive duplicates field.
  • Unit, end-to-end and contract tests cover every case. 549 lines across 10 files, approved and merged by the maintainers. The issue was closed.
PR #230Issue #229 (closed)
Atlan logoAtlanatlanai/ai-registryIn review25 Nov 2026

Front matter after a byte order mark

  • Found that aireg ignores the front matter of a SKILL.md saved by Windows PowerShell 5.1, which writes a byte order mark. status named the skill after its folder, and publish refused it with an error that could not be acted on.
  • Filed the issue with a reproduction and a one-line fix in the core front matter reader, so it agrees with the adapter reader that already handled the mark.
  • Two unit and two end-to-end tests fail before the fix and pass after. The full suite passes.
PR #275Issue #274
Atlan logoAtlanatlanai/decision-benchIn review25 Nov 2026

Benchmark corpus and results as UTF-8 on any OS

  • Found that the agent decision benchmark read and wrote files in the locale's encoding. On Windows, loading the 1,071 case corpus failed on its first curly quote, and saving a model answer with a non-cp1252 character crashed.
  • Filed the issue with a reproduction, then passed UTF-8 to all 20 text reads and writes in the harness.
  • Added a test that parses the package and fails on any new text file call without an encoding, so the bug cannot come back. All 221 tests pass on Linux.
PR #79Issue #78

Suggestions (4)

Reviews on other contributors' pull requests and issues. 3 were adopted: the author changed their code to follow the suggestion.

LlamaIndex logoLlamaIndexrun-llama/llama_indexSuggestion adopted26 Nov 2026

Literal text match in the Postgres vector store

  • PGVectorStore put TEXT_MATCH filter values straight into a LIKE pattern, so _ and % acted as wildcards and a search for a_b also matched aXb.
  • Built a fix that escapes the wildcards and binds the pattern as a parameter, with unit tests that need no database. Another contributor opened a PR with the same escaping first.
  • Reviewed that PR: it still pastes the value into the SQL text, so a single quote breaks the query and a crafted value can change the WHERE clause. Suggested the bound version, which works on SQLAlchemy 1.4 and 2.0. The author adopted it.
Review on PR #24507Adopted in c08751aIssue #24500
Akon Labs logoAkon Labsabhigyanpatwari/GitNexusSuggestion adopted26 Nov 2026

detect_changes on the image the index was built from

  • detect_changes mapped every diff hunk onto the post image, while the code graph holds the lines analyze read, so an edit below shifted lines reported the wrong functions and a deleted function was never reported.
  • Built a fix that picks the image per file from the recorded file hashes and marks the result partial when the index matches neither, with an integration test across unstaged, staged, autocrlf and legacy indexes. Another contributor opened a PR with the same design first.
  • Reviewed that PR with the case it leaves out, an index built from a third revision that still read as complete and could rate the change low on the wrong symbols, plus hash calls that blocked the server. The author adopted both points.
Review on PR #4148Adopted in 12d640dIssue #4136
LiteLLM logoLiteLLMBerriAI/litellmSuggestion adopted25 Nov 2026

Guardrail error headers on /guardrails/apply_guardrail

  • The proxy dropped headers like Retry-After when a guardrail raised an HTTPException on this route, while /v1/chat/completions kept them.
  • Wrote a fix and tests, and found a gap in the open fix: relaying headers as is would also pass framing and browser security headers such as Content-Length and Access-Control-Allow-Origin.
  • Reviewed the open PR with a one-line filter that reuses the proxy's existing unsafe-header set, so both routes behave the same. The author adopted it with a route test.
Issue #54421Review on PR #54432Adopted in c14c78c
mem0 logomem0mem0ai/mem0Posted25 Nov 2026

Milvus COSINE ranking report

  • Checked the report that COSINE scores invert the ranking against the Milvus metric docs. For COSINE, Milvus already returns a similarity where higher is better.
  • Showed the repro used distance-style mock values, so the proposed 1 - d change would flip a ranking that is correct today.
Issue #7986My comment