Sahil

Sahil

Corpus Hub contributor since 2026-10-27

Sahil 's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
4files
221lines

Totals count @sahilkhedkar's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @sahilkhedkar's commit to agent-security

solongate/agent-security: Local-first, open-source security gateway for AI coding agents. Enforce tool-call policies, detect secrets, and audit actions on-device

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository solongate/agent-security with XERJ (https://hub.xerj.org/corpus/solongate--agent-security).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/solongate/agent-security agent-security --filter=blob:none --no-checkout && git -C agent-security sparse-checkout set --no-cone /packages/guard/ /packages/policy/ && git -C agent-security checkout 21d7870f664b5c9d26a9de97ee966608fb13313b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./agent-security --url http://127.0.0.1:9200 --prefix agent-security --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

corpus solongate--agent-security · AI, prompts and agents
Related corpora: dunorth595--ai-agent-chat, r2r-enforce, nickelsec/bough, epulla/patio
AI search and retrieval with XERJ · Case study: reference coding for agents

Selected work

Commit to solongate/agent-security

maintained by @solongate
21d7870f66 fix(guard): prevent tamper bypasses via path cleaning, cwd resolution…
selected commit: 4 files · 221 lines · Go · packages/guard, packages/policy

The corpus covers only the directories this commit changed (packages/guard, packages/policy). The repository is @solongate's; this page credits @sahilkhedkar for this commit only.

live on the hub · licence clearedcorpus solongate--agent-securityAIApache-2.0ai-agent-securityai-agentsagent-securityai-security-toolai-security-toolsclaude-code agreed 2026-10-27
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/sahilkhedkar/badge.svg)](https://hub.xerj.org/contributors/sahilkhedkar)

Included with the author's permission (email, 2026-10-27), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.