Skip to content
huggingfacePublic

About

Search the decisions behind the code.

Resources

Security policy

Stars

13 stars

Watchers

1 watching

Forks

Repository files navigation

relore — GitHub project memory

Every codebase has lore. Ask it, then check it against the code.

logo

relore indexes a repository's complete issue and pull-request history and keeps a working clone beside it, both served over one HTTP API. Three questions, in the order an agent hits them:

1. Is somebody already doing this? inflight <issue> — every open claimant, its state and its author, in one hop. The most expensive thing an agent does is patch something that is already in review. brief <n> puts that, the thread's people and its earlier history on the same files on one page, for a person triaging something new.

2. Why is it like this? Why a fallback cannot be removed, which approach was tried and rejected, what a maintainer made the last five contributors change — none of it is in the codebase. thread, why PATH:LINE and search return it at comment level with who said it attached, so --trust authoritative keeps only what someone with write access settled and machine authors are excluded by default. search --symbol GemmaRotaryEmbedding asks what has been said about a function — a question grep cannot answer.

3. Is that still true? grep, symbol and copies run against that clone at HEAD, server-side, no checkout on your side. A three-year-old review is a claim about code that has moved since.

Relore connects project history with current code to answer an agent's three questions.

Threads tell you what people decided; the code verbs tell you whether it was true. A [contributor claim] confirmed by grep is stronger evidence than either alone — the argument for this over a search box.

Six agents have run it cold on the same transformers bug, one per release, on --help alone and with no memory of the runs before. They filed 39 issues against the tool; most are fixed, each run checking the last one's from the outside. #8 is the record.

Get started

What you get

Comment-level results the matching document with its author, trust tier, age and URL — not a thread number to go re-read
Exact signals errors, files, symbols, test ids, shas, extracted at ingest and repeatable as filters
Trust tiers maintainer / contributor / bot, as a filter rather than a weight
Schema to join on "which threads touched this file", and a bug and its merged fix as one record — open pull requests carry file lists too, and a --file page names the ones it could not test
The code, server-side why PATH:LINE, grep, copies, symbol, and defs/refs with --repo, against a working clone the daemon keeps
Throughput every query is a Postgres query and makes no GitHub request; ten agents in parallel cost the same as one

The trade is freshness: each thread records its last indexing visit; later GitHub changes are unknown. Collector poll times do not guarantee freshness for every thread. Why not GitHub search has the measurements.

Running the daemon needs a Postgres and a GitHub token with issues:read + pull_requests:read — never write. deploy/ has a Helm chart and the scripts that are its interface; setup is in docs/operations.md.

Docs

License

Apache-2.0.

About

Search the decisions behind the code.

Resources

Security policy

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages