Skip to content

D155 slice 5: corpus paths, readiness and docs - #611

Merged
fazpu merged 4 commits into
mainfrom
feat/corpus-consumption
Nov 13, 2026
Merged

fazpu merged 4 commits into
mainfrom
feat/corpus-consumption

Conversation

@fazpu

@fazpu fazpu commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Document search now exposes p3_path only when the selected version is served and its nullable publication marker matches the current desired export digest. Readiness and search share the same pure guard and batched served-reading selector; historical, raw-only, unpublished, updating, failed and deleted selections cannot borrow another publication's readiness or path. served_version remains independent of publication progress.

The consumption skill (4.1.0), MCP search description (tool version 3), S58 navigation evaluation and shipped mount/readiness docs teach llms.txt → indexes → document folders → originals/derivatives, re-resolution after moves and find <root> -type d -name '*--<suffix>'. Only the suffix stays stable within a folder path. K stays standalone; the mount model now advertises only corpus and optional K locations. Default and layers-off catalogue fixtures come from their capture generator. OpenAPI, TypeScript contracts/client and llms exports were regenerated only through their generators.

Existing benchmark attestation depended on retired P3 snapshot state. Fresh Full-v47 / retrieval-ablation schema v2 instead attests per-version markers and ready folder identities, streams binary-reader checksums, and records frozen inventories checked around reads/resume. No benchmark was executed and no stored old evidence was edited.

No new migration, index, path map, compatibility alias or transition layout. No converter, chunker, extraction, Claimify, embedding or text-origin reuse generation changed. P3 builder p3-reader-2026.11d:d155 republishes the corrected corpus reader instructions through existing current-policy work; it makes no model calls. The mount CLI wrapper and provider qualification remain slice 6.

Verification

All DB suites used the specified shared PostgreSQL test DB sequentially. MinIO tests reused the running real MinIO at 127.0.0.1:59000.

Check Result
Full unit inventory 3,538 passed, 11 skipped
Affected DB readiness/search/history/S58/publication/layers/reuse pack 124 passed, 1 existing expected failure
Full real MinIO object/publication/lock-loss/forget/consumption matrix 107 passed
Final strengthened consumption + skill DB pack 34 passed
K control-plane suite 27 passed
PostgreSQL P1 adapter suite, including the 7 DB cases skipped by the unit pack 17 passed
Focused harness/protocol/attestation tests 241 passed; final attestation/filesystem subset 33 passed after root-replacement hardening
Final HTTP/SDK/MCP and catalogue contract tests 25 passed
TypeScript suite 519 passed, 8 skipped; generated checks, Python parity and typecheck passed
Ruff check and format Passed, 756 files formatted
Pyright 0 errors, 0 warnings
Import contracts 5 kept, 0 broken
Test inventory 177 unit + 95 integration = 272 files
Generated freshness OpenAPI byte comparison, TS contracts/client and llms exports passed
Documentation Public build, typecheck and public/cloud truth checks passed

The unit skips were seven DB-dependent cases (subsequently exercised above) and four LibreOffice cases because soffice is not installed. The existing Rule-4 expected failure documents Claimify's previous-eight-Selection dependency window; it was not weakened or changed. The TypeScript skips are platform-gated tests. Remote CI was still running when local validation finished.

Scope clarification and companion requirements

The plan names exact-version source_open, but no public API/SDK/MCP operation with that name exists on the base. Adding D115's full perceptual-delivery operation would exceed this slice. The real PostgreSQL/MinIO regression instead proves that historical version/representation handles still resolve their distinct immutable original/Markdown authority. The skill, MCP description and /docs/project/not-built-yet state the missing public-operation boundary explicitly.

No changes were made to writeitai/ultimate-memory-cloud. To expose this behavior on remember.dev, update its pyproject.toml / uv.lock client pin and deployed engine pin to a release containing this PR, keeping them aligned so the shared catalogue and GET /deployment.tools advertise search_documents version 3. Seed current-policy publication for builder p3-reader-2026.11d:d155 through the existing CorpusPublicationCatalog.seed_current_policy / SelfHostProfile.seed_corpus_work path and existing pushed-work announcements. Reuse the engine's nullable path/readiness semantics without a hosted path index. Mount-ticket/wrapper and provider qualification work is outside this PR.

Contributor agreement

Signing on behalf of a legal entity (leave blank if accepting individually):

@fazpu
fazpu marked this pull request as ready for review November 13, 2026 19:32
@fazpu
fazpu merged commit 27a16ab into main Nov 13, 2026
19 checks passed
@fazpu fazpu mentioned this pull request Nov 14, 2026
1 task done
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