Skip to content

docs(skills): add signed-range query recipe - #975

Open
tobyhede wants to merge 1 commit into
mainfrom
docs/stash-postgres-signed-range
Open

tobyhede wants to merge 1 commit into
mainfrom
docs/stash-postgres-signed-range

Conversation

@tobyhede

Copy link
Copy Markdown
Contributor

Summary

  • document the signed-range decomposition for absolute-value buckets over EQL v3 ordered columns
  • show all four encrypted bounds and the reversed negative inequalities
  • clarify the adjacent TextSearch/TextMatch operand comment
  • add a stash patch changeset

Closes the documentation gap identified in #601 and #664.

Validation

  • git diff --check
  • targeted skill/changeset guards: 30 tests passed in the source workspace

@tobyhede
tobyhede requested a review from a team as a code owner September 17, 2026 04:13
@changeset-bot

changeset-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 24f7b2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
stash Patch
@cipherstash/basic-example Patch
@cipherstash/e2e Patch
@cipherstash/stack-drizzle Patch
@cipherstash/stack-prisma Patch
@cipherstash/stack-supabase Patch
@cipherstash/stack Patch
@cipherstash/wizard Patch
@cipherstash/bench Patch
@cipherstash/prisma-example Patch
@cipherstash/test-kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@freshtonic freshtonic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The signed-range decomposition is correct for EQL v3 DoubleOrd: it encrypts all four bounds, reverses the negative inequalities, validates 0 <= min < max, and uses the correct eql_v3.query_double_ord operand domain. The changeset is present, git diff --check passes, and all required CI checks are green.

Non-blocking follow-up: carry this raw-SQL recipe through the public documentation site / any remaining user-facing entry points so the guidance is discoverable outside the agent skill repository.

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.

2 participants