Matt Blair

Matt Blair

Corpus Hub contributor since 2026-10-17

Matt Blair'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
8files
446lines

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

What an agent can do with @mattblr's commit to demesne

foir-io/demesne: An RLS-compiled ReBAC + topology authorization engine: one spec → Postgres RLS + an app PDP

Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository foir-io/demesne with XERJ (https://hub.xerj.org/corpus/foir-io--demesne).
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/foir-io/demesne demesne --filter=blob:none --no-checkout && git -C demesne sparse-checkout set --no-cone /ts/packages/example-app/generated/ && git -C demesne checkout adef89defc303464f39d7c459f616378f6d7dbf8
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./demesne --url http://127.0.0.1:9200 --prefix demesne --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 foir-io--demesne · Databases and storage engines
Related corpora: leveldb, dragonboat, valkey-docs, datafusion
Case study: reference coding for agents

Selected work

Commit to foir-io/demesne

maintained by @foir-io
adef89defc A composition definer is one statement per access, and a definer that…
selected commit: 8 files · 446 lines · Go · the project root

The corpus covers only the directories this commit changed (ts/packages/example-app/generated). The repository is @foir-io's; this page credits @mattblr for this commit only.

live on the hub · licence clearedcorpus foir-io--demesneDBApache-2.0 agreed 2026-10-17
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/mattblr/badge.svg)](https://hub.xerj.org/contributors/mattblr)

Included with the author's permission (email, 2026-10-17), 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.