Skip to content

feat(context): add the Rstack context engine - #344

Draft
ScriptedAlchemy wants to merge 126 commits into
rstackjs:mainfrom
ScriptedAlchemy:codex/rstack-mcp-observability
Draft

feat(context): add the Rstack context engine#344
ScriptedAlchemy wants to merge 126 commits into
rstackjs:mainfrom
ScriptedAlchemy:codex/rstack-mcp-observability

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a checkout-local context engine so one MCP process can understand multiple Rsbuild and Rslib products, lint and test snapshots, Rsdoctor artifacts, and composed code evidence across a monorepo. Rstack CLI remains the thin rs mcp command/configuration host and consumes the runtime from the standalone @rstackjs/context repository. It integrates capture into rs build and rs lib without adding a coordinator daemon. Artifact reachability remains conservative and reports verification candidates rather than deletion claims.

Related Links

This draft consumes the exact Context 711b987 and stacked Rsdoctor Agent CLI 8926633c pkg.pr.new previews for cross-repository validation. Stable release dependencies replace those preview URLs before release.

ScriptedAlchemy and others added 26 commits August 14, 2026 03:57
# Conflicts:
#	packages/rstack/src/config.ts
#	packages/rstack/src/rsbuildConfig.ts
#	packages/rstack/src/rslibConfig.ts
#	website/docs/en/guide/configuration.mdx
#	website/docs/zh/guide/configuration.mdx
# Conflicts:
#	packages/rstack/src/rslibConfig.ts
#	packages/rstack/src/rspressConfig.ts
# Conflicts:
#	packages/rstack/src/rslibConfig.ts
#	packages/rstack/src/rspressConfig.ts
#	pnpm-lock.yaml
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Track the new path-containment wording in the published packageRoot and
configPath tool input descriptions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pass lintCaptureAdapter and testCaptureDependencies to
createContextMcpServer instead of wrapping captureLintSnapshot and
captureTestSnapshot wholesale, so upstream capture signature growth no
longer needs matching wrapper updates here.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Upstream restored the semver @rsdoctor/agent-cli dependency and kept the
canary as a root-only override per the preview dependency policy, so the
preview installs cleanly under blockExoticSubdeps again.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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