Repository navigation
Show how code-linked memory reads across branches - #1438
Merged
Merged
Conversation
Give maintainers a way to verify the same saved lesson after a trunk edit or rename while a release branch remains unchanged. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The repository mirror cannot observe edits that only exist in a local checkout. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
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.
Changelog category
Why
Teams maintaining a release branch need to know whether a saved lesson still applies to its code. The guide shows how an agent can read the same lesson against trunk and a release branch after an edit or rename.
Scope and risk
The code-linked memory guide adds a two-branch check and updates the search title and description. The exercise uses a local git mirror and explicitly selects each code namespace. Both walkthroughs ask readers to push edits to the indexed branch.
Compatibility, rollout and rollback
Tests
make format-check,make lintandmake typecheck.python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py tests/unit/test_published_links.py -q.python -m pytest tests/integration/test_memory_code_links.py -k 'memories_follow_their_code or a_branch_keeps_the_lesson_fresh_after_a_trunk_rename or a_rename_alone_moves_the_link' -q. The three tests ran against a disposable ClickHouse instance and exercised branches and renames.npm --prefix docs run build. Verified the rendered canonical, title, branch heading and branch comparison table.AI assistance in the code
AI-generated documentation with Codex. Checked the behavior against existing integration tests and the reference.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist