Skip to content

Show how code-linked memory reads across branches - #1438

Merged
zlareb1 merged 2 commits into
mainfrom
docs/code-linked-release-branch
Nov 25, 2026
Merged

zlareb1 merged 2 commits into
mainfrom
docs/code-linked-release-branch

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Changelog category

  • Documentation

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

  • Wire changes and operator steps are none.
  • Revert the documentation commit to remove the branch exercise.

Tests

  • make format-check, make lint and make 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

  • Local format, lint, type checks and focused tests pass.
  • Docs describe the system as it now is and name any operator steps and wire changes.
  • Repository text uses only public examples.
  • Commits are signed off.

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>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 25, 2026 8:40am UTC
loom-telemetry Ready Ready Preview Nov 25, 2026 8:40am UTC

Request Review

The repository mirror cannot observe edits that only exist in a local checkout.

Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
@zlareb1
zlareb1 merged commit 852a233 into main Nov 25, 2026
51 of 52 checks passed
@zlareb1
zlareb1 deleted the docs/code-linked-release-branch branch November 25, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant