Repository navigation
Session handoff links pin the brief revision and commit - #1445
Merged
Merged
Conversation
A teammate can resume from the same context the sender chose after later saves. Existing namespace access controls each restore. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Use the deletion revision as the history boundary. Preserve short check summaries from shell results and report untracked files regardless of status preferences. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Resolve a pinned snapshot by its stored key. Use write order across deletes and preserve the check result when a command exceeds the brief budget. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Two saves can receive the same timestamp on different workers. Bind the stored version to the commit and brief content so each link still restores the chosen save. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
A replica with a slower clock can acknowledge a tombstone that loses to the original row. Use the shared version floor for deletes and saves to keep pinned snapshots retired. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Regenerate the Rust SDK from both the code-read and session-brief wire contracts. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Checkout metadata and check summaries use the session brief admission path. Refresh the source fingerprints after checking the automatic senders. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Expose the metadata read bound with its existing default. Record the existing namespace authorization and regenerate the SQL shape for the source metadata projection. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Check that a full page can reorder paths and an overflow leaves the original order in place. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
ClickHouse local keeps default storage between runs. Give ephemeral calls their own directory and keep caller-supplied paths for tests that share state intentionally. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
The opt-in test reads the settings catalog before creating its coded tables. That keeps the fixture usable across the ClickHouse releases the provider rebuild supports. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Use a private configuration and decode the capability check as JSON. Keep the same SQL input format and result assertions on both codec settings. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Verify that restricted view definitions are fully masked or suppressed, and keep the key check unconditional. Check the refusal for negative time limits and tolerate an already-finished query during cleanup. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
This was referenced Nov 25, 2026
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 (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Share a session brief from Conversations through a link pinned to its saved snapshot and Git commit. Restoring a link in a coding plugin needs the next server release.
Why
A teammate needs the decisions, failed approaches and remaining checks that explain a change. A link to a moving brief can give the recipient a different state of the work from the one the sender chose.
Scope and risk
A handoff reads one saved snapshot under the recipient's existing namespace permissions. The snapshot ID binds the stored version to the brief content and commit. The dashboard and plugins check the returned revision, snapshot and commit before displaying the brief. Writes advance past the version they read so a slower clock cannot leave a deleted snapshot visible. Recognized shell check summaries are carried into the brief as bounded evidence. The authoring plugin records local checkout state and uses cached remote refs to flag commits the recipient might need to fetch.
The branch also fixes CI failures from the source-read lessons change on the base branch. The scope census records the authorization check already used by
code.read, and the SQL snapshot reflects the new memory metadata projection.LOOM_CODE_RESULT_PATH_HINT_ROWSkeeps the existing default of 512 metadata rows for source ranking.Compatibility, rollout and rollback
session.brief_saveaccepts optional checkout observations andsections.verification.session.brief_getaccepts an optionalsnapshot_id, returnssnapshot_idand the stablesnapshot_key, and includes verification when sections are requested.Tests
make format-check,make lint, andmake typecheck.pytest -q tests/unit/test_session_brief.py tests/unit/test_agent_instructions.py, the ClickHouse statement analyzer, and the livetests/integration/test_session_briefs.pytest.make test-mixed-version REQUIRE=1. CI covers the full Linux unit run.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated with Codex. The tests above cover the implementation and its access checks.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make test-unitand applicable integration results are reported by CI.