Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
45821f6
feat: binary format v2 — CRC32, header padding, strict reader, zero-c…
Jul 28, 2026
93cb809
Merge pull request #62 from krish1925/feat/binary-format-v2
krish1925 Jul 28, 2026
4105a7b
docs: comprehensive NPM package docs + website updates
Jul 28, 2026
5d8a559
docs: comprehensive NPM package docs + website updates
krish1925 Jul 28, 2026
db5dcda
feat(website): Stripe-style docs redesign — paired prose/sticky-code,…
kpatelegain Aug 3, 2026
e45ad69
feat: gate seed-sensitivity report + CLI flags (#36)
Aug 4, 2026
88e1ea8
chore: release tooling + 0.2.1 changelog backfill (#61)
Aug 4, 2026
a5c70b2
style: ruff format on changed files
Aug 4, 2026
fdd148f
ci: run mypy --strict, add py3.13 to test matrix (#13)
Aug 5, 2026
2394a15
lint: stale-date + number-drift checks in CLAIMS linter (#14)
Aug 5, 2026
4b2a2a5
lint: CLAIMS linter stale-date + number-drift checks (#14)
Aug 5, 2026
cedf5e3
fix: revert accidental lint_claims.py change from ci-workflow branch
Aug 5, 2026
e34c230
feat: adapter parity capability matrix (#16)
Aug 5, 2026
37eec73
test: Qdrant adapter parity — kill/resume, rollback, scroll edge case…
Aug 5, 2026
0cd740a
feat: GitHub Action gate with JUnit + template workflow (#20)
Aug 5, 2026
f1cd200
docs: clarify npm-vs-Python split-brain framing in website (#19)
Aug 5, 2026
d521781
docs: queries-only calibrate runnable example (#21)
Aug 5, 2026
ce49bf9
docs: audit CITATION.cff — sync version/date/repo casing (#34)
Aug 5, 2026
2cb641f
fix: mapping roundtrip — honor 8-byte header padding in payload reader
Aug 5, 2026
b5c2fef
feat: cross-modal image/multimodal migration
Aug 5, 2026
978ae5c
fix: align benchmark eval docs with relevance matrix + BEIR ridge result
Aug 5, 2026
3f4fe95
Merge remote-tracking branch 'origin/development' into gh67-pr
Aug 5, 2026
ca6680b
Merge pull request #67 from krish1925/feat/gate-seed-sensitivity
krish1925 Aug 5, 2026
e84e0e5
Merge remote-tracking branch 'origin/development' into pr-68
Aug 5, 2026
5d8f45f
Merge remote-tracking branch 'origin/development' into pr-70
Aug 5, 2026
dd97a14
Merge remote-tracking branch 'origin/development' into pr-71
Aug 5, 2026
276c04f
Merge remote-tracking branch 'origin/development' into pr-72
Aug 5, 2026
cb3804b
Merge remote-tracking branch 'origin/development' into pr-73
Aug 5, 2026
5ba6728
Merge remote-tracking branch 'origin/development' into pr-74
Aug 5, 2026
71ef973
Merge remote-tracking branch 'origin/development' into pr-75
Aug 5, 2026
39d3520
Merge remote-tracking branch 'origin/development' into pr-76
Aug 5, 2026
07a5dde
Merge pull request #65 from kpatelegain/feat/website-stripe-docs
krish1925 Aug 5, 2026
d64e783
Merge pull request #68 from krish1925/infra/release-tooling
krish1925 Aug 5, 2026
4968b35
Merge pull request #70 from krish1925/infra/claims-linter
krish1925 Aug 5, 2026
6400829
Merge pull request #71 from krish1925/feat/adapter-parity
krish1925 Aug 5, 2026
8862534
Merge pull request #72 from krish1925/test/qdrant-parity
krish1925 Aug 5, 2026
4b8ecfb
Merge pull request #73 from krish1925/feat/gh-action-gate
krish1925 Aug 5, 2026
435aec4
Merge pull request #74 from krish1925/docs/npm-framing
krish1925 Aug 5, 2026
5ae0f6e
Merge pull request #75 from krish1925/feat/queries-only-docs
krish1925 Aug 5, 2026
480d6a6
Merge pull request #76 from krish1925/docs/citation-audit
krish1925 Aug 5, 2026
922d9cd
Merge remote-tracking branch 'origin/development' into pr-69
Aug 5, 2026
a643a3f
Merge remote-tracking branch 'origin/development' into pr-69
Aug 5, 2026
d7f64cb
Merge pull request #69 from krish1925/feat/ci-workflow
krish1925 Aug 5, 2026
f290f16
ci: fix lint and typecheck workflow failures
Aug 5, 2026
afd5594
ci: fix test job — add Pillow dep, skip slow model-download tests
Aug 5, 2026
03fa473
docs: add SKILLS.md operating manual (workflow guide)
krish1925 Aug 6, 2026
51fa492
feat: pgvector adapter — transactional shadow-column migration (#22)
krish1925 Aug 6, 2026
b149347
feat: first-class manifest/rollback CLI + verify drift revalidation (…
krish1925 Aug 6, 2026
9dde7d0
feat(benchmarks): domain matrix — general/legal/medical/code subset p…
krish1925 Aug 6, 2026
da198dd
docs(website): 'Why a gate' page + comparison table vs adapter librar…
krish1925 Aug 6, 2026
c3e18e6
chore: purge remaining AECP naming remnants from the v0.2.1 rename (#…
krish1925 Aug 27, 2026
7cc21c9
test: demo-cli jest suite + cross-package naming regression tests (#84)
krish1925 Aug 30, 2026
1558993
[barrage] Local test barrage report: 8/8 claims reproduced; 4 product…
krish1925 Aug 30, 2026
60044e7
docs: restore complete mermaid diagrams in main README (nodes + edges…
Aug 30, 2026
3e0d861
test: guard all BEIR network touchpoints behind skip; property fixtur…
Aug 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/actions/gate-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ inputs:
description: "Output format: json, md, html"
required: false
default: "md"
junit:
description: "Emit a JUnit XML summary for CI reporting (true/false)"
required: false
default: "true"
fail-on-warn:
description: "Exit 1 on WARN (not just FAIL)"
required: false
Expand Down Expand Up @@ -48,9 +52,38 @@ runs:
fi
exit $EXIT_CODE

- name: Emit JUnit summary
if: always() && inputs.junit == 'true'
shell: bash
run: |
RESULT=$?
if [ -f gate-report.json ]; then
VERDICT=$(python -c "import json;print(json.load(open('gate-report.json')).get('verdict','FAIL'))" 2>/dev/null || echo "FAIL")
else
VERDICT="$(test $EXIT_CODE -eq 0 && echo PASS || echo FAIL)"
fi
cat > gate-results.xml <<'XML'
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="isotrieve-gate" tests="1" failures="$(test "$VERDICT" = "PASS" && echo 0 || echo 1)">
<testcase name="retention-gate" classname="isotrieve.gate">
<system-out>verdict=$VERDICT</system-out>
</testcase>
</testsuite>
</testsuites>
XML
echo "JUnit written: gate-results.xml (verdict=$VERDICT)"

- name: Upload gate report
if: always()
uses: actions/upload-artifact@v4
with:
name: gate-report
path: gate-report.*

- name: Upload JUnit summary
if: always() && inputs.junit == 'true'
uses: actions/upload-artifact@v4
with:
name: gate-junit
path: gate-results.xml
43 changes: 40 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
run: pip install -e ".[dev]"
- name: Mypy
working-directory: isotrieve-python
run: mypy src/isotrieve/ --ignore-missing-imports --no-error-summary
run: mypy src/isotrieve/ --ignore-missing-imports --strict --no-error-summary

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -56,14 +56,18 @@ jobs:
run: pip install -e ".[dev]"
- name: Run tests
working-directory: isotrieve-python
run: python -m pytest tests/ -q --tb=short --junitxml=test-results.xml
run: python -m pytest tests/ -q --tb=short --junitxml=test-results.xml -m "not slow"
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.python-version }}
path: isotrieve-python/test-results.xml

- name: Adapter parity matrix is fresh
run: python isotrieve-python/scripts/gen_adapter_matrix.py --check
continue-on-error: true

claims-lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -75,3 +79,36 @@ jobs:
- name: Validate CLAIMS.md
run: python isotrieve-python/scripts/lint_claims.py
continue-on-error: true

pgvector-integration:
runs-on: ubuntu-latest
services:
postgres:
image: pgvector/pgvector:pg16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: isotrieve-python/pyproject.toml
- name: Install package with pgvector extra
working-directory: isotrieve-python
run: pip install -e ".[dev,pgvector]"
- name: Run pgvector integration tests
working-directory: isotrieve-python
env:
PGVECTOR_TEST_DSN: postgresql://postgres:postgres@localhost:5432/postgres
run: python -m pytest tests/test_pgvector_adapter.py -q --tb=short -m "integration"

22 changes: 22 additions & 0 deletions .github/workflows/gate-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Isotrieve Gate (template)

# Copy this file into your repo as .github/workflows/isotrieve-gate.yml and
# supply an isotrieve mapping + paired source/target embedding NPYs.
# Docs: https://krish1925.github.io/Isotrieve/ and docs/gh-action.md in this repo.

on:
pull_request:
workflow_dispatch:

jobs:
gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: krish1925/isotrieve/.github/actions/gate-action@main
with:
mapping-path: mapping.isotrieve
source-vectors: source.npy
target-vectors: target.npy
format: json
junit: "true"
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,33 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: isotrieve-python/dist/

release:
needs: publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Extract changelog section for this tag
run: |
VERSION="${GITHUB_REF_NAME#v}"
awk -v ver="[${VERSION}]" 'index($0, "## " ver) == 1 {found=1; next} found && /^## \[/ {exit} found {print}' \
isotrieve-python/CHANGELOG.md > /tmp/release-notes.md
if [ ! -s /tmp/release-notes.md ]; then
echo "No CHANGELOG section '## [$VERSION]' found in isotrieve-python/CHANGELOG.md" >&2
exit 1
fi
- name: Create or update GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
if gh release view "$GITHUB_REF_NAME" > /dev/null 2>&1; then
gh release edit "$GITHUB_REF_NAME" \
--title "isotrieve ${GITHUB_REF_NAME#v}" \
--notes-file /tmp/release-notes.md
else
gh release create "$GITHUB_REF_NAME" \
--title "isotrieve ${GITHUB_REF_NAME#v}" \
--notes-file /tmp/release-notes.md
fi
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ build/
.venv/
venv/
env/
.agent-venv/

# Agent loop scaffolding
agent/

# Testing
.pytest_cache/
Expand Down Expand Up @@ -64,5 +68,4 @@ benchmarks/.embed_cache/

# Scratch files at repo root
*.ipynb_checkpoints/
aecp-python/aecp_training_loss.png
cleanup/
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Contributing to Isotrieve

**Operating manual (read first):** [`SKILLS.md`](SKILLS.md) — branch workflow, issue/label taxonomy, release process, and Definition of Done.

**Canonical contributing guide:** [`isotrieve-python/CONTRIBUTING.md`](isotrieve-python/CONTRIBUTING.md)

That file covers development setup, testing, code style, PR expectations, and the escalation protocol for design decisions.
Expand Down
48 changes: 25 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Isotrieve — Embedding migration without re-embedding

[![PyPI](https://img.shields.io/pypi/v/isotrieve)](https://pypi.org/project/isotrieve/)
[![CI](https://github.com/krish1925/Isotrieve/actions/workflows/ci.yml/badge.svg)](https://github.com/krish1925/Isotrieve/actions/workflows/ci.yml)
[![CI](https://github.com/krish1925/isotrieve/actions/workflows/ci.yml/badge.svg)](https://github.com/krish1925/isotrieve/actions/workflows/ci.yml)
[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](isotrieve-python/LICENSE)
[![Python](https://img.shields.io/badge/python-3.9%2B-blue)](isotrieve-python/)
[![Python](https://img.shields.io/badge/python-3.10%2B-blue)](isotrieve-python/)
[![Docs](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://krish1925.github.io/Isotrieve/)

Open-source toolkit to switch embedding models **without re-embedding your corpus**.
Expand Down Expand Up @@ -60,17 +60,20 @@ flowchart LR

```
Isotrieve/
├── isotrieve-python/ # Maintained Python package (PyPI: isotrieve)
├── isotrieve-npm/ # Historical NPM protocol package (experimental)
├── isotrieve-python/ # Python package (PyPI: isotrieve) — mature, benchmark-validated
├── isotrieve-npm/ # TypeScript packages (npm: @isotrieve/core) — beta, under active development
├── isotrieve-website/ # GitHub Pages site
├── benchmarks/ # Benchmark harness and results
├── spec/ # Protocol specification (RFC-001)
├── docs/ # Technical overview, protocol spec
├── .github/ # CI workflows, issue templates, gate action
└── AGENTS.md # Development contract for AI agents
└── SKILLS.md # Contributor & workflow guide (operating manual)
```

**Which package is current?** `isotrieve` on PyPI is the actively maintained, benchmark-validated package. The NPM package (`isotrieve-npm/`) is historical/experimental.
**Which package is current?**

- **Python (`pip install isotrieve`)** — Mature, benchmark-validated, CLI included. Use this for production migrations today.
- **TypeScript (`@isotrieve/core`)** — Beta port of the mapping, gate, and migration logic. The `.isotrieve` binary format is cross-compatible with Python. No CLI yet, no store adapters beyond in-memory reference. Under active development; see `isotrieve-npm/README.md` for status. Do not depend on it in production until the production readiness plan is closed.

## Package

Expand All @@ -96,15 +99,14 @@ flowchart TB
Calib[Calibration + fit]
Xform[Transform]
Gate[Retrieval gate]
Calib --> Xform --> Gate
end

Core --> Chroma[(ChromaDB<br/>supported)]
Core --> QD[(Qdrant<br/>supported)]
Core --> PGV[(pgvector<br/>supported)]
Core --> LC[LangChain<br/>IsotrieveEmbeddings<br/>query-time wrapper]
Core --> LI[(LlamaIndex<br/>in progress)]
Core -.-> QD[(Qdrant<br/>hook-only)]
Core -.-> PC[(Pinecone<br/>hook-only)]
Core --> LI[(LlamaIndex<br/>supported)]
Core -.-> PC[(Pinecone<br/>supported, not CI-tested)]
Core -.-> WV[(Weaviate<br/>hook-only)]
Core -.-> FA[FAISS<br/>notebook example only]

Expand All @@ -113,24 +115,24 @@ flowchart TB
classDef partial fill:#78350f,stroke:#d97706,color:#fef3c7;
classDef planned fill:#374151,stroke:#6b7280,color:#e5e7eb,stroke-dasharray: 4 3;
class Calib,Xform,Gate core;
class Chroma,PGV,LC ready;
class LI partial;
class QD,PC,WV,FA planned;
class Chroma,QD,PGV,LC,LI ready;
class PC partial;
class WV,FA planned;
```

Solid arrows mean an in-place migration path exists today; dashed arrows mean
only a hook or example is available. See the status table for detail:

| Store | Status |
|---|---|
| ChromaDB | Supported |
| pgvector | Supported |
| LangChain (`IsotrieveEmbeddings`) | Supported (query-time wrapper, store-agnostic) |
| LlamaIndex | In progress |
| Qdrant | Hook-only |
| Pinecone | Hook-only |
| Weaviate | Hook-only |
| FAISS | Notebook example only (no persistence layer to migrate against) |
| Store | Status | CI-tested |
|---|---|---|
| ChromaDB | Supported (serve mode + in-place migration) | ✅ |
| Qdrant | Supported (query + in-place migration + resume) | ✅ |
| pgvector | Supported (query + transactional in-place migration) | ✅ |
| LlamaIndex | Supported (query-time wrapper + storage-context migration) | ✅ |
| LangChain (`IsotrieveEmbeddings`) | Supported (query-time wrapper, store-agnostic) | ✅ |
| Pinecone | Supported (query + offline migration via shadow namespace) | — (needs API key) |
| Weaviate | Hook-only | — |
| FAISS | Notebook example only (no persistence layer to migrate against) | — |

## On claims and benchmarks

Expand Down
Loading
Loading