Repository navigation
feat: create the Recall database automatically and lead the Recall docs with the intended workflow - #1222
Merged
Conversation
Record an integration's external context as JSON, so the documented job query finds orchestrated runs.
…nd close it plainly
kvlonge
enabled auto-merge (squash)
October 22, 2026 19:46
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.
Why
Setting up a shared ClickHouse Recall store still needed the database created by hand, and the docs and agent skill presented running
sqb recall schema --ddlyourself as the setup route. After the version row expired, a store with previous-version views (same columns) could be recorded as current without its views being replaced. Orchestrator context was stored as a Python repr, so it could not be queried.Changes
CREATE DATABASE IF NOT EXISTS) and says so once, even if later setup fails or is retried, followed by a plain success line. Existing databases are untouched. A writer that may not gets the exact statements;sqb recall schema --ddlprints them too.join_use_nullscount as the previous version whatever the version row says: writers with DDL replace them, restricted writers warn. Newer stores are never downgraded.invocations.external_contextis stored as JSON.--ddlonly for restricted writers. Also store selection, recording, the default format, checking values before filtering, common queries andstatements.query_id.Verification
sqlbuild-recalltests,make check-ciand the hygiene scanner pass.