feat(mcp): serve verified repository context artifacts - #425
Draft
fishmingyu wants to merge 18 commits into
Draft
Conversation
Persist only canonical provider, model, endpoint, dimension, and vector-semantic options in embedding artifact identity. Rebind credentials at runtime and reject incompatible provider substitutions across compiler, MCP, skills, and Wiki loaders. Verified with the full unit tier (2568 passed), focused provider/runtime tests (183 passed), and pre-commit.
fishmingyu
force-pushed
the
feat/pages-action
branch
from
August 5, 2026 07:22
41c3624 to
d270ad7
Compare
fishmingyu
force-pushed
the
feat/artifact-mcp
branch
2 times, most recently
from
August 5, 2026 07:26
10d3819 to
cd94609
Compare
Infer the provider only for legacy prebuilt manifests that predate route identity, and persist provider and endpoint metadata in newly generated QA manifests.
Add provider-aware semantic indexing, manifest-authoritative Wiki reopening, redacted doctor probes, and process-local credential delivery for GitHub Models and BYO OpenAI-compatible services.\n\nVerify remote embedding construction through a local OpenAI-compatible server and cover route mismatch, dependency, packaging, and secret-regression boundaries.
Explain GitHub Models and BYO embedding/chat setup, workflow permission requirements, artifact compatibility identity, billing boundaries, and the guarantee that credentials never enter manifests or static exports.
Mount only document startup assets at the Pages base path so generated query and hash links keep browser-relative semantics. Detect JSON-escaped build paths during publication validation.
fishmingyu
force-pushed
the
feat/pages-action
branch
from
August 5, 2026 08:20
f9f0196 to
c6a7bce
Compare
fishmingyu
force-pushed
the
feat/artifact-mcp
branch
from
August 5, 2026 08:22
cd94609 to
ba6c8d1
Compare
Add commit-validated BM25/vector serving artifacts and a publish CLI that pairs them with static Wiki exports. Keep credentials, machine paths, mutable vector state, and overlapping output roots out of distributable data.\n\nVerified with focused artifact/CLI/static-export tests and the full unit tier.
Add a reusable no-model or semantic publishing workflow that builds the static Wiki and matching commit-addressed context artifact. Bind cache and artifact identity to the indexed checkout, constrain credential exposure, reject unsafe inputs, and document GitHub Models and BYO routes.\n\nVerified with the full unit tier, pre-commit, action-validator, and strict MkDocs build.
Lowercase repository identity before deriving the default artifact name so GitHub lookup and cache consumers use one stable owner/repository spelling.\n\nVerified with the Action tests, action-validator, and pre-commit.
fishmingyu
force-pushed
the
feat/pages-action
branch
from
August 5, 2026 08:29
c6a7bce to
95592a8
Compare
Convert trusted local vector document pickles into inert JSON when packaging query-serving artifacts. Prefer that portable format at load time while retaining the legacy pickle fallback for local indexes. Verified with focused artifact and vector-store tests.
Verify commit-addressed BM25/vector artifacts before opening persisted indexes, fetch exact workflow artifacts without forwarding GitHub credentials, and bind source locations to an unchanged checkout. Add artifact verify/fetch/config CLI routes, artifact-backed MCP startup, path and archive guardrails, provenance reporting, documentation, and adversarial tests.
fishmingyu
force-pushed
the
feat/artifact-mcp
branch
from
August 5, 2026 08:29
ba6c8d1 to
52e4c81
Compare
fishmingyu
force-pushed
the
feat/pages-action
branch
from
August 5, 2026 08:44
95592a8 to
ee0eb66
Compare
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
Add a verified, commit-bound path from portable CodeNib context artifacts to the MCP runtime. This lets an agent reuse the exact artifact produced by the GitHub Pages workflow without rebuilding repository views locally.
This PR is stacked on #423 and addresses #424.
Changes
Portable graph and Zoekt payloads remain outside this milestone; unsupported views are reported explicitly.
Type of Change
Testing
Checklist