Skip to content

feat(retrieval): add bounded typed metadata filters (0.6.30) - #105

Merged
phense merged 16 commits into
mainfrom
feat/typed-metadata-filters-73
Nov 4, 2026
Merged

phense merged 16 commits into
mainfrom
feat/typed-metadata-filters-73

Conversation

@phense

@phense phense commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Typed metadata conditions now narrow authorized retrieval before candidate limits across search, graph, research, derived reads, listings and correction exports. Labels are registered explicitly and merged through the audited save gateway; optional selection never changes source trust, truth, supersession or RLS. Invalid, unsupported and over-budget filters fail explicitly.

The release is 0.6.30/schema039, upgrading 0.6.29/schema038 additively. Published migrations001–038 are unchanged. Existing unfiltered readers remain usable on older035/038 schemas, old wire arguments are preserved, and no historical relabeling or re-embedding occurs.

Verification

  • Complete collected-suite coverage: 2871 passed,12 Darwin-only skips /2883 items across two commands. The initial command passed1009 before a legacy timeout-test stub rejected the optional keyword. A test-only correction preserves the original timeout and opt-out assertions; its focused reproduction passed. The exact unexecuted suffix then completed 1862 passed,12 skipped, exit0, with unchanged inputs. This is not reported as a single uninterrupted full-suite pass; prior failed exits are retained.
  • 360 affected tests, archived populated029 upgrade/interruption/retry, independent source/target restores including a limited owner, old readers/writer and preserved originals/ACLs/jobs.
  • Independent complete bounded code review and proportional correction reviews:0 Critical/High/Medium. PB07301 has no remaining Important finding. One nonblocking contextual-ANN coverage limitation remains in#75.
  • Root rehearsal: 76/76 on522 synthetic originals, fixed manual exact-ID oracle across library, CLI, authenticated REST and MCP; real RLS revocation, foreign denial, literal citations and unchanged read hashes.
  • Docs17, Node7, lock verification; corrected wheel157 Python files/39 SQL files byte-identical to runtime source.

Measured examples select7→1,7→5 and7→1 originals. Timing overhead and scan limits are reported without a speed-up or SLA claim. Real models are not used in these tests.

Production rollout to Hetzner and Mac-Peter remains separate: versioned runtime staging, verified source and target restores, canonical-row/ACL/owner/sequence preservation and live scoped/foreign reads. Retain0.6.29 code rollback and additive039; do not adopt application labels automatically. Keep the Issue open until both deployments are verified.

Refs #73.

@phense
phense merged commit e7f9fe1 into main Nov 4, 2026
2 checks passed
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