ZIAD KARNAS
ZIAD KARNAS'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.
Totals across every corpus @KarnasZiad 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 ShieldGate corpus
KarnasZiad/ShieldGate: Self-hosted identity platform and policy decision point: sessions, TOTP MFA, API keys, RBAC + ABAC, ECS audit trail. Fastify, PostgreSQL…
- Look up how ShieldGate implements abac, authentication, authorization, with answers cited to file and line.
- Reuse a worked example: the commit “add security primitives verified against RFC test vectors” (15 files · TypeScript).
- Answer from ShieldGate's real TypeScript source instead of memory (Databases and storage engines).
- Where does ShieldGate handle “add security primitives verified against RFC test vectors”?
- How does ShieldGate implement abac?
- What does apps/api do in ShieldGate?
Search the GitHub repository KarnasZiad/ShieldGate with XERJ (https://hub.xerj.org/corpus/karnasziad--shieldgate). 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/KarnasZiad/ShieldGate ShieldGate && git -C ShieldGate checkout bc9883ee254e6990a40560088ca53af9784c114f 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./ShieldGate --url http://127.0.0.1:9200 --prefix shieldgate --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: MIT. Keep the copyright notice and credit the authors.
corpus karnasziad--shieldgate · Databases and storage engines
Related corpora: cloudnative-pg, dunorth595--xrpl-agent-id, Dahkenangnon/Parako.ID, issuerd/issuerd
Case study: reference coding for agents
Selected work
KarnasZiad/ShieldGate
The corpus is the whole repository at the pinned commit, not only the files of the selected commit.
Sign in with GitHub or Hugging Face to see more: every selected commit in full (commit date, every folder, licence review state, pin) and the pack builds of each corpus.
[](https://hub.xerj.org/contributors/KarnasZiad)
Included with the author's permission (email, 2026-11-12), 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.