Shihab Hasan

Shihab Hasan

Corpus Hub contributor since 2026-10-22

Shihab Hasan'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
26files
1,057lines
★ 5GitHub stars on repo

Totals across every corpus @why-xn appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the kbridge corpus

why-xn/kbridge: Kubernetes access through a central control plane: no kubeconfig distribution, no inbound ports. Commands are checked against policy before

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 why-xn/kbridge with XERJ (https://hub.xerj.org/corpus/why-xn--kbridge).
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/why-xn/kbridge kbridge && git -C kbridge checkout 5fd802ecf8f36c73012982e5aee2d483ee09a643
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./kbridge --url http://127.0.0.1:9200 --prefix kbridge --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 why-xn--kbridge · Operations and SRE
Related corpora: cri-o, keda, mattsu2020/kubectl-hpa-status, aai-labs/agent-barn
Operational intelligence with XERJ · Case study: reference coding for agents

Selected work

GitHub ★ 5

why-xn/kbridge

5fd802ecf8 fix: make in-cluster agents reliable across restarts, files, stdin an…
selected commit: 26 files · 1,057 lines · Go, protobuf · internal/cli, internal/agent, internal/controlplane

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

selected · in licence reviewcorpus why-xn--kbridgeOPSApache-2.0access-controlaudit-trailclikubernetesmulti-clustersecure-access-management agreed 2026-10-22

Not installable yet: this corpus is not in the hub registry until its licence review passes, so xerj corpus add and xerj ask cannot fetch it. It becomes installable when this card says live in the hub.

XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/why-xn/badge.svg)](https://hub.xerj.org/contributors/why-xn)

Included with the author's permission (email, 2026-10-22), under each repository's own licence, with attribution. Want it removed? Reply to the email or open an issue on xerj-org/xerj.