Repository navigation
Greg header and footer to combined - #4
Merged
Merged
Conversation
Todos: Make this responsive Investigate the font-bold spacing issue
Todos: Make it responsively match mobile figma view
This was referenced Oct 16, 2026
This was referenced Oct 29, 2026
andy-stark-redis
added a commit
that referenced
this pull request
Nov 18, 2026
Adds a local composite action, .github/actions/repo-memory-query/, and a workflow_dispatch workflow, repo-memory-query.yml, that search the Repo Memory store from a description of planned work before any PR exists. Each result carries the full squash or commit message behind it, read at the source because the stored summaries stop at 500 characters. The action is read-only: it never creates the index, writes a key, or posts to a PR or commit, and it uses the same MEMORY_REDIS_URL and OPENAI_API_KEY secrets as the memory action. It lives here, not in redis-learn/redis-repo-memory, because that action is published on the GitHub Marketplace and a query mode is experimental. The team asked to leave the public action unchanged until the query feature proves useful. The query logic was first proposed there as PR #4, which this replaces. Results are limited to the repository the workflow runs in. The search filters on the repo tag inside the KNN, then sets LIMIT. Bugbot caught that the first version filtered in JavaScript after a global search: other repositories' items could use up the neighbors, and FT.SEARCH returns only 10 rows by default, which silently capped any query-limit above 5. The workflow token also needs pull-requests: read and issues: read for the full-text lookup; the first draft had it and a rewrite dropped it. A failed lookup now logs its HTTP status instead of silently dropping the full text. The offline test (test.js, Redis 8.10, mock embedding) builds a store with the memory action's schema, so it also catches drift from that layout. Its first version let mutants survive, and the crowding case was wrong: the in-repo item was the exact match, so nothing was crowded out. It now fails when the repo filter, LIMIT, or tag escaping is removed. The result is one REPO_MEMORY_QUERY_RESULT_JSON log line, which build/repo-memory-eval/recall/recall.py parses. Workflow logs of this public repo are public, so the query text is too; the README says so. Learned: a post-filter after a global KNN plus FT.SEARCH's default 10-row LIMIT silently under-returns; scope the search with a TAG pre-filter and set LIMIT Constraint: query.js must stay compatible with what redis-learn/redis-repo-memory writes (repo_memory_idx, memory: hashes, a repo TAG field, a cosine embedding from text-embedding-3-small); if that layout changes, update query.js and the seed in test.js Constraint: package-lock.json is gitignored repo-wide, so run git add -f on the action's lockfile after any package.json change; the action installs with npm ci and fails without it Directive: keep the repo filter inside the KNN query and keep LIMIT set; do not move scoping back into JavaScript Rejected: adding query mode to redis-learn/redis-repo-memory | public Marketplace action and an experimental feature; keep it local until it is shown to be useful Reversibility: clean Gaps: no real Actions run yet (github.token default, sparse checkout, input wiring), no run with real OpenAI embeddings, and retrieval quality from a plan is unmeasured; whether a token without pull-requests scope can read public PRs is unverified Recheck: after the first real runs on actual plans, decide whether to keep this action, upstream it into redis-learn/redis-repo-memory, or remove it Ticket: DOC-7268 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.