feat(artifacts): add strict context publication - #605
Merged
Conversation
This was referenced Aug 12, 2026
fishmingyu
force-pushed
the
feat/strict-bm25-publication-v2
branch
from
August 15, 2026 23:27
e8e9ded to
b3fdb8b
Compare
Validate retained portable views only through captured publication and repository-source authorities. Keep vector native state inert, stream large document stores, and remove ambient filesystem model discovery from artifact policy. Tests: 207 direct changed-surface tests; 312 extended artifact tests.
Plan and publish immutable whole-context generations from retained portable BM25 and vector receipts through the strict workspace authority. Bind exact source records, manifests, output inventories, and staged/published validation while keeping vector native bytes inert. Tests: 15 strict-context publication tests.
Document the retained-view aggregation boundary, native-inert vector contract, and remaining provider, compiler, catalog, and M2 publication work.
Capture one detached authenticated repository identity per portable validation or strict context operation, and carry it through planning, replay, and publication policy checks. This prevents transient mutation of the binding public projection from rebinding an otherwise retained source authority. Verified with 333 focused artifact tests, 5,549 local unit tests (excluding the stale installed-version metadata check), pre-commit, and strict MkDocs.
fishmingyu
force-pushed
the
feat/strict-context-publication-v2
branch
from
August 15, 2026 23:50
3e963f0 to
31c628a
Compare
fishmingyu
marked this pull request as ready for review
August 15, 2026 23:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds strict, authority-bound whole-context publication on current
main. The PR assembles retained portable BM25 and vector generations without reopening ambient paths or activating native vector indexes.The strict path remains provider-neutral and is not connected to a production compiler, catalog, or runtime route. Related to #199; this slice does not complete M1 or M2.
Changes
Type of Change
Testing
214 passed.333 passed.5,549 passed, 71 skipped, 191 deselected; the one additional deselection beyond the configured marker set is the installed-distribution metadata check because this shared environment still has CodeNib 0.2.0 while the checkout is 0.2.1. Clean GitHub installs cover that check.git diff --check, andpython -m mkdocs build --strictpassed.main.Checklist