Skip to content

release: v0.12.0 — replaceSource, tomb-free TF-IDF, mixed-corpus floor - #4

Closed
nehloo wants to merge 6 commits into
mainfrom
fix/sdk-m4-gaps-replace-source-starvation
Closed

release: v0.12.0 — replaceSource, tomb-free TF-IDF, mixed-corpus floor#4
nehloo wants to merge 6 commits into
mainfrom
fix/sdk-m4-gaps-replace-source-starvation

Conversation

@nehloo

@nehloo nehloo commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Ship 0.12.0 with M4 SDK gap fixes: replaceSource / forgetSource, chunker re-ingest migration surface, TF-IDF tomb exclusion, mixed doc+chat budget reserves.
  • Version bump + CHANGELOG ## v0.12.0 (spelling chore lands on main after merge, then tag).

Test plan

  • Unit tests for replace-source, tfidf-tomb-index, mixed-corpus-starvation, chunker-migration already on branch
  • CI green on PR / main before tag

Made with Cursor

nehloo and others added 6 commits August 11, 2026 17:28
Full-file re-ingest needed an explicit primitive: additive append left removed
sections active as top seeds, and hosts approximated replace with forget+append
glue. replaceSource soft-retires with retiredBy=replace (blocks ordinary restore
of the old body), exempts the just-retired ids for its own append, and stamps an
optional generation. forgetSource covers retire-without-append so App hosts can
drop content-erasing tomb workarounds.

Co-authored-by: Cursor <cursoragent@cursor.com>
Tombs stayed in documents/postings and inflated IDF even when seed gates
filtered them. removeDocument + buildIndexFromGraph exclusion, and every
retire path (delete, supersede, bulk forget, cascade) now refresh the index.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wide conversation was crowding out document gold at tight maxNodes (M4 Alder
fixture). Reserve 25% of final selection for non-conversation content when both
classes compete, and split the structural expansion reserve so turn-pairs cannot
consume every post-cut slot.

Co-authored-by: Cursor <cursoragent@cursor.com>
Stamp CURRENT_CHUNKER_ID on new nodes and list live sources that still lack it
so App hosts can offer opt-in replaceSource for pre-0.11.1 shattered boundaries.
Stored cortex is never rewritten in place.

Co-authored-by: Cursor <cursoragent@cursor.com>
Document replaceSource, tomb index exclusion, mixed-corpus reserve, and the
chunker migration helpers without bumping the package version.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cut 0.12.0 for the M4 SDK gap fixes already on this branch: replaceSource /
forgetSource, chunker re-ingest migration surface, TF-IDF tomb exclusion,
and mixed doc+chat budget reserves. Move CHANGELOG Unreleased into ## v0.12.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graphnosis Error Error Aug 11, 2026 9:40pm

Request Review

@nehloo

nehloo commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

Withdrawing release branch — pulling back to keep work uncommitted locally.

@nehloo nehloo closed this Aug 11, 2026
@nehloo
nehloo deleted the fix/sdk-m4-gaps-replace-source-starvation branch August 11, 2026 21:42
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