Skip to content

feat(artifacts): add strict context publication - #605

Merged
fishmingyu merged 4 commits into
mainfrom
feat/strict-context-publication-v2
Aug 16, 2026
Merged

feat(artifacts): add strict context publication#605
fishmingyu merged 4 commits into
mainfrom
feat/strict-context-publication-v2

Conversation

@fishmingyu

@fishmingyu fishmingyu commented Aug 12, 2026

Copy link
Copy Markdown
Member

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

  • Add content-bound portable-view validation using retained publication and repository-source authorities.
  • Capture one detached authenticated source identity per validation or strict context operation, and use it throughout planning, replay, and publication.
  • Stream and canonically validate large document stores without whole-file DOM or byte caching.
  • Keep vector native indexes inert and remove ambient filesystem influence from artifact model policy.
  • Add deterministic strict context planning, replay, staging, and durable publication.
  • Bind exact manifests, fingerprints, retained source records, output inventories, and staged/published validation.
  • Record the strict whole-context publication boundary and remaining adapters in the storage roadmap.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Performance improvement
  • Tests

Testing

  • Tests pass locally
  • Added new tests for the changes
  • Direct changed-surface matrix: 214 passed.
  • Extended artifact/runtime/model-policy matrix: 333 passed.
  • Local unit tier: 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.
  • Project pre-commit hooks, git diff --check, and python -m mkdocs build --strict passed.
  • The feat(artifacts): add strict BM25 publication #602 dependency and its post-merge Full CI, Docs, Release, and publish smoke are green on main.

Checklist

  • My code follows the project style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

@github-actions github-actions Bot added type/docs Documentation type/test Test-related scope/indexing FAISS, vector store, incremental pipeline labels Aug 12, 2026
@fishmingyu
fishmingyu force-pushed the feat/strict-bm25-publication-v2 branch from e8e9ded to b3fdb8b Compare August 15, 2026 23:27
Base automatically changed from feat/strict-bm25-publication-v2 to main August 15, 2026 23:38
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
fishmingyu force-pushed the feat/strict-context-publication-v2 branch from 3e963f0 to 31c628a Compare August 15, 2026 23:50
@fishmingyu
fishmingyu marked this pull request as ready for review August 15, 2026 23:58
@fishmingyu
fishmingyu merged commit 0c9f412 into main Aug 16, 2026
24 checks passed
@fishmingyu
fishmingyu deleted the feat/strict-context-publication-v2 branch August 16, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/indexing FAISS, vector store, incremental pipeline type/docs Documentation type/test Test-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant