Files
Jeff Emanuel 3375d7f468 feat(search): expose atomic canonical window batches through MCP
Advertise cass_view_batch only with explicit startup --db and route it
through the existing strict decoder, request budget, quota and guarded
Session handler. Reuse the exact single-view coordinate schema for each
batch selector. Preserve concurrent cass_refine and unload/reload behavior.

A tools/call retrieves 1-8 complete windows in input order using one archive
open and one read transaction. The entire batch shares 64 KiB of UTF-8 body
content, a deadline and at most 128 requested message occurrences. Any later
missing, mismatched or oversized window fails without exposing a successful
prefix. The archive snapshot is explicitly not a lexical-freshness proof.

Add five real MCP/storage regressions for conditional discovery, exact RPC
correlation and structured/text evidence, invalid selectors and ignored
notifications, identity-failure recovery, and aggregate NUL-heavy response
bounds. Together with the core landing this adds thirteen tests. Update the
existing opt-in catalog assertion without removing or weakening its checks.

Validation: preparation run 35682484173 produced artifact 10676075012 with
SHA256 6f6cdbb9dc8e0cfd715718e9461ec53c0de29482e0fea1c95d7bacf5d60c4e77.
Verified complete input and edited blob hashes, forward/reverse patch and
changed-path checks, then pinned Rust formatting. Downloaded source matches
both exported blobs; the formatter diff changes only reviewed layout. Core
native test run 35682013290 is still in progress. No completed native test,
full compilation, Clippy, RCH or UBS pass is claimed; local tools absent.

Restore the temporary preparation workflow to its original read-only state.
Retain all concurrent changes through 2f16a029 after checking the three base
blobs. Direct main via GitHub, no PR or force update. Related GH452 bounded
follow-up journey; no broad performance, freshness or bead closure claim.
2026-09-21 23:25:09 -04:00

24 lines
909 B
YAML

# Both source-only landings completed. No job retains repository-write access.
name: Verify landed retrieval commits
on:
workflow_dispatch:
permissions:
contents: read
jobs:
ancestry-only:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: false
- name: Verify commit ancestry, not runtime qualification
shell: bash
run: |
set -euo pipefail
git merge-base --is-ancestor e36ad641e95df88c289d70fc467e5159542d9c92 HEAD
git merge-base --is-ancestor d671ab449af2d6bd34bac12a7992f79b3c2cc36c HEAD
printf '%s\n' 'Both retrieval fixes are present in this history.' 'This check proves ancestry only; use Verify search retrieval for component and locked CASS tests.'